Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 4000e27a9f725d20d01bd2b86b2182ef891199d8 rather than aa005033e4485a39a97c9fe896770a8d63935a68 Obtained Jenkinsfile from 4000e27a9f725d20d01bd2b86b2182ef891199d8 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1976 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-553 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit aa005033e4485a39a97c9fe896770a8d63935a68 Merge succeeded, producing 0970780d5065ebf2c402df1aecd40b658c8cef64 Checking out Revision 0970780d5065ebf2c402df1aecd40b658c8cef64 (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # 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 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0970780d5065ebf2c402df1aecd40b658c8cef64 # timeout=10 Commit message: "Merge commit '4000e27a9f725d20d01bd2b86b2182ef891199d8' into HEAD" > git rev-list --no-walk aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-09T18:43:19.246Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-09T18:43:19.506Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-09T18:43:19.594Z] ========================================================= [2020-09-09T18:43:19.594Z] EdgeX Global Pipelines Version Info [2020-09-09T18:43:19.594Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:43:20.999Z] ------------------- [2020-09-09T18:43:20.999Z] stable info: [2020-09-09T18:43:20.999Z] ------------------- [2020-09-09T18:43:20.999Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-09T18:43:20.999Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-09T18:43:20.999Z] Message: update stable to v1.0.119 [2020-09-09T18:43:21.941Z] ------------------- [2020-09-09T18:43:21.941Z] experimental info: [2020-09-09T18:43:21.941Z] ------------------- [2020-09-09T18:43:21.941Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-09T18:43:21.941Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-09T18:43:21.941Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-09T18:43:22.287Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-09T18:43:22.363Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-09T18:43:22.482Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-09T18:43:22.586Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-09T18:43:22.688Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-09T18:43:22.804Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-09T18:43:22.929Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-09T18:43:23.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-09T18:43:23.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-09T18:43:23.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-09T18:43:23.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-09T18:43:23.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-09T18:43:23.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-09T18:43:23.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-09T18:43:23.648Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-09T18:43:23.767Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T18:43:23.860Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T18:43:23.957Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T18:43:24.046Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-09T18:43:24.127Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-09T18:43:24.208Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-09T18:43:24.287Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-09T18:43:24.373Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo [2020-09-09T18:43:24.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo [2020-09-09T18:43:24.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo [2020-09-09T18:43:24.616Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0970780d5065ebf2c402df1aecd40b658c8cef64 [Pipeline] echo [2020-09-09T18:43:24.710Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0970780 [Pipeline] echo [2020-09-09T18:43:24.791Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T18:43:25.380Z] + git log --format=format:%s -1 0970780d5065ebf2c402df1aecd40b658c8cef64 [Pipeline] echo [2020-09-09T18:43:25.446Z] GIT_COMMIT: 0970780d5065ebf2c402df1aecd40b658c8cef64, Commit Message: Merge commit '4000e27a9f725d20d01bd2b86b2182ef891199d8' into HEAD [Pipeline] echo [2020-09-09T18:43:25.488Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:43:25.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T18:43:26.246Z] [2020-09-09T18:43:26.246Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:43:26.606Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T18:43:26.606Z] latest: Pulling from edgex-devops/git-semver [2020-09-09T18:43:26.606Z] 31603596830f: Pulling fs layer [2020-09-09T18:43:26.606Z] 2a8b12db71e7: Pulling fs layer [2020-09-09T18:43:26.606Z] 6ca5941a6612: Pulling fs layer [2020-09-09T18:43:26.606Z] ecc8261a40a4: Pulling fs layer [2020-09-09T18:43:26.606Z] ecc8261a40a4: Waiting [2020-09-09T18:43:26.606Z] 2a8b12db71e7: Verifying Checksum [2020-09-09T18:43:26.606Z] 2a8b12db71e7: Download complete [2020-09-09T18:43:26.606Z] 31603596830f: Verifying Checksum [2020-09-09T18:43:26.606Z] 31603596830f: Download complete [2020-09-09T18:43:26.869Z] ecc8261a40a4: Verifying Checksum [2020-09-09T18:43:26.869Z] ecc8261a40a4: Download complete [2020-09-09T18:43:26.869Z] 6ca5941a6612: Verifying Checksum [2020-09-09T18:43:26.869Z] 6ca5941a6612: Download complete [2020-09-09T18:43:27.132Z] 31603596830f: Pull complete [2020-09-09T18:43:27.132Z] 2a8b12db71e7: Pull complete [2020-09-09T18:43:28.082Z] 6ca5941a6612: Pull complete [2020-09-09T18:43:28.345Z] ecc8261a40a4: Pull complete [2020-09-09T18:43:28.345Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-09T18:43:28.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T18:43:28.345Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-09T18:43:28.451Z] prd-centos7-docker-4c-2g-1976 does not seem to be running inside a container [2020-09-09T18:43:28.500Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-09T18:43:30.754Z] $ docker top b9a70941938ae4fb9a8f40d6f6b7e77f789c130d0a889aa2ea0856e1a498d2cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-09T18:43:31.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T18:43:31.086Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T18:43:31.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T18:43:31.324Z] $ docker exec b9a70941938ae4fb9a8f40d6f6b7e77f789c130d0a889aa2ea0856e1a498d2cb ssh-agent [2020-09-09T18:43:31.496Z] SSH_AUTH_SOCK=/tmp/ssh-YlfjNJj38PJz/agent.12 [2020-09-09T18:43:31.496Z] SSH_AGENT_PID=17 [2020-09-09T18:43:31.507Z] Running ssh-add (command line suppressed) [2020-09-09T18:43:31.639Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_6574437725054773608.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_6574437725054773608.key) [2020-09-09T18:43:31.692Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T18:43:32.018Z] + git describe --exact-match --tags HEAD [2020-09-09T18:43:32.018Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-09T18:43:32.040Z] $ docker exec --env ******** --env ******** b9a70941938ae4fb9a8f40d6f6b7e77f789c130d0a889aa2ea0856e1a498d2cb ssh-agent -k [2020-09-09T18:43:32.208Z] unset SSH_AUTH_SOCK; [2020-09-09T18:43:32.208Z] unset SSH_AGENT_PID; [2020-09-09T18:43:32.208Z] echo Agent pid 17 killed; [2020-09-09T18:43:32.250Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-09T18:43:32.336Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-09T18:43:32.336Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-09T18:43:32.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T18:43:32.428Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T18:43:32.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T18:43:32.634Z] $ docker exec b9a70941938ae4fb9a8f40d6f6b7e77f789c130d0a889aa2ea0856e1a498d2cb ssh-agent [2020-09-09T18:43:32.842Z] SSH_AUTH_SOCK=/tmp/ssh-W2Rs3FjypJuV/agent.45 [2020-09-09T18:43:32.842Z] SSH_AGENT_PID=50 [2020-09-09T18:43:32.848Z] Running ssh-add (command line suppressed) [2020-09-09T18:43:32.991Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4233759216639881775.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4233759216639881775.key) [2020-09-09T18:43:33.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T18:43:33.391Z] + git semver init [2020-09-09T18:43:33.391Z] # -> Open(): unable to determine branch for HEAD [2020-09-09T18:43:33.391Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git [2020-09-09T18:43:33.391Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-09-09T18:43:33.391Z] # $SEMVER_REMOTE_NAME = origin [2020-09-09T18:43:33.391Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-09T18:43:33.391Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-09T18:43:33.391Z] # $SEMVER_BRANCH = PR-553 [2020-09-09T18:43:33.391Z] # $SEMVER_TEMP = /tmp/semver-626549710 [2020-09-09T18:43:33.391Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-09T18:43:33.970Z] # '/tmp/semver-626549710' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' [2020-09-09T18:43:34.231Z] # -> Force: false [2020-09-09T18:43:34.231Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } [2020-09-09T18:43:34.245Z] $ docker exec --env ******** --env ******** b9a70941938ae4fb9a8f40d6f6b7e77f789c130d0a889aa2ea0856e1a498d2cb ssh-agent -k [2020-09-09T18:43:34.376Z] unset SSH_AUTH_SOCK; [2020-09-09T18:43:34.376Z] unset SSH_AGENT_PID; [2020-09-09T18:43:34.376Z] echo Agent pid 50 killed; [2020-09-09T18:43:34.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-09T18:43:35.022Z] + git semver [Pipeline] } [2020-09-09T18:43:35.040Z] $ docker stop --time=1 b9a70941938ae4fb9a8f40d6f6b7e77f789c130d0a889aa2ea0856e1a498d2cb [2020-09-09T18:43:36.393Z] $ docker rm -f b9a70941938ae4fb9a8f40d6f6b7e77f789c130d0a889aa2ea0856e1a498d2cb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-09T18:43:37.256Z] Stashed 33 file(s) [Pipeline] echo [2020-09-09T18:43:37.259Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-09T18:43:37.341Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-09T18:43:52.733Z] Still waiting to schedule task [2020-09-09T18:43:52.733Z] ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1979’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1977’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-09T18:43:52.735Z] Still waiting to schedule task [2020-09-09T18:43:52.735Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1977’ is offline [2020-09-09T18:46:43.813Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1981 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-09-09T18:46:43.854Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-09-09T18:46:48.692Z] using credential edgex-jenkins-ssh [2020-09-09T18:46:48.744Z] Cloning the remote Git repository [2020-09-09T18:46:48.744Z] Cloning with configured refspecs honoured and without tags [2020-09-09T18:46:48.822Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:46:48.928Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-09-09T18:46:48.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:46:48.999Z] > git --version # timeout=10 [2020-09-09T18:46:49.014Z] > git --version # 'git version 2.17.1' [2020-09-09T18:46:49.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:46:49.091Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:46:50.034Z] Fetching without tags [2020-09-09T18:46:49.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T18:46:49.979Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-09-09T18:46:49.995Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:46:50.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T18:46:50.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:46:50.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:46:50.071Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:46:50.552Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit aa005033e4485a39a97c9fe896770a8d63935a68 [2020-09-09T18:46:50.871Z] Merge succeeded, producing 41f121e03176218cfe8b95f4ef541987137923f7 [2020-09-09T18:46:50.871Z] Checking out Revision 41f121e03176218cfe8b95f4ef541987137923f7 (PR-553) [2020-09-09T18:46:50.574Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T18:46:50.590Z] > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [2020-09-09T18:46:50.705Z] > git remote # timeout=10 [2020-09-09T18:46:50.720Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T18:46:50.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:46:50.741Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T18:46:50.821Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T18:46:50.884Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T18:46:50.929Z] > git checkout -f 41f121e03176218cfe8b95f4ef541987137923f7 # timeout=10 [2020-09-09T18:46:55.152Z] Commit message: "Merge commit '4000e27a9f725d20d01bd2b86b2182ef891199d8' into HEAD" [2020-09-09T18:46:55.163Z] > git rev-list --no-walk aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T18:46:56.392Z] ========================================================= [2020-09-09T18:46:56.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-09T18:46:56.392Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:46:57.461Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-09-09T18:46:58.444Z] Sending build context to Docker daemon 3.149MB [2020-09-09T18:46:58.444Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T18:46:58.444Z] Step 2/8 : FROM ${BASE} [2020-09-09T18:46:58.722Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-09T18:46:58.722Z] b538f80385f9: Pulling fs layer [2020-09-09T18:46:58.722Z] 74f711af9a0d: Pulling fs layer [2020-09-09T18:46:58.722Z] 99f96fe45779: Pulling fs layer [2020-09-09T18:46:58.722Z] fd7a069fd194: Pulling fs layer [2020-09-09T18:46:58.722Z] 66aa3694b03b: Pulling fs layer [2020-09-09T18:46:58.722Z] 170f70906a0f: Pulling fs layer [2020-09-09T18:46:58.722Z] ad7c5574e4b9: Pulling fs layer [2020-09-09T18:46:58.722Z] e772456be8f7: Pulling fs layer [2020-09-09T18:46:58.722Z] c890913d741a: Pulling fs layer [2020-09-09T18:46:58.722Z] 2480fcc9aa5a: Pulling fs layer [2020-09-09T18:46:58.722Z] 09adf4765672: Pulling fs layer [2020-09-09T18:46:58.722Z] 66aa3694b03b: Waiting [2020-09-09T18:46:58.722Z] 170f70906a0f: Waiting [2020-09-09T18:46:58.722Z] ad7c5574e4b9: Waiting [2020-09-09T18:46:58.722Z] e772456be8f7: Waiting [2020-09-09T18:46:58.722Z] c890913d741a: Waiting [2020-09-09T18:46:58.722Z] 2480fcc9aa5a: Waiting [2020-09-09T18:46:58.722Z] 09adf4765672: Waiting [2020-09-09T18:46:58.722Z] fd7a069fd194: Waiting [2020-09-09T18:46:58.722Z] 99f96fe45779: Download complete [2020-09-09T18:46:58.722Z] 74f711af9a0d: Verifying Checksum [2020-09-09T18:46:58.722Z] 74f711af9a0d: Download complete [2020-09-09T18:46:58.722Z] 66aa3694b03b: Verifying Checksum [2020-09-09T18:46:58.722Z] 66aa3694b03b: Download complete [2020-09-09T18:46:58.722Z] 170f70906a0f: Verifying Checksum [2020-09-09T18:46:58.722Z] 170f70906a0f: Download complete [2020-09-09T18:46:58.722Z] b538f80385f9: Download complete [2020-09-09T18:46:59.717Z] b538f80385f9: Pull complete [2020-09-09T18:47:00.329Z] 74f711af9a0d: Pull complete [2020-09-09T18:47:00.602Z] 99f96fe45779: Pull complete [2020-09-09T18:47:01.206Z] ad7c5574e4b9: Verifying Checksum [2020-09-09T18:47:01.207Z] ad7c5574e4b9: Download complete [2020-09-09T18:47:01.207Z] c890913d741a: Verifying Checksum [2020-09-09T18:47:01.207Z] c890913d741a: Download complete [2020-09-09T18:47:02.640Z] 2480fcc9aa5a: Verifying Checksum [2020-09-09T18:47:02.640Z] 2480fcc9aa5a: Download complete [2020-09-09T18:47:02.640Z] 09adf4765672: Download complete [2020-09-09T18:47:03.232Z] e772456be8f7: Verifying Checksum [2020-09-09T18:47:03.232Z] e772456be8f7: Download complete [2020-09-09T18:47:03.232Z] fd7a069fd194: Verifying Checksum [2020-09-09T18:47:03.232Z] fd7a069fd194: Download complete [2020-09-09T18:47:15.645Z] fd7a069fd194: Pull complete [2020-09-09T18:47:15.645Z] 66aa3694b03b: Pull complete [2020-09-09T18:47:15.645Z] 170f70906a0f: Pull complete [2020-09-09T18:47:18.279Z] ad7c5574e4b9: Pull complete [2020-09-09T18:47:23.689Z] e772456be8f7: Pull complete [2020-09-09T18:47:23.689Z] c890913d741a: Pull complete [2020-09-09T18:47:25.677Z] 2480fcc9aa5a: Pull complete [2020-09-09T18:47:25.952Z] 09adf4765672: Pull complete [2020-09-09T18:47:25.952Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-09T18:47:25.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-09T18:47:25.952Z] ---> 2248a725d1cf [2020-09-09T18:47:25.952Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:47:30.281Z] ---> Running in 2035941c3631 [2020-09-09T18:47:30.553Z] Removing intermediate container 2035941c3631 [2020-09-09T18:47:30.553Z] ---> 5e4d81d0e72b [2020-09-09T18:47:30.553Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T18:47:30.553Z] ---> Running in 0b72a7b93b7f [2020-09-09T18:47:33.171Z] Removing intermediate container 0b72a7b93b7f [2020-09-09T18:47:33.171Z] ---> 21ccbfab1f0f [2020-09-09T18:47:33.171Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T18:47:33.449Z] ---> Running in a00c517a0ab6 [2020-09-09T18:47:34.877Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T18:47:35.468Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T18:47:36.893Z] OK: 142 MiB in 39 packages [2020-09-09T18:47:37.866Z] Removing intermediate container a00c517a0ab6 [2020-09-09T18:47:37.866Z] ---> 4387f700f8d3 [2020-09-09T18:47:37.866Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T18:47:38.139Z] ---> Running in 2ca416122077 [2020-09-09T18:47:38.420Z] Removing intermediate container 2ca416122077 [2020-09-09T18:47:38.420Z] ---> 6ab5af7342cc [2020-09-09T18:47:38.420Z] Step 7/8 : COPY . . [2020-09-09T18:47:39.854Z] ---> bf81c677afd5 [2020-09-09T18:47:39.854Z] Step 8/8 : RUN go mod download [2020-09-09T18:47:39.854Z] ---> Running in 84a3835ed855 [2020-09-09T18:47:42.468Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T18:47:42.468Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T18:47:42.468Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T18:47:42.468Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T18:47:42.468Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T18:47:42.468Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T18:47:42.468Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T18:47:42.468Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T18:47:42.468Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T18:47:42.738Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T18:47:42.738Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T18:47:42.738Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T18:47:42.738Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T18:47:42.738Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T18:47:42.738Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T18:47:42.738Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T18:47:42.738Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T18:47:42.738Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T18:47:42.738Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T18:47:42.738Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T18:47:42.738Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T18:47:43.008Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T18:47:43.008Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T18:47:43.008Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T18:47:43.008Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T18:47:43.008Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T18:47:43.008Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T18:47:43.008Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T18:47:43.008Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T18:47:43.280Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T18:47:43.280Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T18:47:43.280Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T18:47:43.280Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T18:47:43.280Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T18:47:43.551Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T18:47:43.551Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T18:47:43.551Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T18:47:43.551Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T18:47:43.821Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T18:47:43.821Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T18:47:43.821Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T18:47:43.821Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T18:47:43.821Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T18:47:43.821Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T18:47:43.821Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T18:47:43.821Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T18:47:43.821Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T18:47:43.821Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T18:47:43.821Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T18:47:43.821Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T18:47:44.091Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T18:47:44.091Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T18:47:54.240Z] Removing intermediate container 84a3835ed855 [2020-09-09T18:47:54.240Z] ---> 5ff440986004 [2020-09-09T18:47:54.240Z] Successfully built 5ff440986004 [2020-09-09T18:47:54.240Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:47:54.987Z] + docker inspect -f . ci-base-image-arm64 [2020-09-09T18:47:54.987Z] . [Pipeline] withDockerContainer [2020-09-09T18:47:55.254Z] prd-ubuntu18.04-docker-arm64-4c-16g-1981 does not seem to be running inside a container [2020-09-09T18:47:55.338Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-09T18:47:57.192Z] $ docker top 2aa4a6c27e4c49f4b57737512a84430d742e4a7efaa6ad9a9486d4478c3cb89d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T18:47:58.580Z] + go version [2020-09-09T18:47:58.580Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-09T18:47:59.615Z] + make test [2020-09-09T18:47:59.615Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T18:48:00.589Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T18:48:27.415Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T18:48:27.415Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T18:48:27.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T18:48:28.871Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 21.0% of statements [2020-09-09T18:48:29.081Z] Running on prd-centos7-docker-4c-2g-1982 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-09-09T18:48:29.186Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-09-09T18:48:31.725Z] using credential edgex-jenkins-ssh [2020-09-09T18:48:31.773Z] Cloning the remote Git repository [2020-09-09T18:48:31.773Z] Cloning with configured refspecs honoured and without tags [2020-09-09T18:48:31.806Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:48:32.326Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.142s coverage: 95.7% of statements [2020-09-09T18:48:32.587Z] Fetching without tags [2020-09-09T18:48:31.872Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-09-09T18:48:31.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:48:31.922Z] > git --version # timeout=10 [2020-09-09T18:48:31.928Z] > git --version # 'git version 2.16.5' [2020-09-09T18:48:31.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:48:31.967Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:48:32.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T18:48:32.563Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-09-09T18:48:32.569Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:48:32.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T18:48:32.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:48:32.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:48:32.598Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:48:33.007Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit aa005033e4485a39a97c9fe896770a8d63935a68 [2020-09-09T18:48:33.125Z] Merge succeeded, producing 2f9d62c3c887e2288888cd60a3522724e738810c [2020-09-09T18:48:33.126Z] Checking out Revision 2f9d62c3c887e2288888cd60a3522724e738810c (PR-553) [2020-09-09T18:48:33.017Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T18:48:33.026Z] > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [2020-09-09T18:48:33.074Z] > git remote # timeout=10 [2020-09-09T18:48:33.083Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T18:48:33.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:48:33.090Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T18:48:33.119Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T18:48:33.130Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T18:48:33.137Z] > git checkout -f 2f9d62c3c887e2288888cd60a3522724e738810c # timeout=10 [2020-09-09T18:48:36.812Z] Commit message: "Merge commit '4000e27a9f725d20d01bd2b86b2182ef891199d8' into HEAD" [2020-09-09T18:48:36.819Z] > git rev-list --no-walk aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T18:48:37.718Z] ========================================================= [2020-09-09T18:48:37.719Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-09T18:48:37.719Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:48:38.367Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-09-09T18:48:38.631Z] Sending build context to Docker daemon 3.15MB [2020-09-09T18:48:38.631Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T18:48:38.631Z] Step 2/8 : FROM ${BASE} [2020-09-09T18:48:38.898Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-09T18:48:38.898Z] df20fa9351a1: Pulling fs layer [2020-09-09T18:48:38.898Z] ed8968b2872e: Pulling fs layer [2020-09-09T18:48:38.898Z] a92cc7c5fd73: Pulling fs layer [2020-09-09T18:48:38.898Z] 2dd03ba5bac4: Pulling fs layer [2020-09-09T18:48:38.898Z] 1e091d79d1de: Pulling fs layer [2020-09-09T18:48:38.898Z] 481702a1767f: Pulling fs layer [2020-09-09T18:48:38.898Z] f64a6f60c768: Pulling fs layer [2020-09-09T18:48:38.898Z] e78d2573fc39: Pulling fs layer [2020-09-09T18:48:38.898Z] e876d2f968b6: Pulling fs layer [2020-09-09T18:48:38.898Z] ce8a83651883: Pulling fs layer [2020-09-09T18:48:38.898Z] 07967f4d0e4b: Pulling fs layer [2020-09-09T18:48:38.898Z] 2dd03ba5bac4: Waiting [2020-09-09T18:48:38.898Z] 1e091d79d1de: Waiting [2020-09-09T18:48:38.898Z] 481702a1767f: Waiting [2020-09-09T18:48:38.898Z] f64a6f60c768: Waiting [2020-09-09T18:48:38.898Z] e78d2573fc39: Waiting [2020-09-09T18:48:38.898Z] e876d2f968b6: Waiting [2020-09-09T18:48:38.898Z] ce8a83651883: Waiting [2020-09-09T18:48:38.898Z] 07967f4d0e4b: Waiting [2020-09-09T18:48:38.898Z] a92cc7c5fd73: Verifying Checksum [2020-09-09T18:48:38.898Z] a92cc7c5fd73: Download complete [2020-09-09T18:48:38.898Z] ed8968b2872e: Verifying Checksum [2020-09-09T18:48:38.898Z] ed8968b2872e: Download complete [2020-09-09T18:48:38.898Z] 1e091d79d1de: Verifying Checksum [2020-09-09T18:48:38.898Z] 1e091d79d1de: Download complete [2020-09-09T18:48:38.898Z] 481702a1767f: Verifying Checksum [2020-09-09T18:48:38.898Z] 481702a1767f: Download complete [2020-09-09T18:48:38.898Z] df20fa9351a1: Verifying Checksum [2020-09-09T18:48:38.898Z] df20fa9351a1: Download complete [2020-09-09T18:48:39.166Z] df20fa9351a1: Pull complete [2020-09-09T18:48:39.430Z] ed8968b2872e: Pull complete [2020-09-09T18:48:39.692Z] a92cc7c5fd73: Pull complete [2020-09-09T18:48:41.653Z] f64a6f60c768: Verifying Checksum [2020-09-09T18:48:41.653Z] f64a6f60c768: Download complete [2020-09-09T18:48:41.653Z] e876d2f968b6: Verifying Checksum [2020-09-09T18:48:41.653Z] e876d2f968b6: Download complete [2020-09-09T18:48:42.627Z] ce8a83651883: Verifying Checksum [2020-09-09T18:48:42.627Z] ce8a83651883: Download complete [2020-09-09T18:48:42.890Z] 07967f4d0e4b: Verifying Checksum [2020-09-09T18:48:42.890Z] 07967f4d0e4b: Download complete [2020-09-09T18:48:42.890Z] e78d2573fc39: Verifying Checksum [2020-09-09T18:48:42.890Z] e78d2573fc39: Download complete [2020-09-09T18:48:43.153Z] 2dd03ba5bac4: Verifying Checksum [2020-09-09T18:48:43.153Z] 2dd03ba5bac4: Download complete [2020-09-09T18:48:48.477Z] 2dd03ba5bac4: Pull complete [2020-09-09T18:48:48.740Z] 1e091d79d1de: Pull complete [2020-09-09T18:48:48.740Z] 481702a1767f: Pull complete [2020-09-09T18:48:55.348Z] f64a6f60c768: Pull complete [2020-09-09T18:48:57.291Z] e78d2573fc39: Pull complete [2020-09-09T18:48:57.291Z] e876d2f968b6: Pull complete [2020-09-09T18:48:58.701Z] ce8a83651883: Pull complete [2020-09-09T18:48:58.701Z] 07967f4d0e4b: Pull complete [2020-09-09T18:48:58.701Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-09T18:48:58.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-09T18:48:58.701Z] ---> 5d7c900382c6 [2020-09-09T18:48:58.701Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:48:59.646Z] ---> Running in ba6652df2e85 [2020-09-09T18:48:59.646Z] Removing intermediate container ba6652df2e85 [2020-09-09T18:48:59.646Z] ---> e3e8bd38ceeb [2020-09-09T18:48:59.646Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T18:48:59.646Z] ---> Running in 9604b94c362a [2020-09-09T18:49:01.570Z] Removing intermediate container 9604b94c362a [2020-09-09T18:49:01.570Z] ---> f74fed0b7547 [2020-09-09T18:49:01.570Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T18:49:01.570Z] ---> Running in 53033a5262f5 [2020-09-09T18:49:01.837Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T18:49:02.418Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T18:49:03.364Z] OK: 166 MiB in 39 packages [2020-09-09T18:49:03.626Z] Removing intermediate container 53033a5262f5 [2020-09-09T18:49:03.626Z] ---> ca4ed53e2b05 [2020-09-09T18:49:03.626Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T18:49:03.626Z] ---> Running in ebc852316dce [2020-09-09T18:49:03.889Z] Removing intermediate container ebc852316dce [2020-09-09T18:49:03.889Z] ---> 17e89cec8d4d [2020-09-09T18:49:03.889Z] Step 7/8 : COPY . . [2020-09-09T18:49:04.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 8.6% of statements [2020-09-09T18:49:04.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements [2020-09-09T18:49:04.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T18:49:04.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.066s coverage: 37.0% of statements [2020-09-09T18:49:04.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T18:49:04.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.116s coverage: 65.4% of statements [2020-09-09T18:49:04.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T18:49:04.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T18:49:04.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T18:49:04.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements [2020-09-09T18:49:04.640Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements [2020-09-09T18:49:04.640Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T18:49:04.640Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T18:49:04.640Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T18:49:05.278Z] ---> 0f144cd60349 [2020-09-09T18:49:05.278Z] Step 8/8 : RUN go mod download [2020-09-09T18:49:05.278Z] ---> Running in 99d52f7856fc [2020-09-09T18:49:06.664Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T18:49:06.664Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T18:49:06.664Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T18:49:06.664Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T18:49:06.665Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T18:49:06.665Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T18:49:06.927Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T18:49:06.927Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T18:49:06.927Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T18:49:06.927Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T18:49:06.927Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T18:49:06.927Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T18:49:06.927Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T18:49:06.927Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T18:49:06.927Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T18:49:06.927Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T18:49:06.927Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T18:49:06.927Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T18:49:07.188Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T18:49:07.188Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T18:49:07.188Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T18:49:07.188Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T18:49:07.262Z] gofmt -l . [2020-09-09T18:49:07.262Z] [ "`gofmt -l .`" = "" ] [2020-09-09T18:49:07.449Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T18:49:07.449Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T18:49:07.449Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T18:49:07.449Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T18:49:07.449Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T18:49:07.449Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T18:49:07.449Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T18:49:07.449Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T18:49:07.449Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T18:49:07.449Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T18:49:07.449Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T18:49:07.449Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T18:49:07.449Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T18:49:07.532Z] ./bin/test-attribution-txt.sh [2020-09-09T18:49:07.712Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T18:49:07.712Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T18:49:07.712Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T18:49:07.712Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T18:49:07.712Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T18:49:07.712Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T18:49:07.712Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T18:49:07.712Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T18:49:07.712Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T18:49:07.712Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T18:49:07.712Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T18:49:07.712Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T18:49:07.972Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T18:49:07.972Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T18:49:07.972Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T18:49:07.972Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T18:49:07.972Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T18:49:07.972Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T18:49:07.972Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T18:49:07.972Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T18:49:07.972Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T18:49:07.972Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T18:49:07.972Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T18:49:07.972Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T18:49:08.237Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T18:49:08.509Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T18:49:09.709Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T18:49:09.727Z] $ docker stop --time=1 2aa4a6c27e4c49f4b57737512a84430d742e4a7efaa6ad9a9486d4478c3cb89d [2020-09-09T18:49:11.897Z] $ docker rm -f 2aa4a6c27e4c49f4b57737512a84430d742e4a7efaa6ad9a9486d4478c3cb89d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T18:49:13.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T18:49:14.031Z] + ls -al . [2020-09-09T18:49:14.031Z] total 228 [2020-09-09T18:49:14.031Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 9 18:49 . [2020-09-09T18:49:14.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:46 .. [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 18:46 .dockerignore [2020-09-09T18:49:14.031Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:46 .git [2020-09-09T18:49:14.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 18:46 .github [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 9 18:46 .gitignore [2020-09-09T18:49:14.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:46 .semver [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 9 18:46 Dockerfile.build [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 9 18:46 Jenkinsfile [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 9 18:46 LICENSE [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 9 18:46 Makefile [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 9 18:46 README.md [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 9 18:46 RELEASE-NOTES.txt [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 18:43 VERSION [2020-09-09T18:49:14.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 18:46 bin [2020-09-09T18:49:14.031Z] -rw-r--r-- 1 jenkins jenkins 111650 Sep 9 18:49 coverage.out [2020-09-09T18:49:14.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:46 example [2020-09-09T18:49:14.031Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 9 18:49 go.mod [2020-09-09T18:49:14.031Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 9 18:49 go.sum [2020-09-09T18:49:14.031Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 9 18:46 internal [2020-09-09T18:49:14.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:46 openapi [2020-09-09T18:49:14.031Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 9 18:46 pkg [2020-09-09T18:49:14.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:46 snap [2020-09-09T18:49:14.031Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 9 18:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:49:14.517Z] + 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=0970780d5065ebf2c402df1aecd40b658c8cef64 --label arch=arm64 --label version=0.0.0 . [2020-09-09T18:49:14.794Z] Sending build context to Docker daemon 3.262MB [2020-09-09T18:49:15.095Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T18:49:15.095Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T18:49:15.095Z] ---> 5ff440986004 [2020-09-09T18:49:15.095Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T18:49:15.095Z] ---> Running in d48d23764aab [2020-09-09T18:49:15.687Z] Removing intermediate container d48d23764aab [2020-09-09T18:49:15.687Z] ---> e8d402b39726 [2020-09-09T18:49:15.687Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T18:49:15.687Z] ---> Running in 3a0f646456ef [2020-09-09T18:49:16.282Z] Removing intermediate container 3a0f646456ef [2020-09-09T18:49:16.282Z] ---> 9f59843a81ec [2020-09-09T18:49:16.282Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:49:16.282Z] ---> Running in 206083acaf43 [2020-09-09T18:49:16.443Z] Removing intermediate container 99d52f7856fc [2020-09-09T18:49:16.443Z] ---> b8065e79e4a6 [2020-09-09T18:49:16.443Z] Successfully built b8065e79e4a6 [2020-09-09T18:49:16.443Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:49:16.873Z] Removing intermediate container 206083acaf43 [2020-09-09T18:49:16.873Z] ---> 5841657f9046 [2020-09-09T18:49:16.873Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T18:49:16.873Z] ---> Running in b7b1894d1b8a [2020-09-09T18:49:17.072Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-09T18:49:17.072Z] . [Pipeline] withDockerContainer [2020-09-09T18:49:17.187Z] prd-centos7-docker-4c-2g-1982 does not seem to be running inside a container [2020-09-09T18:49:17.231Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-09T18:49:18.371Z] $ docker top e56412c0f31f241572d1555e38d9c03e10e9cc087613878ffe6401f537f582f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T18:49:18.881Z] + go version [2020-09-09T18:49:18.881Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-09T18:49:19.184Z] + make test [2020-09-09T18:49:19.184Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T18:49:19.488Z] Removing intermediate container b7b1894d1b8a [2020-09-09T18:49:19.488Z] ---> de5436119167 [2020-09-09T18:49:19.488Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T18:49:19.488Z] ---> Running in 333a5258b5db [2020-09-09T18:49:20.141Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T18:49:20.914Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T18:49:21.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T18:49:22.473Z] OK: 142 MiB in 39 packages [2020-09-09T18:49:23.900Z] Removing intermediate container 333a5258b5db [2020-09-09T18:49:23.900Z] ---> c4dff4271824 [2020-09-09T18:49:23.900Z] Step 8/24 : COPY . . [2020-09-09T18:49:24.874Z] ---> 8eb87c0cffd1 [2020-09-09T18:49:24.874Z] Step 9/24 : RUN ${MAKE} [2020-09-09T18:49:24.874Z] ---> Running in 9b329e38fa87 [2020-09-09T18:49:26.317Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-09T18:49:30.293Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T18:49:30.293Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T18:49:30.293Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T18:49:30.293Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.029s coverage: 21.0% of statements [2020-09-09T18:49:31.718Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.7% of statements [2020-09-09T18:49:53.103Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T18:49:53.103Z] Removing intermediate container 9b329e38fa87 [2020-09-09T18:49:53.103Z] ---> e24954ba724f [2020-09-09T18:49:53.103Z] Step 10/24 : FROM scratch [2020-09-09T18:49:53.103Z] ---> [2020-09-09T18:49:53.103Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:49:53.103Z] ---> Running in a6c4c08e8a75 [2020-09-09T18:49:53.103Z] Removing intermediate container a6c4c08e8a75 [2020-09-09T18:49:53.103Z] ---> c06ef53cd95b [2020-09-09T18:49:53.103Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T18:49:53.103Z] ---> Running in 9e8a51e75e5e [2020-09-09T18:49:53.103Z] Removing intermediate container 9e8a51e75e5e [2020-09-09T18:49:53.103Z] ---> 2049ba62635e [2020-09-09T18:49:53.103Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T18:49:53.103Z] ---> Running in 755e179212a4 [2020-09-09T18:49:53.103Z] Removing intermediate container 755e179212a4 [2020-09-09T18:49:53.103Z] ---> 51022cce0e83 [2020-09-09T18:49:53.103Z] Step 14/24 : WORKDIR / [2020-09-09T18:49:53.375Z] ---> Running in f97d4d5c2b50 [2020-09-09T18:49:53.647Z] Removing intermediate container f97d4d5c2b50 [2020-09-09T18:49:53.647Z] ---> d5541074aa54 [2020-09-09T18:49:53.647Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T18:49:55.075Z] ---> ae68ac5a90d8 [2020-09-09T18:49:55.075Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T18:49:55.669Z] ---> 42789f93f271 [2020-09-09T18:49:55.669Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T18:49:56.646Z] ---> a0c576c2a85f [2020-09-09T18:49:56.646Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T18:49:57.239Z] ---> b36a5d33d8b1 [2020-09-09T18:49:57.239Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T18:49:57.830Z] ---> 717ff43ad11b [2020-09-09T18:49:57.830Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T18:49:58.101Z] ---> Running in 78d000c3e243 [2020-09-09T18:49:58.372Z] Removing intermediate container 78d000c3e243 [2020-09-09T18:49:58.372Z] ---> ddd5bda16125 [2020-09-09T18:49:58.372Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T18:49:58.646Z] ---> Running in c11bd607559a [2020-09-09T18:49:59.241Z] Removing intermediate container c11bd607559a [2020-09-09T18:49:59.241Z] ---> 6abfa6db2dcd [2020-09-09T18:49:59.241Z] Step 22/24 : LABEL arch=arm64 [2020-09-09T18:49:59.241Z] ---> Running in 4f4112abec5f [2020-09-09T18:49:59.516Z] Removing intermediate container 4f4112abec5f [2020-09-09T18:49:59.516Z] ---> c061b8c2e8cf [2020-09-09T18:49:59.516Z] Step 23/24 : LABEL git_sha=0970780d5065ebf2c402df1aecd40b658c8cef64 [2020-09-09T18:49:59.789Z] ---> Running in 8e0da0cf20cc [2020-09-09T18:50:00.060Z] Removing intermediate container 8e0da0cf20cc [2020-09-09T18:50:00.060Z] ---> d87fd7347fdc [2020-09-09T18:50:00.060Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T18:50:00.333Z] ---> Running in d53cc8799328 [2020-09-09T18:50:00.926Z] Removing intermediate container d53cc8799328 [2020-09-09T18:50:00.926Z] ---> 5d81b8b7b394 [2020-09-09T18:50:00.926Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T18:50:00.926Z] Successfully built 5d81b8b7b394 [2020-09-09T18:50:00.926Z] 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] } [2020-09-09T18:50:03.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.014s coverage: 8.6% of statements [2020-09-09T18:50:03.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements [2020-09-09T18:50:03.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T18:50:03.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.019s coverage: 37.0% of statements [2020-09-09T18:50:03.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T18:50:03.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.031s coverage: 65.4% of statements [2020-09-09T18:50:03.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T18:50:03.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T18:50:03.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T18:50:03.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements [2020-09-09T18:50:03.873Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 68.9% of statements [2020-09-09T18:50:03.873Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T18:50:03.873Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T18:50:03.873Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T18:50:03.873Z] gofmt -l . [2020-09-09T18:50:03.873Z] [ "`gofmt -l .`" = "" ] [2020-09-09T18:50:04.135Z] ./bin/test-attribution-txt.sh [2020-09-09T18:50:04.708Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T18:50:04.759Z] Warning: overwriting stash ‘coverage-report’ [2020-09-09T18:50:05.083Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T18:50:05.091Z] $ docker stop --time=1 e56412c0f31f241572d1555e38d9c03e10e9cc087613878ffe6401f537f582f8 [2020-09-09T18:50:06.644Z] $ docker rm -f e56412c0f31f241572d1555e38d9c03e10e9cc087613878ffe6401f537f582f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T18:50:07.578Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T18:50:07.875Z] + ls -al . [2020-09-09T18:50:07.875Z] total 188 [2020-09-09T18:50:07.875Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 9 18:50 . [2020-09-09T18:50:07.875Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 9 18:48 .. [2020-09-09T18:50:07.875Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 9 18:48 bin [2020-09-09T18:50:07.875Z] -rw-r--r--. 1 jenkins jenkins 111650 Sep 9 18:50 coverage.out [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 9 18:48 Dockerfile.build [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 9 18:48 .dockerignore [2020-09-09T18:50:07.875Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 9 18:48 example [2020-09-09T18:50:07.875Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 9 18:48 .git [2020-09-09T18:50:07.875Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 9 18:48 .github [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 9 18:48 .gitignore [2020-09-09T18:50:07.875Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 9 18:50 go.mod [2020-09-09T18:50:07.875Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 9 18:50 go.sum [2020-09-09T18:50:07.875Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 9 18:48 internal [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 9 18:48 Jenkinsfile [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 9 18:48 LICENSE [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 9 18:48 Makefile [2020-09-09T18:50:07.875Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 9 18:48 openapi [2020-09-09T18:50:07.875Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 9 18:48 pkg [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 9 18:48 README.md [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 9 18:48 RELEASE-NOTES.txt [2020-09-09T18:50:07.875Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 9 18:48 .semver [2020-09-09T18:50:07.875Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 9 18:48 snap [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 9 18:43 VERSION [2020-09-09T18:50:07.875Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 9 18:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:50:08.180Z] + 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=0970780d5065ebf2c402df1aecd40b658c8cef64 --label arch=amd64 --label version=0.0.0 . [2020-09-09T18:50:08.442Z] Sending build context to Docker daemon 3.264MB [2020-09-09T18:50:08.442Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T18:50:08.442Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T18:50:08.442Z] ---> b8065e79e4a6 [2020-09-09T18:50:08.442Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T18:50:08.703Z] ---> Running in 8443556cbe4a [2020-09-09T18:50:08.964Z] Removing intermediate container 8443556cbe4a [2020-09-09T18:50:08.964Z] ---> 9eeb79665a48 [2020-09-09T18:50:08.964Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T18:50:08.964Z] ---> Running in ac41d9fee97c [2020-09-09T18:50:09.225Z] Removing intermediate container ac41d9fee97c [2020-09-09T18:50:09.225Z] ---> 5b4607a76fe8 [2020-09-09T18:50:09.225Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:50:09.225Z] ---> Running in 2de5814af325 [2020-09-09T18:50:09.225Z] Removing intermediate container 2de5814af325 [2020-09-09T18:50:09.225Z] ---> 177e237706da [2020-09-09T18:50:09.225Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T18:50:09.486Z] ---> Running in 5d2deb028148 [2020-09-09T18:50:10.431Z] Removing intermediate container 5d2deb028148 [2020-09-09T18:50:10.431Z] ---> d1029d7b84b9 [2020-09-09T18:50:10.431Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T18:50:10.431Z] ---> Running in 4ddab63d3a97 [2020-09-09T18:50:10.693Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T18:50:11.635Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T18:50:12.208Z] OK: 166 MiB in 39 packages [2020-09-09T18:50:12.470Z] Removing intermediate container 4ddab63d3a97 [2020-09-09T18:50:12.470Z] ---> 9991594dbf3a [2020-09-09T18:50:12.470Z] Step 8/24 : COPY . . [2020-09-09T18:50:13.414Z] ---> eefe3854fe5e [2020-09-09T18:50:13.414Z] Step 9/24 : RUN ${MAKE} [2020-09-09T18:50:13.414Z] ---> Running in a4f2ddf99cc3 [2020-09-09T18:50:13.989Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-09T18:50:22.240Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T18:50:23.184Z] Removing intermediate container a4f2ddf99cc3 [2020-09-09T18:50:23.184Z] ---> ab055a509b9d [2020-09-09T18:50:23.184Z] Step 10/24 : FROM scratch [2020-09-09T18:50:23.184Z] ---> [2020-09-09T18:50:23.184Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:50:23.184Z] ---> Running in 72d4e74a06f8 [2020-09-09T18:50:23.464Z] Removing intermediate container 72d4e74a06f8 [2020-09-09T18:50:23.464Z] ---> 78c0237aa006 [2020-09-09T18:50:23.464Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T18:50:23.464Z] ---> Running in ae5ac3d6d492 [2020-09-09T18:50:23.725Z] Removing intermediate container ae5ac3d6d492 [2020-09-09T18:50:23.725Z] ---> 84252aad859c [2020-09-09T18:50:23.725Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T18:50:23.725Z] ---> Running in b1daa57698a6 [2020-09-09T18:50:23.725Z] Removing intermediate container b1daa57698a6 [2020-09-09T18:50:23.725Z] ---> fd854841c0fe [2020-09-09T18:50:23.725Z] Step 14/24 : WORKDIR / [2020-09-09T18:50:23.985Z] ---> Running in edd744dc534d [2020-09-09T18:50:23.985Z] Removing intermediate container edd744dc534d [2020-09-09T18:50:23.985Z] ---> c73993f21372 [2020-09-09T18:50:23.985Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T18:50:24.560Z] ---> 2d50a4f1ce58 [2020-09-09T18:50:24.560Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T18:50:24.820Z] ---> 8892d06da227 [2020-09-09T18:50:24.820Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T18:50:24.820Z] ---> 4107bb8f5d45 [2020-09-09T18:50:24.820Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T18:50:25.080Z] ---> 9f10f8f5245f [2020-09-09T18:50:25.080Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T18:50:25.341Z] ---> 96ee60d8cf02 [2020-09-09T18:50:25.341Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T18:50:25.602Z] ---> Running in 7da8b7267aa3 [2020-09-09T18:50:25.602Z] Removing intermediate container 7da8b7267aa3 [2020-09-09T18:50:25.602Z] ---> e48779692425 [2020-09-09T18:50:25.603Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T18:50:25.603Z] ---> Running in 360ede8bab62 [2020-09-09T18:50:25.864Z] Removing intermediate container 360ede8bab62 [2020-09-09T18:50:25.864Z] ---> 2f59815bd16b [2020-09-09T18:50:25.864Z] Step 22/24 : LABEL arch=amd64 [2020-09-09T18:50:25.864Z] ---> Running in 6c4d6fbbb04b [2020-09-09T18:50:26.125Z] Removing intermediate container 6c4d6fbbb04b [2020-09-09T18:50:26.125Z] ---> fe098733dff5 [2020-09-09T18:50:26.125Z] Step 23/24 : LABEL git_sha=0970780d5065ebf2c402df1aecd40b658c8cef64 [2020-09-09T18:50:26.125Z] ---> Running in e0762188ff13 [2020-09-09T18:50:26.387Z] Removing intermediate container e0762188ff13 [2020-09-09T18:50:26.387Z] ---> a5959b390910 [2020-09-09T18:50:26.387Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T18:50:26.387Z] ---> Running in 5bab9f68aefe [2020-09-09T18:50:26.387Z] Removing intermediate container 5bab9f68aefe [2020-09-09T18:50:26.387Z] ---> fef931d0aad6 [2020-09-09T18:50:26.387Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T18:50:26.387Z] Successfully built fef931d0aad6 [2020-09-09T18:50:26.387Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-09T18:50:27.895Z] provisioning config files... [2020-09-09T18:50:27.907Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config6125822110427760030tmp [Pipeline] { [Pipeline] sh [2020-09-09T18:50:28.275Z] + curl -s https://codecov.io/bash [2020-09-09T18:50:28.275Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config6125822110427760030tmp [Pipeline] } [2020-09-09T18:50:28.546Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:50:30.647Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:50:31.224Z] ---> package-listing.sh [2020-09-09T18:50:31.224Z] ++ facter osfamily [2020-09-09T18:50:31.224Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-09T18:50:31.224Z] + OS_FAMILY=redhat [2020-09-09T18:50:31.224Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-09-09T18:50:31.224Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-09T18:50:31.224Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-09T18:50:31.224Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-09T18:50:31.224Z] + PACKAGES=/tmp/packages_start.txt [2020-09-09T18:50:31.224Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-09-09T18:50:31.224Z] + PACKAGES=/tmp/packages_end.txt [2020-09-09T18:50:31.224Z] + case "${OS_FAMILY}" in [2020-09-09T18:50:31.224Z] + rpm -qa [2020-09-09T18:50:31.224Z] + sort [2020-09-09T18:50:35.443Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-09T18:50:35.443Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-09T18:50:35.443Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-09T18:50:35.443Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-09-09T18:50:35.443Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [2020-09-09T18:50:35.443Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:50:35.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T18:50:35.885Z] [2020-09-09T18:50:35.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:50:36.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T18:50:36.236Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-09T18:50:36.236Z] df20fa9351a1: Pulling fs layer [2020-09-09T18:50:36.236Z] 36b3adc4ff6f: Pulling fs layer [2020-09-09T18:50:36.236Z] 8ad3a11d3b57: Pulling fs layer [2020-09-09T18:50:36.236Z] 46f8f816bc3b: Pulling fs layer [2020-09-09T18:50:36.236Z] 0dadc02b9964: Pulling fs layer [2020-09-09T18:50:36.236Z] ce6a7cf60c04: Pulling fs layer [2020-09-09T18:50:36.236Z] 7a184a31f384: Pulling fs layer [2020-09-09T18:50:36.236Z] 0879bd2ef858: Pulling fs layer [2020-09-09T18:50:36.236Z] 46f8f816bc3b: Waiting [2020-09-09T18:50:36.236Z] 0dadc02b9964: Waiting [2020-09-09T18:50:36.236Z] ce6a7cf60c04: Waiting [2020-09-09T18:50:36.236Z] 7a184a31f384: Waiting [2020-09-09T18:50:36.236Z] 0879bd2ef858: Waiting [2020-09-09T18:50:36.236Z] 36b3adc4ff6f: Verifying Checksum [2020-09-09T18:50:36.236Z] 36b3adc4ff6f: Download complete [2020-09-09T18:50:36.236Z] 46f8f816bc3b: Verifying Checksum [2020-09-09T18:50:36.236Z] 46f8f816bc3b: Download complete [2020-09-09T18:50:36.236Z] 0dadc02b9964: Download complete [2020-09-09T18:50:36.236Z] df20fa9351a1: Verifying Checksum [2020-09-09T18:50:36.236Z] df20fa9351a1: Download complete [2020-09-09T18:50:36.236Z] ce6a7cf60c04: Verifying Checksum [2020-09-09T18:50:36.236Z] ce6a7cf60c04: Download complete [2020-09-09T18:50:36.236Z] 7a184a31f384: Verifying Checksum [2020-09-09T18:50:36.236Z] 7a184a31f384: Download complete [2020-09-09T18:50:36.501Z] 8ad3a11d3b57: Verifying Checksum [2020-09-09T18:50:36.501Z] 8ad3a11d3b57: Download complete [2020-09-09T18:50:36.763Z] df20fa9351a1: Pull complete [2020-09-09T18:50:36.764Z] 36b3adc4ff6f: Pull complete [2020-09-09T18:50:36.764Z] 0879bd2ef858: Verifying Checksum [2020-09-09T18:50:36.764Z] 0879bd2ef858: Download complete [2020-09-09T18:50:37.336Z] 8ad3a11d3b57: Pull complete [2020-09-09T18:50:37.599Z] 46f8f816bc3b: Pull complete [2020-09-09T18:50:37.864Z] 0dadc02b9964: Pull complete [2020-09-09T18:50:37.864Z] ce6a7cf60c04: Pull complete [2020-09-09T18:50:38.131Z] 7a184a31f384: Pull complete [2020-09-09T18:50:40.701Z] 0879bd2ef858: Pull complete [2020-09-09T18:50:40.701Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-09T18:50:40.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T18:50:40.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-09T18:50:40.827Z] prd-centos7-docker-4c-2g-1976 does not seem to be running inside a container [2020-09-09T18:50:40.873Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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:10003/edgex-lftools-log-publisher:alpine cat [2020-09-09T18:50:46.815Z] $ docker top 0bc42786543998b9535da78b18deaee28f7401ca1f35f9a03b54ba6379dfad0a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T18:50:47.314Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-09T18:50:47.610Z] + ls /var/log/sa-host [2020-09-09T18:50:47.610Z] + sadf -c /var/log/sa-host/sa05 [2020-09-09T18:50:47.610Z] file_magic: OK [2020-09-09T18:50:47.610Z] HZ: Using current value: 100 [2020-09-09T18:50:47.610Z] file_header: OK [2020-09-09T18:50:47.610Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-09T18:50:47.610Z] Statistics: [2020-09-09T18:50:47.610Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T18:50:47.610Z] File successfully converted to sysstat format version 12.2.1 [2020-09-09T18:50:47.610Z] + sadf -c /var/log/sa-host/sa09 [2020-09-09T18:50:47.610Z] file_magic: OK [2020-09-09T18:50:47.610Z] HZ: Using current value: 100 [2020-09-09T18:50:47.610Z] file_header: OK [2020-09-09T18:50:47.610Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-09T18:50:47.610Z] Statistics: [2020-09-09T18:50:47.610Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T18:50:47.610Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-09T18:50:47.666Z] provisioning config files... [2020-09-09T18:50:47.683Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config2961236457026705660tmp [Pipeline] { [Pipeline] echo [2020-09-09T18:50:47.806Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:50:48.102Z] ---> create-netrc.sh [Pipeline] echo [2020-09-09T18:50:48.112Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:50:48.402Z] ---> logs-deploy.sh [2020-09-09T18:50:48.402Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/16 [2020-09-09T18:50:48.402Z] INFO: archiving workspace using pattern(s): [2020-09-09T18:50:49.789Z] Archives upload complete. [2020-09-09T18:50:49.789Z] INFO: archiving logs to Nexus