Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2bbf6af02697b011a7a794463910a22f9bcbb85f+8b39936bc192f82b46677f7f05650a94960ef7f6 (15df915cf566ee71093fc8e681803b0f71fa8684) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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-8356 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f Merge succeeded, producing f9789e8da003b8f6a4a5652df9a6d518ab676f61 Checking out Revision f9789e8da003b8f6a4a5652df9a6d518ab676f61 (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # 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 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9789e8da003b8f6a4a5652df9a6d518ab676f61 # timeout=10 Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" > git rev-list --no-walk 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-23T02:42:55.251Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-23T02:42:55.514Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-23T02:42:55.630Z] ========================================================= [2020-10-23T02:42:55.630Z] EdgeX Global Pipelines Version Info [2020-10-23T02:42:55.630Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:42:57.192Z] ------------------- [2020-10-23T02:42:57.192Z] stable info: [2020-10-23T02:42:57.192Z] ------------------- [2020-10-23T02:42:57.192Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-23T02:42:57.192Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-23T02:42:57.192Z] Message: update stable to v1.0.148 [2020-10-23T02:42:58.137Z] ------------------- [2020-10-23T02:42:58.137Z] experimental info: [2020-10-23T02:42:58.137Z] ------------------- [2020-10-23T02:42:58.137Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-23T02:42:58.137Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-23T02:42:58.137Z] Message: update experimental to v1.0.148 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-23T02:42:58.499Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-23T02:42:58.588Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-23T02:42:58.698Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-23T02:42:58.800Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-23T02:42:58.895Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-23T02:42:58.991Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-23T02:42:59.094Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-23T02:42:59.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-23T02:42:59.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-23T02:42:59.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-23T02:42:59.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-23T02:42:59.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-23T02:42:59.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-23T02:42:59.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-23T02:42:59.975Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-23T02:43:00.086Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:43:00.183Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:43:00.282Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:43:00.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-23T02:43:00.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-23T02:43:00.633Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-23T02:43:00.725Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-23T02:43:00.819Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-23T02:43:00.912Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-23T02:43:01.011Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-23T02:43:01.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-23T02:43:01.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-23T02:43:01.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-23T02:43:01.513Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9789e8da003b8f6a4a5652df9a6d518ab676f61 [Pipeline] echo [2020-10-23T02:43:01.619Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9789e8 [Pipeline] echo [2020-10-23T02:43:01.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-23T02:43:02.331Z] + git log --format=format:%s -1 f9789e8da003b8f6a4a5652df9a6d518ab676f61 [Pipeline] echo [2020-10-23T02:43:02.398Z] GIT_COMMIT: f9789e8da003b8f6a4a5652df9a6d518ab676f61, Commit Message: Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD [Pipeline] echo [2020-10-23T02:43:02.447Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:43:03.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:43:03.307Z] [2020-10-23T02:43:03.307Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:43:03.667Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:43:03.667Z] latest: Pulling from edgex-devops/git-semver [2020-10-23T02:43:03.667Z] 31603596830f: Pulling fs layer [2020-10-23T02:43:03.667Z] 2a8b12db71e7: Pulling fs layer [2020-10-23T02:43:03.667Z] 6ca5941a6612: Pulling fs layer [2020-10-23T02:43:03.667Z] ecc8261a40a4: Pulling fs layer [2020-10-23T02:43:03.667Z] ecc8261a40a4: Waiting [2020-10-23T02:43:03.667Z] 2a8b12db71e7: Verifying Checksum [2020-10-23T02:43:03.667Z] 2a8b12db71e7: Download complete [2020-10-23T02:43:03.931Z] 31603596830f: Verifying Checksum [2020-10-23T02:43:03.931Z] 31603596830f: Download complete [2020-10-23T02:43:03.931Z] ecc8261a40a4: Verifying Checksum [2020-10-23T02:43:03.931Z] ecc8261a40a4: Download complete [2020-10-23T02:43:03.931Z] 6ca5941a6612: Verifying Checksum [2020-10-23T02:43:03.931Z] 6ca5941a6612: Download complete [2020-10-23T02:43:04.194Z] 31603596830f: Pull complete [2020-10-23T02:43:04.194Z] 2a8b12db71e7: Pull complete [2020-10-23T02:43:05.145Z] 6ca5941a6612: Pull complete [2020-10-23T02:43:05.145Z] ecc8261a40a4: Pull complete [2020-10-23T02:43:05.145Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-23T02:43:05.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:43:05.145Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-23T02:43:05.250Z] prd-centos7-docker-4c-2g-8356 does not seem to be running inside a container [2020-10-23T02:43:05.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-23T02:43:07.472Z] $ docker top ccc22beb5da99f38a2434361aa5302c686ac5db09bab5bf90180e11e243dff9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-23T02:43:07.755Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-23T02:43:07.755Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-23T02:43:07.963Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-23T02:43:07.968Z] $ docker exec ccc22beb5da99f38a2434361aa5302c686ac5db09bab5bf90180e11e243dff9a ssh-agent [2020-10-23T02:43:08.127Z] SSH_AUTH_SOCK=/tmp/ssh-bnIoUdbIvCmp/agent.12 [2020-10-23T02:43:08.127Z] SSH_AGENT_PID=17 [2020-10-23T02:43:08.141Z] Running ssh-add (command line suppressed) [2020-10-23T02:43:08.264Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_4379998858018057920.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_4379998858018057920.key) [2020-10-23T02:43:08.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-23T02:43:08.786Z] + git tag --points-at HEAD [Pipeline] } [2020-10-23T02:43:08.809Z] $ docker exec --env ******** --env ******** ccc22beb5da99f38a2434361aa5302c686ac5db09bab5bf90180e11e243dff9a ssh-agent -k [2020-10-23T02:43:08.924Z] unset SSH_AUTH_SOCK; [2020-10-23T02:43:08.924Z] unset SSH_AGENT_PID; [2020-10-23T02:43:08.924Z] echo Agent pid 17 killed; [2020-10-23T02:43:08.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-23T02:43:09.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-23T02:43:09.120Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-23T02:43:09.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-23T02:43:09.292Z] $ docker exec ccc22beb5da99f38a2434361aa5302c686ac5db09bab5bf90180e11e243dff9a ssh-agent [2020-10-23T02:43:09.516Z] SSH_AUTH_SOCK=/tmp/ssh-X5bIIDUhWJFb/agent.46 [2020-10-23T02:43:09.516Z] SSH_AGENT_PID=51 [2020-10-23T02:43:09.589Z] Running ssh-add (command line suppressed) [2020-10-23T02:43:09.713Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_372851561429184986.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_372851561429184986.key) [2020-10-23T02:43:09.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-23T02:43:10.102Z] + git semver init [2020-10-23T02:43:10.102Z] # -> Open(): unable to determine branch for HEAD [2020-10-23T02:43:10.102Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-23T02:43:10.102Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-23T02:43:10.102Z] # $SEMVER_REMOTE_NAME = origin [2020-10-23T02:43:10.102Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-23T02:43:10.102Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-23T02:43:10.102Z] # $SEMVER_BRANCH = PR-614 [2020-10-23T02:43:10.102Z] # $SEMVER_TEMP = /tmp/semver-886804248 [2020-10-23T02:43:10.102Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-23T02:43:10.675Z] # '/tmp/semver-886804248' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-23T02:43:10.675Z] # -> Force: false [2020-10-23T02:43:10.675Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-23T02:43:10.690Z] $ docker exec --env ******** --env ******** ccc22beb5da99f38a2434361aa5302c686ac5db09bab5bf90180e11e243dff9a ssh-agent -k [2020-10-23T02:43:10.814Z] unset SSH_AUTH_SOCK; [2020-10-23T02:43:10.814Z] unset SSH_AGENT_PID; [2020-10-23T02:43:10.814Z] echo Agent pid 51 killed; [2020-10-23T02:43:10.857Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-23T02:43:11.411Z] + git semver [Pipeline] } [2020-10-23T02:43:11.430Z] $ docker stop --time=1 ccc22beb5da99f38a2434361aa5302c686ac5db09bab5bf90180e11e243dff9a [2020-10-23T02:43:12.767Z] $ docker rm -f ccc22beb5da99f38a2434361aa5302c686ac5db09bab5bf90180e11e243dff9a [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-23T02:43:13.215Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-23T02:43:13.652Z] Stashed 1 file(s) [Pipeline] echo [2020-10-23T02:43:13.655Z] [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-23T02:43:29.251Z] Still waiting to schedule task [2020-10-23T02:43:29.251Z] Executor slot already in use; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-23T02:43:29.252Z] Still waiting to schedule task [2020-10-23T02:43:29.252Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-23T02:45:20.618Z] Running on prd-centos7-docker-4c-2g-8363 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-23T02:45:20.672Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-10-23T02:45:23.568Z] using credential edgex-jenkins-ssh [2020-10-23T02:45:23.627Z] Cloning the remote Git repository [2020-10-23T02:45:23.659Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:45:23.732Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2020-10-23T02:45:23.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:45:23.964Z] > git --version # timeout=10 [2020-10-23T02:45:23.972Z] > git --version # 'git version 2.16.5' [2020-10-23T02:45:23.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:45:24.015Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:45:25.271Z] Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-23T02:45:25.400Z] Merge succeeded, producing 32410b13d4e3533fba2592de0d02416e198ab121 [2020-10-23T02:45:25.401Z] Checking out Revision 32410b13d4e3533fba2592de0d02416e198ab121 (PR-614) [2020-10-23T02:45:24.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:45:24.724Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:45:24.785Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:45:24.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:45:24.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:45:24.843Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-23T02:45:25.282Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:45:25.288Z] > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [2020-10-23T02:45:25.348Z] > git remote # timeout=10 [2020-10-23T02:45:25.353Z] > git config --get remote.origin.url # timeout=10 [2020-10-23T02:45:25.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:45:25.361Z] > git merge 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 [2020-10-23T02:45:25.396Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-23T02:45:25.408Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:45:25.414Z] > git checkout -f 32410b13d4e3533fba2592de0d02416e198ab121 # timeout=10 [2020-10-23T02:45:29.042Z] Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" [2020-10-23T02:45:29.048Z] > git rev-list --no-walk 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-23T02:45:29.876Z] ========================================================= [2020-10-23T02:45:29.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-23T02:45:29.876Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:45:31.920Z] + 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-23T02:45:32.184Z] Sending build context to Docker daemon 2.34MB [2020-10-23T02:45:32.184Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-23T02:45:32.184Z] Step 2/8 : FROM ${BASE} [2020-10-23T02:45:32.449Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-23T02:45:32.449Z] df20fa9351a1: Pulling fs layer [2020-10-23T02:45:32.449Z] ed8968b2872e: Pulling fs layer [2020-10-23T02:45:32.449Z] a92cc7c5fd73: Pulling fs layer [2020-10-23T02:45:32.449Z] e871e8e8d7a9: Pulling fs layer [2020-10-23T02:45:32.449Z] e73272ec9a57: Pulling fs layer [2020-10-23T02:45:32.449Z] 1e910a182e73: Pulling fs layer [2020-10-23T02:45:32.449Z] 4e634b169226: Pulling fs layer [2020-10-23T02:45:32.449Z] e871e8e8d7a9: Waiting [2020-10-23T02:45:32.449Z] e73272ec9a57: Waiting [2020-10-23T02:45:32.449Z] 1e910a182e73: Waiting [2020-10-23T02:45:32.449Z] 4e634b169226: Waiting [2020-10-23T02:45:32.449Z] a92cc7c5fd73: Verifying Checksum [2020-10-23T02:45:32.449Z] a92cc7c5fd73: Download complete [2020-10-23T02:45:32.449Z] ed8968b2872e: Verifying Checksum [2020-10-23T02:45:32.449Z] ed8968b2872e: Download complete [2020-10-23T02:45:32.449Z] e73272ec9a57: Verifying Checksum [2020-10-23T02:45:32.449Z] e73272ec9a57: Download complete [2020-10-23T02:45:32.449Z] 1e910a182e73: Verifying Checksum [2020-10-23T02:45:32.449Z] 1e910a182e73: Download complete [2020-10-23T02:45:32.449Z] df20fa9351a1: Download complete [2020-10-23T02:45:32.712Z] df20fa9351a1: Pull complete [2020-10-23T02:45:32.977Z] ed8968b2872e: Pull complete [2020-10-23T02:45:32.977Z] a92cc7c5fd73: Pull complete [2020-10-23T02:45:34.371Z] 4e634b169226: Verifying Checksum [2020-10-23T02:45:34.372Z] 4e634b169226: Download complete [2020-10-23T02:45:35.333Z] e871e8e8d7a9: Verifying Checksum [2020-10-23T02:45:35.333Z] e871e8e8d7a9: Download complete [2020-10-23T02:45:40.681Z] e871e8e8d7a9: Pull complete [2020-10-23T02:45:40.681Z] e73272ec9a57: Pull complete [2020-10-23T02:45:40.681Z] 1e910a182e73: Pull complete [2020-10-23T02:45:46.034Z] 4e634b169226: Pull complete [2020-10-23T02:45:46.034Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-23T02:45:46.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-23T02:45:46.034Z] ---> f7629b54cfaa [2020-10-23T02:45:46.034Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:45:46.034Z] ---> Running in ca6727502315 [2020-10-23T02:45:46.314Z] Removing intermediate container ca6727502315 [2020-10-23T02:45:46.314Z] ---> 2cd743568874 [2020-10-23T02:45:46.314Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:45:46.314Z] ---> Running in 0302ffcd8909 [2020-10-23T02:45:48.248Z] Removing intermediate container 0302ffcd8909 [2020-10-23T02:45:48.248Z] ---> 198950d01ce7 [2020-10-23T02:45:48.248Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-23T02:45:48.248Z] ---> Running in ee91e14d2845 [2020-10-23T02:45:48.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-23T02:45:49.404Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-23T02:45:49.981Z] OK: 166 MiB in 39 packages [2020-10-23T02:45:50.562Z] Removing intermediate container ee91e14d2845 [2020-10-23T02:45:50.562Z] ---> 1788633d0f05 [2020-10-23T02:45:50.562Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-23T02:45:50.562Z] ---> Running in b7ffe3ff5f7b [2020-10-23T02:45:50.823Z] Removing intermediate container b7ffe3ff5f7b [2020-10-23T02:45:50.823Z] ---> a9c17d723cb9 [2020-10-23T02:45:50.823Z] Step 7/8 : COPY . . [2020-10-23T02:45:52.224Z] ---> 299022e2a9c5 [2020-10-23T02:45:52.224Z] Step 8/8 : RUN go mod download [2020-10-23T02:45:52.224Z] ---> Running in 58020aa22df9 [2020-10-23T02:46:10.415Z] Removing intermediate container 58020aa22df9 [2020-10-23T02:46:10.415Z] ---> ef41c0e2d13d [2020-10-23T02:46:10.415Z] Successfully built ef41c0e2d13d [2020-10-23T02:46:10.415Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:46:10.944Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-23T02:46:10.944Z] . [Pipeline] withDockerContainer [2020-10-23T02:46:11.047Z] prd-centos7-docker-4c-2g-8363 does not seem to be running inside a container [2020-10-23T02:46:11.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-x86_64 cat [2020-10-23T02:46:11.845Z] $ docker top 57fc3edc7699e5c53adfef0191f36f3423f67e3207f760706e12d946768c074f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:46:12.358Z] + go version [2020-10-23T02:46:12.358Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-23T02:46:12.374Z] $ docker stop --time=1 57fc3edc7699e5c53adfef0191f36f3423f67e3207f760706e12d946768c074f [2020-10-23T02:46:13.756Z] $ docker rm -f 57fc3edc7699e5c53adfef0191f36f3423f67e3207f760706e12d946768c074f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:46:14.696Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-23T02:46:14.696Z] . [Pipeline] withDockerContainer [2020-10-23T02:46:14.790Z] prd-centos7-docker-4c-2g-8363 does not seem to be running inside a container [2020-10-23T02:46:14.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-x86_64 cat [2020-10-23T02:46:15.576Z] $ docker top 15c878a73447ac5da61b76938f52d97706ddb19cc9b724ec361b4065538c0c58 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:46:16.182Z] + make test [2020-10-23T02:46:16.182Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-23T02:46:22.817Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-23T02:46:37.874Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-23T02:46:37.874Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-23T02:46:37.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-23T02:46:37.874Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.076s coverage: 21.4% of statements [2020-10-23T02:46:38.139Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 97.1% of statements [2020-10-23T02:46:56.343Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8367 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-23T02:46:56.422Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-10-23T02:47:01.696Z] using credential edgex-jenkins-ssh [2020-10-23T02:47:01.810Z] Cloning the remote Git repository [2020-10-23T02:47:01.883Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:47:02.013Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2020-10-23T02:47:02.111Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:47:02.113Z] > git --version # timeout=10 [2020-10-23T02:47:02.138Z] > git --version # 'git version 2.17.1' [2020-10-23T02:47:02.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:47:02.194Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:47:03.981Z] Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-23T02:47:03.353Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:47:03.384Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:47:03.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:47:03.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:47:03.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:47:03.477Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-23T02:47:04.010Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:47:04.033Z] > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [2020-10-23T02:47:04.317Z] Merge succeeded, producing 4ca01d7582a05c6b3eebbf11af4f087719a5ac54 [2020-10-23T02:47:04.318Z] Checking out Revision 4ca01d7582a05c6b3eebbf11af4f087719a5ac54 (PR-614) [2020-10-23T02:47:04.155Z] > git remote # timeout=10 [2020-10-23T02:47:04.175Z] > git config --get remote.origin.url # timeout=10 [2020-10-23T02:47:04.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:47:04.202Z] > git merge 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 [2020-10-23T02:47:04.298Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-23T02:47:04.329Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:47:04.345Z] > git checkout -f 4ca01d7582a05c6b3eebbf11af4f087719a5ac54 # timeout=10 [2020-10-23T02:47:08.986Z] Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" [2020-10-23T02:47:09.002Z] > git rev-list --no-walk 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-23T02:47:10.067Z] ========================================================= [2020-10-23T02:47:10.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-23T02:47:10.067Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:47:10.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements [2020-10-23T02:47:10.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.9% of statements [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-23T02:47:10.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 42.6% of statements [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-23T02:47:10.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.256s coverage: 68.9% of statements [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-23T02:47:10.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-23T02:47:10.365Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.273s coverage: 68.9% of statements [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-23T02:47:10.365Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-23T02:47:10.365Z] GO111MODULE=on go vet ./... [2020-10-23T02:47:11.134Z] + 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-23T02:47:12.175Z] Sending build context to Docker daemon 2.34MB [2020-10-23T02:47:12.175Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-23T02:47:12.175Z] Step 2/8 : FROM ${BASE} [2020-10-23T02:47:12.461Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-23T02:47:12.461Z] b538f80385f9: Pulling fs layer [2020-10-23T02:47:12.461Z] 74f711af9a0d: Pulling fs layer [2020-10-23T02:47:12.461Z] 99f96fe45779: Pulling fs layer [2020-10-23T02:47:12.461Z] 8529a6b9a6be: Pulling fs layer [2020-10-23T02:47:12.461Z] 45590311c82a: Pulling fs layer [2020-10-23T02:47:12.461Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-23T02:47:12.461Z] 209524e5b208: Pulling fs layer [2020-10-23T02:47:12.461Z] 8529a6b9a6be: Waiting [2020-10-23T02:47:12.461Z] 45590311c82a: Waiting [2020-10-23T02:47:12.461Z] 69ca0ff8b7b3: Waiting [2020-10-23T02:47:12.461Z] 209524e5b208: Waiting [2020-10-23T02:47:12.740Z] 99f96fe45779: Verifying Checksum [2020-10-23T02:47:12.740Z] 99f96fe45779: Download complete [2020-10-23T02:47:12.740Z] 74f711af9a0d: Verifying Checksum [2020-10-23T02:47:12.740Z] 74f711af9a0d: Download complete [2020-10-23T02:47:12.740Z] 45590311c82a: Verifying Checksum [2020-10-23T02:47:12.740Z] 45590311c82a: Download complete [2020-10-23T02:47:12.740Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-23T02:47:12.740Z] 69ca0ff8b7b3: Download complete [2020-10-23T02:47:12.740Z] b538f80385f9: Verifying Checksum [2020-10-23T02:47:12.740Z] b538f80385f9: Download complete [2020-10-23T02:47:13.361Z] b538f80385f9: Pull complete [2020-10-23T02:47:14.374Z] 74f711af9a0d: Pull complete [2020-10-23T02:47:14.651Z] 99f96fe45779: Pull complete [2020-10-23T02:47:14.931Z] 209524e5b208: Verifying Checksum [2020-10-23T02:47:14.931Z] 209524e5b208: Download complete [2020-10-23T02:47:16.384Z] 8529a6b9a6be: Verifying Checksum [2020-10-23T02:47:16.384Z] 8529a6b9a6be: Download complete [2020-10-23T02:47:17.073Z] gofmt -l . [2020-10-23T02:47:17.074Z] [ "`gofmt -l .`" = "" ] [2020-10-23T02:47:17.074Z] ./bin/test-attribution-txt.sh [2020-10-23T02:47:18.031Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-23T02:47:18.376Z] Stashed 1 file(s) [Pipeline] } [2020-10-23T02:47:18.385Z] $ docker stop --time=1 15c878a73447ac5da61b76938f52d97706ddb19cc9b724ec361b4065538c0c58 [2020-10-23T02:47:20.385Z] $ docker rm -f 15c878a73447ac5da61b76938f52d97706ddb19cc9b724ec361b4065538c0c58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-23T02:47:22.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-23T02:47:22.312Z] + ls -al . [2020-10-23T02:47:22.312Z] total 188 [2020-10-23T02:47:22.312Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 23 02:47 . [2020-10-23T02:47:22.312Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 23 02:45 .. [2020-10-23T02:47:22.312Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 23 02:45 bin [2020-10-23T02:47:22.312Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 23 02:47 coverage.out [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 23 02:45 Dockerfile.build [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 23 02:45 .dockerignore [2020-10-23T02:47:22.312Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 23 02:45 example [2020-10-23T02:47:22.312Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 23 02:45 .git [2020-10-23T02:47:22.312Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 23 02:45 .github [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 23 02:45 .gitignore [2020-10-23T02:47:22.312Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 23 02:47 go.mod [2020-10-23T02:47:22.312Z] -rw-r--r--. 1 jenkins jenkins 13821 Oct 23 02:47 go.sum [2020-10-23T02:47:22.312Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 23 02:45 internal [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 23 02:45 Jenkinsfile [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 23 02:45 LICENSE [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 23 02:45 Makefile [2020-10-23T02:47:22.312Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 23 02:45 openapi [2020-10-23T02:47:22.312Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 23 02:45 pkg [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 23 02:45 README.md [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 23 02:45 RELEASE-NOTES.txt [2020-10-23T02:47:22.312Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 23 02:45 snap [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 23 02:43 VERSION [2020-10-23T02:47:22.312Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 23 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:47:22.619Z] + 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=f9789e8da003b8f6a4a5652df9a6d518ab676f61 --label arch=amd64 --label version=0.0.0 . [2020-10-23T02:47:22.882Z] Sending build context to Docker daemon 2.451MB [2020-10-23T02:47:22.882Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-23T02:47:22.882Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-23T02:47:22.882Z] ---> ef41c0e2d13d [2020-10-23T02:47:22.882Z] Step 3/24 : ARG MAKE='make build' [2020-10-23T02:47:23.456Z] ---> Running in 20afd52aef40 [2020-10-23T02:47:23.456Z] Removing intermediate container 20afd52aef40 [2020-10-23T02:47:23.456Z] ---> 39d6225c2ae9 [2020-10-23T02:47:23.456Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-23T02:47:23.718Z] ---> Running in a32120989ebb [2020-10-23T02:47:23.718Z] Removing intermediate container a32120989ebb [2020-10-23T02:47:23.718Z] ---> 905c0ba3aec3 [2020-10-23T02:47:23.718Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:47:23.985Z] ---> Running in 5445ef388972 [2020-10-23T02:47:23.985Z] Removing intermediate container 5445ef388972 [2020-10-23T02:47:23.985Z] ---> 1e2ba1a10321 [2020-10-23T02:47:23.985Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:47:23.985Z] ---> Running in f66471005872 [2020-10-23T02:47:24.934Z] Removing intermediate container f66471005872 [2020-10-23T02:47:24.934Z] ---> 44f7b7dbd0e3 [2020-10-23T02:47:24.934Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-23T02:47:24.934Z] ---> Running in f06d2942b67f [2020-10-23T02:47:25.534Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-23T02:47:26.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-23T02:47:26.585Z] 8529a6b9a6be: Pull complete [2020-10-23T02:47:26.859Z] 45590311c82a: Pull complete [2020-10-23T02:47:27.133Z] 69ca0ff8b7b3: Pull complete [2020-10-23T02:47:27.439Z] OK: 166 MiB in 39 packages [2020-10-23T02:47:28.017Z] Removing intermediate container f06d2942b67f [2020-10-23T02:47:28.017Z] ---> 3cec67556ae6 [2020-10-23T02:47:28.017Z] Step 8/24 : COPY . . [2020-10-23T02:47:28.972Z] ---> a89418fde003 [2020-10-23T02:47:28.972Z] Step 9/24 : RUN ${MAKE} [2020-10-23T02:47:28.972Z] ---> Running in 1c123a370960 [2020-10-23T02:47:29.554Z] 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-23T02:47:31.487Z] 209524e5b208: Pull complete [2020-10-23T02:47:31.488Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-23T02:47:31.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-23T02:47:31.488Z] ---> 5bddaf1c2fca [2020-10-23T02:47:31.488Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:47:34.126Z] ---> Running in b9c5f60822d1 [2020-10-23T02:47:34.728Z] Removing intermediate container b9c5f60822d1 [2020-10-23T02:47:34.728Z] ---> f989ca4c3fce [2020-10-23T02:47:34.728Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:47:34.728Z] ---> Running in 165e37028a26 [2020-10-23T02:47:37.807Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-23T02:47:38.147Z] Removing intermediate container 165e37028a26 [2020-10-23T02:47:38.147Z] ---> df086363cc89 [2020-10-23T02:47:38.147Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-23T02:47:38.147Z] ---> Running in e8510b0dfc41 [2020-10-23T02:47:39.590Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-23T02:47:39.756Z] Removing intermediate container 1c123a370960 [2020-10-23T02:47:39.756Z] ---> dec56a1a2669 [2020-10-23T02:47:39.756Z] Step 10/24 : FROM scratch [2020-10-23T02:47:39.756Z] ---> [2020-10-23T02:47:39.756Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:47:39.756Z] ---> Running in 569c83d80861 [2020-10-23T02:47:39.756Z] Removing intermediate container 569c83d80861 [2020-10-23T02:47:39.756Z] ---> f7ca940e406b [2020-10-23T02:47:39.756Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-23T02:47:40.331Z] ---> Running in 1ee845647263 [2020-10-23T02:47:40.574Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-23T02:47:40.593Z] Removing intermediate container 1ee845647263 [2020-10-23T02:47:40.593Z] ---> ec82d8345ea9 [2020-10-23T02:47:40.593Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-23T02:47:40.593Z] ---> Running in f7368c08a7c9 [2020-10-23T02:47:40.593Z] Removing intermediate container f7368c08a7c9 [2020-10-23T02:47:40.593Z] ---> 45448765cfe8 [2020-10-23T02:47:40.593Z] Step 14/24 : WORKDIR / [2020-10-23T02:47:40.856Z] ---> Running in b845efdbd59a [2020-10-23T02:47:40.856Z] Removing intermediate container b845efdbd59a [2020-10-23T02:47:40.856Z] ---> a4e64bb1fea2 [2020-10-23T02:47:40.856Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-23T02:47:41.430Z] ---> d604dfb81588 [2020-10-23T02:47:41.430Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-23T02:47:41.567Z] OK: 142 MiB in 39 packages [2020-10-23T02:47:41.696Z] ---> 3ee4e26baae7 [2020-10-23T02:47:41.696Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-23T02:47:41.696Z] ---> a7205ce4826b [2020-10-23T02:47:41.696Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-23T02:47:41.958Z] ---> a446bbe9c6cc [2020-10-23T02:47:41.958Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-23T02:47:42.221Z] ---> c0c4a0584f01 [2020-10-23T02:47:42.221Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-23T02:47:42.487Z] ---> Running in e8736f07bbbc [2020-10-23T02:47:42.487Z] Removing intermediate container e8736f07bbbc [2020-10-23T02:47:42.487Z] ---> 3524d6a14f88 [2020-10-23T02:47:42.487Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-23T02:47:42.751Z] ---> Running in eb0a8822991c [2020-10-23T02:47:42.751Z] Removing intermediate container eb0a8822991c [2020-10-23T02:47:42.751Z] ---> 2276de0e61c3 [2020-10-23T02:47:42.751Z] Step 22/24 : LABEL arch=amd64 [2020-10-23T02:47:42.751Z] ---> Running in 955d652250c9 [2020-10-23T02:47:43.014Z] Removing intermediate container 955d652250c9 [2020-10-23T02:47:43.014Z] ---> 1a85849c2866 [2020-10-23T02:47:43.014Z] Step 23/24 : LABEL git_sha=f9789e8da003b8f6a4a5652df9a6d518ab676f61 [2020-10-23T02:47:43.014Z] ---> Running in 07bb0b2da77e [2020-10-23T02:47:43.014Z] Removing intermediate container e8510b0dfc41 [2020-10-23T02:47:43.014Z] ---> ff261650662e [2020-10-23T02:47:43.014Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-23T02:47:43.014Z] ---> Running in ac806b4bcb33 [2020-10-23T02:47:43.277Z] Removing intermediate container 07bb0b2da77e [2020-10-23T02:47:43.277Z] ---> 2bd972b1457e [2020-10-23T02:47:43.277Z] Step 24/24 : LABEL version=0.0.0 [2020-10-23T02:47:43.277Z] ---> Running in 1ed4c8c9d1b8 [2020-10-23T02:47:43.543Z] Removing intermediate container 1ed4c8c9d1b8 [2020-10-23T02:47:43.543Z] ---> 5814cc0ca841 [2020-10-23T02:47:43.543Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-23T02:47:43.543Z] Successfully built 5814cc0ca841 [2020-10-23T02:47:43.543Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2020-10-23T02:47:43.616Z] Removing intermediate container ac806b4bcb33 [2020-10-23T02:47:43.616Z] ---> bb3f9a6b6f97 [2020-10-23T02:47:43.616Z] Step 7/8 : COPY . . [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-23T02:47:45.074Z] ---> 22b035085c1a [2020-10-23T02:47:45.075Z] Step 8/8 : RUN go mod download [2020-10-23T02:47:45.075Z] ---> Running in 192d319b1e79 [2020-10-23T02:48:11.923Z] Removing intermediate container 192d319b1e79 [2020-10-23T02:48:11.923Z] ---> 86b1a5c3b3da [2020-10-23T02:48:11.923Z] Successfully built 86b1a5c3b3da [2020-10-23T02:48:11.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:48:12.334Z] + docker inspect -f . ci-base-image-arm64 [2020-10-23T02:48:12.334Z] . [Pipeline] withDockerContainer [2020-10-23T02:48:12.633Z] prd-ubuntu18.04-docker-arm64-4c-16g-8367 does not seem to be running inside a container [2020-10-23T02:48:12.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-10-23T02:48:14.677Z] $ docker top 9640a0a63a2df05e7dd27ef285cf9e7e8d48b81d06ca4545c55fb3f9ab6cd73f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:48:16.121Z] + go version [2020-10-23T02:48:16.121Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-23T02:48:16.152Z] $ docker stop --time=1 9640a0a63a2df05e7dd27ef285cf9e7e8d48b81d06ca4545c55fb3f9ab6cd73f [2020-10-23T02:48:18.173Z] $ docker rm -f 9640a0a63a2df05e7dd27ef285cf9e7e8d48b81d06ca4545c55fb3f9ab6cd73f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:48:19.260Z] + docker inspect -f . ci-base-image-arm64 [2020-10-23T02:48:19.260Z] . [Pipeline] withDockerContainer [2020-10-23T02:48:19.545Z] prd-ubuntu18.04-docker-arm64-4c-16g-8367 does not seem to be running inside a container [2020-10-23T02:48:19.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-10-23T02:48:21.578Z] $ docker top f847cd15629957100782d7925e6be84f80190c4715797a90bbdb6b1a50ce21a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:48:23.020Z] + make test [2020-10-23T02:48:23.020Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-23T02:48:49.863Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-23T02:49:28.911Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-23T02:49:28.912Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-23T02:49:28.912Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-23T02:49:29.898Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.136s coverage: 21.4% of statements [2020-10-23T02:49:35.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.280s coverage: 97.1% of statements [2020-10-23T02:50:07.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.142s coverage: 9.4% of statements [2020-10-23T02:50:07.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.9% of statements [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-23T02:50:07.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.644s coverage: 42.6% of statements [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-23T02:50:07.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.846s coverage: 68.9% of statements [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-23T02:50:07.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-23T02:50:07.671Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.369s coverage: 68.9% of statements [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-23T02:50:07.671Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-23T02:50:07.671Z] GO111MODULE=on go vet ./... [2020-10-23T02:50:34.531Z] gofmt -l . [2020-10-23T02:50:34.531Z] [ "`gofmt -l .`" = "" ] [2020-10-23T02:50:35.127Z] ./bin/test-attribution-txt.sh [2020-10-23T02:50:36.109Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-23T02:50:36.452Z] Warning: overwriting stash ‘coverage-report’ [2020-10-23T02:50:37.394Z] Stashed 1 file(s) [Pipeline] } [2020-10-23T02:50:37.418Z] $ docker stop --time=1 f847cd15629957100782d7925e6be84f80190c4715797a90bbdb6b1a50ce21a5 [2020-10-23T02:50:39.872Z] $ docker rm -f f847cd15629957100782d7925e6be84f80190c4715797a90bbdb6b1a50ce21a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-23T02:50:41.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-23T02:50:42.010Z] + ls -al . [2020-10-23T02:50:42.010Z] total 224 [2020-10-23T02:50:42.010Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 02:50 . [2020-10-23T02:50:42.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:47 .. [2020-10-23T02:50:42.010Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 23 02:47 .dockerignore [2020-10-23T02:50:42.011Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 02:47 .git [2020-10-23T02:50:42.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 02:47 .github [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 23 02:47 .gitignore [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 23 02:47 Dockerfile.build [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 23 02:47 Jenkinsfile [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 23 02:47 LICENSE [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 23 02:47 Makefile [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 23 02:47 README.md [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 23 02:47 RELEASE-NOTES.txt [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 02:43 VERSION [2020-10-23T02:50:42.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 02:47 bin [2020-10-23T02:50:42.011Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 23 02:50 coverage.out [2020-10-23T02:50:42.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:47 example [2020-10-23T02:50:42.011Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 23 02:50 go.mod [2020-10-23T02:50:42.011Z] -rw-r--r-- 1 jenkins jenkins 13821 Oct 23 02:50 go.sum [2020-10-23T02:50:42.011Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 23 02:47 internal [2020-10-23T02:50:42.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:47 openapi [2020-10-23T02:50:42.011Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 23 02:47 pkg [2020-10-23T02:50:42.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:47 snap [2020-10-23T02:50:42.011Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 23 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:50:42.409Z] + 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=f9789e8da003b8f6a4a5652df9a6d518ab676f61 --label arch=arm64 --label version=0.0.0 . [2020-10-23T02:50:43.011Z] Sending build context to Docker daemon 2.451MB [2020-10-23T02:50:43.011Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-23T02:50:43.011Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-23T02:50:43.011Z] ---> 86b1a5c3b3da [2020-10-23T02:50:43.011Z] Step 3/24 : ARG MAKE='make build' [2020-10-23T02:50:43.284Z] ---> Running in 8aad697c84f3 [2020-10-23T02:50:43.895Z] Removing intermediate container 8aad697c84f3 [2020-10-23T02:50:43.895Z] ---> 0fd93f989f1f [2020-10-23T02:50:43.895Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-23T02:50:43.895Z] ---> Running in e8a3ed75929a [2020-10-23T02:50:44.492Z] Removing intermediate container e8a3ed75929a [2020-10-23T02:50:44.492Z] ---> 471b666770ad [2020-10-23T02:50:44.492Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:50:44.492Z] ---> Running in fddc4e377072 [2020-10-23T02:50:45.099Z] Removing intermediate container fddc4e377072 [2020-10-23T02:50:45.099Z] ---> ca5401e4d8ac [2020-10-23T02:50:45.099Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:50:45.099Z] ---> Running in 32689ef754fe [2020-10-23T02:50:47.722Z] Removing intermediate container 32689ef754fe [2020-10-23T02:50:47.722Z] ---> 9a8316918555 [2020-10-23T02:50:47.722Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-23T02:50:47.722Z] ---> Running in 74c16e7760e5 [2020-10-23T02:50:49.696Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-23T02:50:49.970Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-23T02:50:50.951Z] OK: 142 MiB in 39 packages [2020-10-23T02:50:51.930Z] Removing intermediate container 74c16e7760e5 [2020-10-23T02:50:51.930Z] ---> e242a2e5fd96 [2020-10-23T02:50:51.930Z] Step 8/24 : COPY . . [2020-10-23T02:50:53.364Z] ---> 97973beecffc [2020-10-23T02:50:53.364Z] Step 9/24 : RUN ${MAKE} [2020-10-23T02:50:53.364Z] ---> Running in 57820be24422 [2020-10-23T02:50:54.801Z] 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-23T02:51:21.647Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-23T02:51:23.084Z] Removing intermediate container 57820be24422 [2020-10-23T02:51:23.084Z] ---> e1ab196fbf09 [2020-10-23T02:51:23.084Z] Step 10/24 : FROM scratch [2020-10-23T02:51:23.084Z] ---> [2020-10-23T02:51:23.084Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:51:23.358Z] ---> Running in fd6022818d98 [2020-10-23T02:51:23.630Z] Removing intermediate container fd6022818d98 [2020-10-23T02:51:23.630Z] ---> bad6babe5a85 [2020-10-23T02:51:23.630Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-23T02:51:23.913Z] ---> Running in 26e73a3106f8 [2020-10-23T02:51:24.510Z] Removing intermediate container 26e73a3106f8 [2020-10-23T02:51:24.511Z] ---> 1d0a52785640 [2020-10-23T02:51:24.511Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-23T02:51:24.511Z] ---> Running in 27c86d614ac4 [2020-10-23T02:51:24.790Z] Removing intermediate container 27c86d614ac4 [2020-10-23T02:51:24.790Z] ---> 2a86469655c1 [2020-10-23T02:51:24.790Z] Step 14/24 : WORKDIR / [2020-10-23T02:51:25.063Z] ---> Running in b4ba40b67423 [2020-10-23T02:51:25.661Z] Removing intermediate container b4ba40b67423 [2020-10-23T02:51:25.661Z] ---> 99d4f3bd083a [2020-10-23T02:51:25.661Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-23T02:51:26.641Z] ---> 8e10a6f8873e [2020-10-23T02:51:26.641Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-23T02:51:27.644Z] ---> b1626f7c2aad [2020-10-23T02:51:27.645Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-23T02:51:28.240Z] ---> c0ec8abd80ab [2020-10-23T02:51:28.240Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-23T02:51:28.837Z] ---> a1d8817ce2e9 [2020-10-23T02:51:28.837Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-23T02:51:29.826Z] ---> 39a1a81713cb [2020-10-23T02:51:29.826Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-23T02:51:29.826Z] ---> Running in 039cb2a969f7 [2020-10-23T02:51:30.097Z] Removing intermediate container 039cb2a969f7 [2020-10-23T02:51:30.097Z] ---> 5acb235633b3 [2020-10-23T02:51:30.097Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-23T02:51:30.370Z] ---> Running in fc114b574163 [2020-10-23T02:51:30.647Z] Removing intermediate container fc114b574163 [2020-10-23T02:51:30.647Z] ---> 9daf5e50619c [2020-10-23T02:51:30.647Z] Step 22/24 : LABEL arch=arm64 [2020-10-23T02:51:30.920Z] ---> Running in 26beaab4bbc6 [2020-10-23T02:51:31.192Z] Removing intermediate container 26beaab4bbc6 [2020-10-23T02:51:31.192Z] ---> 8056eb40d2f8 [2020-10-23T02:51:31.192Z] Step 23/24 : LABEL git_sha=f9789e8da003b8f6a4a5652df9a6d518ab676f61 [2020-10-23T02:51:31.465Z] ---> Running in 387316b5f583 [2020-10-23T02:51:31.744Z] Removing intermediate container 387316b5f583 [2020-10-23T02:51:31.744Z] ---> 55e275815d83 [2020-10-23T02:51:31.744Z] Step 24/24 : LABEL version=0.0.0 [2020-10-23T02:51:32.017Z] ---> Running in 616ecef9b994 [2020-10-23T02:51:32.291Z] Removing intermediate container 616ecef9b994 [2020-10-23T02:51:32.291Z] ---> f1d14e3e0b3d [2020-10-23T02:51:32.291Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-23T02:51:32.566Z] Successfully built f1d14e3e0b3d [2020-10-23T02:51:32.566Z] 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-23T02:51:34.394Z] provisioning config files... [2020-10-23T02:51:34.409Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config1136364091422894550tmp [Pipeline] { [Pipeline] sh [2020-10-23T02:51:34.799Z] + set +x [2020-10-23T02:51:34.799Z] + curl -s https://codecov.io/bash [2020-10-23T02:51:34.799Z] + bash -s -- [2020-10-23T02:51:35.060Z] [2020-10-23T02:51:35.060Z] _____ _ [2020-10-23T02:51:35.060Z] / ____| | | [2020-10-23T02:51:35.060Z] | | ___ __| | ___ ___ _____ __ [2020-10-23T02:51:35.060Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-23T02:51:35.060Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-23T02:51:35.060Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-23T02:51:35.060Z] Bash-20201009-048fee3 [2020-10-23T02:51:35.060Z] [2020-10-23T02:51:35.060Z] [2020-10-23T02:51:35.060Z] ==> Jenkins CI detected. [2020-10-23T02:51:35.060Z] project root: . [2020-10-23T02:51:35.060Z] Fixing merge commit SHA [2020-10-23T02:51:35.060Z] --> token set from env [2020-10-23T02:51:35.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-23T02:51:35.060Z] ==> Running gcov in . (disable via -X gcov) [2020-10-23T02:51:35.060Z] ==> Python coveragepy not found [2020-10-23T02:51:35.060Z] ==> Searching for coverage reports in: [2020-10-23T02:51:35.060Z] + . [2020-10-23T02:51:35.060Z] -> Found 1 reports [2020-10-23T02:51:35.060Z] ==> Detecting git/mercurial file structure [2020-10-23T02:51:35.060Z] ==> Reading reports [2020-10-23T02:51:35.060Z] + ./coverage.out bytes=110398 [2020-10-23T02:51:35.060Z] ==> Appending adjustments [2020-10-23T02:51:35.060Z] https://docs.codecov.io/docs/fixing-reports [2020-10-23T02:51:35.634Z] + Found adjustments [2020-10-23T02:51:35.634Z] ==> Gzipping contents [2020-10-23T02:51:35.634Z] ==> Uploading reports [2020-10-23T02:51:35.634Z] url: https://codecov.io [2020-10-23T02:51:35.634Z] query: branch=PR-614&commit=8b39936bc192f82b46677f7f05650a94960ef7f6&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-23T02:51:35.634Z] -> Pinging Codecov [2020-10-23T02:51:35.634Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=8b39936bc192f82b46677f7f05650a94960ef7f6&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-23T02:51:35.634Z] -> Uploading to [2020-10-23T02:51:35.634Z] [2020-10-23T02:51:35.634Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-23T02:51:35.634Z] Dload Upload Total Spent Left Speed [2020-10-23T02:51:35.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-23T02:51:35.634Z] X> Failed to upload [2020-10-23T02:51:35.634Z] ==> Uploading to Codecov [2020-10-23T02:51:35.634Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-23T02:51:35.634Z] Dload Upload Total Spent Left Speed [2020-10-23T02:51:36.206Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19140 0 0 100 19030 0 40616 --:--:-- --:--:-- --:--:-- 40575 100 19140 100 110 100 19030 234 40600 --:--:-- --:--:-- --:--:-- 40575 [2020-10-23T02:51:36.206Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8b39936bc192f82b46677f7f05650a94960ef7f6 [Pipeline] } [2020-10-23T02:51:36.218Z] 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-23T02:51:39.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:51:39.578Z] ---> package-listing.sh [2020-10-23T02:51:39.578Z] ++ facter osfamily [2020-10-23T02:51:39.578Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-23T02:51:39.578Z] + OS_FAMILY=redhat [2020-10-23T02:51:39.578Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-23T02:51:39.578Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-23T02:51:39.578Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-23T02:51:39.578Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-23T02:51:39.578Z] + PACKAGES=/tmp/packages_start.txt [2020-10-23T02:51:39.578Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-23T02:51:39.578Z] + PACKAGES=/tmp/packages_end.txt [2020-10-23T02:51:39.578Z] + case "${OS_FAMILY}" in [2020-10-23T02:51:39.578Z] + rpm -qa [2020-10-23T02:51:39.578Z] + sort [2020-10-23T02:51:43.786Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-23T02:51:43.786Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-23T02:51:43.786Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-23T02:51:43.786Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-23T02:51:43.786Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-23T02:51:43.786Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo [2020-10-23T02:51:43.799Z] 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-23T02:51:44.095Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:51:44.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:51:44.465Z] [2020-10-23T02:51:44.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:51:44.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:51:44.885Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-23T02:51:44.885Z] df20fa9351a1: Pulling fs layer [2020-10-23T02:51:44.885Z] 36b3adc4ff6f: Pulling fs layer [2020-10-23T02:51:44.885Z] 8ad3a11d3b57: Pulling fs layer [2020-10-23T02:51:44.885Z] 46f8f816bc3b: Pulling fs layer [2020-10-23T02:51:44.885Z] 93b61091891f: Pulling fs layer [2020-10-23T02:51:44.885Z] 93b9cdb0e59b: Pulling fs layer [2020-10-23T02:51:44.885Z] 5e14af77c1be: Pulling fs layer [2020-10-23T02:51:44.885Z] 01666e4c0597: Pulling fs layer [2020-10-23T02:51:44.885Z] aa168da1d23b: Pulling fs layer [2020-10-23T02:51:44.885Z] 93b61091891f: Waiting [2020-10-23T02:51:44.885Z] 93b9cdb0e59b: Waiting [2020-10-23T02:51:44.885Z] 5e14af77c1be: Waiting [2020-10-23T02:51:44.885Z] 01666e4c0597: Waiting [2020-10-23T02:51:44.885Z] aa168da1d23b: Waiting [2020-10-23T02:51:44.885Z] 46f8f816bc3b: Waiting [2020-10-23T02:51:44.885Z] 36b3adc4ff6f: Download complete [2020-10-23T02:51:44.885Z] 46f8f816bc3b: Download complete [2020-10-23T02:51:44.885Z] df20fa9351a1: Download complete [2020-10-23T02:51:45.168Z] 93b9cdb0e59b: Verifying Checksum [2020-10-23T02:51:45.168Z] 93b9cdb0e59b: Download complete [2020-10-23T02:51:45.168Z] 5e14af77c1be: Verifying Checksum [2020-10-23T02:51:45.168Z] 5e14af77c1be: Download complete [2020-10-23T02:51:45.168Z] 93b61091891f: Verifying Checksum [2020-10-23T02:51:45.168Z] 93b61091891f: Download complete [2020-10-23T02:51:45.168Z] 01666e4c0597: Verifying Checksum [2020-10-23T02:51:45.168Z] 01666e4c0597: Download complete [2020-10-23T02:51:45.168Z] 8ad3a11d3b57: Verifying Checksum [2020-10-23T02:51:45.168Z] 8ad3a11d3b57: Download complete [2020-10-23T02:51:45.168Z] df20fa9351a1: Pull complete [2020-10-23T02:51:45.437Z] 36b3adc4ff6f: Pull complete [2020-10-23T02:51:46.021Z] 8ad3a11d3b57: Pull complete [2020-10-23T02:51:46.295Z] 46f8f816bc3b: Pull complete [2020-10-23T02:51:46.883Z] 93b61091891f: Pull complete [2020-10-23T02:51:46.883Z] 93b9cdb0e59b: Pull complete [2020-10-23T02:51:46.883Z] 5e14af77c1be: Pull complete [2020-10-23T02:51:47.146Z] aa168da1d23b: Verifying Checksum [2020-10-23T02:51:47.146Z] aa168da1d23b: Download complete [2020-10-23T02:51:47.146Z] 01666e4c0597: Pull complete [2020-10-23T02:51:52.489Z] aa168da1d23b: Pull complete [2020-10-23T02:51:52.489Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-23T02:51:52.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:51:52.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-23T02:51:52.639Z] prd-centos7-docker-4c-2g-8356 does not seem to be running inside a container [2020-10-23T02:51:52.688Z] $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-23T02:51:59.924Z] $ docker top d969c4503a6c5c96a90fe4f5a9900326f5ed73a7c6749c14243390e812a5e834 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:52:00.452Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-23T02:52:00.752Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-23T02:52:01.052Z] + ls /var/log/sa-host [2020-10-23T02:52:01.052Z] + sadf -c /var/log/sa-host/sa05 [2020-10-23T02:52:01.052Z] file_magic: OK [2020-10-23T02:52:01.052Z] HZ: Using current value: 100 [2020-10-23T02:52:01.052Z] file_header: OK [2020-10-23T02:52:01.052Z] 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-23T02:52:01.052Z] Statistics: [2020-10-23T02:52:01.052Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-23T02:52:01.052Z] File successfully converted to sysstat format version 12.2.1 [2020-10-23T02:52:01.052Z] + sadf -c /var/log/sa-host/sa23 [2020-10-23T02:52:01.052Z] file_magic: OK [2020-10-23T02:52:01.052Z] HZ: Using current value: 100 [2020-10-23T02:52:01.052Z] file_header: OK [2020-10-23T02:52:01.052Z] 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-23T02:52:01.052Z] Statistics: [2020-10-23T02:52:01.052Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-23T02:52:01.052Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-23T02:52:01.260Z] provisioning config files... [2020-10-23T02:52:01.276Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config3960385678745052812tmp [Pipeline] { [Pipeline] echo [2020-10-23T02:52:01.363Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:52:01.684Z] ---> create-netrc.sh [Pipeline] } [2020-10-23T02:52:01.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-23T02:52:01.813Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:52:02.121Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-23T02:52:02.134Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:52:02.432Z] ---> sudo-logs.sh [2020-10-23T02:52:02.432Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-23T02:52:02.443Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:52:02.740Z] ---> job-cost.sh [2020-10-23T02:52:02.740Z] lf-activate-venv: SKIPPING [2020-10-23T02:52:02.740Z] INFO: No Stack... [2020-10-23T02:52:03.685Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-23T02:52:03.947Z] INFO: Archiving Costs [Pipeline] echo [2020-10-23T02:52:03.960Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:52:04.256Z] ---> logs-deploy.sh [2020-10-23T02:52:04.257Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/15 [2020-10-23T02:52:04.257Z] INFO: archiving workspace using pattern(s): [2020-10-23T02:52:05.644Z] Archives upload complete. [2020-10-23T02:52:05.906Z] INFO: archiving logs to Nexus