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 7ebf8157bed3f29606eb8346b104e57a74818c1e rather than aa005033e4485a39a97c9fe896770a8d63935a68 Obtained Jenkinsfile from 7ebf8157bed3f29606eb8346b104e57a74818c1e 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-1677 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 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 Fetching without tags Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit aa005033e4485a39a97c9fe896770a8d63935a68 Merge succeeded, producing aa005033e4485a39a97c9fe896770a8d63935a68 Checking out Revision aa005033e4485a39a97c9fe896770a8d63935a68 (PR-553) > 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 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 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 Commit message: "refactor: Refactor processAsyncResults func to use goroutine" First time build. Skipping changelog. > git rev-list --no-walk 1ef1e751dc980b640aac115d7835b7c4bd89469a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-07T03:03:21.644Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-07T03:03:21.848Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-07T03:03:21.933Z] ========================================================= [2020-09-07T03:03:21.933Z] EdgeX Global Pipelines Version Info [2020-09-07T03:03:21.933Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-07T03:03:23.832Z] ------------------- [2020-09-07T03:03:23.832Z] stable info: [2020-09-07T03:03:23.832Z] ------------------- [2020-09-07T03:03:23.832Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-07T03:03:23.832Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-07T03:03:23.832Z] Message: update stable to v1.0.119 [2020-09-07T03:03:24.411Z] ------------------- [2020-09-07T03:03:24.411Z] experimental info: [2020-09-07T03:03:24.411Z] ------------------- [2020-09-07T03:03:24.411Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-07T03:03:24.411Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-07T03:03:24.411Z] Message: update experimental to v1.0.119 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-07T03:03:24.717Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-07T03:03:24.794Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-07T03:03:24.870Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-07T03:03:24.991Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-07T03:03:25.074Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-07T03:03:25.151Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-07T03:03:25.246Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-07T03:03:25.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-07T03:03:25.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-07T03:03:25.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-07T03:03:25.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-07T03:03:25.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-07T03:03:25.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-07T03:03:25.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-07T03:03:25.927Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-07T03:03:26.004Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-07T03:03:26.083Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-07T03:03:26.161Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-07T03:03:26.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-07T03:03:26.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-07T03:03:26.406Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-07T03:03:26.562Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-07T03:03:26.656Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo [2020-09-07T03:03:26.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo [2020-09-07T03:03:26.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo [2020-09-07T03:03:26.906Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa005033e4485a39a97c9fe896770a8d63935a68 [Pipeline] echo [2020-09-07T03:03:26.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa00503 [Pipeline] echo [2020-09-07T03:03:27.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-07T03:03:27.670Z] + git log --format=format:%s -1 aa005033e4485a39a97c9fe896770a8d63935a68 [Pipeline] echo [2020-09-07T03:03:27.724Z] GIT_COMMIT: aa005033e4485a39a97c9fe896770a8d63935a68, Commit Message: refactor: Refactor processAsyncResults func to use goroutine [Pipeline] echo [2020-09-07T03:03:27.768Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-07T03:03:28.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-07T03:03:28.389Z] [2020-09-07T03:03:28.389Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-07T03:03:28.731Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-07T03:03:28.731Z] latest: Pulling from edgex-devops/git-semver [2020-09-07T03:03:28.731Z] 31603596830f: Pulling fs layer [2020-09-07T03:03:28.731Z] 2a8b12db71e7: Pulling fs layer [2020-09-07T03:03:28.731Z] 6ca5941a6612: Pulling fs layer [2020-09-07T03:03:28.731Z] ecc8261a40a4: Pulling fs layer [2020-09-07T03:03:28.731Z] ecc8261a40a4: Waiting [2020-09-07T03:03:28.731Z] 2a8b12db71e7: Verifying Checksum [2020-09-07T03:03:28.731Z] 2a8b12db71e7: Download complete [2020-09-07T03:03:28.995Z] 31603596830f: Verifying Checksum [2020-09-07T03:03:28.995Z] 31603596830f: Download complete [2020-09-07T03:03:28.995Z] ecc8261a40a4: Verifying Checksum [2020-09-07T03:03:28.995Z] ecc8261a40a4: Download complete [2020-09-07T03:03:28.995Z] 6ca5941a6612: Verifying Checksum [2020-09-07T03:03:28.995Z] 6ca5941a6612: Download complete [2020-09-07T03:03:29.261Z] 31603596830f: Pull complete [2020-09-07T03:03:29.261Z] 2a8b12db71e7: Pull complete [2020-09-07T03:03:30.212Z] 6ca5941a6612: Pull complete [2020-09-07T03:03:30.212Z] ecc8261a40a4: Pull complete [2020-09-07T03:03:30.212Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-07T03:03:30.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-07T03:03:30.473Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-07T03:03:30.569Z] prd-centos7-docker-4c-2g-1677 does not seem to be running inside a container [2020-09-07T03:03:30.611Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-07T03:03:32.980Z] $ docker top 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-07T03:03:33.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-07T03:03:33.236Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-07T03:03:33.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-07T03:03:33.447Z] $ docker exec 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 ssh-agent [2020-09-07T03:03:33.608Z] SSH_AUTH_SOCK=/tmp/ssh-AorQ4K8DmNVB/agent.11 [2020-09-07T03:03:33.608Z] SSH_AGENT_PID=17 [2020-09-07T03:03:33.623Z] Running ssh-add (command line suppressed) [2020-09-07T03:03:33.743Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_1683336626658785215.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_1683336626658785215.key) [2020-09-07T03:03:33.792Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-07T03:03:34.116Z] + git describe --exact-match --tags HEAD [2020-09-07T03:03:34.116Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-07T03:03:34.137Z] $ docker exec --env ******** --env ******** 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 ssh-agent -k [2020-09-07T03:03:34.248Z] unset SSH_AUTH_SOCK; [2020-09-07T03:03:34.249Z] unset SSH_AGENT_PID; [2020-09-07T03:03:34.249Z] echo Agent pid 17 killed; [2020-09-07T03:03:34.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-07T03:03:34.372Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-07T03:03:34.372Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-07T03:03:34.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-07T03:03:34.457Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-07T03:03:34.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-07T03:03:34.632Z] $ docker exec 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 ssh-agent [2020-09-07T03:03:34.785Z] SSH_AUTH_SOCK=/tmp/ssh-Ae9UejGNmRBm/agent.45 [2020-09-07T03:03:34.785Z] SSH_AGENT_PID=50 [2020-09-07T03:03:34.791Z] Running ssh-add (command line suppressed) [2020-09-07T03:03:34.914Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4499179697068313686.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4499179697068313686.key) [2020-09-07T03:03:34.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-07T03:03:35.291Z] + git semver init [2020-09-07T03:03:35.291Z] # -> Open(): unable to determine branch for HEAD [2020-09-07T03:03:35.291Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git [2020-09-07T03:03:35.291Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-09-07T03:03:35.291Z] # $SEMVER_REMOTE_NAME = origin [2020-09-07T03:03:35.291Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-07T03:03:35.291Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-07T03:03:35.291Z] # $SEMVER_BRANCH = PR-553 [2020-09-07T03:03:35.291Z] # $SEMVER_TEMP = /tmp/semver-026799743 [2020-09-07T03:03:35.291Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-07T03:03:35.861Z] # '/tmp/semver-026799743' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' [2020-09-07T03:03:35.861Z] # -> Force: false [2020-09-07T03:03:35.861Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } [2020-09-07T03:03:35.875Z] $ docker exec --env ******** --env ******** 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 ssh-agent -k [2020-09-07T03:03:35.989Z] unset SSH_AUTH_SOCK; [2020-09-07T03:03:35.989Z] unset SSH_AGENT_PID; [2020-09-07T03:03:35.989Z] echo Agent pid 50 killed; [2020-09-07T03:03:36.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-07T03:03:36.468Z] + git semver [Pipeline] } [2020-09-07T03:03:36.487Z] $ docker stop --time=1 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 [2020-09-07T03:03:37.890Z] $ docker rm -f 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-07T03:03:38.708Z] Stashed 32 file(s) [Pipeline] echo [2020-09-07T03:03:38.711Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-07T03:03:38.797Z] 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-07T03:03:54.164Z] Still waiting to schedule task [2020-09-07T03:03:54.164Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-07T03:03:54.167Z] Still waiting to schedule task [2020-09-07T03:03:54.167Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-07T03:05:41.862Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1679 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-09-07T03:05:41.955Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-09-07T03:05:46.570Z] using credential edgex-jenkins-ssh [2020-09-07T03:05:46.623Z] Cloning the remote Git repository [2020-09-07T03:05:46.623Z] Cloning with configured refspecs honoured and without tags [2020-09-07T03:05:46.686Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-07T03:05:46.799Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2020-09-07T03:05:46.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-07T03:05:46.878Z] > git --version # timeout=10 [2020-09-07T03:05:46.895Z] > git --version # 'git version 2.17.1' [2020-09-07T03:05:46.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-07T03:05:46.955Z] > 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-07T03:05:47.925Z] Fetching without tags [2020-09-07T03:05:47.850Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-07T03:05:47.873Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-09-07T03:05:47.891Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-07T03:05:47.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-07T03:05:47.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-07T03:05:47.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-07T03:05:47.953Z] > 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-07T03:05:48.392Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit aa005033e4485a39a97c9fe896770a8d63935a68 [2020-09-07T03:05:48.709Z] Merge succeeded, producing aa005033e4485a39a97c9fe896770a8d63935a68 [2020-09-07T03:05:48.710Z] Checking out Revision aa005033e4485a39a97c9fe896770a8d63935a68 (PR-553) [2020-09-07T03:05:48.416Z] > git config core.sparsecheckout # timeout=10 [2020-09-07T03:05:48.429Z] > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [2020-09-07T03:05:48.597Z] > git remote # timeout=10 [2020-09-07T03:05:48.627Z] > git config --get remote.origin.url # timeout=10 [2020-09-07T03:05:48.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-07T03:05:48.662Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-07T03:05:48.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-07T03:05:48.721Z] > git config core.sparsecheckout # timeout=10 [2020-09-07T03:05:48.734Z] > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [2020-09-07T03:05:52.909Z] Commit message: "refactor: Refactor processAsyncResults func to use goroutine" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-07T03:05:54.173Z] ========================================================= [2020-09-07T03:05:54.173Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-07T03:05:54.173Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-07T03:05:55.150Z] + 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-07T03:05:56.131Z] Sending build context to Docker daemon 3.141MB [2020-09-07T03:05:56.131Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-07T03:05:56.131Z] Step 2/8 : FROM ${BASE} [2020-09-07T03:05:56.407Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-07T03:05:56.407Z] b538f80385f9: Pulling fs layer [2020-09-07T03:05:56.407Z] 74f711af9a0d: Pulling fs layer [2020-09-07T03:05:56.407Z] 99f96fe45779: Pulling fs layer [2020-09-07T03:05:56.407Z] fd7a069fd194: Pulling fs layer [2020-09-07T03:05:56.407Z] 66aa3694b03b: Pulling fs layer [2020-09-07T03:05:56.407Z] 170f70906a0f: Pulling fs layer [2020-09-07T03:05:56.407Z] ad7c5574e4b9: Pulling fs layer [2020-09-07T03:05:56.407Z] e772456be8f7: Pulling fs layer [2020-09-07T03:05:56.407Z] c890913d741a: Pulling fs layer [2020-09-07T03:05:56.407Z] 2480fcc9aa5a: Pulling fs layer [2020-09-07T03:05:56.407Z] 09adf4765672: Pulling fs layer [2020-09-07T03:05:56.407Z] fd7a069fd194: Waiting [2020-09-07T03:05:56.407Z] 66aa3694b03b: Waiting [2020-09-07T03:05:56.407Z] 170f70906a0f: Waiting [2020-09-07T03:05:56.407Z] ad7c5574e4b9: Waiting [2020-09-07T03:05:56.407Z] e772456be8f7: Waiting [2020-09-07T03:05:56.407Z] c890913d741a: Waiting [2020-09-07T03:05:56.407Z] 2480fcc9aa5a: Waiting [2020-09-07T03:05:56.407Z] 09adf4765672: Waiting [2020-09-07T03:05:56.407Z] 99f96fe45779: Verifying Checksum [2020-09-07T03:05:56.407Z] 99f96fe45779: Download complete [2020-09-07T03:05:56.407Z] 74f711af9a0d: Download complete [2020-09-07T03:05:56.407Z] 66aa3694b03b: Verifying Checksum [2020-09-07T03:05:56.407Z] 66aa3694b03b: Download complete [2020-09-07T03:05:56.407Z] 170f70906a0f: Verifying Checksum [2020-09-07T03:05:56.407Z] 170f70906a0f: Download complete [2020-09-07T03:05:56.686Z] b538f80385f9: Verifying Checksum [2020-09-07T03:05:56.686Z] b538f80385f9: Download complete [2020-09-07T03:05:57.290Z] b538f80385f9: Pull complete [2020-09-07T03:05:57.901Z] 74f711af9a0d: Pull complete [2020-09-07T03:05:58.501Z] 99f96fe45779: Pull complete [2020-09-07T03:05:59.477Z] ad7c5574e4b9: Verifying Checksum [2020-09-07T03:05:59.477Z] ad7c5574e4b9: Download complete [2020-09-07T03:05:59.749Z] c890913d741a: Verifying Checksum [2020-09-07T03:05:59.749Z] c890913d741a: Download complete [2020-09-07T03:06:01.222Z] 2480fcc9aa5a: Verifying Checksum [2020-09-07T03:06:01.222Z] 2480fcc9aa5a: Download complete [2020-09-07T03:06:01.222Z] 09adf4765672: Verifying Checksum [2020-09-07T03:06:01.222Z] 09adf4765672: Download complete [2020-09-07T03:06:01.500Z] e772456be8f7: Verifying Checksum [2020-09-07T03:06:02.090Z] fd7a069fd194: Verifying Checksum [2020-09-07T03:06:02.090Z] fd7a069fd194: Download complete [2020-09-07T03:06:02.973Z] Running on prd-centos7-docker-4c-2g-1680 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-09-07T03:06:03.027Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-09-07T03:06:05.638Z] using credential edgex-jenkins-ssh [2020-09-07T03:06:05.688Z] Cloning the remote Git repository [2020-09-07T03:06:05.688Z] Cloning with configured refspecs honoured and without tags [2020-09-07T03:06:05.721Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-07T03:06:05.790Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2020-09-07T03:06:05.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-07T03:06:05.835Z] > git --version # timeout=10 [2020-09-07T03:06:05.844Z] > git --version # 'git version 2.16.5' [2020-09-07T03:06:05.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-07T03:06:05.876Z] > 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-07T03:06:07.492Z] Fetching without tags [2020-09-07T03:06:07.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-07T03:06:07.463Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-09-07T03:06:07.474Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-07T03:06:07.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-07T03:06:07.501Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-07T03:06:07.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-07T03:06:07.506Z] > 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-07T03:06:07.886Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit aa005033e4485a39a97c9fe896770a8d63935a68 [2020-09-07T03:06:07.978Z] Merge succeeded, producing aa005033e4485a39a97c9fe896770a8d63935a68 [2020-09-07T03:06:07.979Z] Checking out Revision aa005033e4485a39a97c9fe896770a8d63935a68 (PR-553) [2020-09-07T03:06:07.899Z] > git config core.sparsecheckout # timeout=10 [2020-09-07T03:06:07.905Z] > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [2020-09-07T03:06:07.949Z] > git remote # timeout=10 [2020-09-07T03:06:07.957Z] > git config --get remote.origin.url # timeout=10 [2020-09-07T03:06:07.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-07T03:06:07.967Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-07T03:06:07.977Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-07T03:06:07.987Z] > git config core.sparsecheckout # timeout=10 [2020-09-07T03:06:07.996Z] > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 [2020-09-07T03:06:11.595Z] Commit message: "refactor: Refactor processAsyncResults func to use goroutine" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-07T03:06:12.563Z] ========================================================= [2020-09-07T03:06:12.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-07T03:06:12.563Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-07T03:06:13.293Z] + 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-07T03:06:14.479Z] fd7a069fd194: Pull complete [2020-09-07T03:06:14.479Z] 66aa3694b03b: Pull complete [2020-09-07T03:06:14.479Z] 170f70906a0f: Pull complete [2020-09-07T03:06:14.696Z] Sending build context to Docker daemon 3.141MB [2020-09-07T03:06:14.696Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-07T03:06:14.696Z] Step 2/8 : FROM ${BASE} [2020-09-07T03:06:14.696Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-07T03:06:14.696Z] df20fa9351a1: Pulling fs layer [2020-09-07T03:06:14.696Z] ed8968b2872e: Pulling fs layer [2020-09-07T03:06:14.696Z] a92cc7c5fd73: Pulling fs layer [2020-09-07T03:06:14.696Z] 2dd03ba5bac4: Pulling fs layer [2020-09-07T03:06:14.696Z] 1e091d79d1de: Pulling fs layer [2020-09-07T03:06:14.696Z] 481702a1767f: Pulling fs layer [2020-09-07T03:06:14.696Z] f64a6f60c768: Pulling fs layer [2020-09-07T03:06:14.696Z] e78d2573fc39: Pulling fs layer [2020-09-07T03:06:14.696Z] e876d2f968b6: Pulling fs layer [2020-09-07T03:06:14.696Z] ce8a83651883: Pulling fs layer [2020-09-07T03:06:14.696Z] 07967f4d0e4b: Pulling fs layer [2020-09-07T03:06:14.696Z] f64a6f60c768: Waiting [2020-09-07T03:06:14.696Z] e78d2573fc39: Waiting [2020-09-07T03:06:14.696Z] e876d2f968b6: Waiting [2020-09-07T03:06:14.696Z] ce8a83651883: Waiting [2020-09-07T03:06:14.696Z] 07967f4d0e4b: Waiting [2020-09-07T03:06:14.696Z] 2dd03ba5bac4: Waiting [2020-09-07T03:06:14.696Z] 1e091d79d1de: Waiting [2020-09-07T03:06:14.696Z] 481702a1767f: Waiting [2020-09-07T03:06:14.696Z] a92cc7c5fd73: Verifying Checksum [2020-09-07T03:06:14.696Z] a92cc7c5fd73: Download complete [2020-09-07T03:06:14.696Z] ed8968b2872e: Download complete [2020-09-07T03:06:14.696Z] 1e091d79d1de: Verifying Checksum [2020-09-07T03:06:14.696Z] 1e091d79d1de: Download complete [2020-09-07T03:06:14.696Z] 481702a1767f: Verifying Checksum [2020-09-07T03:06:14.696Z] 481702a1767f: Download complete [2020-09-07T03:06:14.696Z] df20fa9351a1: Download complete [2020-09-07T03:06:14.985Z] df20fa9351a1: Pull complete [2020-09-07T03:06:15.251Z] ed8968b2872e: Pull complete [2020-09-07T03:06:15.251Z] a92cc7c5fd73: Pull complete [2020-09-07T03:06:17.192Z] f64a6f60c768: Verifying Checksum [2020-09-07T03:06:17.192Z] f64a6f60c768: Download complete [2020-09-07T03:06:17.192Z] e876d2f968b6: Verifying Checksum [2020-09-07T03:06:17.192Z] e876d2f968b6: Download complete [2020-09-07T03:06:17.872Z] ad7c5574e4b9: Pull complete [2020-09-07T03:06:18.150Z] ce8a83651883: Verifying Checksum [2020-09-07T03:06:18.150Z] ce8a83651883: Download complete [2020-09-07T03:06:18.150Z] e78d2573fc39: Verifying Checksum [2020-09-07T03:06:18.150Z] e78d2573fc39: Download complete [2020-09-07T03:06:18.150Z] 07967f4d0e4b: Download complete [2020-09-07T03:06:18.413Z] 2dd03ba5bac4: Download complete [2020-09-07T03:06:22.189Z] e772456be8f7: Pull complete [2020-09-07T03:06:22.464Z] c890913d741a: Pull complete [2020-09-07T03:06:23.729Z] 2dd03ba5bac4: Pull complete [2020-09-07T03:06:23.729Z] 1e091d79d1de: Pull complete [2020-09-07T03:06:23.993Z] 481702a1767f: Pull complete [2020-09-07T03:06:25.089Z] 2480fcc9aa5a: Pull complete [2020-09-07T03:06:25.089Z] 09adf4765672: Pull complete [2020-09-07T03:06:25.363Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-07T03:06:25.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-07T03:06:25.363Z] ---> 2248a725d1cf [2020-09-07T03:06:25.363Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-07T03:06:29.666Z] ---> Running in 9512ce32af18 [2020-09-07T03:06:29.666Z] Removing intermediate container 9512ce32af18 [2020-09-07T03:06:29.666Z] ---> d40a9d54be8e [2020-09-07T03:06:29.666Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-07T03:06:29.666Z] ---> Running in a9ea71cc8d39 [2020-09-07T03:06:32.167Z] f64a6f60c768: Pull complete [2020-09-07T03:06:32.291Z] Removing intermediate container a9ea71cc8d39 [2020-09-07T03:06:32.291Z] ---> 6e407f422ea2 [2020-09-07T03:06:32.291Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-07T03:06:32.291Z] ---> Running in f9fdc3428c64 [2020-09-07T03:06:33.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-07T03:06:34.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-07T03:06:34.738Z] e78d2573fc39: Pull complete [2020-09-07T03:06:34.738Z] e876d2f968b6: Pull complete [2020-09-07T03:06:35.281Z] OK: 142 MiB in 39 packages [2020-09-07T03:06:36.139Z] ce8a83651883: Pull complete [2020-09-07T03:06:36.139Z] 07967f4d0e4b: Pull complete [2020-09-07T03:06:36.139Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-07T03:06:36.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-07T03:06:36.139Z] ---> 5d7c900382c6 [2020-09-07T03:06:36.139Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-07T03:06:36.261Z] Removing intermediate container f9fdc3428c64 [2020-09-07T03:06:36.261Z] ---> 4bd935b0d3c4 [2020-09-07T03:06:36.261Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-07T03:06:36.261Z] ---> Running in 097d99e4c8f2 [2020-09-07T03:06:36.855Z] Removing intermediate container 097d99e4c8f2 [2020-09-07T03:06:36.856Z] ---> 7a93cc9b6ee6 [2020-09-07T03:06:36.856Z] Step 7/8 : COPY . . [2020-09-07T03:06:38.068Z] ---> Running in be535ea4d6df [2020-09-07T03:06:38.068Z] Removing intermediate container be535ea4d6df [2020-09-07T03:06:38.068Z] ---> 89d71b0e0935 [2020-09-07T03:06:38.068Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-07T03:06:38.068Z] ---> Running in 4e9fdfd8c57a [2020-09-07T03:06:38.285Z] ---> bbabd3844713 [2020-09-07T03:06:38.285Z] Step 8/8 : RUN go mod download [2020-09-07T03:06:38.285Z] ---> Running in 5e5db26e7af7 [2020-09-07T03:06:39.466Z] Removing intermediate container 4e9fdfd8c57a [2020-09-07T03:06:39.466Z] ---> d75026ad2761 [2020-09-07T03:06:39.466Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-07T03:06:39.728Z] ---> Running in 86976012cb0a [2020-09-07T03:06:40.306Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-07T03:06:40.896Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-07T03:06:40.896Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-07T03:06:40.896Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-07T03:06:40.896Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-07T03:06:40.896Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-07T03:06:40.896Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-07T03:06:40.896Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-07T03:06:41.168Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-07T03:06:41.168Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-07T03:06:41.168Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-07T03:06:41.168Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-07T03:06:41.168Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-07T03:06:41.253Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-07T03:06:41.438Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-07T03:06:41.438Z] go: finding github.com/fatih/color v1.7.0 [2020-09-07T03:06:41.438Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-07T03:06:41.438Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-07T03:06:41.438Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-07T03:06:41.438Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-07T03:06:41.438Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-07T03:06:41.438Z] go: finding github.com/google/uuid v1.1.0 [2020-09-07T03:06:41.438Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-07T03:06:41.519Z] OK: 166 MiB in 39 packages [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-07T03:06:41.710Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-07T03:06:41.980Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-07T03:06:41.980Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-07T03:06:41.980Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-07T03:06:41.980Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-07T03:06:41.980Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-07T03:06:41.980Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-07T03:06:41.980Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-07T03:06:41.980Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-07T03:06:41.980Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-07T03:06:42.091Z] Removing intermediate container 86976012cb0a [2020-09-07T03:06:42.092Z] ---> 0b3a1a23ebb9 [2020-09-07T03:06:42.092Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-07T03:06:42.092Z] ---> Running in 2eae12fc5b46 [2020-09-07T03:06:42.092Z] Removing intermediate container 2eae12fc5b46 [2020-09-07T03:06:42.092Z] ---> fe4c35422fb0 [2020-09-07T03:06:42.092Z] Step 7/8 : COPY . . [2020-09-07T03:06:42.250Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-07T03:06:42.250Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-07T03:06:42.519Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-07T03:06:42.519Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-07T03:06:42.519Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-07T03:06:42.519Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-07T03:06:42.519Z] go: finding github.com/posener/complete v1.1.1 [2020-09-07T03:06:42.519Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-07T03:06:42.519Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-07T03:06:42.519Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-07T03:06:42.519Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-07T03:06:42.519Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-07T03:06:42.790Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-07T03:06:42.790Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-07T03:06:42.790Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-07T03:06:42.790Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-07T03:06:42.790Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-07T03:06:42.790Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-07T03:06:43.062Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-07T03:06:43.486Z] ---> ce25de103581 [2020-09-07T03:06:43.486Z] Step 8/8 : RUN go mod download [2020-09-07T03:06:43.486Z] ---> Running in ae274374921d [2020-09-07T03:06:44.877Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-07T03:06:45.138Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-07T03:06:45.138Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-07T03:06:45.138Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-07T03:06:45.138Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-07T03:06:45.138Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-07T03:06:45.138Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-07T03:06:45.138Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-07T03:06:45.138Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-07T03:06:45.138Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-07T03:06:45.138Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-07T03:06:45.400Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-07T03:06:45.400Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-07T03:06:45.400Z] go: finding github.com/fatih/color v1.7.0 [2020-09-07T03:06:45.400Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-07T03:06:45.400Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-07T03:06:45.400Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-07T03:06:45.400Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-07T03:06:45.400Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-07T03:06:45.400Z] go: finding github.com/google/uuid v1.1.0 [2020-09-07T03:06:45.400Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-07T03:06:45.400Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-07T03:06:45.663Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-07T03:06:45.925Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-07T03:06:45.925Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-07T03:06:45.925Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-07T03:06:45.925Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-07T03:06:45.925Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-07T03:06:45.925Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-07T03:06:45.925Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-07T03:06:45.925Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-07T03:06:45.925Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-07T03:06:45.925Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-07T03:06:45.925Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-07T03:06:46.187Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-07T03:06:46.187Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-07T03:06:46.187Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-07T03:06:46.187Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-07T03:06:46.187Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-07T03:06:46.187Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-07T03:06:46.187Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-07T03:06:46.187Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-07T03:06:46.187Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-07T03:06:46.187Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-07T03:06:46.187Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-07T03:06:46.187Z] go: finding github.com/posener/complete v1.1.1 [2020-09-07T03:06:46.448Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-07T03:06:46.448Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-07T03:06:46.448Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-07T03:06:46.448Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-07T03:06:46.448Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-07T03:06:46.448Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-07T03:06:46.448Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-07T03:06:46.448Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-07T03:06:46.448Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-07T03:06:46.448Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-07T03:06:46.448Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-07T03:06:46.448Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-07T03:06:53.202Z] Removing intermediate container 5e5db26e7af7 [2020-09-07T03:06:53.202Z] ---> e54e75aa02c6 [2020-09-07T03:06:53.202Z] Successfully built e54e75aa02c6 [2020-09-07T03:06:53.202Z] 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-07T03:06:53.952Z] + docker inspect -f . ci-base-image-arm64 [2020-09-07T03:06:53.952Z] . [Pipeline] withDockerContainer [2020-09-07T03:06:54.190Z] prd-ubuntu18.04-docker-arm64-4c-16g-1679 does not seem to be running inside a container [2020-09-07T03:06:54.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-07T03:06:54.688Z] Removing intermediate container ae274374921d [2020-09-07T03:06:54.688Z] ---> 5a1cf0962133 [2020-09-07T03:06:54.688Z] Successfully built 5a1cf0962133 [2020-09-07T03:06:54.688Z] Successfully tagged ci-base-image-x86_64:latest [2020-09-07T03:06:56.018Z] $ docker top 24d8d8d9423e6d88afbb74285a5f614743886eab675b8f0f473de14d7a3d593f -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-07T03:06:56.997Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-07T03:06:56.997Z] . [Pipeline] withDockerContainer [2020-09-07T03:06:57.116Z] prd-centos7-docker-4c-2g-1680 does not seem to be running inside a container [2020-09-07T03:06:57.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-07T03:06:57.367Z] + go version [2020-09-07T03:06:57.367Z] go version go1.13.13 linux/arm64 [2020-09-07T03:06:58.363Z] $ docker top 1ba1f03395fd996322035d058b84fb2962228497a4f08660e90106a82fff6f56 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-09-07T03:06:58.968Z] + go version [2020-09-07T03:06:58.968Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-07T03:06:59.273Z] + make test [2020-09-07T03:06:59.273Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-07T03:06:59.608Z] + make test [2020-09-07T03:06:59.608Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-07T03:07:00.224Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-07T03:07:00.595Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-07T03:07:10.370Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-07T03:07:10.370Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-07T03:07:10.370Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-07T03:07:10.370Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 21.0% of statements [2020-09-07T03:07:11.772Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.047s coverage: 95.7% of statements [2020-09-07T03:07:27.468Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-07T03:07:27.468Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-07T03:07:27.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-07T03:07:29.488Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.0% of statements [2020-09-07T03:07:32.905Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.155s coverage: 95.7% of statements [2020-09-07T03:07:43.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.010s coverage: 8.6% of statements [2020-09-07T03:07:43.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-09-07T03:07:43.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-07T03:07:43.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.026s coverage: 37.0% of statements [2020-09-07T03:07:43.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-07T03:07:43.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.027s coverage: 65.4% of statements [2020-09-07T03:07:43.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-07T03:07:43.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-07T03:07:43.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-07T03:07:43.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.023s coverage: 52.6% of statements [2020-09-07T03:07:43.929Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 68.9% of statements [2020-09-07T03:07:43.929Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-07T03:07:43.929Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-07T03:07:43.929Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-07T03:07:43.929Z] gofmt -l . [2020-09-07T03:07:43.929Z] [ "`gofmt -l .`" = "" ] [2020-09-07T03:07:43.929Z] ./bin/test-attribution-txt.sh [2020-09-07T03:07:44.503Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-07T03:07:45.127Z] Stashed 1 file(s) [Pipeline] } [2020-09-07T03:07:45.139Z] $ docker stop --time=1 1ba1f03395fd996322035d058b84fb2962228497a4f08660e90106a82fff6f56 [2020-09-07T03:07:46.714Z] $ docker rm -f 1ba1f03395fd996322035d058b84fb2962228497a4f08660e90106a82fff6f56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-07T03:07:49.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-07T03:07:49.650Z] + ls -al . [2020-09-07T03:07:49.650Z] total 188 [2020-09-07T03:07:49.650Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 7 03:07 . [2020-09-07T03:07:49.650Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 7 03:06 .. [2020-09-07T03:07:49.650Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 7 03:06 bin [2020-09-07T03:07:49.650Z] -rw-r--r--. 1 jenkins jenkins 111650 Sep 7 03:07 coverage.out [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 7 03:06 Dockerfile.build [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 7 03:06 .dockerignore [2020-09-07T03:07:49.650Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 7 03:06 example [2020-09-07T03:07:49.650Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 7 03:06 .git [2020-09-07T03:07:49.650Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 7 03:06 .github [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 7 03:06 .gitignore [2020-09-07T03:07:49.650Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 7 03:07 go.mod [2020-09-07T03:07:49.650Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 7 03:07 go.sum [2020-09-07T03:07:49.650Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 7 03:06 internal [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 7 03:06 Jenkinsfile [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 7 03:06 LICENSE [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 7 03:06 Makefile [2020-09-07T03:07:49.650Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 7 03:06 openapi [2020-09-07T03:07:49.650Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 7 03:06 pkg [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 7 03:06 README.md [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 7 03:06 RELEASE-NOTES.txt [2020-09-07T03:07:49.650Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 7 03:06 .semver [2020-09-07T03:07:49.650Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 7 03:06 snap [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 7 03:03 VERSION [2020-09-07T03:07:49.650Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 7 03:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-07T03:07:49.951Z] + 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=aa005033e4485a39a97c9fe896770a8d63935a68 --label arch=amd64 --label version=0.0.0 . [2020-09-07T03:07:50.214Z] Sending build context to Docker daemon 3.255MB [2020-09-07T03:07:50.214Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-07T03:07:50.214Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-07T03:07:50.214Z] ---> 5a1cf0962133 [2020-09-07T03:07:50.214Z] Step 3/24 : ARG MAKE='make build' [2020-09-07T03:07:50.480Z] ---> Running in e8547fff83ae [2020-09-07T03:07:50.741Z] Removing intermediate container e8547fff83ae [2020-09-07T03:07:50.741Z] ---> 6a25ac362688 [2020-09-07T03:07:50.741Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-07T03:07:50.741Z] ---> Running in 8eb8b032de7b [2020-09-07T03:07:51.008Z] Removing intermediate container 8eb8b032de7b [2020-09-07T03:07:51.008Z] ---> 3447e345bf14 [2020-09-07T03:07:51.008Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-07T03:07:51.008Z] ---> Running in e3e9f574ba9a [2020-09-07T03:07:51.956Z] Removing intermediate container e3e9f574ba9a [2020-09-07T03:07:51.956Z] ---> 77d986a29a2b [2020-09-07T03:07:51.956Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-07T03:07:51.956Z] ---> Running in 5d01d92ecab2 [2020-09-07T03:07:52.903Z] Removing intermediate container 5d01d92ecab2 [2020-09-07T03:07:52.903Z] ---> 9875e6a28808 [2020-09-07T03:07:52.903Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-07T03:07:52.903Z] ---> Running in 33c323d02135 [2020-09-07T03:07:53.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-07T03:07:54.050Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-07T03:07:54.998Z] OK: 166 MiB in 39 packages [2020-09-07T03:07:55.570Z] Removing intermediate container 33c323d02135 [2020-09-07T03:07:55.570Z] ---> ceb294977871 [2020-09-07T03:07:55.570Z] Step 8/24 : COPY . . [2020-09-07T03:07:56.518Z] ---> 90fcc4e4b754 [2020-09-07T03:07:56.518Z] Step 9/24 : RUN ${MAKE} [2020-09-07T03:07:56.518Z] ---> Running in c34a2e1aa69a [2020-09-07T03:07:57.091Z] 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-07T03:08:05.254Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.040s coverage: 8.6% of statements [2020-09-07T03:08:05.254Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 21.7% of statements [2020-09-07T03:08:05.254Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-07T03:08:05.254Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.075s coverage: 37.0% of statements [2020-09-07T03:08:05.254Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-07T03:08:05.254Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.110s coverage: 65.4% of statements [2020-09-07T03:08:05.254Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-07T03:08:05.254Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-07T03:08:05.254Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-07T03:08:05.254Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.080s coverage: 52.6% of statements [2020-09-07T03:08:05.254Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.354s coverage: 68.9% of statements [2020-09-07T03:08:05.254Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-07T03:08:05.254Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-07T03:08:05.254Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-07T03:08:05.351Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-07T03:08:07.278Z] Removing intermediate container c34a2e1aa69a [2020-09-07T03:08:07.278Z] ---> d006b1ec379a [2020-09-07T03:08:07.278Z] Step 10/24 : FROM scratch [2020-09-07T03:08:07.278Z] ---> [2020-09-07T03:08:07.278Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-07T03:08:07.278Z] ---> Running in cb9c0dbc13c6 [2020-09-07T03:08:07.278Z] Removing intermediate container cb9c0dbc13c6 [2020-09-07T03:08:07.278Z] ---> 5c4aa1bda1fe [2020-09-07T03:08:07.278Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-07T03:08:07.278Z] ---> Running in 22a83a473f75 [2020-09-07T03:08:07.278Z] Removing intermediate container 22a83a473f75 [2020-09-07T03:08:07.278Z] ---> 405eb176fb00 [2020-09-07T03:08:07.278Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-07T03:08:07.541Z] ---> Running in fb162c5e3d2e [2020-09-07T03:08:07.541Z] Removing intermediate container fb162c5e3d2e [2020-09-07T03:08:07.541Z] ---> f3ec557b1659 [2020-09-07T03:08:07.541Z] Step 14/24 : WORKDIR / [2020-09-07T03:08:07.541Z] ---> Running in 06a9cc734c3e [2020-09-07T03:08:07.803Z] Removing intermediate container 06a9cc734c3e [2020-09-07T03:08:07.803Z] ---> 00b8d9309a6f [2020-09-07T03:08:07.803Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-07T03:08:07.879Z] gofmt -l . [2020-09-07T03:08:08.149Z] [ "`gofmt -l .`" = "" ] [2020-09-07T03:08:08.377Z] ---> 53857e8b581b [2020-09-07T03:08:08.377Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-07T03:08:08.423Z] ./bin/test-attribution-txt.sh [2020-09-07T03:08:08.641Z] ---> 1b5d12087142 [2020-09-07T03:08:08.641Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-07T03:08:08.902Z] ---> bf0f4b539348 [2020-09-07T03:08:08.902Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-07T03:08:08.902Z] ---> 71394c295868 [2020-09-07T03:08:08.902Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-07T03:08:09.017Z] ./bin/test-go-mod-tidy.sh [2020-09-07T03:08:09.163Z] ---> 85e8632cb6c1 [2020-09-07T03:08:09.163Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-07T03:08:09.425Z] ---> Running in 21783db9e13f [2020-09-07T03:08:09.425Z] Removing intermediate container 21783db9e13f [2020-09-07T03:08:09.425Z] ---> 5620d0e9f909 [2020-09-07T03:08:09.425Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-07T03:08:09.425Z] ---> Running in f6dc38e9bb12 [2020-09-07T03:08:09.687Z] Removing intermediate container f6dc38e9bb12 [2020-09-07T03:08:09.687Z] ---> 6cc26c61c749 [2020-09-07T03:08:09.687Z] Step 22/24 : LABEL arch=amd64 [2020-09-07T03:08:09.687Z] ---> Running in 8f39b60c80a9 [Pipeline] stash [2020-09-07T03:08:09.754Z] Warning: overwriting stash ‘coverage-report’ [2020-09-07T03:08:09.948Z] Removing intermediate container 8f39b60c80a9 [2020-09-07T03:08:09.948Z] ---> 8279bc03d7e6 [2020-09-07T03:08:09.948Z] Step 23/24 : LABEL git_sha=aa005033e4485a39a97c9fe896770a8d63935a68 [2020-09-07T03:08:09.948Z] ---> Running in 9b0138156228 [2020-09-07T03:08:10.212Z] Removing intermediate container 9b0138156228 [2020-09-07T03:08:10.212Z] ---> d8882916cf75 [2020-09-07T03:08:10.212Z] Step 24/24 : LABEL version=0.0.0 [2020-09-07T03:08:10.212Z] ---> Running in 8d5af88ec252 [2020-09-07T03:08:10.473Z] Removing intermediate container 8d5af88ec252 [2020-09-07T03:08:10.473Z] ---> 7342a0697676 [2020-09-07T03:08:10.473Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-07T03:08:10.473Z] Successfully built 7342a0697676 [2020-09-07T03:08:10.473Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-07T03:08:10.711Z] Stashed 1 file(s) [Pipeline] } [2020-09-07T03:08:10.757Z] $ docker stop --time=1 24d8d8d9423e6d88afbb74285a5f614743886eab675b8f0f473de14d7a3d593f [2020-09-07T03:08:12.858Z] $ docker rm -f 24d8d8d9423e6d88afbb74285a5f614743886eab675b8f0f473de14d7a3d593f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-07T03:08:14.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-09-07T03:08:14.489Z] + ls -al . [2020-09-07T03:08:14.489Z] total 228 [2020-09-07T03:08:14.489Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 03:08 . [2020-09-07T03:08:14.489Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 03:05 .. [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 03:05 .dockerignore [2020-09-07T03:08:14.489Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 03:05 .git [2020-09-07T03:08:14.489Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 03:05 .github [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 7 03:05 .gitignore [2020-09-07T03:08:14.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 03:05 .semver [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 7 03:05 Dockerfile.build [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 7 03:05 Jenkinsfile [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 03:05 LICENSE [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 7 03:05 Makefile [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 7 03:05 README.md [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 7 03:05 RELEASE-NOTES.txt [2020-09-07T03:08:14.489Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 03:03 VERSION [2020-09-07T03:08:14.489Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 03:05 bin [2020-09-07T03:08:14.489Z] -rw-r--r-- 1 jenkins jenkins 111650 Sep 7 03:08 coverage.out [2020-09-07T03:08:14.489Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 03:05 example [2020-09-07T03:08:14.489Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 7 03:08 go.mod [2020-09-07T03:08:14.489Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 7 03:08 go.sum [2020-09-07T03:08:14.489Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 7 03:05 internal [2020-09-07T03:08:14.489Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 03:05 openapi [2020-09-07T03:08:14.490Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 03:05 pkg [2020-09-07T03:08:14.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 03:05 snap [2020-09-07T03:08:14.490Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 03:05 version.go [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh [2020-09-07T03:08:14.914Z] + 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=aa005033e4485a39a97c9fe896770a8d63935a68 --label arch=arm64 --label version=0.0.0 . [2020-09-07T03:08:15.513Z] Sending build context to Docker daemon 3.255MB [2020-09-07T03:08:15.513Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-07T03:08:15.513Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-07T03:08:15.513Z] ---> e54e75aa02c6 [2020-09-07T03:08:15.513Z] Step 3/24 : ARG MAKE='make build' [2020-09-07T03:08:15.513Z] ---> Running in 6f7e576463be [2020-09-07T03:08:16.108Z] Removing intermediate container 6f7e576463be [2020-09-07T03:08:16.108Z] ---> ae7ebc946aad [2020-09-07T03:08:16.108Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-07T03:08:16.108Z] ---> Running in 4274a9fa0a4a [2020-09-07T03:08:16.705Z] Removing intermediate container 4274a9fa0a4a [2020-09-07T03:08:16.705Z] ---> 1cf5eb684267 [2020-09-07T03:08:16.705Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-07T03:08:16.705Z] ---> Running in 7f11d715a1e6 [2020-09-07T03:08:17.302Z] Removing intermediate container 7f11d715a1e6 [2020-09-07T03:08:17.302Z] ---> 993662dd6423 [2020-09-07T03:08:17.302Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-07T03:08:17.302Z] ---> Running in 8373cf90309c [2020-09-07T03:08:19.925Z] Removing intermediate container 8373cf90309c [2020-09-07T03:08:19.925Z] ---> ccd88aa33773 [2020-09-07T03:08:19.925Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-07T03:08:19.925Z] ---> Running in 63ec75a2311b [2020-09-07T03:08:21.358Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-07T03:08:21.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-07T03:08:22.566Z] OK: 142 MiB in 39 packages [2020-09-07T03:08:24.002Z] Removing intermediate container 63ec75a2311b [2020-09-07T03:08:24.002Z] ---> 7267dc668296 [2020-09-07T03:08:24.002Z] Step 8/24 : COPY . . [2020-09-07T03:08:24.981Z] ---> 09f68329c9fc [2020-09-07T03:08:24.981Z] Step 9/24 : RUN ${MAKE} [2020-09-07T03:08:24.981Z] ---> Running in fa5059fd0483 [2020-09-07T03:08:26.423Z] 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-07T03:08:53.260Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-07T03:08:53.260Z] Removing intermediate container fa5059fd0483 [2020-09-07T03:08:53.260Z] ---> 9230fd2ee2c6 [2020-09-07T03:08:53.260Z] Step 10/24 : FROM scratch [2020-09-07T03:08:53.260Z] ---> [2020-09-07T03:08:53.260Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-07T03:08:53.260Z] ---> Running in 227c03aab7b9 [2020-09-07T03:08:53.260Z] Removing intermediate container 227c03aab7b9 [2020-09-07T03:08:53.260Z] ---> 7b7d6b9af236 [2020-09-07T03:08:53.260Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-07T03:08:53.260Z] ---> Running in 8bf5567f44da [2020-09-07T03:08:53.532Z] Removing intermediate container 8bf5567f44da [2020-09-07T03:08:53.533Z] ---> aeb189f2f3a7 [2020-09-07T03:08:53.533Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-07T03:08:53.533Z] ---> Running in 0ee1c5a0a6a6 [2020-09-07T03:08:53.808Z] Removing intermediate container 0ee1c5a0a6a6 [2020-09-07T03:08:53.808Z] ---> 19676df79193 [2020-09-07T03:08:53.808Z] Step 14/24 : WORKDIR / [2020-09-07T03:08:54.081Z] ---> Running in ba5921391124 [2020-09-07T03:08:54.352Z] Removing intermediate container ba5921391124 [2020-09-07T03:08:54.352Z] ---> 27f571724575 [2020-09-07T03:08:54.352Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-07T03:08:55.783Z] ---> 47fd4dcf96de [2020-09-07T03:08:55.783Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-07T03:08:56.055Z] ---> 8373501949b7 [2020-09-07T03:08:56.055Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-07T03:08:57.036Z] ---> 9654ce6a837e [2020-09-07T03:08:57.036Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-07T03:08:57.632Z] ---> 46949c3e3861 [2020-09-07T03:08:57.632Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-07T03:08:58.224Z] ---> 79bff8f223e3 [2020-09-07T03:08:58.224Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-07T03:08:58.224Z] ---> Running in 27ccca9e86d9 [2020-09-07T03:08:58.817Z] Removing intermediate container 27ccca9e86d9 [2020-09-07T03:08:58.817Z] ---> abaa6437015e [2020-09-07T03:08:58.817Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-07T03:08:59.095Z] ---> Running in 8def1d26b3d5 [2020-09-07T03:08:59.369Z] Removing intermediate container 8def1d26b3d5 [2020-09-07T03:08:59.369Z] ---> 62202ae6560b [2020-09-07T03:08:59.369Z] Step 22/24 : LABEL arch=arm64 [2020-09-07T03:08:59.640Z] ---> Running in 5f0d9477920f [2020-09-07T03:08:59.912Z] Removing intermediate container 5f0d9477920f [2020-09-07T03:08:59.912Z] ---> 5c9c4a1476fb [2020-09-07T03:08:59.912Z] Step 23/24 : LABEL git_sha=aa005033e4485a39a97c9fe896770a8d63935a68 [2020-09-07T03:09:00.184Z] ---> Running in d27a7abe8c2c [2020-09-07T03:09:00.779Z] Removing intermediate container d27a7abe8c2c [2020-09-07T03:09:00.779Z] ---> aea1529bc9bf [2020-09-07T03:09:00.779Z] Step 24/24 : LABEL version=0.0.0 [2020-09-07T03:09:00.779Z] ---> Running in fd32f1ffc69a [2020-09-07T03:09:01.370Z] Removing intermediate container fd32f1ffc69a [2020-09-07T03:09:01.370Z] ---> 64d090398f00 [2020-09-07T03:09:01.370Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-07T03:09:01.370Z] Successfully built 64d090398f00 [2020-09-07T03:09:01.370Z] 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-07T03:09:03.021Z] provisioning config files... [2020-09-07T03:09:03.038Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config8686536826088764670tmp [Pipeline] { [Pipeline] sh [2020-09-07T03:09:03.402Z] + curl -s https://codecov.io/bash [2020-09-07T03:09:03.402Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config8686536826088764670tmp [Pipeline] } [2020-09-07T03:09:03.673Z] 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-07T03:09:06.036Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-07T03:09:06.595Z] ---> package-listing.sh [2020-09-07T03:09:06.596Z] ++ facter osfamily [2020-09-07T03:09:06.596Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-07T03:09:06.596Z] + OS_FAMILY=redhat [2020-09-07T03:09:06.596Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-09-07T03:09:06.596Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-07T03:09:06.596Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-07T03:09:06.596Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-07T03:09:06.596Z] + PACKAGES=/tmp/packages_start.txt [2020-09-07T03:09:06.596Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-09-07T03:09:06.596Z] + PACKAGES=/tmp/packages_end.txt [2020-09-07T03:09:06.596Z] + case "${OS_FAMILY}" in [2020-09-07T03:09:06.596Z] + rpm -qa [2020-09-07T03:09:06.596Z] + sort [2020-09-07T03:09:10.807Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-07T03:09:10.807Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-07T03:09:10.807Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-07T03:09:10.807Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-09-07T03:09:10.807Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [2020-09-07T03:09:10.807Z] + 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-07T03:09:11.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-07T03:09:11.710Z] [2020-09-07T03:09:11.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-07T03:09:12.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-07T03:09:12.057Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-07T03:09:12.057Z] df20fa9351a1: Pulling fs layer [2020-09-07T03:09:12.057Z] 36b3adc4ff6f: Pulling fs layer [2020-09-07T03:09:12.057Z] 8ad3a11d3b57: Pulling fs layer [2020-09-07T03:09:12.057Z] 46f8f816bc3b: Pulling fs layer [2020-09-07T03:09:12.058Z] 0dadc02b9964: Pulling fs layer [2020-09-07T03:09:12.058Z] ce6a7cf60c04: Pulling fs layer [2020-09-07T03:09:12.058Z] 7a184a31f384: Pulling fs layer [2020-09-07T03:09:12.058Z] 0879bd2ef858: Pulling fs layer [2020-09-07T03:09:12.058Z] 0dadc02b9964: Waiting [2020-09-07T03:09:12.058Z] 46f8f816bc3b: Waiting [2020-09-07T03:09:12.058Z] 0879bd2ef858: Waiting [2020-09-07T03:09:12.058Z] ce6a7cf60c04: Waiting [2020-09-07T03:09:12.058Z] 7a184a31f384: Waiting [2020-09-07T03:09:12.058Z] 36b3adc4ff6f: Download complete [2020-09-07T03:09:12.058Z] 46f8f816bc3b: Verifying Checksum [2020-09-07T03:09:12.058Z] 46f8f816bc3b: Download complete [2020-09-07T03:09:12.058Z] 0dadc02b9964: Verifying Checksum [2020-09-07T03:09:12.058Z] 0dadc02b9964: Download complete [2020-09-07T03:09:12.058Z] df20fa9351a1: Verifying Checksum [2020-09-07T03:09:12.058Z] df20fa9351a1: Download complete [2020-09-07T03:09:12.058Z] ce6a7cf60c04: Verifying Checksum [2020-09-07T03:09:12.058Z] ce6a7cf60c04: Download complete [2020-09-07T03:09:12.058Z] 7a184a31f384: Verifying Checksum [2020-09-07T03:09:12.058Z] 7a184a31f384: Download complete [2020-09-07T03:09:12.326Z] 8ad3a11d3b57: Verifying Checksum [2020-09-07T03:09:12.326Z] 8ad3a11d3b57: Download complete [2020-09-07T03:09:12.591Z] df20fa9351a1: Pull complete [2020-09-07T03:09:12.591Z] 0879bd2ef858: Verifying Checksum [2020-09-07T03:09:12.591Z] 0879bd2ef858: Download complete [2020-09-07T03:09:12.853Z] 36b3adc4ff6f: Pull complete [2020-09-07T03:09:13.433Z] 8ad3a11d3b57: Pull complete [2020-09-07T03:09:13.433Z] 46f8f816bc3b: Pull complete [2020-09-07T03:09:14.391Z] 0dadc02b9964: Pull complete [2020-09-07T03:09:14.391Z] ce6a7cf60c04: Pull complete [2020-09-07T03:09:14.391Z] 7a184a31f384: Pull complete [2020-09-07T03:09:18.621Z] 0879bd2ef858: Pull complete [2020-09-07T03:09:18.621Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-07T03:09:18.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-07T03:09:18.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-07T03:09:18.759Z] prd-centos7-docker-4c-2g-1677 does not seem to be running inside a container [2020-09-07T03:09:18.799Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-07T03:09:22.280Z] $ docker top f13c816ee41868b6e24d49b9c27dbd91b7a6068b278f91835c7be4435c0a48aa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-07T03:09:22.766Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-07T03:09:23.059Z] + ls /var/log/sa-host [2020-09-07T03:09:23.059Z] + sadf -c /var/log/sa-host/sa05 [2020-09-07T03:09:23.059Z] file_magic: OK [2020-09-07T03:09:23.059Z] HZ: Using current value: 100 [2020-09-07T03:09:23.059Z] file_header: OK [2020-09-07T03:09:23.059Z] 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-07T03:09:23.059Z] Statistics: [2020-09-07T03:09:23.059Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-07T03:09:23.059Z] File successfully converted to sysstat format version 12.2.1 [2020-09-07T03:09:23.059Z] + sadf -c /var/log/sa-host/sa07 [2020-09-07T03:09:23.059Z] file_magic: OK [2020-09-07T03:09:23.059Z] HZ: Using current value: 100 [2020-09-07T03:09:23.059Z] file_header: OK [2020-09-07T03:09:23.059Z] 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-07T03:09:23.059Z] Statistics: [2020-09-07T03:09:23.059Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-07T03:09:23.059Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-07T03:09:23.135Z] provisioning config files... [2020-09-07T03:09:23.151Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config2164866174114572319tmp [Pipeline] { [Pipeline] echo [2020-09-07T03:09:23.254Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-07T03:09:23.546Z] ---> create-netrc.sh [Pipeline] echo [2020-09-07T03:09:23.555Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-07T03:09:23.846Z] ---> logs-deploy.sh [2020-09-07T03:09:23.846Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/15 [2020-09-07T03:09:23.846Z] INFO: archiving workspace using pattern(s): [2020-09-07T03:09:25.230Z] Archives upload complete. [2020-09-07T03:09:25.230Z] INFO: archiving logs to Nexus