Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3dd64f9fa75ea99c23536790964834e4e2db85e8+3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (6ac35a25916f40621a79a368ad7190a0423b2ea4) 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-43252 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 3dd64f9fa75ea99c23536790964834e4e2db85e8 Merge succeeded, producing 3dd64f9fa75ea99c23536790964834e4e2db85e8 Checking out Revision 3dd64f9fa75ea99c23536790964834e4e2db85e8 (PR-584) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3dd64f9fa75ea99c23536790964834e4e2db85e8 # 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 3dd64f9fa75ea99c23536790964834e4e2db85e8 # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. > git rev-list --no-walk 7c4fc9e11bc1963993f34e0359c29400a823dc74 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:33:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:16 ========================================================= 06:33:16 EdgeX Global Pipelines Version Info 06:33:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:33:18 ------------------- 06:33:18 stable info: 06:33:18 ------------------- 06:33:18 Commited By: Emilio Reyes emilio.reyes@intel.com 06:33:18 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 06:33:18 Message: update stable to v1.0.119 06:33:19 ------------------- 06:33:19 experimental info: 06:33:19 ------------------- 06:33:19 Commited By: **** collab-it+edgex@linuxfoundation.org 06:33:19 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 06:33:19 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:33:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:33:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:33:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:33:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:33:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:33:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 06:33:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 06:33:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 06:33:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3dd64f9fa75ea99c23536790964834e4e2db85e8 [Pipeline] echo 06:33:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3dd64f9 [Pipeline] echo 06:33:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:23 + git log --format=format:%s -1 3dd64f9fa75ea99c23536790964834e4e2db85e8 [Pipeline] echo 06:33:23 GIT_COMMIT: 3dd64f9fa75ea99c23536790964834e4e2db85e8, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo 06:33:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:33:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:24 06:33:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:33:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:24 latest: Pulling from edgex-devops/git-semver 06:33:24 31603596830f: Pulling fs layer 06:33:24 2a8b12db71e7: Pulling fs layer 06:33:24 6ca5941a6612: Pulling fs layer 06:33:24 ecc8261a40a4: Pulling fs layer 06:33:24 ecc8261a40a4: Waiting 06:33:24 2a8b12db71e7: Verifying Checksum 06:33:24 2a8b12db71e7: Download complete 06:33:24 31603596830f: Verifying Checksum 06:33:24 31603596830f: Download complete 06:33:25 ecc8261a40a4: Verifying Checksum 06:33:25 ecc8261a40a4: Download complete 06:33:25 6ca5941a6612: Verifying Checksum 06:33:25 6ca5941a6612: Download complete 06:33:25 31603596830f: Pull complete 06:33:25 2a8b12db71e7: Pull complete 06:33:26 6ca5941a6612: Pull complete 06:33:26 ecc8261a40a4: Pull complete 06:33:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:33:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:33:26 prd-centos7-docker-4c-2g-43252 does not seem to be running inside a container 06:33:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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:33:28 $ docker top 58ee6889eb41026eda4f2358caf81996eca8dd5d6bb1a7135ba53f5bcf38349e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:29 [ssh-agent] Looking for ssh-agent implementation... 06:33:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:29 $ docker exec 58ee6889eb41026eda4f2358caf81996eca8dd5d6bb1a7135ba53f5bcf38349e ssh-agent 06:33:29 SSH_AUTH_SOCK=/tmp/ssh-Dz9zJ0OpWXMj/agent.11 06:33:29 SSH_AGENT_PID=16 06:33:29 Running ssh-add (command line suppressed) 06:33:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5060151397141866357.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5060151397141866357.key) 06:33:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:30 + git describe --exact-match --tags HEAD 06:33:30 fatal: No names found, cannot describe anything. [Pipeline] } 06:33:30 $ docker exec --env ******** --env ******** 58ee6889eb41026eda4f2358caf81996eca8dd5d6bb1a7135ba53f5bcf38349e ssh-agent -k 06:33:30 unset SSH_AUTH_SOCK; 06:33:30 unset SSH_AGENT_PID; 06:33:30 echo Agent pid 16 killed; 06:33:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:33:30 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:33:30 This usually means this commit has not been tagged. [Pipeline] sshagent 06:33:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:30 [ssh-agent] Looking for ssh-agent implementation... 06:33:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:30 $ docker exec 58ee6889eb41026eda4f2358caf81996eca8dd5d6bb1a7135ba53f5bcf38349e ssh-agent 06:33:30 SSH_AUTH_SOCK=/tmp/ssh-wVMBgFhTwKFr/agent.47 06:33:30 SSH_AGENT_PID=52 06:33:30 Running ssh-add (command line suppressed) 06:33:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3941680102819192690.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3941680102819192690.key) 06:33:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:31 + git semver init 06:33:31 # -> Open(): unable to determine branch for HEAD 06:33:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 06:33:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 06:33:31 # $SEMVER_REMOTE_NAME = origin 06:33:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:33:31 # $SEMVER_USER_NAME = edgex-jenkins 06:33:31 # $SEMVER_BRANCH = PR-584 06:33:31 # $SEMVER_TEMP = /tmp/semver-330447714 06:33:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:33:31 # '/tmp/semver-330447714' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 06:33:31 # -> Force: false 06:33:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 06:33:32 $ docker exec --env ******** --env ******** 58ee6889eb41026eda4f2358caf81996eca8dd5d6bb1a7135ba53f5bcf38349e ssh-agent -k 06:33:32 unset SSH_AUTH_SOCK; 06:33:32 unset SSH_AGENT_PID; 06:33:32 echo Agent pid 52 killed; 06:33:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:33:32 + git semver [Pipeline] } 06:33:32 $ docker stop --time=1 58ee6889eb41026eda4f2358caf81996eca8dd5d6bb1a7135ba53f5bcf38349e 06:33:34 $ docker rm -f 58ee6889eb41026eda4f2358caf81996eca8dd5d6bb1a7135ba53f5bcf38349e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:33:35 Stashed 34 file(s) [Pipeline] echo 06:33:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:33:35 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:33:50 Still waiting to schedule task 06:33:50 ‘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-43255’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43253’ doesn’t have label ‘centos7-docker-4c-2g’ 06:33:50 Still waiting to schedule task 06:33:50 ‘prd-ubuntu18.04-docker-arm64-4c-16g-43253’ is offline 06:35:12 Running on prd-centos7-docker-4c-2g-43260 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 06:35:12 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:35:16 using credential edgex-jenkins-ssh 06:35:16 Cloning the remote Git repository 06:35:16 Cloning with configured refspecs honoured and without tags 06:35:17 Fetching without tags 06:35:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:35:16 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:35:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:16 > git --version # timeout=10 06:35:16 > git --version # 'git version 2.16.5' 06:35:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:35:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:17 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 06:35:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:35:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:35:18 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 3dd64f9fa75ea99c23536790964834e4e2db85e8 06:35:18 Merge succeeded, producing 3dd64f9fa75ea99c23536790964834e4e2db85e8 06:35:18 Checking out Revision 3dd64f9fa75ea99c23536790964834e4e2db85e8 (PR-584) 06:35:18 > git config core.sparsecheckout # timeout=10 06:35:18 > git checkout -f 3dd64f9fa75ea99c23536790964834e4e2db85e8 # timeout=10 06:35:18 > git remote # timeout=10 06:35:18 > git config --get remote.origin.url # timeout=10 06:35:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:18 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 06:35:18 > git rev-parse HEAD^{commit} # timeout=10 06:35:18 > git config core.sparsecheckout # timeout=10 06:35:18 > git checkout -f 3dd64f9fa75ea99c23536790964834e4e2db85e8 # timeout=10 06:35:22 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:35:22 ========================================================= 06:35:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:35:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:35: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 . 06:35:24 Sending build context to Docker daemon 3.152MB 06:35:24 Step 1/8 : ARG BASE=golang:1.15-alpine 06:35:24 Step 2/8 : FROM ${BASE} 06:35:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:35:24 df20fa9351a1: Pulling fs layer 06:35:24 ed8968b2872e: Pulling fs layer 06:35:24 a92cc7c5fd73: Pulling fs layer 06:35:24 e871e8e8d7a9: Pulling fs layer 06:35:24 e73272ec9a57: Pulling fs layer 06:35:24 1e910a182e73: Pulling fs layer 06:35:24 4e634b169226: Pulling fs layer 06:35:24 4e634b169226: Waiting 06:35:24 e73272ec9a57: Waiting 06:35:24 1e910a182e73: Waiting 06:35:24 e871e8e8d7a9: Waiting 06:35:24 a92cc7c5fd73: Download complete 06:35:24 ed8968b2872e: Download complete 06:35:24 e73272ec9a57: Verifying Checksum 06:35:24 e73272ec9a57: Download complete 06:35:24 1e910a182e73: Verifying Checksum 06:35:24 1e910a182e73: Download complete 06:35:24 df20fa9351a1: Verifying Checksum 06:35:24 df20fa9351a1: Download complete 06:35:25 df20fa9351a1: Pull complete 06:35:25 ed8968b2872e: Pull complete 06:35:26 a92cc7c5fd73: Pull complete 06:35:26 4e634b169226: Verifying Checksum 06:35:26 4e634b169226: Download complete 06:35:27 e871e8e8d7a9: Verifying Checksum 06:35:27 e871e8e8d7a9: Download complete 06:35:32 e871e8e8d7a9: Pull complete 06:35:32 e73272ec9a57: Pull complete 06:35:32 1e910a182e73: Pull complete 06:35:36 4e634b169226: Pull complete 06:35:36 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:35:36 ---> f7629b54cfaa 06:35:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:37 ---> Running in 1db2eccba6a6 06:35:37 Removing intermediate container 1db2eccba6a6 06:35:37 ---> f975ac2c61a3 06:35:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:37 ---> Running in 062ced85a4b4 06:35:39 Removing intermediate container 062ced85a4b4 06:35:39 ---> 13018749d942 06:35:39 Step 5/8 : RUN apk add --no-cache make git 06:35:39 ---> Running in 0cdc8dd49757 06:35:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:35:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:35:42 OK: 166 MiB in 39 packages 06:35:42 Removing intermediate container 0cdc8dd49757 06:35:42 ---> 3ff52a7f740d 06:35:42 Step 6/8 : WORKDIR /device-sdk-go 06:35:42 ---> Running in 714230fbc08f 06:35:42 Removing intermediate container 714230fbc08f 06:35:42 ---> 9dd765ffe178 06:35:42 Step 7/8 : COPY . . 06:35:43 ---> da67c109f453 06:35:43 Step 8/8 : RUN go mod download 06:35:43 ---> Running in f215964f2d51 06:35:56 Removing intermediate container f215964f2d51 06:35:56 ---> 619b4ae6e924 06:35:56 Successfully built 619b4ae6e924 06:35:56 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:35:56 + docker inspect -f . ci-base-image-x86_64 06:35:56 . [Pipeline] withDockerContainer 06:35:56 prd-centos7-docker-4c-2g-43260 does not seem to be running inside a container 06:35:57 $ 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:35:58 $ docker top 557a01870200e3d4f6865e40162b04c6be76d55a63e387a47c67b12701fce0b7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:35:58 + go version 06:35:58 go version go1.15.2 linux/amd64 [Pipeline] sh 06:35:59 + make test 06:35:59 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:35:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:36:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:36:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:36:10 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:36:10 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 21.0% of statements 06:36:10 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.067s coverage: 95.7% of statements 06:36:42 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.012s coverage: 8.6% of statements 06:36:42 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 06:36:42 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:36:42 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.025s coverage: 37.0% of statements 06:36:42 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:36:42 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.025s coverage: 65.4% of statements 06:36:42 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:36:42 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:36:42 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:36:42 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.106s coverage: 52.6% of statements 06:36:42 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.063s coverage: 68.9% of statements 06:36:42 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:36:42 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:36:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:36:42 gofmt -l . 06:36:42 [ "`gofmt -l .`" = "" ] 06:36:42 ./bin/test-attribution-txt.sh 06:36:42 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:36:43 Stashed 1 file(s) [Pipeline] } 06:36:43 $ docker stop --time=1 557a01870200e3d4f6865e40162b04c6be76d55a63e387a47c67b12701fce0b7 06:36:44 $ docker rm -f 557a01870200e3d4f6865e40162b04c6be76d55a63e387a47c67b12701fce0b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:36:48 + ls -al . 06:36:48 total 188 06:36:48 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 06:36 . 06:36:48 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 06:35 .. 06:36:48 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 06:35 bin 06:36:48 -rw-r--r--. 1 jenkins jenkins 111650 Sep 15 06:36 coverage.out 06:36:48 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 06:35 Dockerfile.build 06:36:48 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 06:35 .dockerignore 06:36:48 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 06:35 example 06:36:48 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 06:35 .git 06:36:48 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 06:35 .github 06:36:48 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 06:35 .gitignore 06:36:48 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 06:36 go.mod 06:36:48 -rw-r--r--. 1 jenkins jenkins 12264 Sep 15 06:36 go.sum 06:36:48 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 06:35 internal 06:36:48 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 06:35 Jenkinsfile 06:36:48 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 06:35 LICENSE 06:36:48 -rw-rw-r--. 1 jenkins jenkins 892 Sep 15 06:35 Makefile 06:36:48 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 06:35 openapi 06:36:48 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 06:35 pkg 06:36:48 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 06:35 README.md 06:36:48 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 06:35 RELEASE-NOTES.txt 06:36:48 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 06:35 .semver 06:36:48 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 06:35 snap 06:36:48 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 06:33 VERSION 06:36:48 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 06:35 version.go [Pipeline] isUnix [Pipeline] sh 06:36:48 + 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=3dd64f9fa75ea99c23536790964834e4e2db85e8 --label arch=amd64 --label version=0.0.0 . 06:36:48 Sending build context to Docker daemon 3.266MB 06:36:48 Step 1/24 : ARG BASE=golang:1.15-alpine 06:36:48 Step 2/24 : FROM ${BASE} AS builder 06:36:48 ---> 619b4ae6e924 06:36:48 Step 3/24 : ARG MAKE='make build' 06:36:49 ---> Running in 886e734d7280 06:36:49 Removing intermediate container 886e734d7280 06:36:49 ---> 74bba4df90a7 06:36:49 Step 4/24 : WORKDIR /device-sdk-go 06:36:49 ---> Running in ab8c5583beb9 06:36:49 Removing intermediate container ab8c5583beb9 06:36:49 ---> ddd5d76501ee 06:36:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:36:49 ---> Running in 2f5a7fad75cc 06:36:49 Removing intermediate container 2f5a7fad75cc 06:36:49 ---> 950ce4ed9a76 06:36:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:49 ---> Running in 14bbb6d4944e 06:36:50 Removing intermediate container 14bbb6d4944e 06:36:50 ---> 2dccb2311394 06:36:50 Step 7/24 : RUN apk add --update --no-cache make git 06:36:50 ---> Running in c3e91f03f72b 06:36:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:36:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:36:53 OK: 166 MiB in 39 packages 06:36:53 Removing intermediate container c3e91f03f72b 06:36:53 ---> 2a4eabcc6bf7 06:36:53 Step 8/24 : COPY . . 06:36:54 ---> ee411b4d1de1 06:36:54 Step 9/24 : RUN ${MAKE} 06:36:54 ---> Running in 42d76645905f 06:36:55 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:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:37:04 Removing intermediate container 42d76645905f 06:37:04 ---> b0f5a8038755 06:37:04 Step 10/24 : FROM scratch 06:37:04 ---> 06:37:04 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:37:04 ---> Running in d3dc93cc2744 06:37:04 Removing intermediate container d3dc93cc2744 06:37:04 ---> 798f9bd6ae9f 06:37:04 Step 12/24 : ENV APP_PORT=49990 06:37:04 ---> Running in 1b72ff8175e7 06:37:05 Removing intermediate container 1b72ff8175e7 06:37:05 ---> 211ec29ffff4 06:37:05 Step 13/24 : EXPOSE $APP_PORT 06:37:05 ---> Running in 4eb47147c93b 06:37:05 Removing intermediate container 4eb47147c93b 06:37:05 ---> 48df38beea9e 06:37:05 Step 14/24 : WORKDIR / 06:37:05 ---> Running in f5691e28202d 06:37:05 Removing intermediate container f5691e28202d 06:37:05 ---> fa870b337c9a 06:37:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:37:06 ---> 3c445f94fcdb 06:37:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:37:06 ---> 1ac966751fe2 06:37:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:37:06 ---> 9f686c2ea863 06:37:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:37:06 ---> ed8a72062f37 06:37:06 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:37:06 ---> 1d9ee8c0122f 06:37:06 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:37:07 ---> Running in 2817b7066662 06:37:07 Removing intermediate container 2817b7066662 06:37:07 ---> b1b96911726c 06:37:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:37:07 ---> Running in 104ed373628f 06:37:07 Removing intermediate container 104ed373628f 06:37:07 ---> da512e96981e 06:37:07 Step 22/24 : LABEL arch=amd64 06:37:07 ---> Running in ba4ddddb56f1 06:37:07 Removing intermediate container ba4ddddb56f1 06:37:07 ---> be6521bc54c5 06:37:07 Step 23/24 : LABEL git_sha=3dd64f9fa75ea99c23536790964834e4e2db85e8 06:37:07 ---> Running in 7374a5491acd 06:37:08 Removing intermediate container 7374a5491acd 06:37:08 ---> a8ddb6d14dd4 06:37:08 Step 24/24 : LABEL version=0.0.0 06:37:08 ---> Running in 6e7249d2dbec 06:37:08 Removing intermediate container 6e7249d2dbec 06:37:08 ---> 5ccf19f6aad0 06:37:08 [Warning] One or more build-args [ARCH] were not consumed 06:37:08 Successfully built 5ccf19f6aad0 06:37:08 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:37:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43263 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 06:37:22 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:37:28 using credential edgex-jenkins-ssh 06:37:28 Cloning the remote Git repository 06:37:28 Cloning with configured refspecs honoured and without tags 06:37:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:37:28 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:37:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:37:28 > git --version # timeout=10 06:37:28 > git --version # 'git version 2.17.1' 06:37:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:37:29 Fetching without tags 06:37:30 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 3dd64f9fa75ea99c23536790964834e4e2db85e8 06:37:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:37:29 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 06:37:29 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:37:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:37:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:37:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:37:30 > git config core.sparsecheckout # timeout=10 06:37:30 > git checkout -f 3dd64f9fa75ea99c23536790964834e4e2db85e8 # timeout=10 06:37:30 > git remote # timeout=10 06:37:30 Merge succeeded, producing 3dd64f9fa75ea99c23536790964834e4e2db85e8 06:37:30 Checking out Revision 3dd64f9fa75ea99c23536790964834e4e2db85e8 (PR-584) 06:37:30 > git config --get remote.origin.url # timeout=10 06:37:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:30 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 06:37:30 > git rev-parse HEAD^{commit} # timeout=10 06:37:30 > git config core.sparsecheckout # timeout=10 06:37:30 > git checkout -f 3dd64f9fa75ea99c23536790964834e4e2db85e8 # timeout=10 06:37:35 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:37:36 ========================================================= 06:37:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:37:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:37:37 + 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:37:38 Sending build context to Docker daemon 3.151MB 06:37:38 Step 1/8 : ARG BASE=golang:1.15-alpine 06:37:38 Step 2/8 : FROM ${BASE} 06:37:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:37:39 b538f80385f9: Pulling fs layer 06:37:39 74f711af9a0d: Pulling fs layer 06:37:39 99f96fe45779: Pulling fs layer 06:37:39 8529a6b9a6be: Pulling fs layer 06:37:39 45590311c82a: Pulling fs layer 06:37:39 69ca0ff8b7b3: Pulling fs layer 06:37:39 209524e5b208: Pulling fs layer 06:37:39 8529a6b9a6be: Waiting 06:37:39 45590311c82a: Waiting 06:37:39 69ca0ff8b7b3: Waiting 06:37:39 209524e5b208: Waiting 06:37:39 99f96fe45779: Verifying Checksum 06:37:39 99f96fe45779: Download complete 06:37:39 74f711af9a0d: Verifying Checksum 06:37:39 74f711af9a0d: Download complete 06:37:39 45590311c82a: Verifying Checksum 06:37:39 45590311c82a: Download complete 06:37:39 69ca0ff8b7b3: Verifying Checksum 06:37:39 69ca0ff8b7b3: Download complete 06:37:39 b538f80385f9: Verifying Checksum 06:37:39 b538f80385f9: Download complete 06:37:40 b538f80385f9: Pull complete 06:37:40 74f711af9a0d: Pull complete 06:37:41 99f96fe45779: Pull complete 06:37:41 209524e5b208: Verifying Checksum 06:37:41 209524e5b208: Download complete 06:37:43 8529a6b9a6be: Verifying Checksum 06:37:43 8529a6b9a6be: Download complete 06:37:53 8529a6b9a6be: Pull complete 06:37:53 45590311c82a: Pull complete 06:37:53 69ca0ff8b7b3: Pull complete 06:37:57 209524e5b208: Pull complete 06:37:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:37:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:37:57 ---> 5bddaf1c2fca 06:37:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:38:00 ---> Running in 7965b08f22cc 06:38:00 Removing intermediate container 7965b08f22cc 06:38:00 ---> af6e501f6fb6 06:38:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:01 ---> Running in e35ee8b89c22 06:38:03 Removing intermediate container e35ee8b89c22 06:38:03 ---> 5596f04efb9f 06:38:03 Step 5/8 : RUN apk add --no-cache make git 06:38:04 ---> Running in 47156c463120 06:38:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:38:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:38:07 OK: 142 MiB in 39 packages 06:38:09 Removing intermediate container 47156c463120 06:38:09 ---> e0d3313c0277 06:38:09 Step 6/8 : WORKDIR /device-sdk-go 06:38:09 ---> Running in 3947cc6f7c46 06:38:09 Removing intermediate container 3947cc6f7c46 06:38:09 ---> f06cea87e614 06:38:09 Step 7/8 : COPY . . 06:38:10 ---> 827b0a5a16e5 06:38:10 Step 8/8 : RUN go mod download 06:38:11 ---> Running in 234261018f41 06:38:26 Removing intermediate container 234261018f41 06:38:26 ---> 631755103333 06:38:26 Successfully built 631755103333 06:38:26 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:38:27 + docker inspect -f . ci-base-image-arm64 06:38:27 . [Pipeline] withDockerContainer 06:38:27 prd-ubuntu18.04-docker-arm64-4c-16g-43263 does not seem to be running inside a container 06:38:27 $ 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:38:29 $ docker top 40677f3fedda36d87d1814eda963816b84c7218e8ad28ea76d5ecac02c605d78 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:30 + go version 06:38:30 go version go1.15.2 linux/arm64 [Pipeline] sh 06:38:31 + make test 06:38:31 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:38:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:39:05 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:39:05 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:39:05 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 21.0% of statements 06:39:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.157s coverage: 95.7% of statements 06:39:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.028s coverage: 8.6% of statements 06:39:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 21.7% of statements 06:39:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:39:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.077s coverage: 37.0% of statements 06:39:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:39:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.122s coverage: 65.4% of statements 06:39:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:39:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:39:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:39:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements 06:39:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.264s coverage: 68.9% of statements 06:39:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:39:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:39:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:39:43 gofmt -l . 06:39:43 [ "`gofmt -l .`" = "" ] 06:39:44 ./bin/test-attribution-txt.sh 06:39:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:39:45 Warning: overwriting stash ‘coverage-report’ 06:39:46 Stashed 1 file(s) [Pipeline] } 06:39:46 $ docker stop --time=1 40677f3fedda36d87d1814eda963816b84c7218e8ad28ea76d5ecac02c605d78 06:39:48 $ docker rm -f 40677f3fedda36d87d1814eda963816b84c7218e8ad28ea76d5ecac02c605d78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:39:50 + ls -al . 06:39:50 total 228 06:39:50 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 06:39 . 06:39:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 06:37 .. 06:39:50 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 06:37 .dockerignore 06:39:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 06:37 .git 06:39:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 06:37 .github 06:39:50 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 06:37 .gitignore 06:39:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 06:37 .semver 06:39:50 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 06:37 Dockerfile.build 06:39:50 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 06:37 Jenkinsfile 06:39:50 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 06:37 LICENSE 06:39:50 -rw-rw-r-- 1 jenkins jenkins 892 Sep 15 06:37 Makefile 06:39:50 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 06:37 README.md 06:39:50 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 06:37 RELEASE-NOTES.txt 06:39:50 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 06:33 VERSION 06:39:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 06:37 bin 06:39:50 -rw-r--r-- 1 jenkins jenkins 111650 Sep 15 06:39 coverage.out 06:39:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 06:37 example 06:39:50 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 06:39 go.mod 06:39:50 -rw-r--r-- 1 jenkins jenkins 12264 Sep 15 06:39 go.sum 06:39:50 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 06:37 internal 06:39:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 06:37 openapi 06:39:50 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 06:37 pkg 06:39:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 06:37 snap 06:39:50 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 06:37 version.go [Pipeline] isUnix [Pipeline] sh 06:39:50 + 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=3dd64f9fa75ea99c23536790964834e4e2db85e8 --label arch=arm64 --label version=0.0.0 . 06:39:50 Sending build context to Docker daemon 3.265MB 06:39:50 Step 1/24 : ARG BASE=golang:1.15-alpine 06:39:50 Step 2/24 : FROM ${BASE} AS builder 06:39:50 ---> 631755103333 06:39:50 Step 3/24 : ARG MAKE='make build' 06:39:51 ---> Running in 9b007990dd5b 06:39:51 Removing intermediate container 9b007990dd5b 06:39:51 ---> c188a44a2456 06:39:51 Step 4/24 : WORKDIR /device-sdk-go 06:39:51 ---> Running in 350b6851fdc1 06:39:52 Removing intermediate container 350b6851fdc1 06:39:52 ---> f3321623883b 06:39:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:52 ---> Running in d35b693c78a7 06:39:52 Removing intermediate container d35b693c78a7 06:39:52 ---> 6cf81fd352b2 06:39:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:52 ---> Running in 4c7ee7b31bd8 06:39:55 Removing intermediate container 4c7ee7b31bd8 06:39:55 ---> 2c2aafa7e6e1 06:39:55 Step 7/24 : RUN apk add --update --no-cache make git 06:39:55 ---> Running in 8a13c958fdec 06:39:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:39:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:39:59 OK: 142 MiB in 39 packages 06:40:00 Removing intermediate container 8a13c958fdec 06:40:00 ---> 967f8f839e50 06:40:00 Step 8/24 : COPY . . 06:40:01 ---> a8b43be04e60 06:40:01 Step 9/24 : RUN ${MAKE} 06:40:01 ---> Running in eddbe8facb56 06:40:03 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:40:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:40:30 Removing intermediate container eddbe8facb56 06:40:30 ---> 77eca2bec7ad 06:40:30 Step 10/24 : FROM scratch 06:40:30 ---> 06:40:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:30 ---> Running in 0efedb039422 06:40:30 Removing intermediate container 0efedb039422 06:40:30 ---> 0a53268fb18a 06:40:30 Step 12/24 : ENV APP_PORT=49990 06:40:30 ---> Running in 3395dc0ce782 06:40:30 Removing intermediate container 3395dc0ce782 06:40:30 ---> f3130ca25771 06:40:30 Step 13/24 : EXPOSE $APP_PORT 06:40:30 ---> Running in 0dfde751f0ee 06:40:31 Removing intermediate container 0dfde751f0ee 06:40:31 ---> e7be01292287 06:40:31 Step 14/24 : WORKDIR / 06:40:31 ---> Running in e9175006880d 06:40:32 Removing intermediate container e9175006880d 06:40:32 ---> 10ced75045b7 06:40:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:40:33 ---> b4a25641e789 06:40:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:40:34 ---> dddc241dc78b 06:40:34 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:40:34 ---> ff9ea60728ea 06:40:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:40:35 ---> 1cacfa645b2c 06:40:35 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:40:36 ---> fdf2ce06d6cd 06:40:36 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:40:36 ---> Running in cda684f8e481 06:40:36 Removing intermediate container cda684f8e481 06:40:36 ---> dfd55728d8cf 06:40:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:40:36 ---> Running in 046810f799a7 06:40:37 Removing intermediate container 046810f799a7 06:40:37 ---> f9551c32f620 06:40:37 Step 22/24 : LABEL arch=arm64 06:40:37 ---> Running in 0dcba697711d 06:40:38 Removing intermediate container 0dcba697711d 06:40:38 ---> d5add04721df 06:40:38 Step 23/24 : LABEL git_sha=3dd64f9fa75ea99c23536790964834e4e2db85e8 06:40:38 ---> Running in 97cb18b0732a 06:40:38 Removing intermediate container 97cb18b0732a 06:40:38 ---> cd37978a65a9 06:40:38 Step 24/24 : LABEL version=0.0.0 06:40:38 ---> Running in 4fd126938fa2 06:40:39 Removing intermediate container 4fd126938fa2 06:40:39 ---> 10abbbcbf3a2 06:40:39 [Warning] One or more build-args [ARCH] were not consumed 06:40:39 Successfully built 10abbbcbf3a2 06:40:39 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:40:41 provisioning config files... 06:40:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3633721081719777275tmp [Pipeline] { [Pipeline] sh 06:40:41 + curl -s https://codecov.io/bash 06:40:41 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3633721081719777275tmp [Pipeline] } 06:40:42 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:40:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:40:45 ---> package-listing.sh 06:40:45 ++ tr '[:upper:]' '[:lower:]' 06:40:45 ++ facter osfamily 06:40:45 + OS_FAMILY=redhat 06:40:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 06:40:45 + START_PACKAGES=/tmp/packages_start.txt 06:40:45 + END_PACKAGES=/tmp/packages_end.txt 06:40:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:40:45 + PACKAGES=/tmp/packages_start.txt 06:40:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 06:40:45 + PACKAGES=/tmp/packages_end.txt 06:40:45 + case "${OS_FAMILY}" in 06:40:45 + rpm -qa 06:40:45 + sort 06:40:49 + '[' -f /tmp/packages_start.txt ']' 06:40:49 + '[' -f /tmp/packages_end.txt ']' 06:40:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:40:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 06:40:49 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 06:40:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] isUnix [Pipeline] sh 06:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:49 06:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:40:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:50 alpine: Pulling from edgex-lftools-log-publisher 06:40:50 df20fa9351a1: Pulling fs layer 06:40:50 36b3adc4ff6f: Pulling fs layer 06:40:50 8ad3a11d3b57: Pulling fs layer 06:40:50 46f8f816bc3b: Pulling fs layer 06:40:50 0dadc02b9964: Pulling fs layer 06:40:50 ce6a7cf60c04: Pulling fs layer 06:40:50 7a184a31f384: Pulling fs layer 06:40:50 0879bd2ef858: Pulling fs layer 06:40:50 ce6a7cf60c04: Waiting 06:40:50 46f8f816bc3b: Waiting 06:40:50 0dadc02b9964: Waiting 06:40:50 7a184a31f384: Waiting 06:40:50 36b3adc4ff6f: Download complete 06:40:50 46f8f816bc3b: Verifying Checksum 06:40:50 46f8f816bc3b: Download complete 06:40:50 df20fa9351a1: Verifying Checksum 06:40:50 df20fa9351a1: Download complete 06:40:50 ce6a7cf60c04: Verifying Checksum 06:40:50 ce6a7cf60c04: Download complete 06:40:50 7a184a31f384: Verifying Checksum 06:40:50 7a184a31f384: Download complete 06:40:50 0dadc02b9964: Verifying Checksum 06:40:50 0dadc02b9964: Download complete 06:40:50 8ad3a11d3b57: Verifying Checksum 06:40:50 8ad3a11d3b57: Download complete 06:40:50 df20fa9351a1: Pull complete 06:40:50 0879bd2ef858: Verifying Checksum 06:40:50 0879bd2ef858: Download complete 06:40:50 36b3adc4ff6f: Pull complete 06:40:51 8ad3a11d3b57: Pull complete 06:40:51 46f8f816bc3b: Pull complete 06:40:51 0dadc02b9964: Pull complete 06:40:51 ce6a7cf60c04: Pull complete 06:40:51 7a184a31f384: Pull complete 06:40:54 0879bd2ef858: Pull complete 06:40:54 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 06:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:40:54 prd-centos7-docker-4c-2g-43252 does not seem to be running inside a container 06:40:54 $ 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-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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:41:00 $ docker top a9b5790aab41482d2ae7f827600a9426883c4ddb0c91e8a149eda22aef47f63d -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:00 + mkdir -p /var/log/sa [Pipeline] sh 06:41:01 + ls /var/log/sa-host 06:41:01 + sadf -c /var/log/sa-host/sa05 06:41:01 file_magic: OK 06:41:01 HZ: Using current value: 100 06:41:01 file_header: OK 06:41:01 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:41:01 Statistics: 06:41:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:01 File successfully converted to sysstat format version 12.2.1 06:41:01 + sadf -c /var/log/sa-host/sa15 06:41:01 file_magic: OK 06:41:01 HZ: Using current value: 100 06:41:01 file_header: OK 06:41:01 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:41:01 Statistics: 06:41:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:01 provisioning config files... 06:41:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config2457405483804937483tmp [Pipeline] { [Pipeline] echo 06:41:01 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:41:01 ---> create-netrc.sh [Pipeline] echo 06:41:01 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:41:01 ---> logs-deploy.sh 06:41:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/3 06:41:01 INFO: archiving workspace using pattern(s): 06:41:03 Archives upload complete. 06:41:03 INFO: archiving logs to Nexus