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 [2020-09-20T18:46:11.162Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-20T18:46:11.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-20T18:46:11.517Z] ========================================================= [2020-09-20T18:46:11.517Z] EdgeX Global Pipelines Version Info [2020-09-20T18:46:11.517Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 35fb68b0c638eb5638d5346290494b848dd826c3 # timeout=10 [2020-09-20T18:46:16.235Z] ------------------- [2020-09-20T18:46:16.235Z] stable info: [2020-09-20T18:46:16.235Z] ------------------- [2020-09-20T18:46:16.235Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-20T18:46:16.235Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-20T18:46:16.235Z] Message: update stable to v1.0.122 [2020-09-20T18:46:17.959Z] ------------------- [2020-09-20T18:46:17.959Z] experimental info: [2020-09-20T18:46:17.959Z] ------------------- [2020-09-20T18:46:17.959Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-20T18:46:17.959Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-20T18:46:17.959Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-20T18:46:18.587Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-20T18:46:18.683Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-20T18:46:18.778Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-20T18:46:18.872Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-20T18:46:18.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-20T18:46:19.072Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-20T18:46:19.164Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-20T18:46:19.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-20T18:46:19.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-20T18:46:19.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-20T18:46:19.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-20T18:46:19.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-20T18:46:19.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-20T18:46:19.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-20T18:46:20.108Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-20T18:46:20.239Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:46:20.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:46:20.687Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:46:20.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-20T18:46:20.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-20T18:46:21.049Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-20T18:46:21.143Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-20T18:46:21.312Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-09-20T18:46:21.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-09-20T18:46:21.504Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-09-20T18:46:21.591Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e [Pipeline] echo [2020-09-20T18:46:21.697Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17a85bb [Pipeline] echo [2020-09-20T18:46:21.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:46:22.918Z] + git log --format=format:%s -1 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e [Pipeline] echo [2020-09-20T18:46:23.312Z] GIT_COMMIT: 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo [2020-09-20T18:46:23.358Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:46:24.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:46:25.389Z] [2020-09-20T18:46:25.389Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:46:26.175Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:46:26.805Z] latest: Pulling from edgex-devops/git-semver [2020-09-20T18:46:26.805Z] 31603596830f: Pulling fs layer [2020-09-20T18:46:26.805Z] 2a8b12db71e7: Pulling fs layer [2020-09-20T18:46:26.805Z] 6ca5941a6612: Pulling fs layer [2020-09-20T18:46:26.805Z] ecc8261a40a4: Pulling fs layer [2020-09-20T18:46:26.805Z] ecc8261a40a4: Waiting [2020-09-20T18:46:26.805Z] 2a8b12db71e7: Verifying Checksum [2020-09-20T18:46:26.805Z] 2a8b12db71e7: Download complete [2020-09-20T18:46:28.467Z] 31603596830f: Verifying Checksum [2020-09-20T18:46:28.467Z] 31603596830f: Download complete [2020-09-20T18:46:29.079Z] ecc8261a40a4: Verifying Checksum [2020-09-20T18:46:29.079Z] ecc8261a40a4: Download complete [2020-09-20T18:46:29.406Z] 6ca5941a6612: Verifying Checksum [2020-09-20T18:46:29.406Z] 6ca5941a6612: Download complete [2020-09-20T18:46:29.406Z] 31603596830f: Pull complete [2020-09-20T18:46:29.717Z] 2a8b12db71e7: Pull complete [2020-09-20T18:46:31.869Z] 6ca5941a6612: Pull complete [2020-09-20T18:46:32.944Z] ecc8261a40a4: Pull complete [2020-09-20T18:46:32.944Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-20T18:46:32.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:46:32.944Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-20T18:46:34.227Z] prd-centos7-docker-4c-2g-587 does not seem to be running inside a container [2020-09-20T18:46:34.661Z] $ 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 [2020-09-20T18:46:40.066Z] $ docker top 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T18:46:41.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:46:41.288Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:46:42.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:46:42.665Z] $ docker exec 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e ssh-agent [2020-09-20T18:46:44.002Z] SSH_AUTH_SOCK=/tmp/ssh-r02yTpWXDJ6u/agent.11 [2020-09-20T18:46:44.002Z] SSH_AGENT_PID=16 [2020-09-20T18:46:44.072Z] Running ssh-add (command line suppressed) [2020-09-20T18:46:45.334Z] 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) [2020-09-20T18:46:45.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:46:46.789Z] + git describe --exact-match --tags HEAD [2020-09-20T18:46:46.789Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-20T18:46:46.845Z] $ docker exec --env ******** --env ******** 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e ssh-agent -k [2020-09-20T18:46:47.141Z] unset SSH_AUTH_SOCK; [2020-09-20T18:46:47.142Z] unset SSH_AGENT_PID; [2020-09-20T18:46:47.142Z] echo Agent pid 16 killed; [2020-09-20T18:46:47.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-20T18:46:47.404Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-20T18:46:47.404Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-20T18:46:47.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:46:47.523Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:46:48.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:46:48.120Z] $ docker exec 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e ssh-agent [2020-09-20T18:46:48.531Z] SSH_AUTH_SOCK=/tmp/ssh-fwFNidV1tdyA/agent.44 [2020-09-20T18:46:48.531Z] SSH_AGENT_PID=49 [2020-09-20T18:46:48.554Z] Running ssh-add (command line suppressed) [2020-09-20T18:46:48.836Z] 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) [2020-09-20T18:46:49.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:46:50.573Z] + git semver init [2020-09-20T18:46:50.924Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T18:46:50.924Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-09-20T18:46:50.924Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-20T18:46:50.924Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T18:46:50.924Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T18:46:50.924Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T18:46:50.924Z] # $SEMVER_BRANCH = PR-582 [2020-09-20T18:46:50.924Z] # $SEMVER_TEMP = /tmp/semver-477815914 [2020-09-20T18:46:50.924Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-20T18:46:52.124Z] # '/tmp/semver-477815914' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-09-20T18:46:52.124Z] # -> Force: false [2020-09-20T18:46:52.124Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-09-20T18:46:52.160Z] $ docker exec --env ******** --env ******** 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e ssh-agent -k [2020-09-20T18:46:52.512Z] unset SSH_AUTH_SOCK; [2020-09-20T18:46:52.512Z] unset SSH_AGENT_PID; [2020-09-20T18:46:52.512Z] echo Agent pid 49 killed; [2020-09-20T18:46:52.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T18:46:53.677Z] + git semver [Pipeline] } [2020-09-20T18:46:54.088Z] $ docker stop --time=1 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e [2020-09-20T18:46:56.123Z] $ docker rm -f 734ef7d7ab77326d60039dcda9191fe5053bbff1e50e3c3b91824b55cd4a605e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-20T18:46:59.848Z] Stashed 38 file(s) [Pipeline] echo [2020-09-20T18:46:59.851Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-20T18:46:59.997Z] 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 [2020-09-20T18:47:15.693Z] Still waiting to schedule task [2020-09-20T18:47:15.693Z] ‘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’ [2020-09-20T18:47:15.696Z] Still waiting to schedule task [2020-09-20T18:47:15.696Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ is offline [2020-09-20T18:48:15.560Z] Running on prd-centos7-docker-4c-2g-596 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-09-20T18:48:15.612Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-20T18:48:27.457Z] using credential edgex-jenkins-ssh [2020-09-20T18:48:27.525Z] Cloning the remote Git repository [2020-09-20T18:48:27.525Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:48:27.691Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:48:27.822Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-09-20T18:48:27.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:48:27.920Z] > git --version # timeout=10 [2020-09-20T18:48:27.954Z] > git --version # 'git version 2.16.5' [2020-09-20T18:48:27.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:48:28.039Z] > 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 [2020-09-20T18:48:29.421Z] Fetching without tags [2020-09-20T18:48:29.900Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef [2020-09-20T18:48:29.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:48:29.288Z] > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 [2020-09-20T18:48:29.343Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:48:29.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:48:29.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:48:29.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:48:29.454Z] > 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 [2020-09-20T18:48:30.217Z] Merge succeeded, producing 10a0a5e36d12888206dd96684673685d60826325 [2020-09-20T18:48:30.217Z] Checking out Revision 10a0a5e36d12888206dd96684673685d60826325 (PR-582) [2020-09-20T18:48:29.919Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:48:29.949Z] > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 [2020-09-20T18:48:30.054Z] > git remote # timeout=10 [2020-09-20T18:48:30.083Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:48:30.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:48:30.126Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:48:30.205Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:48:30.222Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:48:30.312Z] > git checkout -f 10a0a5e36d12888206dd96684673685d60826325 # timeout=10 [2020-09-20T18:48:34.742Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:48:34.748Z] > git rev-list --no-walk 35fb68b0c638eb5638d5346290494b848dd826c3 # timeout=10 [2020-09-20T18:48:34.802Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-20T18:48:36.237Z] ========================================================= [2020-09-20T18:48:36.237Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-20T18:48:36.237Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:48:38.143Z] + 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 . [2020-09-20T18:48:38.773Z] Sending build context to Docker daemon 3.167MB [2020-09-20T18:48:38.773Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:48:38.773Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:48:39.085Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-20T18:48:39.085Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:48:39.085Z] ed8968b2872e: Pulling fs layer [2020-09-20T18:48:39.085Z] a92cc7c5fd73: Pulling fs layer [2020-09-20T18:48:39.085Z] e871e8e8d7a9: Pulling fs layer [2020-09-20T18:48:39.085Z] e73272ec9a57: Pulling fs layer [2020-09-20T18:48:39.085Z] 1e910a182e73: Pulling fs layer [2020-09-20T18:48:39.085Z] 4e634b169226: Pulling fs layer [2020-09-20T18:48:39.085Z] e871e8e8d7a9: Waiting [2020-09-20T18:48:39.085Z] e73272ec9a57: Waiting [2020-09-20T18:48:39.085Z] 1e910a182e73: Waiting [2020-09-20T18:48:39.085Z] 4e634b169226: Waiting [2020-09-20T18:48:39.085Z] a92cc7c5fd73: Verifying Checksum [2020-09-20T18:48:39.085Z] a92cc7c5fd73: Download complete [2020-09-20T18:48:39.085Z] ed8968b2872e: Verifying Checksum [2020-09-20T18:48:39.085Z] ed8968b2872e: Download complete [2020-09-20T18:48:39.425Z] e73272ec9a57: Verifying Checksum [2020-09-20T18:48:39.425Z] e73272ec9a57: Download complete [2020-09-20T18:48:39.425Z] 1e910a182e73: Verifying Checksum [2020-09-20T18:48:39.425Z] 1e910a182e73: Download complete [2020-09-20T18:48:39.425Z] df20fa9351a1: Verifying Checksum [2020-09-20T18:48:39.425Z] df20fa9351a1: Download complete [2020-09-20T18:48:40.638Z] df20fa9351a1: Pull complete [2020-09-20T18:48:41.778Z] ed8968b2872e: Pull complete [2020-09-20T18:48:41.778Z] a92cc7c5fd73: Pull complete [2020-09-20T18:48:47.727Z] 4e634b169226: Verifying Checksum [2020-09-20T18:48:47.727Z] 4e634b169226: Download complete [2020-09-20T18:48:48.737Z] e871e8e8d7a9: Verifying Checksum [2020-09-20T18:48:48.737Z] e871e8e8d7a9: Download complete [2020-09-20T18:49:04.515Z] e871e8e8d7a9: Pull complete [2020-09-20T18:49:04.515Z] e73272ec9a57: Pull complete [2020-09-20T18:49:04.515Z] 1e910a182e73: Pull complete [2020-09-20T18:49:10.405Z] 4e634b169226: Pull complete [2020-09-20T18:49:10.405Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-20T18:49:10.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-20T18:49:10.405Z] ---> f7629b54cfaa [2020-09-20T18:49:10.405Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:49:10.405Z] ---> Running in 0608e83a4f9a [2020-09-20T18:49:10.405Z] Removing intermediate container 0608e83a4f9a [2020-09-20T18:49:10.405Z] ---> 6c22819e2676 [2020-09-20T18:49:10.405Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:49:10.405Z] ---> Running in aa58af57e86a [2020-09-20T18:49:13.138Z] Removing intermediate container aa58af57e86a [2020-09-20T18:49:13.138Z] ---> a0477d66d1fe [2020-09-20T18:49:13.138Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:49:13.138Z] ---> Running in d8ee897ef2ef [2020-09-20T18:49:13.428Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:49:14.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:49:15.712Z] OK: 166 MiB in 39 packages [2020-09-20T18:49:16.312Z] Removing intermediate container d8ee897ef2ef [2020-09-20T18:49:16.312Z] ---> cd6d95b6f856 [2020-09-20T18:49:16.312Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:49:16.639Z] ---> Running in 0921f89d3f54 [2020-09-20T18:49:16.934Z] Removing intermediate container 0921f89d3f54 [2020-09-20T18:49:16.934Z] ---> e3a78218b9b6 [2020-09-20T18:49:16.934Z] Step 7/8 : COPY . . [2020-09-20T18:49:18.656Z] ---> e83607e7fd60 [2020-09-20T18:49:18.656Z] Step 8/8 : RUN go mod download [2020-09-20T18:49:18.656Z] ---> Running in 2ee017197d3c [2020-09-20T18:49:42.510Z] Removing intermediate container 2ee017197d3c [2020-09-20T18:49:42.510Z] ---> 9078ea9f0957 [2020-09-20T18:49:42.510Z] Successfully built 9078ea9f0957 [2020-09-20T18:49:42.510Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:49:43.023Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:49:43.352Z] . [Pipeline] withDockerContainer [2020-09-20T18:49:44.296Z] prd-centos7-docker-4c-2g-596 does not seem to be running inside a container [2020-09-20T18:49:44.941Z] $ 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 [2020-09-20T18:49:47.164Z] $ docker top 4566baf4fcc52dd748dd07eea1a02162755290cb4c687b36df4d37f19891c811 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:49:48.704Z] + go version [2020-09-20T18:49:48.704Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-20T18:49:48.762Z] $ docker stop --time=1 4566baf4fcc52dd748dd07eea1a02162755290cb4c687b36df4d37f19891c811 [2020-09-20T18:49:51.433Z] $ docker rm -f 4566baf4fcc52dd748dd07eea1a02162755290cb4c687b36df4d37f19891c811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:49:52.833Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:49:52.833Z] . [Pipeline] withDockerContainer [2020-09-20T18:49:53.232Z] prd-centos7-docker-4c-2g-596 does not seem to be running inside a container [2020-09-20T18:49:53.378Z] $ 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 [2020-09-20T18:49:54.170Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-600 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-20T18:49:54.629Z] $ docker top 878f229d7eb2efab1b939126c92ad406e3bf1b5ca68a9e7069575a2c21b3d571 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-09-20T18:49:55.187Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-20T18:49:55.498Z] + make test [2020-09-20T18:49:55.953Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:50:00.933Z] using credential edgex-jenkins-ssh [2020-09-20T18:50:01.058Z] Cloning the remote Git repository [2020-09-20T18:50:01.058Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:50:01.174Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:50:01.300Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-09-20T18:50:01.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:50:01.378Z] > git --version # timeout=10 [2020-09-20T18:50:01.401Z] > git --version # 'git version 2.17.1' [2020-09-20T18:50:01.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:50:01.501Z] > 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 [2020-09-20T18:50:03.155Z] Fetching without tags [2020-09-20T18:50:03.989Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef [2020-09-20T18:50:03.062Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:50:03.089Z] > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 [2020-09-20T18:50:03.112Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:50:03.139Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:50:03.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:50:03.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:50:03.197Z] > 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 [2020-09-20T18:50:04.022Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:50:04.059Z] > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 [2020-09-20T18:50:04.182Z] > git remote # timeout=10 [2020-09-20T18:50:04.200Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:50:04.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:50:04.380Z] Merge succeeded, producing 2e23d0e2d237e4f8971edfa7c395d596155544be [2020-09-20T18:50:04.381Z] Checking out Revision 2e23d0e2d237e4f8971edfa7c395d596155544be (PR-582) [2020-09-20T18:50:04.234Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:50:04.358Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:50:04.400Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:50:04.430Z] > git checkout -f 2e23d0e2d237e4f8971edfa7c395d596155544be # timeout=10 [2020-09-20T18:50:08.861Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:50:08.894Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-20T18:50:10.200Z] ========================================================= [2020-09-20T18:50:10.200Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-20T18:50:10.200Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:50:08.882Z] > git rev-list --no-walk 35fb68b0c638eb5638d5346290494b848dd826c3 # timeout=10 [2020-09-20T18:50:11.528Z] + 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 . [2020-09-20T18:50:12.526Z] Sending build context to Docker daemon 3.167MB [2020-09-20T18:50:12.526Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:50:12.526Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:50:12.805Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-20T18:50:12.805Z] b538f80385f9: Pulling fs layer [2020-09-20T18:50:12.805Z] 74f711af9a0d: Pulling fs layer [2020-09-20T18:50:12.805Z] 99f96fe45779: Pulling fs layer [2020-09-20T18:50:12.805Z] 8529a6b9a6be: Pulling fs layer [2020-09-20T18:50:12.805Z] 45590311c82a: Pulling fs layer [2020-09-20T18:50:12.805Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-20T18:50:12.805Z] 209524e5b208: Pulling fs layer [2020-09-20T18:50:12.805Z] 8529a6b9a6be: Waiting [2020-09-20T18:50:12.805Z] 45590311c82a: Waiting [2020-09-20T18:50:12.805Z] 69ca0ff8b7b3: Waiting [2020-09-20T18:50:12.805Z] 209524e5b208: Waiting [2020-09-20T18:50:12.805Z] 99f96fe45779: Verifying Checksum [2020-09-20T18:50:12.805Z] 99f96fe45779: Download complete [2020-09-20T18:50:12.805Z] 74f711af9a0d: Verifying Checksum [2020-09-20T18:50:12.805Z] 74f711af9a0d: Download complete [2020-09-20T18:50:12.805Z] 45590311c82a: Verifying Checksum [2020-09-20T18:50:12.805Z] 45590311c82a: Download complete [2020-09-20T18:50:12.805Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-20T18:50:12.805Z] 69ca0ff8b7b3: Download complete [2020-09-20T18:50:13.084Z] b538f80385f9: Verifying Checksum [2020-09-20T18:50:13.084Z] b538f80385f9: Download complete [2020-09-20T18:50:14.086Z] b538f80385f9: Pull complete [2020-09-20T18:50:14.701Z] 74f711af9a0d: Pull complete [2020-09-20T18:50:15.308Z] 99f96fe45779: Pull complete [2020-09-20T18:50:15.588Z] 209524e5b208: Download complete [2020-09-20T18:50:17.053Z] 8529a6b9a6be: Verifying Checksum [2020-09-20T18:50:17.054Z] 8529a6b9a6be: Download complete [2020-09-20T18:50:19.385Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:50:27.264Z] 8529a6b9a6be: Pull complete [2020-09-20T18:50:27.864Z] 45590311c82a: Pull complete [2020-09-20T18:50:28.136Z] 69ca0ff8b7b3: Pull complete [2020-09-20T18:50:31.548Z] 209524e5b208: Pull complete [2020-09-20T18:50:31.548Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-20T18:50:31.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-20T18:50:31.548Z] ---> 5bddaf1c2fca [2020-09-20T18:50:31.548Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:50:34.930Z] ---> Running in faf8e3109af7 [2020-09-20T18:50:35.209Z] Removing intermediate container faf8e3109af7 [2020-09-20T18:50:35.209Z] ---> ba60479e478a [2020-09-20T18:50:35.209Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:50:35.209Z] ---> Running in 9ae161e1cdd5 [2020-09-20T18:50:37.857Z] Removing intermediate container 9ae161e1cdd5 [2020-09-20T18:50:37.857Z] ---> fc85e9058d07 [2020-09-20T18:50:37.857Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:50:37.857Z] ---> Running in 015b73fb6422 [2020-09-20T18:50:39.318Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:50:40.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:50:41.296Z] OK: 142 MiB in 39 packages [2020-09-20T18:50:42.281Z] Removing intermediate container 015b73fb6422 [2020-09-20T18:50:42.281Z] ---> f4a7814f3170 [2020-09-20T18:50:42.281Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:50:42.281Z] ---> Running in a18f979c2804 [2020-09-20T18:50:42.879Z] Removing intermediate container a18f979c2804 [2020-09-20T18:50:42.879Z] ---> 1eac84d72b58 [2020-09-20T18:50:42.879Z] Step 7/8 : COPY . . [2020-09-20T18:50:44.323Z] ---> 1803bd473131 [2020-09-20T18:50:44.323Z] Step 8/8 : RUN go mod download [2020-09-20T18:50:44.323Z] ---> Running in ce359a6fe8ae [2020-09-20T18:50:47.123Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:50:47.123Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:50:47.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:50:47.123Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.126s coverage: 21.0% of statements [2020-09-20T18:50:49.291Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.646s coverage: 95.7% of statements [2020-09-20T18:50:59.427Z] Removing intermediate container ce359a6fe8ae [2020-09-20T18:50:59.427Z] ---> 2054f196c7d3 [2020-09-20T18:50:59.427Z] Successfully built 2054f196c7d3 [2020-09-20T18:50:59.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:50:59.845Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:50:59.845Z] . [Pipeline] withDockerContainer [2020-09-20T18:51:00.134Z] prd-ubuntu18.04-docker-arm64-4c-16g-600 does not seem to be running inside a container [2020-09-20T18:51:00.231Z] $ 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 [2020-09-20T18:51:02.263Z] $ docker top 268f1b25882bdb3be56466e5334aa340fc16d4fed8087c849e085f898eea1afc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:51:03.721Z] + go version [2020-09-20T18:51:03.721Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-20T18:51:03.754Z] $ docker stop --time=1 268f1b25882bdb3be56466e5334aa340fc16d4fed8087c849e085f898eea1afc [2020-09-20T18:51:05.728Z] $ docker rm -f 268f1b25882bdb3be56466e5334aa340fc16d4fed8087c849e085f898eea1afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:51:06.766Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:51:06.766Z] . [Pipeline] withDockerContainer [2020-09-20T18:51:07.051Z] prd-ubuntu18.04-docker-arm64-4c-16g-600 does not seem to be running inside a container [2020-09-20T18:51:07.142Z] $ 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 [2020-09-20T18:51:09.119Z] $ docker top 7f4e42e3226fb28c053eed7022a8174a59a68060a430c77e44cc9ccd4baa9564 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:51:10.579Z] + make test [2020-09-20T18:51:10.579Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:51:21.766Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 8.6% of statements [2020-09-20T18:51:21.766Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.7% of statements [2020-09-20T18:51:21.766Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:51:21.766Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.276s coverage: 37.0% of statements [2020-09-20T18:51:21.766Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:51:21.766Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.375s coverage: 65.4% of statements [2020-09-20T18:51:21.766Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:51:21.766Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:51:21.766Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:51:21.766Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements [2020-09-20T18:51:21.766Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.905s coverage: 68.9% of statements [2020-09-20T18:51:21.766Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:51:21.766Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:51:21.766Z] GO111MODULE=on go vet ./... [2020-09-20T18:51:32.776Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:51:40.584Z] gofmt -l . [2020-09-20T18:51:40.866Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:51:40.866Z] ./bin/test-attribution-txt.sh [2020-09-20T18:51:41.883Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:51:43.419Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:51:43.463Z] $ docker stop --time=1 878f229d7eb2efab1b939126c92ad406e3bf1b5ca68a9e7069575a2c21b3d571 [2020-09-20T18:51:45.611Z] $ docker rm -f 878f229d7eb2efab1b939126c92ad406e3bf1b5ca68a9e7069575a2c21b3d571 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:51:47.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:51:47.685Z] + ls -al . [2020-09-20T18:51:47.685Z] total 188 [2020-09-20T18:51:47.685Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:51 . [2020-09-20T18:51:47.685Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 20 18:48 .. [2020-09-20T18:51:47.685Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:48 bin [2020-09-20T18:51:47.685Z] -rw-r--r--. 1 jenkins jenkins 111785 Sep 20 18:51 coverage.out [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:48 Dockerfile.build [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:48 .dockerignore [2020-09-20T18:51:47.685Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:48 example [2020-09-20T18:51:47.685Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:48 .git [2020-09-20T18:51:47.685Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:48 .github [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:48 .gitignore [2020-09-20T18:51:47.685Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:51 go.mod [2020-09-20T18:51:47.685Z] -rw-r--r--. 1 jenkins jenkins 12258 Sep 20 18:51 go.sum [2020-09-20T18:51:47.685Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:48 internal [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:48 Jenkinsfile [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:48 LICENSE [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:48 Makefile [2020-09-20T18:51:47.685Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:48 openapi [2020-09-20T18:51:47.685Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:48 pkg [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:48 README.md [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:48 RELEASE-NOTES.txt [2020-09-20T18:51:47.685Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:48 .semver [2020-09-20T18:51:47.685Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:48 snap [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:46 VERSION [2020-09-20T18:51:47.685Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:51:48.044Z] + 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 . [2020-09-20T18:51:48.315Z] Sending build context to Docker daemon 3.28MB [2020-09-20T18:51:48.315Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:51:48.315Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:51:48.315Z] ---> 9078ea9f0957 [2020-09-20T18:51:48.315Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:51:48.899Z] ---> Running in e66f843eed3f [2020-09-20T18:51:48.899Z] Removing intermediate container e66f843eed3f [2020-09-20T18:51:48.899Z] ---> abb12126328d [2020-09-20T18:51:48.899Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:51:49.176Z] ---> Running in ceb53f14cddf [2020-09-20T18:51:49.176Z] Removing intermediate container ceb53f14cddf [2020-09-20T18:51:49.176Z] ---> 12599bc411e8 [2020-09-20T18:51:49.176Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:51:49.441Z] ---> Running in d804b1109afa [2020-09-20T18:51:49.441Z] Removing intermediate container d804b1109afa [2020-09-20T18:51:49.441Z] ---> 5f431d59bcb7 [2020-09-20T18:51:49.441Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:51:49.715Z] ---> Running in 831872e1a22b [2020-09-20T18:51:51.168Z] Removing intermediate container 831872e1a22b [2020-09-20T18:51:51.168Z] ---> c88342adbd23 [2020-09-20T18:51:51.168Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:51:51.168Z] ---> Running in c5ccaf28fa7d [2020-09-20T18:51:51.752Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:51:52.427Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:51:53.238Z] OK: 166 MiB in 39 packages [2020-09-20T18:51:53.878Z] Removing intermediate container c5ccaf28fa7d [2020-09-20T18:51:53.878Z] ---> c85c30666bff [2020-09-20T18:51:53.879Z] Step 8/24 : COPY . . [2020-09-20T18:51:55.105Z] ---> 95af86b43f00 [2020-09-20T18:51:55.105Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:51:55.105Z] ---> Running in c30c002cf664 [2020-09-20T18:51:55.794Z] 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 [2020-09-20T18:52:11.825Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:52:11.825Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:52:11.825Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:52:11.825Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.045s coverage: 21.0% of statements [2020-09-20T18:52:13.816Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.397s coverage: 95.7% of statements [2020-09-20T18:52:14.731Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:52:14.731Z] Removing intermediate container c30c002cf664 [2020-09-20T18:52:14.731Z] ---> 0872d4dc3567 [2020-09-20T18:52:14.731Z] Step 10/24 : FROM scratch [2020-09-20T18:52:14.731Z] ---> [2020-09-20T18:52:14.731Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:52:14.731Z] ---> Running in 1d66242b4005 [2020-09-20T18:52:14.731Z] Removing intermediate container 1d66242b4005 [2020-09-20T18:52:14.731Z] ---> d8322c7cf68c [2020-09-20T18:52:14.731Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:52:14.731Z] ---> Running in 1e942a1f10e2 [2020-09-20T18:52:15.074Z] Removing intermediate container 1e942a1f10e2 [2020-09-20T18:52:15.074Z] ---> 65e3dc74bb7b [2020-09-20T18:52:15.074Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:52:15.074Z] ---> Running in 8143a07f1630 [2020-09-20T18:52:15.347Z] Removing intermediate container 8143a07f1630 [2020-09-20T18:52:15.347Z] ---> d379a18402a5 [2020-09-20T18:52:15.347Z] Step 14/24 : WORKDIR / [2020-09-20T18:52:15.347Z] ---> Running in ba40c34d7478 [2020-09-20T18:52:15.617Z] Removing intermediate container ba40c34d7478 [2020-09-20T18:52:15.617Z] ---> a017ac8b7d5f [2020-09-20T18:52:15.617Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:52:16.595Z] ---> 99819ed41c74 [2020-09-20T18:52:16.595Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:52:16.595Z] ---> ae3f5ae57320 [2020-09-20T18:52:16.595Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:52:17.216Z] ---> f94cb957d4ca [2020-09-20T18:52:17.216Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:52:17.511Z] ---> 32914a72fe05 [2020-09-20T18:52:17.511Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:52:17.841Z] ---> 8c4ba3d21466 [2020-09-20T18:52:17.841Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:52:17.841Z] ---> Running in 266f04b50e59 [2020-09-20T18:52:18.132Z] Removing intermediate container 266f04b50e59 [2020-09-20T18:52:18.132Z] ---> 32037fa0fb52 [2020-09-20T18:52:18.132Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:52:18.132Z] ---> Running in 1eec60db8fa4 [2020-09-20T18:52:18.408Z] Removing intermediate container 1eec60db8fa4 [2020-09-20T18:52:18.408Z] ---> 9a2f20b5e325 [2020-09-20T18:52:18.408Z] Step 22/24 : LABEL arch=amd64 [2020-09-20T18:52:18.408Z] ---> Running in 6cfee0b122f6 [2020-09-20T18:52:18.690Z] Removing intermediate container 6cfee0b122f6 [2020-09-20T18:52:18.690Z] ---> 1060be85e77c [2020-09-20T18:52:18.690Z] Step 23/24 : LABEL git_sha=17a85bb1df95a294e287fd46c68a8e3b1fa5e92e [2020-09-20T18:52:18.961Z] ---> Running in 187bf0fa84ee [2020-09-20T18:52:19.244Z] Removing intermediate container 187bf0fa84ee [2020-09-20T18:52:19.244Z] ---> a2a8d1041d1b [2020-09-20T18:52:19.244Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:52:19.244Z] ---> Running in 905bee21be33 [2020-09-20T18:52:19.529Z] Removing intermediate container 905bee21be33 [2020-09-20T18:52:19.529Z] ---> 1cb396a10122 [2020-09-20T18:52:19.529Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:52:19.529Z] Successfully built 1cb396a10122 [2020-09-20T18:52:19.529Z] 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] } [2020-09-20T18:52:46.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 8.6% of statements [2020-09-20T18:52:46.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.7% of statements [2020-09-20T18:52:46.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:52:46.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.506s coverage: 37.0% of statements [2020-09-20T18:52:46.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:52:46.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.672s coverage: 65.4% of statements [2020-09-20T18:52:46.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:52:46.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:52:46.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:52:46.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.136s coverage: 52.6% of statements [2020-09-20T18:52:46.178Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.683s coverage: 68.9% of statements [2020-09-20T18:52:46.178Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:52:46.178Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:52:46.178Z] GO111MODULE=on go vet ./... [2020-09-20T18:53:13.044Z] gofmt -l . [2020-09-20T18:53:13.044Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:53:13.044Z] ./bin/test-attribution-txt.sh [2020-09-20T18:53:13.044Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:53:13.064Z] Warning: overwriting stash ‘coverage-report’ [2020-09-20T18:53:13.995Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:53:14.008Z] $ docker stop --time=1 7f4e42e3226fb28c053eed7022a8174a59a68060a430c77e44cc9ccd4baa9564 [2020-09-20T18:53:16.290Z] $ docker rm -f 7f4e42e3226fb28c053eed7022a8174a59a68060a430c77e44cc9ccd4baa9564 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:53:17.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:53:18.278Z] + ls -al . [2020-09-20T18:53:18.278Z] total 228 [2020-09-20T18:53:18.278Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:53 . [2020-09-20T18:53:18.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 .. [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:50 .dockerignore [2020-09-20T18:53:18.278Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:50 .git [2020-09-20T18:53:18.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:50 .github [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:50 .gitignore [2020-09-20T18:53:18.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:50 .semver [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:50 Dockerfile.build [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:50 Jenkinsfile [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:50 LICENSE [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:50 Makefile [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:50 README.md [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:50 RELEASE-NOTES.txt [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:46 VERSION [2020-09-20T18:53:18.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:50 bin [2020-09-20T18:53:18.278Z] -rw-r--r-- 1 jenkins jenkins 111785 Sep 20 18:52 coverage.out [2020-09-20T18:53:18.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 example [2020-09-20T18:53:18.278Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:53 go.mod [2020-09-20T18:53:18.278Z] -rw-r--r-- 1 jenkins jenkins 12258 Sep 20 18:53 go.sum [2020-09-20T18:53:18.278Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:50 internal [2020-09-20T18:53:18.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 openapi [2020-09-20T18:53:18.278Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:50 pkg [2020-09-20T18:53:18.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 snap [2020-09-20T18:53:18.278Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:53:18.683Z] + 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 . [2020-09-20T18:53:19.288Z] Sending build context to Docker daemon 3.28MB [2020-09-20T18:53:19.288Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:53:19.288Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:53:19.288Z] ---> 2054f196c7d3 [2020-09-20T18:53:19.288Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:53:19.562Z] ---> Running in 33888a0ec0f6 [2020-09-20T18:53:19.834Z] Removing intermediate container 33888a0ec0f6 [2020-09-20T18:53:19.834Z] ---> 78012b720228 [2020-09-20T18:53:19.834Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:53:20.108Z] ---> Running in a96b5c7477d2 [2020-09-20T18:53:20.381Z] Removing intermediate container a96b5c7477d2 [2020-09-20T18:53:20.381Z] ---> eca6e228f1e4 [2020-09-20T18:53:20.381Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:53:20.655Z] ---> Running in 3f12d428ef00 [2020-09-20T18:53:20.926Z] Removing intermediate container 3f12d428ef00 [2020-09-20T18:53:20.926Z] ---> b22c05c5ef55 [2020-09-20T18:53:20.926Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:53:21.198Z] ---> Running in 5e87683a1b50 [2020-09-20T18:53:23.819Z] Removing intermediate container 5e87683a1b50 [2020-09-20T18:53:23.819Z] ---> 5abb0f7ef6da [2020-09-20T18:53:23.819Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:53:23.819Z] ---> Running in 220fdc799bd9 [2020-09-20T18:53:25.247Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:53:25.841Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:53:26.435Z] OK: 142 MiB in 39 packages [2020-09-20T18:53:27.874Z] Removing intermediate container 220fdc799bd9 [2020-09-20T18:53:27.874Z] ---> 6fb60d43b91e [2020-09-20T18:53:27.874Z] Step 8/24 : COPY . . [2020-09-20T18:53:28.852Z] ---> 420fb9f4f1ea [2020-09-20T18:53:28.852Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:53:29.130Z] ---> Running in cd56987f369e [2020-09-20T18:53:30.570Z] 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 [2020-09-20T18:53:52.780Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:53:54.762Z] Removing intermediate container cd56987f369e [2020-09-20T18:53:54.762Z] ---> 93a5828ddca5 [2020-09-20T18:53:54.762Z] Step 10/24 : FROM scratch [2020-09-20T18:53:54.762Z] ---> [2020-09-20T18:53:54.762Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:53:54.762Z] ---> Running in 66144809e45a [2020-09-20T18:53:55.355Z] Removing intermediate container 66144809e45a [2020-09-20T18:53:55.355Z] ---> be5d365d8d7f [2020-09-20T18:53:55.355Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:53:55.355Z] ---> Running in 654c04afa14b [2020-09-20T18:53:55.627Z] Removing intermediate container 654c04afa14b [2020-09-20T18:53:55.627Z] ---> 78133cc81cda [2020-09-20T18:53:55.627Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:53:55.903Z] ---> Running in 5495cfc31edd [2020-09-20T18:53:56.186Z] Removing intermediate container 5495cfc31edd [2020-09-20T18:53:56.186Z] ---> 67d426f2b14b [2020-09-20T18:53:56.186Z] Step 14/24 : WORKDIR / [2020-09-20T18:53:56.471Z] ---> Running in 2a9a70e0e52a [2020-09-20T18:53:56.743Z] Removing intermediate container 2a9a70e0e52a [2020-09-20T18:53:56.743Z] ---> c28cb1e525b6 [2020-09-20T18:53:56.743Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:53:58.171Z] ---> 4995533b7567 [2020-09-20T18:53:58.171Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:53:58.765Z] ---> f4df1c41a30e [2020-09-20T18:53:58.765Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:53:59.371Z] ---> d7be84cf743f [2020-09-20T18:53:59.371Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:54:00.349Z] ---> 2212a0cf8bb6 [2020-09-20T18:54:00.349Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:54:00.942Z] ---> feac2f5d5c95 [2020-09-20T18:54:00.943Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:54:01.217Z] ---> Running in bc58587ac1bc [2020-09-20T18:54:01.819Z] Removing intermediate container bc58587ac1bc [2020-09-20T18:54:01.819Z] ---> 09dd50dad53c [2020-09-20T18:54:01.819Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:54:01.819Z] ---> Running in 4e3cd660189b [2020-09-20T18:54:02.420Z] Removing intermediate container 4e3cd660189b [2020-09-20T18:54:02.420Z] ---> 4c2c17c31857 [2020-09-20T18:54:02.420Z] Step 22/24 : LABEL arch=arm64 [2020-09-20T18:54:02.420Z] ---> Running in 5b561c4c3842 [2020-09-20T18:54:02.694Z] Removing intermediate container 5b561c4c3842 [2020-09-20T18:54:02.694Z] ---> 0cc3a98537ca [2020-09-20T18:54:02.694Z] Step 23/24 : LABEL git_sha=17a85bb1df95a294e287fd46c68a8e3b1fa5e92e [2020-09-20T18:54:02.967Z] ---> Running in faff34813ee8 [2020-09-20T18:54:03.562Z] Removing intermediate container faff34813ee8 [2020-09-20T18:54:03.562Z] ---> 1ae93b84d7f2 [2020-09-20T18:54:03.562Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:54:03.562Z] ---> Running in 32afe3530471 [2020-09-20T18:54:04.157Z] Removing intermediate container 32afe3530471 [2020-09-20T18:54:04.157Z] ---> c2dfb5defa65 [2020-09-20T18:54:04.157Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:54:04.157Z] Successfully built c2dfb5defa65 [2020-09-20T18:54:04.157Z] 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 [2020-09-20T18:54:05.913Z] provisioning config files... [2020-09-20T18:54:05.930Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config145584780470630630tmp [Pipeline] { [Pipeline] sh [2020-09-20T18:54:06.398Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config145584780470630630tmp [2020-09-20T18:54:06.398Z] + curl -s https://codecov.io/bash [Pipeline] } [2020-09-20T18:54:06.816Z] 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 [2020-09-20T18:54:09.669Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:54:10.697Z] ---> package-listing.sh [2020-09-20T18:54:10.697Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-20T18:54:10.697Z] ++ facter osfamily [2020-09-20T18:54:10.983Z] + OS_FAMILY=redhat [2020-09-20T18:54:10.983Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-20T18:54:10.983Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-20T18:54:10.983Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-20T18:54:10.983Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-20T18:54:10.983Z] + PACKAGES=/tmp/packages_start.txt [2020-09-20T18:54:10.983Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-09-20T18:54:10.983Z] + PACKAGES=/tmp/packages_end.txt [2020-09-20T18:54:10.983Z] + case "${OS_FAMILY}" in [2020-09-20T18:54:10.983Z] + rpm -qa [2020-09-20T18:54:10.983Z] + sort [2020-09-20T18:54:19.242Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-20T18:54:19.242Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-20T18:54:19.242Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-20T18:54:19.242Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-09-20T18:54:19.242Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-09-20T18:54:19.242Z] + 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 [2020-09-20T18:54:19.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:54:19.739Z] [2020-09-20T18:54:19.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:54:20.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:54:20.269Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-20T18:54:20.269Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:54:20.269Z] 36b3adc4ff6f: Pulling fs layer [2020-09-20T18:54:20.269Z] 8ad3a11d3b57: Pulling fs layer [2020-09-20T18:54:20.269Z] 46f8f816bc3b: Pulling fs layer [2020-09-20T18:54:20.269Z] 0dadc02b9964: Pulling fs layer [2020-09-20T18:54:20.269Z] ce6a7cf60c04: Pulling fs layer [2020-09-20T18:54:20.269Z] 7a184a31f384: Pulling fs layer [2020-09-20T18:54:20.269Z] 0879bd2ef858: Pulling fs layer [2020-09-20T18:54:20.269Z] 46f8f816bc3b: Waiting [2020-09-20T18:54:20.269Z] 0dadc02b9964: Waiting [2020-09-20T18:54:20.269Z] ce6a7cf60c04: Waiting [2020-09-20T18:54:20.269Z] 7a184a31f384: Waiting [2020-09-20T18:54:20.269Z] 0879bd2ef858: Waiting [2020-09-20T18:54:20.269Z] 36b3adc4ff6f: Download complete [2020-09-20T18:54:20.546Z] 46f8f816bc3b: Verifying Checksum [2020-09-20T18:54:20.546Z] 46f8f816bc3b: Download complete [2020-09-20T18:54:20.546Z] df20fa9351a1: Verifying Checksum [2020-09-20T18:54:20.546Z] df20fa9351a1: Download complete [2020-09-20T18:54:20.546Z] ce6a7cf60c04: Verifying Checksum [2020-09-20T18:54:20.546Z] ce6a7cf60c04: Download complete [2020-09-20T18:54:20.546Z] 0dadc02b9964: Verifying Checksum [2020-09-20T18:54:20.546Z] 0dadc02b9964: Download complete [2020-09-20T18:54:20.546Z] 7a184a31f384: Verifying Checksum [2020-09-20T18:54:20.546Z] 7a184a31f384: Download complete [2020-09-20T18:54:21.204Z] 8ad3a11d3b57: Verifying Checksum [2020-09-20T18:54:21.205Z] 8ad3a11d3b57: Download complete [2020-09-20T18:54:21.205Z] df20fa9351a1: Pull complete [2020-09-20T18:54:21.837Z] 36b3adc4ff6f: Pull complete [2020-09-20T18:54:22.460Z] 0879bd2ef858: Verifying Checksum [2020-09-20T18:54:22.460Z] 0879bd2ef858: Download complete [2020-09-20T18:54:23.535Z] 8ad3a11d3b57: Pull complete [2020-09-20T18:54:24.219Z] 46f8f816bc3b: Pull complete [2020-09-20T18:54:24.864Z] 0dadc02b9964: Pull complete [2020-09-20T18:54:24.864Z] ce6a7cf60c04: Pull complete [2020-09-20T18:54:25.190Z] 7a184a31f384: Pull complete [2020-09-20T18:54:32.740Z] 0879bd2ef858: Pull complete [2020-09-20T18:54:32.740Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-20T18:54:32.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:54:32.740Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-20T18:54:32.970Z] prd-centos7-docker-4c-2g-587 does not seem to be running inside a container [2020-09-20T18:54:33.036Z] $ 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 [2020-09-20T18:54:36.237Z] $ docker top a39031b4bf1a4383df85b8095bc34aea1dd3fa68e03b0037928000fee9127133 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:54:36.879Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-20T18:54:37.226Z] + ls /var/log/sa-host [2020-09-20T18:54:37.226Z] + sadf -c /var/log/sa-host/sa05 [2020-09-20T18:54:37.226Z] file_magic: OK [2020-09-20T18:54:37.226Z] HZ: Using current value: 100 [2020-09-20T18:54:37.226Z] file_header: OK [2020-09-20T18:54:37.226Z] 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 [2020-09-20T18:54:37.226Z] Statistics: [2020-09-20T18:54:37.226Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:54:37.226Z] File successfully converted to sysstat format version 12.2.1 [2020-09-20T18:54:37.226Z] + sadf -c /var/log/sa-host/sa20 [2020-09-20T18:54:37.226Z] file_magic: OK [2020-09-20T18:54:37.226Z] HZ: Using current value: 100 [2020-09-20T18:54:37.226Z] file_header: OK [2020-09-20T18:54:37.226Z] 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 [2020-09-20T18:54:37.226Z] Statistics: [2020-09-20T18:54:37.226Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:54:37.227Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-20T18:54:37.298Z] provisioning config files... [2020-09-20T18:54:37.321Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config2835866835606106023tmp [Pipeline] { [Pipeline] echo [2020-09-20T18:54:37.403Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:54:37.754Z] ---> create-netrc.sh [Pipeline] echo [2020-09-20T18:54:37.768Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:54:38.082Z] ---> logs-deploy.sh [2020-09-20T18:54:38.082Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/8 [2020-09-20T18:54:38.082Z] INFO: archiving workspace using pattern(s): [2020-09-20T18:54:40.070Z] Archives upload complete. [2020-09-20T18:54:40.070Z] INFO: archiving logs to Nexus