Pull request #637 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 762e9b5c41d84798c79dcb111782135a2a2bdeab+6cec193abf44cabffe02bbcaff9748adb3f719d5 (6dca68e6e3f40a75fa38ae6e9d8896532903142b) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-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, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8096 in /w/workspace/dgexfoundry_device-sdk-go_PR-637 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-637 # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/637/head:refs/remotes/origin/PR-637 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 762e9b5c41d84798c79dcb111782135a2a2bdeab > git config core.sparsecheckout # timeout=10 > git checkout -f 762e9b5c41d84798c79dcb111782135a2a2bdeab # 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 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 Merge succeeded, producing 762e9b5c41d84798c79dcb111782135a2a2bdeab Checking out Revision 762e9b5c41d84798c79dcb111782135a2a2bdeab (PR-637) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 762e9b5c41d84798c79dcb111782135a2a2bdeab # timeout=10 Commit message: "test/docs(sdk): update README and add unit tests" First time build. Skipping changelog. > git rev-list --no-walk ccff8c642bafe7521311748e85e7e23ba0ae787c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-22T01:55:08.781Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-22T01:55:09.093Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-22T01:55:09.222Z] ========================================================= [2020-10-22T01:55:09.222Z] EdgeX Global Pipelines Version Info [2020-10-22T01:55:09.222Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-22T01:55:11.225Z] ------------------- [2020-10-22T01:55:11.225Z] stable info: [2020-10-22T01:55:11.225Z] ------------------- [2020-10-22T01:55:11.225Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-22T01:55:11.225Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-22T01:55:11.225Z] Message: update stable to v1.0.144 [2020-10-22T01:55:12.181Z] ------------------- [2020-10-22T01:55:12.181Z] experimental info: [2020-10-22T01:55:12.181Z] ------------------- [2020-10-22T01:55:12.181Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-22T01:55:12.181Z] Commit SHA: 621c85e0770955ed183ee9564161f3cbfe69c868 [2020-10-22T01:55:12.181Z] Message: update experimental to v1.0.147 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-22T01:55:12.686Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-22T01:55:12.797Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-22T01:55:12.980Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-22T01:55:13.122Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-22T01:55:13.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-22T01:55:13.330Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-22T01:55:13.436Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-22T01:55:13.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-22T01:55:13.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-22T01:55:13.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-22T01:55:13.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-22T01:55:14.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-22T01:55:14.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-22T01:55:14.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-22T01:55:14.518Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-22T01:55:14.620Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T01:55:14.757Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T01:55:14.860Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T01:55:14.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-22T01:55:15.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-22T01:55:15.164Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-22T01:55:15.270Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-22T01:55:15.366Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-22T01:55:15.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-22T01:55:15.578Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-22T01:55:15.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-637 [Pipeline] echo [2020-10-22T01:55:15.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-637 [Pipeline] echo [2020-10-22T01:55:15.904Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-637 [Pipeline] echo [2020-10-22T01:55:16.002Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 762e9b5c41d84798c79dcb111782135a2a2bdeab [Pipeline] echo [2020-10-22T01:55:16.129Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 762e9b5 [Pipeline] echo [2020-10-22T01:55:16.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-22T01:55:16.884Z] + git log --format=format:%s -1 762e9b5c41d84798c79dcb111782135a2a2bdeab [Pipeline] echo [2020-10-22T01:55:16.959Z] GIT_COMMIT: 762e9b5c41d84798c79dcb111782135a2a2bdeab, Commit Message: test/docs(sdk): update README and add unit tests [Pipeline] echo [2020-10-22T01:55:17.009Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:55:18.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T01:55:18.400Z] [2020-10-22T01:55:18.400Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:55:18.753Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T01:55:18.753Z] latest: Pulling from edgex-devops/git-semver [2020-10-22T01:55:18.753Z] 31603596830f: Pulling fs layer [2020-10-22T01:55:18.753Z] 2a8b12db71e7: Pulling fs layer [2020-10-22T01:55:18.753Z] 6ca5941a6612: Pulling fs layer [2020-10-22T01:55:18.753Z] ecc8261a40a4: Pulling fs layer [2020-10-22T01:55:18.753Z] ecc8261a40a4: Waiting [2020-10-22T01:55:18.753Z] 2a8b12db71e7: Verifying Checksum [2020-10-22T01:55:18.753Z] 2a8b12db71e7: Download complete [2020-10-22T01:55:19.016Z] 31603596830f: Verifying Checksum [2020-10-22T01:55:19.016Z] 31603596830f: Download complete [2020-10-22T01:55:19.279Z] ecc8261a40a4: Verifying Checksum [2020-10-22T01:55:19.279Z] ecc8261a40a4: Download complete [2020-10-22T01:55:19.279Z] 31603596830f: Pull complete [2020-10-22T01:55:19.279Z] 2a8b12db71e7: Pull complete [2020-10-22T01:55:19.543Z] 6ca5941a6612: Verifying Checksum [2020-10-22T01:55:19.543Z] 6ca5941a6612: Download complete [2020-10-22T01:55:20.491Z] 6ca5941a6612: Pull complete [2020-10-22T01:55:20.491Z] ecc8261a40a4: Pull complete [2020-10-22T01:55:20.491Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-22T01:55:20.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T01:55:20.491Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-22T01:55:20.614Z] prd-centos7-docker-4c-2g-8096 does not seem to be running inside a container [2020-10-22T01:55:20.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-637 -v /w/workspace/dgexfoundry_device-sdk-go_PR-637:/w/workspace/dgexfoundry_device-sdk-go_PR-637:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-637@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-22T01:55:23.016Z] $ docker top 5572485bd172e37614a66fd9d26bbf41778b1d4667d6347a034ea146e7a9590d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-22T01:55:23.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-22T01:55:23.397Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-22T01:55:23.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-22T01:55:23.608Z] $ docker exec 5572485bd172e37614a66fd9d26bbf41778b1d4667d6347a034ea146e7a9590d ssh-agent [2020-10-22T01:55:23.773Z] SSH_AUTH_SOCK=/tmp/ssh-ZWaSsl0QXeva/agent.11 [2020-10-22T01:55:23.773Z] SSH_AGENT_PID=16 [2020-10-22T01:55:23.786Z] Running ssh-add (command line suppressed) [2020-10-22T01:55:23.905Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/private_key_5562552462373328435.key (/w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/private_key_5562552462373328435.key) [2020-10-22T01:55:23.954Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-22T01:55:24.309Z] + git tag --points-at HEAD [Pipeline] } [2020-10-22T01:55:24.334Z] $ docker exec --env ******** --env ******** 5572485bd172e37614a66fd9d26bbf41778b1d4667d6347a034ea146e7a9590d ssh-agent -k [2020-10-22T01:55:24.445Z] unset SSH_AUTH_SOCK; [2020-10-22T01:55:24.445Z] unset SSH_AGENT_PID; [2020-10-22T01:55:24.445Z] echo Agent pid 16 killed; [2020-10-22T01:55:24.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-22T01:55:24.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-22T01:55:24.647Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-22T01:55:24.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-22T01:55:24.814Z] $ docker exec 5572485bd172e37614a66fd9d26bbf41778b1d4667d6347a034ea146e7a9590d ssh-agent [2020-10-22T01:55:24.973Z] SSH_AUTH_SOCK=/tmp/ssh-HpfrGfQYGEY1/agent.44 [2020-10-22T01:55:24.973Z] SSH_AGENT_PID=50 [2020-10-22T01:55:24.980Z] Running ssh-add (command line suppressed) [2020-10-22T01:55:25.116Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/private_key_120112143143984692.key (/w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/private_key_120112143143984692.key) [2020-10-22T01:55:25.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-22T01:55:25.502Z] + git semver init [2020-10-22T01:55:25.502Z] # -> Open(): unable to determine branch for HEAD [2020-10-22T01:55:25.502Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-637/.git [2020-10-22T01:55:25.502Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-637 [2020-10-22T01:55:25.502Z] # $SEMVER_REMOTE_NAME = origin [2020-10-22T01:55:25.502Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-22T01:55:25.502Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-22T01:55:25.502Z] # $SEMVER_BRANCH = PR-637 [2020-10-22T01:55:25.502Z] # $SEMVER_TEMP = /tmp/semver-044289564 [2020-10-22T01:55:25.502Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-22T01:55:26.080Z] # '/tmp/semver-044289564' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-637/.semver' [2020-10-22T01:55:26.080Z] # -> Force: false [2020-10-22T01:55:26.080Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-637/.semver [Pipeline] } [2020-10-22T01:55:26.095Z] $ docker exec --env ******** --env ******** 5572485bd172e37614a66fd9d26bbf41778b1d4667d6347a034ea146e7a9590d ssh-agent -k [2020-10-22T01:55:26.212Z] unset SSH_AUTH_SOCK; [2020-10-22T01:55:26.213Z] unset SSH_AGENT_PID; [2020-10-22T01:55:26.213Z] echo Agent pid 50 killed; [2020-10-22T01:55:26.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-22T01:55:26.736Z] + git semver [Pipeline] } [2020-10-22T01:55:26.756Z] $ docker stop --time=1 5572485bd172e37614a66fd9d26bbf41778b1d4667d6347a034ea146e7a9590d [2020-10-22T01:55:28.185Z] $ docker rm -f 5572485bd172e37614a66fd9d26bbf41778b1d4667d6347a034ea146e7a9590d [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-22T01:55:28.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-22T01:55:29.187Z] Stashed 1 file(s) [Pipeline] echo [2020-10-22T01:55:29.190Z] [edgeXSemver]: initialized semver on 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-10-22T01:55:44.928Z] Still waiting to schedule task [2020-10-22T01:55:44.928Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-22T01:55:44.930Z] Still waiting to schedule task [2020-10-22T01:55:44.930Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-22T01:57:24.523Z] Running on prd-centos7-docker-4c-2g-8097 in /w/workspace/dgexfoundry_device-sdk-go_PR-637 [Pipeline] { [Pipeline] ws [2020-10-22T01:57:24.579Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-22T01:57:27.238Z] using credential edgex-jenkins-ssh [2020-10-22T01:57:27.323Z] Cloning the remote Git repository [2020-10-22T01:57:27.349Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T01:57:27.418Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-22T01:57:27.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T01:57:27.488Z] > git --version # timeout=10 [2020-10-22T01:57:27.495Z] > git --version # 'git version 2.16.5' [2020-10-22T01:57:27.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T01:57:27.530Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T01:57:28.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T01:57:28.200Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T01:57:28.211Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T01:57:28.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T01:57:28.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T01:57:28.232Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/637/head:refs/remotes/origin/PR-637 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-22T01:57:28.730Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 762e9b5c41d84798c79dcb111782135a2a2bdeab [2020-10-22T01:57:28.832Z] Merge succeeded, producing 762e9b5c41d84798c79dcb111782135a2a2bdeab [2020-10-22T01:57:28.832Z] Checking out Revision 762e9b5c41d84798c79dcb111782135a2a2bdeab (PR-637) [2020-10-22T01:57:28.739Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T01:57:28.745Z] > git checkout -f 762e9b5c41d84798c79dcb111782135a2a2bdeab # timeout=10 [2020-10-22T01:57:28.799Z] > git remote # timeout=10 [2020-10-22T01:57:28.805Z] > git config --get remote.origin.url # timeout=10 [2020-10-22T01:57:28.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T01:57:28.817Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-22T01:57:28.827Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-22T01:57:28.835Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T01:57:28.839Z] > git checkout -f 762e9b5c41d84798c79dcb111782135a2a2bdeab # timeout=10 [2020-10-22T01:57:32.459Z] Commit message: "test/docs(sdk): update README and add unit tests" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-22T01:57:33.225Z] ========================================================= [2020-10-22T01:57:33.226Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-22T01:57:33.226Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:57:33.807Z] + 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-10-22T01:57:34.070Z] Sending build context to Docker daemon 2.338MB [2020-10-22T01:57:34.070Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-22T01:57:34.070Z] Step 2/8 : FROM ${BASE} [2020-10-22T01:57:34.333Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-22T01:57:34.333Z] df20fa9351a1: Pulling fs layer [2020-10-22T01:57:34.333Z] ed8968b2872e: Pulling fs layer [2020-10-22T01:57:34.333Z] a92cc7c5fd73: Pulling fs layer [2020-10-22T01:57:34.333Z] e871e8e8d7a9: Pulling fs layer [2020-10-22T01:57:34.333Z] e73272ec9a57: Pulling fs layer [2020-10-22T01:57:34.333Z] 1e910a182e73: Pulling fs layer [2020-10-22T01:57:34.333Z] 4e634b169226: Pulling fs layer [2020-10-22T01:57:34.333Z] e871e8e8d7a9: Waiting [2020-10-22T01:57:34.333Z] e73272ec9a57: Waiting [2020-10-22T01:57:34.333Z] 1e910a182e73: Waiting [2020-10-22T01:57:34.333Z] a92cc7c5fd73: Verifying Checksum [2020-10-22T01:57:34.333Z] a92cc7c5fd73: Download complete [2020-10-22T01:57:34.333Z] ed8968b2872e: Verifying Checksum [2020-10-22T01:57:34.333Z] ed8968b2872e: Download complete [2020-10-22T01:57:34.333Z] e73272ec9a57: Verifying Checksum [2020-10-22T01:57:34.333Z] e73272ec9a57: Download complete [2020-10-22T01:57:35.282Z] 1e910a182e73: Verifying Checksum [2020-10-22T01:57:35.282Z] 1e910a182e73: Download complete [2020-10-22T01:57:35.282Z] df20fa9351a1: Verifying Checksum [2020-10-22T01:57:35.282Z] df20fa9351a1: Download complete [2020-10-22T01:57:35.545Z] df20fa9351a1: Pull complete [2020-10-22T01:57:35.808Z] ed8968b2872e: Pull complete [2020-10-22T01:57:35.808Z] a92cc7c5fd73: Pull complete [2020-10-22T01:57:37.745Z] 4e634b169226: Verifying Checksum [2020-10-22T01:57:37.745Z] 4e634b169226: Download complete [2020-10-22T01:57:37.745Z] e871e8e8d7a9: Verifying Checksum [2020-10-22T01:57:37.745Z] e871e8e8d7a9: Download complete [2020-10-22T01:57:43.071Z] e871e8e8d7a9: Pull complete [2020-10-22T01:57:43.071Z] e73272ec9a57: Pull complete [2020-10-22T01:57:43.334Z] 1e910a182e73: Pull complete [2020-10-22T01:57:47.580Z] 4e634b169226: Pull complete [2020-10-22T01:57:47.580Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-22T01:57:47.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-22T01:57:47.580Z] ---> f7629b54cfaa [2020-10-22T01:57:47.580Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T01:57:47.580Z] ---> Running in e063f1b6e325 [2020-10-22T01:57:47.580Z] Removing intermediate container e063f1b6e325 [2020-10-22T01:57:47.580Z] ---> 9b2ea9f32323 [2020-10-22T01:57:47.580Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T01:57:47.580Z] ---> Running in b8e1301769c2 [2020-10-22T01:57:49.509Z] Removing intermediate container b8e1301769c2 [2020-10-22T01:57:49.509Z] ---> bf88faf72c09 [2020-10-22T01:57:49.509Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-22T01:57:49.509Z] ---> Running in edfbd801e1b6 [2020-10-22T01:57:50.092Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-22T01:57:50.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-22T01:57:51.245Z] OK: 166 MiB in 39 packages [2020-10-22T01:57:51.507Z] Removing intermediate container edfbd801e1b6 [2020-10-22T01:57:51.507Z] ---> 9aaa89f986fe [2020-10-22T01:57:51.507Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-22T01:57:51.775Z] ---> Running in 1be950d7b30b [2020-10-22T01:57:51.775Z] Removing intermediate container 1be950d7b30b [2020-10-22T01:57:51.775Z] ---> 52477e6dfb03 [2020-10-22T01:57:51.775Z] Step 7/8 : COPY . . [2020-10-22T01:57:53.169Z] ---> 908ad1744181 [2020-10-22T01:57:53.169Z] Step 8/8 : RUN go mod download [2020-10-22T01:57:53.169Z] ---> Running in 0a56662a8925 [2020-10-22T01:58:10.588Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8098 in /w/workspace/dgexfoundry_device-sdk-go_PR-637 [Pipeline] { [Pipeline] ws [2020-10-22T01:58:10.647Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-22T01:58:11.348Z] Removing intermediate container 0a56662a8925 [2020-10-22T01:58:11.348Z] ---> ddfae112ec6d [2020-10-22T01:58:11.348Z] Successfully built ddfae112ec6d [2020-10-22T01:58:11.348Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:58:11.710Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-22T01:58:11.710Z] . [Pipeline] withDockerContainer [2020-10-22T01:58:11.813Z] prd-centos7-docker-4c-2g-8097 does not seem to be running inside a container [2020-10-22T01:58:11.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-22T01:58:12.596Z] $ docker top 80fb675bd73d05ff12ca8079df41e08323636ac9d2c5f1c46a49e7a03196b380 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T01:58:13.147Z] + go version [2020-10-22T01:58:13.147Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-22T01:58:13.162Z] $ docker stop --time=1 80fb675bd73d05ff12ca8079df41e08323636ac9d2c5f1c46a49e7a03196b380 [2020-10-22T01:58:14.515Z] $ docker rm -f 80fb675bd73d05ff12ca8079df41e08323636ac9d2c5f1c46a49e7a03196b380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:58:15.592Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-22T01:58:15.593Z] . [Pipeline] withDockerContainer [2020-10-22T01:58:15.756Z] prd-centos7-docker-4c-2g-8097 does not seem to be running inside a container [2020-10-22T01:58:15.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-22T01:58:16.345Z] using credential edgex-jenkins-ssh [2020-10-22T01:58:16.413Z] Cloning the remote Git repository [2020-10-22T01:58:16.564Z] $ docker top 6d06736b5087c36e4ddd2d4f6ed917762ce39fe5e5cf482c1bcd278f3656ac1a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T01:58:16.497Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T01:58:16.610Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-22T01:58:16.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T01:58:16.687Z] > git --version # timeout=10 [2020-10-22T01:58:16.707Z] > git --version # 'git version 2.17.1' [2020-10-22T01:58:16.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T01:58:16.762Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T01:58:17.075Z] + make test [2020-10-22T01:58:17.075Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-22T01:58:17.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T01:58:17.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T01:58:17.940Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T01:58:17.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T01:58:17.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T01:58:17.998Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/637/head:refs/remotes/origin/PR-637 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-22T01:58:18.573Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 762e9b5c41d84798c79dcb111782135a2a2bdeab [2020-10-22T01:58:18.892Z] Merge succeeded, producing 762e9b5c41d84798c79dcb111782135a2a2bdeab [2020-10-22T01:58:18.893Z] Checking out Revision 762e9b5c41d84798c79dcb111782135a2a2bdeab (PR-637) [2020-10-22T01:58:18.602Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T01:58:18.626Z] > git checkout -f 762e9b5c41d84798c79dcb111782135a2a2bdeab # timeout=10 [2020-10-22T01:58:18.744Z] > git remote # timeout=10 [2020-10-22T01:58:18.770Z] > git config --get remote.origin.url # timeout=10 [2020-10-22T01:58:18.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T01:58:18.794Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-22T01:58:18.853Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-22T01:58:18.904Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T01:58:18.944Z] > git checkout -f 762e9b5c41d84798c79dcb111782135a2a2bdeab # timeout=10 [2020-10-22T01:58:23.330Z] Commit message: "test/docs(sdk): update README and add unit tests" [Pipeline] withEnv [Pipeline] { [2020-10-22T01:58:23.731Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-22T01:58:24.191Z] ========================================================= [2020-10-22T01:58:24.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-22T01:58:24.191Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:58:25.240Z] + 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-10-22T01:58:26.225Z] Sending build context to Docker daemon 2.34MB [2020-10-22T01:58:26.225Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-22T01:58:26.225Z] Step 2/8 : FROM ${BASE} [2020-10-22T01:58:26.501Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-22T01:58:26.501Z] b538f80385f9: Pulling fs layer [2020-10-22T01:58:26.501Z] 74f711af9a0d: Pulling fs layer [2020-10-22T01:58:26.501Z] 99f96fe45779: Pulling fs layer [2020-10-22T01:58:26.501Z] 8529a6b9a6be: Pulling fs layer [2020-10-22T01:58:26.501Z] 45590311c82a: Pulling fs layer [2020-10-22T01:58:26.501Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-22T01:58:26.501Z] 209524e5b208: Pulling fs layer [2020-10-22T01:58:26.501Z] 8529a6b9a6be: Waiting [2020-10-22T01:58:26.501Z] 45590311c82a: Waiting [2020-10-22T01:58:26.501Z] 69ca0ff8b7b3: Waiting [2020-10-22T01:58:26.501Z] 209524e5b208: Waiting [2020-10-22T01:58:26.501Z] 99f96fe45779: Download complete [2020-10-22T01:58:26.501Z] 74f711af9a0d: Download complete [2020-10-22T01:58:26.501Z] 45590311c82a: Verifying Checksum [2020-10-22T01:58:26.501Z] 45590311c82a: Download complete [2020-10-22T01:58:26.501Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-22T01:58:26.501Z] 69ca0ff8b7b3: Download complete [2020-10-22T01:58:26.776Z] b538f80385f9: Download complete [2020-10-22T01:58:27.384Z] b538f80385f9: Pull complete [2020-10-22T01:58:27.993Z] 74f711af9a0d: Pull complete [2020-10-22T01:58:28.270Z] 99f96fe45779: Pull complete [2020-10-22T01:58:29.286Z] 209524e5b208: Verifying Checksum [2020-10-22T01:58:29.286Z] 209524e5b208: Download complete [2020-10-22T01:58:29.885Z] 8529a6b9a6be: Verifying Checksum [2020-10-22T01:58:29.885Z] 8529a6b9a6be: Download complete [2020-10-22T01:58:38.739Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-22T01:58:38.739Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-22T01:58:38.739Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-22T01:58:38.739Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.6% of statements [2020-10-22T01:58:39.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.461s coverage: 97.1% of statements [2020-10-22T01:58:40.067Z] 8529a6b9a6be: Pull complete [2020-10-22T01:58:40.345Z] 45590311c82a: Pull complete [2020-10-22T01:58:40.628Z] 69ca0ff8b7b3: Pull complete [2020-10-22T01:58:44.043Z] 209524e5b208: Pull complete [2020-10-22T01:58:44.043Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-22T01:58:44.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-22T01:58:44.043Z] ---> 5bddaf1c2fca [2020-10-22T01:58:44.043Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T01:58:47.459Z] ---> Running in dff1bb871331 [2020-10-22T01:58:47.734Z] Removing intermediate container dff1bb871331 [2020-10-22T01:58:47.734Z] ---> 4b67d4ad4b6b [2020-10-22T01:58:47.734Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T01:58:47.734Z] ---> Running in 3979d139bd9a [2020-10-22T01:58:50.371Z] Removing intermediate container 3979d139bd9a [2020-10-22T01:58:50.371Z] ---> 39d94431baba [2020-10-22T01:58:50.371Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-22T01:58:50.645Z] ---> Running in 26118293da99 [2020-10-22T01:58:52.085Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-22T01:58:53.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-22T01:58:54.034Z] OK: 142 MiB in 39 packages [2020-10-22T01:58:55.012Z] Removing intermediate container 26118293da99 [2020-10-22T01:58:55.012Z] ---> 4835578d428c [2020-10-22T01:58:55.012Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-22T01:58:55.283Z] ---> Running in 0b27f8ea5ee3 [2020-10-22T01:58:55.559Z] Removing intermediate container 0b27f8ea5ee3 [2020-10-22T01:58:55.559Z] ---> eb16173a4536 [2020-10-22T01:58:55.559Z] Step 7/8 : COPY . . [2020-10-22T01:58:57.007Z] ---> ed26d8cf657a [2020-10-22T01:58:57.007Z] Step 8/8 : RUN go mod download [2020-10-22T01:58:57.290Z] ---> Running in fa9221bc4c91 [2020-10-22T01:59:11.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.072s coverage: 9.4% of statements [2020-10-22T01:59:11.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.061s coverage: 21.9% of statements [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-22T01:59:11.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.246s coverage: 42.6% of statements [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-22T01:59:11.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.286s coverage: 68.9% of statements [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-22T01:59:11.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.092s coverage: 52.6% of statements [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-22T01:59:11.486Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.360s coverage: 68.9% of statements [2020-10-22T01:59:11.486Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.7% of statements [2020-10-22T01:59:11.486Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-22T01:59:11.486Z] GO111MODULE=on go vet ./... [2020-10-22T01:59:19.472Z] Removing intermediate container fa9221bc4c91 [2020-10-22T01:59:19.472Z] ---> 3ea07a50ade6 [2020-10-22T01:59:19.472Z] Successfully built 3ea07a50ade6 [2020-10-22T01:59:19.472Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:59:19.800Z] gofmt -l . [2020-10-22T01:59:19.800Z] [ "`gofmt -l .`" = "" ] [2020-10-22T01:59:19.800Z] ./bin/test-attribution-txt.sh [2020-10-22T01:59:19.800Z] ./bin/test-go-mod-tidy.sh [2020-10-22T01:59:19.871Z] + docker inspect -f . ci-base-image-arm64 [2020-10-22T01:59:19.871Z] . [Pipeline] withDockerContainer [2020-10-22T01:59:20.141Z] prd-ubuntu18.04-docker-arm64-4c-16g-8098 does not seem to be running inside a container [2020-10-22T01:59:20.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-22T01:59:22.032Z] $ docker top f3996e8187c48affcc55f53f252623797ad69a1da16df8d66abc05dfa924a275 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2020-10-22T01:59:22.758Z] Stashed 1 file(s) [Pipeline] } [2020-10-22T01:59:22.765Z] $ docker stop --time=1 6d06736b5087c36e4ddd2d4f6ed917762ce39fe5e5cf482c1bcd278f3656ac1a [2020-10-22T01:59:23.530Z] + go version [2020-10-22T01:59:23.530Z] go version go1.15.2 linux/arm64 [2020-10-22T01:59:24.721Z] $ docker rm -f 6d06736b5087c36e4ddd2d4f6ed917762ce39fe5e5cf482c1bcd278f3656ac1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2020-10-22T01:59:25.086Z] $ docker stop --time=1 f3996e8187c48affcc55f53f252623797ad69a1da16df8d66abc05dfa924a275 [2020-10-22T01:59:27.055Z] $ docker rm -f f3996e8187c48affcc55f53f252623797ad69a1da16df8d66abc05dfa924a275 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:59:30.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-22T01:59:30.509Z] + docker inspect -f . ci-base-image-arm64 [2020-10-22T01:59:30.509Z] . [Pipeline] withDockerContainer [2020-10-22T01:59:30.579Z] + ls -al . [2020-10-22T01:59:30.579Z] total 208 [2020-10-22T01:59:30.579Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 22 01:59 . [2020-10-22T01:59:30.579Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 22 01:57 .. [2020-10-22T01:59:30.579Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 22 01:57 bin [2020-10-22T01:59:30.579Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 22 01:59 coverage.out [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 22 01:57 Dockerfile.build [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 22 01:57 .dockerignore [2020-10-22T01:59:30.579Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 22 01:57 example [2020-10-22T01:59:30.579Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 22 01:57 .git [2020-10-22T01:59:30.579Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 22 01:57 .github [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 22 01:57 .gitignore [2020-10-22T01:59:30.579Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 22 01:59 go.mod [2020-10-22T01:59:30.579Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 22 01:59 go.sum [2020-10-22T01:59:30.579Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 22 01:57 internal [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 22 01:57 Jenkinsfile [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 22 01:57 LICENSE [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 22 01:57 Makefile [2020-10-22T01:59:30.579Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 22 01:57 openapi [2020-10-22T01:59:30.579Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 22 01:57 pkg [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 22 01:57 README.md [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 22 01:57 RELEASE-NOTES.txt [2020-10-22T01:59:30.579Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 22 01:57 snap [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 22 01:55 VERSION [2020-10-22T01:59:30.579Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 22 01:57 version.go [2020-10-22T01:59:30.775Z] prd-ubuntu18.04-docker-arm64-4c-16g-8098 does not seem to be running inside a container [2020-10-22T01:59:30.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-22T01:59:32.781Z] $ docker top 848ea856d41cefa900d79b160db0d1b7cb1dcca8621319cdf29fc0c23760fcf3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-22T01:59:33.591Z] + 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=762e9b5c41d84798c79dcb111782135a2a2bdeab --label arch=amd64 --label version=0.0.0 . [2020-10-22T01:59:33.852Z] Sending build context to Docker daemon 2.466MB [2020-10-22T01:59:33.852Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-22T01:59:33.852Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-22T01:59:33.852Z] ---> ddfae112ec6d [2020-10-22T01:59:33.852Z] Step 3/24 : ARG MAKE='make build' [2020-10-22T01:59:34.216Z] + make test [2020-10-22T01:59:34.216Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-22T01:59:34.428Z] ---> Running in 2dc0d4e9bad5 [2020-10-22T01:59:34.691Z] Removing intermediate container 2dc0d4e9bad5 [2020-10-22T01:59:34.691Z] ---> 7085ab4b37f4 [2020-10-22T01:59:34.691Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-22T01:59:34.691Z] ---> Running in 4ff4a56c3bed [2020-10-22T01:59:34.691Z] Removing intermediate container 4ff4a56c3bed [2020-10-22T01:59:34.691Z] ---> c7fd6771a079 [2020-10-22T01:59:34.691Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T01:59:34.958Z] ---> Running in acc880b0f526 [2020-10-22T01:59:34.958Z] Removing intermediate container acc880b0f526 [2020-10-22T01:59:34.958Z] ---> ebe930373803 [2020-10-22T01:59:34.958Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T01:59:34.958Z] ---> Running in 16b2e5f6d9f2 [2020-10-22T01:59:35.909Z] Removing intermediate container 16b2e5f6d9f2 [2020-10-22T01:59:35.909Z] ---> 5a8b8c97457c [2020-10-22T01:59:35.909Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-22T01:59:35.909Z] ---> Running in f05bfbc8b0e6 [2020-10-22T01:59:36.489Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-22T01:59:37.064Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-22T01:59:37.641Z] OK: 166 MiB in 39 packages [2020-10-22T01:59:38.222Z] Removing intermediate container f05bfbc8b0e6 [2020-10-22T01:59:38.222Z] ---> 692db0cadcba [2020-10-22T01:59:38.222Z] Step 8/24 : COPY . . [2020-10-22T01:59:39.175Z] ---> a0a4b9a2247a [2020-10-22T01:59:39.175Z] Step 9/24 : RUN ${MAKE} [2020-10-22T01:59:39.175Z] ---> Running in b0bf5cd07555 [2020-10-22T01:59:39.438Z] 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-10-22T01:59:47.705Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-22T01:59:49.638Z] Removing intermediate container b0bf5cd07555 [2020-10-22T01:59:49.638Z] ---> d7ddb782c7e0 [2020-10-22T01:59:49.638Z] Step 10/24 : FROM scratch [2020-10-22T01:59:49.638Z] ---> [2020-10-22T01:59:49.638Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T01:59:49.902Z] ---> Running in 144bcc9a7546 [2020-10-22T01:59:49.902Z] Removing intermediate container 144bcc9a7546 [2020-10-22T01:59:49.902Z] ---> 077c55b7f03b [2020-10-22T01:59:49.902Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-22T01:59:49.902Z] ---> Running in 6be01f2564eb [2020-10-22T01:59:50.165Z] Removing intermediate container 6be01f2564eb [2020-10-22T01:59:50.165Z] ---> ba3cfdf3a764 [2020-10-22T01:59:50.165Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-22T01:59:50.165Z] ---> Running in b3337fd59764 [2020-10-22T01:59:50.427Z] Removing intermediate container b3337fd59764 [2020-10-22T01:59:50.427Z] ---> 0324d9d2db7b [2020-10-22T01:59:50.427Z] Step 14/24 : WORKDIR / [2020-10-22T01:59:50.427Z] ---> Running in d7c744153363 [2020-10-22T01:59:50.427Z] Removing intermediate container d7c744153363 [2020-10-22T01:59:50.427Z] ---> 645d8168bef2 [2020-10-22T01:59:50.427Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-22T01:59:51.001Z] ---> 519f477d57aa [2020-10-22T01:59:51.001Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-22T01:59:51.263Z] ---> c063320c13be [2020-10-22T01:59:51.263Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-22T01:59:51.524Z] ---> 8181702335a6 [2020-10-22T01:59:51.524Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-22T01:59:51.786Z] ---> eb1bcbe49659 [2020-10-22T01:59:51.786Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-22T01:59:51.786Z] ---> 54f482d0705c [2020-10-22T01:59:51.786Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-22T01:59:52.048Z] ---> Running in 508815d6f935 [2020-10-22T01:59:52.048Z] Removing intermediate container 508815d6f935 [2020-10-22T01:59:52.048Z] ---> 984a08a2cc5d [2020-10-22T01:59:52.048Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-22T01:59:52.311Z] ---> Running in 51bd0c5b45b4 [2020-10-22T01:59:52.311Z] Removing intermediate container 51bd0c5b45b4 [2020-10-22T01:59:52.311Z] ---> 512018256068 [2020-10-22T01:59:52.311Z] Step 22/24 : LABEL arch=amd64 [2020-10-22T01:59:52.311Z] ---> Running in 7db68bbfa31b [2020-10-22T01:59:52.574Z] Removing intermediate container 7db68bbfa31b [2020-10-22T01:59:52.574Z] ---> 168d8dd1f28d [2020-10-22T01:59:52.574Z] Step 23/24 : LABEL git_sha=762e9b5c41d84798c79dcb111782135a2a2bdeab [2020-10-22T01:59:52.574Z] ---> Running in b728cccb0e6e [2020-10-22T01:59:52.839Z] Removing intermediate container b728cccb0e6e [2020-10-22T01:59:52.839Z] ---> bcdd8f433dd1 [2020-10-22T01:59:52.839Z] Step 24/24 : LABEL version=0.0.0 [2020-10-22T01:59:52.839Z] ---> Running in 6473bf9a3c5c [2020-10-22T01:59:53.108Z] Removing intermediate container 6473bf9a3c5c [2020-10-22T01:59:53.108Z] ---> 9aed737f76aa [2020-10-22T01:59:53.108Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-22T01:59:53.108Z] Successfully built 9aed737f76aa [2020-10-22T01:59:53.108Z] Successfully tagged docker-device-sdk-simple:latest [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-10-22T01:59:56.407Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-22T02:00:35.472Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-22T02:00:35.472Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-22T02:00:35.472Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-22T02:00:35.472Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 21.6% of statements [2020-10-22T02:00:39.813Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.148s coverage: 97.1% of statements [2020-10-22T02:01:06.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.142s coverage: 9.4% of statements [2020-10-22T02:01:06.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.9% of statements [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-22T02:01:06.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.571s coverage: 42.6% of statements [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-22T02:01:06.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.786s coverage: 68.9% of statements [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-22T02:01:06.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.202s coverage: 52.6% of statements [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-22T02:01:06.646Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.954s coverage: 68.9% of statements [2020-10-22T02:01:06.646Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.138s coverage: 4.7% of statements [2020-10-22T02:01:06.646Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-22T02:01:07.246Z] GO111MODULE=on go vet ./... [2020-10-22T02:01:40.035Z] gofmt -l . [2020-10-22T02:01:40.035Z] [ "`gofmt -l .`" = "" ] [2020-10-22T02:01:40.035Z] ./bin/test-attribution-txt.sh [2020-10-22T02:01:40.035Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-22T02:01:40.117Z] Warning: overwriting stash ‘coverage-report’ [2020-10-22T02:01:41.291Z] Stashed 1 file(s) [Pipeline] } [2020-10-22T02:01:41.313Z] $ docker stop --time=1 848ea856d41cefa900d79b160db0d1b7cb1dcca8621319cdf29fc0c23760fcf3 [2020-10-22T02:01:43.605Z] $ docker rm -f 848ea856d41cefa900d79b160db0d1b7cb1dcca8621319cdf29fc0c23760fcf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-22T02:01:45.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-22T02:01:45.781Z] + ls -al . [2020-10-22T02:01:45.781Z] total 244 [2020-10-22T02:01:45.781Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 02:01 . [2020-10-22T02:01:45.781Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 01:58 .. [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 01:58 .dockerignore [2020-10-22T02:01:45.781Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 01:58 .git [2020-10-22T02:01:45.781Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 01:58 .github [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 22 01:58 .gitignore [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 22 01:58 Dockerfile.build [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 22 01:58 Jenkinsfile [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 01:58 LICENSE [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 22 01:58 Makefile [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 22 01:58 README.md [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 22 01:58 RELEASE-NOTES.txt [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 01:55 VERSION [2020-10-22T02:01:45.781Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 01:58 bin [2020-10-22T02:01:45.781Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 22 02:01 coverage.out [2020-10-22T02:01:45.781Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 01:58 example [2020-10-22T02:01:45.781Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 22 02:01 go.mod [2020-10-22T02:01:45.781Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 22 02:01 go.sum [2020-10-22T02:01:45.781Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 22 01:58 internal [2020-10-22T02:01:45.781Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 01:58 openapi [2020-10-22T02:01:45.781Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 01:58 pkg [2020-10-22T02:01:45.781Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 01:58 snap [2020-10-22T02:01:45.781Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 01:58 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:01:46.139Z] + 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=762e9b5c41d84798c79dcb111782135a2a2bdeab --label arch=arm64 --label version=0.0.0 . [2020-10-22T02:01:46.410Z] Sending build context to Docker daemon 2.468MB [2020-10-22T02:01:46.687Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-22T02:01:46.687Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-22T02:01:46.687Z] ---> 3ea07a50ade6 [2020-10-22T02:01:46.687Z] Step 3/24 : ARG MAKE='make build' [2020-10-22T02:01:46.959Z] ---> Running in a5cbd28b879f [2020-10-22T02:01:47.232Z] Removing intermediate container a5cbd28b879f [2020-10-22T02:01:47.232Z] ---> b3ef1440ffa8 [2020-10-22T02:01:47.232Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-22T02:01:47.508Z] ---> Running in d4c762e3a44f [2020-10-22T02:01:47.787Z] Removing intermediate container d4c762e3a44f [2020-10-22T02:01:47.787Z] ---> 06302661e168 [2020-10-22T02:01:47.787Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T02:01:48.063Z] ---> Running in bf02105d711b [2020-10-22T02:01:48.334Z] Removing intermediate container bf02105d711b [2020-10-22T02:01:48.334Z] ---> 696fb052f55d [2020-10-22T02:01:48.334Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T02:01:48.607Z] ---> Running in 92a1b8679ef5 [2020-10-22T02:01:51.251Z] Removing intermediate container 92a1b8679ef5 [2020-10-22T02:01:51.251Z] ---> 1e6b5d3bf1f1 [2020-10-22T02:01:51.251Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-22T02:01:51.251Z] ---> Running in f1053f990332 [2020-10-22T02:01:52.684Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-22T02:01:53.282Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-22T02:01:53.878Z] OK: 142 MiB in 39 packages [2020-10-22T02:01:55.311Z] Removing intermediate container f1053f990332 [2020-10-22T02:01:55.311Z] ---> 39a67b77ba09 [2020-10-22T02:01:55.311Z] Step 8/24 : COPY . . [2020-10-22T02:01:56.292Z] ---> 7354f571a131 [2020-10-22T02:01:56.292Z] Step 9/24 : RUN ${MAKE} [2020-10-22T02:01:56.569Z] ---> Running in a1843bae886a [2020-10-22T02:01:58.019Z] 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-10-22T02:02:24.836Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-22T02:02:24.836Z] Removing intermediate container a1843bae886a [2020-10-22T02:02:24.836Z] ---> 16abdedae9b7 [2020-10-22T02:02:24.836Z] Step 10/24 : FROM scratch [2020-10-22T02:02:24.836Z] ---> [2020-10-22T02:02:24.836Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T02:02:25.109Z] ---> Running in 69ce6feae0e8 [2020-10-22T02:02:25.380Z] Removing intermediate container 69ce6feae0e8 [2020-10-22T02:02:25.380Z] ---> 9d2fef1e07ae [2020-10-22T02:02:25.380Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-22T02:02:25.656Z] ---> Running in e45301e23c0c [2020-10-22T02:02:25.928Z] Removing intermediate container e45301e23c0c [2020-10-22T02:02:25.928Z] ---> 16dc4afe07d4 [2020-10-22T02:02:25.928Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-22T02:02:26.203Z] ---> Running in 43bf07337330 [2020-10-22T02:02:26.479Z] Removing intermediate container 43bf07337330 [2020-10-22T02:02:26.479Z] ---> 1e90485e8a6a [2020-10-22T02:02:26.479Z] Step 14/24 : WORKDIR / [2020-10-22T02:02:26.479Z] ---> Running in 719a4703fef5 [2020-10-22T02:02:27.079Z] Removing intermediate container 719a4703fef5 [2020-10-22T02:02:27.079Z] ---> c30b3e1954a0 [2020-10-22T02:02:27.079Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-22T02:02:28.067Z] ---> 1e75caa4301e [2020-10-22T02:02:28.067Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-22T02:02:29.043Z] ---> 071c5ad17db8 [2020-10-22T02:02:29.043Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-22T02:02:29.638Z] ---> 92b71b5200ea [2020-10-22T02:02:29.638Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-22T02:02:30.239Z] ---> 06469519036a [2020-10-22T02:02:30.239Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-22T02:02:30.835Z] ---> 5c3710520f72 [2020-10-22T02:02:30.835Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-22T02:02:31.106Z] ---> Running in 3a4a60782216 [2020-10-22T02:02:31.376Z] Removing intermediate container 3a4a60782216 [2020-10-22T02:02:31.376Z] ---> d53c7057bafa [2020-10-22T02:02:31.376Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-22T02:02:31.648Z] ---> Running in eb5459c5cf5a [2020-10-22T02:02:31.919Z] Removing intermediate container eb5459c5cf5a [2020-10-22T02:02:31.919Z] ---> 04c9da1b2751 [2020-10-22T02:02:31.919Z] Step 22/24 : LABEL arch=arm64 [2020-10-22T02:02:32.191Z] ---> Running in c5fda2683ac1 [2020-10-22T02:02:32.466Z] Removing intermediate container c5fda2683ac1 [2020-10-22T02:02:32.466Z] ---> b03d03d057b2 [2020-10-22T02:02:32.466Z] Step 23/24 : LABEL git_sha=762e9b5c41d84798c79dcb111782135a2a2bdeab [2020-10-22T02:02:32.738Z] ---> Running in 0ba58f56a0d0 [2020-10-22T02:02:33.013Z] Removing intermediate container 0ba58f56a0d0 [2020-10-22T02:02:33.013Z] ---> 98078cb8294a [2020-10-22T02:02:33.013Z] Step 24/24 : LABEL version=0.0.0 [2020-10-22T02:02:33.289Z] ---> Running in f9dd121295aa [2020-10-22T02:02:33.564Z] Removing intermediate container f9dd121295aa [2020-10-22T02:02:33.564Z] ---> a443736baf80 [2020-10-22T02:02:33.564Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-22T02:02:33.835Z] Successfully built a443736baf80 [2020-10-22T02:02:33.835Z] 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-10-22T02:02:36.093Z] provisioning config files... [2020-10-22T02:02:36.110Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/config6834302408602285039tmp [Pipeline] { [Pipeline] sh [2020-10-22T02:02:36.530Z] + set +x [2020-10-22T02:02:36.530Z] + curl -s https://codecov.io/bash [2020-10-22T02:02:36.530Z] + bash -s -- [2020-10-22T02:02:36.797Z] [2020-10-22T02:02:36.797Z] _____ _ [2020-10-22T02:02:36.797Z] / ____| | | [2020-10-22T02:02:36.797Z] | | ___ __| | ___ ___ _____ __ [2020-10-22T02:02:36.797Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-22T02:02:36.797Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-22T02:02:36.797Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-22T02:02:36.797Z] Bash-20201009-048fee3 [2020-10-22T02:02:36.797Z] [2020-10-22T02:02:36.797Z] [2020-10-22T02:02:36.797Z] ==> Jenkins CI detected. [2020-10-22T02:02:36.797Z] project root: . [2020-10-22T02:02:36.797Z] --> token set from env [2020-10-22T02:02:36.797Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-22T02:02:36.797Z] ==> Running gcov in . (disable via -X gcov) [2020-10-22T02:02:36.797Z] ==> Python coveragepy not found [2020-10-22T02:02:36.797Z] ==> Searching for coverage reports in: [2020-10-22T02:02:36.797Z] + . [2020-10-22T02:02:36.797Z] -> Found 1 reports [2020-10-22T02:02:36.797Z] ==> Detecting git/mercurial file structure [2020-10-22T02:02:36.797Z] ==> Reading reports [2020-10-22T02:02:36.797Z] + ./coverage.out bytes=127611 [2020-10-22T02:02:36.797Z] ==> Appending adjustments [2020-10-22T02:02:36.797Z] https://docs.codecov.io/docs/fixing-reports [2020-10-22T02:02:37.379Z] + Found adjustments [2020-10-22T02:02:37.379Z] ==> Gzipping contents [2020-10-22T02:02:37.379Z] ==> Uploading reports [2020-10-22T02:02:37.379Z] url: https://codecov.io [2020-10-22T02:02:37.379Z] query: branch=PR-637&commit=762e9b5c41d84798c79dcb111782135a2a2bdeab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-637%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=637&job=&cmd_args= [2020-10-22T02:02:37.379Z] -> Pinging Codecov [2020-10-22T02:02:37.379Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-637&commit=762e9b5c41d84798c79dcb111782135a2a2bdeab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-637%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=637&job=&cmd_args= [2020-10-22T02:02:37.642Z] -> Uploading to [2020-10-22T02:02:37.643Z] [2020-10-22T02:02:37.643Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-22T02:02:37.643Z] Dload Upload Total Spent Left Speed [2020-10-22T02:02:37.643Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-22T02:02:37.643Z] X> Failed to upload [2020-10-22T02:02:37.643Z] ==> Uploading to Codecov [2020-10-22T02:02:37.643Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-22T02:02:37.643Z] Dload Upload Total Spent Left Speed [2020-10-22T02:02:38.217Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 20957 0 0 100 20847 0 43125 --:--:-- --:--:-- --:--:-- 43072 100 20957 100 110 100 20847 227 43089 --:--:-- --:--:-- --:--:-- 43072 [2020-10-22T02:02:38.217Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/762e9b5c41d84798c79dcb111782135a2a2bdeab [Pipeline] } [2020-10-22T02:02:38.226Z] 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] { (Archive Prep) Stage "Archive Prep" 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-10-22T02:02:40.974Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T02:02:41.544Z] ---> package-listing.sh [2020-10-22T02:02:41.544Z] ++ facter osfamily [2020-10-22T02:02:41.544Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-22T02:02:41.544Z] + OS_FAMILY=redhat [2020-10-22T02:02:41.544Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-637 [2020-10-22T02:02:41.544Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-22T02:02:41.544Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-22T02:02:41.544Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-22T02:02:41.544Z] + PACKAGES=/tmp/packages_start.txt [2020-10-22T02:02:41.544Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-637 ']' [2020-10-22T02:02:41.544Z] + PACKAGES=/tmp/packages_end.txt [2020-10-22T02:02:41.544Z] + case "${OS_FAMILY}" in [2020-10-22T02:02:41.544Z] + rpm -qa [2020-10-22T02:02:41.544Z] + sort [2020-10-22T02:02:45.776Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-22T02:02:45.776Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-22T02:02:45.776Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-22T02:02:45.776Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-637 ']' [2020-10-22T02:02:45.776Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-637/archives/ [2020-10-22T02:02:45.776Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-637/archives/ [Pipeline] echo [2020-10-22T02:02:45.791Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-637/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-22T02:02:46.089Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:02:46.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T02:02:46.397Z] [2020-10-22T02:02:46.397Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:02:46.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T02:02:46.748Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-22T02:02:46.748Z] df20fa9351a1: Pulling fs layer [2020-10-22T02:02:46.748Z] 36b3adc4ff6f: Pulling fs layer [2020-10-22T02:02:46.748Z] 8ad3a11d3b57: Pulling fs layer [2020-10-22T02:02:46.748Z] 46f8f816bc3b: Pulling fs layer [2020-10-22T02:02:46.748Z] 93b61091891f: Pulling fs layer [2020-10-22T02:02:46.748Z] 93b9cdb0e59b: Pulling fs layer [2020-10-22T02:02:46.748Z] 5e14af77c1be: Pulling fs layer [2020-10-22T02:02:46.748Z] 01666e4c0597: Pulling fs layer [2020-10-22T02:02:46.748Z] aa168da1d23b: Pulling fs layer [2020-10-22T02:02:46.748Z] 93b9cdb0e59b: Waiting [2020-10-22T02:02:46.748Z] 5e14af77c1be: Waiting [2020-10-22T02:02:46.748Z] 01666e4c0597: Waiting [2020-10-22T02:02:46.748Z] aa168da1d23b: Waiting [2020-10-22T02:02:46.748Z] 36b3adc4ff6f: Verifying Checksum [2020-10-22T02:02:46.748Z] 36b3adc4ff6f: Download complete [2020-10-22T02:02:47.013Z] 46f8f816bc3b: Verifying Checksum [2020-10-22T02:02:47.013Z] 46f8f816bc3b: Download complete [2020-10-22T02:02:47.013Z] df20fa9351a1: Verifying Checksum [2020-10-22T02:02:47.013Z] 93b9cdb0e59b: Verifying Checksum [2020-10-22T02:02:47.013Z] 93b9cdb0e59b: Download complete [2020-10-22T02:02:47.013Z] 93b61091891f: Verifying Checksum [2020-10-22T02:02:47.013Z] 93b61091891f: Download complete [2020-10-22T02:02:47.013Z] 5e14af77c1be: Verifying Checksum [2020-10-22T02:02:47.013Z] 5e14af77c1be: Download complete [2020-10-22T02:02:47.013Z] 01666e4c0597: Verifying Checksum [2020-10-22T02:02:47.013Z] 01666e4c0597: Download complete [2020-10-22T02:02:47.280Z] df20fa9351a1: Pull complete [2020-10-22T02:02:47.546Z] 8ad3a11d3b57: Verifying Checksum [2020-10-22T02:02:47.546Z] 8ad3a11d3b57: Download complete [2020-10-22T02:02:47.546Z] 36b3adc4ff6f: Pull complete [2020-10-22T02:02:48.128Z] 8ad3a11d3b57: Pull complete [2020-10-22T02:02:48.399Z] 46f8f816bc3b: Pull complete [2020-10-22T02:02:48.674Z] 93b61091891f: Pull complete [2020-10-22T02:02:48.942Z] 93b9cdb0e59b: Pull complete [2020-10-22T02:02:49.204Z] 5e14af77c1be: Pull complete [2020-10-22T02:02:49.472Z] 01666e4c0597: Pull complete [2020-10-22T02:02:49.472Z] aa168da1d23b: Download complete [2020-10-22T02:02:56.100Z] aa168da1d23b: Pull complete [2020-10-22T02:02:56.100Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-22T02:02:56.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T02:02:56.100Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-22T02:02:56.294Z] prd-centos7-docker-4c-2g-8096 does not seem to be running inside a container [2020-10-22T02:02:56.346Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-637/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-637 -v /w/workspace/dgexfoundry_device-sdk-go_PR-637:/w/workspace/dgexfoundry_device-sdk-go_PR-637:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-637@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-22T02:03:05.451Z] $ docker top 6e2c3c58475cc705f9c91d8126b52356ebcf842218fc199c8ac8863901419ec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T02:03:06.086Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-22T02:03:06.385Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-22T02:03:06.685Z] + ls /var/log/sa-host [2020-10-22T02:03:06.685Z] + sadf -c /var/log/sa-host/sa05 [2020-10-22T02:03:06.685Z] file_magic: OK [2020-10-22T02:03:06.685Z] HZ: Using current value: 100 [2020-10-22T02:03:06.685Z] file_header: OK [2020-10-22T02:03:06.685Z] 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-10-22T02:03:06.685Z] Statistics: [2020-10-22T02:03:06.685Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-22T02:03:06.685Z] File successfully converted to sysstat format version 12.2.1 [2020-10-22T02:03:06.685Z] + sadf -c /var/log/sa-host/sa22 [2020-10-22T02:03:06.685Z] file_magic: OK [2020-10-22T02:03:06.685Z] HZ: Using current value: 100 [2020-10-22T02:03:06.685Z] file_header: OK [2020-10-22T02:03:06.685Z] 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-10-22T02:03:06.685Z] Statistics: [2020-10-22T02:03:06.685Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-22T02:03:06.685Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-22T02:03:07.351Z] provisioning config files... [2020-10-22T02:03:07.371Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/config1443643055810781135tmp [Pipeline] { [Pipeline] echo [2020-10-22T02:03:07.450Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T02:03:07.755Z] ---> create-netrc.sh [Pipeline] } [2020-10-22T02:03:07.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-22T02:03:07.862Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T02:03:08.167Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-22T02:03:08.179Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T02:03:08.535Z] ---> sudo-logs.sh [2020-10-22T02:03:08.535Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-22T02:03:08.551Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T02:03:08.861Z] ---> job-cost.sh [2020-10-22T02:03:08.861Z] lf-activate-venv: SKIPPING [2020-10-22T02:03:08.861Z] INFO: No Stack... [2020-10-22T02:03:10.255Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-22T02:03:10.519Z] INFO: Archiving Costs [Pipeline] echo [2020-10-22T02:03:10.533Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T02:03:10.834Z] ---> logs-deploy.sh [2020-10-22T02:03:10.834Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-637/2 [2020-10-22T02:03:10.834Z] INFO: archiving workspace using pattern(s): [2020-10-22T02:03:12.754Z] Archives upload complete. [2020-10-22T02:03:12.754Z] INFO: archiving logs to Nexus