Pull request #553 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 4000e27a9f725d20d01bd2b86b2182ef891199d8 rather than 966a3ac5b3067e46b49cbd3d06faec0746e464c1 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-43206 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 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-553 # timeout=10 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 966a3ac5b3067e46b49cbd3d06faec0746e464c1 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 966a3ac5b3067e46b49cbd3d06faec0746e464c1 # timeout=10 Merge succeeded, producing 966a3ac5b3067e46b49cbd3d06faec0746e464c1 Checking out Revision 966a3ac5b3067e46b49cbd3d06faec0746e464c1 (PR-553) > 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 966a3ac5b3067e46b49cbd3d06faec0746e464c1 # timeout=10 Commit message: "fix: Create a buffer to handle the AsyncValues" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-15T02:16:26.968Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 0970780d5065ebf2c402df1aecd40b658c8cef64 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-15T02:16:27.310Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-15T02:16:27.424Z] ========================================================= [2020-09-15T02:16:27.425Z] EdgeX Global Pipelines Version Info [2020-09-15T02:16:27.425Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-15T02:16:28.895Z] ------------------- [2020-09-15T02:16:28.895Z] stable info: [2020-09-15T02:16:28.895Z] ------------------- [2020-09-15T02:16:28.895Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-15T02:16:28.895Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-15T02:16:28.896Z] Message: update stable to v1.0.119 [2020-09-15T02:16:29.848Z] ------------------- [2020-09-15T02:16:29.848Z] experimental info: [2020-09-15T02:16:29.848Z] ------------------- [2020-09-15T02:16:29.848Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-15T02:16:29.848Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-15T02:16:29.848Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-15T02:16:30.468Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-15T02:16:30.722Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-15T02:16:30.834Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-15T02:16:30.940Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-15T02:16:31.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-15T02:16:31.165Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-15T02:16:31.280Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-15T02:16:31.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-15T02:16:31.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-15T02:16:31.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-15T02:16:31.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-15T02:16:31.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-15T02:16:31.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-15T02:16:32.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-15T02:16:32.167Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-15T02:16:32.279Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T02:16:32.377Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T02:16:32.491Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T02:16:32.587Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-15T02:16:32.689Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-15T02:16:32.785Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-15T02:16:32.947Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-15T02:16:33.041Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo [2020-09-15T02:16:33.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo [2020-09-15T02:16:33.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo [2020-09-15T02:16:33.339Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 966a3ac5b3067e46b49cbd3d06faec0746e464c1 [Pipeline] echo [2020-09-15T02:16:33.433Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 966a3ac [Pipeline] echo [2020-09-15T02:16:33.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T02:16:34.182Z] + git log --format=format:%s -1 966a3ac5b3067e46b49cbd3d06faec0746e464c1 [Pipeline] echo [2020-09-15T02:16:34.250Z] GIT_COMMIT: 966a3ac5b3067e46b49cbd3d06faec0746e464c1, Commit Message: fix: Create a buffer to handle the AsyncValues [Pipeline] echo [2020-09-15T02:16:34.302Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-15T02:16:35.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T02:16:35.598Z] [2020-09-15T02:16:35.598Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T02:16:35.951Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T02:16:35.951Z] latest: Pulling from edgex-devops/git-semver [2020-09-15T02:16:35.951Z] 31603596830f: Pulling fs layer [2020-09-15T02:16:35.951Z] 2a8b12db71e7: Pulling fs layer [2020-09-15T02:16:35.951Z] 6ca5941a6612: Pulling fs layer [2020-09-15T02:16:35.951Z] ecc8261a40a4: Pulling fs layer [2020-09-15T02:16:35.951Z] ecc8261a40a4: Waiting [2020-09-15T02:16:35.951Z] 2a8b12db71e7: Verifying Checksum [2020-09-15T02:16:35.951Z] 2a8b12db71e7: Download complete [2020-09-15T02:16:36.216Z] 31603596830f: Verifying Checksum [2020-09-15T02:16:36.216Z] 31603596830f: Download complete [2020-09-15T02:16:36.801Z] 31603596830f: Pull complete [2020-09-15T02:16:36.801Z] ecc8261a40a4: Verifying Checksum [2020-09-15T02:16:36.801Z] ecc8261a40a4: Download complete [2020-09-15T02:16:36.801Z] 6ca5941a6612: Verifying Checksum [2020-09-15T02:16:36.801Z] 6ca5941a6612: Download complete [2020-09-15T02:16:36.801Z] 2a8b12db71e7: Pull complete [2020-09-15T02:16:37.753Z] 6ca5941a6612: Pull complete [2020-09-15T02:16:38.332Z] ecc8261a40a4: Pull complete [2020-09-15T02:16:38.332Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-15T02:16:38.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T02:16:38.332Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-15T02:16:38.445Z] prd-centos7-docker-4c-2g-43206 does not seem to be running inside a container [2020-09-15T02:16:38.503Z] $ 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-15T02:16:40.252Z] $ docker top aa1393faf788b57b0f163d4e0f1d7ce26b24961f005ebf30c330e27b3d37668c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T02:16:40.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T02:16:40.599Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T02:16:40.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T02:16:40.858Z] $ docker exec aa1393faf788b57b0f163d4e0f1d7ce26b24961f005ebf30c330e27b3d37668c ssh-agent [2020-09-15T02:16:41.027Z] SSH_AUTH_SOCK=/tmp/ssh-eykFXHRpKkxh/agent.11 [2020-09-15T02:16:41.027Z] SSH_AGENT_PID=16 [2020-09-15T02:16:41.039Z] Running ssh-add (command line suppressed) [2020-09-15T02:16:41.166Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3033739232896402931.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3033739232896402931.key) [2020-09-15T02:16:41.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T02:16:41.556Z] + git describe --exact-match --tags HEAD [2020-09-15T02:16:41.556Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-15T02:16:41.589Z] $ docker exec --env ******** --env ******** aa1393faf788b57b0f163d4e0f1d7ce26b24961f005ebf30c330e27b3d37668c ssh-agent -k [2020-09-15T02:16:41.706Z] unset SSH_AUTH_SOCK; [2020-09-15T02:16:41.706Z] unset SSH_AGENT_PID; [2020-09-15T02:16:41.706Z] echo Agent pid 16 killed; [2020-09-15T02:16:41.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-15T02:16:41.855Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-15T02:16:41.855Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-15T02:16:41.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T02:16:41.972Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T02:16:42.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T02:16:42.156Z] $ docker exec aa1393faf788b57b0f163d4e0f1d7ce26b24961f005ebf30c330e27b3d37668c ssh-agent [2020-09-15T02:16:42.311Z] SSH_AUTH_SOCK=/tmp/ssh-V1HMzlXWIFYQ/agent.45 [2020-09-15T02:16:42.311Z] SSH_AGENT_PID=50 [2020-09-15T02:16:42.320Z] Running ssh-add (command line suppressed) [2020-09-15T02:16:42.444Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4004984423896556728.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4004984423896556728.key) [2020-09-15T02:16:42.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T02:16:42.822Z] + git semver init [2020-09-15T02:16:42.822Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T02:16:42.822Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git [2020-09-15T02:16:42.822Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-09-15T02:16:42.822Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T02:16:42.822Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T02:16:42.822Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T02:16:42.822Z] # $SEMVER_BRANCH = PR-553 [2020-09-15T02:16:42.822Z] # $SEMVER_TEMP = /tmp/semver-899726978 [2020-09-15T02:16:42.822Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-15T02:16:44.217Z] # '/tmp/semver-899726978' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' [2020-09-15T02:16:44.217Z] # -> Force: false [2020-09-15T02:16:44.217Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } [2020-09-15T02:16:44.236Z] $ docker exec --env ******** --env ******** aa1393faf788b57b0f163d4e0f1d7ce26b24961f005ebf30c330e27b3d37668c ssh-agent -k [2020-09-15T02:16:44.344Z] unset SSH_AUTH_SOCK; [2020-09-15T02:16:44.345Z] unset SSH_AGENT_PID; [2020-09-15T02:16:44.345Z] echo Agent pid 50 killed; [2020-09-15T02:16:44.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T02:16:44.858Z] + git semver [Pipeline] } [2020-09-15T02:16:44.881Z] $ docker stop --time=1 aa1393faf788b57b0f163d4e0f1d7ce26b24961f005ebf30c330e27b3d37668c [2020-09-15T02:16:46.289Z] $ docker rm -f aa1393faf788b57b0f163d4e0f1d7ce26b24961f005ebf30c330e27b3d37668c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-15T02:16:47.169Z] Stashed 33 file(s) [Pipeline] echo [2020-09-15T02:16:47.172Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-15T02:16:47.264Z] 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-15T02:17:02.703Z] Still waiting to schedule task [2020-09-15T02:17:02.703Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-15T02:17:02.705Z] Still waiting to schedule task [2020-09-15T02:17:02.706Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-15T02:18:52.412Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43207 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-09-15T02:18:52.516Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2020-09-15T02:18:57.404Z] using credential edgex-jenkins-ssh [2020-09-15T02:18:57.471Z] Cloning the remote Git repository [2020-09-15T02:18:57.471Z] Cloning with configured refspecs honoured and without tags [2020-09-15T02:18:57.543Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T02:18:57.660Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2020-09-15T02:18:57.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T02:18:57.742Z] > git --version # timeout=10 [2020-09-15T02:18:57.760Z] > git --version # 'git version 2.17.1' [2020-09-15T02:18:57.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T02:18:57.806Z] > 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-15T02:18:59.408Z] Fetching without tags [2020-09-15T02:18:59.882Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 966a3ac5b3067e46b49cbd3d06faec0746e464c1 [2020-09-15T02:18:59.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T02:18:59.342Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-09-15T02:18:59.363Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T02:18:59.389Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T02:18:59.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T02:18:59.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T02:18:59.444Z] > 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-15T02:18:59.914Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T02:18:59.933Z] > git checkout -f 966a3ac5b3067e46b49cbd3d06faec0746e464c1 # timeout=10 [2020-09-15T02:19:00.236Z] Merge succeeded, producing 966a3ac5b3067e46b49cbd3d06faec0746e464c1 [2020-09-15T02:19:00.236Z] Checking out Revision 966a3ac5b3067e46b49cbd3d06faec0746e464c1 (PR-553) [2020-09-15T02:19:00.111Z] > git remote # timeout=10 [2020-09-15T02:19:00.164Z] > git config --get remote.origin.url # timeout=10 [2020-09-15T02:19:00.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T02:19:00.209Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-15T02:19:00.230Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-15T02:19:00.253Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T02:19:00.270Z] > git checkout -f 966a3ac5b3067e46b49cbd3d06faec0746e464c1 # timeout=10 [2020-09-15T02:19:04.800Z] Commit message: "fix: Create a buffer to handle the AsyncValues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T02:19:06.025Z] ========================================================= [2020-09-15T02:19:06.025Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-15T02:19:06.025Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T02:19:07.246Z] + 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-15T02:19:08.234Z] Sending build context to Docker daemon 3.139MB [2020-09-15T02:19:08.234Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-15T02:19:08.234Z] Step 2/8 : FROM ${BASE} [2020-09-15T02:19:08.509Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-15T02:19:08.509Z] b538f80385f9: Pulling fs layer [2020-09-15T02:19:08.509Z] 74f711af9a0d: Pulling fs layer [2020-09-15T02:19:08.509Z] 99f96fe45779: Pulling fs layer [2020-09-15T02:19:08.509Z] fd7a069fd194: Pulling fs layer [2020-09-15T02:19:08.509Z] 66aa3694b03b: Pulling fs layer [2020-09-15T02:19:08.509Z] 170f70906a0f: Pulling fs layer [2020-09-15T02:19:08.509Z] ad7c5574e4b9: Pulling fs layer [2020-09-15T02:19:08.509Z] e772456be8f7: Pulling fs layer [2020-09-15T02:19:08.509Z] c890913d741a: Pulling fs layer [2020-09-15T02:19:08.509Z] 2480fcc9aa5a: Pulling fs layer [2020-09-15T02:19:08.509Z] 09adf4765672: Pulling fs layer [2020-09-15T02:19:08.509Z] ad7c5574e4b9: Waiting [2020-09-15T02:19:08.509Z] e772456be8f7: Waiting [2020-09-15T02:19:08.509Z] fd7a069fd194: Waiting [2020-09-15T02:19:08.509Z] 66aa3694b03b: Waiting [2020-09-15T02:19:08.509Z] 170f70906a0f: Waiting [2020-09-15T02:19:08.509Z] c890913d741a: Waiting [2020-09-15T02:19:08.509Z] 2480fcc9aa5a: Waiting [2020-09-15T02:19:08.509Z] 09adf4765672: Waiting [2020-09-15T02:19:08.784Z] 99f96fe45779: Verifying Checksum [2020-09-15T02:19:08.784Z] 99f96fe45779: Download complete [2020-09-15T02:19:08.784Z] 74f711af9a0d: Verifying Checksum [2020-09-15T02:19:08.784Z] 74f711af9a0d: Download complete [2020-09-15T02:19:08.784Z] 66aa3694b03b: Verifying Checksum [2020-09-15T02:19:08.784Z] 66aa3694b03b: Download complete [2020-09-15T02:19:08.784Z] 170f70906a0f: Verifying Checksum [2020-09-15T02:19:08.784Z] 170f70906a0f: Download complete [2020-09-15T02:19:09.377Z] b538f80385f9: Download complete [2020-09-15T02:19:09.980Z] b538f80385f9: Pull complete [2020-09-15T02:19:10.594Z] 74f711af9a0d: Pull complete [2020-09-15T02:19:11.205Z] 99f96fe45779: Pull complete [2020-09-15T02:19:12.188Z] ad7c5574e4b9: Verifying Checksum [2020-09-15T02:19:12.189Z] ad7c5574e4b9: Download complete [2020-09-15T02:19:12.189Z] c890913d741a: Verifying Checksum [2020-09-15T02:19:12.189Z] c890913d741a: Download complete [2020-09-15T02:19:13.639Z] 2480fcc9aa5a: Verifying Checksum [2020-09-15T02:19:13.639Z] 2480fcc9aa5a: Download complete [2020-09-15T02:19:13.914Z] 09adf4765672: Download complete [2020-09-15T02:19:14.905Z] e772456be8f7: Verifying Checksum [2020-09-15T02:19:14.905Z] e772456be8f7: Download complete [2020-09-15T02:19:15.182Z] fd7a069fd194: Verifying Checksum [2020-09-15T02:19:15.182Z] fd7a069fd194: Download complete [2020-09-15T02:19:27.612Z] fd7a069fd194: Pull complete [2020-09-15T02:19:27.612Z] 66aa3694b03b: Pull complete [2020-09-15T02:19:27.612Z] 170f70906a0f: Pull complete [2020-09-15T02:19:31.010Z] ad7c5574e4b9: Pull complete [2020-09-15T02:19:35.351Z] e772456be8f7: Pull complete [2020-09-15T02:19:35.351Z] c890913d741a: Pull complete [2020-09-15T02:19:36.394Z] Running on prd-centos7-docker-4c-2g-43208 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-09-15T02:19:36.475Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2020-09-15T02:19:37.989Z] 2480fcc9aa5a: Pull complete [2020-09-15T02:19:37.989Z] 09adf4765672: Pull complete [2020-09-15T02:19:38.264Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-15T02:19:38.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-15T02:19:38.264Z] ---> 2248a725d1cf [2020-09-15T02:19:38.264Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T02:19:39.267Z] using credential edgex-jenkins-ssh [2020-09-15T02:19:39.317Z] Cloning the remote Git repository [2020-09-15T02:19:39.317Z] Cloning with configured refspecs honoured and without tags [2020-09-15T02:19:40.092Z] Fetching without tags [2020-09-15T02:19:39.347Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T02:19:39.416Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2020-09-15T02:19:39.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T02:19:39.462Z] > git --version # timeout=10 [2020-09-15T02:19:39.469Z] > git --version # 'git version 2.16.5' [2020-09-15T02:19:39.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T02:19:39.495Z] > 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-15T02:19:40.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T02:19:40.074Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-09-15T02:19:40.078Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T02:19:40.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T02:19:40.098Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T02:19:40.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T02:19:40.103Z] > 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-15T02:19:40.532Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 966a3ac5b3067e46b49cbd3d06faec0746e464c1 [2020-09-15T02:19:40.634Z] Merge succeeded, producing 966a3ac5b3067e46b49cbd3d06faec0746e464c1 [2020-09-15T02:19:40.634Z] Checking out Revision 966a3ac5b3067e46b49cbd3d06faec0746e464c1 (PR-553) [2020-09-15T02:19:40.542Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T02:19:40.547Z] > git checkout -f 966a3ac5b3067e46b49cbd3d06faec0746e464c1 # timeout=10 [2020-09-15T02:19:40.603Z] > git remote # timeout=10 [2020-09-15T02:19:40.610Z] > git config --get remote.origin.url # timeout=10 [2020-09-15T02:19:40.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T02:19:40.619Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-15T02:19:40.627Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-15T02:19:40.639Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T02:19:40.650Z] > git checkout -f 966a3ac5b3067e46b49cbd3d06faec0746e464c1 # timeout=10 [2020-09-15T02:19:42.588Z] ---> Running in bd063170fe51 [2020-09-15T02:19:42.866Z] Removing intermediate container bd063170fe51 [2020-09-15T02:19:42.866Z] ---> 219dd9daae07 [2020-09-15T02:19:42.866Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T02:19:42.866Z] ---> Running in 185be0439393 [2020-09-15T02:19:44.263Z] Commit message: "fix: Create a buffer to handle the AsyncValues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T02:19:45.105Z] ========================================================= [2020-09-15T02:19:45.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-15T02:19:45.105Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T02:19:45.492Z] Removing intermediate container 185be0439393 [2020-09-15T02:19:45.492Z] ---> a69bd727a5e3 [2020-09-15T02:19:45.492Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T02:19:45.774Z] ---> Running in 22ed304ae555 [2020-09-15T02:19:45.951Z] + 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-15T02:19:46.538Z] Sending build context to Docker daemon 3.137MB [2020-09-15T02:19:46.538Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-15T02:19:46.538Z] Step 2/8 : FROM ${BASE} [2020-09-15T02:19:46.798Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-15T02:19:46.799Z] df20fa9351a1: Pulling fs layer [2020-09-15T02:19:46.799Z] ed8968b2872e: Pulling fs layer [2020-09-15T02:19:46.799Z] a92cc7c5fd73: Pulling fs layer [2020-09-15T02:19:46.799Z] 2dd03ba5bac4: Pulling fs layer [2020-09-15T02:19:46.799Z] 1e091d79d1de: Pulling fs layer [2020-09-15T02:19:46.799Z] 481702a1767f: Pulling fs layer [2020-09-15T02:19:46.799Z] f64a6f60c768: Pulling fs layer [2020-09-15T02:19:46.799Z] e78d2573fc39: Pulling fs layer [2020-09-15T02:19:46.799Z] e876d2f968b6: Pulling fs layer [2020-09-15T02:19:46.799Z] ce8a83651883: Pulling fs layer [2020-09-15T02:19:46.799Z] 07967f4d0e4b: Pulling fs layer [2020-09-15T02:19:46.799Z] e78d2573fc39: Waiting [2020-09-15T02:19:46.799Z] 2dd03ba5bac4: Waiting [2020-09-15T02:19:46.799Z] e876d2f968b6: Waiting [2020-09-15T02:19:46.799Z] ce8a83651883: Waiting [2020-09-15T02:19:46.799Z] 1e091d79d1de: Waiting [2020-09-15T02:19:46.799Z] 07967f4d0e4b: Waiting [2020-09-15T02:19:46.799Z] 481702a1767f: Waiting [2020-09-15T02:19:46.799Z] a92cc7c5fd73: Verifying Checksum [2020-09-15T02:19:46.799Z] a92cc7c5fd73: Download complete [2020-09-15T02:19:46.799Z] ed8968b2872e: Verifying Checksum [2020-09-15T02:19:46.799Z] ed8968b2872e: Download complete [2020-09-15T02:19:46.799Z] 1e091d79d1de: Verifying Checksum [2020-09-15T02:19:46.799Z] 1e091d79d1de: Download complete [2020-09-15T02:19:47.061Z] 481702a1767f: Verifying Checksum [2020-09-15T02:19:47.061Z] 481702a1767f: Download complete [2020-09-15T02:19:47.061Z] df20fa9351a1: Verifying Checksum [2020-09-15T02:19:47.061Z] df20fa9351a1: Download complete [2020-09-15T02:19:47.219Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T02:19:47.323Z] df20fa9351a1: Pull complete [2020-09-15T02:19:47.323Z] ed8968b2872e: Pull complete [2020-09-15T02:19:47.586Z] a92cc7c5fd73: Pull complete [2020-09-15T02:19:48.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T02:19:51.814Z] f64a6f60c768: Verifying Checksum [2020-09-15T02:19:51.814Z] f64a6f60c768: Download complete [2020-09-15T02:19:51.814Z] e876d2f968b6: Download complete [2020-09-15T02:19:53.211Z] ce8a83651883: Verifying Checksum [2020-09-15T02:19:53.211Z] ce8a83651883: Download complete [2020-09-15T02:19:53.211Z] 07967f4d0e4b: Verifying Checksum [2020-09-15T02:19:53.211Z] e78d2573fc39: Verifying Checksum [2020-09-15T02:19:53.211Z] e78d2573fc39: Download complete [2020-09-15T02:19:53.478Z] 2dd03ba5bac4: Verifying Checksum [2020-09-15T02:19:53.478Z] 2dd03ba5bac4: Download complete [2020-09-15T02:19:54.023Z] OK: 142 MiB in 39 packages [2020-09-15T02:19:55.003Z] Removing intermediate container 22ed304ae555 [2020-09-15T02:19:55.003Z] ---> ba32994ed5b2 [2020-09-15T02:19:55.003Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T02:19:55.280Z] ---> Running in dcd479856e6e [2020-09-15T02:19:55.878Z] Removing intermediate container dcd479856e6e [2020-09-15T02:19:55.878Z] ---> 4de1a088979a [2020-09-15T02:19:55.878Z] Step 7/8 : COPY . . [2020-09-15T02:19:56.857Z] ---> 9ec60d8b04fe [2020-09-15T02:19:56.857Z] Step 8/8 : RUN go mod download [2020-09-15T02:19:57.130Z] ---> Running in 1e9e87fd8f7f [2020-09-15T02:19:58.799Z] 2dd03ba5bac4: Pull complete [2020-09-15T02:19:58.799Z] 1e091d79d1de: Pull complete [2020-09-15T02:19:59.062Z] 481702a1767f: Pull complete [2020-09-15T02:19:59.743Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-15T02:19:59.743Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-15T02:19:59.743Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-15T02:19:59.743Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-15T02:19:59.743Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-15T02:19:59.743Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-15T02:19:59.743Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-15T02:20:00.014Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-15T02:20:00.014Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-15T02:20:00.014Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-15T02:20:00.014Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-15T02:20:00.014Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-15T02:20:00.014Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-15T02:20:00.283Z] go: finding github.com/fatih/color v1.7.0 [2020-09-15T02:20:00.283Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-15T02:20:00.283Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-15T02:20:00.283Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-15T02:20:00.283Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-15T02:20:00.283Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-15T02:20:00.554Z] go: finding github.com/google/uuid v1.1.0 [2020-09-15T02:20:00.554Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-15T02:20:00.554Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-15T02:20:00.825Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-15T02:20:00.825Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-15T02:20:00.825Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-15T02:20:00.825Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-15T02:20:00.825Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-15T02:20:00.825Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-15T02:20:00.825Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-15T02:20:00.825Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-15T02:20:00.825Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-15T02:20:00.825Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-15T02:20:00.825Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-15T02:20:01.095Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-15T02:20:01.095Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-15T02:20:01.095Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-15T02:20:01.095Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-15T02:20:01.365Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-15T02:20:01.365Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-15T02:20:01.365Z] go: finding github.com/posener/complete v1.1.1 [2020-09-15T02:20:01.365Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-15T02:20:01.365Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-15T02:20:01.365Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-15T02:20:01.365Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-15T02:20:01.365Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-15T02:20:01.365Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-15T02:20:01.365Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-15T02:20:01.365Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-15T02:20:01.639Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-15T02:20:01.639Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-15T02:20:01.639Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-15T02:20:01.639Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-15T02:20:04.373Z] f64a6f60c768: Pull complete [2020-09-15T02:20:06.952Z] e78d2573fc39: Pull complete [2020-09-15T02:20:06.952Z] e876d2f968b6: Pull complete [2020-09-15T02:20:07.901Z] ce8a83651883: Pull complete [2020-09-15T02:20:07.901Z] 07967f4d0e4b: Pull complete [2020-09-15T02:20:07.901Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-15T02:20:07.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-15T02:20:07.901Z] ---> 5d7c900382c6 [2020-09-15T02:20:07.901Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T02:20:09.824Z] ---> Running in d8adf9acfbba [2020-09-15T02:20:09.824Z] Removing intermediate container d8adf9acfbba [2020-09-15T02:20:09.824Z] ---> 2acf577f696b [2020-09-15T02:20:09.824Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T02:20:09.824Z] ---> Running in f5aa118e04e4 [2020-09-15T02:20:11.216Z] Removing intermediate container f5aa118e04e4 [2020-09-15T02:20:11.216Z] ---> 896bdf42d624 [2020-09-15T02:20:11.216Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T02:20:11.216Z] ---> Running in 2a1e5b39b994 [2020-09-15T02:20:11.789Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T02:20:11.821Z] Removing intermediate container 1e9e87fd8f7f [2020-09-15T02:20:11.821Z] ---> 33dd082b1f34 [2020-09-15T02:20:11.821Z] Successfully built 33dd082b1f34 [2020-09-15T02:20:11.821Z] 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-15T02:20:12.755Z] + docker inspect -f . ci-base-image-arm64 [2020-09-15T02:20:12.755Z] . [Pipeline] withDockerContainer [2020-09-15T02:20:13.021Z] prd-ubuntu18.04-docker-arm64-4c-16g-43207 does not seem to be running inside a container [2020-09-15T02:20:13.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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-15T02:20:13.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T02:20:14.917Z] $ docker top 0b0b5a78e5d373fda3af58073b0097aee1ad1da2dae02f7d2e5fa4b2fcd19dcc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T02:20:15.638Z] OK: 166 MiB in 39 packages [2020-09-15T02:20:15.638Z] Removing intermediate container 2a1e5b39b994 [2020-09-15T02:20:15.638Z] ---> 281fd1d77af0 [2020-09-15T02:20:15.638Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T02:20:15.638Z] ---> Running in 1304e77ea866 [2020-09-15T02:20:15.901Z] Removing intermediate container 1304e77ea866 [2020-09-15T02:20:15.901Z] ---> ad3b6ec5ee1f [2020-09-15T02:20:15.901Z] Step 7/8 : COPY . . [2020-09-15T02:20:16.314Z] + go version [2020-09-15T02:20:16.314Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-15T02:20:17.293Z] ---> 285dd6f587c6 [2020-09-15T02:20:17.293Z] Step 8/8 : RUN go mod download [2020-09-15T02:20:17.293Z] ---> Running in 54a594f67906 [2020-09-15T02:20:17.369Z] + make test [2020-09-15T02:20:17.369Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-15T02:20:18.354Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-15T02:20:19.219Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-15T02:20:19.219Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-15T02:20:19.219Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-15T02:20:19.219Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-15T02:20:19.219Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-15T02:20:19.219Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-15T02:20:19.219Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-15T02:20:19.219Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-15T02:20:19.219Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-15T02:20:19.219Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-15T02:20:19.219Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-15T02:20:19.219Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-15T02:20:19.219Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-15T02:20:19.219Z] go: finding github.com/fatih/color v1.7.0 [2020-09-15T02:20:19.219Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-15T02:20:19.219Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-15T02:20:19.219Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-15T02:20:19.219Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-15T02:20:19.219Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-15T02:20:19.219Z] go: finding github.com/google/uuid v1.1.0 [2020-09-15T02:20:19.219Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-15T02:20:19.219Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-15T02:20:19.219Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-15T02:20:19.484Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-15T02:20:19.747Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-15T02:20:19.747Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-15T02:20:19.747Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-15T02:20:19.747Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-15T02:20:19.747Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-15T02:20:19.747Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-15T02:20:19.747Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-15T02:20:19.747Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-15T02:20:19.747Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-15T02:20:19.747Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-15T02:20:19.747Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-15T02:20:19.747Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-15T02:20:20.027Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-15T02:20:20.027Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-15T02:20:20.027Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-15T02:20:20.027Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-15T02:20:20.027Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-15T02:20:20.027Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-15T02:20:20.027Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-15T02:20:20.027Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-15T02:20:20.027Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-15T02:20:20.027Z] go: finding github.com/posener/complete v1.1.1 [2020-09-15T02:20:20.027Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-15T02:20:20.027Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-15T02:20:20.027Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-15T02:20:20.298Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-15T02:20:20.298Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-15T02:20:20.298Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-15T02:20:20.298Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-15T02:20:20.298Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-15T02:20:20.298Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-15T02:20:20.298Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-15T02:20:20.298Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-15T02:20:20.298Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-15T02:20:28.560Z] Removing intermediate container 54a594f67906 [2020-09-15T02:20:28.560Z] ---> 7e5ada71714d [2020-09-15T02:20:28.560Z] Successfully built 7e5ada71714d [2020-09-15T02:20:28.560Z] 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-15T02:20:29.306Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-15T02:20:29.306Z] . [Pipeline] withDockerContainer [2020-09-15T02:20:29.484Z] prd-centos7-docker-4c-2g-43208 does not seem to be running inside a container [2020-09-15T02:20:29.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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-15T02:20:30.700Z] $ docker top 3afd8262fea6b26971f58e82d998d7b066f0aa150da00c3c31a9c79adb294a67 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T02:20:31.281Z] + go version [2020-09-15T02:20:31.281Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-15T02:20:31.587Z] + make test [2020-09-15T02:20:31.587Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-15T02:20:32.546Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-15T02:20:40.802Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-15T02:20:40.802Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-15T02:20:40.802Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-15T02:20:41.392Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 21.0% of statements [2020-09-15T02:20:43.345Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.044s coverage: 95.7% of statements [2020-09-15T02:20:50.734Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-15T02:20:50.734Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-15T02:20:50.734Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-15T02:20:50.734Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.032s coverage: 21.0% of statements [2020-09-15T02:20:50.734Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.161s coverage: 95.7% of statements [2020-09-15T02:21:15.495Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 8.6% of statements [2020-09-15T02:21:15.495Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-09-15T02:21:15.495Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-15T02:21:15.495Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.026s coverage: 37.0% of statements [2020-09-15T02:21:15.495Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-15T02:21:15.495Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.031s coverage: 65.4% of statements [2020-09-15T02:21:15.495Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-15T02:21:15.495Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-15T02:21:15.495Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-15T02:21:15.495Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-09-15T02:21:15.495Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.096s coverage: 68.9% of statements [2020-09-15T02:21:15.495Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-15T02:21:15.495Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-15T02:21:15.495Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-15T02:21:15.495Z] gofmt -l . [2020-09-15T02:21:15.495Z] [ "`gofmt -l .`" = "" ] [2020-09-15T02:21:15.758Z] ./bin/test-attribution-txt.sh [2020-09-15T02:21:16.332Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-15T02:21:16.698Z] Stashed 1 file(s) [Pipeline] } [2020-09-15T02:21:16.707Z] $ docker stop --time=1 3afd8262fea6b26971f58e82d998d7b066f0aa150da00c3c31a9c79adb294a67 [2020-09-15T02:21:18.215Z] $ docker rm -f 3afd8262fea6b26971f58e82d998d7b066f0aa150da00c3c31a9c79adb294a67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T02:21:21.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T02:21:21.883Z] + ls -al . [2020-09-15T02:21:21.883Z] total 188 [2020-09-15T02:21:21.883Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 02:21 . [2020-09-15T02:21:21.883Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 15 02:19 .. [2020-09-15T02:21:21.883Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 02:19 bin [2020-09-15T02:21:21.883Z] -rw-r--r--. 1 jenkins jenkins 111650 Sep 15 02:21 coverage.out [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 02:19 Dockerfile.build [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 02:19 .dockerignore [2020-09-15T02:21:21.883Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 02:19 example [2020-09-15T02:21:21.883Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 02:19 .git [2020-09-15T02:21:21.883Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 02:19 .github [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 02:19 .gitignore [2020-09-15T02:21:21.883Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 15 02:21 go.mod [2020-09-15T02:21:21.883Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 15 02:21 go.sum [2020-09-15T02:21:21.883Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 02:19 internal [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 15 02:19 Jenkinsfile [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 02:19 LICENSE [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 15 02:19 Makefile [2020-09-15T02:21:21.883Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 02:19 openapi [2020-09-15T02:21:21.883Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 02:19 pkg [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 02:19 README.md [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 02:19 RELEASE-NOTES.txt [2020-09-15T02:21:21.883Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 02:19 .semver [2020-09-15T02:21:21.883Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 02:19 snap [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 02:16 VERSION [2020-09-15T02:21:21.883Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 02:19 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T02:21:22.187Z] + 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=966a3ac5b3067e46b49cbd3d06faec0746e464c1 --label arch=amd64 --label version=0.0.0 . [2020-09-15T02:21:22.449Z] Sending build context to Docker daemon 3.251MB [2020-09-15T02:21:22.449Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-15T02:21:22.449Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T02:21:22.449Z] ---> 7e5ada71714d [2020-09-15T02:21:22.449Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T02:21:22.711Z] ---> Running in c5b3a101e5cd [2020-09-15T02:21:22.973Z] Removing intermediate container c5b3a101e5cd [2020-09-15T02:21:22.973Z] ---> 87471ea52fce [2020-09-15T02:21:22.973Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T02:21:22.973Z] ---> Running in bf0a79a07d00 [2020-09-15T02:21:23.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.022s coverage: 8.6% of statements [2020-09-15T02:21:23.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements [2020-09-15T02:21:23.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-15T02:21:23.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.079s coverage: 37.0% of statements [2020-09-15T02:21:23.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-15T02:21:23.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.111s coverage: 65.4% of statements [2020-09-15T02:21:23.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-15T02:21:23.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-15T02:21:23.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-15T02:21:23.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.079s coverage: 52.6% of statements [2020-09-15T02:21:23.075Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements [2020-09-15T02:21:23.075Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-15T02:21:23.075Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-15T02:21:23.075Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-15T02:21:23.235Z] Removing intermediate container bf0a79a07d00 [2020-09-15T02:21:23.236Z] ---> df14e3981a4d [2020-09-15T02:21:23.236Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T02:21:23.236Z] ---> Running in a6b3d9cbce60 [2020-09-15T02:21:23.236Z] Removing intermediate container a6b3d9cbce60 [2020-09-15T02:21:23.236Z] ---> 4b5bfcefcffc [2020-09-15T02:21:23.236Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T02:21:23.498Z] ---> Running in 90bfaf56d63d [2020-09-15T02:21:24.891Z] Removing intermediate container 90bfaf56d63d [2020-09-15T02:21:24.891Z] ---> 46f5d1c6b5c7 [2020-09-15T02:21:24.891Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T02:21:24.891Z] ---> Running in cafcc7c3d03c [2020-09-15T02:21:25.152Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T02:21:25.718Z] gofmt -l . [2020-09-15T02:21:25.719Z] [ "`gofmt -l .`" = "" ] [2020-09-15T02:21:25.992Z] ./bin/test-attribution-txt.sh [2020-09-15T02:21:26.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T02:21:26.585Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-15T02:21:27.198Z] Warning: overwriting stash ‘coverage-report’ [2020-09-15T02:21:28.057Z] Stashed 1 file(s) [Pipeline] } [2020-09-15T02:21:28.073Z] $ docker stop --time=1 0b0b5a78e5d373fda3af58073b0097aee1ad1da2dae02f7d2e5fa4b2fcd19dcc [2020-09-15T02:21:30.258Z] $ docker rm -f 0b0b5a78e5d373fda3af58073b0097aee1ad1da2dae02f7d2e5fa4b2fcd19dcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T02:21:31.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T02:21:31.847Z] OK: 166 MiB in 39 packages [2020-09-15T02:21:31.847Z] Removing intermediate container cafcc7c3d03c [2020-09-15T02:21:31.847Z] ---> 73f5dbc4cd04 [2020-09-15T02:21:31.847Z] Step 8/24 : COPY . . [2020-09-15T02:21:32.189Z] + ls -al . [2020-09-15T02:21:32.189Z] total 228 [2020-09-15T02:21:32.189Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 02:21 . [2020-09-15T02:21:32.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 02:18 .. [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 02:18 .dockerignore [2020-09-15T02:21:32.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 02:19 .git [2020-09-15T02:21:32.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 02:18 .github [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 02:18 .gitignore [2020-09-15T02:21:32.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 02:19 .semver [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 02:18 Dockerfile.build [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 15 02:18 Jenkinsfile [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 02:18 LICENSE [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 15 02:18 Makefile [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 02:18 README.md [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 02:18 RELEASE-NOTES.txt [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 02:16 VERSION [2020-09-15T02:21:32.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 02:18 bin [2020-09-15T02:21:32.189Z] -rw-r--r-- 1 jenkins jenkins 111650 Sep 15 02:21 coverage.out [2020-09-15T02:21:32.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 02:18 example [2020-09-15T02:21:32.189Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 15 02:21 go.mod [2020-09-15T02:21:32.189Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 15 02:21 go.sum [2020-09-15T02:21:32.189Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 02:18 internal [2020-09-15T02:21:32.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 02:18 openapi [2020-09-15T02:21:32.189Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 02:18 pkg [2020-09-15T02:21:32.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 02:18 snap [2020-09-15T02:21:32.189Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 02:18 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T02:21:32.561Z] + 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=966a3ac5b3067e46b49cbd3d06faec0746e464c1 --label arch=arm64 --label version=0.0.0 . [2020-09-15T02:21:32.793Z] ---> 8dc0595de604 [2020-09-15T02:21:32.793Z] Step 9/24 : RUN ${MAKE} [2020-09-15T02:21:32.793Z] ---> Running in e74e15d7f9cc [2020-09-15T02:21:32.840Z] Sending build context to Docker daemon 3.253MB [2020-09-15T02:21:33.116Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-15T02:21:33.116Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T02:21:33.116Z] ---> 33dd082b1f34 [2020-09-15T02:21:33.116Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T02:21:33.375Z] 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-15T02:21:33.395Z] ---> Running in 96d4fccfd876 [2020-09-15T02:21:33.667Z] Removing intermediate container 96d4fccfd876 [2020-09-15T02:21:33.667Z] ---> 0144cfa4fabe [2020-09-15T02:21:33.667Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T02:21:33.940Z] ---> Running in 74b18a2db7eb [2020-09-15T02:21:34.213Z] Removing intermediate container 74b18a2db7eb [2020-09-15T02:21:34.213Z] ---> c53e6c15b1c4 [2020-09-15T02:21:34.213Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T02:21:34.490Z] ---> Running in 92b410ef59b6 [2020-09-15T02:21:35.085Z] Removing intermediate container 92b410ef59b6 [2020-09-15T02:21:35.085Z] ---> c1b8b36626a7 [2020-09-15T02:21:35.085Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T02:21:35.085Z] ---> Running in 9d41544ddb57 [2020-09-15T02:21:37.702Z] Removing intermediate container 9d41544ddb57 [2020-09-15T02:21:37.702Z] ---> a70f67b9f4aa [2020-09-15T02:21:37.702Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T02:21:37.702Z] ---> Running in 8ff11d87c56e [2020-09-15T02:21:39.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T02:21:41.632Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T02:21:41.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T02:21:42.578Z] Removing intermediate container e74e15d7f9cc [2020-09-15T02:21:42.578Z] ---> 357a4d555c00 [2020-09-15T02:21:42.578Z] Step 10/24 : FROM scratch [2020-09-15T02:21:42.578Z] ---> [2020-09-15T02:21:42.578Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T02:21:42.578Z] ---> Running in b51eace461ce [2020-09-15T02:21:42.839Z] Removing intermediate container b51eace461ce [2020-09-15T02:21:42.839Z] ---> 3c65702a5ab6 [2020-09-15T02:21:42.839Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T02:21:42.839Z] ---> Running in 72a722e9dff3 [2020-09-15T02:21:42.839Z] Removing intermediate container 72a722e9dff3 [2020-09-15T02:21:42.839Z] ---> 7f9bb8cffdf8 [2020-09-15T02:21:42.839Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T02:21:43.104Z] ---> Running in 9ddaa76ae633 [2020-09-15T02:21:43.104Z] Removing intermediate container 9ddaa76ae633 [2020-09-15T02:21:43.104Z] ---> ae1bdb59b05f [2020-09-15T02:21:43.104Z] Step 14/24 : WORKDIR / [2020-09-15T02:21:43.104Z] ---> Running in 241b07347e3f [2020-09-15T02:21:43.368Z] Removing intermediate container 241b07347e3f [2020-09-15T02:21:43.368Z] ---> e374474a8f90 [2020-09-15T02:21:43.368Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T02:21:43.950Z] ---> 73f04a35ed50 [2020-09-15T02:21:43.950Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T02:21:44.213Z] ---> 661f13dd2427 [2020-09-15T02:21:44.213Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T02:21:44.213Z] ---> 0de90e33b47b [2020-09-15T02:21:44.213Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T02:21:44.477Z] ---> c5dca1931be5 [2020-09-15T02:21:44.477Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T02:21:44.739Z] ---> 937b6a4305e5 [2020-09-15T02:21:44.739Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T02:21:44.739Z] ---> Running in d3dc8652cf47 [2020-09-15T02:21:45.000Z] Removing intermediate container d3dc8652cf47 [2020-09-15T02:21:45.000Z] ---> ba31618e8bbe [2020-09-15T02:21:45.000Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T02:21:45.000Z] ---> Running in 89b5b9729e81 [2020-09-15T02:21:45.261Z] Removing intermediate container 89b5b9729e81 [2020-09-15T02:21:45.261Z] ---> ccdb90689d2e [2020-09-15T02:21:45.261Z] Step 22/24 : LABEL arch=amd64 [2020-09-15T02:21:45.261Z] ---> Running in 83a381a016a2 [2020-09-15T02:21:45.522Z] Removing intermediate container 83a381a016a2 [2020-09-15T02:21:45.522Z] ---> f0ba2ea5b826 [2020-09-15T02:21:45.522Z] Step 23/24 : LABEL git_sha=966a3ac5b3067e46b49cbd3d06faec0746e464c1 [2020-09-15T02:21:45.523Z] ---> Running in 8da1948e8fb0 [2020-09-15T02:21:45.784Z] Removing intermediate container 8da1948e8fb0 [2020-09-15T02:21:45.784Z] ---> 9b195bcc4a73 [2020-09-15T02:21:45.784Z] Step 24/24 : LABEL version=0.0.0 [2020-09-15T02:21:45.784Z] ---> Running in 4bef2562cba0 [2020-09-15T02:21:45.784Z] Removing intermediate container 4bef2562cba0 [2020-09-15T02:21:45.784Z] ---> de6ae9c2b910 [2020-09-15T02:21:45.785Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T02:21:45.785Z] Successfully built de6ae9c2b910 [2020-09-15T02:21:46.022Z] OK: 142 MiB in 39 packages [2020-09-15T02:21:46.047Z] 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] } [2020-09-15T02:21:46.998Z] Removing intermediate container 8ff11d87c56e [2020-09-15T02:21:46.998Z] ---> 6c8f0b676145 [2020-09-15T02:21:46.998Z] Step 8/24 : COPY . . [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-15T02:21:48.459Z] ---> 2c95ea490654 [2020-09-15T02:21:48.459Z] Step 9/24 : RUN ${MAKE} [2020-09-15T02:21:48.459Z] ---> Running in bc881c2a4558 [2020-09-15T02:21:49.893Z] 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-15T02:22:12.069Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T02:22:15.456Z] Removing intermediate container bc881c2a4558 [2020-09-15T02:22:15.456Z] ---> ce6c0a66f9f5 [2020-09-15T02:22:15.456Z] Step 10/24 : FROM scratch [2020-09-15T02:22:15.456Z] ---> [2020-09-15T02:22:15.456Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T02:22:15.456Z] ---> Running in 314c03c30226 [2020-09-15T02:22:15.456Z] Removing intermediate container 314c03c30226 [2020-09-15T02:22:15.456Z] ---> 5976e42a261d [2020-09-15T02:22:15.456Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T02:22:15.731Z] ---> Running in d01da9df8b93 [2020-09-15T02:22:16.003Z] Removing intermediate container d01da9df8b93 [2020-09-15T02:22:16.003Z] ---> f6015eeaf64f [2020-09-15T02:22:16.003Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T02:22:16.276Z] ---> Running in 875f9d41544f [2020-09-15T02:22:16.554Z] Removing intermediate container 875f9d41544f [2020-09-15T02:22:16.554Z] ---> cef0485ebba2 [2020-09-15T02:22:16.554Z] Step 14/24 : WORKDIR / [2020-09-15T02:22:16.833Z] ---> Running in 0795027180d0 [2020-09-15T02:22:17.106Z] Removing intermediate container 0795027180d0 [2020-09-15T02:22:17.106Z] ---> 77c9e01f9e0d [2020-09-15T02:22:17.106Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T02:22:18.089Z] ---> 8bf1b5e5cfae [2020-09-15T02:22:18.089Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T02:22:19.066Z] ---> 2c1de7730dfd [2020-09-15T02:22:19.066Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T02:22:19.659Z] ---> e0acdca46d38 [2020-09-15T02:22:19.659Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T02:22:20.255Z] ---> 452e386ab2aa [2020-09-15T02:22:20.255Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T02:22:21.233Z] ---> 363a445f2094 [2020-09-15T02:22:21.233Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T02:22:21.233Z] ---> Running in 321d6996bcf0 [2020-09-15T02:22:21.504Z] Removing intermediate container 321d6996bcf0 [2020-09-15T02:22:21.504Z] ---> 481087c3b186 [2020-09-15T02:22:21.505Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T02:22:21.779Z] ---> Running in 3ea5b7bbc408 [2020-09-15T02:22:22.054Z] Removing intermediate container 3ea5b7bbc408 [2020-09-15T02:22:22.054Z] ---> ec69e00a5412 [2020-09-15T02:22:22.054Z] Step 22/24 : LABEL arch=arm64 [2020-09-15T02:22:22.325Z] ---> Running in c4a5e346d9ad [2020-09-15T02:22:22.598Z] Removing intermediate container c4a5e346d9ad [2020-09-15T02:22:22.598Z] ---> 61f62d32e3de [2020-09-15T02:22:22.598Z] Step 23/24 : LABEL git_sha=966a3ac5b3067e46b49cbd3d06faec0746e464c1 [2020-09-15T02:22:22.871Z] ---> Running in 874db4d69e7c [2020-09-15T02:22:23.465Z] Removing intermediate container 874db4d69e7c [2020-09-15T02:22:23.465Z] ---> 8421492dbecc [2020-09-15T02:22:23.465Z] Step 24/24 : LABEL version=0.0.0 [2020-09-15T02:22:23.465Z] ---> Running in 014b52c4fd49 [2020-09-15T02:22:24.060Z] Removing intermediate container 014b52c4fd49 [2020-09-15T02:22:24.060Z] ---> d6debfe598f5 [2020-09-15T02:22:24.060Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T02:22:24.060Z] Successfully built d6debfe598f5 [2020-09-15T02:22:24.060Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-15T02:22:26.471Z] provisioning config files... [2020-09-15T02:22:26.486Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config644542859731509579tmp [Pipeline] { [Pipeline] sh [2020-09-15T02:22:26.871Z] + curl -s https://codecov.io/bash [2020-09-15T02:22:26.871Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config644542859731509579tmp [Pipeline] } [2020-09-15T02:24:48.509Z] 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-15T02:24:56.082Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T02:24:56.653Z] ---> package-listing.sh [2020-09-15T02:24:56.653Z] ++ facter osfamily [2020-09-15T02:24:56.653Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-15T02:24:56.653Z] + OS_FAMILY=redhat [2020-09-15T02:24:56.653Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-09-15T02:24:56.653Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-15T02:24:56.653Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-15T02:24:56.653Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-15T02:24:56.653Z] + PACKAGES=/tmp/packages_start.txt [2020-09-15T02:24:56.653Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-09-15T02:24:56.653Z] + PACKAGES=/tmp/packages_end.txt [2020-09-15T02:24:56.653Z] + case "${OS_FAMILY}" in [2020-09-15T02:24:56.653Z] + rpm -qa [2020-09-15T02:24:56.653Z] + sort [2020-09-15T02:25:00.883Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-15T02:25:00.883Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-15T02:25:00.883Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-15T02:25:00.883Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-09-15T02:25:00.883Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [2020-09-15T02:25:00.883Z] + 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-15T02:25:02.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T02:25:02.151Z] [2020-09-15T02:25:02.151Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-15T02:25:02.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T02:25:02.510Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-15T02:25:02.510Z] df20fa9351a1: Pulling fs layer [2020-09-15T02:25:02.510Z] 36b3adc4ff6f: Pulling fs layer [2020-09-15T02:25:02.510Z] 8ad3a11d3b57: Pulling fs layer [2020-09-15T02:25:02.510Z] 46f8f816bc3b: Pulling fs layer [2020-09-15T02:25:02.510Z] 0dadc02b9964: Pulling fs layer [2020-09-15T02:25:02.510Z] ce6a7cf60c04: Pulling fs layer [2020-09-15T02:25:02.510Z] 7a184a31f384: Pulling fs layer [2020-09-15T02:25:02.510Z] 0879bd2ef858: Pulling fs layer [2020-09-15T02:25:02.510Z] ce6a7cf60c04: Waiting [2020-09-15T02:25:02.510Z] 0879bd2ef858: Waiting [2020-09-15T02:25:02.510Z] 7a184a31f384: Waiting [2020-09-15T02:25:02.510Z] 46f8f816bc3b: Waiting [2020-09-15T02:25:02.510Z] 36b3adc4ff6f: Verifying Checksum [2020-09-15T02:25:02.510Z] 36b3adc4ff6f: Download complete [2020-09-15T02:25:02.510Z] 46f8f816bc3b: Verifying Checksum [2020-09-15T02:25:02.510Z] 46f8f816bc3b: Download complete [2020-09-15T02:25:02.774Z] df20fa9351a1: Verifying Checksum [2020-09-15T02:25:02.774Z] ce6a7cf60c04: Verifying Checksum [2020-09-15T02:25:02.774Z] ce6a7cf60c04: Download complete [2020-09-15T02:25:02.774Z] 7a184a31f384: Download complete [2020-09-15T02:25:02.774Z] 0dadc02b9964: Verifying Checksum [2020-09-15T02:25:02.774Z] 0dadc02b9964: Download complete [2020-09-15T02:25:03.037Z] df20fa9351a1: Pull complete [2020-09-15T02:25:03.310Z] 8ad3a11d3b57: Verifying Checksum [2020-09-15T02:25:03.310Z] 8ad3a11d3b57: Download complete [2020-09-15T02:25:03.310Z] 36b3adc4ff6f: Pull complete [2020-09-15T02:25:03.574Z] 0879bd2ef858: Verifying Checksum [2020-09-15T02:25:03.574Z] 0879bd2ef858: Download complete [2020-09-15T02:25:03.839Z] 8ad3a11d3b57: Pull complete [2020-09-15T02:25:04.103Z] 46f8f816bc3b: Pull complete [2020-09-15T02:25:04.367Z] 0dadc02b9964: Pull complete [2020-09-15T02:25:04.367Z] ce6a7cf60c04: Pull complete [2020-09-15T02:25:04.631Z] 7a184a31f384: Pull complete [2020-09-15T02:25:06.584Z] 0879bd2ef858: Pull complete [2020-09-15T02:25:06.584Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-15T02:25:06.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T02:25:06.584Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-15T02:25:06.717Z] prd-centos7-docker-4c-2g-43206 does not seem to be running inside a container [2020-09-15T02:25:06.770Z] $ 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-15T02:25:13.179Z] $ docker top 8b109a3710bb3095706bba4ac65ec89232a9c2f8173ed84c9d139f0595bde145 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T02:25:13.780Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-15T02:25:14.081Z] + ls /var/log/sa-host [2020-09-15T02:25:14.081Z] + sadf -c /var/log/sa-host/sa05 [2020-09-15T02:25:14.081Z] file_magic: OK [2020-09-15T02:25:14.081Z] HZ: Using current value: 100 [2020-09-15T02:25:14.081Z] file_header: OK [2020-09-15T02:25:14.081Z] 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-15T02:25:14.081Z] Statistics: [2020-09-15T02:25:14.081Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T02:25:14.081Z] File successfully converted to sysstat format version 12.2.1 [2020-09-15T02:25:14.081Z] + sadf -c /var/log/sa-host/sa15 [2020-09-15T02:25:14.081Z] file_magic: OK [2020-09-15T02:25:14.081Z] HZ: Using current value: 100 [2020-09-15T02:25:14.081Z] file_header: OK [2020-09-15T02:25:14.081Z] 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-15T02:25:14.081Z] Statistics: [2020-09-15T02:25:14.081Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T02:25:14.081Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-15T02:25:14.155Z] provisioning config files... [2020-09-15T02:25:14.172Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5032199476503407131tmp [Pipeline] { [Pipeline] echo [2020-09-15T02:25:14.279Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T02:25:14.575Z] ---> create-netrc.sh [Pipeline] echo [2020-09-15T02:25:14.587Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T02:25:14.887Z] ---> logs-deploy.sh [2020-09-15T02:25:14.887Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/17 [2020-09-15T02:25:14.887Z] INFO: archiving workspace using pattern(s): [2020-09-15T02:25:16.282Z] Archives upload complete. [2020-09-15T02:25:16.282Z] INFO: archiving logs to Nexus