Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 99cc20d3fefe63c1958a21752eb6170408da4892+3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (f0343c03404f4c28ca200ce5814ae7645aa19853) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-43227 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 > 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 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 99cc20d3fefe63c1958a21752eb6170408da4892 Merge succeeded, producing 7c4fc9e11bc1963993f34e0359c29400a823dc74 Checking out Revision 7c4fc9e11bc1963993f34e0359c29400a823dc74 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f 99cc20d3fefe63c1958a21752eb6170408da4892 # 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 7c4fc9e11bc1963993f34e0359c29400a823dc74 # timeout=10 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" > git rev-list --no-walk 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:48:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:48:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:48:54 ========================================================= 05:48:54 EdgeX Global Pipelines Version Info 05:48:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:48:56 ------------------- 05:48:56 stable info: 05:48:56 ------------------- 05:48:56 Commited By: Emilio Reyes emilio.reyes@intel.com 05:48:56 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 05:48:56 Message: update stable to v1.0.119 05:48:58 ------------------- 05:48:58 experimental info: 05:48:58 ------------------- 05:48:58 Commited By: **** collab-it+edgex@linuxfoundation.org 05:48:58 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 05:48:58 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:48:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:48:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:49:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:49:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:49:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:49:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:49:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:49:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:49:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:49:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:49:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:49:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 05:49:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 05:49:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 05:49:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c4fc9e11bc1963993f34e0359c29400a823dc74 [Pipeline] echo 05:49:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c4fc9e [Pipeline] echo 05:49:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:49:02 + git log --format=format:%s -1 7c4fc9e11bc1963993f34e0359c29400a823dc74 [Pipeline] echo 05:49:02 GIT_COMMIT: 7c4fc9e11bc1963993f34e0359c29400a823dc74, Commit Message: Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD [Pipeline] echo 05:49:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:49:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:49:04 05:49:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:49:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:49:05 latest: Pulling from edgex-devops/git-semver 05:49:05 31603596830f: Pulling fs layer 05:49:05 2a8b12db71e7: Pulling fs layer 05:49:05 6ca5941a6612: Pulling fs layer 05:49:05 ecc8261a40a4: Pulling fs layer 05:49:05 ecc8261a40a4: Waiting 05:49:05 2a8b12db71e7: Verifying Checksum 05:49:05 2a8b12db71e7: Download complete 05:49:05 31603596830f: Verifying Checksum 05:49:05 31603596830f: Download complete 05:49:05 ecc8261a40a4: Verifying Checksum 05:49:05 ecc8261a40a4: Download complete 05:49:06 31603596830f: Pull complete 05:49:06 6ca5941a6612: Verifying Checksum 05:49:06 6ca5941a6612: Download complete 05:49:06 2a8b12db71e7: Pull complete 05:49:08 6ca5941a6612: Pull complete 05:49:09 ecc8261a40a4: Pull complete 05:49:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:49:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:49:09 prd-centos7-docker-4c-2g-43227 does not seem to be running inside a container 05:49:09 $ 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 05:49:12 $ docker top bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:49:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:12 [ssh-agent] Looking for ssh-agent implementation... 05:49:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:13 $ docker exec bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd ssh-agent 05:49:13 SSH_AUTH_SOCK=/tmp/ssh-A4cVReBbuu1W/agent.11 05:49:13 SSH_AGENT_PID=16 05:49:13 Running ssh-add (command line suppressed) 05:49:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2510714690302910882.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2510714690302910882.key) 05:49:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:15 + git describe --exact-match --tags HEAD 05:49:15 fatal: No names found, cannot describe anything. [Pipeline] } 05:49:15 $ docker exec --env ******** --env ******** bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd ssh-agent -k 05:49:16 unset SSH_AUTH_SOCK; 05:49:16 unset SSH_AGENT_PID; 05:49:16 echo Agent pid 16 killed; 05:49:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:49:16 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:49:16 This usually means this commit has not been tagged. [Pipeline] sshagent 05:49:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:16 [ssh-agent] Looking for ssh-agent implementation... 05:49:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:17 $ docker exec bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd ssh-agent 05:49:17 SSH_AUTH_SOCK=/tmp/ssh-XmneMGhMyDf1/agent.44 05:49:17 SSH_AGENT_PID=50 05:49:17 Running ssh-add (command line suppressed) 05:49:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1469628090358062709.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1469628090358062709.key) 05:49:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:18 + git semver init 05:49:18 # -> Open(): unable to determine branch for HEAD 05:49:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 05:49:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 05:49:18 # $SEMVER_REMOTE_NAME = origin 05:49:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:49:18 # $SEMVER_USER_NAME = edgex-jenkins 05:49:18 # $SEMVER_BRANCH = PR-584 05:49:18 # $SEMVER_TEMP = /tmp/semver-193873589 05:49:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:49:19 # '/tmp/semver-193873589' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 05:49:19 # -> Force: false 05:49:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 05:49:19 $ docker exec --env ******** --env ******** bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd ssh-agent -k 05:49:20 unset SSH_AUTH_SOCK; 05:49:20 unset SSH_AGENT_PID; 05:49:20 echo Agent pid 50 killed; 05:49:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:49:21 + git semver [Pipeline] } 05:49:21 $ docker stop --time=1 bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd 05:49:22 $ docker rm -f bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:49:25 Stashed 33 file(s) [Pipeline] echo 05:49:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:49:25 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:49:40 Still waiting to schedule task 05:49:40 ‘prd-centos7-blackbox-4c-2g-43219’ doesn’t have label ‘centos7-docker-4c-2g’; ‘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-43235’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43221’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43234’ doesn’t have label ‘centos7-docker-4c-2g’ 05:49:40 Still waiting to schedule task 05:49:40 ‘prd-centos7-blackbox-4c-2g-43219’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-213’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-43235’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43221’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43234’ is offline 05:50:06 Running on prd-centos7-docker-4c-2g-43236 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 05:50:06 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:50:10 using credential edgex-jenkins-ssh 05:50:10 Cloning the remote Git repository 05:50:10 Cloning with configured refspecs honoured and without tags 05:50:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:50:10 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:50:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:50:10 > git --version # timeout=10 05:50:10 > git --version # 'git version 2.16.5' 05:50:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:10 > 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 05:50:11 Fetching without tags 05:50:11 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 99cc20d3fefe63c1958a21752eb6170408da4892 05:50:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:50:11 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 05:50:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:50:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:50:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:50:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:11 > 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 05:50:11 > git config core.sparsecheckout # timeout=10 05:50:11 > git checkout -f 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 05:50:11 > git remote # timeout=10 05:50:11 > git config --get remote.origin.url # timeout=10 05:50:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:11 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 05:50:11 > git rev-parse HEAD^{commit} # timeout=10 05:50:11 Merge succeeded, producing 90096692fc0661d8b7765049904abeba183f905e 05:50:11 Checking out Revision 90096692fc0661d8b7765049904abeba183f905e (PR-584) 05:50:11 > git config core.sparsecheckout # timeout=10 05:50:11 > git checkout -f 90096692fc0661d8b7765049904abeba183f905e # timeout=10 05:50:15 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" 05:50:15 > git rev-list --no-walk 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:50:16 ========================================================= 05:50:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:50:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:50:16 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:50:17 Sending build context to Docker daemon 3.146MB 05:50:17 Step 1/8 : ARG BASE=golang:1.15-alpine 05:50:17 Step 2/8 : FROM ${BASE} 05:50:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:50:17 df20fa9351a1: Pulling fs layer 05:50:17 ed8968b2872e: Pulling fs layer 05:50:17 a92cc7c5fd73: Pulling fs layer 05:50:17 e871e8e8d7a9: Pulling fs layer 05:50:17 e73272ec9a57: Pulling fs layer 05:50:17 1e910a182e73: Pulling fs layer 05:50:17 4e634b169226: Pulling fs layer 05:50:17 e73272ec9a57: Waiting 05:50:17 1e910a182e73: Waiting 05:50:17 4e634b169226: Waiting 05:50:17 a92cc7c5fd73: Verifying Checksum 05:50:17 a92cc7c5fd73: Download complete 05:50:17 ed8968b2872e: Download complete 05:50:17 e73272ec9a57: Verifying Checksum 05:50:17 e73272ec9a57: Download complete 05:50:17 1e910a182e73: Download complete 05:50:17 df20fa9351a1: Verifying Checksum 05:50:17 df20fa9351a1: Download complete 05:50:17 df20fa9351a1: Pull complete 05:50:18 ed8968b2872e: Pull complete 05:50:18 a92cc7c5fd73: Pull complete 05:50:18 4e634b169226: Verifying Checksum 05:50:18 4e634b169226: Download complete 05:50:19 e871e8e8d7a9: Verifying Checksum 05:50:19 e871e8e8d7a9: Download complete 05:50:24 e871e8e8d7a9: Pull complete 05:50:24 e73272ec9a57: Pull complete 05:50:25 1e910a182e73: Pull complete 05:50:30 4e634b169226: Pull complete 05:50:30 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:50:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:50:30 ---> f7629b54cfaa 05:50:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:50:30 ---> Running in 618d0ad2534d 05:50:30 Removing intermediate container 618d0ad2534d 05:50:30 ---> 405c5d9e6ebd 05:50:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:30 ---> Running in 7310e78602ec 05:50:31 Removing intermediate container 7310e78602ec 05:50:31 ---> c5a3f2578959 05:50:31 Step 5/8 : RUN apk add --no-cache make git 05:50:31 ---> Running in 026122c4b47f 05:50:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:50:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:50:33 OK: 166 MiB in 39 packages 05:50:34 Removing intermediate container 026122c4b47f 05:50:34 ---> 864f9ab3cb1f 05:50:34 Step 6/8 : WORKDIR /device-sdk-go 05:50:34 ---> Running in b59d1daeccaa 05:50:34 Removing intermediate container b59d1daeccaa 05:50:34 ---> 2fdf0c92efe8 05:50:34 Step 7/8 : COPY . . 05:50:35 ---> 6d6c89041ce0 05:50:35 Step 8/8 : RUN go mod download 05:50:35 ---> Running in 45af3bdb9714 05:50:48 Removing intermediate container 45af3bdb9714 05:50:48 ---> 163238f07d3f 05:50:48 Successfully built 163238f07d3f 05:50:48 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:50:48 + docker inspect -f . ci-base-image-x86_64 05:50:48 . [Pipeline] withDockerContainer 05:50:48 prd-centos7-docker-4c-2g-43236 does not seem to be running inside a container 05:50:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:50:50 $ docker top ed09e572628c2c07e184c8f95b825fb104b3a29e062ac235731c253d6176d5b1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:50 + go version 05:50:50 go version go1.15.2 linux/amd64 [Pipeline] sh 05:50:51 + make test 05:50:51 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:50:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:51:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:51:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:51:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:51:01 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 21.0% of statements 05:51:01 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.055s coverage: 95.7% of statements 05:51:34 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.012s coverage: 8.6% of statements 05:51:34 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 21.7% of statements 05:51:34 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:51:34 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.019s coverage: 37.0% of statements 05:51:34 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:51:34 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.029s coverage: 65.4% of statements 05:51:34 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:51:34 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:51:34 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:51:34 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements 05:51:34 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.061s coverage: 68.9% of statements 05:51:34 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:51:34 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:51:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:51:34 gofmt -l . 05:51:34 [ "`gofmt -l .`" = "" ] 05:51:34 ./bin/test-attribution-txt.sh 05:51:34 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:51:35 Stashed 1 file(s) [Pipeline] } 05:51:35 $ docker stop --time=1 ed09e572628c2c07e184c8f95b825fb104b3a29e062ac235731c253d6176d5b1 05:51:36 $ docker rm -f ed09e572628c2c07e184c8f95b825fb104b3a29e062ac235731c253d6176d5b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:38 + ls -al . 05:51:38 total 188 05:51:38 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 05:51 . 05:51:38 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 05:50 .. 05:51:38 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 05:50 bin 05:51:38 -rw-r--r--. 1 jenkins jenkins 111650 Sep 15 05:51 coverage.out 05:51:38 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 05:50 Dockerfile.build 05:51:38 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 05:50 .dockerignore 05:51:38 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 05:50 example 05:51:38 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 05:50 .git 05:51:38 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 05:50 .github 05:51:38 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 05:50 .gitignore 05:51:38 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 05:51 go.mod 05:51:38 -rw-r--r--. 1 jenkins jenkins 12264 Sep 15 05:51 go.sum 05:51:38 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 05:50 internal 05:51:38 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 05:50 Jenkinsfile 05:51:38 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 05:50 LICENSE 05:51:38 -rw-rw-r--. 1 jenkins jenkins 892 Sep 15 05:50 Makefile 05:51:38 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 05:50 openapi 05:51:38 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 05:50 pkg 05:51:38 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 05:50 README.md 05:51:38 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 05:50 RELEASE-NOTES.txt 05:51:38 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 05:50 .semver 05:51:38 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 05:50 snap 05:51:38 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 05:49 VERSION 05:51:38 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 05:50 version.go [Pipeline] isUnix [Pipeline] sh 05:51:38 + 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=7c4fc9e11bc1963993f34e0359c29400a823dc74 --label arch=amd64 --label version=0.0.0 . 05:51:39 Sending build context to Docker daemon 3.26MB 05:51:39 Step 1/24 : ARG BASE=golang:1.15-alpine 05:51:39 Step 2/24 : FROM ${BASE} AS builder 05:51:39 ---> 163238f07d3f 05:51:39 Step 3/24 : ARG MAKE='make build' 05:51:39 ---> Running in ef0562676496 05:51:39 Removing intermediate container ef0562676496 05:51:39 ---> 70d24cb6ab4e 05:51:39 Step 4/24 : WORKDIR /device-sdk-go 05:51:39 ---> Running in 69d35f160b80 05:51:39 Removing intermediate container 69d35f160b80 05:51:39 ---> 7a1e1f29830f 05:51:39 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:39 ---> Running in 4ee4be9b4a69 05:51:40 Removing intermediate container 4ee4be9b4a69 05:51:40 ---> 103a5d9db953 05:51:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:40 ---> Running in 61d99963dbfc 05:51:40 Removing intermediate container 61d99963dbfc 05:51:40 ---> 426b61958dc8 05:51:40 Step 7/24 : RUN apk add --update --no-cache make git 05:51:41 ---> Running in 3c1669018bda 05:51:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:42 OK: 166 MiB in 39 packages 05:51:43 Removing intermediate container 3c1669018bda 05:51:43 ---> b634a1dde14f 05:51:43 Step 8/24 : COPY . . 05:51:44 ---> 42425b4f147f 05:51:44 Step 9/24 : RUN ${MAKE} 05:51:44 ---> Running in 43eb8bbf12f4 05:51:44 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:51:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:51:53 Removing intermediate container 43eb8bbf12f4 05:51:53 ---> 6a6e3795b383 05:51:53 Step 10/24 : FROM scratch 05:51:53 ---> 05:51:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:53 ---> Running in 5e406ab2c852 05:51:53 Removing intermediate container 5e406ab2c852 05:51:53 ---> 8fe215ad8273 05:51:53 Step 12/24 : ENV APP_PORT=49990 05:51:53 ---> Running in ca51f87fbf8b 05:51:54 Removing intermediate container ca51f87fbf8b 05:51:54 ---> 7cfc46b7a154 05:51:54 Step 13/24 : EXPOSE $APP_PORT 05:51:54 ---> Running in 7bd67c8bf919 05:51:54 Removing intermediate container 7bd67c8bf919 05:51:54 ---> b413e9164b23 05:51:54 Step 14/24 : WORKDIR / 05:51:54 ---> Running in 4b993bd284d4 05:51:55 Removing intermediate container 4b993bd284d4 05:51:55 ---> 5bb91b933416 05:51:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:51:55 ---> 0e69c996ef02 05:51:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:51:55 ---> 7efae65ccc4a 05:51:55 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:51:55 ---> 38c9885c92e8 05:51:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:51:56 ---> f349c25bb157 05:51:56 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:51:56 ---> be0ea7f37235 05:51:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:51:56 ---> Running in aef999814567 05:51:56 Removing intermediate container aef999814567 05:51:56 ---> 1ed537b4842a 05:51:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:51:56 ---> Running in bcf2d92655c6 05:51:56 Removing intermediate container bcf2d92655c6 05:51:56 ---> 4be4ded50d41 05:51:56 Step 22/24 : LABEL arch=amd64 05:51:56 ---> Running in eb932f6317c7 05:51:57 Removing intermediate container eb932f6317c7 05:51:57 ---> 07eeb329a0c4 05:51:57 Step 23/24 : LABEL git_sha=7c4fc9e11bc1963993f34e0359c29400a823dc74 05:51:57 ---> Running in 128d4b05ece4 05:51:57 Removing intermediate container 128d4b05ece4 05:51:57 ---> 92796932685c 05:51:57 Step 24/24 : LABEL version=0.0.0 05:51:57 ---> Running in 4c304f93ebdf 05:51:57 Removing intermediate container 4c304f93ebdf 05:51:57 ---> aa6ab25048f7 05:51:57 [Warning] One or more build-args [ARCH] were not consumed 05:51:57 Successfully built aa6ab25048f7 05:51:57 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] } 05:52:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43240 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 05:52:24 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:52:30 using credential edgex-jenkins-ssh 05:52:30 Cloning the remote Git repository 05:52:30 Cloning with configured refspecs honoured and without tags 05:52:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:52:30 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:52:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:30 > git --version # timeout=10 05:52:30 > git --version # 'git version 2.17.1' 05:52:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:30 > 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 05:52:31 Fetching without tags 05:52:32 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 99cc20d3fefe63c1958a21752eb6170408da4892 05:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:31 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 05:52:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:31 > 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 05:52:32 > git config core.sparsecheckout # timeout=10 05:52:32 > git checkout -f 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 05:52:32 Merge succeeded, producing 8e70c14953444cb6e7dbce836b18085ead958059 05:52:32 Checking out Revision 8e70c14953444cb6e7dbce836b18085ead958059 (PR-584) 05:52:32 > git remote # timeout=10 05:52:32 > git config --get remote.origin.url # timeout=10 05:52:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:32 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 05:52:32 > git rev-parse HEAD^{commit} # timeout=10 05:52:32 > git config core.sparsecheckout # timeout=10 05:52:32 > git checkout -f 8e70c14953444cb6e7dbce836b18085ead958059 # timeout=10 05:52:37 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" 05:52:37 > git rev-list --no-walk 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:52:38 ========================================================= 05:52:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:52:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:52:40 + 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:52:41 Sending build context to Docker daemon 3.144MB 05:52:41 Step 1/8 : ARG BASE=golang:1.15-alpine 05:52:41 Step 2/8 : FROM ${BASE} 05:52:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:52:42 b538f80385f9: Pulling fs layer 05:52:42 74f711af9a0d: Pulling fs layer 05:52:42 99f96fe45779: Pulling fs layer 05:52:42 8529a6b9a6be: Pulling fs layer 05:52:42 45590311c82a: Pulling fs layer 05:52:42 69ca0ff8b7b3: Pulling fs layer 05:52:42 209524e5b208: Pulling fs layer 05:52:42 8529a6b9a6be: Waiting 05:52:42 45590311c82a: Waiting 05:52:42 69ca0ff8b7b3: Waiting 05:52:42 209524e5b208: Waiting 05:52:42 99f96fe45779: Verifying Checksum 05:52:42 99f96fe45779: Download complete 05:52:42 74f711af9a0d: Download complete 05:52:42 45590311c82a: Verifying Checksum 05:52:42 45590311c82a: Download complete 05:52:42 69ca0ff8b7b3: Verifying Checksum 05:52:42 69ca0ff8b7b3: Download complete 05:52:42 b538f80385f9: Verifying Checksum 05:52:42 b538f80385f9: Download complete 05:52:43 b538f80385f9: Pull complete 05:52:44 74f711af9a0d: Pull complete 05:52:44 99f96fe45779: Pull complete 05:52:45 209524e5b208: Verifying Checksum 05:52:45 209524e5b208: Download complete 05:52:46 8529a6b9a6be: Verifying Checksum 05:52:46 8529a6b9a6be: Download complete 05:52:56 8529a6b9a6be: Pull complete 05:52:56 45590311c82a: Pull complete 05:52:57 69ca0ff8b7b3: Pull complete 05:53:00 209524e5b208: Pull complete 05:53:00 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:53:00 ---> 5bddaf1c2fca 05:53:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:04 ---> Running in 16a8d7d705f4 05:53:04 Removing intermediate container 16a8d7d705f4 05:53:04 ---> 4fbf54d0dcc3 05:53:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:04 ---> Running in 09a4c6f297b0 05:53:06 Removing intermediate container 09a4c6f297b0 05:53:06 ---> 1658e389ddbf 05:53:06 Step 5/8 : RUN apk add --no-cache make git 05:53:07 ---> Running in 190f15ae0620 05:53:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:53:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:53:10 OK: 142 MiB in 39 packages 05:53:11 Removing intermediate container 190f15ae0620 05:53:11 ---> c98b8aa0953e 05:53:11 Step 6/8 : WORKDIR /device-sdk-go 05:53:11 ---> Running in 0bfba62a6ecb 05:53:11 Removing intermediate container 0bfba62a6ecb 05:53:11 ---> e56b664e0213 05:53:11 Step 7/8 : COPY . . 05:53:13 ---> 21f40572521e 05:53:13 Step 8/8 : RUN go mod download 05:53:13 ---> Running in 0473f8821558 05:53:28 Removing intermediate container 0473f8821558 05:53:28 ---> 30b4a11ccda8 05:53:28 Successfully built 30b4a11ccda8 05:53:28 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:53:29 + docker inspect -f . ci-base-image-arm64 05:53:29 . [Pipeline] withDockerContainer 05:53:29 prd-ubuntu18.04-docker-arm64-4c-16g-43240 does not seem to be running inside a container 05:53:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:53:31 $ docker top adda447fdf88a572a19d9572b9f15a36054be048e180d1972f7f469b17cff3ae -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:32 + go version 05:53:32 go version go1.15.2 linux/arm64 [Pipeline] sh 05:53:33 + make test 05:53:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:53:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:54:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:54:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:54:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:54:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 21.0% of statements 05:54:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.148s coverage: 95.7% of statements 05:54:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 8.6% of statements 05:54:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 21.7% of statements 05:54:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:54:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.075s coverage: 37.0% of statements 05:54:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:54:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.142s coverage: 65.4% of statements 05:54:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:54:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:54:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:54:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 05:54:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.262s coverage: 68.9% of statements 05:54:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:54:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:54:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:54:42 gofmt -l . 05:54:42 [ "`gofmt -l .`" = "" ] 05:54:42 ./bin/test-attribution-txt.sh 05:54:43 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:54:44 Warning: overwriting stash ‘coverage-report’ 05:54:44 Stashed 1 file(s) [Pipeline] } 05:54:44 $ docker stop --time=1 adda447fdf88a572a19d9572b9f15a36054be048e180d1972f7f469b17cff3ae 05:54:46 $ docker rm -f adda447fdf88a572a19d9572b9f15a36054be048e180d1972f7f469b17cff3ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:48 + ls -al . 05:54:48 total 228 05:54:48 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 05:54 . 05:54:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:52 .. 05:54:48 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 05:52 .dockerignore 05:54:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 05:52 .git 05:54:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:52 .github 05:54:48 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 05:52 .gitignore 05:54:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 05:52 .semver 05:54:48 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 05:52 Dockerfile.build 05:54:48 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 05:52 Jenkinsfile 05:54:48 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 05:52 LICENSE 05:54:48 -rw-rw-r-- 1 jenkins jenkins 892 Sep 15 05:52 Makefile 05:54:48 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 05:52 README.md 05:54:48 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 05:52 RELEASE-NOTES.txt 05:54:48 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 05:49 VERSION 05:54:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:52 bin 05:54:48 -rw-r--r-- 1 jenkins jenkins 111650 Sep 15 05:54 coverage.out 05:54:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:52 example 05:54:48 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 05:54 go.mod 05:54:48 -rw-r--r-- 1 jenkins jenkins 12264 Sep 15 05:54 go.sum 05:54:48 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 05:52 internal 05:54:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:52 openapi 05:54:48 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 05:52 pkg 05:54:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:52 snap 05:54:48 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 05:52 version.go [Pipeline] isUnix [Pipeline] sh 05:54:49 + 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=7c4fc9e11bc1963993f34e0359c29400a823dc74 --label arch=arm64 --label version=0.0.0 . 05:54:49 Sending build context to Docker daemon 3.258MB 05:54:49 Step 1/24 : ARG BASE=golang:1.15-alpine 05:54:49 Step 2/24 : FROM ${BASE} AS builder 05:54:49 ---> 30b4a11ccda8 05:54:49 Step 3/24 : ARG MAKE='make build' 05:54:50 ---> Running in ee3053048233 05:54:50 Removing intermediate container ee3053048233 05:54:50 ---> 3f2066e0b57f 05:54:50 Step 4/24 : WORKDIR /device-sdk-go 05:54:50 ---> Running in 676b62274e5d 05:54:50 Removing intermediate container 676b62274e5d 05:54:50 ---> 19b989d2c663 05:54:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:51 ---> Running in 46b0c8999d8b 05:54:51 Removing intermediate container 46b0c8999d8b 05:54:51 ---> 1c786f5576b0 05:54:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:51 ---> Running in 6d023ea43d10 05:54:54 Removing intermediate container 6d023ea43d10 05:54:54 ---> 0e6b83de826d 05:54:54 Step 7/24 : RUN apk add --update --no-cache make git 05:54:54 ---> Running in 6005dc4d6340 05:54:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:54:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:54:57 OK: 142 MiB in 39 packages 05:54:58 Removing intermediate container 6005dc4d6340 05:54:58 ---> ddb85c6b44ee 05:54:58 Step 8/24 : COPY . . 05:54:59 ---> 9c50385ffac4 05:54:59 Step 9/24 : RUN ${MAKE} 05:54:59 ---> Running in 8f4f29b22c9f 05:55:01 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:55:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:55:25 Removing intermediate container 8f4f29b22c9f 05:55:25 ---> 288997ed1120 05:55:25 Step 10/24 : FROM scratch 05:55:25 ---> 05:55:25 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:25 ---> Running in 85b09b2fd8e4 05:55:25 Removing intermediate container 85b09b2fd8e4 05:55:25 ---> d7e0364058e5 05:55:25 Step 12/24 : ENV APP_PORT=49990 05:55:26 ---> Running in 009ab68b192c 05:55:26 Removing intermediate container 009ab68b192c 05:55:26 ---> 682eb7c61c23 05:55:26 Step 13/24 : EXPOSE $APP_PORT 05:55:26 ---> Running in 3aabc69077f6 05:55:27 Removing intermediate container 3aabc69077f6 05:55:27 ---> 6a4fe4eca584 05:55:27 Step 14/24 : WORKDIR / 05:55:27 ---> Running in aa3670f30f9b 05:55:27 Removing intermediate container aa3670f30f9b 05:55:27 ---> f1826aefdad4 05:55:27 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:55:28 ---> e04aa1617cf2 05:55:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:55:29 ---> 7fae579742ba 05:55:29 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:55:30 ---> a5eb8b253a38 05:55:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:55:30 ---> eb0a51c51fbf 05:55:30 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:55:31 ---> a191d04018fc 05:55:31 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:55:31 ---> Running in e330884154ba 05:55:32 Removing intermediate container e330884154ba 05:55:32 ---> 9b95e01611f2 05:55:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:55:32 ---> Running in bd02d65499b5 05:55:32 Removing intermediate container bd02d65499b5 05:55:32 ---> df06252a41d0 05:55:32 Step 22/24 : LABEL arch=arm64 05:55:32 ---> Running in 64e50117742c 05:55:33 Removing intermediate container 64e50117742c 05:55:33 ---> b1eaa8779602 05:55:33 Step 23/24 : LABEL git_sha=7c4fc9e11bc1963993f34e0359c29400a823dc74 05:55:33 ---> Running in 1cec322d30c5 05:55:33 Removing intermediate container 1cec322d30c5 05:55:33 ---> f4d5fc0b9185 05:55:33 Step 24/24 : LABEL version=0.0.0 05:55:33 ---> Running in eefb19b0d7b5 05:55:34 Removing intermediate container eefb19b0d7b5 05:55:34 ---> 1515baf82b3c 05:55:34 [Warning] One or more build-args [ARCH] were not consumed 05:55:34 Successfully built 1515baf82b3c 05:55:34 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 05:55:36 provisioning config files... 05:55:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config6965319895679120563tmp [Pipeline] { [Pipeline] sh 05:55:37 + curl -s https://codecov.io/bash 05:55:37 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config6965319895679120563tmp [Pipeline] } 05:55:37 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 05:55:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:55:40 ---> package-listing.sh 05:55:40 ++ tr '[:upper:]' '[:lower:]' 05:55:40 ++ facter osfamily 05:55:40 + OS_FAMILY=redhat 05:55:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 05:55:40 + START_PACKAGES=/tmp/packages_start.txt 05:55:40 + END_PACKAGES=/tmp/packages_end.txt 05:55:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:55:40 + PACKAGES=/tmp/packages_start.txt 05:55:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 05:55:40 + PACKAGES=/tmp/packages_end.txt 05:55:40 + case "${OS_FAMILY}" in 05:55:40 + rpm -qa 05:55:40 + sort 05:55:46 + '[' -f /tmp/packages_start.txt ']' 05:55:46 + '[' -f /tmp/packages_end.txt ']' 05:55:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:55:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 05:55:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 05:55:46 + 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 05:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:47 05:55:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:55:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:48 alpine: Pulling from edgex-lftools-log-publisher 05:55:48 df20fa9351a1: Pulling fs layer 05:55:48 36b3adc4ff6f: Pulling fs layer 05:55:48 8ad3a11d3b57: Pulling fs layer 05:55:48 46f8f816bc3b: Pulling fs layer 05:55:48 0dadc02b9964: Pulling fs layer 05:55:48 ce6a7cf60c04: Pulling fs layer 05:55:48 7a184a31f384: Pulling fs layer 05:55:48 0879bd2ef858: Pulling fs layer 05:55:48 0dadc02b9964: Waiting 05:55:48 ce6a7cf60c04: Waiting 05:55:48 0879bd2ef858: Waiting 05:55:48 7a184a31f384: Waiting 05:55:48 36b3adc4ff6f: Download complete 05:55:48 46f8f816bc3b: Verifying Checksum 05:55:48 46f8f816bc3b: Download complete 05:55:49 df20fa9351a1: Verifying Checksum 05:55:49 df20fa9351a1: Download complete 05:55:49 0dadc02b9964: Verifying Checksum 05:55:49 0dadc02b9964: Download complete 05:55:49 ce6a7cf60c04: Download complete 05:55:49 7a184a31f384: Verifying Checksum 05:55:49 7a184a31f384: Download complete 05:55:49 8ad3a11d3b57: Verifying Checksum 05:55:49 8ad3a11d3b57: Download complete 05:55:49 df20fa9351a1: Pull complete 05:55:50 36b3adc4ff6f: Pull complete 05:55:51 8ad3a11d3b57: Pull complete 05:55:51 46f8f816bc3b: Pull complete 05:55:52 0879bd2ef858: Verifying Checksum 05:55:52 0879bd2ef858: Download complete 05:55:52 0dadc02b9964: Pull complete 05:55:52 ce6a7cf60c04: Pull complete 05:55:52 7a184a31f384: Pull complete 05:55:57 0879bd2ef858: Pull complete 05:55:57 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 05:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:55:57 prd-centos7-docker-4c-2g-43227 does not seem to be running inside a container 05:55:57 $ 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 05:56:03 $ docker top af2cfde552d24fca6d26d3cbb3fd132a1518a5ea55743a0b4f711af0618e841a -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:03 + mkdir -p /var/log/sa [Pipeline] sh 05:56:04 + ls /var/log/sa-host 05:56:04 + sadf -c /var/log/sa-host/sa05 05:56:04 file_magic: OK 05:56:04 HZ: Using current value: 100 05:56:04 file_header: OK 05:56:04 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 05:56:04 Statistics: 05:56:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:56:04 File successfully converted to sysstat format version 12.2.1 05:56:04 + sadf -c /var/log/sa-host/sa15 05:56:04 file_magic: OK 05:56:04 HZ: Using current value: 100 05:56:04 file_header: OK 05:56:04 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 05:56:04 Statistics: 05:56:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:56:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:04 provisioning config files... 05:56:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3928514612892765166tmp [Pipeline] { [Pipeline] echo 05:56:04 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:56:04 ---> create-netrc.sh [Pipeline] echo 05:56:04 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:56:04 ---> logs-deploy.sh 05:56:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/2 05:56:04 INFO: archiving workspace using pattern(s): 05:56:07 Archives upload complete. 05:56:07 INFO: archiving logs to Nexus 05:56:09 ---> uname -a: 05:56:09 Linux af2cfde552d2 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 05:56:09 05:56:09 05:56:09 ---> lscpu: 05:56:09 Architecture: x86_64 05:56:09 CPU op-mode(s): 32-bit, 64-bit 05:56:09 Byte Order: Little Endian 05:56:09 Address sizes: 40 bits physical, 48 bits virtual 05:56:09 CPU(s): 4 05:56:09 On-line CPU(s) list: 0-3 05:56:09 Thread(s) per core: 1 05:56:09 Core(s) per socket: 1 05:56:09 Socket(s): 4 05:56:09 NUMA node(s): 1 05:56:09 Vendor ID: GenuineIntel 05:56:09 CPU family: 6 05:56:09 Model: 44 05:56:09 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:56:09 Stepping: 1 05:56:09 CPU MHz: 2933.438 05:56:09 BogoMIPS: 5866.87 05:56:09 Virtualization: VT-x 05:56:09 Hypervisor vendor: KVM 05:56:09 Virtualization type: full 05:56:09 L1d cache: 128 KiB 05:56:09 L1i cache: 128 KiB 05:56:09 L2 cache: 16 MiB 05:56:09 L3 cache: 64 MiB 05:56:09 NUMA node0 CPU(s): 0-3 05:56:09 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 05:56:09 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 05:56:09 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 05:56:09 Vulnerability Meltdown: Mitigation; PTI 05:56:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:56:09 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:56:09 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:56:09 Vulnerability Tsx async abort: Not affected 05:56:09 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 05:56:09 05:56:09 05:56:09 ---> nproc: 05:56:09 4 05:56:09 05:56:09 05:56:09 ---> df -h: 05:56:09 Filesystem Size Used Available Use% Mounted on 05:56:09 overlay 50.0G 7.0G 43.0G 14% / 05:56:09 tmpfs 64.0M 0 64.0M 0% /dev 05:56:09 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 05:56:09 shm 64.0M 0 64.0M 0% /dev/shm 05:56:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 05:56:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 05:56:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 05:56:09 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp 05:56:09 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 05:56:09 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-584 05:56:09 05:56:09 05:56:09 ---> free -m: 05:56:09 total used free shared buff/cache available 05:56:09 Mem: 1837 616 117 0 1103 1114 05:56:09 Swap: 1023 1 1022 05:56:09 05:56:09 05:56:09 ---> ip addr: 05:56:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:56:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:56:09 inet 127.0.0.1/8 scope host lo 05:56:09 valid_lft forever preferred_lft forever 05:56:09 6: eth0@if7: mtu 1458 qdisc noqueue state UP 05:56:09 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 05:56:09 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 05:56:09 valid_lft forever preferred_lft forever 05:56:09 05:56:09 05:56:09 ---> sar -b -r -n DEV: 05:56:09 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) 05:56:09 05:56:09 05:47:09 LINUX RESTART (4 CPU) 05:56:09 05:56:09 05:48:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:56:09 05:49:01 142.24 71.49 70.75 0.00 5612.55 38731.95 0.00 05:56:09 05:50:01 25.86 9.15 16.71 0.00 4201.83 2009.88 0.00 05:56:09 05:51:01 1.27 0.00 1.27 0.00 0.00 15.68 0.00 05:56:09 05:52:01 0.28 0.00 0.28 0.00 0.00 3.61 0.00 05:56:09 05:53:02 0.22 0.00 0.22 0.00 0.00 3.03 0.00 05:56:09 05:54:01 0.39 0.00 0.39 0.00 0.00 4.92 0.00 05:56:09 05:55:01 0.35 0.02 0.33 0.00 0.13 4.48 0.00 05:56:09 05:56:01 82.86 49.61 33.25 0.00 5519.59 5952.60 0.00 05:56:09 Average: 31.57 16.23 15.34 0.00 1915.61 5797.95 0.00 05:56:09 05:56:09 05:48:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:56:09 05:49:01 79688 0 498928 26.52 2620 1300320 1098144 37.48 358924 1282952 5504 05:56:09 05:50:01 166084 0 539356 28.67 2620 1173496 1164916 39.76 391120 1161704 16 05:56:09 05:51:01 177464 0 527968 28.06 2620 1173504 1081800 36.92 385432 1157748 12 05:56:09 05:52:01 173952 0 531480 28.25 2620 1173504 1081964 36.93 389992 1157096 8 05:56:09 05:53:02 175092 0 530332 28.19 2620 1173512 1079940 36.86 394112 1152372 8 05:56:09 05:54:01 176380 0 529040 28.12 2620 1173516 1066572 36.40 393444 1151916 8 05:56:09 05:55:01 176852 0 528560 28.09 2620 1173524 1058352 36.12 392704 1151760 8 05:56:09 05:56:01 101752 0 616520 32.77 2620 1160664 1287824 43.95 431392 1141104 0 05:56:09 Average: 153408 0 537773 28.58 2620 1187755 1114939 38.05 392140 1169582 696 05:56:09 05:56:09 05:48:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:56:09 05:49:01 eth0 177.01 129.77 720.79 56.94 0.00 0.00 0.00 0.00 05:56:09 05:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:50:01 eth0 75.97 62.65 356.40 50.47 0.00 0.00 0.00 0.00 05:56:09 05:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:50:01 docker0 7.14 6.19 0.99 18.04 0.00 0.00 0.00 0.00 05:56:09 05:51:01 eth0 1.91 0.33 0.40 0.20 0.00 0.00 0.00 0.00 05:56:09 05:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:52:01 eth0 2.60 0.73 0.91 0.58 0.00 0.00 0.00 0.00 05:56:09 05:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:53:02 eth0 1.03 0.58 0.69 0.36 0.00 0.00 0.00 0.00 05:56:09 05:53:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:53:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:54:01 eth0 0.36 0.19 0.15 0.10 0.00 0.00 0.00 0.00 05:56:09 05:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:55:01 eth0 0.42 0.08 0.04 0.01 0.00 0.00 0.00 0.00 05:56:09 05:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:56:01 eth0 101.41 83.47 745.33 33.41 0.00 0.00 0.00 0.00 05:56:09 05:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 05:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 Average: eth0 44.98 34.65 227.82 17.74 0.00 0.00 0.00 0.00 05:56:09 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:09 Average: docker0 0.90 0.78 0.12 2.27 0.00 0.00 0.00 0.00 05:56:09 05:56:09 05:56:09 ---> sar -P ALL: 05:56:09 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) 05:56:09 05:56:09 05:47:09 LINUX RESTART (4 CPU) 05:56:09 05:56:09 05:48:02 CPU %user %nice %system %iowait %steal %idle 05:56:09 05:49:01 all 12.94 0.00 7.89 5.78 29.48 43.91 05:56:09 05:49:01 0 12.31 0.00 6.65 3.79 30.89 46.35 05:56:09 05:49:01 1 12.88 0.00 7.33 7.77 28.74 43.28 05:56:09 05:49:01 2 11.91 0.00 6.18 5.79 29.39 46.72 05:56:09 05:49:01 3 14.75 0.00 11.62 5.83 28.85 38.95 05:56:09 05:50:01 all 2.49 0.00 1.64 0.82 11.81 83.23 05:56:09 05:50:01 0 2.37 0.00 1.28 1.15 12.75 82.45 05:56:09 05:50:01 1 3.08 0.00 2.07 0.97 11.88 82.00 05:56:09 05:50:01 2 1.85 0.00 1.45 0.78 11.01 84.91 05:56:09 05:50:01 3 2.68 0.00 1.76 0.37 11.60 83.60 05:56:09 05:51:01 all 0.07 0.00 0.12 0.00 1.56 98.25 05:56:09 05:51:01 0 0.16 0.00 0.13 0.00 2.16 97.54 05:56:09 05:51:01 1 0.03 0.00 0.12 0.00 1.61 98.24 05:56:09 05:51:01 2 0.00 0.00 0.15 0.00 1.17 98.68 05:56:09 05:51:01 3 0.07 0.00 0.10 0.00 1.27 98.56 05:56:09 05:52:01 all 0.09 0.00 0.04 0.00 1.06 98.82 05:56:09 05:52:01 0 0.26 0.00 0.05 0.00 0.88 98.81 05:56:09 05:52:01 1 0.02 0.00 0.03 0.00 1.40 98.55 05:56:09 05:52:01 2 0.03 0.00 0.03 0.00 1.51 98.42 05:56:09 05:52:01 3 0.03 0.00 0.03 0.00 0.43 99.50 05:56:09 05:53:02 all 0.13 0.00 0.03 0.00 0.11 99.72 05:56:09 05:53:02 0 0.30 0.00 0.03 0.00 0.10 99.57 05:56:09 05:53:02 1 0.03 0.00 0.00 0.00 0.15 99.82 05:56:09 05:53:02 2 0.03 0.00 0.05 0.00 0.15 99.77 05:56:09 05:53:02 3 0.17 0.00 0.05 0.00 0.05 99.73 05:56:09 05:54:01 all 0.08 0.00 0.03 0.00 0.42 99.46 05:56:09 05:54:01 0 0.00 0.00 0.03 0.00 0.27 99.70 05:56:09 05:54:01 1 0.02 0.00 0.02 0.00 0.62 99.34 05:56:09 05:54:01 2 0.03 0.00 0.03 0.00 0.34 99.59 05:56:09 05:54:01 3 0.29 0.00 0.05 0.00 0.46 99.21 05:56:09 05:55:01 all 0.08 0.00 0.02 0.00 0.26 99.64 05:56:09 05:55:01 0 0.02 0.00 0.02 0.00 0.15 99.82 05:56:09 05:55:01 1 0.03 0.00 0.03 0.00 0.37 99.57 05:56:09 05:55:01 2 0.03 0.00 0.02 0.00 0.08 99.87 05:56:09 05:55:01 3 0.23 0.00 0.02 0.00 0.45 99.30 05:56:09 05:56:01 all 2.57 0.00 1.60 1.37 6.25 88.21 05:56:09 05:56:01 0 2.11 0.00 2.04 0.10 6.70 89.05 05:56:09 05:56:01 1 3.10 0.00 1.32 2.09 6.46 87.03 05:56:09 05:56:01 2 2.38 0.00 1.67 3.11 6.02 86.82 05:56:09 05:56:01 3 2.70 0.00 1.36 0.18 5.81 89.95 05:56:09 Average: all 2.39 0.00 1.47 1.03 6.58 88.52 05:56:09 Average: 0 2.30 0.00 1.33 0.67 7.04 88.67 05:56:09 Average: 1 2.48 0.00 1.41 1.40 6.61 88.09 05:56:09 Average: 2 2.14 0.00 1.25 1.26 6.49 88.87 05:56:09 Average: 3 2.64 0.00 1.89 0.81 6.19 88.47 05:56:09 05:56:09 05:56:09