Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 628559142d23fa9d6fe61ea3329529ff5e9788fb+9f44a914c3163ba6aceeb076ef4043962d95dc92 (8896cbe593cdae940b9c0a996742d87c26640c06) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-420 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-586 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb Merge succeeded, producing c32e77c47295eebff2be14fc653f9bdef707d5d3 Checking out Revision c32e77c47295eebff2be14fc653f9bdef707d5d3 (PR-586) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # 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 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c32e77c47295eebff2be14fc653f9bdef707d5d3 # timeout=10 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 008e04b076563efc6f8683aeda7071f1facd26eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:38 ========================================================= 18:41:38 EdgeX Global Pipelines Version Info 18:41:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:40 ------------------- 18:41:40 stable info: 18:41:40 ------------------- 18:41:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:40 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:41:40 Message: update stable to v1.0.122 18:41:41 ------------------- 18:41:41 experimental info: 18:41:41 ------------------- 18:41:41 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:41 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 18:41:41 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 18:41:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c32e77c47295eebff2be14fc653f9bdef707d5d3 [Pipeline] echo 18:41:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c32e77c [Pipeline] echo 18:41:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:45 + git log --format=format:%s -1 c32e77c47295eebff2be14fc653f9bdef707d5d3 [Pipeline] echo 18:41:45 GIT_COMMIT: c32e77c47295eebff2be14fc653f9bdef707d5d3, Commit Message: Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD [Pipeline] echo 18:41:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:46 18:41:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:41:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:47 latest: Pulling from edgex-devops/git-semver 18:41:47 31603596830f: Pulling fs layer 18:41:47 2a8b12db71e7: Pulling fs layer 18:41:47 6ca5941a6612: Pulling fs layer 18:41:47 ecc8261a40a4: Pulling fs layer 18:41:47 ecc8261a40a4: Waiting 18:41:47 2a8b12db71e7: Verifying Checksum 18:41:47 2a8b12db71e7: Download complete 18:41:47 31603596830f: Verifying Checksum 18:41:47 31603596830f: Download complete 18:41:47 6ca5941a6612: Verifying Checksum 18:41:47 6ca5941a6612: Download complete 18:41:47 ecc8261a40a4: Verifying Checksum 18:41:47 ecc8261a40a4: Download complete 18:41:47 31603596830f: Pull complete 18:41:47 2a8b12db71e7: Pull complete 18:41:48 6ca5941a6612: Pull complete 18:41:48 ecc8261a40a4: Pull complete 18:41:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:41:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:41:48 prd-centos7-docker-4c-2g-420 does not seem to be running inside a container 18:41:49 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:41:51 $ docker top 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:51 [ssh-agent] Looking for ssh-agent implementation... 18:41:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:51 $ docker exec 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 ssh-agent 18:41:51 SSH_AUTH_SOCK=/tmp/ssh-wsnJx9G80HAg/agent.12 18:41:51 SSH_AGENT_PID=17 18:41:51 Running ssh-add (command line suppressed) 18:41:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_5722409161065221239.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_5722409161065221239.key) 18:41:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:52 + git describe --exact-match --tags HEAD 18:41:52 fatal: No names found, cannot describe anything. [Pipeline] } 18:41:52 $ docker exec --env ******** --env ******** 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 ssh-agent -k 18:41:52 unset SSH_AUTH_SOCK; 18:41:52 unset SSH_AGENT_PID; 18:41:52 echo Agent pid 17 killed; 18:41:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:41:52 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:41:52 This usually means this commit has not been tagged. [Pipeline] sshagent 18:41:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:52 [ssh-agent] Looking for ssh-agent implementation... 18:41:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:52 $ docker exec 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 ssh-agent 18:41:53 SSH_AUTH_SOCK=/tmp/ssh-XkrnWxLXjwEF/agent.47 18:41:53 SSH_AGENT_PID=53 18:41:53 Running ssh-add (command line suppressed) 18:41:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_5413462356375569915.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_5413462356375569915.key) 18:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:53 + git semver init 18:41:53 # -> Open(): unable to determine branch for HEAD 18:41:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.git 18:41:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 18:41:53 # $SEMVER_REMOTE_NAME = origin 18:41:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:41:53 # $SEMVER_USER_NAME = edgex-jenkins 18:41:53 # $SEMVER_BRANCH = PR-586 18:41:53 # $SEMVER_TEMP = /tmp/semver-539591596 18:41:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:41:54 # '/tmp/semver-539591596' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' 18:41:54 # -> Force: false 18:41:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } 18:41:54 $ docker exec --env ******** --env ******** 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 ssh-agent -k 18:41:54 unset SSH_AUTH_SOCK; 18:41:54 unset SSH_AGENT_PID; 18:41:54 echo Agent pid 53 killed; 18:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:55 + git semver [Pipeline] } 18:41:55 $ docker stop --time=1 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 18:41:56 $ docker rm -f 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:41:57 Stashed 37 file(s) [Pipeline] echo 18:41:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:41:57 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 18:42:13 Still waiting to schedule task 18:42:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:42:13 Still waiting to schedule task 18:42:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:43:49 Running on prd-centos7-docker-4c-2g-427 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 18:43:49 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:43:52 using credential edgex-jenkins-ssh 18:43:52 Cloning the remote Git repository 18:43:52 Cloning with configured refspecs honoured and without tags 18:43:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:43:52 > git init /w/workspace/device-sdk-go/7 # timeout=10 18:43:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:52 > git --version # timeout=10 18:43:52 > git --version # 'git version 2.16.5' 18:43:52 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:43:53 Fetching without tags 18:43:54 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 18:43:54 Merge succeeded, producing 38ca9e4f7c608237591802e5bb4700ca371422a6 18:43:54 Checking out Revision 38ca9e4f7c608237591802e5bb4700ca371422a6 (PR-586) 18:43:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:53 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 18:43:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:43:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:43:54 > git config core.sparsecheckout # timeout=10 18:43:54 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 18:43:54 > git remote # timeout=10 18:43:54 > git config --get remote.origin.url # timeout=10 18:43:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:54 > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 18:43:54 > git rev-parse HEAD^{commit} # timeout=10 18:43:54 > git config core.sparsecheckout # timeout=10 18:43:54 > git checkout -f 38ca9e4f7c608237591802e5bb4700ca371422a6 # timeout=10 18:43:57 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" 18:43:57 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 18:43:57 > git rev-list --no-walk 008e04b076563efc6f8683aeda7071f1facd26eb # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:43:58 ========================================================= 18:43:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:43:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:43:59 + 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 . 18:43:59 Sending build context to Docker daemon 3.166MB 18:43:59 Step 1/8 : ARG BASE=golang:1.15-alpine 18:43:59 Step 2/8 : FROM ${BASE} 18:43:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:43:59 df20fa9351a1: Pulling fs layer 18:43:59 ed8968b2872e: Pulling fs layer 18:43:59 a92cc7c5fd73: Pulling fs layer 18:43:59 e871e8e8d7a9: Pulling fs layer 18:43:59 e73272ec9a57: Pulling fs layer 18:43:59 1e910a182e73: Pulling fs layer 18:43:59 4e634b169226: Pulling fs layer 18:43:59 e73272ec9a57: Waiting 18:43:59 1e910a182e73: Waiting 18:43:59 4e634b169226: Waiting 18:43:59 e871e8e8d7a9: Waiting 18:43:59 a92cc7c5fd73: Verifying Checksum 18:43:59 a92cc7c5fd73: Download complete 18:43:59 ed8968b2872e: Verifying Checksum 18:43:59 ed8968b2872e: Download complete 18:43:59 e73272ec9a57: Verifying Checksum 18:43:59 e73272ec9a57: Download complete 18:43:59 1e910a182e73: Verifying Checksum 18:43:59 1e910a182e73: Download complete 18:43:59 df20fa9351a1: Download complete 18:44:00 df20fa9351a1: Pull complete 18:44:00 ed8968b2872e: Pull complete 18:44:00 a92cc7c5fd73: Pull complete 18:44:02 4e634b169226: Verifying Checksum 18:44:02 4e634b169226: Download complete 18:44:02 e871e8e8d7a9: Verifying Checksum 18:44:02 e871e8e8d7a9: Download complete 18:44:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-425 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 18:44:05 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:44:08 e871e8e8d7a9: Pull complete 18:44:08 e73272ec9a57: Pull complete 18:44:08 1e910a182e73: Pull complete 18:44:10 using credential edgex-jenkins-ssh 18:44:10 Cloning the remote Git repository 18:44:10 Cloning with configured refspecs honoured and without tags 18:44:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:10 > git init /w/workspace/device-sdk-go/7 # timeout=10 18:44:11 Fetching without tags 18:44:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:10 > git --version # timeout=10 18:44:10 > git --version # 'git version 2.17.1' 18:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:11 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 18:44:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:12 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 18:44:12 Merge succeeded, producing 56c0213b2e83177bc3095957058a821592d22434 18:44:12 Checking out Revision 56c0213b2e83177bc3095957058a821592d22434 (PR-586) 18:44:12 > git config core.sparsecheckout # timeout=10 18:44:12 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 18:44:12 > git remote # timeout=10 18:44:12 > git config --get remote.origin.url # timeout=10 18:44:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:12 > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 18:44:12 > git rev-parse HEAD^{commit} # timeout=10 18:44:12 > git config core.sparsecheckout # timeout=10 18:44:12 > git checkout -f 56c0213b2e83177bc3095957058a821592d22434 # timeout=10 18:44:16 4e634b169226: Pull complete 18:44:16 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:44:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:44:16 ---> f7629b54cfaa 18:44:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:16 ---> Running in aaaf8be21258 18:44:16 Removing intermediate container aaaf8be21258 18:44:16 ---> 5fbc69838f3b 18:44:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:16 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" 18:44:16 First time build. Skipping changelog. 18:44:17 ---> Running in 85a832e42873 18:44:16 > git rev-list --no-walk 008e04b076563efc6f8683aeda7071f1facd26eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:44:18 ========================================================= 18:44:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:44:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:18 Removing intermediate container 85a832e42873 18:44:18 ---> 455731ac5f9e 18:44:18 Step 5/8 : RUN apk add --no-cache make git 18:44:18 ---> Running in 19aeb5f379f7 18:44:19 + 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 . 18:44:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:44:20 Sending build context to Docker daemon 3.166MB 18:44:20 Step 1/8 : ARG BASE=golang:1.15-alpine 18:44:20 Step 2/8 : FROM ${BASE} 18:44:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:44:20 b538f80385f9: Pulling fs layer 18:44:20 74f711af9a0d: Pulling fs layer 18:44:20 99f96fe45779: Pulling fs layer 18:44:20 8529a6b9a6be: Pulling fs layer 18:44:20 45590311c82a: Pulling fs layer 18:44:20 69ca0ff8b7b3: Pulling fs layer 18:44:20 209524e5b208: Pulling fs layer 18:44:20 8529a6b9a6be: Waiting 18:44:20 45590311c82a: Waiting 18:44:20 69ca0ff8b7b3: Waiting 18:44:20 209524e5b208: Waiting 18:44:20 99f96fe45779: Verifying Checksum 18:44:20 99f96fe45779: Download complete 18:44:20 74f711af9a0d: Verifying Checksum 18:44:20 74f711af9a0d: Download complete 18:44:20 45590311c82a: Verifying Checksum 18:44:20 45590311c82a: Download complete 18:44:20 69ca0ff8b7b3: Verifying Checksum 18:44:20 69ca0ff8b7b3: Download complete 18:44:20 b538f80385f9: Download complete 18:44:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:44:21 b538f80385f9: Pull complete 18:44:22 74f711af9a0d: Pull complete 18:44:22 99f96fe45779: Pull complete 18:44:22 209524e5b208: Verifying Checksum 18:44:22 209524e5b208: Download complete 18:44:23 OK: 166 MiB in 39 packages 18:44:23 Removing intermediate container 19aeb5f379f7 18:44:23 ---> af41d3c5faaf 18:44:23 Step 6/8 : WORKDIR /device-sdk-go 18:44:23 ---> Running in 0e622d0e9f32 18:44:24 Removing intermediate container 0e622d0e9f32 18:44:24 ---> 366efbc392ae 18:44:24 Step 7/8 : COPY . . 18:44:24 8529a6b9a6be: Verifying Checksum 18:44:24 8529a6b9a6be: Download complete 18:44:25 ---> 9c961a7f23d5 18:44:25 Step 8/8 : RUN go mod download 18:44:25 ---> Running in 55250cbd4c44 18:44:35 8529a6b9a6be: Pull complete 18:44:35 45590311c82a: Pull complete 18:44:35 69ca0ff8b7b3: Pull complete 18:44:37 Removing intermediate container 55250cbd4c44 18:44:37 ---> 233969bdebfa 18:44:37 Successfully built 233969bdebfa 18:44:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:44:37 + docker inspect -f . ci-base-image-x86_64 18:44:37 . [Pipeline] withDockerContainer 18:44:37 prd-centos7-docker-4c-2g-427 does not seem to be running inside a container 18:44:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 18:44:39 $ docker top ee6997045edf6d5404d2016de56fcfcdb980887482a561d3e763d57452a4d86a -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:39 209524e5b208: Pull complete 18:44:39 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:44:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:44:39 ---> 5bddaf1c2fca 18:44:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:39 + go version 18:44:39 go version go1.15.2 linux/amd64 [Pipeline] } 18:44:39 $ docker stop --time=1 ee6997045edf6d5404d2016de56fcfcdb980887482a561d3e763d57452a4d86a 18:44:41 $ docker rm -f ee6997045edf6d5404d2016de56fcfcdb980887482a561d3e763d57452a4d86a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 18:44:41 ---> Running in 491661ae1009 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:44:41 Removing intermediate container 491661ae1009 18:44:41 ---> 1cf2e8ea713d 18:44:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:42 ---> Running in c6fcbe32c88b 18:44:42 + docker inspect -f . ci-base-image-x86_64 18:44:42 . [Pipeline] withDockerContainer 18:44:42 prd-centos7-docker-4c-2g-427 does not seem to be running inside a container 18:44:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 18:44:43 $ docker top 1caeec5d81ca335165e96592ba82486b56ac20e65f1e71a9daf3eb67e834e82b -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:43 + make test 18:44:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:44:44 Removing intermediate container c6fcbe32c88b 18:44:44 ---> 1373fd85315b 18:44:44 Step 5/8 : RUN apk add --no-cache make git 18:44:44 ---> Running in fa77d4ff6247 18:44:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:44:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:44:49 OK: 142 MiB in 39 packages 18:44:50 Removing intermediate container fa77d4ff6247 18:44:50 ---> 3e060e665aaa 18:44:50 Step 6/8 : WORKDIR /device-sdk-go 18:44:50 ---> Running in bd8dc25c1420 18:44:51 Removing intermediate container bd8dc25c1420 18:44:51 ---> 7b9ba0829bb8 18:44:51 Step 7/8 : COPY . . 18:44:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:44:52 ---> 5dc3d5fe1d58 18:44:52 Step 8/8 : RUN go mod download 18:44:52 ---> Running in afc0c37e61ff 18:45:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:45:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:45:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:45:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.029s coverage: 21.0% of statements 18:45:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 95.7% of statements 18:45:07 Removing intermediate container afc0c37e61ff 18:45:07 ---> 9aa399b1d77e 18:45:07 Successfully built 9aa399b1d77e 18:45:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:45:08 + docker inspect -f . ci-base-image-arm64 18:45:08 . [Pipeline] withDockerContainer 18:45:08 prd-ubuntu18.04-docker-arm64-4c-16g-425 does not seem to be running inside a container 18:45:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 18:45:10 $ docker top afd83947089b27c46ab5d4e69d4c5d5c110220b1d09b0544afe13dc5409bbaab -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:11 + go version 18:45:11 go version go1.15.2 linux/arm64 [Pipeline] } 18:45:11 $ docker stop --time=1 afd83947089b27c46ab5d4e69d4c5d5c110220b1d09b0544afe13dc5409bbaab 18:45:13 $ docker rm -f afd83947089b27c46ab5d4e69d4c5d5c110220b1d09b0544afe13dc5409bbaab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:15 + docker inspect -f . ci-base-image-arm64 18:45:15 . [Pipeline] withDockerContainer 18:45:15 prd-ubuntu18.04-docker-arm64-4c-16g-425 does not seem to be running inside a container 18:45:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 18:45:17 $ docker top f67073fa177ecf91dc0d418133ada1e0b122c2733e96217e663c8a1d4bac2611 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:18 + make test 18:45:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:45:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.038s coverage: 8.6% of statements 18:45:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.036s coverage: 21.7% of statements 18:45:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:45:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.166s coverage: 37.0% of statements 18:45:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:45:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.283s coverage: 65.4% of statements 18:45:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:45:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:45:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:45:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.093s coverage: 52.6% of statements 18:45:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.408s coverage: 68.9% of statements 18:45:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:45:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:45:39 GO111MODULE=on go vet ./... 18:45:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:45:44 gofmt -l . 18:45:44 [ "`gofmt -l .`" = "" ] 18:45:44 ./bin/test-attribution-txt.sh 18:45:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:45:45 Stashed 1 file(s) [Pipeline] } 18:45:45 $ docker stop --time=1 1caeec5d81ca335165e96592ba82486b56ac20e65f1e71a9daf3eb67e834e82b 18:45:47 $ docker rm -f 1caeec5d81ca335165e96592ba82486b56ac20e65f1e71a9daf3eb67e834e82b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:51 + ls -al . 18:45:51 total 188 18:45:51 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 18 18:45 . 18:45:51 drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 18:43 .. 18:45:51 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 18:43 bin 18:45:51 -rw-r--r--. 1 jenkins jenkins 111785 Sep 18 18:45 coverage.out 18:45:51 -rw-rw-r--. 1 jenkins jenkins 936 Sep 18 18:43 Dockerfile.build 18:45:51 -rw-rw-r--. 1 jenkins jenkins 140 Sep 18 18:43 .dockerignore 18:45:51 drwxrwxr-x. 4 jenkins jenkins 48 Sep 18 18:43 example 18:45:51 drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 18:43 .git 18:45:51 drwxrwxr-x. 2 jenkins jenkins 60 Sep 18 18:43 .github 18:45:51 -rw-rw-r--. 1 jenkins jenkins 138 Sep 18 18:43 .gitignore 18:45:51 -rw-r--r--. 1 jenkins jenkins 446 Sep 18 18:45 go.mod 18:45:51 -rw-r--r--. 1 jenkins jenkins 12179 Sep 18 18:45 go.sum 18:45:51 drwxrwxr-x. 13 jenkins jenkins 184 Sep 18 18:43 internal 18:45:51 -rw-rw-r--. 1 jenkins jenkins 785 Sep 18 18:43 Jenkinsfile 18:45:51 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 18 18:43 LICENSE 18:45:51 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 18 18:43 Makefile 18:45:51 drwxrwxr-x. 4 jenkins jenkins 26 Sep 18 18:43 openapi 18:45:51 drwxrwxr-x. 5 jenkins jenkins 50 Sep 18 18:43 pkg 18:45:51 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 18 18:43 README.md 18:45:51 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 18 18:43 RELEASE-NOTES.txt 18:45:51 drwxrwxr-x. 3 jenkins jenkins 58 Sep 18 18:43 .semver 18:45:51 drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 18:43 snap 18:45:51 -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 18:41 VERSION 18:45:51 -rw-rw-r--. 1 jenkins jenkins 222 Sep 18 18:43 version.go [Pipeline] isUnix [Pipeline] sh 18:45:51 + 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=c32e77c47295eebff2be14fc653f9bdef707d5d3 --label arch=amd64 --label version=0.0.0 . 18:45:51 Sending build context to Docker daemon 3.28MB 18:45:51 Step 1/24 : ARG BASE=golang:1.15-alpine 18:45:51 Step 2/24 : FROM ${BASE} AS builder 18:45:51 ---> 233969bdebfa 18:45:51 Step 3/24 : ARG MAKE='make build' 18:45:52 ---> Running in 914bbe8ab8e0 18:45:52 Removing intermediate container 914bbe8ab8e0 18:45:52 ---> c1d4503d4a4e 18:45:52 Step 4/24 : WORKDIR /device-sdk-go 18:45:52 ---> Running in 6d8d410fe0bf 18:45:52 Removing intermediate container 6d8d410fe0bf 18:45:52 ---> 161d97c44867 18:45:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:45:52 ---> Running in 5a7d65881a61 18:45:53 Removing intermediate container 5a7d65881a61 18:45:53 ---> 7927b8293c64 18:45:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:53 ---> Running in 40c53eebcd73 18:45:54 Removing intermediate container 40c53eebcd73 18:45:54 ---> e94ba52e08e8 18:45:54 Step 7/24 : RUN apk add --update --no-cache make git 18:45:54 ---> Running in 768cfdac15cc 18:45:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:45:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:45:58 OK: 166 MiB in 39 packages 18:45:58 Removing intermediate container 768cfdac15cc 18:45:58 ---> 9b5cc03e59c4 18:45:58 Step 8/24 : COPY . . 18:45:59 ---> 9e544b9603b9 18:45:59 Step 9/24 : RUN ${MAKE} 18:45:59 ---> Running in 07dd29b386fc 18:46:00 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 18:46:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:46:09 Removing intermediate container 07dd29b386fc 18:46:09 ---> b3f769d8000c 18:46:09 Step 10/24 : FROM scratch 18:46:09 ---> 18:46:09 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:09 ---> Running in 500cfc679759 18:46:09 Removing intermediate container 500cfc679759 18:46:09 ---> c4fe3ff980e0 18:46:09 Step 12/24 : ENV APP_PORT=49990 18:46:09 ---> Running in 1ef4c9f8ca6c 18:46:09 Removing intermediate container 1ef4c9f8ca6c 18:46:09 ---> f9a651efd96c 18:46:09 Step 13/24 : EXPOSE $APP_PORT 18:46:10 ---> Running in 41c30b61f260 18:46:10 Removing intermediate container 41c30b61f260 18:46:10 ---> 0693a0d3f206 18:46:10 Step 14/24 : WORKDIR / 18:46:10 ---> Running in 54b4d37288b5 18:46:10 Removing intermediate container 54b4d37288b5 18:46:10 ---> af9bacec0ce6 18:46:10 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:46:10 ---> be0d988d3d56 18:46:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:46:10 ---> 1218cab77312 18:46:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:46:11 ---> 701cff96aeca 18:46:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:46:11 ---> 43eba2b26bab 18:46:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:46:11 ---> 7a0d86c22d71 18:46:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:46:11 ---> Running in 8e050dec1201 18:46:11 Removing intermediate container 8e050dec1201 18:46:11 ---> e489dabb95b7 18:46:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:46:11 ---> Running in f0b83971648e 18:46:12 Removing intermediate container f0b83971648e 18:46:12 ---> e36e7726e322 18:46:12 Step 22/24 : LABEL arch=amd64 18:46:12 ---> Running in 017aa5fe0a73 18:46:12 Removing intermediate container 017aa5fe0a73 18:46:12 ---> 66442400ed4a 18:46:12 Step 23/24 : LABEL git_sha=c32e77c47295eebff2be14fc653f9bdef707d5d3 18:46:12 ---> Running in e4f3faeffa40 18:46:12 Removing intermediate container e4f3faeffa40 18:46:12 ---> c39a61eb3b7d 18:46:12 Step 24/24 : LABEL version=0.0.0 18:46:12 ---> Running in af80e169291a 18:46:12 Removing intermediate container af80e169291a 18:46:12 ---> e373305da150 18:46:12 [Warning] One or more build-args [ARCH] were not consumed 18:46:12 Successfully built e373305da150 18:46:12 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] } 18:46:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:46:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:46:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.047s coverage: 21.0% of statements 18:46:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.192s coverage: 95.7% of statements 18:46:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 8.6% of statements 18:46:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements 18:46:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:46:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.452s coverage: 37.0% of statements 18:46:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:46:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.683s coverage: 65.4% of statements 18:46:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:46:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:46:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:46:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.148s coverage: 52.6% of statements 18:46:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.759s coverage: 68.9% of statements 18:46:53 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:46:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:46:53 GO111MODULE=on go vet ./... 18:47:20 gofmt -l . 18:47:20 [ "`gofmt -l .`" = "" ] 18:47:20 ./bin/test-attribution-txt.sh 18:47:21 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:47:21 Warning: overwriting stash ‘coverage-report’ 18:47:22 Stashed 1 file(s) [Pipeline] } 18:47:22 $ docker stop --time=1 f67073fa177ecf91dc0d418133ada1e0b122c2733e96217e663c8a1d4bac2611 18:47:25 $ docker rm -f f67073fa177ecf91dc0d418133ada1e0b122c2733e96217e663c8a1d4bac2611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:47:27 + ls -al . 18:47:27 total 228 18:47:27 drwxrwxr-x 11 jenkins jenkins 4096 Sep 18 18:47 . 18:47:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:44 .. 18:47:27 -rw-rw-r-- 1 jenkins jenkins 140 Sep 18 18:44 .dockerignore 18:47:27 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 18:44 .git 18:47:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 18:44 .github 18:47:27 -rw-rw-r-- 1 jenkins jenkins 138 Sep 18 18:44 .gitignore 18:47:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 18:44 .semver 18:47:27 -rw-rw-r-- 1 jenkins jenkins 936 Sep 18 18:44 Dockerfile.build 18:47:27 -rw-rw-r-- 1 jenkins jenkins 785 Sep 18 18:44 Jenkinsfile 18:47:27 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 18 18:44 LICENSE 18:47:27 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 18 18:44 Makefile 18:47:27 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 18 18:44 README.md 18:47:27 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 18 18:44 RELEASE-NOTES.txt 18:47:27 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 18:41 VERSION 18:47:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 18:44 bin 18:47:27 -rw-r--r-- 1 jenkins jenkins 111785 Sep 18 18:46 coverage.out 18:47:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:44 example 18:47:27 -rw-r--r-- 1 jenkins jenkins 446 Sep 18 18:47 go.mod 18:47:27 -rw-r--r-- 1 jenkins jenkins 12179 Sep 18 18:47 go.sum 18:47:27 drwxrwxr-x 13 jenkins jenkins 4096 Sep 18 18:44 internal 18:47:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:44 openapi 18:47:27 drwxrwxr-x 5 jenkins jenkins 4096 Sep 18 18:44 pkg 18:47:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:44 snap 18:47:27 -rw-rw-r-- 1 jenkins jenkins 222 Sep 18 18:44 version.go [Pipeline] isUnix [Pipeline] sh 18:47:27 + 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=c32e77c47295eebff2be14fc653f9bdef707d5d3 --label arch=arm64 --label version=0.0.0 . 18:47:28 Sending build context to Docker daemon 3.28MB 18:47:28 Step 1/24 : ARG BASE=golang:1.15-alpine 18:47:28 Step 2/24 : FROM ${BASE} AS builder 18:47:28 ---> 9aa399b1d77e 18:47:28 Step 3/24 : ARG MAKE='make build' 18:47:28 ---> Running in dda19b2912de 18:47:29 Removing intermediate container dda19b2912de 18:47:29 ---> 1d055c6f43b5 18:47:29 Step 4/24 : WORKDIR /device-sdk-go 18:47:29 ---> Running in 1cf965265786 18:47:29 Removing intermediate container 1cf965265786 18:47:29 ---> 359530767838 18:47:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:47:29 ---> Running in f7da2ed669be 18:47:30 Removing intermediate container f7da2ed669be 18:47:30 ---> 0b95dd9631ba 18:47:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:47:30 ---> Running in 33284a170636 18:47:32 Removing intermediate container 33284a170636 18:47:32 ---> 9ef3794e939f 18:47:32 Step 7/24 : RUN apk add --update --no-cache make git 18:47:32 ---> Running in fc6ad15f8fd5 18:47:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:47:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:47:36 OK: 142 MiB in 39 packages 18:47:37 Removing intermediate container fc6ad15f8fd5 18:47:37 ---> 8fc69d2b3bcd 18:47:37 Step 8/24 : COPY . . 18:47:38 ---> 2e94a353edaf 18:47:38 Step 9/24 : RUN ${MAKE} 18:47:38 ---> Running in 5b5d4f5c26ac 18:47:40 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 18:48:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:48:07 Removing intermediate container 5b5d4f5c26ac 18:48:07 ---> e38147a2e24e 18:48:07 Step 10/24 : FROM scratch 18:48:07 ---> 18:48:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:48:08 ---> Running in cdb7db9a0894 18:48:08 Removing intermediate container cdb7db9a0894 18:48:08 ---> f051f1416700 18:48:08 Step 12/24 : ENV APP_PORT=49990 18:48:08 ---> Running in b5308a3d2e9a 18:48:08 Removing intermediate container b5308a3d2e9a 18:48:08 ---> 8def57cc6709 18:48:08 Step 13/24 : EXPOSE $APP_PORT 18:48:08 ---> Running in 36a7abc71197 18:48:09 Removing intermediate container 36a7abc71197 18:48:09 ---> a8b141641136 18:48:09 Step 14/24 : WORKDIR / 18:48:09 ---> Running in 32c9eab7938e 18:48:09 Removing intermediate container 32c9eab7938e 18:48:09 ---> 77f393c68471 18:48:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:48:11 ---> 035a32c15c11 18:48:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:48:11 ---> 5630ca34ed4c 18:48:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:48:12 ---> d028de23c8f4 18:48:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:48:13 ---> b6a2b94c2b5a 18:48:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:48:13 ---> 597c00c3c145 18:48:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:48:13 ---> Running in c346566f4c05 18:48:14 Removing intermediate container c346566f4c05 18:48:14 ---> 8685d80b15a8 18:48:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:48:14 ---> Running in a3c2f8af22da 18:48:15 Removing intermediate container a3c2f8af22da 18:48:15 ---> 554b089bbc3f 18:48:15 Step 22/24 : LABEL arch=arm64 18:48:15 ---> Running in 3bfb89c32be1 18:48:15 Removing intermediate container 3bfb89c32be1 18:48:15 ---> 2a74c178eb7c 18:48:15 Step 23/24 : LABEL git_sha=c32e77c47295eebff2be14fc653f9bdef707d5d3 18:48:15 ---> Running in 280a2831e4f4 18:48:16 Removing intermediate container 280a2831e4f4 18:48:16 ---> 4cc87a4f3797 18:48:16 Step 24/24 : LABEL version=0.0.0 18:48:16 ---> Running in d2a059773789 18:48:16 Removing intermediate container d2a059773789 18:48:16 ---> e63431074ff0 18:48:16 [Warning] One or more build-args [ARCH] were not consumed 18:48:16 Successfully built e63431074ff0 18:48:16 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 18:48:18 provisioning config files... 18:48:18 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2350330136339867086tmp [Pipeline] { [Pipeline] sh 18:48:19 + curl -s https://codecov.io/bash 18:48:19 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2350330136339867086tmp [Pipeline] } 18:48:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:48:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:48:23 ---> package-listing.sh 18:48:23 ++ facter osfamily 18:48:23 ++ tr '[:upper:]' '[:lower:]' 18:48:23 + OS_FAMILY=redhat 18:48:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 18:48:23 + START_PACKAGES=/tmp/packages_start.txt 18:48:23 + END_PACKAGES=/tmp/packages_end.txt 18:48:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:48:23 + PACKAGES=/tmp/packages_start.txt 18:48:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 18:48:23 + PACKAGES=/tmp/packages_end.txt 18:48:23 + case "${OS_FAMILY}" in 18:48:23 + rpm -qa 18:48:23 + sort 18:48:26 + '[' -f /tmp/packages_start.txt ']' 18:48:26 + '[' -f /tmp/packages_end.txt ']' 18:48:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:48:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 18:48:26 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ 18:48:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [Pipeline] isUnix [Pipeline] sh 18:48:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:27 18:48:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:48:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:27 alpine: Pulling from edgex-lftools-log-publisher 18:48:27 df20fa9351a1: Pulling fs layer 18:48:27 36b3adc4ff6f: Pulling fs layer 18:48:27 8ad3a11d3b57: Pulling fs layer 18:48:27 46f8f816bc3b: Pulling fs layer 18:48:27 0dadc02b9964: Pulling fs layer 18:48:27 ce6a7cf60c04: Pulling fs layer 18:48:27 7a184a31f384: Pulling fs layer 18:48:27 46f8f816bc3b: Waiting 18:48:27 0879bd2ef858: Pulling fs layer 18:48:27 ce6a7cf60c04: Waiting 18:48:27 7a184a31f384: Waiting 18:48:27 0879bd2ef858: Waiting 18:48:27 36b3adc4ff6f: Verifying Checksum 18:48:27 36b3adc4ff6f: Download complete 18:48:27 46f8f816bc3b: Verifying Checksum 18:48:27 46f8f816bc3b: Download complete 18:48:28 0dadc02b9964: Verifying Checksum 18:48:28 0dadc02b9964: Download complete 18:48:28 df20fa9351a1: Verifying Checksum 18:48:28 df20fa9351a1: Download complete 18:48:28 ce6a7cf60c04: Verifying Checksum 18:48:28 ce6a7cf60c04: Download complete 18:48:28 7a184a31f384: Verifying Checksum 18:48:28 7a184a31f384: Download complete 18:48:28 df20fa9351a1: Pull complete 18:48:28 8ad3a11d3b57: Verifying Checksum 18:48:28 8ad3a11d3b57: Download complete 18:48:28 36b3adc4ff6f: Pull complete 18:48:28 0879bd2ef858: Verifying Checksum 18:48:28 0879bd2ef858: Download complete 18:48:29 8ad3a11d3b57: Pull complete 18:48:29 46f8f816bc3b: Pull complete 18:48:29 0dadc02b9964: Pull complete 18:48:29 ce6a7cf60c04: Pull complete 18:48:29 7a184a31f384: Pull complete 18:48:32 0879bd2ef858: Pull complete 18:48:32 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:48:32 prd-centos7-docker-4c-2g-420 does not seem to be running inside a container 18:48:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:48:38 $ docker top 25f31041596e464fe15a9fd9558b8e30da81057163da60de7e77489728501193 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:38 + mkdir -p /var/log/sa [Pipeline] sh 18:48:39 + ls /var/log/sa-host 18:48:39 + sadf -c /var/log/sa-host/sa05 18:48:39 file_magic: OK 18:48:39 HZ: Using current value: 100 18:48:39 file_header: OK 18:48:39 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:48:39 Statistics: 18:48:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:48:39 File successfully converted to sysstat format version 12.2.1 18:48:39 + sadf -c /var/log/sa-host/sa18 18:48:39 file_magic: OK 18:48:39 HZ: Using current value: 100 18:48:39 file_header: OK 18:48:39 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:48:39 Statistics: 18:48:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:48:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:39 provisioning config files... 18:48:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2544886949175715306tmp [Pipeline] { [Pipeline] echo 18:48:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:48:39 ---> create-netrc.sh [Pipeline] echo 18:48:39 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:48:39 ---> logs-deploy.sh 18:48:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/7 18:48:39 INFO: archiving workspace using pattern(s): 18:48:41 Archives upload complete. 18:48:41 INFO: archiving logs to Nexus 18:48:42 ---> uname -a: 18:48:42 Linux 25f31041596e 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 18:48:42 18:48:42 18:48:42 ---> lscpu: 18:48:42 Architecture: x86_64 18:48:42 CPU op-mode(s): 32-bit, 64-bit 18:48:42 Byte Order: Little Endian 18:48:42 Address sizes: 40 bits physical, 48 bits virtual 18:48:42 CPU(s): 4 18:48:42 On-line CPU(s) list: 0-3 18:48:42 Thread(s) per core: 1 18:48:42 Core(s) per socket: 1 18:48:42 Socket(s): 4 18:48:42 NUMA node(s): 1 18:48:42 Vendor ID: GenuineIntel 18:48:42 CPU family: 6 18:48:42 Model: 44 18:48:42 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:48:42 Stepping: 1 18:48:42 CPU MHz: 2933.438 18:48:42 BogoMIPS: 5866.87 18:48:42 Virtualization: VT-x 18:48:42 Hypervisor vendor: KVM 18:48:42 Virtualization type: full 18:48:42 L1d cache: 128 KiB 18:48:42 L1i cache: 128 KiB 18:48:42 L2 cache: 16 MiB 18:48:42 L3 cache: 64 MiB 18:48:42 NUMA node0 CPU(s): 0-3 18:48:42 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:48:42 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:48:42 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:48:42 Vulnerability Meltdown: Mitigation; PTI 18:48:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:48:42 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:48:42 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:48:42 Vulnerability Tsx async abort: Not affected 18:48:42 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 18:48:42 18:48:42 18:48:42 ---> nproc: 18:48:42 4 18:48:42 18:48:42 18:48:42 ---> df -h: 18:48:42 Filesystem Size Used Available Use% Mounted on 18:48:42 overlay 50.0G 7.0G 43.0G 14% / 18:48:42 tmpfs 64.0M 0 64.0M 0% /dev 18:48:42 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:48:42 shm 64.0M 0 64.0M 0% /dev/shm 18:48:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 18:48:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 18:48:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 18:48:42 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 18:48:42 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-586 18:48:42 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp 18:48:42 18:48:42 18:48:42 ---> free -m: 18:48:42 total used free shared buff/cache available 18:48:42 Mem: 1837 672 141 0 1023 1058 18:48:42 Swap: 1023 0 1023 18:48:42 18:48:42 18:48:42 ---> ip addr: 18:48:42 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:48:42 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:48:42 inet 127.0.0.1/8 scope host lo 18:48:42 valid_lft forever preferred_lft forever 18:48:42 6: eth0@if7: mtu 1458 qdisc noqueue state UP 18:48:42 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 18:48:42 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 18:48:42 valid_lft forever preferred_lft forever 18:48:42 18:48:42 18:48:42 ---> sar -b -r -n DEV: 18:48:42 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/18/20 _x86_64_ (4 CPU) 18:48:42 18:48:42 18:40:49 LINUX RESTART (4 CPU) 18:48:42 18:48:42 18:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:48:42 18:43:01 3.21 0.00 3.21 0.00 0.00 105.41 0.00 18:48:42 18:44:01 0.35 0.00 0.35 0.00 0.00 4.73 0.00 18:48:42 18:45:01 0.60 0.00 0.60 0.00 0.00 6.79 0.00 18:48:42 18:46:01 0.67 0.00 0.67 0.00 0.00 9.02 0.00 18:48:42 18:47:01 0.22 0.00 0.22 0.00 0.00 3.25 0.00 18:48:42 18:48:01 0.40 0.02 0.38 0.00 0.13 4.33 0.00 18:48:42 Average: 0.91 0.00 0.90 0.00 0.02 22.25 0.00 18:48:42 18:48:42 18:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:48:42 18:43:01 164564 0 591336 31.43 2620 1123036 1090028 37.20 437776 1119720 12 18:48:42 18:44:01 165472 0 590424 31.38 2620 1123040 1085980 37.06 437972 1119152 8 18:48:42 18:45:01 164300 0 591592 31.44 2620 1123044 1086200 37.07 438904 1119152 20 18:48:42 18:46:01 164320 0 591512 31.44 2620 1123104 1086068 37.07 448768 1109596 24 18:48:42 18:47:01 164852 0 591032 31.41 2620 1123052 1080904 36.89 451488 1106368 12 18:48:42 18:48:01 165072 0 590800 31.40 2620 1123064 1076976 36.76 451916 1106160 16 18:48:42 Average: 164763 0 591116 31.42 2620 1123057 1084359 37.01 444471 1113358 15 18:48:42 18:48:42 18:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:48:42 18:43:01 eth0 3.53 1.32 1.22 0.78 0.00 0.00 0.00 0.00 18:48:42 18:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:44:01 eth0 2.80 0.90 0.95 0.59 0.00 0.00 0.00 0.00 18:48:42 18:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:45:01 eth0 3.48 0.70 1.00 0.59 0.00 0.00 0.00 0.00 18:48:42 18:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:46:01 eth0 1.81 0.35 0.36 0.23 0.00 0.00 0.00 0.00 18:48:42 18:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:47:01 eth0 1.73 0.47 0.51 0.27 0.00 0.00 0.00 0.00 18:48:42 18:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:48:01 eth0 1.92 0.83 0.64 0.38 0.00 0.00 0.00 0.00 18:48:42 18:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 Average: eth0 2.54 0.76 0.78 0.47 0.00 0.00 0.00 0.00 18:48:42 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:48:42 18:48:42 18:48:42 ---> sar -P ALL: 18:48:42 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/18/20 _x86_64_ (4 CPU) 18:48:42 18:48:42 18:40:49 LINUX RESTART (4 CPU) 18:48:42 18:48:42 18:42:01 CPU %user %nice %system %iowait %steal %idle 18:48:42 18:43:01 all 0.19 0.00 0.07 0.00 0.02 99.73 18:48:42 18:43:01 0 0.07 0.00 0.07 0.00 0.02 99.85 18:48:42 18:43:01 1 0.53 0.00 0.05 0.00 0.03 99.38 18:48:42 18:43:01 2 0.10 0.00 0.10 0.00 0.00 99.80 18:48:42 18:43:01 3 0.05 0.00 0.05 0.00 0.02 99.88 18:48:42 18:44:01 all 0.17 0.00 0.05 0.00 0.00 99.77 18:48:42 18:44:01 0 0.40 0.00 0.05 0.00 0.00 99.55 18:48:42 18:44:01 1 0.13 0.00 0.05 0.00 0.00 99.82 18:48:42 18:44:01 2 0.10 0.00 0.07 0.00 0.02 99.82 18:48:42 18:44:01 3 0.05 0.00 0.05 0.00 0.00 99.90 18:48:42 18:45:01 all 0.17 0.00 0.05 0.00 0.08 99.70 18:48:42 18:45:01 0 0.02 0.00 0.02 0.00 0.05 99.92 18:48:42 18:45:01 1 0.53 0.00 0.05 0.00 0.12 99.30 18:48:42 18:45:01 2 0.08 0.00 0.08 0.00 0.12 99.72 18:48:42 18:45:01 3 0.07 0.00 0.03 0.00 0.05 99.85 18:48:42 18:46:01 all 0.15 0.00 0.06 0.00 0.05 99.74 18:48:42 18:46:01 0 0.33 0.00 0.02 0.00 0.02 99.63 18:48:42 18:46:01 1 0.22 0.00 0.07 0.00 0.08 99.63 18:48:42 18:46:01 2 0.03 0.00 0.08 0.00 0.07 99.82 18:48:42 18:46:01 3 0.03 0.00 0.07 0.00 0.03 99.87 18:48:42 18:47:01 all 0.15 0.00 0.07 0.00 0.00 99.78 18:48:42 18:47:01 0 0.47 0.00 0.03 0.00 0.00 99.50 18:48:42 18:47:01 1 0.07 0.00 0.07 0.00 0.00 99.87 18:48:42 18:47:01 2 0.03 0.00 0.13 0.00 0.00 99.83 18:48:42 18:47:01 3 0.03 0.00 0.05 0.00 0.00 99.92 18:48:42 18:48:01 all 0.15 0.00 0.03 0.00 0.00 99.82 18:48:42 18:48:01 0 0.45 0.00 0.02 0.00 0.00 99.53 18:48:42 18:48:01 1 0.03 0.00 0.03 0.00 0.00 99.93 18:48:42 18:48:01 2 0.08 0.00 0.03 0.00 0.00 99.88 18:48:42 18:48:01 3 0.02 0.00 0.03 0.00 0.00 99.95 18:48:42 Average: all 0.16 0.00 0.05 0.00 0.03 99.76 18:48:42 Average: 0 0.29 0.00 0.03 0.00 0.01 99.66 18:48:42 Average: 1 0.25 0.00 0.05 0.00 0.04 99.66 18:48:42 Average: 2 0.07 0.00 0.08 0.00 0.03 99.81 18:48:42 Average: 3 0.04 0.00 0.05 0.00 0.02 99.89 18:48:42 18:48:42 18:48:42