Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 628559142d23fa9d6fe61ea3329529ff5e9788fb+0916c9033c71b8931055140091788f6fe2f32c33 (c5221c3ed5bef79face1f8f0f0a480664715439c) 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 on ‘prd-centos7-docker-4c-2g-581’ Running on prd-centos7-docker-4c-2g-586 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 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb Merge succeeded, producing b984de18a70b0e1eeec19856df0f8a760ba1e0e2 Checking out Revision b984de18a70b0e1eeec19856df0f8a760ba1e0e2 (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 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b984de18a70b0e1eeec19856df0f8a760ba1e0e2 # timeout=10 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk c32e77c47295eebff2be14fc653f9bdef707d5d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:45:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:45:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:45:17 ========================================================= 18:45:17 EdgeX Global Pipelines Version Info 18:45:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:45:19 ------------------- 18:45:19 stable info: 18:45:19 ------------------- 18:45:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:45:19 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:45:19 Message: update stable to v1.0.122 18:45:20 ------------------- 18:45:20 experimental info: 18:45:20 ------------------- 18:45:20 Commited By: **** collab-it+edgex@linuxfoundation.org 18:45:20 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 18:45:20 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:45:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:45:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:45:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:45:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:45:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 18:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 18:45:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 18:45:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b984de18a70b0e1eeec19856df0f8a760ba1e0e2 [Pipeline] echo 18:45:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b984de1 [Pipeline] echo 18:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:24 + git log --format=format:%s -1 b984de18a70b0e1eeec19856df0f8a760ba1e0e2 [Pipeline] echo 18:45:24 GIT_COMMIT: b984de18a70b0e1eeec19856df0f8a760ba1e0e2, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo 18:45:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:25 18:45:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:45:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:26 latest: Pulling from edgex-devops/git-semver 18:45:26 31603596830f: Pulling fs layer 18:45:26 2a8b12db71e7: Pulling fs layer 18:45:26 6ca5941a6612: Pulling fs layer 18:45:26 ecc8261a40a4: Pulling fs layer 18:45:26 ecc8261a40a4: Waiting 18:45:26 2a8b12db71e7: Verifying Checksum 18:45:26 2a8b12db71e7: Download complete 18:45:26 31603596830f: Verifying Checksum 18:45:26 31603596830f: Download complete 18:45:26 6ca5941a6612: Verifying Checksum 18:45:26 6ca5941a6612: Download complete 18:45:26 ecc8261a40a4: Verifying Checksum 18:45:26 ecc8261a40a4: Download complete 18:45:26 31603596830f: Pull complete 18:45:26 2a8b12db71e7: Pull complete 18:45:27 6ca5941a6612: Pull complete 18:45:27 ecc8261a40a4: Pull complete 18:45:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:45:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:45:27 prd-centos7-docker-4c-2g-586 does not seem to be running inside a container 18:45:27 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:45:30 $ docker top f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:45:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:30 [ssh-agent] Looking for ssh-agent implementation... 18:45:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:31 $ docker exec f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 ssh-agent 18:45:31 SSH_AUTH_SOCK=/tmp/ssh-cqd8Y27jgw7v/agent.13 18:45:31 SSH_AGENT_PID=18 18:45:31 Running ssh-add (command line suppressed) 18:45:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2823501905075608357.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2823501905075608357.key) 18:45:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:31 + git describe --exact-match --tags HEAD 18:45:31 fatal: No names found, cannot describe anything. [Pipeline] } 18:45:31 $ docker exec --env ******** --env ******** f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 ssh-agent -k 18:45:31 unset SSH_AUTH_SOCK; 18:45:31 unset SSH_AGENT_PID; 18:45:31 echo Agent pid 18 killed; 18:45:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:45:32 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:45:32 This usually means this commit has not been tagged. [Pipeline] sshagent 18:45:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:32 [ssh-agent] Looking for ssh-agent implementation... 18:45:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:32 $ docker exec f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 ssh-agent 18:45:32 SSH_AUTH_SOCK=/tmp/ssh-4mJcPVIAHmnB/agent.47 18:45:32 SSH_AGENT_PID=52 18:45:32 Running ssh-add (command line suppressed) 18:45:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2334629170249321097.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2334629170249321097.key) 18:45:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:33 + git semver init 18:45:33 # -> Open(): unable to determine branch for HEAD 18:45:33 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.git 18:45:33 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 18:45:33 # $SEMVER_REMOTE_NAME = origin 18:45:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:45:33 # $SEMVER_USER_NAME = edgex-jenkins 18:45:33 # $SEMVER_BRANCH = PR-586 18:45:33 # $SEMVER_TEMP = /tmp/semver-294346900 18:45:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:45:33 # '/tmp/semver-294346900' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' 18:45:33 # -> Force: false 18:45:33 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } 18:45:34 $ docker exec --env ******** --env ******** f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 ssh-agent -k 18:45:34 unset SSH_AUTH_SOCK; 18:45:34 unset SSH_AGENT_PID; 18:45:34 echo Agent pid 52 killed; 18:45:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:45:34 + git semver [Pipeline] } 18:45:34 $ docker stop --time=1 f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 18:45:36 $ docker rm -f f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:45:37 Stashed 38 file(s) [Pipeline] echo 18:45:37 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:45:37 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:45:52 Still waiting to schedule task 18:45:52 Executor slot already in use; ‘prd-centos7-docker-4c-2g-589’ is offline 18:45:52 Still waiting to schedule task 18:45:52 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ 18:46:17 Running on prd-centos7-docker-4c-2g-592 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 18:46:17 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 18:46:20 using credential edgex-jenkins-ssh 18:46:20 Cloning the remote Git repository 18:46:20 Cloning with configured refspecs honoured and without tags 18:46:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:46:20 > git init /w/workspace/device-sdk-go/8 # timeout=10 18:46:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:46:20 > git --version # timeout=10 18:46:20 > git --version # 'git version 2.16.5' 18:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:20 > 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:46:21 Fetching without tags 18:46:21 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 18:46:21 Merge succeeded, producing d5e321e0373dac41fc89138b246bca0f8ec1d3a9 18:46:21 Checking out Revision d5e321e0373dac41fc89138b246bca0f8ec1d3a9 (PR-586) 18:46:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:46:21 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 18:46:21 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:46:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:46:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:21 > 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:46:21 > git config core.sparsecheckout # timeout=10 18:46:21 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 18:46:21 > git remote # timeout=10 18:46:21 > git config --get remote.origin.url # timeout=10 18:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:21 > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 18:46:21 > git rev-parse HEAD^{commit} # timeout=10 18:46:21 > git config core.sparsecheckout # timeout=10 18:46:21 > git checkout -f d5e321e0373dac41fc89138b246bca0f8ec1d3a9 # timeout=10 18:46:25 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" 18:46:25 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 18:46:25 > git rev-list --no-walk c32e77c47295eebff2be14fc653f9bdef707d5d3 # timeout=10 [Pipeline] unstash [Pipeline] echo 18:46:26 ========================================================= 18:46:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:46:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:46:26 + 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:46:27 Sending build context to Docker daemon 3.167MB 18:46:27 Step 1/8 : ARG BASE=golang:1.15-alpine 18:46:27 Step 2/8 : FROM ${BASE} 18:46:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:46:27 df20fa9351a1: Pulling fs layer 18:46:27 ed8968b2872e: Pulling fs layer 18:46:27 a92cc7c5fd73: Pulling fs layer 18:46:27 e871e8e8d7a9: Pulling fs layer 18:46:27 e73272ec9a57: Pulling fs layer 18:46:27 1e910a182e73: Pulling fs layer 18:46:27 4e634b169226: Pulling fs layer 18:46:27 1e910a182e73: Waiting 18:46:27 4e634b169226: Waiting 18:46:27 e871e8e8d7a9: Waiting 18:46:27 e73272ec9a57: Waiting 18:46:27 a92cc7c5fd73: Download complete 18:46:27 ed8968b2872e: Verifying Checksum 18:46:27 ed8968b2872e: Download complete 18:46:27 e73272ec9a57: Download complete 18:46:27 1e910a182e73: Download complete 18:46:28 df20fa9351a1: Download complete 18:46:28 df20fa9351a1: Pull complete 18:46:28 ed8968b2872e: Pull complete 18:46:29 a92cc7c5fd73: Pull complete 18:46:30 4e634b169226: Verifying Checksum 18:46:30 4e634b169226: Download complete 18:46:31 e871e8e8d7a9: Verifying Checksum 18:46:31 e871e8e8d7a9: Download complete 18:46:36 e871e8e8d7a9: Pull complete 18:46:36 e73272ec9a57: Pull complete 18:46:36 1e910a182e73: Pull complete 18:46:41 4e634b169226: Pull complete 18:46:41 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:46:41 ---> f7629b54cfaa 18:46:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:41 ---> Running in 78c2f76e787b 18:46:42 Removing intermediate container 78c2f76e787b 18:46:42 ---> 7a6eb88d8145 18:46:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:42 ---> Running in f420a64b387e 18:46:43 Removing intermediate container f420a64b387e 18:46:43 ---> 88a3c2f35e3c 18:46:43 Step 5/8 : RUN apk add --no-cache make git 18:46:43 ---> Running in bb631abd2e61 18:46:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:46:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:46:45 OK: 166 MiB in 39 packages 18:46:45 Removing intermediate container bb631abd2e61 18:46:45 ---> b33d24ef6f37 18:46:45 Step 6/8 : WORKDIR /device-sdk-go 18:46:45 ---> Running in ee065f88c905 18:46:46 Removing intermediate container ee065f88c905 18:46:46 ---> 549ce686cd9f 18:46:46 Step 7/8 : COPY . . 18:46:47 ---> a71a773fdef5 18:46:47 Step 8/8 : RUN go mod download 18:46:47 ---> Running in db84a4532a38 18:46:57 Removing intermediate container db84a4532a38 18:46:57 ---> dc366db6ade3 18:46:57 Successfully built dc366db6ade3 18:46:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:46:57 + docker inspect -f . ci-base-image-x86_64 18:46:57 . [Pipeline] withDockerContainer 18:46:58 prd-centos7-docker-4c-2g-592 does not seem to be running inside a container 18:46:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:46:59 $ docker top 5545fa2d83e271efed1ac6962f9ee58bcf876246bfb951db08a91dd48d9f4f5c -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:00 + go version 18:47:00 go version go1.15.2 linux/amd64 [Pipeline] } 18:47:00 $ docker stop --time=1 5545fa2d83e271efed1ac6962f9ee58bcf876246bfb951db08a91dd48d9f4f5c 18:47:01 $ docker rm -f 5545fa2d83e271efed1ac6962f9ee58bcf876246bfb951db08a91dd48d9f4f5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:47:02 + docker inspect -f . ci-base-image-x86_64 18:47:02 . [Pipeline] withDockerContainer 18:47:02 prd-centos7-docker-4c-2g-592 does not seem to be running inside a container 18:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:47:03 $ docker top a0cc0250ce02f0d175f8322e618be352ac0f78941356aa9ea3492f9fca22c92f -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:03 + make test 18:47:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:47:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:47:22 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:47:22 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:47:22 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:47:22 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.032s coverage: 21.0% of statements 18:47:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.412s coverage: 95.7% of statements 18:47:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.043s coverage: 8.6% of statements 18:47:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.033s coverage: 21.7% of statements 18:47:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:47:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.175s coverage: 37.0% of statements 18:47:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:47:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.259s coverage: 65.4% of statements 18:47:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:47:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:47:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:47:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.110s coverage: 52.6% of statements 18:47:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.319s coverage: 68.9% of statements 18:47:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:47:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:47:56 GO111MODULE=on go vet ./... 18:48:02 gofmt -l . 18:48:02 [ "`gofmt -l .`" = "" ] 18:48:02 ./bin/test-attribution-txt.sh 18:48:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-595 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { 18:48:02 ./bin/test-go-mod-tidy.sh [Pipeline] ws 18:48:02 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [Pipeline] stash 18:48:03 Stashed 1 file(s) [Pipeline] } 18:48:03 $ docker stop --time=1 a0cc0250ce02f0d175f8322e618be352ac0f78941356aa9ea3492f9fca22c92f 18:48:05 $ docker rm -f a0cc0250ce02f0d175f8322e618be352ac0f78941356aa9ea3492f9fca22c92f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:48:07 + ls -al . 18:48:07 total 188 18:48:07 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:48 . 18:48:07 drwxrwxr-x. 4 jenkins jenkins 28 Sep 20 18:46 .. 18:48:07 drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:46 bin 18:48:07 -rw-r--r--. 1 jenkins jenkins 111785 Sep 20 18:47 coverage.out 18:48:07 -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:46 Dockerfile.build 18:48:07 -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:46 .dockerignore 18:48:07 drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:46 example 18:48:07 drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:46 .git 18:48:07 drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:46 .github 18:48:07 -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:46 .gitignore 18:48:07 -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:48 go.mod 18:48:07 -rw-r--r--. 1 jenkins jenkins 12179 Sep 20 18:48 go.sum 18:48:07 drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:46 internal 18:48:07 -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:46 Jenkinsfile 18:48:07 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:46 LICENSE 18:48:07 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:46 Makefile 18:48:07 drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:46 openapi 18:48:07 drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:46 pkg 18:48:07 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:46 README.md 18:48:07 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:46 RELEASE-NOTES.txt 18:48:07 drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:46 .semver 18:48:07 drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:46 snap 18:48:07 -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:45 VERSION 18:48:07 -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:46 version.go [Pipeline] isUnix [Pipeline] sh 18:48:07 + 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=b984de18a70b0e1eeec19856df0f8a760ba1e0e2 --label arch=amd64 --label version=0.0.0 . 18:48:07 Sending build context to Docker daemon 3.281MB 18:48:07 Step 1/24 : ARG BASE=golang:1.15-alpine 18:48:07 Step 2/24 : FROM ${BASE} AS builder 18:48:07 ---> dc366db6ade3 18:48:07 Step 3/24 : ARG MAKE='make build' 18:48:08 using credential edgex-jenkins-ssh 18:48:08 ---> Running in 30a05a6b7e2a 18:48:08 Removing intermediate container 30a05a6b7e2a 18:48:08 ---> 2297a86dd689 18:48:08 Step 4/24 : WORKDIR /device-sdk-go 18:48:08 ---> Running in 9b8cca271923 18:48:08 Cloning the remote Git repository 18:48:08 Cloning with configured refspecs honoured and without tags 18:48:08 Removing intermediate container 9b8cca271923 18:48:08 ---> d90f692dce6c 18:48:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:48:08 ---> Running in 88bf39d69374 18:48:08 Removing intermediate container 88bf39d69374 18:48:08 ---> b87b5c00b49b 18:48:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:48:08 ---> Running in abb863aff457 18:48:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:48:08 > git init /w/workspace/device-sdk-go/8 # timeout=10 18:48:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:48:08 > git --version # timeout=10 18:48:08 > git --version # 'git version 2.17.1' 18:48:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:08 > 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:48:09 Fetching without tags 18:48:09 Removing intermediate container abb863aff457 18:48:09 ---> 5fe8fd33230d 18:48:09 Step 7/24 : RUN apk add --update --no-cache make git 18:48:09 ---> Running in 7dbddd16b23a 18:48:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:48:10 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 18:48:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:48:09 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 18:48:09 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:48:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:48:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:09 > 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:48:10 > git config core.sparsecheckout # timeout=10 18:48:10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 18:48:10 > git remote # timeout=10 18:48:10 Merge succeeded, producing 0b571e384ea1909374a23e72224d81eeb1d51ab2 18:48:10 Checking out Revision 0b571e384ea1909374a23e72224d81eeb1d51ab2 (PR-586) 18:48:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:48:11 OK: 166 MiB in 39 packages 18:48:10 > git config --get remote.origin.url # timeout=10 18:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:10 > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 18:48:10 > git rev-parse HEAD^{commit} # timeout=10 18:48:10 > git config core.sparsecheckout # timeout=10 18:48:10 > git checkout -f 0b571e384ea1909374a23e72224d81eeb1d51ab2 # timeout=10 18:48:12 Removing intermediate container 7dbddd16b23a 18:48:12 ---> 460c1f37fb6d 18:48:12 Step 8/24 : COPY . . 18:48:13 ---> 5bfa9382693a 18:48:13 Step 9/24 : RUN ${MAKE} 18:48:13 ---> Running in b0af6d510574 18:48:13 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:14 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" 18:48:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:48:14 > git rev-list --no-walk c32e77c47295eebff2be14fc653f9bdef707d5d3 # timeout=10 [Pipeline] echo 18:48:16 ========================================================= 18:48:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:48:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:48:17 + 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:48:18 Sending build context to Docker daemon 3.165MB 18:48:18 Step 1/8 : ARG BASE=golang:1.15-alpine 18:48:18 Step 2/8 : FROM ${BASE} 18:48:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:48:18 b538f80385f9: Pulling fs layer 18:48:18 74f711af9a0d: Pulling fs layer 18:48:18 99f96fe45779: Pulling fs layer 18:48:18 8529a6b9a6be: Pulling fs layer 18:48:18 45590311c82a: Pulling fs layer 18:48:18 69ca0ff8b7b3: Pulling fs layer 18:48:18 209524e5b208: Pulling fs layer 18:48:18 8529a6b9a6be: Waiting 18:48:18 45590311c82a: Waiting 18:48:18 69ca0ff8b7b3: Waiting 18:48:18 209524e5b208: Waiting 18:48:18 99f96fe45779: Verifying Checksum 18:48:18 99f96fe45779: Download complete 18:48:18 74f711af9a0d: Verifying Checksum 18:48:18 74f711af9a0d: Download complete 18:48:19 45590311c82a: Verifying Checksum 18:48:19 45590311c82a: Download complete 18:48:19 69ca0ff8b7b3: Verifying Checksum 18:48:19 69ca0ff8b7b3: Download complete 18:48:19 b538f80385f9: Verifying Checksum 18:48:19 b538f80385f9: Download complete 18:48:19 b538f80385f9: Pull complete 18:48:20 74f711af9a0d: Pull complete 18:48:20 209524e5b208: Download complete 18:48:20 99f96fe45779: Pull complete 18:48:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:48:22 8529a6b9a6be: Download complete 18:48:22 Removing intermediate container b0af6d510574 18:48:22 ---> 25703b31179d 18:48:22 Step 10/24 : FROM scratch 18:48:22 ---> 18:48:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:48:22 ---> Running in f300f9774d20 18:48:22 Removing intermediate container f300f9774d20 18:48:22 ---> 565bbf65e6d9 18:48:22 Step 12/24 : ENV APP_PORT=49990 18:48:23 ---> Running in 8526a8655320 18:48:23 Removing intermediate container 8526a8655320 18:48:23 ---> 59e28c4c7d8e 18:48:23 Step 13/24 : EXPOSE $APP_PORT 18:48:23 ---> Running in fcd6791bc58f 18:48:23 Removing intermediate container fcd6791bc58f 18:48:23 ---> 0deaea47432e 18:48:23 Step 14/24 : WORKDIR / 18:48:23 ---> Running in 2aff401951f5 18:48:23 Removing intermediate container 2aff401951f5 18:48:23 ---> d4d046aceca5 18:48:23 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:48:23 ---> 62c57bfb49ef 18:48:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:48:24 ---> 4ef3587200a5 18:48:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:48:24 ---> eaeb1f0999e9 18:48:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:48:24 ---> eef4d8454b9b 18:48:24 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:48:24 ---> e2d31b49a2f2 18:48:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:48:24 ---> Running in 93c1bfb47054 18:48:25 Removing intermediate container 93c1bfb47054 18:48:25 ---> 2760ed2e052b 18:48:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:48:25 ---> Running in 8c3de9bdb26f 18:48:25 Removing intermediate container 8c3de9bdb26f 18:48:25 ---> f744b8d2a79c 18:48:25 Step 22/24 : LABEL arch=amd64 18:48:25 ---> Running in f7b6d07568d3 18:48:25 Removing intermediate container f7b6d07568d3 18:48:25 ---> 3b2211856158 18:48:25 Step 23/24 : LABEL git_sha=b984de18a70b0e1eeec19856df0f8a760ba1e0e2 18:48:25 ---> Running in 41512c561fbc 18:48:25 Removing intermediate container 41512c561fbc 18:48:25 ---> 74b7936ed9a5 18:48:25 Step 24/24 : LABEL version=0.0.0 18:48:26 ---> Running in 233d82efe33f 18:48:26 Removing intermediate container 233d82efe33f 18:48:26 ---> d4fc1a5eb542 18:48:26 [Warning] One or more build-args [ARCH] were not consumed 18:48:26 Successfully built d4fc1a5eb542 18:48:26 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:48:32 8529a6b9a6be: Pull complete 18:48:32 45590311c82a: Pull complete 18:48:32 69ca0ff8b7b3: Pull complete 18:48:36 209524e5b208: Pull complete 18:48:36 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:48:36 ---> 5bddaf1c2fca 18:48:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:48:39 ---> Running in 2ce2c33057b3 18:48:39 Removing intermediate container 2ce2c33057b3 18:48:39 ---> c44dec88030a 18:48:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:48:39 ---> Running in 3204e439afbf 18:48:42 Removing intermediate container 3204e439afbf 18:48:42 ---> 2621e1635da5 18:48:42 Step 5/8 : RUN apk add --no-cache make git 18:48:42 ---> Running in 92ba4932f81d 18:48:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:48:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:48:48 OK: 142 MiB in 39 packages 18:48:49 Removing intermediate container 92ba4932f81d 18:48:49 ---> d4832da2d836 18:48:49 Step 6/8 : WORKDIR /device-sdk-go 18:48:49 ---> Running in a6a472cb6d35 18:48:50 Removing intermediate container a6a472cb6d35 18:48:50 ---> 40bc46b33c04 18:48:50 Step 7/8 : COPY . . 18:48:52 ---> d20333c8e61f 18:48:52 Step 8/8 : RUN go mod download 18:48:52 ---> Running in 3625d2026b0a 18:49:07 Removing intermediate container 3625d2026b0a 18:49:07 ---> 36546c7987d8 18:49:07 Successfully built 36546c7987d8 18:49:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:49:07 + docker inspect -f . ci-base-image-arm64 18:49:07 . [Pipeline] withDockerContainer 18:49:07 prd-ubuntu18.04-docker-arm64-4c-16g-595 does not seem to be running inside a container 18:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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:49:09 $ docker top 5c66c034270ccfd2b64bdd27e1a27fc757609812008728b49ff856a383d34c01 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:11 + go version 18:49:11 go version go1.15.2 linux/arm64 [Pipeline] } 18:49:11 $ docker stop --time=1 5c66c034270ccfd2b64bdd27e1a27fc757609812008728b49ff856a383d34c01 18:49:13 $ docker rm -f 5c66c034270ccfd2b64bdd27e1a27fc757609812008728b49ff856a383d34c01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:49:14 + docker inspect -f . ci-base-image-arm64 18:49:14 . [Pipeline] withDockerContainer 18:49:14 prd-ubuntu18.04-docker-arm64-4c-16g-595 does not seem to be running inside a container 18:49:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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:49:16 $ docker top 9e868dff5a7c44d64f690198592a100f55a85f8688cd70a1b5dbb8a3fa10a8f8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:18 + make test 18:49:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:49:40 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:50:19 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:50:19 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:50:19 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:50:19 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 21.0% of statements 18:50:20 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.324s coverage: 95.7% of statements 18:50:52 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 8.6% of statements 18:50:52 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.7% of statements 18:50:52 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:50:52 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.483s coverage: 37.0% of statements 18:50:52 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:50:52 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.721s coverage: 65.4% of statements 18:50:52 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:50:52 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:50:52 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:50:52 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.150s coverage: 52.6% of statements 18:50:52 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.966s coverage: 68.9% of statements 18:50:52 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:50:52 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:50:52 GO111MODULE=on go vet ./... 18:51:25 gofmt -l . 18:51:25 [ "`gofmt -l .`" = "" ] 18:51:25 ./bin/test-attribution-txt.sh 18:51:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:51:25 Warning: overwriting stash ‘coverage-report’ 18:51:26 Stashed 1 file(s) [Pipeline] } 18:51:26 $ docker stop --time=1 9e868dff5a7c44d64f690198592a100f55a85f8688cd70a1b5dbb8a3fa10a8f8 18:51:28 $ docker rm -f 9e868dff5a7c44d64f690198592a100f55a85f8688cd70a1b5dbb8a3fa10a8f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:51:30 + ls -al . 18:51:30 total 228 18:51:30 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:51 . 18:51:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:48 .. 18:51:30 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:48 .dockerignore 18:51:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:48 .git 18:51:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:48 .github 18:51:30 -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:48 .gitignore 18:51:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:48 .semver 18:51:30 -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:48 Dockerfile.build 18:51:30 -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:48 Jenkinsfile 18:51:30 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:48 LICENSE 18:51:30 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:48 Makefile 18:51:30 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:48 README.md 18:51:30 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:48 RELEASE-NOTES.txt 18:51:30 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:45 VERSION 18:51:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:48 bin 18:51:30 -rw-r--r-- 1 jenkins jenkins 111785 Sep 20 18:50 coverage.out 18:51:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:48 example 18:51:30 -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:51 go.mod 18:51:30 -rw-r--r-- 1 jenkins jenkins 12179 Sep 20 18:51 go.sum 18:51:30 drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:48 internal 18:51:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:48 openapi 18:51:30 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:48 pkg 18:51:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:48 snap 18:51:30 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:48 version.go [Pipeline] isUnix [Pipeline] sh 18:51:30 + 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=b984de18a70b0e1eeec19856df0f8a760ba1e0e2 --label arch=arm64 --label version=0.0.0 . 18:51:31 Sending build context to Docker daemon 3.279MB 18:51:31 Step 1/24 : ARG BASE=golang:1.15-alpine 18:51:31 Step 2/24 : FROM ${BASE} AS builder 18:51:31 ---> 36546c7987d8 18:51:31 Step 3/24 : ARG MAKE='make build' 18:51:31 ---> Running in 50654e3eebaa 18:51:31 Removing intermediate container 50654e3eebaa 18:51:31 ---> 71cde343867d 18:51:31 Step 4/24 : WORKDIR /device-sdk-go 18:51:32 ---> Running in c8ce34b59f69 18:51:32 Removing intermediate container c8ce34b59f69 18:51:32 ---> 106e1699ad9d 18:51:32 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:51:32 ---> Running in f1e13c9ff66c 18:51:33 Removing intermediate container f1e13c9ff66c 18:51:33 ---> 3d0f9153f32f 18:51:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:51:33 ---> Running in b4faf4ac722c 18:51:35 Removing intermediate container b4faf4ac722c 18:51:35 ---> 9f5c1035019e 18:51:35 Step 7/24 : RUN apk add --update --no-cache make git 18:51:36 ---> Running in 0c621e2570a8 18:51:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:51:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:51:39 OK: 142 MiB in 39 packages 18:51:40 Removing intermediate container 0c621e2570a8 18:51:40 ---> b096feacd1cc 18:51:40 Step 8/24 : COPY . . 18:51:41 ---> fb231070e402 18:51:41 Step 9/24 : RUN ${MAKE} 18:51:41 ---> Running in 2f28fb5251aa 18:51:43 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:52:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:52:10 Removing intermediate container 2f28fb5251aa 18:52:10 ---> 6c7bd91c8727 18:52:10 Step 10/24 : FROM scratch 18:52:10 ---> 18:52:10 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:52:10 ---> Running in e211303a03a5 18:52:11 Removing intermediate container e211303a03a5 18:52:11 ---> 9f03648c8901 18:52:11 Step 12/24 : ENV APP_PORT=49990 18:52:11 ---> Running in e836b775a4bf 18:52:11 Removing intermediate container e836b775a4bf 18:52:11 ---> 9042b2e1056b 18:52:11 Step 13/24 : EXPOSE $APP_PORT 18:52:12 ---> Running in 480c2c0d45e2 18:52:12 Removing intermediate container 480c2c0d45e2 18:52:12 ---> 56088d78d95e 18:52:12 Step 14/24 : WORKDIR / 18:52:12 ---> Running in 5055ae72756d 18:52:13 Removing intermediate container 5055ae72756d 18:52:13 ---> 9b9d919589f9 18:52:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:52:14 ---> 58435bcbdec9 18:52:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:52:14 ---> 8ef2b8870464 18:52:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:52:15 ---> b00faf05e462 18:52:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:52:16 ---> 557314718af3 18:52:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:52:17 ---> b2b4291aa603 18:52:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:52:17 ---> Running in 853fcab859eb 18:52:17 Removing intermediate container 853fcab859eb 18:52:17 ---> ce233270b2c1 18:52:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:52:17 ---> Running in b5689aae636c 18:52:18 Removing intermediate container b5689aae636c 18:52:18 ---> af3d8b0da1c7 18:52:18 Step 22/24 : LABEL arch=arm64 18:52:18 ---> Running in 63f22b786e02 18:52:18 Removing intermediate container 63f22b786e02 18:52:18 ---> d7319a30daca 18:52:18 Step 23/24 : LABEL git_sha=b984de18a70b0e1eeec19856df0f8a760ba1e0e2 18:52:19 ---> Running in 0ac4ba2626cf 18:52:19 Removing intermediate container 0ac4ba2626cf 18:52:19 ---> 6042f33374a7 18:52:19 Step 24/24 : LABEL version=0.0.0 18:52:19 ---> Running in 0291a0c5193e 18:52:20 Removing intermediate container 0291a0c5193e 18:52:20 ---> ac6018656e59 18:52:20 [Warning] One or more build-args [ARCH] were not consumed 18:52:20 Successfully built ac6018656e59 18:52:20 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:52:22 provisioning config files... 18:52:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2937816192592005220tmp [Pipeline] { [Pipeline] sh 18:52:22 + curl -s https://codecov.io/bash 18:52:22 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2937816192592005220tmp [Pipeline] } 18:52:22 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:52:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:25 ---> package-listing.sh 18:52:25 ++ tr '[:upper:]' '[:lower:]' 18:52:25 ++ facter osfamily 18:52:25 + OS_FAMILY=redhat 18:52:25 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 18:52:25 + START_PACKAGES=/tmp/packages_start.txt 18:52:25 + END_PACKAGES=/tmp/packages_end.txt 18:52:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:25 + PACKAGES=/tmp/packages_start.txt 18:52:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 18:52:25 + PACKAGES=/tmp/packages_end.txt 18:52:25 + case "${OS_FAMILY}" in 18:52:25 + rpm -qa 18:52:25 + sort 18:52:29 + '[' -f /tmp/packages_start.txt ']' 18:52:29 + '[' -f /tmp/packages_end.txt ']' 18:52:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 18:52:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ 18:52:29 + 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:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:30 18:52:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:52:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:30 alpine: Pulling from edgex-lftools-log-publisher 18:52:30 df20fa9351a1: Pulling fs layer 18:52:30 36b3adc4ff6f: Pulling fs layer 18:52:30 8ad3a11d3b57: Pulling fs layer 18:52:30 46f8f816bc3b: Pulling fs layer 18:52:30 0dadc02b9964: Pulling fs layer 18:52:30 ce6a7cf60c04: Pulling fs layer 18:52:30 7a184a31f384: Pulling fs layer 18:52:30 0879bd2ef858: Pulling fs layer 18:52:30 0dadc02b9964: Waiting 18:52:30 ce6a7cf60c04: Waiting 18:52:30 7a184a31f384: Waiting 18:52:30 0879bd2ef858: Waiting 18:52:30 46f8f816bc3b: Waiting 18:52:30 36b3adc4ff6f: Verifying Checksum 18:52:30 36b3adc4ff6f: Download complete 18:52:30 46f8f816bc3b: Verifying Checksum 18:52:30 46f8f816bc3b: Download complete 18:52:30 df20fa9351a1: Verifying Checksum 18:52:30 df20fa9351a1: Download complete 18:52:30 ce6a7cf60c04: Verifying Checksum 18:52:30 ce6a7cf60c04: Download complete 18:52:30 0dadc02b9964: Verifying Checksum 18:52:30 0dadc02b9964: Download complete 18:52:30 7a184a31f384: Verifying Checksum 18:52:30 7a184a31f384: Download complete 18:52:31 8ad3a11d3b57: Verifying Checksum 18:52:31 8ad3a11d3b57: Download complete 18:52:31 df20fa9351a1: Pull complete 18:52:31 36b3adc4ff6f: Pull complete 18:52:31 0879bd2ef858: Verifying Checksum 18:52:31 0879bd2ef858: Download complete 18:52:31 8ad3a11d3b57: Pull complete 18:52:32 46f8f816bc3b: Pull complete 18:52:32 0dadc02b9964: Pull complete 18:52:32 ce6a7cf60c04: Pull complete 18:52:32 7a184a31f384: Pull complete 18:52:34 0879bd2ef858: Pull complete 18:52:34 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:52:35 prd-centos7-docker-4c-2g-586 does not seem to be running inside a container 18:52:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:52:41 $ docker top ff1d69d5ddb58fab37f943c41a513b9becc65559cb35459fa0c9fa84669c22a2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:41 + mkdir -p /var/log/sa [Pipeline] sh 18:52:42 + ls /var/log/sa-host 18:52:42 + sadf -c /var/log/sa-host/sa05 18:52:42 file_magic: OK 18:52:42 HZ: Using current value: 100 18:52:42 file_header: OK 18:52:42 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:52:42 Statistics: 18:52:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:52:42 File successfully converted to sysstat format version 12.2.1 18:52:42 + sadf -c /var/log/sa-host/sa20 18:52:42 file_magic: OK 18:52:42 HZ: Using current value: 100 18:52:42 file_header: OK 18:52:42 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:52:42 Statistics: 18:52:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:52:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:42 provisioning config files... 18:52:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config8770723028744312441tmp [Pipeline] { [Pipeline] echo 18:52:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:42 ---> create-netrc.sh [Pipeline] echo 18:52:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:42 ---> logs-deploy.sh 18:52:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/8 18:52:42 INFO: archiving workspace using pattern(s): 18:52:44 Archives upload complete. 18:52:44 INFO: archiving logs to Nexus