Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2bbf6af02697b011a7a794463910a22f9bcbb85f+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (10cde016af53a7d152a222caa7814c3c2d8949ee) 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-8585 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 > 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 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f Merge succeeded, producing 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f Checking out Revision 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f (PR-614) > 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f # timeout=10 Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-24T02:43:22.536Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-24T02:43:22.790Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-24T02:43:22.886Z] ========================================================= [2020-10-24T02:43:22.886Z] EdgeX Global Pipelines Version Info [2020-10-24T02:43:22.886Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f9789e8da003b8f6a4a5652df9a6d518ab676f61 # timeout=10 [2020-10-24T02:43:24.879Z] ------------------- [2020-10-24T02:43:24.879Z] stable info: [2020-10-24T02:43:24.879Z] ------------------- [2020-10-24T02:43:24.879Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-24T02:43:24.879Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-24T02:43:24.879Z] Message: update stable to v1.0.148 [2020-10-24T02:43:25.458Z] ------------------- [2020-10-24T02:43:25.458Z] experimental info: [2020-10-24T02:43:25.458Z] ------------------- [2020-10-24T02:43:25.458Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-24T02:43:25.458Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-24T02:43:25.458Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-24T02:43:25.792Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-24T02:43:25.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-24T02:43:25.972Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-24T02:43:26.057Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-24T02:43:26.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-24T02:43:26.237Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-24T02:43:26.350Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-24T02:43:26.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-24T02:43:26.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-24T02:43:26.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-24T02:43:26.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-24T02:43:26.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-24T02:43:26.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-24T02:43:26.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-24T02:43:27.075Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-24T02:43:27.164Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:43:27.257Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:43:27.346Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:43:27.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-24T02:43:27.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-24T02:43:27.631Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-24T02:43:27.717Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-24T02:43:27.809Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-24T02:43:27.902Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-24T02:43:27.995Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-24T02:43:28.114Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-24T02:43:28.211Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-24T02:43:28.307Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-24T02:43:28.414Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f [Pipeline] echo [2020-10-24T02:43:28.510Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ba7cfc [Pipeline] echo [2020-10-24T02:43:28.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:43:29.307Z] + git log --format=format:%s -1 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f [Pipeline] echo [2020-10-24T02:43:29.374Z] GIT_COMMIT: 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f, Commit Message: Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD [Pipeline] echo [2020-10-24T02:43:29.421Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:43:30.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:43:30.625Z] [2020-10-24T02:43:30.625Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:43:31.001Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:43:31.001Z] latest: Pulling from edgex-devops/git-semver [2020-10-24T02:43:31.001Z] 31603596830f: Pulling fs layer [2020-10-24T02:43:31.001Z] 2a8b12db71e7: Pulling fs layer [2020-10-24T02:43:31.001Z] 6ca5941a6612: Pulling fs layer [2020-10-24T02:43:31.001Z] ecc8261a40a4: Pulling fs layer [2020-10-24T02:43:31.001Z] ecc8261a40a4: Waiting [2020-10-24T02:43:31.001Z] 2a8b12db71e7: Verifying Checksum [2020-10-24T02:43:31.001Z] 2a8b12db71e7: Download complete [2020-10-24T02:43:31.265Z] 31603596830f: Verifying Checksum [2020-10-24T02:43:31.265Z] 31603596830f: Download complete [2020-10-24T02:43:31.265Z] ecc8261a40a4: Verifying Checksum [2020-10-24T02:43:31.265Z] ecc8261a40a4: Download complete [2020-10-24T02:43:31.265Z] 6ca5941a6612: Verifying Checksum [2020-10-24T02:43:31.265Z] 6ca5941a6612: Download complete [2020-10-24T02:43:31.528Z] 31603596830f: Pull complete [2020-10-24T02:43:31.791Z] 2a8b12db71e7: Pull complete [2020-10-24T02:43:32.750Z] 6ca5941a6612: Pull complete [2020-10-24T02:43:32.750Z] ecc8261a40a4: Pull complete [2020-10-24T02:43:32.750Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-24T02:43:32.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:43:32.750Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-24T02:43:32.860Z] prd-centos7-docker-4c-2g-8585 does not seem to be running inside a container [2020-10-24T02:43:32.908Z] $ 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-24T02:43:35.136Z] $ docker top bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-24T02:43:35.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:43:35.450Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:43:35.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:43:35.678Z] $ docker exec bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee ssh-agent [2020-10-24T02:43:35.865Z] SSH_AUTH_SOCK=/tmp/ssh-0GiwHrLg8PJw/agent.11 [2020-10-24T02:43:35.865Z] SSH_AGENT_PID=16 [2020-10-24T02:43:35.878Z] Running ssh-add (command line suppressed) [2020-10-24T02:43:35.999Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_235182794430135662.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_235182794430135662.key) [2020-10-24T02:43:36.062Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:43:36.403Z] + git tag --points-at HEAD [Pipeline] } [2020-10-24T02:43:36.421Z] $ docker exec --env ******** --env ******** bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee ssh-agent -k [2020-10-24T02:43:36.540Z] unset SSH_AUTH_SOCK; [2020-10-24T02:43:36.540Z] unset SSH_AGENT_PID; [2020-10-24T02:43:36.540Z] echo Agent pid 16 killed; [2020-10-24T02:43:36.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-24T02:43:36.759Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:43:36.759Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:43:36.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:43:36.954Z] $ docker exec bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee ssh-agent [2020-10-24T02:43:37.155Z] SSH_AUTH_SOCK=/tmp/ssh-xw5vykCUg55w/agent.45 [2020-10-24T02:43:37.156Z] SSH_AGENT_PID=51 [2020-10-24T02:43:37.163Z] Running ssh-add (command line suppressed) [2020-10-24T02:43:37.291Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_6522579418700296275.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_6522579418700296275.key) [2020-10-24T02:43:37.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:43:37.693Z] + git semver init [2020-10-24T02:43:37.693Z] # -> Open(): unable to determine branch for HEAD [2020-10-24T02:43:37.693Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-24T02:43:37.693Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-24T02:43:37.693Z] # $SEMVER_REMOTE_NAME = origin [2020-10-24T02:43:37.693Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-24T02:43:37.693Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-24T02:43:37.693Z] # $SEMVER_BRANCH = PR-614 [2020-10-24T02:43:37.693Z] # $SEMVER_TEMP = /tmp/semver-853003600 [2020-10-24T02:43:37.693Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-24T02:43:38.270Z] # '/tmp/semver-853003600' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-24T02:43:38.532Z] # -> Force: false [2020-10-24T02:43:38.532Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-24T02:43:38.540Z] $ docker exec --env ******** --env ******** bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee ssh-agent -k [2020-10-24T02:43:38.666Z] unset SSH_AUTH_SOCK; [2020-10-24T02:43:38.666Z] unset SSH_AGENT_PID; [2020-10-24T02:43:38.666Z] echo Agent pid 51 killed; [2020-10-24T02:43:38.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-24T02:43:39.231Z] + git semver [Pipeline] } [2020-10-24T02:43:39.245Z] $ docker stop --time=1 bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee [2020-10-24T02:43:40.631Z] $ docker rm -f bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-24T02:43:41.127Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-24T02:43:41.828Z] Stashed 1 file(s) [Pipeline] echo [2020-10-24T02:43:41.831Z] [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-24T02:43:57.430Z] Still waiting to schedule task [2020-10-24T02:43:57.430Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-24T02:43:57.433Z] Still waiting to schedule task [2020-10-24T02:43:57.434Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-24T02:45:50.439Z] Running on prd-centos7-docker-4c-2g-8590 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-24T02:45:50.550Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-10-24T02:45:53.504Z] using credential edgex-jenkins-ssh [2020-10-24T02:45:53.557Z] Cloning the remote Git repository [2020-10-24T02:45:53.600Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:53.667Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-10-24T02:45:53.717Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:53.717Z] > git --version # timeout=10 [2020-10-24T02:45:53.728Z] > git --version # 'git version 2.16.5' [2020-10-24T02:45:53.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:53.769Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:45:54.858Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-24T02:45:54.964Z] Merge succeeded, producing 8cbee61bbbb65140c77fc6e3b139b7a0f56b7275 [2020-10-24T02:45:54.964Z] Checking out Revision 8cbee61bbbb65140c77fc6e3b139b7a0f56b7275 (PR-614) [2020-10-24T02:45:54.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:45:54.454Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:45:54.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:45:54.479Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:54.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:54.483Z] > 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-24T02:45:54.868Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:45:54.873Z] > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [2020-10-24T02:45:54.917Z] > git remote # timeout=10 [2020-10-24T02:45:54.923Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:45:54.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:54.931Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:45:54.960Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:45:54.969Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:45:54.973Z] > git checkout -f 8cbee61bbbb65140c77fc6e3b139b7a0f56b7275 # timeout=10 [2020-10-24T02:45:58.595Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:45:58.608Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-24T02:45:58.601Z] > git rev-list --no-walk f9789e8da003b8f6a4a5652df9a6d518ab676f61 # timeout=10 [Pipeline] echo [2020-10-24T02:45:59.384Z] ========================================================= [2020-10-24T02:45:59.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-24T02:45:59.384Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:00.055Z] + 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-24T02:46:01.015Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:46:01.015Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:46:01.015Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:46:01.015Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-24T02:46:01.015Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:46:01.015Z] ed8968b2872e: Pulling fs layer [2020-10-24T02:46:01.015Z] a92cc7c5fd73: Pulling fs layer [2020-10-24T02:46:01.015Z] e871e8e8d7a9: Pulling fs layer [2020-10-24T02:46:01.015Z] e73272ec9a57: Pulling fs layer [2020-10-24T02:46:01.015Z] 1e910a182e73: Pulling fs layer [2020-10-24T02:46:01.015Z] 4e634b169226: Pulling fs layer [2020-10-24T02:46:01.015Z] 1e910a182e73: Waiting [2020-10-24T02:46:01.015Z] 4e634b169226: Waiting [2020-10-24T02:46:01.015Z] e73272ec9a57: Waiting [2020-10-24T02:46:01.015Z] e871e8e8d7a9: Waiting [2020-10-24T02:46:01.015Z] a92cc7c5fd73: Verifying Checksum [2020-10-24T02:46:01.015Z] a92cc7c5fd73: Download complete [2020-10-24T02:46:01.015Z] ed8968b2872e: Verifying Checksum [2020-10-24T02:46:01.015Z] ed8968b2872e: Download complete [2020-10-24T02:46:01.325Z] e73272ec9a57: Verifying Checksum [2020-10-24T02:46:01.325Z] e73272ec9a57: Download complete [2020-10-24T02:46:01.325Z] 1e910a182e73: Verifying Checksum [2020-10-24T02:46:01.325Z] 1e910a182e73: Download complete [2020-10-24T02:46:01.325Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:46:01.325Z] df20fa9351a1: Download complete [2020-10-24T02:46:01.325Z] df20fa9351a1: Pull complete [2020-10-24T02:46:01.597Z] ed8968b2872e: Pull complete [2020-10-24T02:46:01.860Z] a92cc7c5fd73: Pull complete [2020-10-24T02:46:03.254Z] 4e634b169226: Verifying Checksum [2020-10-24T02:46:03.254Z] 4e634b169226: Download complete [2020-10-24T02:46:03.517Z] e871e8e8d7a9: Verifying Checksum [2020-10-24T02:46:03.517Z] e871e8e8d7a9: Download complete [2020-10-24T02:46:08.861Z] e871e8e8d7a9: Pull complete [2020-10-24T02:46:08.861Z] e73272ec9a57: Pull complete [2020-10-24T02:46:08.861Z] 1e910a182e73: Pull complete [2020-10-24T02:46:18.890Z] 4e634b169226: Pull complete [2020-10-24T02:46:18.890Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-24T02:46:18.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-24T02:46:18.890Z] ---> f7629b54cfaa [2020-10-24T02:46:18.890Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:46:18.890Z] ---> Running in 5e8edf74f6a4 [2020-10-24T02:46:18.890Z] Removing intermediate container 5e8edf74f6a4 [2020-10-24T02:46:18.890Z] ---> 7282fb0a12f8 [2020-10-24T02:46:18.890Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:46:18.890Z] ---> Running in fc81e2252038 [2020-10-24T02:46:19.471Z] Removing intermediate container fc81e2252038 [2020-10-24T02:46:19.471Z] ---> 6cd0be69f65d [2020-10-24T02:46:19.471Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:46:19.471Z] ---> Running in 7874e33a5fa6 [2020-10-24T02:46:20.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:46:20.712Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:46:21.284Z] OK: 166 MiB in 39 packages [2020-10-24T02:46:21.859Z] Removing intermediate container 7874e33a5fa6 [2020-10-24T02:46:21.859Z] ---> ba7c3d52efae [2020-10-24T02:46:21.859Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:46:21.859Z] ---> Running in cdc06900cf69 [2020-10-24T02:46:21.859Z] Removing intermediate container cdc06900cf69 [2020-10-24T02:46:21.859Z] ---> 61c234ca7440 [2020-10-24T02:46:21.859Z] Step 7/8 : COPY . . [2020-10-24T02:46:23.254Z] ---> 432ce3770b7f [2020-10-24T02:46:23.254Z] Step 8/8 : RUN go mod download [2020-10-24T02:46:23.254Z] ---> Running in 7ff393aea6f9 [2020-10-24T02:46:41.415Z] Removing intermediate container 7ff393aea6f9 [2020-10-24T02:46:41.415Z] ---> ca85a68a46c6 [2020-10-24T02:46:41.415Z] Successfully built ca85a68a46c6 [2020-10-24T02:46:41.415Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:41.765Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:46:41.765Z] . [Pipeline] withDockerContainer [2020-10-24T02:46:41.860Z] prd-centos7-docker-4c-2g-8590 does not seem to be running inside a container [2020-10-24T02:46:41.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-24T02:46:42.591Z] $ docker top 25b02d3bef7637f74ddf3a42c11aa54f2a65c02970c5e8d5a18ee2f6b1a73bd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:46:43.058Z] + go version [2020-10-24T02:46:43.058Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-24T02:46:43.072Z] $ docker stop --time=1 25b02d3bef7637f74ddf3a42c11aa54f2a65c02970c5e8d5a18ee2f6b1a73bd5 [2020-10-24T02:46:44.380Z] $ docker rm -f 25b02d3bef7637f74ddf3a42c11aa54f2a65c02970c5e8d5a18ee2f6b1a73bd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:45.240Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:46:45.240Z] . [Pipeline] withDockerContainer [2020-10-24T02:46:45.332Z] prd-centos7-docker-4c-2g-8590 does not seem to be running inside a container [2020-10-24T02:46:45.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-24T02:46:45.931Z] $ docker top ac4e6e57dbe2f878712384eb0f25b5228b1e94bb7cefcb25cfb476accc82c128 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:46:46.401Z] + make test [2020-10-24T02:46:46.401Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:46:54.584Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:47:02.964Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8595 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-24T02:47:03.014Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-10-24T02:47:06.961Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:47:06.961Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:47:06.961Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:47:07.940Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 21.4% of statements [2020-10-24T02:47:08.048Z] using credential edgex-jenkins-ssh [2020-10-24T02:47:08.108Z] Cloning the remote Git repository [2020-10-24T02:47:08.173Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:47:08.281Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-10-24T02:47:09.372Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.446s coverage: 97.1% of statements [2020-10-24T02:47:08.379Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:47:08.381Z] > git --version # timeout=10 [2020-10-24T02:47:08.410Z] > git --version # 'git version 2.17.1' [2020-10-24T02:47:08.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:47:08.466Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:47:10.262Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-24T02:47:10.581Z] Merge succeeded, producing faeb13b7f09beb216d4563277766e2f417a5cd12 [2020-10-24T02:47:10.581Z] Checking out Revision faeb13b7f09beb216d4563277766e2f417a5cd12 (PR-614) [2020-10-24T02:47:09.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:47:09.567Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:47:09.598Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:47:09.635Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:47:09.636Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:47:09.654Z] > 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-24T02:47:10.285Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:47:10.305Z] > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [2020-10-24T02:47:10.427Z] > git remote # timeout=10 [2020-10-24T02:47:10.451Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:47:10.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:47:10.481Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:47:10.570Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:47:10.593Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:47:10.604Z] > git checkout -f faeb13b7f09beb216d4563277766e2f417a5cd12 # timeout=10 [2020-10-24T02:47:14.886Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:47:14.915Z] First time build. Skipping changelog. [2020-10-24T02:47:14.900Z] > git rev-list --no-walk f9789e8da003b8f6a4a5652df9a6d518ab676f61 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-24T02:47:15.794Z] ========================================================= [2020-10-24T02:47:15.794Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-24T02:47:15.794Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:47:16.819Z] + 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-24T02:47:17.803Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:47:17.803Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:47:17.803Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:47:18.081Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-24T02:47:18.081Z] b538f80385f9: Pulling fs layer [2020-10-24T02:47:18.081Z] 74f711af9a0d: Pulling fs layer [2020-10-24T02:47:18.081Z] 99f96fe45779: Pulling fs layer [2020-10-24T02:47:18.081Z] 8529a6b9a6be: Pulling fs layer [2020-10-24T02:47:18.081Z] 45590311c82a: Pulling fs layer [2020-10-24T02:47:18.081Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-24T02:47:18.081Z] 209524e5b208: Pulling fs layer [2020-10-24T02:47:18.081Z] 45590311c82a: Waiting [2020-10-24T02:47:18.081Z] 69ca0ff8b7b3: Waiting [2020-10-24T02:47:18.081Z] 209524e5b208: Waiting [2020-10-24T02:47:18.081Z] 8529a6b9a6be: Waiting [2020-10-24T02:47:18.081Z] 99f96fe45779: Verifying Checksum [2020-10-24T02:47:18.081Z] 99f96fe45779: Download complete [2020-10-24T02:47:18.081Z] 74f711af9a0d: Verifying Checksum [2020-10-24T02:47:18.081Z] 74f711af9a0d: Download complete [2020-10-24T02:47:18.081Z] 45590311c82a: Verifying Checksum [2020-10-24T02:47:18.081Z] 45590311c82a: Download complete [2020-10-24T02:47:18.081Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-24T02:47:18.081Z] 69ca0ff8b7b3: Download complete [2020-10-24T02:47:18.081Z] b538f80385f9: Verifying Checksum [2020-10-24T02:47:18.081Z] b538f80385f9: Download complete [2020-10-24T02:47:18.686Z] b538f80385f9: Pull complete [2020-10-24T02:47:19.689Z] 74f711af9a0d: Pull complete [2020-10-24T02:47:19.962Z] 99f96fe45779: Pull complete [2020-10-24T02:47:20.236Z] 209524e5b208: Verifying Checksum [2020-10-24T02:47:20.236Z] 209524e5b208: Download complete [2020-10-24T02:47:21.682Z] 8529a6b9a6be: Verifying Checksum [2020-10-24T02:47:21.682Z] 8529a6b9a6be: Download complete [2020-10-24T02:47:31.853Z] 8529a6b9a6be: Pull complete [2020-10-24T02:47:31.853Z] 45590311c82a: Pull complete [2020-10-24T02:47:31.853Z] 69ca0ff8b7b3: Pull complete [2020-10-24T02:47:35.261Z] 209524e5b208: Pull complete [2020-10-24T02:47:35.262Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-24T02:47:35.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-24T02:47:35.262Z] ---> 5bddaf1c2fca [2020-10-24T02:47:35.262Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:47:37.898Z] ---> Running in e23449e8d626 [2020-10-24T02:47:38.495Z] Removing intermediate container e23449e8d626 [2020-10-24T02:47:38.495Z] ---> e97db2d434af [2020-10-24T02:47:38.495Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:47:38.495Z] ---> Running in f845fa706bcf [2020-10-24T02:47:41.190Z] Removing intermediate container f845fa706bcf [2020-10-24T02:47:41.190Z] ---> 41fe8dd8a80b [2020-10-24T02:47:41.190Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:47:41.190Z] ---> Running in c55a701d4f9a [2020-10-24T02:47:41.532Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 9.4% of statements [2020-10-24T02:47:41.532Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:47:41.532Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.205s coverage: 42.6% of statements [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:47:41.532Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.266s coverage: 68.9% of statements [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:47:41.532Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:47:41.532Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.465s coverage: 68.9% of statements [2020-10-24T02:47:41.532Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.7% of statements [2020-10-24T02:47:41.532Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:47:41.532Z] GO111MODULE=on go vet ./... [2020-10-24T02:47:42.628Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:47:43.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:47:44.203Z] OK: 142 MiB in 39 packages [2020-10-24T02:47:45.190Z] Removing intermediate container c55a701d4f9a [2020-10-24T02:47:45.190Z] ---> bf63735ddca7 [2020-10-24T02:47:45.190Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:47:45.463Z] ---> Running in 6f0819184bc1 [2020-10-24T02:47:46.057Z] Removing intermediate container 6f0819184bc1 [2020-10-24T02:47:46.057Z] ---> 9476ccd5ffaa [2020-10-24T02:47:46.057Z] Step 7/8 : COPY . . [2020-10-24T02:47:47.511Z] ---> d8c64315c2b0 [2020-10-24T02:47:47.511Z] Step 8/8 : RUN go mod download [2020-10-24T02:47:47.511Z] ---> Running in 73d45cfe149e [2020-10-24T02:47:48.204Z] gofmt -l . [2020-10-24T02:47:48.204Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:47:48.204Z] ./bin/test-attribution-txt.sh [2020-10-24T02:47:48.777Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:47:49.324Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:47:49.332Z] $ docker stop --time=1 ac4e6e57dbe2f878712384eb0f25b5228b1e94bb7cefcb25cfb476accc82c128 [2020-10-24T02:47:51.143Z] $ docker rm -f ac4e6e57dbe2f878712384eb0f25b5228b1e94bb7cefcb25cfb476accc82c128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-24T02:47:52.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:47:52.926Z] + ls -al . [2020-10-24T02:47:52.926Z] total 208 [2020-10-24T02:47:52.926Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 24 02:47 . [2020-10-24T02:47:52.926Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 24 02:45 .. [2020-10-24T02:47:52.926Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 24 02:45 bin [2020-10-24T02:47:52.926Z] -rw-r--r--. 1 jenkins jenkins 127612 Oct 24 02:47 coverage.out [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 24 02:45 Dockerfile.build [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 24 02:45 .dockerignore [2020-10-24T02:47:52.926Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 24 02:45 example [2020-10-24T02:47:52.926Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 24 02:45 .git [2020-10-24T02:47:52.926Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 24 02:45 .github [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 24 02:45 .gitignore [2020-10-24T02:47:52.926Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 24 02:47 go.mod [2020-10-24T02:47:52.926Z] -rw-r--r--. 1 jenkins jenkins 13821 Oct 24 02:47 go.sum [2020-10-24T02:47:52.926Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 24 02:45 internal [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 24 02:45 Jenkinsfile [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 24 02:45 LICENSE [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 24 02:45 Makefile [2020-10-24T02:47:52.926Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 24 02:45 openapi [2020-10-24T02:47:52.926Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 24 02:45 pkg [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 24 02:45 README.md [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 24 02:45 RELEASE-NOTES.txt [2020-10-24T02:47:52.926Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 24 02:45 snap [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 24 02:43 VERSION [2020-10-24T02:47:52.926Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 24 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:47:53.230Z] + 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=6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f --label arch=amd64 --label version=0.0.0 . [2020-10-24T02:47:53.492Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:47:53.492Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:47:53.492Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:47:53.492Z] ---> ca85a68a46c6 [2020-10-24T02:47:53.492Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:47:53.754Z] ---> Running in 71cba90600d3 [2020-10-24T02:47:54.015Z] Removing intermediate container 71cba90600d3 [2020-10-24T02:47:54.015Z] ---> 289727367eb5 [2020-10-24T02:47:54.015Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:47:54.015Z] ---> Running in e336c729c68b [2020-10-24T02:47:54.277Z] Removing intermediate container e336c729c68b [2020-10-24T02:47:54.277Z] ---> d2438dcb3424 [2020-10-24T02:47:54.277Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:47:54.277Z] ---> Running in dc4a7e364060 [2020-10-24T02:47:54.539Z] Removing intermediate container dc4a7e364060 [2020-10-24T02:47:54.539Z] ---> 543b2864c0bb [2020-10-24T02:47:54.539Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:47:54.539Z] ---> Running in f5253dec75e5 [2020-10-24T02:47:55.484Z] Removing intermediate container f5253dec75e5 [2020-10-24T02:47:55.484Z] ---> f0f5cf64df86 [2020-10-24T02:47:55.484Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:47:55.484Z] ---> Running in 5fbaea8e77ab [2020-10-24T02:47:55.746Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:47:56.689Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:47:56.950Z] OK: 166 MiB in 39 packages [2020-10-24T02:47:57.524Z] Removing intermediate container 5fbaea8e77ab [2020-10-24T02:47:57.524Z] ---> 5837c405b657 [2020-10-24T02:47:57.524Z] Step 8/24 : COPY . . [2020-10-24T02:47:58.473Z] ---> e2f8758223bd [2020-10-24T02:47:58.473Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:47:58.473Z] ---> Running in 59a4d0ed3e1e [2020-10-24T02:47:59.047Z] 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-24T02:48:07.307Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:48:08.692Z] Removing intermediate container 59a4d0ed3e1e [2020-10-24T02:48:08.692Z] ---> 2ae4a12bf081 [2020-10-24T02:48:08.692Z] Step 10/24 : FROM scratch [2020-10-24T02:48:08.692Z] ---> [2020-10-24T02:48:08.692Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:48:08.692Z] ---> Running in 6f4234ad6067 [2020-10-24T02:48:08.692Z] Removing intermediate container 6f4234ad6067 [2020-10-24T02:48:08.692Z] ---> dbf47ecfb60d [2020-10-24T02:48:08.692Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:48:08.692Z] ---> Running in 019f15de9cdd [2020-10-24T02:48:08.953Z] Removing intermediate container 019f15de9cdd [2020-10-24T02:48:08.953Z] ---> 8156f222db6e [2020-10-24T02:48:08.953Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:48:08.953Z] ---> Running in 251e2343f75f [2020-10-24T02:48:09.214Z] Removing intermediate container 251e2343f75f [2020-10-24T02:48:09.214Z] ---> 3a590f62559f [2020-10-24T02:48:09.214Z] Step 14/24 : WORKDIR / [2020-10-24T02:48:09.214Z] ---> Running in 8d8df0750304 [2020-10-24T02:48:09.214Z] Removing intermediate container 8d8df0750304 [2020-10-24T02:48:09.214Z] ---> 2abefa63307f [2020-10-24T02:48:09.214Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:48:09.682Z] Removing intermediate container 73d45cfe149e [2020-10-24T02:48:09.682Z] ---> 187fb2acb4b8 [2020-10-24T02:48:09.682Z] Successfully built 187fb2acb4b8 [2020-10-24T02:48:09.682Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:48:09.788Z] ---> acf4cd0d3da7 [2020-10-24T02:48:09.788Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:48:10.049Z] ---> cd8f652f82cf [2020-10-24T02:48:10.049Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:48:10.087Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:48:10.087Z] . [Pipeline] withDockerContainer [2020-10-24T02:48:10.310Z] ---> 57a493053bc3 [2020-10-24T02:48:10.310Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:48:10.367Z] prd-ubuntu18.04-docker-arm64-4c-16g-8595 does not seem to be running inside a container [2020-10-24T02:48:10.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-arm64 cat [2020-10-24T02:48:10.572Z] ---> 16031460794f [2020-10-24T02:48:10.572Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:48:10.572Z] ---> dcdc65f67075 [2020-10-24T02:48:10.572Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:48:10.834Z] ---> Running in ebebba7e6ba0 [2020-10-24T02:48:10.834Z] Removing intermediate container ebebba7e6ba0 [2020-10-24T02:48:10.834Z] ---> b5ff6c36bb3f [2020-10-24T02:48:10.834Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:48:10.834Z] ---> Running in e6cdc6233ab7 [2020-10-24T02:48:11.097Z] Removing intermediate container e6cdc6233ab7 [2020-10-24T02:48:11.097Z] ---> 333fe21f8f11 [2020-10-24T02:48:11.097Z] Step 22/24 : LABEL arch=amd64 [2020-10-24T02:48:11.097Z] ---> Running in f590ec9c2180 [2020-10-24T02:48:11.358Z] Removing intermediate container f590ec9c2180 [2020-10-24T02:48:11.358Z] ---> a69a31bf64dd [2020-10-24T02:48:11.358Z] Step 23/24 : LABEL git_sha=6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f [2020-10-24T02:48:11.358Z] ---> Running in 9744b7d0a4e0 [2020-10-24T02:48:11.358Z] Removing intermediate container 9744b7d0a4e0 [2020-10-24T02:48:11.358Z] ---> 814db9e7df4a [2020-10-24T02:48:11.358Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:48:11.619Z] ---> Running in 4d462f0b25c2 [2020-10-24T02:48:11.619Z] Removing intermediate container 4d462f0b25c2 [2020-10-24T02:48:11.619Z] ---> 7bc2ccd07320 [2020-10-24T02:48:11.619Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:48:11.619Z] Successfully built 7bc2ccd07320 [2020-10-24T02:48:11.619Z] Successfully tagged docker-device-sdk-simple:latest [2020-10-24T02:48:12.267Z] $ docker top b71dc841c452727d125c67116cbaa4d47c7f668e6720d8e5504e4819daec0836 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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] } [2020-10-24T02:48:13.624Z] + go version [2020-10-24T02:48:13.624Z] go version go1.15.2 linux/arm64 [Pipeline] // node [Pipeline] } [Pipeline] } [2020-10-24T02:48:13.702Z] $ docker stop --time=1 b71dc841c452727d125c67116cbaa4d47c7f668e6720d8e5504e4819daec0836 [2020-10-24T02:48:15.586Z] $ docker rm -f b71dc841c452727d125c67116cbaa4d47c7f668e6720d8e5504e4819daec0836 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:48:16.672Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:48:16.673Z] . [Pipeline] withDockerContainer [2020-10-24T02:48:16.911Z] prd-ubuntu18.04-docker-arm64-4c-16g-8595 does not seem to be running inside a container [2020-10-24T02:48:17.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-arm64 cat [2020-10-24T02:48:18.812Z] $ docker top eec96aede6a879d20e7a37a487ad12a75e2fd24f325d3733ffe153004ef39e6d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:48:20.174Z] + make test [2020-10-24T02:48:20.174Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:48:42.347Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:49:21.380Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:49:21.380Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:49:21.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:49:21.380Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.137s coverage: 21.4% of statements [2020-10-24T02:49:22.827Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.359s coverage: 97.1% of statements [2020-10-24T02:49:55.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements [2020-10-24T02:49:55.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:49:55.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.616s coverage: 42.6% of statements [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:49:55.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.740s coverage: 68.9% of statements [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:49:55.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.187s coverage: 52.6% of statements [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:49:55.193Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.728s coverage: 68.9% of statements [2020-10-24T02:49:55.193Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements [2020-10-24T02:49:55.193Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:49:55.193Z] GO111MODULE=on go vet ./... [2020-10-24T02:50:27.637Z] gofmt -l . [2020-10-24T02:50:27.637Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:50:27.637Z] ./bin/test-attribution-txt.sh [2020-10-24T02:50:27.637Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:50:27.708Z] Warning: overwriting stash ‘coverage-report’ [2020-10-24T02:50:28.502Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:50:28.511Z] $ docker stop --time=1 eec96aede6a879d20e7a37a487ad12a75e2fd24f325d3733ffe153004ef39e6d [2020-10-24T02:50:30.719Z] $ docker rm -f eec96aede6a879d20e7a37a487ad12a75e2fd24f325d3733ffe153004ef39e6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:50:32.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:50:32.507Z] + ls -al . [2020-10-24T02:50:32.507Z] total 244 [2020-10-24T02:50:32.507Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 02:50 . [2020-10-24T02:50:32.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:47 .. [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 02:47 .dockerignore [2020-10-24T02:50:32.507Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 02:47 .git [2020-10-24T02:50:32.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:47 .github [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 24 02:47 .gitignore [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 24 02:47 Dockerfile.build [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 24 02:47 Jenkinsfile [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 02:47 LICENSE [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 24 02:47 Makefile [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 24 02:47 README.md [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 24 02:47 RELEASE-NOTES.txt [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 02:43 VERSION [2020-10-24T02:50:32.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:47 bin [2020-10-24T02:50:32.507Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 24 02:49 coverage.out [2020-10-24T02:50:32.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:47 example [2020-10-24T02:50:32.507Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 24 02:50 go.mod [2020-10-24T02:50:32.507Z] -rw-r--r-- 1 jenkins jenkins 13821 Oct 24 02:50 go.sum [2020-10-24T02:50:32.507Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 24 02:47 internal [2020-10-24T02:50:32.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:47 openapi [2020-10-24T02:50:32.507Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 02:47 pkg [2020-10-24T02:50:32.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:47 snap [2020-10-24T02:50:32.507Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:50:32.878Z] + 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=6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f --label arch=arm64 --label version=0.0.0 . [2020-10-24T02:50:33.161Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:50:33.434Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:50:33.434Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:50:33.434Z] ---> 187fb2acb4b8 [2020-10-24T02:50:33.434Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:50:33.707Z] ---> Running in 86ce4dc8be9f [2020-10-24T02:50:33.980Z] Removing intermediate container 86ce4dc8be9f [2020-10-24T02:50:33.980Z] ---> e13a9bf64689 [2020-10-24T02:50:33.980Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:50:34.258Z] ---> Running in 66d8002866af [2020-10-24T02:50:34.531Z] Removing intermediate container 66d8002866af [2020-10-24T02:50:34.531Z] ---> 0b835890bf2c [2020-10-24T02:50:34.531Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:50:34.804Z] ---> Running in 2e16c51a2cac [2020-10-24T02:50:35.400Z] Removing intermediate container 2e16c51a2cac [2020-10-24T02:50:35.400Z] ---> 72124e3cd018 [2020-10-24T02:50:35.400Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:50:35.400Z] ---> Running in 750cf572a4a9 [2020-10-24T02:50:38.015Z] Removing intermediate container 750cf572a4a9 [2020-10-24T02:50:38.015Z] ---> a6fe991240e0 [2020-10-24T02:50:38.015Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:50:38.015Z] ---> Running in dea907a6c5a9 [2020-10-24T02:50:39.451Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:50:40.047Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:50:40.643Z] OK: 142 MiB in 39 packages [2020-10-24T02:50:41.631Z] Removing intermediate container dea907a6c5a9 [2020-10-24T02:50:41.631Z] ---> 4d0dac907163 [2020-10-24T02:50:41.631Z] Step 8/24 : COPY . . [2020-10-24T02:50:43.078Z] ---> 41e96edc19ae [2020-10-24T02:50:43.078Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:50:43.078Z] ---> Running in b54822272e0c [2020-10-24T02:50:44.517Z] 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-24T02:51:11.330Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:51:11.330Z] Removing intermediate container b54822272e0c [2020-10-24T02:51:11.330Z] ---> d7bc276e5fed [2020-10-24T02:51:11.330Z] Step 10/24 : FROM scratch [2020-10-24T02:51:11.330Z] ---> [2020-10-24T02:51:11.330Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:51:11.330Z] ---> Running in 1e19c4aba847 [2020-10-24T02:51:11.330Z] Removing intermediate container 1e19c4aba847 [2020-10-24T02:51:11.330Z] ---> 77784cb0321a [2020-10-24T02:51:11.330Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:51:11.330Z] ---> Running in acbac459b617 [2020-10-24T02:51:11.603Z] Removing intermediate container acbac459b617 [2020-10-24T02:51:11.603Z] ---> a4c7e4739f14 [2020-10-24T02:51:11.603Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:51:11.603Z] ---> Running in 5f68296a467b [2020-10-24T02:51:12.201Z] Removing intermediate container 5f68296a467b [2020-10-24T02:51:12.201Z] ---> 22c361381256 [2020-10-24T02:51:12.201Z] Step 14/24 : WORKDIR / [2020-10-24T02:51:12.201Z] ---> Running in e442300111ea [2020-10-24T02:51:12.797Z] Removing intermediate container e442300111ea [2020-10-24T02:51:12.797Z] ---> 2f29b9dad988 [2020-10-24T02:51:12.797Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:51:14.228Z] ---> ce449ba37900 [2020-10-24T02:51:14.228Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:51:14.824Z] ---> c991c0b0ad1e [2020-10-24T02:51:14.824Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:51:15.470Z] ---> d3fe1358bc2c [2020-10-24T02:51:15.470Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:51:16.063Z] ---> bbd147aab46f [2020-10-24T02:51:16.063Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:51:16.656Z] ---> 69de3f95023f [2020-10-24T02:51:16.656Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:51:16.928Z] ---> Running in 12c462fdbdf5 [2020-10-24T02:51:17.201Z] Removing intermediate container 12c462fdbdf5 [2020-10-24T02:51:17.201Z] ---> 551a86a88df4 [2020-10-24T02:51:17.201Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:51:17.473Z] ---> Running in c45c493ad549 [2020-10-24T02:51:17.745Z] Removing intermediate container c45c493ad549 [2020-10-24T02:51:17.746Z] ---> 1290f574ff83 [2020-10-24T02:51:17.746Z] Step 22/24 : LABEL arch=arm64 [2020-10-24T02:51:18.019Z] ---> Running in 3c48bc27962c [2020-10-24T02:51:18.292Z] Removing intermediate container 3c48bc27962c [2020-10-24T02:51:18.292Z] ---> e0194093c549 [2020-10-24T02:51:18.292Z] Step 23/24 : LABEL git_sha=6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f [2020-10-24T02:51:18.566Z] ---> Running in 225882ae4a56 [2020-10-24T02:51:18.837Z] Removing intermediate container 225882ae4a56 [2020-10-24T02:51:18.837Z] ---> 90cd07d17e87 [2020-10-24T02:51:18.837Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:51:19.111Z] ---> Running in 7792f7f8a4f9 [2020-10-24T02:51:19.382Z] Removing intermediate container 7792f7f8a4f9 [2020-10-24T02:51:19.382Z] ---> 79744c917147 [2020-10-24T02:51:19.382Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:51:19.382Z] Successfully built 79744c917147 [2020-10-24T02:51:19.382Z] 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-24T02:51:21.545Z] provisioning config files... [2020-10-24T02:51:21.561Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config8486137891644546558tmp [Pipeline] { [Pipeline] sh [2020-10-24T02:51:21.950Z] + set +x [2020-10-24T02:51:21.951Z] + curl -s https://codecov.io/bash [2020-10-24T02:51:21.951Z] + bash -s -- [2020-10-24T02:51:22.215Z] [2020-10-24T02:51:22.215Z] _____ _ [2020-10-24T02:51:22.215Z] / ____| | | [2020-10-24T02:51:22.215Z] | | ___ __| | ___ ___ _____ __ [2020-10-24T02:51:22.215Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-24T02:51:22.215Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-24T02:51:22.215Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-24T02:51:22.215Z] Bash-20201009-048fee3 [2020-10-24T02:51:22.215Z] [2020-10-24T02:51:22.215Z] [2020-10-24T02:51:22.215Z] ==> Jenkins CI detected. [2020-10-24T02:51:22.215Z] project root: . [2020-10-24T02:51:22.215Z] Fixing merge commit SHA [2020-10-24T02:51:22.215Z] --> token set from env [2020-10-24T02:51:22.215Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-24T02:51:22.215Z] ==> Running gcov in . (disable via -X gcov) [2020-10-24T02:51:22.215Z] ==> Python coveragepy not found [2020-10-24T02:51:22.215Z] ==> Searching for coverage reports in: [2020-10-24T02:51:22.215Z] + . [2020-10-24T02:51:22.215Z] -> Found 1 reports [2020-10-24T02:51:22.215Z] ==> Detecting git/mercurial file structure [2020-10-24T02:51:22.215Z] ==> Reading reports [2020-10-24T02:51:22.215Z] + ./coverage.out bytes=127611 [2020-10-24T02:51:22.215Z] ==> Appending adjustments [2020-10-24T02:51:22.215Z] https://docs.codecov.io/docs/fixing-reports [2020-10-24T02:51:22.793Z] + Found adjustments [2020-10-24T02:51:22.793Z] ==> Gzipping contents [2020-10-24T02:51:22.793Z] ==> Uploading reports [2020-10-24T02:51:22.793Z] url: https://codecov.io [2020-10-24T02:51:22.793Z] query: branch=PR-614&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-24T02:51:22.793Z] -> Pinging Codecov [2020-10-24T02:51:22.793Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-24T02:51:23.056Z] -> Uploading to [2020-10-24T02:51:23.056Z] [2020-10-24T02:51:23.056Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:51:23.056Z] Dload Upload Total Spent Left Speed [2020-10-24T02:51:23.056Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-24T02:51:23.056Z] X> Failed to upload [2020-10-24T02:51:23.056Z] ==> Uploading to Codecov [2020-10-24T02:51:23.056Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:51:23.056Z] Dload Upload Total Spent Left Speed [2020-10-24T02:51:23.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20968 100 110 100 20858 218 41513 --:--:-- --:--:-- --:--:-- 41549 [2020-10-24T02:51:23.632Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0bbcb663a9153978e7e9ef8c297d5988e58906d0 [Pipeline] } [2020-10-24T02:51:23.642Z] 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-24T02:51:26.435Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:27.021Z] ---> package-listing.sh [2020-10-24T02:51:27.022Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-24T02:51:27.022Z] ++ facter osfamily [2020-10-24T02:51:27.022Z] + OS_FAMILY=redhat [2020-10-24T02:51:27.022Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-24T02:51:27.022Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-24T02:51:27.022Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-24T02:51:27.022Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-24T02:51:27.022Z] + PACKAGES=/tmp/packages_start.txt [2020-10-24T02:51:27.022Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-24T02:51:27.022Z] + PACKAGES=/tmp/packages_end.txt [2020-10-24T02:51:27.022Z] + case "${OS_FAMILY}" in [2020-10-24T02:51:27.022Z] + rpm -qa [2020-10-24T02:51:27.022Z] + sort [2020-10-24T02:51:31.254Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-24T02:51:31.254Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-24T02:51:31.254Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-24T02:51:31.254Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-24T02:51:31.254Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-24T02:51:31.254Z] + 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-24T02:51:31.270Z] 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-24T02:51:31.567Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:51:31.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:51:31.878Z] [2020-10-24T02:51:31.878Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:51:32.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:51:32.241Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-24T02:51:32.241Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:51:32.241Z] 36b3adc4ff6f: Pulling fs layer [2020-10-24T02:51:32.241Z] 8ad3a11d3b57: Pulling fs layer [2020-10-24T02:51:32.241Z] 46f8f816bc3b: Pulling fs layer [2020-10-24T02:51:32.241Z] 93b61091891f: Pulling fs layer [2020-10-24T02:51:32.241Z] 93b9cdb0e59b: Pulling fs layer [2020-10-24T02:51:32.241Z] 5e14af77c1be: Pulling fs layer [2020-10-24T02:51:32.241Z] 01666e4c0597: Pulling fs layer [2020-10-24T02:51:32.241Z] aa168da1d23b: Pulling fs layer [2020-10-24T02:51:32.241Z] 46f8f816bc3b: Waiting [2020-10-24T02:51:32.241Z] 93b61091891f: Waiting [2020-10-24T02:51:32.241Z] 93b9cdb0e59b: Waiting [2020-10-24T02:51:32.241Z] 5e14af77c1be: Waiting [2020-10-24T02:51:32.241Z] 01666e4c0597: Waiting [2020-10-24T02:51:32.241Z] aa168da1d23b: Waiting [2020-10-24T02:51:32.241Z] 36b3adc4ff6f: Verifying Checksum [2020-10-24T02:51:32.241Z] 36b3adc4ff6f: Download complete [2020-10-24T02:51:32.241Z] 46f8f816bc3b: Verifying Checksum [2020-10-24T02:51:32.241Z] 46f8f816bc3b: Download complete [2020-10-24T02:51:32.241Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:51:32.241Z] df20fa9351a1: Download complete [2020-10-24T02:51:32.241Z] 93b9cdb0e59b: Verifying Checksum [2020-10-24T02:51:32.241Z] 93b9cdb0e59b: Download complete [2020-10-24T02:51:32.241Z] 5e14af77c1be: Verifying Checksum [2020-10-24T02:51:32.241Z] 5e14af77c1be: Download complete [2020-10-24T02:51:32.504Z] 01666e4c0597: Verifying Checksum [2020-10-24T02:51:32.504Z] 01666e4c0597: Download complete [2020-10-24T02:51:32.504Z] 93b61091891f: Verifying Checksum [2020-10-24T02:51:32.504Z] 93b61091891f: Download complete [2020-10-24T02:51:32.771Z] df20fa9351a1: Pull complete [2020-10-24T02:51:32.771Z] 8ad3a11d3b57: Verifying Checksum [2020-10-24T02:51:32.771Z] 8ad3a11d3b57: Download complete [2020-10-24T02:51:33.045Z] 36b3adc4ff6f: Pull complete [2020-10-24T02:51:33.998Z] 8ad3a11d3b57: Pull complete [2020-10-24T02:51:33.998Z] 46f8f816bc3b: Pull complete [2020-10-24T02:51:34.582Z] 93b61091891f: Pull complete [2020-10-24T02:51:34.582Z] 93b9cdb0e59b: Pull complete [2020-10-24T02:51:34.846Z] 5e14af77c1be: Pull complete [2020-10-24T02:51:34.846Z] aa168da1d23b: Verifying Checksum [2020-10-24T02:51:34.846Z] aa168da1d23b: Download complete [2020-10-24T02:51:34.846Z] 01666e4c0597: Pull complete [2020-10-24T02:51:41.502Z] aa168da1d23b: Pull complete [2020-10-24T02:51:41.502Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-24T02:51:41.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:51:41.502Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-24T02:51:41.727Z] prd-centos7-docker-4c-2g-8585 does not seem to be running inside a container [2020-10-24T02:51:41.780Z] $ 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-24T02:51:46.328Z] $ docker top dd1ca3156815168a8b4b0ed428c1c0e84a03edc9dce28491fdf43bf375d23981 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:51:46.888Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-24T02:51:47.197Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-24T02:51:47.505Z] + ls /var/log/sa-host [2020-10-24T02:51:47.505Z] + sadf -c /var/log/sa-host/sa05 [2020-10-24T02:51:47.505Z] file_magic: OK [2020-10-24T02:51:47.505Z] HZ: Using current value: 100 [2020-10-24T02:51:47.505Z] file_header: OK [2020-10-24T02:51:47.505Z] 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-24T02:51:47.505Z] Statistics: [2020-10-24T02:51:47.505Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:51:47.505Z] File successfully converted to sysstat format version 12.2.1 [2020-10-24T02:51:47.505Z] + sadf -c /var/log/sa-host/sa24 [2020-10-24T02:51:47.505Z] file_magic: OK [2020-10-24T02:51:47.505Z] HZ: Using current value: 100 [2020-10-24T02:51:47.505Z] file_header: OK [2020-10-24T02:51:47.505Z] 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-24T02:51:47.505Z] Statistics: [2020-10-24T02:51:47.505Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:51:47.505Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-24T02:51:47.734Z] provisioning config files... [2020-10-24T02:51:47.751Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5281772371595568729tmp [Pipeline] { [Pipeline] echo [2020-10-24T02:51:47.840Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:48.152Z] ---> create-netrc.sh [Pipeline] } [2020-10-24T02:51:48.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-24T02:51:48.284Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:48.598Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-24T02:51:48.611Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:48.922Z] ---> sudo-logs.sh [2020-10-24T02:51:48.922Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-24T02:51:48.934Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:49.238Z] ---> job-cost.sh [2020-10-24T02:51:49.238Z] lf-activate-venv: SKIPPING [2020-10-24T02:51:49.238Z] INFO: No Stack... [2020-10-24T02:51:50.187Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-24T02:51:50.763Z] INFO: Archiving Costs [Pipeline] echo [2020-10-24T02:51:50.777Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:51.078Z] ---> logs-deploy.sh [2020-10-24T02:51:51.078Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/16 [2020-10-24T02:51:51.078Z] INFO: archiving workspace using pattern(s): [2020-10-24T02:51:53.002Z] Archives upload complete. [2020-10-24T02:51:53.002Z] INFO: archiving logs to Nexus