Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b2c68ec273215b3839fa79913927ed9c700821ef+0916c9033c71b8931055140091788f6fe2f32c33 (910548fcd6c4c4583cc4d5ba86632f1b494b9d63) 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-587 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # 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 Merge succeeded, producing 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e Checking out Revision 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e (PR-582) > git config core.sparsecheckout # timeout=10 > git checkout -f 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e # timeout=10 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:46:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:46:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:46:11 ========================================================= 18:46:11 EdgeX Global Pipelines Version Info 18:46:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 35fb68b0c638eb5638d5346290494b848dd826c3 # timeout=10 18:46:16 ------------------- 18:46:16 stable info: 18:46:16 ------------------- 18:46:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:46:16 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:46:16 Message: update stable to v1.0.122 18:46:17 ------------------- 18:46:17 experimental info: 18:46:17 ------------------- 18:46:17 Commited By: **** collab-it+edgex@linuxfoundation.org 18:46:17 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 18:46:17 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:46:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:46:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:46:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:46:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:46:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:46:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:46:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:46:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:46:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 18:46:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 18:46:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 18:46:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e [Pipeline] echo 18:46:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17a85bb [Pipeline] echo 18:46:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:22 + git log --format=format:%s -1 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e [Pipeline] echo 18:46:23 GIT_COMMIT: 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo 18:46:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:46:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:46:25 18:46:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:46:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:46:26 latest: Pulling from edgex-devops/git-semver 18:46:26 31603596830f: Pulling fs layer 18:46:26 2a8b12db71e7: Pulling fs layer 18:46:26 6ca5941a6612: Pulling fs layer 18:46:26 ecc8261a40a4: Pulling fs layer 18:46:26 ecc8261a40a4: Waiting 18:46:26 2a8b12db71e7: Verifying Checksum 18:46:26 2a8b12db71e7: Download complete 18:46:28 31603596830f: Verifying Checksum 18:46:28 31603596830f: Download complete 18:46:29 ecc8261a40a4: Verifying Checksum 18:46:29 ecc8261a40a4: Download complete 18:46:29 6ca5941a6612: Verifying Checksum 18:46:29 6ca5941a6612: Download complete 18:46:29 31603596830f: Pull complete 18:46:29 2a8b12db71e7: Pull complete 18:46:31 6ca5941a6612: Pull complete 18:46:32 ecc8261a40a4: Pull complete 18:46:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:46:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:46:34 prd-centos7-docker-4c-2g-587 does not seem to be running inside a container 18:46:34 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:46:40 $ docker top 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:46:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:41 [ssh-agent] Looking for ssh-agent implementation... 18:46:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:42 $ docker exec 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e ssh-agent 18:46:44 SSH_AUTH_SOCK=/tmp/ssh-r02yTpWXDJ6u/agent.11 18:46:44 SSH_AGENT_PID=16 18:46:44 Running ssh-add (command line suppressed) 18:46:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5290627997152685422.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5290627997152685422.key) 18:46:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:46 + git describe --exact-match --tags HEAD 18:46:46 fatal: No names found, cannot describe anything. [Pipeline] } 18:46:46 $ docker exec --env ******** --env ******** 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e ssh-agent -k 18:46:47 unset SSH_AUTH_SOCK; 18:46:47 unset SSH_AGENT_PID; 18:46:47 echo Agent pid 16 killed; 18:46:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:46:47 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:46:47 This usually means this commit has not been tagged. [Pipeline] sshagent 18:46:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:47 [ssh-agent] Looking for ssh-agent implementation... 18:46:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:48 $ docker exec 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e ssh-agent 18:46:48 SSH_AUTH_SOCK=/tmp/ssh-fwFNidV1tdyA/agent.44 18:46:48 SSH_AGENT_PID=49 18:46:48 Running ssh-add (command line suppressed) 18:46:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3885148890807142933.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3885148890807142933.key) 18:46:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:50 + git semver init 18:46:50 # -> Open(): unable to determine branch for HEAD 18:46:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 18:46:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 18:46:50 # $SEMVER_REMOTE_NAME = origin 18:46:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:46:50 # $SEMVER_USER_NAME = edgex-jenkins 18:46:50 # $SEMVER_BRANCH = PR-582 18:46:50 # $SEMVER_TEMP = /tmp/semver-477815914 18:46:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:46:52 # '/tmp/semver-477815914' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 18:46:52 # -> Force: false 18:46:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 18:46:52 $ docker exec --env ******** --env ******** 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e ssh-agent -k 18:46:52 unset SSH_AUTH_SOCK; 18:46:52 unset SSH_AGENT_PID; 18:46:52 echo Agent pid 49 killed; 18:46:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:46:53 + git semver [Pipeline] } 18:46:54 $ docker stop --time=1 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e 18:46:56 $ docker rm -f 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:46:59 Stashed 38 file(s) [Pipeline] echo 18:46:59 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:46:59 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:47:15 Still waiting to schedule task 18:47:15 ‘prd-centos7-docker-4c-2g-590’ is offline; ‘prd-centos7-docker-4c-2g-593’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ doesn’t have label ‘centos7-docker-4c-2g’ 18:47:15 Still waiting to schedule task 18:47:15 ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ is offline 18:48:15 Running on prd-centos7-docker-4c-2g-596 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 18:48:15 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 18:48:27 using credential edgex-jenkins-ssh 18:48:27 Cloning the remote Git repository 18:48:27 Cloning with configured refspecs honoured and without tags 18:48:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:48:27 > git init /w/workspace/device-sdk-go/8 # timeout=10 18:48:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:48:27 > git --version # timeout=10 18:48:27 > git --version # 'git version 2.16.5' 18:48:27 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:29 Fetching without tags 18:48:29 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef 18:48:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:48:29 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 18:48:29 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:48:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:48:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:30 Merge succeeded, producing 10a0a5e36d12888206dd96684673685d60826325 18:48:30 Checking out Revision 10a0a5e36d12888206dd96684673685d60826325 (PR-582) 18:48:29 > git config core.sparsecheckout # timeout=10 18:48:29 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 18:48:30 > git remote # timeout=10 18:48:30 > git config --get remote.origin.url # timeout=10 18:48:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:30 > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 18:48:30 > git rev-parse HEAD^{commit} # timeout=10 18:48:30 > git config core.sparsecheckout # timeout=10 18:48:30 > git checkout -f 10a0a5e36d12888206dd96684673685d60826325 # timeout=10 18:48:34 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" 18:48:34 > git rev-list --no-walk 35fb68b0c638eb5638d5346290494b848dd826c3 # timeout=10 18:48:34 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:48:36 ========================================================= 18:48:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:48:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:48:38 + 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:48:38 Sending build context to Docker daemon 3.167MB 18:48:38 Step 1/8 : ARG BASE=golang:1.15-alpine 18:48:38 Step 2/8 : FROM ${BASE} 18:48:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:48:39 df20fa9351a1: Pulling fs layer 18:48:39 ed8968b2872e: Pulling fs layer 18:48:39 a92cc7c5fd73: Pulling fs layer 18:48:39 e871e8e8d7a9: Pulling fs layer 18:48:39 e73272ec9a57: Pulling fs layer 18:48:39 1e910a182e73: Pulling fs layer 18:48:39 4e634b169226: Pulling fs layer 18:48:39 e871e8e8d7a9: Waiting 18:48:39 e73272ec9a57: Waiting 18:48:39 1e910a182e73: Waiting 18:48:39 4e634b169226: Waiting 18:48:39 a92cc7c5fd73: Verifying Checksum 18:48:39 a92cc7c5fd73: Download complete 18:48:39 ed8968b2872e: Verifying Checksum 18:48:39 ed8968b2872e: Download complete 18:48:39 e73272ec9a57: Verifying Checksum 18:48:39 e73272ec9a57: Download complete 18:48:39 1e910a182e73: Verifying Checksum 18:48:39 1e910a182e73: Download complete 18:48:39 df20fa9351a1: Verifying Checksum 18:48:39 df20fa9351a1: Download complete 18:48:40 df20fa9351a1: Pull complete 18:48:41 ed8968b2872e: Pull complete 18:48:41 a92cc7c5fd73: Pull complete 18:48:47 4e634b169226: Verifying Checksum 18:48:47 4e634b169226: Download complete 18:48:48 e871e8e8d7a9: Verifying Checksum 18:48:48 e871e8e8d7a9: Download complete 18:49:04 e871e8e8d7a9: Pull complete 18:49:04 e73272ec9a57: Pull complete 18:49:04 1e910a182e73: Pull complete 18:49:10 4e634b169226: Pull complete 18:49:10 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:49:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:49:10 ---> f7629b54cfaa 18:49:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:10 ---> Running in 0608e83a4f9a 18:49:10 Removing intermediate container 0608e83a4f9a 18:49:10 ---> 6c22819e2676 18:49:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:49:10 ---> Running in aa58af57e86a 18:49:13 Removing intermediate container aa58af57e86a 18:49:13 ---> a0477d66d1fe 18:49:13 Step 5/8 : RUN apk add --no-cache make git 18:49:13 ---> Running in d8ee897ef2ef 18:49:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:49:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:49:15 OK: 166 MiB in 39 packages 18:49:16 Removing intermediate container d8ee897ef2ef 18:49:16 ---> cd6d95b6f856 18:49:16 Step 6/8 : WORKDIR /device-sdk-go 18:49:16 ---> Running in 0921f89d3f54 18:49:16 Removing intermediate container 0921f89d3f54 18:49:16 ---> e3a78218b9b6 18:49:16 Step 7/8 : COPY . . 18:49:18 ---> e83607e7fd60 18:49:18 Step 8/8 : RUN go mod download 18:49:18 ---> Running in 2ee017197d3c 18:49:42 Removing intermediate container 2ee017197d3c 18:49:42 ---> 9078ea9f0957 18:49:42 Successfully built 9078ea9f0957 18:49:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:49:43 + docker inspect -f . ci-base-image-x86_64 18:49:43 . [Pipeline] withDockerContainer 18:49:44 prd-centos7-docker-4c-2g-596 does not seem to be running inside a container 18:49:44 $ 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-x86_64 cat 18:49:47 $ docker top 4566baf4fcc52dd748dd07eea1a02162755290cb4c687b36df4d37f19891c811 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:48 + go version 18:49:48 go version go1.15.2 linux/amd64 [Pipeline] } 18:49:48 $ docker stop --time=1 4566baf4fcc52dd748dd07eea1a02162755290cb4c687b36df4d37f19891c811 18:49:51 $ docker rm -f 4566baf4fcc52dd748dd07eea1a02162755290cb4c687b36df4d37f19891c811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:49:52 + docker inspect -f . ci-base-image-x86_64 18:49:52 . [Pipeline] withDockerContainer 18:49:53 prd-centos7-docker-4c-2g-596 does not seem to be running inside a container 18:49:53 $ 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-x86_64 cat 18:49:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-600 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 18:49:54 $ docker top 878f229d7eb2efab1b939126c92ad406e3bf1b5ca68a9e7069575a2c21b3d571 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 18:49:55 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 18:49:55 + make test 18:49:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:50:00 using credential edgex-jenkins-ssh 18:50:01 Cloning the remote Git repository 18:50:01 Cloning with configured refspecs honoured and without tags 18:50:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:50:01 > git init /w/workspace/device-sdk-go/8 # timeout=10 18:50:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:50:01 > git --version # timeout=10 18:50:01 > git --version # 'git version 2.17.1' 18:50:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:50:03 Fetching without tags 18:50:03 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef 18:50:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:50:03 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 18:50:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:50:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:50:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:50:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:50:04 > git config core.sparsecheckout # timeout=10 18:50:04 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 18:50:04 > git remote # timeout=10 18:50:04 > git config --get remote.origin.url # timeout=10 18:50:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:04 Merge succeeded, producing 2e23d0e2d237e4f8971edfa7c395d596155544be 18:50:04 Checking out Revision 2e23d0e2d237e4f8971edfa7c395d596155544be (PR-582) 18:50:04 > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 18:50:04 > git rev-parse HEAD^{commit} # timeout=10 18:50:04 > git config core.sparsecheckout # timeout=10 18:50:04 > git checkout -f 2e23d0e2d237e4f8971edfa7c395d596155544be # timeout=10 18:50:08 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" 18:50:08 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:50:10 ========================================================= 18:50:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:50:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:50:08 > git rev-list --no-walk 35fb68b0c638eb5638d5346290494b848dd826c3 # timeout=10 18:50:11 + 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:50:12 Sending build context to Docker daemon 3.167MB 18:50:12 Step 1/8 : ARG BASE=golang:1.15-alpine 18:50:12 Step 2/8 : FROM ${BASE} 18:50:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:50:12 b538f80385f9: Pulling fs layer 18:50:12 74f711af9a0d: Pulling fs layer 18:50:12 99f96fe45779: Pulling fs layer 18:50:12 8529a6b9a6be: Pulling fs layer 18:50:12 45590311c82a: Pulling fs layer 18:50:12 69ca0ff8b7b3: Pulling fs layer 18:50:12 209524e5b208: Pulling fs layer 18:50:12 8529a6b9a6be: Waiting 18:50:12 45590311c82a: Waiting 18:50:12 69ca0ff8b7b3: Waiting 18:50:12 209524e5b208: Waiting 18:50:12 99f96fe45779: Verifying Checksum 18:50:12 99f96fe45779: Download complete 18:50:12 74f711af9a0d: Verifying Checksum 18:50:12 74f711af9a0d: Download complete 18:50:12 45590311c82a: Verifying Checksum 18:50:12 45590311c82a: Download complete 18:50:12 69ca0ff8b7b3: Verifying Checksum 18:50:12 69ca0ff8b7b3: Download complete 18:50:13 b538f80385f9: Verifying Checksum 18:50:13 b538f80385f9: Download complete 18:50:14 b538f80385f9: Pull complete 18:50:14 74f711af9a0d: Pull complete 18:50:15 99f96fe45779: Pull complete 18:50:15 209524e5b208: Download complete 18:50:17 8529a6b9a6be: Verifying Checksum 18:50:17 8529a6b9a6be: Download complete 18:50:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:50:27 8529a6b9a6be: Pull complete 18:50:27 45590311c82a: Pull complete 18:50:28 69ca0ff8b7b3: Pull complete 18:50:31 209524e5b208: Pull complete 18:50:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:50:31 ---> 5bddaf1c2fca 18:50:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:50:34 ---> Running in faf8e3109af7 18:50:35 Removing intermediate container faf8e3109af7 18:50:35 ---> ba60479e478a 18:50:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:50:35 ---> Running in 9ae161e1cdd5 18:50:37 Removing intermediate container 9ae161e1cdd5 18:50:37 ---> fc85e9058d07 18:50:37 Step 5/8 : RUN apk add --no-cache make git 18:50:37 ---> Running in 015b73fb6422 18:50:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:50:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:50:41 OK: 142 MiB in 39 packages 18:50:42 Removing intermediate container 015b73fb6422 18:50:42 ---> f4a7814f3170 18:50:42 Step 6/8 : WORKDIR /device-sdk-go 18:50:42 ---> Running in a18f979c2804 18:50:42 Removing intermediate container a18f979c2804 18:50:42 ---> 1eac84d72b58 18:50:42 Step 7/8 : COPY . . 18:50:44 ---> 1803bd473131 18:50:44 Step 8/8 : RUN go mod download 18:50:44 ---> Running in ce359a6fe8ae 18:50:47 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:50:47 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:50:47 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:50:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.126s coverage: 21.0% of statements 18:50:49 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.646s coverage: 95.7% of statements 18:50:59 Removing intermediate container ce359a6fe8ae 18:50:59 ---> 2054f196c7d3 18:50:59 Successfully built 2054f196c7d3 18:50:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:50:59 + docker inspect -f . ci-base-image-arm64 18:50:59 . [Pipeline] withDockerContainer 18:51:00 prd-ubuntu18.04-docker-arm64-4c-16g-600 does not seem to be running inside a container 18:51:00 $ 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-arm64 cat 18:51:02 $ docker top 268f1b25882bdb3be56466e5334aa340fc16d4fed8087c849e085f898eea1afc -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:03 + go version 18:51:03 go version go1.15.2 linux/arm64 [Pipeline] } 18:51:03 $ docker stop --time=1 268f1b25882bdb3be56466e5334aa340fc16d4fed8087c849e085f898eea1afc 18:51:05 $ docker rm -f 268f1b25882bdb3be56466e5334aa340fc16d4fed8087c849e085f898eea1afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:51:06 + docker inspect -f . ci-base-image-arm64 18:51:06 . [Pipeline] withDockerContainer 18:51:07 prd-ubuntu18.04-docker-arm64-4c-16g-600 does not seem to be running inside a container 18:51:07 $ 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-arm64 cat 18:51:09 $ docker top 7f4e42e3226fb28c053eed7022a8174a59a68060a430c77e44cc9ccd4baa9564 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:10 + make test 18:51:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:51:21 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 8.6% of statements 18:51:21 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.7% of statements 18:51:21 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:51:21 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.276s coverage: 37.0% of statements 18:51:21 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:51:21 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.375s coverage: 65.4% of statements 18:51:21 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:51:21 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:51:21 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:51:21 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements 18:51:21 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.905s coverage: 68.9% of statements 18:51:21 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:51:21 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:51:21 GO111MODULE=on go vet ./... 18:51:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:51:40 gofmt -l . 18:51:40 [ "`gofmt -l .`" = "" ] 18:51:40 ./bin/test-attribution-txt.sh 18:51:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:51:43 Stashed 1 file(s) [Pipeline] } 18:51:43 $ docker stop --time=1 878f229d7eb2efab1b939126c92ad406e3bf1b5ca68a9e7069575a2c21b3d571 18:51:45 $ docker rm -f 878f229d7eb2efab1b939126c92ad406e3bf1b5ca68a9e7069575a2c21b3d571 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:51:47 + ls -al . 18:51:47 total 188 18:51:47 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:51 . 18:51:47 drwxrwxr-x. 4 jenkins jenkins 28 Sep 20 18:48 .. 18:51:47 drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:48 bin 18:51:47 -rw-r--r--. 1 jenkins jenkins 111785 Sep 20 18:51 coverage.out 18:51:47 -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:48 Dockerfile.build 18:51:47 -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:48 .dockerignore 18:51:47 drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:48 example 18:51:47 drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:48 .git 18:51:47 drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:48 .github 18:51:47 -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:48 .gitignore 18:51:47 -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:51 go.mod 18:51:47 -rw-r--r--. 1 jenkins jenkins 12258 Sep 20 18:51 go.sum 18:51:47 drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:48 internal 18:51:47 -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:48 Jenkinsfile 18:51:47 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:48 LICENSE 18:51:47 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:48 Makefile 18:51:47 drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:48 openapi 18:51:47 drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:48 pkg 18:51:47 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:48 README.md 18:51:47 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:48 RELEASE-NOTES.txt 18:51:47 drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:48 .semver 18:51:47 drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:48 snap 18:51:47 -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:46 VERSION 18:51:47 -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:48 version.go [Pipeline] isUnix [Pipeline] sh 18:51:48 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=17a85bb1df95a294e287fd46c68a8e3b1fa5e92e --label arch=amd64 --label version=0.0.0 . 18:51:48 Sending build context to Docker daemon 3.28MB 18:51:48 Step 1/24 : ARG BASE=golang:1.15-alpine 18:51:48 Step 2/24 : FROM ${BASE} AS builder 18:51:48 ---> 9078ea9f0957 18:51:48 Step 3/24 : ARG MAKE='make build' 18:51:48 ---> Running in e66f843eed3f 18:51:48 Removing intermediate container e66f843eed3f 18:51:48 ---> abb12126328d 18:51:48 Step 4/24 : WORKDIR /device-sdk-go 18:51:49 ---> Running in ceb53f14cddf 18:51:49 Removing intermediate container ceb53f14cddf 18:51:49 ---> 12599bc411e8 18:51:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:51:49 ---> Running in d804b1109afa 18:51:49 Removing intermediate container d804b1109afa 18:51:49 ---> 5f431d59bcb7 18:51:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:51:49 ---> Running in 831872e1a22b 18:51:51 Removing intermediate container 831872e1a22b 18:51:51 ---> c88342adbd23 18:51:51 Step 7/24 : RUN apk add --update --no-cache make git 18:51:51 ---> Running in c5ccaf28fa7d 18:51:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:51:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:51:53 OK: 166 MiB in 39 packages 18:51:53 Removing intermediate container c5ccaf28fa7d 18:51:53 ---> c85c30666bff 18:51:53 Step 8/24 : COPY . . 18:51:55 ---> 95af86b43f00 18:51:55 Step 9/24 : RUN ${MAKE} 18:51:55 ---> Running in c30c002cf664 18:51:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:52:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:52:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:52:11 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:52:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.045s coverage: 21.0% of statements 18:52:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.397s coverage: 95.7% of statements 18:52:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:52:14 Removing intermediate container c30c002cf664 18:52:14 ---> 0872d4dc3567 18:52:14 Step 10/24 : FROM scratch 18:52:14 ---> 18:52:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:52:14 ---> Running in 1d66242b4005 18:52:14 Removing intermediate container 1d66242b4005 18:52:14 ---> d8322c7cf68c 18:52:14 Step 12/24 : ENV APP_PORT=49990 18:52:14 ---> Running in 1e942a1f10e2 18:52:15 Removing intermediate container 1e942a1f10e2 18:52:15 ---> 65e3dc74bb7b 18:52:15 Step 13/24 : EXPOSE $APP_PORT 18:52:15 ---> Running in 8143a07f1630 18:52:15 Removing intermediate container 8143a07f1630 18:52:15 ---> d379a18402a5 18:52:15 Step 14/24 : WORKDIR / 18:52:15 ---> Running in ba40c34d7478 18:52:15 Removing intermediate container ba40c34d7478 18:52:15 ---> a017ac8b7d5f 18:52:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:52:16 ---> 99819ed41c74 18:52:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:52:16 ---> ae3f5ae57320 18:52:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:52:17 ---> f94cb957d4ca 18:52:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:52:17 ---> 32914a72fe05 18:52:17 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:52:17 ---> 8c4ba3d21466 18:52:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:52:17 ---> Running in 266f04b50e59 18:52:18 Removing intermediate container 266f04b50e59 18:52:18 ---> 32037fa0fb52 18:52:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:52:18 ---> Running in 1eec60db8fa4 18:52:18 Removing intermediate container 1eec60db8fa4 18:52:18 ---> 9a2f20b5e325 18:52:18 Step 22/24 : LABEL arch=amd64 18:52:18 ---> Running in 6cfee0b122f6 18:52:18 Removing intermediate container 6cfee0b122f6 18:52:18 ---> 1060be85e77c 18:52:18 Step 23/24 : LABEL git_sha=17a85bb1df95a294e287fd46c68a8e3b1fa5e92e 18:52:18 ---> Running in 187bf0fa84ee 18:52:19 Removing intermediate container 187bf0fa84ee 18:52:19 ---> a2a8d1041d1b 18:52:19 Step 24/24 : LABEL version=0.0.0 18:52:19 ---> Running in 905bee21be33 18:52:19 Removing intermediate container 905bee21be33 18:52:19 ---> 1cb396a10122 18:52:19 [Warning] One or more build-args [ARCH] were not consumed 18:52:19 Successfully built 1cb396a10122 18:52:19 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:52:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 8.6% of statements 18:52:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.7% of statements 18:52:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:52:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.506s coverage: 37.0% of statements 18:52:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:52:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.672s coverage: 65.4% of statements 18:52:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:52:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:52:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:52:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.136s coverage: 52.6% of statements 18:52:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.683s coverage: 68.9% of statements 18:52:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:52:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:52:46 GO111MODULE=on go vet ./... 18:53:13 gofmt -l . 18:53:13 [ "`gofmt -l .`" = "" ] 18:53:13 ./bin/test-attribution-txt.sh 18:53:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:53:13 Warning: overwriting stash ‘coverage-report’ 18:53:13 Stashed 1 file(s) [Pipeline] } 18:53:14 $ docker stop --time=1 7f4e42e3226fb28c053eed7022a8174a59a68060a430c77e44cc9ccd4baa9564 18:53:16 $ docker rm -f 7f4e42e3226fb28c053eed7022a8174a59a68060a430c77e44cc9ccd4baa9564 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:18 + ls -al . 18:53:18 total 228 18:53:18 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:53 . 18:53:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 .. 18:53:18 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:50 .dockerignore 18:53:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:50 .git 18:53:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:50 .github 18:53:18 -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:50 .gitignore 18:53:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:50 .semver 18:53:18 -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:50 Dockerfile.build 18:53:18 -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:50 Jenkinsfile 18:53:18 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:50 LICENSE 18:53:18 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:50 Makefile 18:53:18 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:50 README.md 18:53:18 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:50 RELEASE-NOTES.txt 18:53:18 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:46 VERSION 18:53:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:50 bin 18:53:18 -rw-r--r-- 1 jenkins jenkins 111785 Sep 20 18:52 coverage.out 18:53:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 example 18:53:18 -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:53 go.mod 18:53:18 -rw-r--r-- 1 jenkins jenkins 12258 Sep 20 18:53 go.sum 18:53:18 drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:50 internal 18:53:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 openapi 18:53:18 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:50 pkg 18:53:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 snap 18:53:18 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:50 version.go [Pipeline] isUnix [Pipeline] sh 18:53:18 + 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=17a85bb1df95a294e287fd46c68a8e3b1fa5e92e --label arch=arm64 --label version=0.0.0 . 18:53:19 Sending build context to Docker daemon 3.28MB 18:53:19 Step 1/24 : ARG BASE=golang:1.15-alpine 18:53:19 Step 2/24 : FROM ${BASE} AS builder 18:53:19 ---> 2054f196c7d3 18:53:19 Step 3/24 : ARG MAKE='make build' 18:53:19 ---> Running in 33888a0ec0f6 18:53:19 Removing intermediate container 33888a0ec0f6 18:53:19 ---> 78012b720228 18:53:19 Step 4/24 : WORKDIR /device-sdk-go 18:53:20 ---> Running in a96b5c7477d2 18:53:20 Removing intermediate container a96b5c7477d2 18:53:20 ---> eca6e228f1e4 18:53:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:53:20 ---> Running in 3f12d428ef00 18:53:20 Removing intermediate container 3f12d428ef00 18:53:20 ---> b22c05c5ef55 18:53:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:53:21 ---> Running in 5e87683a1b50 18:53:23 Removing intermediate container 5e87683a1b50 18:53:23 ---> 5abb0f7ef6da 18:53:23 Step 7/24 : RUN apk add --update --no-cache make git 18:53:23 ---> Running in 220fdc799bd9 18:53:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:53:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:53:26 OK: 142 MiB in 39 packages 18:53:27 Removing intermediate container 220fdc799bd9 18:53:27 ---> 6fb60d43b91e 18:53:27 Step 8/24 : COPY . . 18:53:28 ---> 420fb9f4f1ea 18:53:28 Step 9/24 : RUN ${MAKE} 18:53:29 ---> Running in cd56987f369e 18:53:30 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:53:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:53:54 Removing intermediate container cd56987f369e 18:53:54 ---> 93a5828ddca5 18:53:54 Step 10/24 : FROM scratch 18:53:54 ---> 18:53:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:53:54 ---> Running in 66144809e45a 18:53:55 Removing intermediate container 66144809e45a 18:53:55 ---> be5d365d8d7f 18:53:55 Step 12/24 : ENV APP_PORT=49990 18:53:55 ---> Running in 654c04afa14b 18:53:55 Removing intermediate container 654c04afa14b 18:53:55 ---> 78133cc81cda 18:53:55 Step 13/24 : EXPOSE $APP_PORT 18:53:55 ---> Running in 5495cfc31edd 18:53:56 Removing intermediate container 5495cfc31edd 18:53:56 ---> 67d426f2b14b 18:53:56 Step 14/24 : WORKDIR / 18:53:56 ---> Running in 2a9a70e0e52a 18:53:56 Removing intermediate container 2a9a70e0e52a 18:53:56 ---> c28cb1e525b6 18:53:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:53:58 ---> 4995533b7567 18:53:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:53:58 ---> f4df1c41a30e 18:53:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:53:59 ---> d7be84cf743f 18:53:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:54:00 ---> 2212a0cf8bb6 18:54:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:54:00 ---> feac2f5d5c95 18:54:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:54:01 ---> Running in bc58587ac1bc 18:54:01 Removing intermediate container bc58587ac1bc 18:54:01 ---> 09dd50dad53c 18:54:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:54:01 ---> Running in 4e3cd660189b 18:54:02 Removing intermediate container 4e3cd660189b 18:54:02 ---> 4c2c17c31857 18:54:02 Step 22/24 : LABEL arch=arm64 18:54:02 ---> Running in 5b561c4c3842 18:54:02 Removing intermediate container 5b561c4c3842 18:54:02 ---> 0cc3a98537ca 18:54:02 Step 23/24 : LABEL git_sha=17a85bb1df95a294e287fd46c68a8e3b1fa5e92e 18:54:02 ---> Running in faff34813ee8 18:54:03 Removing intermediate container faff34813ee8 18:54:03 ---> 1ae93b84d7f2 18:54:03 Step 24/24 : LABEL version=0.0.0 18:54:03 ---> Running in 32afe3530471 18:54:04 Removing intermediate container 32afe3530471 18:54:04 ---> c2dfb5defa65 18:54:04 [Warning] One or more build-args [ARCH] were not consumed 18:54:04 Successfully built c2dfb5defa65 18:54:04 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:54:05 provisioning config files... 18:54:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config145584780470630630tmp [Pipeline] { [Pipeline] sh 18:54:06 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config145584780470630630tmp 18:54:06 + curl -s https://codecov.io/bash [Pipeline] } 18:54:06 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:54:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:54:10 ---> package-listing.sh 18:54:10 ++ tr '[:upper:]' '[:lower:]' 18:54:10 ++ facter osfamily 18:54:10 + OS_FAMILY=redhat 18:54:10 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 18:54:10 + START_PACKAGES=/tmp/packages_start.txt 18:54:10 + END_PACKAGES=/tmp/packages_end.txt 18:54:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:54:10 + PACKAGES=/tmp/packages_start.txt 18:54:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 18:54:10 + PACKAGES=/tmp/packages_end.txt 18:54:10 + case "${OS_FAMILY}" in 18:54:10 + rpm -qa 18:54:10 + sort 18:54:19 + '[' -f /tmp/packages_start.txt ']' 18:54:19 + '[' -f /tmp/packages_end.txt ']' 18:54:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:54:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 18:54:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 18:54:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] isUnix [Pipeline] sh 18:54:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:54:19 18:54:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:54:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:54:20 alpine: Pulling from edgex-lftools-log-publisher 18:54:20 df20fa9351a1: Pulling fs layer 18:54:20 36b3adc4ff6f: Pulling fs layer 18:54:20 8ad3a11d3b57: Pulling fs layer 18:54:20 46f8f816bc3b: Pulling fs layer 18:54:20 0dadc02b9964: Pulling fs layer 18:54:20 ce6a7cf60c04: Pulling fs layer 18:54:20 7a184a31f384: Pulling fs layer 18:54:20 0879bd2ef858: Pulling fs layer 18:54:20 46f8f816bc3b: Waiting 18:54:20 0dadc02b9964: Waiting 18:54:20 ce6a7cf60c04: Waiting 18:54:20 7a184a31f384: Waiting 18:54:20 0879bd2ef858: Waiting 18:54:20 36b3adc4ff6f: Download complete 18:54:20 46f8f816bc3b: Verifying Checksum 18:54:20 46f8f816bc3b: Download complete 18:54:20 df20fa9351a1: Verifying Checksum 18:54:20 df20fa9351a1: Download complete 18:54:20 ce6a7cf60c04: Verifying Checksum 18:54:20 ce6a7cf60c04: Download complete 18:54:20 0dadc02b9964: Verifying Checksum 18:54:20 0dadc02b9964: Download complete 18:54:20 7a184a31f384: Verifying Checksum 18:54:20 7a184a31f384: Download complete 18:54:21 8ad3a11d3b57: Verifying Checksum 18:54:21 8ad3a11d3b57: Download complete 18:54:21 df20fa9351a1: Pull complete 18:54:21 36b3adc4ff6f: Pull complete 18:54:22 0879bd2ef858: Verifying Checksum 18:54:22 0879bd2ef858: Download complete 18:54:23 8ad3a11d3b57: Pull complete 18:54:24 46f8f816bc3b: Pull complete 18:54:24 0dadc02b9964: Pull complete 18:54:24 ce6a7cf60c04: Pull complete 18:54:25 7a184a31f384: Pull complete 18:54:32 0879bd2ef858: Pull complete 18:54:32 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:54:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:54:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:54:32 prd-centos7-docker-4c-2g-587 does not seem to be running inside a container 18:54:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:54:36 $ docker top a39031b4bf1a4383df85b8095bc34aea1dd3fa68e03b0037928000fee9127133 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:36 + mkdir -p /var/log/sa [Pipeline] sh 18:54:37 + ls /var/log/sa-host 18:54:37 + sadf -c /var/log/sa-host/sa05 18:54:37 file_magic: OK 18:54:37 HZ: Using current value: 100 18:54:37 file_header: OK 18:54:37 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:54:37 Statistics: 18:54:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:54:37 File successfully converted to sysstat format version 12.2.1 18:54:37 + sadf -c /var/log/sa-host/sa20 18:54:37 file_magic: OK 18:54:37 HZ: Using current value: 100 18:54:37 file_header: OK 18:54:37 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:54:37 Statistics: 18:54:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:54:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:37 provisioning config files... 18:54:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config2835866835606106023tmp [Pipeline] { [Pipeline] echo 18:54:37 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:54:37 ---> create-netrc.sh [Pipeline] echo 18:54:37 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:54:38 ---> logs-deploy.sh 18:54:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/8 18:54:38 INFO: archiving workspace using pattern(s): 18:54:40 Archives upload complete. 18:54:40 INFO: archiving logs to Nexus