Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8+3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (0fb99d407d03c7a495f0ef1544d8c017ff732048) 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-43226 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 Merge succeeded, producing accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da Checking out Revision accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da (PR-582) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # 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 accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da # timeout=10 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" > git rev-list --no-walk 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:47:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:47:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:47:11 ========================================================= 05:47:11 EdgeX Global Pipelines Version Info 05:47:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:47:12 ------------------- 05:47:12 stable info: 05:47:12 ------------------- 05:47:12 Commited By: Emilio Reyes emilio.reyes@intel.com 05:47:12 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 05:47:12 Message: update stable to v1.0.119 05:47:13 ------------------- 05:47:13 experimental info: 05:47:13 ------------------- 05:47:13 Commited By: **** collab-it+edgex@linuxfoundation.org 05:47:13 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 05:47:13 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:47:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:47:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:47:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:47:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:47:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:47:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:47:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:47:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:47:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = accf9f0 [Pipeline] echo 05:47:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:17 + git log --format=format:%s -1 accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da [Pipeline] echo 05:47:17 GIT_COMMIT: accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da, Commit Message: Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD [Pipeline] echo 05:47:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:18 05:47:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:47:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:18 latest: Pulling from edgex-devops/git-semver 05:47:18 31603596830f: Pulling fs layer 05:47:18 2a8b12db71e7: Pulling fs layer 05:47:18 6ca5941a6612: Pulling fs layer 05:47:18 ecc8261a40a4: Pulling fs layer 05:47:18 ecc8261a40a4: Waiting 05:47:18 2a8b12db71e7: Verifying Checksum 05:47:18 2a8b12db71e7: Download complete 05:47:19 31603596830f: Verifying Checksum 05:47:19 31603596830f: Download complete 05:47:19 ecc8261a40a4: Verifying Checksum 05:47:19 ecc8261a40a4: Download complete 05:47:19 6ca5941a6612: Verifying Checksum 05:47:19 6ca5941a6612: Download complete 05:47:19 31603596830f: Pull complete 05:47:19 2a8b12db71e7: Pull complete 05:47:20 6ca5941a6612: Pull complete 05:47:20 ecc8261a40a4: Pull complete 05:47:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:47:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:47:20 prd-centos7-docker-4c-2g-43226 does not seem to be running inside a container 05:47:21 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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:47:23 $ docker top 41544de903083a0ac523d9a94058274320da7957318e419f3b0b2548ec0e6fbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:23 [ssh-agent] Looking for ssh-agent implementation... 05:47:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:23 $ docker exec 41544de903083a0ac523d9a94058274320da7957318e419f3b0b2548ec0e6fbf ssh-agent 05:47:23 SSH_AUTH_SOCK=/tmp/ssh-G3333jqcLmBu/agent.12 05:47:23 SSH_AGENT_PID=17 05:47:23 Running ssh-add (command line suppressed) 05:47:24 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_2035734398261615175.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_2035734398261615175.key) 05:47:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:24 + git describe --exact-match --tags HEAD 05:47:24 fatal: No names found, cannot describe anything. [Pipeline] } 05:47:24 $ docker exec --env ******** --env ******** 41544de903083a0ac523d9a94058274320da7957318e419f3b0b2548ec0e6fbf ssh-agent -k 05:47:24 unset SSH_AUTH_SOCK; 05:47:24 unset SSH_AGENT_PID; 05:47:24 echo Agent pid 17 killed; 05:47:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:47:24 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:47:24 This usually means this commit has not been tagged. [Pipeline] sshagent 05:47:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:24 [ssh-agent] Looking for ssh-agent implementation... 05:47:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:25 $ docker exec 41544de903083a0ac523d9a94058274320da7957318e419f3b0b2548ec0e6fbf ssh-agent 05:47:25 SSH_AUTH_SOCK=/tmp/ssh-SDNmWvba9UDp/agent.45 05:47:25 SSH_AGENT_PID=50 05:47:25 Running ssh-add (command line suppressed) 05:47:25 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1067452402290551715.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1067452402290551715.key) 05:47:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:25 + git semver init 05:47:25 # -> Open(): unable to determine branch for HEAD 05:47:25 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 05:47:25 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 05:47:25 # $SEMVER_REMOTE_NAME = origin 05:47:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:47:25 # $SEMVER_USER_NAME = edgex-jenkins 05:47:25 # $SEMVER_BRANCH = PR-582 05:47:25 # $SEMVER_TEMP = /tmp/semver-118713324 05:47:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:47:26 # '/tmp/semver-118713324' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 05:47:26 # -> Force: false 05:47:26 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 05:47:26 $ docker exec --env ******** --env ******** 41544de903083a0ac523d9a94058274320da7957318e419f3b0b2548ec0e6fbf ssh-agent -k 05:47:26 unset SSH_AUTH_SOCK; 05:47:26 unset SSH_AGENT_PID; 05:47:26 echo Agent pid 50 killed; 05:47:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:27 + git semver [Pipeline] } 05:47:27 $ docker stop --time=1 41544de903083a0ac523d9a94058274320da7957318e419f3b0b2548ec0e6fbf 05:47:28 $ docker rm -f 41544de903083a0ac523d9a94058274320da7957318e419f3b0b2548ec0e6fbf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:47:29 Stashed 33 file(s) [Pipeline] echo 05:47:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:47:29 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:47:44 Still waiting to schedule task 05:47:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:47:44 Still waiting to schedule task 05:47:44 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-43221’ 05:49:22 Running on prd-centos7-docker-4c-2g-43233 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 05:49:22 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:49:26 using credential edgex-jenkins-ssh 05:49:26 Cloning the remote Git repository 05:49:26 Cloning with configured refspecs honoured and without tags 05:49:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:49:26 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:49:27 Fetching without tags 05:49:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:26 > git --version # timeout=10 05:49:26 > git --version # 'git version 2.16.5' 05:49:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:49:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:27 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 05:49:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:49:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:49:27 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 05:49:27 Merge succeeded, producing 4aa886a7e68e26951f359b12133988f16c07a2e9 05:49:27 Checking out Revision 4aa886a7e68e26951f359b12133988f16c07a2e9 (PR-582) 05:49:27 > git config core.sparsecheckout # timeout=10 05:49:27 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 05:49:27 > git remote # timeout=10 05:49:27 > git config --get remote.origin.url # timeout=10 05:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:27 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 05:49:27 > git rev-parse HEAD^{commit} # timeout=10 05:49:27 > git config core.sparsecheckout # timeout=10 05:49:27 > git checkout -f 4aa886a7e68e26951f359b12133988f16c07a2e9 # timeout=10 05:49:31 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" 05:49:31 > git rev-list --no-walk 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:49:32 ========================================================= 05:49:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:49:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:49:33 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:49:33 Sending build context to Docker daemon 3.146MB 05:49:33 Step 1/8 : ARG BASE=golang:1.15-alpine 05:49:33 Step 2/8 : FROM ${BASE} 05:49:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:49:33 df20fa9351a1: Pulling fs layer 05:49:33 ed8968b2872e: Pulling fs layer 05:49:33 a92cc7c5fd73: Pulling fs layer 05:49:33 e871e8e8d7a9: Pulling fs layer 05:49:33 e73272ec9a57: Pulling fs layer 05:49:33 1e910a182e73: Pulling fs layer 05:49:33 4e634b169226: Pulling fs layer 05:49:33 e73272ec9a57: Waiting 05:49:33 1e910a182e73: Waiting 05:49:33 4e634b169226: Waiting 05:49:33 e871e8e8d7a9: Waiting 05:49:33 a92cc7c5fd73: Verifying Checksum 05:49:33 a92cc7c5fd73: Download complete 05:49:33 ed8968b2872e: Download complete 05:49:33 e73272ec9a57: Verifying Checksum 05:49:33 e73272ec9a57: Download complete 05:49:33 1e910a182e73: Verifying Checksum 05:49:33 1e910a182e73: Download complete 05:49:34 df20fa9351a1: Verifying Checksum 05:49:34 df20fa9351a1: Download complete 05:49:34 df20fa9351a1: Pull complete 05:49:34 ed8968b2872e: Pull complete 05:49:34 a92cc7c5fd73: Pull complete 05:49:37 4e634b169226: Verifying Checksum 05:49:37 4e634b169226: Download complete 05:49:39 e871e8e8d7a9: Verifying Checksum 05:49:39 e871e8e8d7a9: Download complete 05:49:44 e871e8e8d7a9: Pull complete 05:49:44 e73272ec9a57: Pull complete 05:49:44 1e910a182e73: Pull complete 05:49:54 4e634b169226: Pull complete 05:49:54 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:49:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:49:54 ---> f7629b54cfaa 05:49:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:49:55 ---> Running in 780ffa071e35 05:49:55 Removing intermediate container 780ffa071e35 05:49:55 ---> 8dceb862d5ea 05:49:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:55 ---> Running in 46321c6e33d8 05:49:56 Removing intermediate container 46321c6e33d8 05:49:56 ---> a13b8d099caa 05:49:56 Step 5/8 : RUN apk add --no-cache make git 05:49:56 ---> Running in 133cb9d89985 05:49:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:49:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:49:58 OK: 166 MiB in 39 packages 05:49:59 Removing intermediate container 133cb9d89985 05:49:59 ---> 331f25f75abe 05:49:59 Step 6/8 : WORKDIR /device-sdk-go 05:49:59 ---> Running in 56732306333d 05:49:59 Removing intermediate container 56732306333d 05:49:59 ---> c0617e4b13ba 05:49:59 Step 7/8 : COPY . . 05:50:00 ---> 0dcfaf532987 05:50:00 Step 8/8 : RUN go mod download 05:50:00 ---> Running in aa51a5cf9756 05:50:12 Removing intermediate container aa51a5cf9756 05:50:12 ---> d2275f5a9575 05:50:12 Successfully built d2275f5a9575 05:50:12 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:13 + docker inspect -f . ci-base-image-x86_64 05:50:13 . [Pipeline] withDockerContainer 05:50:13 prd-centos7-docker-4c-2g-43233 does not seem to be running inside a container 05:50:13 $ 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:15 $ docker top 6b5dce0504f4e266a47b1776514ea22d364c182e51af6028e987859027d33c2b -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:15 + go version 05:50:15 go version go1.15.2 linux/amd64 [Pipeline] sh 05:50:15 + make test 05:50:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:50:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:50:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:50:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:50:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:50:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 21.0% of statements 05:50:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.052s coverage: 95.7% of statements 05:50:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.015s coverage: 8.6% of statements 05:50:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 21.7% of statements 05:50:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:50:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.023s coverage: 37.0% of statements 05:50:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:50:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.029s coverage: 65.4% of statements 05:50:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:50:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:50:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:50:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.062s coverage: 52.6% of statements 05:50:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.062s coverage: 68.9% of statements 05:50:58 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:50:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:50:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:50:59 gofmt -l . 05:50:59 [ "`gofmt -l .`" = "" ] 05:50:59 ./bin/test-attribution-txt.sh 05:50:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:51:00 Stashed 1 file(s) [Pipeline] } 05:51:00 $ docker stop --time=1 6b5dce0504f4e266a47b1776514ea22d364c182e51af6028e987859027d33c2b 05:51:01 $ docker rm -f 6b5dce0504f4e266a47b1776514ea22d364c182e51af6028e987859027d33c2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:03 + ls -al . 05:51:03 total 188 05:51:03 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 05:50 . 05:51:03 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 05:49 .. 05:51:03 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 05:49 bin 05:51:03 -rw-r--r--. 1 jenkins jenkins 111650 Sep 15 05:50 coverage.out 05:51:03 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 05:49 Dockerfile.build 05:51:03 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 05:49 .dockerignore 05:51:03 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 05:49 example 05:51:03 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 05:49 .git 05:51:03 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 05:49 .github 05:51:03 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 05:49 .gitignore 05:51:03 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 05:50 go.mod 05:51:03 -rw-r--r--. 1 jenkins jenkins 12258 Sep 15 05:50 go.sum 05:51:03 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 05:49 internal 05:51:03 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 05:49 Jenkinsfile 05:51:03 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 05:49 LICENSE 05:51:03 -rw-rw-r--. 1 jenkins jenkins 892 Sep 15 05:49 Makefile 05:51:03 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 05:49 openapi 05:51:03 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 05:49 pkg 05:51:03 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 05:49 README.md 05:51:03 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 05:49 RELEASE-NOTES.txt 05:51:03 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 05:49 .semver 05:51:03 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 05:49 snap 05:51:03 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 05:47 VERSION 05:51:03 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 05:49 version.go [Pipeline] isUnix [Pipeline] sh 05:51:03 + 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=accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da --label arch=amd64 --label version=0.0.0 . 05:51:04 Sending build context to Docker daemon 3.26MB 05:51:04 Step 1/24 : ARG BASE=golang:1.15-alpine 05:51:04 Step 2/24 : FROM ${BASE} AS builder 05:51:04 ---> d2275f5a9575 05:51:04 Step 3/24 : ARG MAKE='make build' 05:51:04 ---> Running in de6a425c168d 05:51:04 Removing intermediate container de6a425c168d 05:51:04 ---> a9b0b7996718 05:51:04 Step 4/24 : WORKDIR /device-sdk-go 05:51:04 ---> Running in 5e6c8c80ca49 05:51:04 Removing intermediate container 5e6c8c80ca49 05:51:04 ---> 291da210cde3 05:51:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:04 ---> Running in 35816ea3dc11 05:51:05 Removing intermediate container 35816ea3dc11 05:51:05 ---> 38e91af21122 05:51:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:05 ---> Running in 199ef54d45ea 05:51:06 Removing intermediate container 199ef54d45ea 05:51:06 ---> 535f4d30f406 05:51:06 Step 7/24 : RUN apk add --update --no-cache make git 05:51:06 ---> Running in 0ca5fb743480 05:51:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:07 OK: 166 MiB in 39 packages 05:51:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43238 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 05:51:07 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:51:08 Removing intermediate container 0ca5fb743480 05:51:08 ---> afd67b4f4ad1 05:51:08 Step 8/24 : COPY . . 05:51:09 ---> b081a8bccf53 05:51:09 Step 9/24 : RUN ${MAKE} 05:51:09 ---> Running in 57804b40b807 05:51:09 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:13 using credential edgex-jenkins-ssh 05:51:13 Cloning the remote Git repository 05:51:13 Cloning with configured refspecs honoured and without tags 05:51:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:51:13 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:51:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:51:13 > git --version # timeout=10 05:51:13 > git --version # 'git version 2.17.1' 05:51:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:13 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:51:14 Fetching without tags 05:51:15 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 05:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:51:14 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 05:51:14 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:51:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:51:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:51:15 > git config core.sparsecheckout # timeout=10 05:51:15 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 05:51:15 > git remote # timeout=10 05:51:15 Merge succeeded, producing 06d15feb9df523b22b0ca3256ae85c25fa11638e 05:51:15 Checking out Revision 06d15feb9df523b22b0ca3256ae85c25fa11638e (PR-582) 05:51:15 > git config --get remote.origin.url # timeout=10 05:51:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:15 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 05:51:15 > git rev-parse HEAD^{commit} # timeout=10 05:51:15 > git config core.sparsecheckout # timeout=10 05:51:15 > git checkout -f 06d15feb9df523b22b0ca3256ae85c25fa11638e # timeout=10 05:51:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:51:18 Removing intermediate container 57804b40b807 05:51:18 ---> 790a1e541297 05:51:18 Step 10/24 : FROM scratch 05:51:18 ---> 05:51:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:18 ---> Running in 912090eee7f2 05:51:19 Removing intermediate container 912090eee7f2 05:51:19 ---> 9957eb740e9e 05:51:19 Step 12/24 : ENV APP_PORT=49990 05:51:19 ---> Running in b96aac013bc2 05:51:19 Removing intermediate container b96aac013bc2 05:51:19 ---> db7af2fc9e26 05:51:19 Step 13/24 : EXPOSE $APP_PORT 05:51:19 ---> Running in 99df862bbf06 05:51:19 Removing intermediate container 99df862bbf06 05:51:19 ---> 4496b27d8716 05:51:19 Step 14/24 : WORKDIR / 05:51:19 ---> Running in 50f7dcacdefa 05:51:19 Removing intermediate container 50f7dcacdefa 05:51:19 ---> 337086771eb6 05:51:19 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:51:20 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" 05:51:20 > git rev-list --no-walk 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 05:51:20 ---> 008503f5b208 05:51:20 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:51:20 ---> 6133115704a4 05:51:20 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 05:51:20 ---> 8107eb3b80f3 05:51:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 05:51:21 ---> 0a94aa11739e 05:51:21 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:51:21 ---> c6aebe59b699 05:51:21 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:51:21 ---> Running in fbbac0527b67 05:51:21 Removing intermediate container fbbac0527b67 05:51:21 ---> 2618c59c6f12 05:51:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:51:21 ---> Running in 6b3ec9843582 05:51:21 Removing intermediate container 6b3ec9843582 05:51:21 ---> f767a273f4fa 05:51:21 Step 22/24 : LABEL arch=amd64 05:51:21 ---> Running in 53222fcb353e [Pipeline] echo 05:51:21 ========================================================= 05:51:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:51:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:51:21 Removing intermediate container 53222fcb353e 05:51:21 ---> e6568a14431d 05:51:21 Step 23/24 : LABEL git_sha=accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da 05:51:21 ---> Running in c5e8f65c3cd5 05:51:22 Removing intermediate container c5e8f65c3cd5 05:51:22 ---> 2343bb941261 05:51:22 Step 24/24 : LABEL version=0.0.0 05:51:22 ---> Running in d79cf4f1885d 05:51:22 Removing intermediate container d79cf4f1885d 05:51:22 ---> 14d3cb06aa2b 05:51:22 [Warning] One or more build-args [ARCH] were not consumed 05:51:22 Successfully built 14d3cb06aa2b 05:51:22 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } 05:51:22 + 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 . [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] } 05:51:23 Sending build context to Docker daemon 3.146MB 05:51:23 Step 1/8 : ARG BASE=golang:1.15-alpine 05:51:23 Step 2/8 : FROM ${BASE} [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:51:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:51:24 b538f80385f9: Pulling fs layer 05:51:24 74f711af9a0d: Pulling fs layer 05:51:24 99f96fe45779: Pulling fs layer 05:51:24 8529a6b9a6be: Pulling fs layer 05:51:24 45590311c82a: Pulling fs layer 05:51:24 69ca0ff8b7b3: Pulling fs layer 05:51:24 209524e5b208: Pulling fs layer 05:51:24 8529a6b9a6be: Waiting 05:51:24 45590311c82a: Waiting 05:51:24 69ca0ff8b7b3: Waiting 05:51:24 209524e5b208: Waiting 05:51:24 99f96fe45779: Verifying Checksum 05:51:24 99f96fe45779: Download complete 05:51:24 74f711af9a0d: Verifying Checksum 05:51:24 74f711af9a0d: Download complete 05:51:24 45590311c82a: Download complete 05:51:24 69ca0ff8b7b3: Verifying Checksum 05:51:24 69ca0ff8b7b3: Download complete 05:51:24 b538f80385f9: Download complete 05:51:25 b538f80385f9: Pull complete 05:51:26 74f711af9a0d: Pull complete 05:51:26 99f96fe45779: Pull complete 05:51:27 209524e5b208: Verifying Checksum 05:51:27 209524e5b208: Download complete 05:51:29 8529a6b9a6be: Verifying Checksum 05:51:29 8529a6b9a6be: Download complete 05:51:39 8529a6b9a6be: Pull complete 05:51:39 45590311c82a: Pull complete 05:51:39 69ca0ff8b7b3: Pull complete 05:51:42 209524e5b208: Pull complete 05:51:43 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:51:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:51:43 ---> 5bddaf1c2fca 05:51:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:45 ---> Running in db8788a9a68a 05:51:46 Removing intermediate container db8788a9a68a 05:51:46 ---> 625cd620b50f 05:51:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:46 ---> Running in 5b71bdb782e3 05:51:49 Removing intermediate container 5b71bdb782e3 05:51:49 ---> 671041201d02 05:51:49 Step 5/8 : RUN apk add --no-cache make git 05:51:49 ---> Running in ed123bc87c86 05:51:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:51:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:51:52 OK: 142 MiB in 39 packages 05:51:53 Removing intermediate container ed123bc87c86 05:51:53 ---> 1b85866c0886 05:51:53 Step 6/8 : WORKDIR /device-sdk-go 05:51:53 ---> Running in 644f5a720d8a 05:51:54 Removing intermediate container 644f5a720d8a 05:51:54 ---> 7bc771bcb5c6 05:51:54 Step 7/8 : COPY . . 05:51:55 ---> d6c06c758681 05:51:55 Step 8/8 : RUN go mod download 05:51:55 ---> Running in 3ca07a09861b 05:52:10 Removing intermediate container 3ca07a09861b 05:52:10 ---> d97a2ac19ccf 05:52:10 Successfully built d97a2ac19ccf 05:52:10 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:52:11 + docker inspect -f . ci-base-image-arm64 05:52:11 . [Pipeline] withDockerContainer 05:52:11 prd-ubuntu18.04-docker-arm64-4c-16g-43238 does not seem to be running inside a container 05:52:12 $ 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-arm64 cat 05:52:13 $ docker top 41da5c93582a7ef9f8448f7791b1265caf4662d52ec6c0d98d28fc76041a7b88 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:15 + go version 05:52:15 go version go1.15.2 linux/arm64 [Pipeline] sh 05:52:16 + make test 05:52:16 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:52:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:52:50 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:52:50 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:52:50 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:52:50 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 21.0% of statements 05:52:54 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.140s coverage: 95.7% of statements 05:53:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.036s coverage: 8.6% of statements 05:53:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 21.7% of statements 05:53:27 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:53:27 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.063s coverage: 37.0% of statements 05:53:27 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:53:27 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.137s coverage: 65.4% of statements 05:53:27 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:53:27 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:53:27 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:53:27 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.058s coverage: 52.6% of statements 05:53:27 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.279s coverage: 68.9% of statements 05:53:27 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:53:27 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:53:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:53:31 gofmt -l . 05:53:31 [ "`gofmt -l .`" = "" ] 05:53:31 ./bin/test-attribution-txt.sh 05:53:32 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:53:32 Warning: overwriting stash ‘coverage-report’ 05:53:33 Stashed 1 file(s) [Pipeline] } 05:53:33 $ docker stop --time=1 41da5c93582a7ef9f8448f7791b1265caf4662d52ec6c0d98d28fc76041a7b88 05:53:35 $ docker rm -f 41da5c93582a7ef9f8448f7791b1265caf4662d52ec6c0d98d28fc76041a7b88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:53:37 + ls -al . 05:53:37 total 228 05:53:37 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 05:53 . 05:53:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:51 .. 05:53:37 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 05:51 .dockerignore 05:53:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 05:51 .git 05:53:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:51 .github 05:53:37 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 05:51 .gitignore 05:53:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 05:51 .semver 05:53:37 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 05:51 Dockerfile.build 05:53:37 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 05:51 Jenkinsfile 05:53:37 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 05:51 LICENSE 05:53:37 -rw-rw-r-- 1 jenkins jenkins 892 Sep 15 05:51 Makefile 05:53:37 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 05:51 README.md 05:53:37 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 05:51 RELEASE-NOTES.txt 05:53:37 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 05:47 VERSION 05:53:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:51 bin 05:53:37 -rw-r--r-- 1 jenkins jenkins 111650 Sep 15 05:53 coverage.out 05:53:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:51 example 05:53:37 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 05:53 go.mod 05:53:37 -rw-r--r-- 1 jenkins jenkins 12258 Sep 15 05:53 go.sum 05:53:37 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 05:51 internal 05:53:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:51 openapi 05:53:37 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 05:51 pkg 05:53:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:51 snap 05:53:37 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 05:51 version.go [Pipeline] isUnix [Pipeline] sh 05:53:37 + 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=accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da --label arch=arm64 --label version=0.0.0 . 05:53:38 Sending build context to Docker daemon 3.26MB 05:53:38 Step 1/24 : ARG BASE=golang:1.15-alpine 05:53:38 Step 2/24 : FROM ${BASE} AS builder 05:53:38 ---> d97a2ac19ccf 05:53:38 Step 3/24 : ARG MAKE='make build' 05:53:38 ---> Running in 52e0f33d6a48 05:53:38 Removing intermediate container 52e0f33d6a48 05:53:38 ---> 6ec9e5c6176a 05:53:38 Step 4/24 : WORKDIR /device-sdk-go 05:53:39 ---> Running in 24429e543959 05:53:39 Removing intermediate container 24429e543959 05:53:39 ---> 6d9d07ebc78f 05:53:39 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:39 ---> Running in e036a4b134b0 05:53:40 Removing intermediate container e036a4b134b0 05:53:40 ---> fc3f71a90f14 05:53:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:40 ---> Running in aa4bb7595d61 05:53:42 Removing intermediate container aa4bb7595d61 05:53:42 ---> 266fea4ade5c 05:53:42 Step 7/24 : RUN apk add --update --no-cache make git 05:53:42 ---> Running in e7d91a8addbf 05:53:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:53:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:53:45 OK: 142 MiB in 39 packages 05:53:46 Removing intermediate container e7d91a8addbf 05:53:46 ---> d1666c494dc6 05:53:46 Step 8/24 : COPY . . 05:53:48 ---> 5735c7675685 05:53:48 Step 9/24 : RUN ${MAKE} 05:53:48 ---> Running in 6f2cf00fa52b 05:53:49 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:54:11 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:54:14 Removing intermediate container 6f2cf00fa52b 05:54:14 ---> 67f07dcefcbf 05:54:14 Step 10/24 : FROM scratch 05:54:14 ---> 05:54:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:14 ---> Running in c1d591f21380 05:54:14 Removing intermediate container c1d591f21380 05:54:14 ---> 4a8e83abf472 05:54:14 Step 12/24 : ENV APP_PORT=49990 05:54:14 ---> Running in 451633653feb 05:54:15 Removing intermediate container 451633653feb 05:54:15 ---> 6138f12bd106 05:54:15 Step 13/24 : EXPOSE $APP_PORT 05:54:15 ---> Running in a638aebe0a75 05:54:15 Removing intermediate container a638aebe0a75 05:54:15 ---> 3ba32708943a 05:54:15 Step 14/24 : WORKDIR / 05:54:15 ---> Running in 7b3162c11418 05:54:16 Removing intermediate container 7b3162c11418 05:54:16 ---> eb4e35e8ac4a 05:54:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:54:17 ---> b3c152990fdd 05:54:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:54:18 ---> 9dc36e8a86c3 05:54:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:54:18 ---> 6d3324a9323c 05:54:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:54:19 ---> 6cce61785097 05:54:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:54:20 ---> e23edfe287eb 05:54:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:54:20 ---> Running in 16acf855f74d 05:54:20 Removing intermediate container 16acf855f74d 05:54:20 ---> 526a2d076678 05:54:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:54:21 ---> Running in 525aa6954675 05:54:21 Removing intermediate container 525aa6954675 05:54:21 ---> a212da298b61 05:54:21 Step 22/24 : LABEL arch=arm64 05:54:21 ---> Running in 111c853f6341 05:54:22 Removing intermediate container 111c853f6341 05:54:22 ---> 9e23b23f1bc3 05:54:22 Step 23/24 : LABEL git_sha=accf9f0e3ed7a56a9eba8ac9dd90f7bf8bdba1da 05:54:22 ---> Running in e2c4b964569c 05:54:22 Removing intermediate container e2c4b964569c 05:54:22 ---> 99703233d77e 05:54:22 Step 24/24 : LABEL version=0.0.0 05:54:22 ---> Running in 9fb954704dbe 05:54:23 Removing intermediate container 9fb954704dbe 05:54:23 ---> 45e328ee83df 05:54:23 [Warning] One or more build-args [ARCH] were not consumed 05:54:23 Successfully built 45e328ee83df 05:54:23 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:54:28 provisioning config files... 05:54:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config7873240180138689106tmp [Pipeline] { [Pipeline] sh 05:54:28 + curl -s https://codecov.io/bash 05:54:28 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config7873240180138689106tmp [Pipeline] } 05:54:29 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:54:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:54:32 ---> package-listing.sh 05:54:32 ++ facter osfamily 05:54:32 ++ tr '[:upper:]' '[:lower:]' 05:54:32 + OS_FAMILY=redhat 05:54:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 05:54:32 + START_PACKAGES=/tmp/packages_start.txt 05:54:32 + END_PACKAGES=/tmp/packages_end.txt 05:54:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:54:32 + PACKAGES=/tmp/packages_start.txt 05:54:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 05:54:32 + PACKAGES=/tmp/packages_end.txt 05:54:32 + case "${OS_FAMILY}" in 05:54:32 + rpm -qa 05:54:32 + sort 05:54:36 + '[' -f /tmp/packages_start.txt ']' 05:54:36 + '[' -f /tmp/packages_end.txt ']' 05:54:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:54:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 05:54:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 05:54:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] isUnix [Pipeline] sh 05:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:37 05:54:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:54:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:37 alpine: Pulling from edgex-lftools-log-publisher 05:54:37 df20fa9351a1: Pulling fs layer 05:54:37 36b3adc4ff6f: Pulling fs layer 05:54:37 8ad3a11d3b57: Pulling fs layer 05:54:37 46f8f816bc3b: Pulling fs layer 05:54:37 0dadc02b9964: Pulling fs layer 05:54:37 ce6a7cf60c04: Pulling fs layer 05:54:37 7a184a31f384: Pulling fs layer 05:54:37 0879bd2ef858: Pulling fs layer 05:54:37 46f8f816bc3b: Waiting 05:54:37 ce6a7cf60c04: Waiting 05:54:37 7a184a31f384: Waiting 05:54:37 0879bd2ef858: Waiting 05:54:37 0dadc02b9964: Waiting 05:54:37 36b3adc4ff6f: Download complete 05:54:37 46f8f816bc3b: Download complete 05:54:37 df20fa9351a1: Verifying Checksum 05:54:37 df20fa9351a1: Download complete 05:54:37 0dadc02b9964: Verifying Checksum 05:54:37 0dadc02b9964: Download complete 05:54:37 ce6a7cf60c04: Verifying Checksum 05:54:37 ce6a7cf60c04: Download complete 05:54:37 7a184a31f384: Verifying Checksum 05:54:37 7a184a31f384: Download complete 05:54:37 8ad3a11d3b57: Verifying Checksum 05:54:37 8ad3a11d3b57: Download complete 05:54:37 df20fa9351a1: Pull complete 05:54:38 36b3adc4ff6f: Pull complete 05:54:38 0879bd2ef858: Verifying Checksum 05:54:38 0879bd2ef858: Download complete 05:54:38 8ad3a11d3b57: Pull complete 05:54:38 46f8f816bc3b: Pull complete 05:54:39 0dadc02b9964: Pull complete 05:54:39 ce6a7cf60c04: Pull complete 05:54:39 7a184a31f384: Pull complete 05:54:42 0879bd2ef858: Pull complete 05:54:42 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 05:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:54:42 prd-centos7-docker-4c-2g-43226 does not seem to be running inside a container 05:54:42 $ 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-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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:54:47 $ docker top 69ade0091440785154545d57e589ec70ef3e51aa606d29f5065ce21ac9c64524 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:47 + mkdir -p /var/log/sa [Pipeline] sh 05:54:48 + ls /var/log/sa-host 05:54:48 + sadf -c /var/log/sa-host/sa05 05:54:48 file_magic: OK 05:54:48 HZ: Using current value: 100 05:54:48 file_header: OK 05:54:48 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:54:48 Statistics: 05:54:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:48 File successfully converted to sysstat format version 12.2.1 05:54:48 + sadf -c /var/log/sa-host/sa15 05:54:48 file_magic: OK 05:54:48 HZ: Using current value: 100 05:54:48 file_header: OK 05:54:48 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:54:48 Statistics: 05:54:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:48 provisioning config files... 05:54:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config2359630423197085013tmp [Pipeline] { [Pipeline] echo 05:54:48 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:54:48 ---> create-netrc.sh [Pipeline] echo 05:54:48 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:48 ---> logs-deploy.sh 05:54:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/2 05:54:48 INFO: archiving workspace using pattern(s): 05:54:50 Archives upload complete. 05:54:50 INFO: archiving logs to Nexus 05:54:51 ---> uname -a: 05:54:51 Linux 69ade0091440 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 05:54:51 05:54:51 05:54:51 ---> lscpu: 05:54:51 Architecture: x86_64 05:54:51 CPU op-mode(s): 32-bit, 64-bit 05:54:51 Byte Order: Little Endian 05:54:51 Address sizes: 40 bits physical, 48 bits virtual 05:54:51 CPU(s): 4 05:54:51 On-line CPU(s) list: 0-3 05:54:51 Thread(s) per core: 1 05:54:51 Core(s) per socket: 1 05:54:51 Socket(s): 4 05:54:51 NUMA node(s): 1 05:54:51 Vendor ID: GenuineIntel 05:54:51 CPU family: 6 05:54:51 Model: 44 05:54:51 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:54:51 Stepping: 1 05:54:51 CPU MHz: 2933.442 05:54:51 BogoMIPS: 5866.88 05:54:51 Virtualization: VT-x 05:54:51 Hypervisor vendor: KVM 05:54:51 Virtualization type: full 05:54:51 L1d cache: 128 KiB 05:54:51 L1i cache: 128 KiB 05:54:51 L2 cache: 16 MiB 05:54:51 L3 cache: 64 MiB 05:54:51 NUMA node0 CPU(s): 0-3 05:54:51 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 05:54:51 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 05:54:51 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 05:54:51 Vulnerability Meltdown: Mitigation; PTI 05:54:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:54:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:54:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:54:51 Vulnerability Tsx async abort: Not affected 05:54:51 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:54:51 05:54:51 05:54:51 ---> nproc: 05:54:51 4 05:54:51 05:54:51 05:54:51 ---> df -h: 05:54:51 Filesystem Size Used Available Use% Mounted on 05:54:51 overlay 50.0G 7.0G 43.0G 14% / 05:54:51 tmpfs 64.0M 0 64.0M 0% /dev 05:54:51 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 05:54:51 shm 64.0M 0 64.0M 0% /dev/shm 05:54:51 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 05:54:51 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 05:54:51 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 05:54:51 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 05:54:51 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-582 05:54:51 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp 05:54:51 05:54:51 05:54:51 ---> free -m: 05:54:51 total used free shared buff/cache available 05:54:51 Mem: 1837 656 147 0 1033 1073 05:54:51 Swap: 1023 1 1022 05:54:51 05:54:51 05:54:51 ---> ip addr: 05:54:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:54:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:54:51 inet 127.0.0.1/8 scope host lo 05:54:51 valid_lft forever preferred_lft forever 05:54:51 6: eth0@if7: mtu 1458 qdisc noqueue state UP 05:54:51 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 05:54:51 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 05:54:51 valid_lft forever preferred_lft forever 05:54:51 05:54:51 05:54:51 ---> sar -b -r -n DEV: 05:54:51 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:54:51 05:54:51 05:46:18 LINUX RESTART (4 CPU) 05:54:51 05:54:51 05:47:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:54:51 05:48:01 57.59 15.55 42.04 0.00 4981.40 4820.46 0.00 05:54:51 05:49:01 1.71 0.00 1.71 0.00 0.00 34.12 0.00 05:54:51 05:50:01 0.33 0.00 0.33 0.00 0.00 5.34 0.00 05:54:51 05:51:01 0.25 0.00 0.25 0.00 0.00 3.61 0.00 05:54:51 05:52:01 0.22 0.00 0.22 0.00 0.00 2.76 0.00 05:54:51 05:53:01 0.25 0.00 0.25 0.00 0.00 3.15 0.00 05:54:51 05:54:01 0.33 0.02 0.32 0.00 0.13 3.50 0.00 05:54:51 Average: 8.68 2.23 6.45 0.00 712.29 696.76 0.00 05:54:51 05:54:51 05:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:54:51 05:48:01 152944 0 579692 30.81 2620 1146300 1142172 38.98 444968 1123516 124 05:54:51 05:49:01 159428 0 573200 30.46 2620 1146308 1094440 37.35 442680 1120444 8 05:54:51 05:50:01 159044 0 573576 30.48 2620 1146316 1094612 37.36 443368 1120448 8 05:54:51 05:51:01 158412 0 574208 30.52 2620 1146316 1094580 37.36 444648 1119768 8 05:54:51 05:52:01 158460 0 574156 30.51 2620 1146320 1093656 37.32 453176 1111396 8 05:54:51 05:53:01 158688 0 573920 30.50 2620 1146328 1091624 37.26 453184 1111368 8 05:54:51 05:54:01 159912 0 572692 30.44 2620 1146332 1082300 36.94 452056 1111248 8 05:54:51 Average: 158127 0 574492 30.53 2620 1146317 1099055 37.51 447726 1116884 25 05:54:51 05:54:51 05:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:54:51 05:48:01 eth0 339.64 226.90 720.49 90.39 0.00 0.00 0.00 0.00 05:54:51 05:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:48:01 docker0 5.92 4.29 0.90 17.98 0.00 0.00 0.00 0.00 05:54:51 05:49:01 eth0 3.76 0.65 0.82 0.40 0.00 0.00 0.00 0.00 05:54:51 05:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:50:01 eth0 4.33 1.23 1.51 0.94 0.00 0.00 0.00 0.00 05:54:51 05:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:51:01 eth0 1.98 0.30 0.41 0.23 0.00 0.00 0.00 0.00 05:54:51 05:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:52:01 eth0 2.95 0.88 0.99 0.62 0.00 0.00 0.00 0.00 05:54:51 05:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:53:01 eth0 1.17 0.60 0.71 0.42 0.00 0.00 0.00 0.00 05:54:51 05:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:54:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:54:51 05:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 05:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 Average: eth0 50.61 32.98 103.66 13.30 0.00 0.00 0.00 0.00 05:54:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:51 Average: docker0 0.85 0.61 0.13 2.57 0.00 0.00 0.00 0.00 05:54:51 05:54:51 05:54:51 ---> sar -P ALL: 05:54:51 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:54:51 05:54:51 05:46:18 LINUX RESTART (4 CPU) 05:54:51 05:54:51 05:47:01 CPU %user %nice %system %iowait %steal %idle 05:54:51 05:48:01 all 7.21 0.00 3.37 2.09 0.03 87.30 05:54:51 05:48:01 0 7.24 0.00 3.62 0.79 0.03 88.32 05:54:51 05:48:01 1 6.68 0.00 3.88 2.49 0.02 86.92 05:54:51 05:48:01 2 7.18 0.00 3.31 3.45 0.03 86.02 05:54:51 05:48:01 3 7.74 0.00 2.67 1.64 0.02 87.93 05:54:51 05:49:01 all 0.15 0.00 0.06 0.00 0.00 99.78 05:54:51 05:49:01 0 0.07 0.00 0.05 0.00 0.02 99.87 05:54:51 05:49:01 1 0.05 0.00 0.05 0.00 0.00 99.90 05:54:51 05:49:01 2 0.43 0.00 0.12 0.00 0.00 99.45 05:54:51 05:49:01 3 0.05 0.00 0.03 0.00 0.00 99.92 05:54:51 05:50:01 all 0.22 0.00 0.04 0.00 0.02 99.72 05:54:51 05:50:01 0 0.18 0.00 0.07 0.00 0.02 99.73 05:54:51 05:50:01 1 0.10 0.00 0.03 0.00 0.02 99.85 05:54:51 05:50:01 2 0.52 0.00 0.03 0.00 0.00 99.45 05:54:51 05:50:01 3 0.10 0.00 0.03 0.00 0.03 99.83 05:54:51 05:51:01 all 0.08 0.00 0.03 0.00 0.00 99.89 05:54:51 05:51:01 0 0.05 0.00 0.03 0.00 0.00 99.92 05:54:51 05:51:01 1 0.03 0.00 0.05 0.00 0.02 99.90 05:54:51 05:51:01 2 0.20 0.00 0.03 0.00 0.00 99.77 05:54:51 05:51:01 3 0.02 0.00 0.02 0.00 0.00 99.97 05:54:51 05:52:01 all 0.18 0.00 0.07 0.00 0.00 99.75 05:54:51 05:52:01 0 0.05 0.00 0.03 0.00 0.00 99.92 05:54:51 05:52:01 1 0.10 0.00 0.20 0.00 0.00 99.70 05:54:51 05:52:01 2 0.53 0.00 0.03 0.00 0.00 99.43 05:54:51 05:52:01 3 0.03 0.00 0.03 0.00 0.00 99.93 05:54:51 05:53:01 all 0.16 0.00 0.03 0.00 0.00 99.80 05:54:51 05:53:01 0 0.05 0.00 0.02 0.00 0.00 99.93 05:54:51 05:53:01 1 0.03 0.00 0.08 0.00 0.00 99.88 05:54:51 05:53:01 2 0.53 0.00 0.02 0.00 0.02 99.43 05:54:51 05:53:01 3 0.03 0.00 0.02 0.00 0.00 99.95 05:54:51 05:54:01 all 0.15 0.00 0.02 0.00 0.00 99.82 05:54:51 05:54:01 0 0.03 0.00 0.03 0.00 0.00 99.93 05:54:51 05:54:01 1 0.03 0.00 0.02 0.02 0.00 99.93 05:54:51 05:54:01 2 0.53 0.00 0.03 0.00 0.00 99.43 05:54:51 05:54:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:54:51 Average: all 1.16 0.00 0.52 0.30 0.01 98.02 05:54:51 Average: 0 1.09 0.00 0.55 0.11 0.01 98.24 05:54:51 Average: 1 1.00 0.00 0.61 0.36 0.01 98.02 05:54:51 Average: 2 1.42 0.00 0.51 0.49 0.01 97.58 05:54:51 Average: 3 1.13 0.00 0.40 0.23 0.01 98.23 05:54:51 05:54:51 05:54:51