Pull request #570 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 85f7a691ef0c31740ce49ea991163ba8833ef642+3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (8c6e40736a38d9d2e5701c54e568281e08970265) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-43242 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-570 # 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/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # 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/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 85f7a691ef0c31740ce49ea991163ba8833ef642 Merge succeeded, producing 85f7a691ef0c31740ce49ea991163ba8833ef642 Checking out Revision 85f7a691ef0c31740ce49ea991163ba8833ef642 (PR-570) > git config core.sparsecheckout # timeout=10 > git checkout -f 85f7a691ef0c31740ce49ea991163ba8833ef642 # 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 85f7a691ef0c31740ce49ea991163ba8833ef642 # timeout=10 Commit message: "Update Makefile and clean attribution file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:55:35 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk c7ed28a58815af48a90facc609e25f87356a3579 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:55:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:55:35 ========================================================= 05:55:35 EdgeX Global Pipelines Version Info 05:55:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:55:37 ------------------- 05:55:37 stable info: 05:55:37 ------------------- 05:55:37 Commited By: Emilio Reyes emilio.reyes@intel.com 05:55:37 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 05:55:37 Message: update stable to v1.0.119 05:55:38 ------------------- 05:55:38 experimental info: 05:55:38 ------------------- 05:55:38 Commited By: **** collab-it+edgex@linuxfoundation.org 05:55:38 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 05:55:38 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:55:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:55:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:55:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:55:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:55:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-570 [Pipeline] echo 05:55:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-570 [Pipeline] echo 05:55:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-570 [Pipeline] echo 05:55:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85f7a691ef0c31740ce49ea991163ba8833ef642 [Pipeline] echo 05:55:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85f7a69 [Pipeline] echo 05:55:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:42 + git log --format=format:%s -1 85f7a691ef0c31740ce49ea991163ba8833ef642 [Pipeline] echo 05:55:42 GIT_COMMIT: 85f7a691ef0c31740ce49ea991163ba8833ef642, Commit Message: Update Makefile and clean attribution file [Pipeline] echo 05:55:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:55:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:55:42 05:55:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:55:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:55:43 latest: Pulling from edgex-devops/git-semver 05:55:43 31603596830f: Pulling fs layer 05:55:43 2a8b12db71e7: Pulling fs layer 05:55:43 6ca5941a6612: Pulling fs layer 05:55:43 ecc8261a40a4: Pulling fs layer 05:55:43 ecc8261a40a4: Waiting 05:55:43 2a8b12db71e7: Verifying Checksum 05:55:43 2a8b12db71e7: Download complete 05:55:43 31603596830f: Verifying Checksum 05:55:43 31603596830f: Download complete 05:55:43 ecc8261a40a4: Verifying Checksum 05:55:43 ecc8261a40a4: Download complete 05:55:43 6ca5941a6612: Verifying Checksum 05:55:43 6ca5941a6612: Download complete 05:55:43 31603596830f: Pull complete 05:55:44 2a8b12db71e7: Pull complete 05:55:44 6ca5941a6612: Pull complete 05:55:45 ecc8261a40a4: Pull complete 05:55:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:55:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:55:45 prd-centos7-docker-4c-2g-43242 does not seem to be running inside a container 05:55:45 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-570 -v /w/workspace/dgexfoundry_device-sdk-go_PR-570:/w/workspace/dgexfoundry_device-sdk-go_PR-570:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:55:47 $ docker top be360449a4738b84e106dff0c5d6a7ff4ff1d6c1eb3d6435ea1dc8352b7bee60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:47 [ssh-agent] Looking for ssh-agent implementation... 05:55:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:47 $ docker exec be360449a4738b84e106dff0c5d6a7ff4ff1d6c1eb3d6435ea1dc8352b7bee60 ssh-agent 05:55:47 SSH_AUTH_SOCK=/tmp/ssh-AawAzcnnizFC/agent.11 05:55:47 SSH_AGENT_PID=17 05:55:47 Running ssh-add (command line suppressed) 05:55:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_5519416329000086225.key (/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_5519416329000086225.key) 05:55:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:48 + git describe --exact-match --tags HEAD 05:55:48 fatal: No names found, cannot describe anything. [Pipeline] } 05:55:48 $ docker exec --env ******** --env ******** be360449a4738b84e106dff0c5d6a7ff4ff1d6c1eb3d6435ea1dc8352b7bee60 ssh-agent -k 05:55:48 unset SSH_AUTH_SOCK; 05:55:48 unset SSH_AGENT_PID; 05:55:48 echo Agent pid 17 killed; 05:55:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:55:48 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:55:48 This usually means this commit has not been tagged. [Pipeline] sshagent 05:55:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:48 [ssh-agent] Looking for ssh-agent implementation... 05:55:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:48 $ docker exec be360449a4738b84e106dff0c5d6a7ff4ff1d6c1eb3d6435ea1dc8352b7bee60 ssh-agent 05:55:49 SSH_AUTH_SOCK=/tmp/ssh-QgiUxJ6wpjm9/agent.45 05:55:49 SSH_AGENT_PID=50 05:55:49 Running ssh-add (command line suppressed) 05:55:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_65047234019498248.key (/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_65047234019498248.key) 05:55:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:49 + git semver init 05:55:49 # -> Open(): unable to determine branch for HEAD 05:55:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-570/.git 05:55:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-570 05:55:49 # $SEMVER_REMOTE_NAME = origin 05:55:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:55:49 # $SEMVER_USER_NAME = edgex-jenkins 05:55:49 # $SEMVER_BRANCH = PR-570 05:55:49 # $SEMVER_TEMP = /tmp/semver-306688164 05:55:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:55:50 # '/tmp/semver-306688164' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-570/.semver' 05:55:50 # -> Force: false 05:55:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-570/.semver [Pipeline] } 05:55:50 $ docker exec --env ******** --env ******** be360449a4738b84e106dff0c5d6a7ff4ff1d6c1eb3d6435ea1dc8352b7bee60 ssh-agent -k 05:55:50 unset SSH_AUTH_SOCK; 05:55:50 unset SSH_AGENT_PID; 05:55:50 echo Agent pid 50 killed; 05:55:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:51 + git semver [Pipeline] } 05:55:51 $ docker stop --time=1 be360449a4738b84e106dff0c5d6a7ff4ff1d6c1eb3d6435ea1dc8352b7bee60 05:55:52 $ docker rm -f be360449a4738b84e106dff0c5d6a7ff4ff1d6c1eb3d6435ea1dc8352b7bee60 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:55:53 Stashed 34 file(s) [Pipeline] echo 05:55:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:55:53 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 05:55:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43241 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [Pipeline] { [Pipeline] ws 05:55:54 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 05:55:58 using credential edgex-jenkins-ssh 05:55:58 Cloning the remote Git repository 05:55:58 Cloning with configured refspecs honoured and without tags 05:55:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:55:59 > git init /w/workspace/device-sdk-go/6 # timeout=10 05:55:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:59 > git --version # timeout=10 05:55:59 > git --version # 'git version 2.17.1' 05:55:59 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:00 Fetching without tags 05:56:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:00 > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # timeout=10 05:56:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:00 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 85f7a691ef0c31740ce49ea991163ba8833ef642 05:56:01 Merge succeeded, producing 85f7a691ef0c31740ce49ea991163ba8833ef642 05:56:01 Checking out Revision 85f7a691ef0c31740ce49ea991163ba8833ef642 (PR-570) 05:56:00 > git config core.sparsecheckout # timeout=10 05:56:00 > git checkout -f 85f7a691ef0c31740ce49ea991163ba8833ef642 # timeout=10 05:56:00 > git remote # timeout=10 05:56:00 > git config --get remote.origin.url # timeout=10 05:56:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:00 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 05:56:01 > git rev-parse HEAD^{commit} # timeout=10 05:56:01 > git config core.sparsecheckout # timeout=10 05:56:01 > git checkout -f 85f7a691ef0c31740ce49ea991163ba8833ef642 # timeout=10 05:56:05 Commit message: "Update Makefile and clean attribution file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:56:06 ========================================================= 05:56:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:56:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:07 + 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 . 05:56:08 Sending build context to Docker daemon 3.15MB 05:56:08 Step 1/8 : ARG BASE=golang:1.15-alpine 05:56:08 Step 2/8 : FROM ${BASE} 05:56:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:56:08 b538f80385f9: Pulling fs layer 05:56:08 74f711af9a0d: Pulling fs layer 05:56:08 99f96fe45779: Pulling fs layer 05:56:08 8529a6b9a6be: Pulling fs layer 05:56:08 45590311c82a: Pulling fs layer 05:56:08 69ca0ff8b7b3: Pulling fs layer 05:56:08 209524e5b208: Pulling fs layer 05:56:08 8529a6b9a6be: Waiting 05:56:08 45590311c82a: Waiting 05:56:08 69ca0ff8b7b3: Waiting 05:56:08 209524e5b208: Waiting 05:56:08 99f96fe45779: Verifying Checksum 05:56:08 99f96fe45779: Download complete 05:56:08 74f711af9a0d: Verifying Checksum 05:56:08 74f711af9a0d: Download complete 05:56:08 45590311c82a: Download complete 05:56:08 Still waiting to schedule task 05:56:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:56:09 69ca0ff8b7b3: Verifying Checksum 05:56:09 69ca0ff8b7b3: Download complete 05:56:09 b538f80385f9: Verifying Checksum 05:56:09 b538f80385f9: Download complete 05:56:09 b538f80385f9: Pull complete 05:56:10 74f711af9a0d: Pull complete 05:56:10 99f96fe45779: Pull complete 05:56:11 209524e5b208: Verifying Checksum 05:56:11 209524e5b208: Download complete 05:56:12 8529a6b9a6be: Verifying Checksum 05:56:12 8529a6b9a6be: Download complete 05:56:22 8529a6b9a6be: Pull complete 05:56:23 45590311c82a: Pull complete 05:56:23 69ca0ff8b7b3: Pull complete 05:56:27 209524e5b208: Pull complete 05:56:27 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:56:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:56:27 ---> 5bddaf1c2fca 05:56:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:29 ---> Running in 5f266b1cb73c 05:56:30 Removing intermediate container 5f266b1cb73c 05:56:30 ---> e35b6215aa13 05:56:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:30 ---> Running in 3fe8fba3783a 05:56:32 Removing intermediate container 3fe8fba3783a 05:56:32 ---> 18d19bfbf65e 05:56:32 Step 5/8 : RUN apk add --no-cache make git 05:56:32 ---> Running in 312a6d3c24a9 05:56:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:56:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:56:36 OK: 142 MiB in 39 packages 05:56:37 Removing intermediate container 312a6d3c24a9 05:56:37 ---> 19f4166f2e82 05:56:37 Step 6/8 : WORKDIR /device-sdk-go 05:56:37 ---> Running in d135d7c93679 05:56:37 Removing intermediate container d135d7c93679 05:56:37 ---> 1cf6a78e0658 05:56:37 Step 7/8 : COPY . . 05:56:39 ---> 36b8ccb33f60 05:56:39 Step 8/8 : RUN go mod download 05:56:39 ---> Running in 9e8e5fb3d870 05:56:54 Removing intermediate container 9e8e5fb3d870 05:56:54 ---> b20497f2b3f5 05:56:54 Successfully built b20497f2b3f5 05:56:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:56:55 + docker inspect -f . ci-base-image-arm64 05:56:55 . [Pipeline] withDockerContainer 05:56:55 prd-ubuntu18.04-docker-arm64-4c-16g-43241 does not seem to be running inside a container 05:56:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-arm64 cat 05:56:57 $ docker top d6d9f7bfe0c62672042471acf7121a1b19ed76cbd19a2e44c7dff840f0e6aec2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:59 + go version 05:56:59 go version go1.15.2 linux/arm64 [Pipeline] sh 05:57:00 + make test 05:57:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:57:22 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:58:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:58:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:58:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:58:01 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 21.0% of statements 05:58:01 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.274s coverage: 95.7% of statements 05:58:15 Running on prd-centos7-docker-4c-2g-43243 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [Pipeline] { [Pipeline] ws 05:58:15 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 05:58:17 using credential edgex-jenkins-ssh 05:58:17 Cloning the remote Git repository 05:58:17 Cloning with configured refspecs honoured and without tags 05:58:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:58:17 > git init /w/workspace/device-sdk-go/6 # timeout=10 05:58:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:17 > git --version # timeout=10 05:58:17 > git --version # 'git version 2.16.5' 05:58:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:58:18 Fetching without tags 05:58:18 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 85f7a691ef0c31740ce49ea991163ba8833ef642 05:58:18 Merge succeeded, producing 85f7a691ef0c31740ce49ea991163ba8833ef642 05:58:18 Checking out Revision 85f7a691ef0c31740ce49ea991163ba8833ef642 (PR-570) 05:58:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:18 > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # timeout=10 05:58:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:58:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:58:18 > git config core.sparsecheckout # timeout=10 05:58:18 > git checkout -f 85f7a691ef0c31740ce49ea991163ba8833ef642 # timeout=10 05:58:18 > git remote # timeout=10 05:58:18 > git config --get remote.origin.url # timeout=10 05:58:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:18 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 05:58:18 > git rev-parse HEAD^{commit} # timeout=10 05:58:18 > git config core.sparsecheckout # timeout=10 05:58:18 > git checkout -f 85f7a691ef0c31740ce49ea991163ba8833ef642 # timeout=10 05:58:22 Commit message: "Update Makefile and clean attribution file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:58:23 ========================================================= 05:58:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:58:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:58:23 + 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 . 05:58:24 Sending build context to Docker daemon 3.151MB 05:58:24 Step 1/8 : ARG BASE=golang:1.15-alpine 05:58:24 Step 2/8 : FROM ${BASE} 05:58:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:24 df20fa9351a1: Pulling fs layer 05:58:24 ed8968b2872e: Pulling fs layer 05:58:24 a92cc7c5fd73: Pulling fs layer 05:58:24 e871e8e8d7a9: Pulling fs layer 05:58:24 e73272ec9a57: Pulling fs layer 05:58:24 1e910a182e73: Pulling fs layer 05:58:24 4e634b169226: Pulling fs layer 05:58:24 e73272ec9a57: Waiting 05:58:24 1e910a182e73: Waiting 05:58:24 4e634b169226: Waiting 05:58:24 e871e8e8d7a9: Waiting 05:58:24 a92cc7c5fd73: Verifying Checksum 05:58:24 a92cc7c5fd73: Download complete 05:58:24 ed8968b2872e: Verifying Checksum 05:58:24 ed8968b2872e: Download complete 05:58:24 e73272ec9a57: Verifying Checksum 05:58:24 e73272ec9a57: Download complete 05:58:24 1e910a182e73: Verifying Checksum 05:58:24 1e910a182e73: Download complete 05:58:24 df20fa9351a1: Verifying Checksum 05:58:24 df20fa9351a1: Download complete 05:58:25 df20fa9351a1: Pull complete 05:58:25 ed8968b2872e: Pull complete 05:58:25 a92cc7c5fd73: Pull complete 05:58:26 4e634b169226: Verifying Checksum 05:58:26 4e634b169226: Download complete 05:58:27 e871e8e8d7a9: Verifying Checksum 05:58:27 e871e8e8d7a9: Download complete 05:58:31 e871e8e8d7a9: Pull complete 05:58:31 e73272ec9a57: Pull complete 05:58:31 1e910a182e73: Pull complete 05:58:33 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.090s coverage: 8.6% of statements 05:58:33 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.044s coverage: 21.7% of statements 05:58:33 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:58:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.428s coverage: 37.0% of statements 05:58:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:58:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.663s coverage: 65.4% of statements 05:58:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:58:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:58:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:58:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.128s coverage: 52.6% of statements 05:58:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.855s coverage: 68.9% of statements 05:58:33 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:58:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:58:33 GO111MODULE=on go vet ./... 05:58:36 4e634b169226: Pull complete 05:58:36 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:58:36 ---> f7629b54cfaa 05:58:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:36 ---> Running in ae9b22278a33 05:58:36 Removing intermediate container ae9b22278a33 05:58:36 ---> 48d1d381059d 05:58:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:36 ---> Running in fc539cc5eb20 05:58:38 Removing intermediate container fc539cc5eb20 05:58:38 ---> ffc310326d4e 05:58:38 Step 5/8 : RUN apk add --no-cache make git 05:58:38 ---> Running in 39b35be0669e 05:58:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:58:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:58:40 OK: 166 MiB in 39 packages 05:58:40 Removing intermediate container 39b35be0669e 05:58:40 ---> 87bd9f5e8d7d 05:58:40 Step 6/8 : WORKDIR /device-sdk-go 05:58:40 ---> Running in 66cd8d89736f 05:58:40 Removing intermediate container 66cd8d89736f 05:58:40 ---> 58a4fa3b18d7 05:58:40 Step 7/8 : COPY . . 05:58:41 ---> 513b7496086c 05:58:41 Step 8/8 : RUN go mod download 05:58:41 ---> Running in 5b0e70c55de3 05:58:53 Removing intermediate container 5b0e70c55de3 05:58:53 ---> b33d5f5c4d7f 05:58:53 Successfully built b33d5f5c4d7f 05:58:53 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 05:58:54 + docker inspect -f . ci-base-image-x86_64 05:58:54 . [Pipeline] withDockerContainer 05:58:54 prd-centos7-docker-4c-2g-43243 does not seem to be running inside a container 05:58:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-x86_64 cat 05:58:56 $ docker top 5afc9707a4f0749c55779c1ed6fa01faa47131f667a9c7bb24c5482f179a20b0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:56 + go version 05:58:56 go version go1.15.2 linux/amd64 [Pipeline] sh 05:58:56 + make test 05:58:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:59:00 gofmt -l . 05:59:00 [ "`gofmt -l .`" = "" ] 05:59:00 ./bin/test-attribution-txt.sh 05:59:00 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:59:01 Stashed 1 file(s) [Pipeline] } 05:59:01 $ docker stop --time=1 d6d9f7bfe0c62672042471acf7121a1b19ed76cbd19a2e44c7dff840f0e6aec2 05:59:03 $ docker rm -f d6d9f7bfe0c62672042471acf7121a1b19ed76cbd19a2e44c7dff840f0e6aec2 05:59:03 ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:05 + ls -al . 05:59:05 total 228 05:59:05 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 05:59 . 05:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:55 .. 05:59:05 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 05:56 .dockerignore 05:59:05 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 05:56 .git 05:59:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:56 .github 05:59:05 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 05:56 .gitignore 05:59:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 05:56 .semver 05:59:05 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 05:56 Dockerfile.build 05:59:05 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 05:56 Jenkinsfile 05:59:05 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 05:56 LICENSE 05:59:05 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 15 05:56 Makefile 05:59:05 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 05:56 README.md 05:59:05 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 05:56 RELEASE-NOTES.txt 05:59:05 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 05:55 VERSION 05:59:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:56 bin 05:59:05 -rw-r--r-- 1 jenkins jenkins 111785 Sep 15 05:58 coverage.out 05:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:56 example 05:59:05 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 05:58 go.mod 05:59:05 -rw-r--r-- 1 jenkins jenkins 12179 Sep 15 05:59 go.sum 05:59:05 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 05:56 internal 05:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:56 openapi 05:59:05 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 05:56 pkg 05:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:56 snap 05:59:05 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 05:56 version.go [Pipeline] isUnix [Pipeline] sh 05:59:06 + 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=85f7a691ef0c31740ce49ea991163ba8833ef642 --label arch=arm64 --label version=0.0.0 . 05:59:06 Sending build context to Docker daemon 3.264MB 05:59:06 Step 1/24 : ARG BASE=golang:1.15-alpine 05:59:06 Step 2/24 : FROM ${BASE} AS builder 05:59:06 ---> b20497f2b3f5 05:59:06 Step 3/24 : ARG MAKE='make build' 05:59:07 ---> Running in d8c67b13e9b3 05:59:07 Removing intermediate container d8c67b13e9b3 05:59:07 ---> 67b9207afba9 05:59:07 Step 4/24 : WORKDIR /device-sdk-go 05:59:07 ---> Running in 48d59a564d4c 05:59:08 Removing intermediate container 48d59a564d4c 05:59:08 ---> e1bbeb43917a 05:59:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:08 ---> Running in ae3158723f94 05:59:08 Removing intermediate container ae3158723f94 05:59:08 ---> dcc9ea8cde41 05:59:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:08 ---> Running in 06706989418c 05:59:11 Removing intermediate container 06706989418c 05:59:11 ---> fcc0602d0894 05:59:11 Step 7/24 : RUN apk add --update --no-cache make git 05:59:11 ---> Running in 188f6b5625c8 05:59:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:59:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:59:14 OK: 142 MiB in 39 packages 05:59:15 Removing intermediate container 188f6b5625c8 05:59:15 ---> 8ee5134a0456 05:59:15 Step 8/24 : COPY . . 05:59:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:59:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:59:16 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:59:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.042s coverage: 21.0% of statements 05:59:16 ---> a3b81fc5f0d1 05:59:16 Step 9/24 : RUN ${MAKE} 05:59:16 ---> Running in 303ab920589b 05:59:17 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.434s coverage: 95.7% of statements 05:59:18 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 05:59:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:59:42 Removing intermediate container 303ab920589b 05:59:42 ---> 20e20faed781 05:59:42 Step 10/24 : FROM scratch 05:59:42 ---> 05:59:42 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:42 ---> Running in 1ad32ece74b8 05:59:42 Removing intermediate container 1ad32ece74b8 05:59:42 ---> b8875e697463 05:59:42 Step 12/24 : ENV APP_PORT=49990 05:59:43 ---> Running in 79c04a130680 05:59:43 Removing intermediate container 79c04a130680 05:59:43 ---> 837f4018b072 05:59:43 Step 13/24 : EXPOSE $APP_PORT 05:59:43 ---> Running in efdb2b5bfce7 05:59:43 Removing intermediate container efdb2b5bfce7 05:59:43 ---> f54e62cc42b1 05:59:43 Step 14/24 : WORKDIR / 05:59:43 ---> Running in a6eae9975baf 05:59:44 Removing intermediate container a6eae9975baf 05:59:44 ---> f1b8684f6332 05:59:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:59:45 ---> a2b1b4fa224f 05:59:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:59:46 ---> 7ec8ab8a466d 05:59:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:59:47 ---> c19c915d5fd6 05:59:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:59:47 ---> 8a6391cbc6f9 05:59:47 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:59:48 ---> f808a4c91dbf 05:59:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:59:48 ---> Running in 74fd3dadc528 05:59:49 Removing intermediate container 74fd3dadc528 05:59:49 ---> 0e4f1bc2c91e 05:59:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:59:49 ---> Running in c66fe7d0c014 05:59:49 Removing intermediate container c66fe7d0c014 05:59:49 ---> 5dc2c3f67bc9 05:59:49 Step 22/24 : LABEL arch=arm64 05:59:49 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.031s coverage: 8.6% of statements 05:59:49 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.023s coverage: 21.7% of statements 05:59:49 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:59:49 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.183s coverage: 37.0% of statements 05:59:49 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:59:49 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.241s coverage: 65.4% of statements 05:59:49 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:59:49 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:59:49 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:59:49 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.110s coverage: 52.6% of statements 05:59:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.226s coverage: 68.9% of statements 05:59:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:59:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:59:49 GO111MODULE=on go vet ./... 05:59:49 ---> Running in afb3fff0c8cf 05:59:50 Removing intermediate container afb3fff0c8cf 05:59:50 ---> e7b532df1889 05:59:50 Step 23/24 : LABEL git_sha=85f7a691ef0c31740ce49ea991163ba8833ef642 05:59:50 ---> Running in ee757835d7fd 05:59:50 Removing intermediate container ee757835d7fd 05:59:50 ---> e0d712c4a2e6 05:59:50 Step 24/24 : LABEL version=0.0.0 05:59:50 ---> Running in fb0d6eb33c18 05:59:51 Removing intermediate container fb0d6eb33c18 05:59:51 ---> 859a1e331e2e 05:59:51 [Warning] One or more build-args [ARCH] were not consumed 05:59:51 Successfully built 859a1e331e2e 05:59:51 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] } 05:59:54 gofmt -l . 05:59:54 [ "`gofmt -l .`" = "" ] 05:59:54 ./bin/test-attribution-txt.sh 05:59:54 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:59:55 Warning: overwriting stash ‘coverage-report’ 05:59:55 Stashed 1 file(s) [Pipeline] } 05:59:55 $ docker stop --time=1 5afc9707a4f0749c55779c1ed6fa01faa47131f667a9c7bb24c5482f179a20b0 05:59:57 $ docker rm -f 5afc9707a4f0749c55779c1ed6fa01faa47131f667a9c7bb24c5482f179a20b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:58 + ls -al . 05:59:58 total 188 05:59:58 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 05:59 . 05:59:58 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 05:58 .. 05:59:58 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 05:58 bin 05:59:58 -rw-r--r--. 1 jenkins jenkins 111785 Sep 15 05:59 coverage.out 05:59:58 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 05:58 Dockerfile.build 05:59:58 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 05:58 .dockerignore 05:59:58 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 05:58 example 05:59:58 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 05:58 .git 05:59:58 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 05:58 .github 05:59:58 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 05:58 .gitignore 05:59:58 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 05:59 go.mod 05:59:58 -rw-r--r--. 1 jenkins jenkins 12179 Sep 15 05:59 go.sum 05:59:58 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 05:58 internal 05:59:58 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 05:58 Jenkinsfile 05:59:58 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 05:58 LICENSE 05:59:58 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 15 05:58 Makefile 05:59:58 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 05:58 openapi 05:59:58 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 05:58 pkg 05:59:58 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 05:58 README.md 05:59:58 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 05:58 RELEASE-NOTES.txt 05:59:58 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 05:58 .semver 05:59:58 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 05:58 snap 05:59:58 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 05:55 VERSION 05:59:58 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 05:58 version.go [Pipeline] isUnix [Pipeline] sh 05:59:59 + 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=85f7a691ef0c31740ce49ea991163ba8833ef642 --label arch=amd64 --label version=0.0.0 . 05:59:59 Sending build context to Docker daemon 3.265MB 05:59:59 Step 1/24 : ARG BASE=golang:1.15-alpine 05:59:59 Step 2/24 : FROM ${BASE} AS builder 05:59:59 ---> b33d5f5c4d7f 05:59:59 Step 3/24 : ARG MAKE='make build' 05:59:59 ---> Running in a56154ceaf69 05:59:59 Removing intermediate container a56154ceaf69 05:59:59 ---> 62afafed0ce5 05:59:59 Step 4/24 : WORKDIR /device-sdk-go 05:59:59 ---> Running in d198317cdfb7 06:00:00 Removing intermediate container d198317cdfb7 06:00:00 ---> 95ca099bb26a 06:00:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:00 ---> Running in 5b02d180783c 06:00:00 Removing intermediate container 5b02d180783c 06:00:00 ---> 09fb04382a77 06:00:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:00 ---> Running in 435e37b92db4 06:00:01 Removing intermediate container 435e37b92db4 06:00:01 ---> 6f869e0483d0 06:00:01 Step 7/24 : RUN apk add --update --no-cache make git 06:00:01 ---> Running in 7082f8d436d9 06:00:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:00:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:00:03 OK: 166 MiB in 39 packages 06:00:03 Removing intermediate container 7082f8d436d9 06:00:03 ---> c71df06a90f9 06:00:03 Step 8/24 : COPY . . 06:00:04 ---> 5282eafed5a8 06:00:04 Step 9/24 : RUN ${MAKE} 06:00:04 ---> Running in f8750bdafd62 06:00:04 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:00:11 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:00:13 Removing intermediate container f8750bdafd62 06:00:13 ---> 09336fd86230 06:00:13 Step 10/24 : FROM scratch 06:00:13 ---> 06:00:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:13 ---> Running in 14cdb2761878 06:00:13 Removing intermediate container 14cdb2761878 06:00:13 ---> 511c2826237c 06:00:13 Step 12/24 : ENV APP_PORT=49990 06:00:13 ---> Running in 6dbf91bfeff4 06:00:14 Removing intermediate container 6dbf91bfeff4 06:00:14 ---> f75e108f6f34 06:00:14 Step 13/24 : EXPOSE $APP_PORT 06:00:14 ---> Running in 4df2a73352b9 06:00:14 Removing intermediate container 4df2a73352b9 06:00:14 ---> 534f56513379 06:00:14 Step 14/24 : WORKDIR / 06:00:14 ---> Running in 0df015626160 06:00:14 Removing intermediate container 0df015626160 06:00:14 ---> 7b81a37dcdf4 06:00:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:00:14 ---> 30cd3612fbe4 06:00:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:00:15 ---> e2ae7dfdfd33 06:00:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:00:15 ---> e65c6eb498d6 06:00:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:00:15 ---> 8559d2b80c9a 06:00:15 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:00:15 ---> 41170bcffd3f 06:00:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:00:15 ---> Running in c44e261cc20a 06:00:15 Removing intermediate container c44e261cc20a 06:00:15 ---> 37bd98e0e9b7 06:00:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:00:15 ---> Running in c3b1ab2ff8ff 06:00:16 Removing intermediate container c3b1ab2ff8ff 06:00:16 ---> 75a85822029e 06:00:16 Step 22/24 : LABEL arch=amd64 06:00:16 ---> Running in 34cc604007a9 06:00:16 Removing intermediate container 34cc604007a9 06:00:16 ---> 667ba3eab395 06:00:16 Step 23/24 : LABEL git_sha=85f7a691ef0c31740ce49ea991163ba8833ef642 06:00:16 ---> Running in 2d9432d62b8a 06:00:16 Removing intermediate container 2d9432d62b8a 06:00:16 ---> dac5cf555b53 06:00:16 Step 24/24 : LABEL version=0.0.0 06:00:16 ---> Running in b3f74d0bbdce 06:00:16 Removing intermediate container b3f74d0bbdce 06:00:16 ---> c5f5fa8bc384 06:00:16 [Warning] One or more build-args [ARCH] were not consumed 06:00:16 Successfully built c5f5fa8bc384 06:00:16 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:00:19 provisioning config files... 06:00:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/config9141108556516706489tmp [Pipeline] { [Pipeline] sh 06:00:19 + curl -s https://codecov.io/bash 06:00:19 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/config9141108556516706489tmp [Pipeline] } 06:00:19 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:00:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:00:22 ---> package-listing.sh 06:00:22 ++ tr '[:upper:]' '[:lower:]' 06:00:22 ++ facter osfamily 06:00:22 + OS_FAMILY=redhat 06:00:22 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-570 06:00:22 + START_PACKAGES=/tmp/packages_start.txt 06:00:22 + END_PACKAGES=/tmp/packages_end.txt 06:00:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:00:22 + PACKAGES=/tmp/packages_start.txt 06:00:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-570 ']' 06:00:22 + PACKAGES=/tmp/packages_end.txt 06:00:22 + case "${OS_FAMILY}" in 06:00:22 + sort 06:00:22 + rpm -qa 06:00:26 + '[' -f /tmp/packages_start.txt ']' 06:00:26 + '[' -f /tmp/packages_end.txt ']' 06:00:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:00:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-570 ']' 06:00:26 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-570/archives/ 06:00:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-570/archives/ [Pipeline] isUnix [Pipeline] sh 06:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:27 06:00:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:00:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:28 alpine: Pulling from edgex-lftools-log-publisher 06:00:28 df20fa9351a1: Pulling fs layer 06:00:28 36b3adc4ff6f: Pulling fs layer 06:00:28 8ad3a11d3b57: Pulling fs layer 06:00:28 46f8f816bc3b: Pulling fs layer 06:00:28 0dadc02b9964: Pulling fs layer 06:00:28 ce6a7cf60c04: Pulling fs layer 06:00:28 7a184a31f384: Pulling fs layer 06:00:28 0879bd2ef858: Pulling fs layer 06:00:28 46f8f816bc3b: Waiting 06:00:28 7a184a31f384: Waiting 06:00:28 0dadc02b9964: Waiting 06:00:28 0879bd2ef858: Waiting 06:00:28 36b3adc4ff6f: Verifying Checksum 06:00:28 36b3adc4ff6f: Download complete 06:00:28 46f8f816bc3b: Verifying Checksum 06:00:28 46f8f816bc3b: Download complete 06:00:28 df20fa9351a1: Verifying Checksum 06:00:28 df20fa9351a1: Download complete 06:00:28 ce6a7cf60c04: Verifying Checksum 06:00:28 ce6a7cf60c04: Download complete 06:00:28 0dadc02b9964: Verifying Checksum 06:00:28 0dadc02b9964: Download complete 06:00:28 7a184a31f384: Verifying Checksum 06:00:28 7a184a31f384: Download complete 06:00:28 8ad3a11d3b57: Verifying Checksum 06:00:28 8ad3a11d3b57: Download complete 06:00:28 df20fa9351a1: Pull complete 06:00:28 0879bd2ef858: Verifying Checksum 06:00:28 0879bd2ef858: Download complete 06:00:28 36b3adc4ff6f: Pull complete 06:00:29 8ad3a11d3b57: Pull complete 06:00:29 46f8f816bc3b: Pull complete 06:00:29 0dadc02b9964: Pull complete 06:00:29 ce6a7cf60c04: Pull complete 06:00:29 7a184a31f384: Pull complete 06:00:32 0879bd2ef858: Pull complete 06:00:32 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 06:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:00:32 prd-centos7-docker-4c-2g-43242 does not seem to be running inside a container 06:00:32 $ 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-570 -v /w/workspace/dgexfoundry_device-sdk-go_PR-570:/w/workspace/dgexfoundry_device-sdk-go_PR-570:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-570@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:00:38 $ docker top 5885c2c303fdd195fbd46bf11bef92279e76b772de4c5a860949fcc70ff4e9a8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:39 + mkdir -p /var/log/sa [Pipeline] sh 06:00:39 + ls /var/log/sa-host 06:00:39 + sadf -c /var/log/sa-host/sa05 06:00:39 file_magic: OK 06:00:39 HZ: Using current value: 100 06:00:39 file_header: OK 06:00:39 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:00:39 Statistics: 06:00:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:00:39 File successfully converted to sysstat format version 12.2.1 06:00:39 + sadf -c /var/log/sa-host/sa15 06:00:39 file_magic: OK 06:00:39 HZ: Using current value: 100 06:00:39 file_header: OK 06:00:39 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:00:39 Statistics: 06:00:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:00:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:39 provisioning config files... 06:00:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/config6203311928839182509tmp [Pipeline] { [Pipeline] echo 06:00:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:00:39 ---> create-netrc.sh [Pipeline] echo 06:00:39 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:00:40 ---> logs-deploy.sh 06:00:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-570/6 06:00:40 INFO: archiving workspace using pattern(s): 06:00:41 Archives upload complete. 06:00:41 INFO: archiving logs to Nexus 06:00:42 ---> uname -a: 06:00:42 Linux 5885c2c303fd 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 06:00:42 06:00:42 06:00:42 ---> lscpu: 06:00:42 Architecture: x86_64 06:00:42 CPU op-mode(s): 32-bit, 64-bit 06:00:42 Byte Order: Little Endian 06:00:42 Address sizes: 40 bits physical, 48 bits virtual 06:00:42 CPU(s): 4 06:00:42 On-line CPU(s) list: 0-3 06:00:42 Thread(s) per core: 1 06:00:42 Core(s) per socket: 1 06:00:42 Socket(s): 4 06:00:42 NUMA node(s): 1 06:00:42 Vendor ID: GenuineIntel 06:00:42 CPU family: 6 06:00:42 Model: 44 06:00:42 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:00:42 Stepping: 1 06:00:42 CPU MHz: 2933.436 06:00:42 BogoMIPS: 5866.87 06:00:42 Virtualization: VT-x 06:00:42 Hypervisor vendor: KVM 06:00:42 Virtualization type: full 06:00:42 L1d cache: 128 KiB 06:00:42 L1i cache: 128 KiB 06:00:42 L2 cache: 16 MiB 06:00:42 L3 cache: 64 MiB 06:00:42 NUMA node0 CPU(s): 0-3 06:00:42 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:00:42 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:00:42 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:00:42 Vulnerability Meltdown: Mitigation; PTI 06:00:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:00:42 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:00:42 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:00:42 Vulnerability Tsx async abort: Not affected 06:00:42 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:00:42 06:00:42 06:00:42 ---> nproc: 06:00:42 4 06:00:42 06:00:42 06:00:42 ---> df -h: 06:00:42 Filesystem Size Used Available Use% Mounted on 06:00:42 overlay 50.0G 7.0G 43.0G 14% / 06:00:42 tmpfs 64.0M 0 64.0M 0% /dev 06:00:42 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:00:42 shm 64.0M 0 64.0M 0% /dev/shm 06:00:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 06:00:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 06:00:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 06:00:42 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 06:00:42 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-570 06:00:42 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp 06:00:42 06:00:42 06:00:42 ---> free -m: 06:00:42 total used free shared buff/cache available 06:00:42 Mem: 1837 628 132 0 1076 1103 06:00:42 Swap: 1023 0 1023 06:00:42 06:00:42 06:00:42 ---> ip addr: 06:00:42 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:00:42 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:00:42 inet 127.0.0.1/8 scope host lo 06:00:42 valid_lft forever preferred_lft forever 06:00:42 6: eth0@if7: mtu 1458 qdisc noqueue state UP 06:00:42 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 06:00:42 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 06:00:42 valid_lft forever preferred_lft forever 06:00:42 06:00:42 06:00:42 ---> sar -b -r -n DEV: 06:00:42 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:00:42 06:00:42 05:54:45 LINUX RESTART (4 CPU) 06:00:42 06:00:42 05:56:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:00:42 05:57:01 3.50 0.00 3.50 0.00 0.00 111.53 0.00 06:00:42 05:58:01 0.40 0.00 0.40 0.00 0.00 5.76 0.00 06:00:42 05:59:01 0.43 0.00 0.43 0.00 0.00 6.28 0.00 06:00:42 06:00:01 0.23 0.00 0.23 0.00 0.00 3.05 0.00 06:00:42 Average: 1.14 0.00 1.14 0.00 0.00 31.65 0.00 06:00:42 06:00:42 05:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:00:42 05:57:01 178400 0 541196 28.76 2620 1159340 1071772 36.58 420596 1123936 20 06:00:42 05:58:01 178516 0 541076 28.76 2620 1159344 1071776 36.58 420900 1123656 8 06:00:42 05:59:01 175924 0 543656 28.89 2620 1159356 1073336 36.63 423620 1123656 8 06:00:42 06:00:01 176788 0 542792 28.85 2620 1159356 1071840 36.58 426172 1120112 16 06:00:42 Average: 177407 0 542180 28.82 2620 1159349 1072181 36.59 422822 1122840 13 06:00:42 06:00:42 05:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:00:42 05:57:01 eth0 0.08 0.13 0.01 0.03 0.00 0.00 0.00 0.00 06:00:42 05:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 05:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 05:58:01 eth0 0.57 0.07 0.06 0.01 0.00 0.00 0.00 0.00 06:00:42 05:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 05:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 05:59:01 eth0 0.47 0.45 0.29 0.21 0.00 0.00 0.00 0.00 06:00:42 05:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 05:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 06:00:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:00:42 06:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 06:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 Average: eth0 0.30 0.18 0.09 0.06 0.00 0.00 0.00 0.00 06:00:42 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:00:42 06:00:42 06:00:42 ---> sar -P ALL: 06:00:42 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:00:42 06:00:42 05:54:45 LINUX RESTART (4 CPU) 06:00:42 06:00:42 05:56:01 CPU %user %nice %system %iowait %steal %idle 06:00:42 05:57:01 all 0.15 0.00 0.04 0.00 0.00 99.81 06:00:42 05:57:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:00:42 05:57:01 1 0.08 0.00 0.05 0.00 0.00 99.87 06:00:42 05:57:01 2 0.03 0.00 0.03 0.00 0.00 99.93 06:00:42 05:57:01 3 0.43 0.00 0.05 0.00 0.02 99.50 06:00:42 05:58:01 all 0.14 0.00 0.03 0.00 0.00 99.83 06:00:42 05:58:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:00:42 05:58:01 1 0.05 0.00 0.05 0.00 0.00 99.90 06:00:42 05:58:01 2 0.03 0.00 0.02 0.00 0.00 99.95 06:00:42 05:58:01 3 0.47 0.00 0.02 0.00 0.00 99.52 06:00:42 05:59:01 all 0.14 0.00 0.03 0.00 0.00 99.82 06:00:42 05:59:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:00:42 05:59:01 1 0.02 0.00 0.02 0.00 0.02 99.95 06:00:42 05:59:01 2 0.05 0.00 0.05 0.02 0.00 99.88 06:00:42 05:59:01 3 0.47 0.00 0.02 0.00 0.00 99.52 06:00:42 06:00:01 all 0.15 0.00 0.04 0.00 0.00 99.81 06:00:42 06:00:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:00:42 06:00:01 1 0.03 0.00 0.08 0.00 0.00 99.88 06:00:42 06:00:01 2 0.03 0.00 0.03 0.00 0.02 99.92 06:00:42 06:00:01 3 0.50 0.00 0.02 0.00 0.00 99.48 06:00:42 Average: all 0.14 0.00 0.03 0.00 0.00 99.82 06:00:42 Average: 0 0.02 0.00 0.03 0.00 0.00 99.95 06:00:42 Average: 1 0.05 0.00 0.05 0.00 0.00 99.90 06:00:42 Average: 2 0.04 0.00 0.03 0.00 0.00 99.92 06:00:42 Average: 3 0.47 0.00 0.02 0.00 0.00 99.50 06:00:42 06:00:42 06:00:42