Pull request #571 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 7159bd3345dd95b4862f4e1e74c8326a649ca527+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (75e758e729add958bc9365cbea26284203b22dd7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-785 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 7159bd3345dd95b4862f4e1e74c8326a649ca527 Merge succeeded, producing 7159bd3345dd95b4862f4e1e74c8326a649ca527 Checking out Revision 7159bd3345dd95b4862f4e1e74c8326a649ca527 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T05:39:49.270Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T05:39:49.570Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git rev-list --no-walk bb628e6b62a6c7267a6e37c8e32c90014d17b516 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T05:39:49.693Z] ========================================================= [2020-09-22T05:39:49.693Z] EdgeX Global Pipelines Version Info [2020-09-22T05:39:49.693Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T05:39:51.233Z] ------------------- [2020-09-22T05:39:51.233Z] stable info: [2020-09-22T05:39:51.233Z] ------------------- [2020-09-22T05:39:51.233Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T05:39:51.233Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T05:39:51.233Z] Message: update stable to v1.0.122 [2020-09-22T05:39:52.178Z] ------------------- [2020-09-22T05:39:52.178Z] experimental info: [2020-09-22T05:39:52.178Z] ------------------- [2020-09-22T05:39:52.178Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T05:39:52.178Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-22T05:39:52.178Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T05:39:52.582Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-22T05:39:52.682Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-22T05:39:52.786Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T05:39:52.952Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T05:39:53.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T05:39:53.166Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T05:39:53.267Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T05:39:53.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T05:39:53.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-22T05:39:53.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T05:39:53.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T05:39:53.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-22T05:39:53.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T05:39:54.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T05:39:54.164Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T05:39:54.262Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T05:39:54.357Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T05:39:54.451Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T05:39:54.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T05:39:54.648Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T05:39:54.743Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T05:39:54.836Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T05:39:54.932Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo [2020-09-22T05:39:55.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo [2020-09-22T05:39:55.126Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo [2020-09-22T05:39:55.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7159bd3345dd95b4862f4e1e74c8326a649ca527 [Pipeline] echo [2020-09-22T05:39:55.311Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7159bd3 [Pipeline] echo [2020-09-22T05:39:55.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T05:39:56.035Z] + git log --format=format:%s -1 7159bd3345dd95b4862f4e1e74c8326a649ca527 [Pipeline] echo [2020-09-22T05:39:56.096Z] GIT_COMMIT: 7159bd3345dd95b4862f4e1e74c8326a649ca527, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo [2020-09-22T05:39:56.157Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:39:57.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T05:39:57.306Z] [2020-09-22T05:39:57.306Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:39:57.666Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T05:39:57.667Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T05:39:57.667Z] 31603596830f: Pulling fs layer [2020-09-22T05:39:57.667Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T05:39:57.667Z] 6ca5941a6612: Pulling fs layer [2020-09-22T05:39:57.667Z] ecc8261a40a4: Pulling fs layer [2020-09-22T05:39:57.667Z] ecc8261a40a4: Waiting [2020-09-22T05:39:57.933Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T05:39:57.933Z] 2a8b12db71e7: Download complete [2020-09-22T05:39:57.933Z] 31603596830f: Download complete [2020-09-22T05:39:57.933Z] ecc8261a40a4: Verifying Checksum [2020-09-22T05:39:57.933Z] ecc8261a40a4: Download complete [2020-09-22T05:39:57.933Z] 6ca5941a6612: Verifying Checksum [2020-09-22T05:39:57.933Z] 6ca5941a6612: Download complete [2020-09-22T05:39:58.197Z] 31603596830f: Pull complete [2020-09-22T05:39:58.197Z] 2a8b12db71e7: Pull complete [2020-09-22T05:39:59.164Z] 6ca5941a6612: Pull complete [2020-09-22T05:39:59.164Z] ecc8261a40a4: Pull complete [2020-09-22T05:39:59.164Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T05:39:59.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T05:39:59.425Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T05:39:59.530Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2020-09-22T05:39:59.579Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T05:40:02.144Z] $ docker top 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T05:40:02.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T05:40:02.468Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T05:40:02.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T05:40:02.702Z] $ docker exec 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 ssh-agent [2020-09-22T05:40:02.874Z] SSH_AUTH_SOCK=/tmp/ssh-sqNbtA6Mg73X/agent.11 [2020-09-22T05:40:02.874Z] SSH_AGENT_PID=16 [2020-09-22T05:40:02.888Z] Running ssh-add (command line suppressed) [2020-09-22T05:40:03.004Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_6279309664706056179.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_6279309664706056179.key) [2020-09-22T05:40:03.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T05:40:03.390Z] + git describe --exact-match --tags HEAD [2020-09-22T05:40:03.390Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T05:40:03.413Z] $ docker exec --env ******** --env ******** 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 ssh-agent -k [2020-09-22T05:40:03.524Z] unset SSH_AUTH_SOCK; [2020-09-22T05:40:03.525Z] unset SSH_AGENT_PID; [2020-09-22T05:40:03.525Z] echo Agent pid 16 killed; [2020-09-22T05:40:03.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T05:40:03.671Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T05:40:03.671Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T05:40:03.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T05:40:03.771Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T05:40:03.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T05:40:03.935Z] $ docker exec 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 ssh-agent [2020-09-22T05:40:04.095Z] SSH_AUTH_SOCK=/tmp/ssh-Jz3oLCuDPn5k/agent.44 [2020-09-22T05:40:04.095Z] SSH_AGENT_PID=49 [2020-09-22T05:40:04.102Z] Running ssh-add (command line suppressed) [2020-09-22T05:40:04.220Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_716762523668580802.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_716762523668580802.key) [2020-09-22T05:40:04.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T05:40:04.613Z] + git semver init [2020-09-22T05:40:04.613Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T05:40:04.613Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git [2020-09-22T05:40:04.613Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-22T05:40:04.613Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T05:40:04.613Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T05:40:04.613Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T05:40:04.613Z] # $SEMVER_BRANCH = PR-571 [2020-09-22T05:40:04.613Z] # $SEMVER_TEMP = /tmp/semver-690135673 [2020-09-22T05:40:04.613Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-22T05:40:05.189Z] # '/tmp/semver-690135673' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' [2020-09-22T05:40:05.189Z] # -> Force: false [2020-09-22T05:40:05.189Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } [2020-09-22T05:40:05.202Z] $ docker exec --env ******** --env ******** 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 ssh-agent -k [2020-09-22T05:40:05.313Z] unset SSH_AUTH_SOCK; [2020-09-22T05:40:05.314Z] unset SSH_AGENT_PID; [2020-09-22T05:40:05.314Z] echo Agent pid 49 killed; [2020-09-22T05:40:05.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T05:40:05.917Z] + git semver [Pipeline] } [2020-09-22T05:40:05.935Z] $ docker stop --time=1 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 [2020-09-22T05:40:07.281Z] $ docker rm -f 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T05:40:08.158Z] Stashed 39 file(s) [Pipeline] echo [2020-09-22T05:40:08.161Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T05:40:08.256Z] 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-22T05:40:23.732Z] Still waiting to schedule task [2020-09-22T05:40:23.732Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-785’ [2020-09-22T05:40:23.734Z] Still waiting to schedule task [2020-09-22T05:40:23.734Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-22T05:42:11.078Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-786 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-22T05:42:11.192Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2020-09-22T05:42:16.194Z] using credential edgex-jenkins-ssh [2020-09-22T05:42:16.253Z] Cloning the remote Git repository [2020-09-22T05:42:16.253Z] Cloning with configured refspecs honoured and without tags [2020-09-22T05:42:16.342Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T05:42:16.462Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2020-09-22T05:42:16.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T05:42:16.622Z] > git --version # timeout=10 [2020-09-22T05:42:16.650Z] > git --version # 'git version 2.17.1' [2020-09-22T05:42:16.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T05:42:16.747Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T05:42:17.907Z] Fetching without tags [2020-09-22T05:42:18.374Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 7159bd3345dd95b4862f4e1e74c8326a649ca527 [2020-09-22T05:42:18.725Z] Merge succeeded, producing 7159bd3345dd95b4862f4e1e74c8326a649ca527 [2020-09-22T05:42:18.726Z] Checking out Revision 7159bd3345dd95b4862f4e1e74c8326a649ca527 (PR-571) [2020-09-22T05:42:17.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T05:42:17.842Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-22T05:42:17.858Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T05:42:17.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T05:42:17.921Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T05:42:17.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T05:42:17.932Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T05:42:18.405Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T05:42:18.425Z] > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 [2020-09-22T05:42:18.529Z] > git remote # timeout=10 [2020-09-22T05:42:18.550Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T05:42:18.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T05:42:18.574Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T05:42:18.675Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T05:42:18.736Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T05:42:18.752Z] > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 [2020-09-22T05:42:23.088Z] Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T05:42:24.365Z] ========================================================= [2020-09-22T05:42:24.365Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T05:42:24.365Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:42:25.583Z] + 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-22T05:42:26.578Z] Sending build context to Docker daemon 3.172MB [2020-09-22T05:42:26.578Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T05:42:26.578Z] Step 2/8 : FROM ${BASE} [2020-09-22T05:42:26.854Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T05:42:26.854Z] b538f80385f9: Pulling fs layer [2020-09-22T05:42:26.854Z] 74f711af9a0d: Pulling fs layer [2020-09-22T05:42:26.854Z] 99f96fe45779: Pulling fs layer [2020-09-22T05:42:26.854Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T05:42:26.854Z] 45590311c82a: Pulling fs layer [2020-09-22T05:42:26.854Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T05:42:26.854Z] 209524e5b208: Pulling fs layer [2020-09-22T05:42:26.854Z] 8529a6b9a6be: Waiting [2020-09-22T05:42:26.854Z] 45590311c82a: Waiting [2020-09-22T05:42:26.854Z] 209524e5b208: Waiting [2020-09-22T05:42:26.854Z] 69ca0ff8b7b3: Waiting [2020-09-22T05:42:26.854Z] 99f96fe45779: Verifying Checksum [2020-09-22T05:42:26.854Z] 99f96fe45779: Download complete [2020-09-22T05:42:26.854Z] 74f711af9a0d: Verifying Checksum [2020-09-22T05:42:26.854Z] 74f711af9a0d: Download complete [2020-09-22T05:42:26.854Z] 45590311c82a: Verifying Checksum [2020-09-22T05:42:26.854Z] 45590311c82a: Download complete [2020-09-22T05:42:26.854Z] 69ca0ff8b7b3: Download complete [2020-09-22T05:42:26.854Z] b538f80385f9: Download complete [2020-09-22T05:42:27.837Z] b538f80385f9: Pull complete [2020-09-22T05:42:28.436Z] 74f711af9a0d: Pull complete [2020-09-22T05:42:28.714Z] 99f96fe45779: Pull complete [2020-09-22T05:42:29.316Z] 209524e5b208: Verifying Checksum [2020-09-22T05:42:29.316Z] 209524e5b208: Download complete [2020-09-22T05:42:30.300Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T05:42:30.300Z] 8529a6b9a6be: Download complete [2020-09-22T05:42:40.496Z] 8529a6b9a6be: Pull complete [2020-09-22T05:42:41.094Z] 45590311c82a: Pull complete [2020-09-22T05:42:41.371Z] 69ca0ff8b7b3: Pull complete [2020-09-22T05:42:45.720Z] 209524e5b208: Pull complete [2020-09-22T05:42:45.720Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T05:42:45.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T05:42:45.720Z] ---> 5bddaf1c2fca [2020-09-22T05:42:45.720Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T05:42:47.699Z] ---> Running in 0db57f5d94c8 [2020-09-22T05:42:48.295Z] Removing intermediate container 0db57f5d94c8 [2020-09-22T05:42:48.295Z] ---> 2bc33573a29c [2020-09-22T05:42:48.295Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T05:42:48.295Z] ---> Running in 14a32e0beae7 [2020-09-22T05:42:50.923Z] Removing intermediate container 14a32e0beae7 [2020-09-22T05:42:50.923Z] ---> 859cea28a70f [2020-09-22T05:42:50.923Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T05:42:50.923Z] ---> Running in 60e967249787 [2020-09-22T05:42:52.360Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T05:42:52.957Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T05:42:53.553Z] OK: 142 MiB in 39 packages [2020-09-22T05:42:54.988Z] Removing intermediate container 60e967249787 [2020-09-22T05:42:54.988Z] ---> ba2d637cb6d2 [2020-09-22T05:42:54.988Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T05:42:54.988Z] ---> Running in c9df4a02a3b7 [2020-09-22T05:42:55.264Z] Removing intermediate container c9df4a02a3b7 [2020-09-22T05:42:55.264Z] ---> 11dcc4f829a5 [2020-09-22T05:42:55.264Z] Step 7/8 : COPY . . [2020-09-22T05:42:56.712Z] ---> 04eca08a0134 [2020-09-22T05:42:56.712Z] Step 8/8 : RUN go mod download [2020-09-22T05:42:56.712Z] ---> Running in b37df09a9d73 [2020-09-22T05:43:11.799Z] Removing intermediate container b37df09a9d73 [2020-09-22T05:43:11.799Z] ---> 929fd0ec4ea2 [2020-09-22T05:43:11.799Z] Successfully built 929fd0ec4ea2 [2020-09-22T05:43:11.799Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:43:12.224Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T05:43:12.224Z] . [Pipeline] withDockerContainer [2020-09-22T05:43:12.512Z] prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container [2020-09-22T05:43:12.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 ******** ci-base-image-arm64 cat [2020-09-22T05:43:14.450Z] $ docker top b9da5b76c5bdecae70d67e406d3898c19e42e3c5076ffdac7825987697e4d0ff -eo pid,comm [Pipeline] { [2020-09-22T05:43:14.839Z] Running on prd-centos7-docker-4c-2g-787 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-09-22T05:43:14.991Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2020-09-22T05:43:15.912Z] + go version [2020-09-22T05:43:15.912Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T05:43:15.939Z] $ docker stop --time=1 b9da5b76c5bdecae70d67e406d3898c19e42e3c5076ffdac7825987697e4d0ff [2020-09-22T05:43:17.762Z] using credential edgex-jenkins-ssh [2020-09-22T05:43:17.810Z] Cloning the remote Git repository [2020-09-22T05:43:17.811Z] Cloning with configured refspecs honoured and without tags [2020-09-22T05:43:17.853Z] $ docker rm -f b9da5b76c5bdecae70d67e406d3898c19e42e3c5076ffdac7825987697e4d0ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-09-22T05:43:17.836Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T05:43:17.965Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2020-09-22T05:43:18.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T05:43:18.014Z] > git --version # timeout=10 [2020-09-22T05:43:18.024Z] > git --version # 'git version 2.16.5' [2020-09-22T05:43:18.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T05:43:18.050Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:43:18.981Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T05:43:18.981Z] . [Pipeline] withDockerContainer [2020-09-22T05:43:19.244Z] prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container [2020-09-22T05:43:19.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 ******** ci-base-image-arm64 cat [2020-09-22T05:43:19.544Z] Fetching without tags [2020-09-22T05:43:19.507Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T05:43:19.516Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-22T05:43:19.521Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T05:43:19.536Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T05:43:19.548Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T05:43:19.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T05:43:19.555Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T05:43:19.954Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 7159bd3345dd95b4862f4e1e74c8326a649ca527 [2020-09-22T05:43:20.045Z] Merge succeeded, producing 7159bd3345dd95b4862f4e1e74c8326a649ca527 [2020-09-22T05:43:20.045Z] Checking out Revision 7159bd3345dd95b4862f4e1e74c8326a649ca527 (PR-571) [2020-09-22T05:43:19.961Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T05:43:19.967Z] > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 [2020-09-22T05:43:20.013Z] > git remote # timeout=10 [2020-09-22T05:43:20.019Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T05:43:20.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T05:43:20.029Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T05:43:20.038Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T05:43:20.047Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T05:43:20.054Z] > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 [2020-09-22T05:43:21.031Z] $ docker top cfea72c58b38d4f227fa0d81b8e77ad177e247c1477573d2631dc1d1d52c01c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T05:43:22.380Z] + make test [2020-09-22T05:43:22.380Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T05:43:23.672Z] Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T05:43:24.597Z] ========================================================= [2020-09-22T05:43:24.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T05:43:24.597Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:43:25.308Z] + 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-22T05:43:25.886Z] Sending build context to Docker daemon 3.173MB [2020-09-22T05:43:25.886Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T05:43:25.886Z] Step 2/8 : FROM ${BASE} [2020-09-22T05:43:25.886Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T05:43:25.886Z] df20fa9351a1: Pulling fs layer [2020-09-22T05:43:25.886Z] ed8968b2872e: Pulling fs layer [2020-09-22T05:43:25.886Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T05:43:25.886Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T05:43:25.886Z] e73272ec9a57: Pulling fs layer [2020-09-22T05:43:25.886Z] 1e910a182e73: Pulling fs layer [2020-09-22T05:43:25.886Z] 4e634b169226: Pulling fs layer [2020-09-22T05:43:25.886Z] e73272ec9a57: Waiting [2020-09-22T05:43:25.886Z] 1e910a182e73: Waiting [2020-09-22T05:43:25.886Z] 4e634b169226: Waiting [2020-09-22T05:43:25.886Z] e871e8e8d7a9: Waiting [2020-09-22T05:43:25.886Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T05:43:25.886Z] a92cc7c5fd73: Download complete [2020-09-22T05:43:25.886Z] ed8968b2872e: Download complete [2020-09-22T05:43:25.886Z] e73272ec9a57: Verifying Checksum [2020-09-22T05:43:25.886Z] e73272ec9a57: Download complete [2020-09-22T05:43:26.147Z] 1e910a182e73: Download complete [2020-09-22T05:43:26.147Z] df20fa9351a1: Verifying Checksum [2020-09-22T05:43:26.147Z] df20fa9351a1: Download complete [2020-09-22T05:43:26.411Z] df20fa9351a1: Pull complete [2020-09-22T05:43:26.411Z] ed8968b2872e: Pull complete [2020-09-22T05:43:26.674Z] a92cc7c5fd73: Pull complete [2020-09-22T05:43:28.066Z] 4e634b169226: Verifying Checksum [2020-09-22T05:43:28.066Z] 4e634b169226: Download complete [2020-09-22T05:43:29.021Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T05:43:29.021Z] e871e8e8d7a9: Download complete [2020-09-22T05:43:34.367Z] e871e8e8d7a9: Pull complete [2020-09-22T05:43:34.367Z] e73272ec9a57: Pull complete [2020-09-22T05:43:34.367Z] 1e910a182e73: Pull complete [2020-09-22T05:43:39.680Z] 4e634b169226: Pull complete [2020-09-22T05:43:39.680Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T05:43:39.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T05:43:39.680Z] ---> f7629b54cfaa [2020-09-22T05:43:39.680Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T05:43:39.680Z] ---> Running in 59fe01e42c7d [2020-09-22T05:43:39.680Z] Removing intermediate container 59fe01e42c7d [2020-09-22T05:43:39.680Z] ---> 4d8f22811375 [2020-09-22T05:43:39.680Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T05:43:39.680Z] ---> Running in d043fee706e0 [2020-09-22T05:43:40.640Z] Removing intermediate container d043fee706e0 [2020-09-22T05:43:40.640Z] ---> c5d5ae0f9247 [2020-09-22T05:43:40.640Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T05:43:40.640Z] ---> Running in 6349a4ffedfc [2020-09-22T05:43:41.600Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T05:43:42.177Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T05:43:42.439Z] OK: 166 MiB in 39 packages [2020-09-22T05:43:43.014Z] Removing intermediate container 6349a4ffedfc [2020-09-22T05:43:43.014Z] ---> 92e35b610f63 [2020-09-22T05:43:43.014Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T05:43:43.014Z] ---> Running in 76c8ecd1878b [2020-09-22T05:43:43.277Z] Removing intermediate container 76c8ecd1878b [2020-09-22T05:43:43.277Z] ---> e01f6f5220b5 [2020-09-22T05:43:43.277Z] Step 7/8 : COPY . . [2020-09-22T05:43:44.230Z] ---> 9f5ca868543d [2020-09-22T05:43:44.230Z] Step 8/8 : RUN go mod download [2020-09-22T05:43:44.230Z] ---> Running in 75e7ad024076 [2020-09-22T05:43:44.592Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T05:43:56.498Z] Removing intermediate container 75e7ad024076 [2020-09-22T05:43:56.498Z] ---> ec47e65301e0 [2020-09-22T05:43:56.498Z] Successfully built ec47e65301e0 [2020-09-22T05:43:56.498Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:43:56.846Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T05:43:56.846Z] . [Pipeline] withDockerContainer [2020-09-22T05:43:56.954Z] prd-centos7-docker-4c-2g-787 does not seem to be running inside a container [2020-09-22T05:43:57.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 ******** ci-base-image-x86_64 cat [2020-09-22T05:43:58.229Z] $ docker top 7e012fb70535acc3ef05ea1079e282c02b0df68f1a3b611e24362b3b2efb1177 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T05:43:58.772Z] + go version [2020-09-22T05:43:58.772Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T05:43:58.787Z] $ docker stop --time=1 7e012fb70535acc3ef05ea1079e282c02b0df68f1a3b611e24362b3b2efb1177 [2020-09-22T05:44:00.120Z] $ docker rm -f 7e012fb70535acc3ef05ea1079e282c02b0df68f1a3b611e24362b3b2efb1177 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:44:01.111Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T05:44:01.111Z] . [Pipeline] withDockerContainer [2020-09-22T05:44:01.209Z] prd-centos7-docker-4c-2g-787 does not seem to be running inside a container [2020-09-22T05:44:01.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 ******** ci-base-image-x86_64 cat [2020-09-22T05:44:02.093Z] $ docker top 70d751ef22376d8735c19b75f76ed1ecfd35ac1a95fa906c58320ccb42811d6c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T05:44:02.739Z] + make test [2020-09-22T05:44:02.739Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T05:44:09.398Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T05:44:23.686Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T05:44:23.686Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T05:44:23.686Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T05:44:23.686Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 21.6% of statements [2020-09-22T05:44:23.686Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.201s coverage: 97.1% of statements [2020-09-22T05:44:24.435Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T05:44:24.435Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T05:44:24.435Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T05:44:24.435Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.042s coverage: 21.6% of statements [2020-09-22T05:44:24.435Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.412s coverage: 97.1% of statements [2020-09-22T05:44:56.030Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements [2020-09-22T05:44:56.030Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.065s coverage: 21.9% of statements [2020-09-22T05:44:56.030Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T05:44:56.030Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.524s coverage: 37.0% of statements [2020-09-22T05:44:56.030Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T05:44:56.030Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.683s coverage: 65.4% of statements [2020-09-22T05:44:56.030Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T05:44:56.030Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T05:44:56.030Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T05:44:56.030Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.108s coverage: 52.6% of statements [2020-09-22T05:44:56.030Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.637s coverage: 68.9% of statements [2020-09-22T05:44:56.030Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T05:44:56.030Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T05:44:56.030Z] GO111MODULE=on go vet ./... [2020-09-22T05:44:56.589Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 9.4% of statements [2020-09-22T05:44:56.589Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.033s coverage: 21.9% of statements [2020-09-22T05:44:56.589Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T05:44:56.589Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.169s coverage: 37.0% of statements [2020-09-22T05:44:56.589Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T05:44:56.589Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 65.4% of statements [2020-09-22T05:44:56.589Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T05:44:56.589Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T05:44:56.589Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T05:44:56.589Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-09-22T05:44:56.589Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.337s coverage: 68.9% of statements [2020-09-22T05:44:56.589Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T05:44:56.589Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T05:44:56.589Z] GO111MODULE=on go vet ./... [2020-09-22T05:45:01.975Z] gofmt -l . [2020-09-22T05:45:01.975Z] [ "`gofmt -l .`" = "" ] [2020-09-22T05:45:01.975Z] ./bin/test-attribution-txt.sh [2020-09-22T05:45:02.559Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T05:45:03.269Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T05:45:03.279Z] $ docker stop --time=1 70d751ef22376d8735c19b75f76ed1ecfd35ac1a95fa906c58320ccb42811d6c [2020-09-22T05:45:05.629Z] $ docker rm -f 70d751ef22376d8735c19b75f76ed1ecfd35ac1a95fa906c58320ccb42811d6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T05:45:08.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T05:45:09.054Z] + ls -al . [2020-09-22T05:45:09.054Z] total 188 [2020-09-22T05:45:09.054Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 05:45 . [2020-09-22T05:45:09.054Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 22 05:43 .. [2020-09-22T05:45:09.054Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 05:43 bin [2020-09-22T05:45:09.054Z] -rw-r--r--. 1 jenkins jenkins 110945 Sep 22 05:44 coverage.out [2020-09-22T05:45:09.054Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 05:43 Dockerfile.build [2020-09-22T05:45:09.054Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 05:43 .dockerignore [2020-09-22T05:45:09.054Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 05:43 example [2020-09-22T05:45:09.054Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 05:43 .git [2020-09-22T05:45:09.054Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 05:43 .github [2020-09-22T05:45:09.054Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 05:43 .gitignore [2020-09-22T05:45:09.054Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 22 05:45 go.mod [2020-09-22T05:45:09.054Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 22 05:45 go.sum [2020-09-22T05:45:09.054Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 05:43 internal [2020-09-22T05:45:09.054Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 05:43 Jenkinsfile [2020-09-22T05:45:09.054Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 05:43 LICENSE [2020-09-22T05:45:09.054Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 05:43 Makefile [2020-09-22T05:45:09.055Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 05:43 openapi [2020-09-22T05:45:09.055Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 05:43 pkg [2020-09-22T05:45:09.055Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 05:43 README.md [2020-09-22T05:45:09.055Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 05:43 RELEASE-NOTES.txt [2020-09-22T05:45:09.055Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 05:43 .semver [2020-09-22T05:45:09.055Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 05:43 snap [2020-09-22T05:45:09.055Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 05:40 VERSION [2020-09-22T05:45:09.055Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 05:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:45:09.360Z] + 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=7159bd3345dd95b4862f4e1e74c8326a649ca527 --label arch=amd64 --label version=0.0.0 . [2020-09-22T05:45:09.623Z] Sending build context to Docker daemon 3.284MB [2020-09-22T05:45:09.623Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T05:45:09.623Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T05:45:09.623Z] ---> ec47e65301e0 [2020-09-22T05:45:09.623Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T05:45:09.884Z] ---> Running in 7b5e79d39570 [2020-09-22T05:45:10.146Z] Removing intermediate container 7b5e79d39570 [2020-09-22T05:45:10.146Z] ---> 52117a91ed20 [2020-09-22T05:45:10.146Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T05:45:10.146Z] ---> Running in b83cc8e9e30a [2020-09-22T05:45:10.407Z] Removing intermediate container b83cc8e9e30a [2020-09-22T05:45:10.407Z] ---> 44e43a1f03e4 [2020-09-22T05:45:10.407Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T05:45:10.407Z] ---> Running in 94e8f8953fec [2020-09-22T05:45:10.668Z] Removing intermediate container 94e8f8953fec [2020-09-22T05:45:10.668Z] ---> eb6386de5a7c [2020-09-22T05:45:10.668Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T05:45:10.668Z] ---> Running in 391f8dcc2dba [2020-09-22T05:45:11.621Z] Removing intermediate container 391f8dcc2dba [2020-09-22T05:45:11.621Z] ---> 866dc5fdfec8 [2020-09-22T05:45:11.621Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T05:45:11.621Z] ---> Running in 3a9cc16c26a6 [2020-09-22T05:45:12.194Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T05:45:12.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T05:45:13.349Z] OK: 166 MiB in 39 packages [2020-09-22T05:45:13.610Z] Removing intermediate container 3a9cc16c26a6 [2020-09-22T05:45:13.610Z] ---> c403a4346c27 [2020-09-22T05:45:13.610Z] Step 8/24 : COPY . . [2020-09-22T05:45:15.003Z] ---> 58695339d235 [2020-09-22T05:45:15.003Z] Step 9/24 : RUN ${MAKE} [2020-09-22T05:45:15.003Z] ---> Running in 2b1abb2f88f7 [2020-09-22T05:45:15.271Z] 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-22T05:45:22.017Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T05:45:22.867Z] gofmt -l . [2020-09-22T05:45:22.867Z] [ "`gofmt -l .`" = "" ] [2020-09-22T05:45:22.867Z] ./bin/test-attribution-txt.sh [2020-09-22T05:45:22.867Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T05:45:22.887Z] Warning: overwriting stash ‘coverage-report’ [2020-09-22T05:45:23.718Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T05:45:23.726Z] $ docker stop --time=1 cfea72c58b38d4f227fa0d81b8e77ad177e247c1477573d2631dc1d1d52c01c1 [2020-09-22T05:45:24.576Z] Removing intermediate container 2b1abb2f88f7 [2020-09-22T05:45:24.576Z] ---> b80bdab1fc8d [2020-09-22T05:45:24.576Z] Step 10/24 : FROM scratch [2020-09-22T05:45:24.576Z] ---> [2020-09-22T05:45:24.576Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T05:45:24.576Z] ---> Running in a3a2194d11a2 [2020-09-22T05:45:24.576Z] Removing intermediate container a3a2194d11a2 [2020-09-22T05:45:24.576Z] ---> f6c6e38b2f7a [2020-09-22T05:45:24.576Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T05:45:24.576Z] ---> Running in 7236e08b222d [2020-09-22T05:45:24.576Z] Removing intermediate container 7236e08b222d [2020-09-22T05:45:24.576Z] ---> 933718887366 [2020-09-22T05:45:24.576Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T05:45:24.576Z] ---> Running in ea2401869e53 [2020-09-22T05:45:24.842Z] Removing intermediate container ea2401869e53 [2020-09-22T05:45:24.842Z] ---> 4569f16be921 [2020-09-22T05:45:24.842Z] Step 14/24 : WORKDIR / [2020-09-22T05:45:24.842Z] ---> Running in 4c34c5ab370c [2020-09-22T05:45:25.106Z] Removing intermediate container 4c34c5ab370c [2020-09-22T05:45:25.106Z] ---> d6b9f2325015 [2020-09-22T05:45:25.106Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T05:45:25.367Z] ---> 5c531116ade9 [2020-09-22T05:45:25.367Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T05:45:25.633Z] ---> 5102c25b3a9c [2020-09-22T05:45:25.633Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T05:45:25.895Z] ---> 4db2bc76fa39 [2020-09-22T05:45:25.895Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T05:45:25.914Z] $ docker rm -f cfea72c58b38d4f227fa0d81b8e77ad177e247c1477573d2631dc1d1d52c01c1 [2020-09-22T05:45:26.158Z] ---> 675e12809888 [2020-09-22T05:45:26.158Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T05:45:26.421Z] ---> a27210089dac [2020-09-22T05:45:26.421Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T05:45:26.421Z] ---> Running in 794f6338b4c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-09-22T05:45:26.683Z] Removing intermediate container 794f6338b4c6 [2020-09-22T05:45:26.683Z] ---> c7ba693da20d [2020-09-22T05:45:26.683Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T05:45:26.683Z] ---> Running in 1fda525c21bc [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-09-22T05:45:26.947Z] Removing intermediate container 1fda525c21bc [2020-09-22T05:45:26.947Z] ---> 570b9d57e661 [2020-09-22T05:45:26.947Z] Step 22/24 : LABEL arch=amd64 [2020-09-22T05:45:26.947Z] ---> Running in 65fe49e0466c [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T05:45:27.209Z] Removing intermediate container 65fe49e0466c [2020-09-22T05:45:27.209Z] ---> d74b550bbf57 [2020-09-22T05:45:27.209Z] Step 23/24 : LABEL git_sha=7159bd3345dd95b4862f4e1e74c8326a649ca527 [2020-09-22T05:45:27.209Z] ---> Running in 63f56b8e2462 [2020-09-22T05:45:27.209Z] Removing intermediate container 63f56b8e2462 [2020-09-22T05:45:27.209Z] ---> 6c2e9a1b5205 [2020-09-22T05:45:27.209Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T05:45:27.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T05:45:27.471Z] ---> Running in 593cb7d33af9 [2020-09-22T05:45:27.471Z] Removing intermediate container 593cb7d33af9 [2020-09-22T05:45:27.471Z] ---> f434a1fb6645 [2020-09-22T05:45:27.471Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T05:45:27.471Z] Successfully built f434a1fb6645 [2020-09-22T05:45:27.471Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2020-09-22T05:45:27.754Z] + ls -al . [2020-09-22T05:45:27.754Z] total 228 [2020-09-22T05:45:27.754Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 05:45 . [2020-09-22T05:45:27.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 05:42 .. [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 05:42 .dockerignore [2020-09-22T05:45:27.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 05:42 .git [2020-09-22T05:45:27.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 05:42 .github [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 05:42 .gitignore [2020-09-22T05:45:27.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 05:42 .semver [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 05:42 Dockerfile.build [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 05:42 Jenkinsfile [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 05:42 LICENSE [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 05:42 Makefile [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 05:42 README.md [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 05:42 RELEASE-NOTES.txt [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 05:40 VERSION [2020-09-22T05:45:27.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 05:42 bin [2020-09-22T05:45:27.754Z] -rw-r--r-- 1 jenkins jenkins 110945 Sep 22 05:44 coverage.out [2020-09-22T05:45:27.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 05:42 example [2020-09-22T05:45:27.754Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 22 05:45 go.mod [2020-09-22T05:45:27.754Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 22 05:45 go.sum [2020-09-22T05:45:27.754Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 05:42 internal [2020-09-22T05:45:27.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 05:42 openapi [2020-09-22T05:45:27.754Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 05:42 pkg [2020-09-22T05:45:27.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 05:42 snap [2020-09-22T05:45:27.754Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 05:42 version.go [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2020-09-22T05:45:28.323Z] + 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=7159bd3345dd95b4862f4e1e74c8326a649ca527 --label arch=arm64 --label version=0.0.0 . Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-09-22T05:45:28.934Z] Sending build context to Docker daemon 3.284MB [2020-09-22T05:45:28.934Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T05:45:28.934Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T05:45:28.934Z] ---> 929fd0ec4ea2 [2020-09-22T05:45:28.934Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T05:45:28.934Z] ---> Running in b4499777432d [Pipeline] // stage [Pipeline] } [2020-09-22T05:45:29.529Z] Removing intermediate container b4499777432d [2020-09-22T05:45:29.529Z] ---> 6fe92987ea71 [2020-09-22T05:45:29.529Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T05:45:29.529Z] ---> Running in cd02cdae5fdb [2020-09-22T05:45:30.123Z] Removing intermediate container cd02cdae5fdb [2020-09-22T05:45:30.123Z] ---> 2a6fe1c57f57 [2020-09-22T05:45:30.123Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T05:45:30.123Z] ---> Running in 56b33cd2b9fc [2020-09-22T05:45:30.719Z] Removing intermediate container 56b33cd2b9fc [2020-09-22T05:45:30.719Z] ---> e94e3b19c069 [2020-09-22T05:45:30.719Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T05:45:30.719Z] ---> Running in c92145bbf61e [2020-09-22T05:45:33.338Z] Removing intermediate container c92145bbf61e [2020-09-22T05:45:33.338Z] ---> dd8d1a024629 [2020-09-22T05:45:33.338Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T05:45:33.338Z] ---> Running in 1277c9fec19a [2020-09-22T05:45:34.789Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T05:45:35.383Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T05:45:35.973Z] OK: 142 MiB in 39 packages [2020-09-22T05:45:36.952Z] Removing intermediate container 1277c9fec19a [2020-09-22T05:45:36.952Z] ---> bde957c45776 [2020-09-22T05:45:36.952Z] Step 8/24 : COPY . . [2020-09-22T05:45:38.388Z] ---> 7dba9bd93bad [2020-09-22T05:45:38.388Z] Step 9/24 : RUN ${MAKE} [2020-09-22T05:45:38.388Z] ---> Running in 4a857e4b575b [2020-09-22T05:45:39.813Z] 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-22T05:46:02.020Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T05:46:03.461Z] Removing intermediate container 4a857e4b575b [2020-09-22T05:46:03.461Z] ---> 957280af3332 [2020-09-22T05:46:03.461Z] Step 10/24 : FROM scratch [2020-09-22T05:46:03.461Z] ---> [2020-09-22T05:46:03.461Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T05:46:03.736Z] ---> Running in f94355462b04 [2020-09-22T05:46:04.009Z] Removing intermediate container f94355462b04 [2020-09-22T05:46:04.009Z] ---> 72d03fb7468d [2020-09-22T05:46:04.009Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T05:46:04.282Z] ---> Running in bf2e8f3d1bfc [2020-09-22T05:46:04.556Z] Removing intermediate container bf2e8f3d1bfc [2020-09-22T05:46:04.556Z] ---> 0f296336eb3a [2020-09-22T05:46:04.556Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T05:46:04.832Z] ---> Running in 9dbfcd8bbae1 [2020-09-22T05:46:05.108Z] Removing intermediate container 9dbfcd8bbae1 [2020-09-22T05:46:05.108Z] ---> 5dda50ae8e2f [2020-09-22T05:46:05.108Z] Step 14/24 : WORKDIR / [2020-09-22T05:46:05.108Z] ---> Running in 168a2f402b5e [2020-09-22T05:46:05.706Z] Removing intermediate container 168a2f402b5e [2020-09-22T05:46:05.706Z] ---> 009164018ece [2020-09-22T05:46:05.706Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T05:46:06.690Z] ---> fd038331222d [2020-09-22T05:46:06.690Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T05:46:07.667Z] ---> 01b4184110c8 [2020-09-22T05:46:07.667Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T05:46:08.262Z] ---> 3eae8ef1bbe0 [2020-09-22T05:46:08.262Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T05:46:08.855Z] ---> 5c3fe25a8879 [2020-09-22T05:46:08.855Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T05:46:09.456Z] ---> 412da60e1c00 [2020-09-22T05:46:09.456Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T05:46:09.456Z] ---> Running in ac83eb7068e9 [2020-09-22T05:46:10.055Z] Removing intermediate container ac83eb7068e9 [2020-09-22T05:46:10.055Z] ---> 0df2ea802a44 [2020-09-22T05:46:10.055Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T05:46:10.055Z] ---> Running in dccaf35e20ea [2020-09-22T05:46:10.724Z] Removing intermediate container dccaf35e20ea [2020-09-22T05:46:10.724Z] ---> 046ce6245bc2 [2020-09-22T05:46:10.724Z] Step 22/24 : LABEL arch=arm64 [2020-09-22T05:46:10.724Z] ---> Running in dad1ae36ef12 [2020-09-22T05:46:11.001Z] Removing intermediate container dad1ae36ef12 [2020-09-22T05:46:11.001Z] ---> 314082e30140 [2020-09-22T05:46:11.001Z] Step 23/24 : LABEL git_sha=7159bd3345dd95b4862f4e1e74c8326a649ca527 [2020-09-22T05:46:11.275Z] ---> Running in 59c53c951277 [2020-09-22T05:46:11.550Z] Removing intermediate container 59c53c951277 [2020-09-22T05:46:11.550Z] ---> 2647cc0f6d77 [2020-09-22T05:46:11.550Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T05:46:11.825Z] ---> Running in 4cf6237c21c5 [2020-09-22T05:46:12.424Z] Removing intermediate container 4cf6237c21c5 [2020-09-22T05:46:12.424Z] ---> 5713e8518ce9 [2020-09-22T05:46:12.424Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T05:46:12.424Z] Successfully built 5713e8518ce9 [2020-09-22T05:46:12.424Z] 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-22T05:46:14.618Z] provisioning config files... [2020-09-22T05:46:14.632Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5364932546181320223tmp [Pipeline] { [Pipeline] sh [2020-09-22T05:46:15.074Z] + curl -s https://codecov.io/bash [2020-09-22T05:46:15.074Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5364932546181320223tmp [Pipeline] } [2020-09-22T05:46:15.355Z] 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-22T05:46:17.985Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T05:46:18.566Z] ---> package-listing.sh [2020-09-22T05:46:18.566Z] ++ facter osfamily [2020-09-22T05:46:18.566Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T05:46:18.566Z] + OS_FAMILY=redhat [2020-09-22T05:46:18.566Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-22T05:46:18.566Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T05:46:18.566Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T05:46:18.566Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T05:46:18.567Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T05:46:18.567Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-22T05:46:18.567Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T05:46:18.567Z] + case "${OS_FAMILY}" in [2020-09-22T05:46:18.567Z] + rpm -qa [2020-09-22T05:46:18.567Z] + sort [2020-09-22T05:46:22.814Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T05:46:22.814Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T05:46:22.814Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T05:46:22.814Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-22T05:46:22.814Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [2020-09-22T05:46:22.814Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:46:23.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T05:46:23.924Z] [2020-09-22T05:46:23.924Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T05:46:24.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T05:46:24.318Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T05:46:24.318Z] df20fa9351a1: Pulling fs layer [2020-09-22T05:46:24.318Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T05:46:24.318Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T05:46:24.318Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T05:46:24.318Z] 0dadc02b9964: Pulling fs layer [2020-09-22T05:46:24.318Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T05:46:24.318Z] 7a184a31f384: Pulling fs layer [2020-09-22T05:46:24.318Z] 0879bd2ef858: Pulling fs layer [2020-09-22T05:46:24.318Z] 46f8f816bc3b: Waiting [2020-09-22T05:46:24.318Z] 0dadc02b9964: Waiting [2020-09-22T05:46:24.318Z] 7a184a31f384: Waiting [2020-09-22T05:46:24.318Z] 0879bd2ef858: Waiting [2020-09-22T05:46:24.318Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T05:46:24.318Z] 36b3adc4ff6f: Download complete [2020-09-22T05:46:24.318Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T05:46:24.318Z] 46f8f816bc3b: Download complete [2020-09-22T05:46:24.589Z] df20fa9351a1: Verifying Checksum [2020-09-22T05:46:24.589Z] df20fa9351a1: Download complete [2020-09-22T05:46:24.589Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T05:46:24.589Z] ce6a7cf60c04: Download complete [2020-09-22T05:46:24.589Z] 7a184a31f384: Download complete [2020-09-22T05:46:24.589Z] 0dadc02b9964: Verifying Checksum [2020-09-22T05:46:24.589Z] 0dadc02b9964: Download complete [2020-09-22T05:46:24.857Z] df20fa9351a1: Pull complete [2020-09-22T05:46:24.857Z] 36b3adc4ff6f: Pull complete [2020-09-22T05:46:24.857Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T05:46:24.857Z] 8ad3a11d3b57: Download complete [2020-09-22T05:46:25.447Z] 8ad3a11d3b57: Pull complete [2020-09-22T05:46:25.727Z] 46f8f816bc3b: Pull complete [2020-09-22T05:46:25.728Z] 0879bd2ef858: Verifying Checksum [2020-09-22T05:46:25.728Z] 0879bd2ef858: Download complete [2020-09-22T05:46:25.999Z] 0dadc02b9964: Pull complete [2020-09-22T05:46:25.999Z] ce6a7cf60c04: Pull complete [2020-09-22T05:46:26.291Z] 7a184a31f384: Pull complete [2020-09-22T05:46:28.398Z] 0879bd2ef858: Pull complete [2020-09-22T05:46:28.398Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T05:46:28.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T05:46:28.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T05:46:28.556Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2020-09-22T05:46:28.619Z] $ 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-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T05:46:33.581Z] $ docker top a9b49356e9a30002bbe6d0293fae9b0afdeca37b0199194c830bca50e5bb6046 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T05:46:34.080Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T05:46:34.386Z] + ls /var/log/sa-host [2020-09-22T05:46:34.386Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T05:46:34.386Z] file_magic: OK [2020-09-22T05:46:34.386Z] HZ: Using current value: 100 [2020-09-22T05:46:34.386Z] file_header: OK [2020-09-22T05:46:34.386Z] 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-22T05:46:34.386Z] Statistics: [2020-09-22T05:46:34.386Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T05:46:34.386Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T05:46:34.386Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T05:46:34.386Z] file_magic: OK [2020-09-22T05:46:34.386Z] HZ: Using current value: 100 [2020-09-22T05:46:34.386Z] file_header: OK [2020-09-22T05:46:34.386Z] 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-22T05:46:34.386Z] Statistics: [2020-09-22T05:46:34.386Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T05:46:34.386Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T05:46:34.480Z] provisioning config files... [2020-09-22T05:46:34.500Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config1282171409757790434tmp [Pipeline] { [Pipeline] echo [2020-09-22T05:46:34.591Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T05:46:34.914Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T05:46:34.928Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T05:46:35.231Z] ---> logs-deploy.sh [2020-09-22T05:46:35.232Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/14 [2020-09-22T05:46:35.232Z] INFO: archiving workspace using pattern(s): [2020-09-22T05:46:36.631Z] Archives upload complete. [2020-09-22T05:46:36.631Z] INFO: archiving logs to Nexus