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 03:03:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:03:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:03:21 ========================================================= 03:03:21 EdgeX Global Pipelines Version Info 03:03:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:03:23 ------------------- 03:03:23 stable info: 03:03:23 ------------------- 03:03:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:03:23 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 03:03:23 Message: update stable to v1.0.119 03:03:24 ------------------- 03:03:24 experimental info: 03:03:24 ------------------- 03:03:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:03:24 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 03:03:24 Message: update experimental to v1.0.119 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:03:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:03:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:03:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:03:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:03:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa005033e4485a39a97c9fe896770a8d63935a68 [Pipeline] echo 03:03:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa00503 [Pipeline] echo 03:03:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:03:27 + git log --format=format:%s -1 aa005033e4485a39a97c9fe896770a8d63935a68 [Pipeline] echo 03:03:27 GIT_COMMIT: aa005033e4485a39a97c9fe896770a8d63935a68, Commit Message: refactor: Refactor processAsyncResults func to use goroutine [Pipeline] echo 03:03:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:03:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:03:28 03:03:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:03:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:03:28 latest: Pulling from edgex-devops/git-semver 03:03:28 31603596830f: Pulling fs layer 03:03:28 2a8b12db71e7: Pulling fs layer 03:03:28 6ca5941a6612: Pulling fs layer 03:03:28 ecc8261a40a4: Pulling fs layer 03:03:28 ecc8261a40a4: Waiting 03:03:28 2a8b12db71e7: Verifying Checksum 03:03:28 2a8b12db71e7: Download complete 03:03:28 31603596830f: Verifying Checksum 03:03:28 31603596830f: Download complete 03:03:28 ecc8261a40a4: Verifying Checksum 03:03:28 ecc8261a40a4: Download complete 03:03:28 6ca5941a6612: Verifying Checksum 03:03:28 6ca5941a6612: Download complete 03:03:29 31603596830f: Pull complete 03:03:29 2a8b12db71e7: Pull complete 03:03:30 6ca5941a6612: Pull complete 03:03:30 ecc8261a40a4: Pull complete 03:03:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:03:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:03:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:03:30 prd-centos7-docker-4c-2g-1677 does not seem to be running inside a container 03:03:30 $ 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 03:03:32 $ docker top 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:03:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:03:33 [ssh-agent] Looking for ssh-agent implementation... 03:03:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:03:33 $ docker exec 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 ssh-agent 03:03:33 SSH_AUTH_SOCK=/tmp/ssh-AorQ4K8DmNVB/agent.11 03:03:33 SSH_AGENT_PID=17 03:03:33 Running ssh-add (command line suppressed) 03:03:33 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) 03:03:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:03:34 + git describe --exact-match --tags HEAD 03:03:34 fatal: No names found, cannot describe anything. [Pipeline] } 03:03:34 $ docker exec --env ******** --env ******** 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 ssh-agent -k 03:03:34 unset SSH_AUTH_SOCK; 03:03:34 unset SSH_AGENT_PID; 03:03:34 echo Agent pid 17 killed; 03:03:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:03:34 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:03:34 This usually means this commit has not been tagged. [Pipeline] sshagent 03:03:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:03:34 [ssh-agent] Looking for ssh-agent implementation... 03:03:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:03:34 $ docker exec 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 ssh-agent 03:03:34 SSH_AUTH_SOCK=/tmp/ssh-Ae9UejGNmRBm/agent.45 03:03:34 SSH_AGENT_PID=50 03:03:34 Running ssh-add (command line suppressed) 03:03:34 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) 03:03:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:03:35 + git semver init 03:03:35 # -> Open(): unable to determine branch for HEAD 03:03:35 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 03:03:35 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 03:03:35 # $SEMVER_REMOTE_NAME = origin 03:03:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:03:35 # $SEMVER_USER_NAME = edgex-jenkins 03:03:35 # $SEMVER_BRANCH = PR-553 03:03:35 # $SEMVER_TEMP = /tmp/semver-026799743 03:03:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:03:35 # '/tmp/semver-026799743' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 03:03:35 # -> Force: false 03:03:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 03:03:35 $ docker exec --env ******** --env ******** 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 ssh-agent -k 03:03:35 unset SSH_AUTH_SOCK; 03:03:35 unset SSH_AGENT_PID; 03:03:35 echo Agent pid 50 killed; 03:03:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:03:36 + git semver [Pipeline] } 03:03:36 $ docker stop --time=1 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 03:03:37 $ docker rm -f 2099eb4b6d788935cce97cad79b473c277402320bb1c24a911637b3a65032a94 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:03:38 Stashed 32 file(s) [Pipeline] echo 03:03:38 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 03:03:38 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 03:03:54 Still waiting to schedule task 03:03:54 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:03:54 Still waiting to schedule task 03:03:54 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:05:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1679 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 03:05:41 Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout 03:05:46 using credential edgex-jenkins-ssh 03:05:46 Cloning the remote Git repository 03:05:46 Cloning with configured refspecs honoured and without tags 03:05:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:05:46 > git init /w/workspace/device-sdk-go/15 # timeout=10 03:05:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:05:46 > git --version # timeout=10 03:05:46 > git --version # 'git version 2.17.1' 03:05:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:46 > 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 03:05:47 Fetching without tags 03:05:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:05:47 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 03:05:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:05:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:05:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:05:47 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:47 > 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 03:05:48 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit aa005033e4485a39a97c9fe896770a8d63935a68 03:05:48 Merge succeeded, producing aa005033e4485a39a97c9fe896770a8d63935a68 03:05:48 Checking out Revision aa005033e4485a39a97c9fe896770a8d63935a68 (PR-553) 03:05:48 > git config core.sparsecheckout # timeout=10 03:05:48 > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 03:05:48 > git remote # timeout=10 03:05:48 > git config --get remote.origin.url # timeout=10 03:05:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:48 > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 03:05:48 > git rev-parse HEAD^{commit} # timeout=10 03:05:48 > git config core.sparsecheckout # timeout=10 03:05:48 > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 03:05:52 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 03:05:54 ========================================================= 03:05:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:05:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:05:55 + 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 . 03:05:56 Sending build context to Docker daemon 3.141MB 03:05:56 Step 1/8 : ARG BASE=golang:1.13-alpine 03:05:56 Step 2/8 : FROM ${BASE} 03:05:56 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:05:56 b538f80385f9: Pulling fs layer 03:05:56 74f711af9a0d: Pulling fs layer 03:05:56 99f96fe45779: Pulling fs layer 03:05:56 fd7a069fd194: Pulling fs layer 03:05:56 66aa3694b03b: Pulling fs layer 03:05:56 170f70906a0f: Pulling fs layer 03:05:56 ad7c5574e4b9: Pulling fs layer 03:05:56 e772456be8f7: Pulling fs layer 03:05:56 c890913d741a: Pulling fs layer 03:05:56 2480fcc9aa5a: Pulling fs layer 03:05:56 09adf4765672: Pulling fs layer 03:05:56 fd7a069fd194: Waiting 03:05:56 66aa3694b03b: Waiting 03:05:56 170f70906a0f: Waiting 03:05:56 ad7c5574e4b9: Waiting 03:05:56 e772456be8f7: Waiting 03:05:56 c890913d741a: Waiting 03:05:56 2480fcc9aa5a: Waiting 03:05:56 09adf4765672: Waiting 03:05:56 99f96fe45779: Verifying Checksum 03:05:56 99f96fe45779: Download complete 03:05:56 74f711af9a0d: Download complete 03:05:56 66aa3694b03b: Verifying Checksum 03:05:56 66aa3694b03b: Download complete 03:05:56 170f70906a0f: Verifying Checksum 03:05:56 170f70906a0f: Download complete 03:05:56 b538f80385f9: Verifying Checksum 03:05:56 b538f80385f9: Download complete 03:05:57 b538f80385f9: Pull complete 03:05:57 74f711af9a0d: Pull complete 03:05:58 99f96fe45779: Pull complete 03:05:59 ad7c5574e4b9: Verifying Checksum 03:05:59 ad7c5574e4b9: Download complete 03:05:59 c890913d741a: Verifying Checksum 03:05:59 c890913d741a: Download complete 03:06:01 2480fcc9aa5a: Verifying Checksum 03:06:01 2480fcc9aa5a: Download complete 03:06:01 09adf4765672: Verifying Checksum 03:06:01 09adf4765672: Download complete 03:06:01 e772456be8f7: Verifying Checksum 03:06:02 fd7a069fd194: Verifying Checksum 03:06:02 fd7a069fd194: Download complete 03:06:02 Running on prd-centos7-docker-4c-2g-1680 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 03:06:03 Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout 03:06:05 using credential edgex-jenkins-ssh 03:06:05 Cloning the remote Git repository 03:06:05 Cloning with configured refspecs honoured and without tags 03:06:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:06:05 > git init /w/workspace/device-sdk-go/15 # timeout=10 03:06:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:06:05 > git --version # timeout=10 03:06:05 > git --version # 'git version 2.16.5' 03:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:06:05 > 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 03:06:07 Fetching without tags 03:06:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:06:07 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 03:06:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:06:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:06:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:06:07 using GIT_SSH to set credentials SSH Credentials for GitHub 03:06:07 > 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 03:06:07 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit aa005033e4485a39a97c9fe896770a8d63935a68 03:06:07 Merge succeeded, producing aa005033e4485a39a97c9fe896770a8d63935a68 03:06:07 Checking out Revision aa005033e4485a39a97c9fe896770a8d63935a68 (PR-553) 03:06:07 > git config core.sparsecheckout # timeout=10 03:06:07 > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 03:06:07 > git remote # timeout=10 03:06:07 > git config --get remote.origin.url # timeout=10 03:06:07 using GIT_SSH to set credentials SSH Credentials for GitHub 03:06:07 > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 03:06:07 > git rev-parse HEAD^{commit} # timeout=10 03:06:07 > git config core.sparsecheckout # timeout=10 03:06:07 > git checkout -f aa005033e4485a39a97c9fe896770a8d63935a68 # timeout=10 03:06:11 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 03:06:12 ========================================================= 03:06:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:06:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:06:13 + 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 . 03:06:14 fd7a069fd194: Pull complete 03:06:14 66aa3694b03b: Pull complete 03:06:14 170f70906a0f: Pull complete 03:06:14 Sending build context to Docker daemon 3.141MB 03:06:14 Step 1/8 : ARG BASE=golang:1.13-alpine 03:06:14 Step 2/8 : FROM ${BASE} 03:06:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:06:14 df20fa9351a1: Pulling fs layer 03:06:14 ed8968b2872e: Pulling fs layer 03:06:14 a92cc7c5fd73: Pulling fs layer 03:06:14 2dd03ba5bac4: Pulling fs layer 03:06:14 1e091d79d1de: Pulling fs layer 03:06:14 481702a1767f: Pulling fs layer 03:06:14 f64a6f60c768: Pulling fs layer 03:06:14 e78d2573fc39: Pulling fs layer 03:06:14 e876d2f968b6: Pulling fs layer 03:06:14 ce8a83651883: Pulling fs layer 03:06:14 07967f4d0e4b: Pulling fs layer 03:06:14 f64a6f60c768: Waiting 03:06:14 e78d2573fc39: Waiting 03:06:14 e876d2f968b6: Waiting 03:06:14 ce8a83651883: Waiting 03:06:14 07967f4d0e4b: Waiting 03:06:14 2dd03ba5bac4: Waiting 03:06:14 1e091d79d1de: Waiting 03:06:14 481702a1767f: Waiting 03:06:14 a92cc7c5fd73: Verifying Checksum 03:06:14 a92cc7c5fd73: Download complete 03:06:14 ed8968b2872e: Download complete 03:06:14 1e091d79d1de: Verifying Checksum 03:06:14 1e091d79d1de: Download complete 03:06:14 481702a1767f: Verifying Checksum 03:06:14 481702a1767f: Download complete 03:06:14 df20fa9351a1: Download complete 03:06:14 df20fa9351a1: Pull complete 03:06:15 ed8968b2872e: Pull complete 03:06:15 a92cc7c5fd73: Pull complete 03:06:17 f64a6f60c768: Verifying Checksum 03:06:17 f64a6f60c768: Download complete 03:06:17 e876d2f968b6: Verifying Checksum 03:06:17 e876d2f968b6: Download complete 03:06:17 ad7c5574e4b9: Pull complete 03:06:18 ce8a83651883: Verifying Checksum 03:06:18 ce8a83651883: Download complete 03:06:18 e78d2573fc39: Verifying Checksum 03:06:18 e78d2573fc39: Download complete 03:06:18 07967f4d0e4b: Download complete 03:06:18 2dd03ba5bac4: Download complete 03:06:22 e772456be8f7: Pull complete 03:06:22 c890913d741a: Pull complete 03:06:23 2dd03ba5bac4: Pull complete 03:06:23 1e091d79d1de: Pull complete 03:06:23 481702a1767f: Pull complete 03:06:25 2480fcc9aa5a: Pull complete 03:06:25 09adf4765672: Pull complete 03:06:25 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 03:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:06:25 ---> 2248a725d1cf 03:06:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:06:29 ---> Running in 9512ce32af18 03:06:29 Removing intermediate container 9512ce32af18 03:06:29 ---> d40a9d54be8e 03:06:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:06:29 ---> Running in a9ea71cc8d39 03:06:32 f64a6f60c768: Pull complete 03:06:32 Removing intermediate container a9ea71cc8d39 03:06:32 ---> 6e407f422ea2 03:06:32 Step 5/8 : RUN apk add --no-cache make git 03:06:32 ---> Running in f9fdc3428c64 03:06:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:06:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:06:34 e78d2573fc39: Pull complete 03:06:34 e876d2f968b6: Pull complete 03:06:35 OK: 142 MiB in 39 packages 03:06:36 ce8a83651883: Pull complete 03:06:36 07967f4d0e4b: Pull complete 03:06:36 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 03:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:06:36 ---> 5d7c900382c6 03:06:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:06:36 Removing intermediate container f9fdc3428c64 03:06:36 ---> 4bd935b0d3c4 03:06:36 Step 6/8 : WORKDIR /device-sdk-go 03:06:36 ---> Running in 097d99e4c8f2 03:06:36 Removing intermediate container 097d99e4c8f2 03:06:36 ---> 7a93cc9b6ee6 03:06:36 Step 7/8 : COPY . . 03:06:38 ---> Running in be535ea4d6df 03:06:38 Removing intermediate container be535ea4d6df 03:06:38 ---> 89d71b0e0935 03:06:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:06:38 ---> Running in 4e9fdfd8c57a 03:06:38 ---> bbabd3844713 03:06:38 Step 8/8 : RUN go mod download 03:06:38 ---> Running in 5e5db26e7af7 03:06:39 Removing intermediate container 4e9fdfd8c57a 03:06:39 ---> d75026ad2761 03:06:39 Step 5/8 : RUN apk add --no-cache make git 03:06:39 ---> Running in 86976012cb0a 03:06:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:06:40 go: finding github.com/BurntSushi/toml v0.3.1 03:06:40 go: finding github.com/OneOfOne/xxhash v1.2.6 03:06:40 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:06:40 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:06:40 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:06:40 go: finding github.com/bgentry/speakeasy v0.1.0 03:06:40 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:06:41 go: finding github.com/davecgh/go-spew v1.1.1 03:06:41 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 03:06:41 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:06:41 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:06:41 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:06:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:06:41 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:06:41 go: finding github.com/fatih/color v1.7.0 03:06:41 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:06:41 go: finding github.com/go-kit/kit v0.8.0 03:06:41 go: finding github.com/go-logfmt/logfmt v0.4.0 03:06:41 go: finding github.com/go-stack/stack v1.8.0 03:06:41 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:06:41 go: finding github.com/google/uuid v1.1.0 03:06:41 go: finding github.com/gorilla/mux v1.7.1 03:06:41 OK: 166 MiB in 39 packages 03:06:41 go: finding github.com/hashicorp/consul/api v1.1.0 03:06:41 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:06:41 go: finding github.com/hashicorp/errwrap v1.0.0 03:06:41 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:06:41 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:06:41 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:06:41 go: finding github.com/hashicorp/go-multierror v1.0.0 03:06:41 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:06:41 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:06:41 go: finding github.com/hashicorp/go-syslog v1.0.0 03:06:41 go: finding github.com/hashicorp/go-uuid v1.0.1 03:06:41 go: finding github.com/hashicorp/go.net v0.0.1 03:06:41 go: finding github.com/hashicorp/golang-lru v0.5.0 03:06:41 go: finding github.com/hashicorp/logutils v1.0.0 03:06:41 go: finding github.com/hashicorp/mdns v1.0.0 03:06:41 go: finding github.com/hashicorp/memberlist v0.1.3 03:06:41 go: finding github.com/hashicorp/serf v0.8.2 03:06:41 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:06:41 go: finding github.com/mattn/go-colorable v0.0.9 03:06:41 go: finding github.com/mattn/go-isatty v0.0.3 03:06:42 Removing intermediate container 86976012cb0a 03:06:42 ---> 0b3a1a23ebb9 03:06:42 Step 6/8 : WORKDIR /device-sdk-go 03:06:42 ---> Running in 2eae12fc5b46 03:06:42 Removing intermediate container 2eae12fc5b46 03:06:42 ---> fe4c35422fb0 03:06:42 Step 7/8 : COPY . . 03:06:42 go: finding github.com/miekg/dns v1.0.14 03:06:42 go: finding github.com/mitchellh/cli v1.0.0 03:06:42 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:06:42 go: finding github.com/mitchellh/copystructure v1.0.0 03:06:42 go: finding github.com/mitchellh/go-homedir v1.0.0 03:06:42 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:06:42 go: finding github.com/mitchellh/gox v0.4.0 03:06:42 go: finding github.com/mitchellh/iochan v1.0.0 03:06:42 go: finding github.com/mitchellh/mapstructure v1.1.2 03:06:42 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:06:42 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:06:42 go: finding github.com/pelletier/go-toml v1.2.0 03:06:42 go: finding github.com/pkg/errors v0.8.1 03:06:42 go: finding github.com/pmezard/go-difflib v1.0.0 03:06:42 go: finding github.com/posener/complete v1.1.1 03:06:42 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:06:42 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:06:42 go: finding github.com/stretchr/objx v0.1.0 03:06:42 go: finding github.com/stretchr/testify v1.5.1 03:06:42 go: finding github.com/ugorji/go v1.1.4 03:06:42 go: finding github.com/x448/float16 v0.8.4 03:06:42 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:06:42 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:06:42 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:06:42 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:06:42 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:06:43 go: finding gopkg.in/yaml.v2 v2.2.8 03:06:43 ---> ce25de103581 03:06:43 Step 8/8 : RUN go mod download 03:06:43 ---> Running in ae274374921d 03:06:44 go: finding github.com/BurntSushi/toml v0.3.1 03:06:45 go: finding github.com/OneOfOne/xxhash v1.2.6 03:06:45 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:06:45 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:06:45 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:06:45 go: finding github.com/bgentry/speakeasy v0.1.0 03:06:45 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:06:45 go: finding github.com/davecgh/go-spew v1.1.1 03:06:45 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 03:06:45 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:06:45 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:06:45 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:06:45 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:06:45 go: finding github.com/fatih/color v1.7.0 03:06:45 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:06:45 go: finding github.com/go-kit/kit v0.8.0 03:06:45 go: finding github.com/go-logfmt/logfmt v0.4.0 03:06:45 go: finding github.com/go-stack/stack v1.8.0 03:06:45 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:06:45 go: finding github.com/google/uuid v1.1.0 03:06:45 go: finding github.com/gorilla/mux v1.7.1 03:06:45 go: finding github.com/hashicorp/consul/api v1.1.0 03:06:45 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:06:45 go: finding github.com/hashicorp/errwrap v1.0.0 03:06:45 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:06:45 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:06:45 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:06:45 go: finding github.com/hashicorp/go-multierror v1.0.0 03:06:45 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:06:45 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:06:45 go: finding github.com/hashicorp/go-syslog v1.0.0 03:06:45 go: finding github.com/hashicorp/go-uuid v1.0.1 03:06:45 go: finding github.com/hashicorp/go.net v0.0.1 03:06:45 go: finding github.com/hashicorp/golang-lru v0.5.0 03:06:45 go: finding github.com/hashicorp/logutils v1.0.0 03:06:45 go: finding github.com/hashicorp/mdns v1.0.0 03:06:45 go: finding github.com/hashicorp/memberlist v0.1.3 03:06:45 go: finding github.com/hashicorp/serf v0.8.2 03:06:45 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:06:45 go: finding github.com/mattn/go-colorable v0.0.9 03:06:45 go: finding github.com/mattn/go-isatty v0.0.3 03:06:45 go: finding github.com/miekg/dns v1.0.14 03:06:45 go: finding github.com/mitchellh/cli v1.0.0 03:06:45 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:06:46 go: finding github.com/mitchellh/copystructure v1.0.0 03:06:46 go: finding github.com/mitchellh/go-homedir v1.0.0 03:06:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:06:46 go: finding github.com/mitchellh/gox v0.4.0 03:06:46 go: finding github.com/mitchellh/iochan v1.0.0 03:06:46 go: finding github.com/mitchellh/mapstructure v1.1.2 03:06:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:06:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:06:46 go: finding github.com/pelletier/go-toml v1.2.0 03:06:46 go: finding github.com/pkg/errors v0.8.1 03:06:46 go: finding github.com/pmezard/go-difflib v1.0.0 03:06:46 go: finding github.com/posener/complete v1.1.1 03:06:46 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:06:46 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:06:46 go: finding github.com/stretchr/objx v0.1.0 03:06:46 go: finding github.com/stretchr/testify v1.5.1 03:06:46 go: finding github.com/ugorji/go v1.1.4 03:06:46 go: finding github.com/x448/float16 v0.8.4 03:06:46 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:06:46 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:06:46 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:06:46 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:06:46 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:06:46 go: finding gopkg.in/yaml.v2 v2.2.8 03:06:53 Removing intermediate container 5e5db26e7af7 03:06:53 ---> e54e75aa02c6 03:06:53 Successfully built e54e75aa02c6 03:06:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:06:53 + docker inspect -f . ci-base-image-arm64 03:06:53 . [Pipeline] withDockerContainer 03:06:54 prd-ubuntu18.04-docker-arm64-4c-16g-1679 does not seem to be running inside a container 03:06:54 $ 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 03:06:54 Removing intermediate container ae274374921d 03:06:54 ---> 5a1cf0962133 03:06:54 Successfully built 5a1cf0962133 03:06:54 Successfully tagged ci-base-image-x86_64:latest 03:06:56 $ 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 03:06:56 + docker inspect -f . ci-base-image-x86_64 03:06:56 . [Pipeline] withDockerContainer 03:06:57 prd-centos7-docker-4c-2g-1680 does not seem to be running inside a container 03:06:57 $ 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 03:06:57 + go version 03:06:57 go version go1.13.13 linux/arm64 03:06:58 $ docker top 1ba1f03395fd996322035d058b84fb2962228497a4f08660e90106a82fff6f56 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 03:06:58 + go version 03:06:58 go version go1.13.13 linux/amd64 [Pipeline] sh 03:06:59 + make test 03:06:59 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:06:59 + make test 03:06:59 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:07:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:07:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:07:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:07:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:07:10 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:07:10 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 21.0% of statements 03:07:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.047s coverage: 95.7% of statements 03:07:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:07:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:07:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.0% of statements 03:07:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.155s coverage: 95.7% of statements 03:07:43 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.010s coverage: 8.6% of statements 03:07:43 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 03:07:43 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:07:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.026s coverage: 37.0% of statements 03:07:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:07:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.027s coverage: 65.4% of statements 03:07:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:07:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:07:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:07:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.023s coverage: 52.6% of statements 03:07:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 68.9% of statements 03:07:43 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:07:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:07:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:07:43 gofmt -l . 03:07:43 [ "`gofmt -l .`" = "" ] 03:07:43 ./bin/test-attribution-txt.sh 03:07:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:07:45 Stashed 1 file(s) [Pipeline] } 03:07:45 $ docker stop --time=1 1ba1f03395fd996322035d058b84fb2962228497a4f08660e90106a82fff6f56 03:07:46 $ docker rm -f 1ba1f03395fd996322035d058b84fb2962228497a4f08660e90106a82fff6f56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:07:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:07:49 + ls -al . 03:07:49 total 188 03:07:49 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 7 03:07 . 03:07:49 drwxrwxr-x. 4 jenkins jenkins 30 Sep 7 03:06 .. 03:07:49 drwxrwxr-x. 2 jenkins jenkins 64 Sep 7 03:06 bin 03:07:49 -rw-r--r--. 1 jenkins jenkins 111650 Sep 7 03:07 coverage.out 03:07:49 -rw-rw-r--. 1 jenkins jenkins 936 Sep 7 03:06 Dockerfile.build 03:07:49 -rw-rw-r--. 1 jenkins jenkins 140 Sep 7 03:06 .dockerignore 03:07:49 drwxrwxr-x. 4 jenkins jenkins 48 Sep 7 03:06 example 03:07:49 drwxrwxr-x. 8 jenkins jenkins 179 Sep 7 03:06 .git 03:07:49 drwxrwxr-x. 2 jenkins jenkins 38 Sep 7 03:06 .github 03:07:49 -rw-rw-r--. 1 jenkins jenkins 138 Sep 7 03:06 .gitignore 03:07:49 -rw-r--r--. 1 jenkins jenkins 446 Sep 7 03:07 go.mod 03:07:49 -rw-r--r--. 1 jenkins jenkins 12179 Sep 7 03:07 go.sum 03:07:49 drwxrwxr-x. 13 jenkins jenkins 184 Sep 7 03:06 internal 03:07:49 -rw-rw-r--. 1 jenkins jenkins 808 Sep 7 03:06 Jenkinsfile 03:07:49 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 7 03:06 LICENSE 03:07:49 -rw-rw-r--. 1 jenkins jenkins 892 Sep 7 03:06 Makefile 03:07:49 drwxrwxr-x. 4 jenkins jenkins 26 Sep 7 03:06 openapi 03:07:49 drwxrwxr-x. 5 jenkins jenkins 50 Sep 7 03:06 pkg 03:07:49 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 7 03:06 README.md 03:07:49 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 7 03:06 RELEASE-NOTES.txt 03:07:49 drwxrwxr-x. 3 jenkins jenkins 58 Sep 7 03:06 .semver 03:07:49 drwxrwxr-x. 4 jenkins jenkins 54 Sep 7 03:06 snap 03:07:49 -rw-rw-r--. 1 jenkins jenkins 5 Sep 7 03:03 VERSION 03:07:49 -rw-rw-r--. 1 jenkins jenkins 222 Sep 7 03:06 version.go [Pipeline] isUnix [Pipeline] sh 03:07:49 + 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 . 03:07:50 Sending build context to Docker daemon 3.255MB 03:07:50 Step 1/24 : ARG BASE=golang:1.13-alpine 03:07:50 Step 2/24 : FROM ${BASE} AS builder 03:07:50 ---> 5a1cf0962133 03:07:50 Step 3/24 : ARG MAKE='make build' 03:07:50 ---> Running in e8547fff83ae 03:07:50 Removing intermediate container e8547fff83ae 03:07:50 ---> 6a25ac362688 03:07:50 Step 4/24 : WORKDIR /device-sdk-go 03:07:50 ---> Running in 8eb8b032de7b 03:07:51 Removing intermediate container 8eb8b032de7b 03:07:51 ---> 3447e345bf14 03:07:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:07:51 ---> Running in e3e9f574ba9a 03:07:51 Removing intermediate container e3e9f574ba9a 03:07:51 ---> 77d986a29a2b 03:07:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:07:51 ---> Running in 5d01d92ecab2 03:07:52 Removing intermediate container 5d01d92ecab2 03:07:52 ---> 9875e6a28808 03:07:52 Step 7/24 : RUN apk add --update --no-cache make git 03:07:52 ---> Running in 33c323d02135 03:07:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:07:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:07:54 OK: 166 MiB in 39 packages 03:07:55 Removing intermediate container 33c323d02135 03:07:55 ---> ceb294977871 03:07:55 Step 8/24 : COPY . . 03:07:56 ---> 90fcc4e4b754 03:07:56 Step 9/24 : RUN ${MAKE} 03:07:56 ---> Running in c34a2e1aa69a 03:07:57 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 03:08:05 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.040s coverage: 8.6% of statements 03:08:05 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 21.7% of statements 03:08:05 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:08:05 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.075s coverage: 37.0% of statements 03:08:05 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:08:05 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.110s coverage: 65.4% of statements 03:08:05 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:08:05 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:08:05 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:08:05 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.080s coverage: 52.6% of statements 03:08:05 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.354s coverage: 68.9% of statements 03:08:05 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:08:05 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:08:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:08:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:08:07 Removing intermediate container c34a2e1aa69a 03:08:07 ---> d006b1ec379a 03:08:07 Step 10/24 : FROM scratch 03:08:07 ---> 03:08:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:08:07 ---> Running in cb9c0dbc13c6 03:08:07 Removing intermediate container cb9c0dbc13c6 03:08:07 ---> 5c4aa1bda1fe 03:08:07 Step 12/24 : ENV APP_PORT=49990 03:08:07 ---> Running in 22a83a473f75 03:08:07 Removing intermediate container 22a83a473f75 03:08:07 ---> 405eb176fb00 03:08:07 Step 13/24 : EXPOSE $APP_PORT 03:08:07 ---> Running in fb162c5e3d2e 03:08:07 Removing intermediate container fb162c5e3d2e 03:08:07 ---> f3ec557b1659 03:08:07 Step 14/24 : WORKDIR / 03:08:07 ---> Running in 06a9cc734c3e 03:08:07 Removing intermediate container 06a9cc734c3e 03:08:07 ---> 00b8d9309a6f 03:08:07 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:08:07 gofmt -l . 03:08:08 [ "`gofmt -l .`" = "" ] 03:08:08 ---> 53857e8b581b 03:08:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:08:08 ./bin/test-attribution-txt.sh 03:08:08 ---> 1b5d12087142 03:08:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:08:08 ---> bf0f4b539348 03:08:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:08:08 ---> 71394c295868 03:08:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:08:09 ./bin/test-go-mod-tidy.sh 03:08:09 ---> 85e8632cb6c1 03:08:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:08:09 ---> Running in 21783db9e13f 03:08:09 Removing intermediate container 21783db9e13f 03:08:09 ---> 5620d0e9f909 03:08:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:08:09 ---> Running in f6dc38e9bb12 03:08:09 Removing intermediate container f6dc38e9bb12 03:08:09 ---> 6cc26c61c749 03:08:09 Step 22/24 : LABEL arch=amd64 03:08:09 ---> Running in 8f39b60c80a9 [Pipeline] stash 03:08:09 Warning: overwriting stash ‘coverage-report’ 03:08:09 Removing intermediate container 8f39b60c80a9 03:08:09 ---> 8279bc03d7e6 03:08:09 Step 23/24 : LABEL git_sha=aa005033e4485a39a97c9fe896770a8d63935a68 03:08:09 ---> Running in 9b0138156228 03:08:10 Removing intermediate container 9b0138156228 03:08:10 ---> d8882916cf75 03:08:10 Step 24/24 : LABEL version=0.0.0 03:08:10 ---> Running in 8d5af88ec252 03:08:10 Removing intermediate container 8d5af88ec252 03:08:10 ---> 7342a0697676 03:08:10 [Warning] One or more build-args [ARCH] were not consumed 03:08:10 Successfully built 7342a0697676 03:08:10 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 03:08:10 Stashed 1 file(s) [Pipeline] } 03:08:10 $ docker stop --time=1 24d8d8d9423e6d88afbb74285a5f614743886eab675b8f0f473de14d7a3d593f 03:08:12 $ 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] } 03:08:14 + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 03:08:14 + ls -al . 03:08:14 total 228 03:08:14 drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 03:08 . 03:08:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 03:05 .. 03:08:14 -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 03:05 .dockerignore 03:08:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 03:05 .git 03:08:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 03:05 .github 03:08:14 -rw-rw-r-- 1 jenkins jenkins 138 Sep 7 03:05 .gitignore 03:08:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 03:05 .semver 03:08:14 -rw-rw-r-- 1 jenkins jenkins 936 Sep 7 03:05 Dockerfile.build 03:08:14 -rw-rw-r-- 1 jenkins jenkins 808 Sep 7 03:05 Jenkinsfile 03:08:14 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 03:05 LICENSE 03:08:14 -rw-rw-r-- 1 jenkins jenkins 892 Sep 7 03:05 Makefile 03:08:14 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 7 03:05 README.md 03:08:14 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 7 03:05 RELEASE-NOTES.txt 03:08:14 -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 03:03 VERSION 03:08:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 03:05 bin 03:08:14 -rw-r--r-- 1 jenkins jenkins 111650 Sep 7 03:08 coverage.out 03:08:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 03:05 example 03:08:14 -rw-r--r-- 1 jenkins jenkins 446 Sep 7 03:08 go.mod 03:08:14 -rw-r--r-- 1 jenkins jenkins 12179 Sep 7 03:08 go.sum 03:08:14 drwxrwxr-x 13 jenkins jenkins 4096 Sep 7 03:05 internal 03:08:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 03:05 openapi 03:08:14 drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 03:05 pkg 03:08:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 03:05 snap 03:08:14 -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 03:05 version.go [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 03:08:14 + 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 . 03:08:15 Sending build context to Docker daemon 3.255MB 03:08:15 Step 1/24 : ARG BASE=golang:1.13-alpine 03:08:15 Step 2/24 : FROM ${BASE} AS builder 03:08:15 ---> e54e75aa02c6 03:08:15 Step 3/24 : ARG MAKE='make build' 03:08:15 ---> Running in 6f7e576463be 03:08:16 Removing intermediate container 6f7e576463be 03:08:16 ---> ae7ebc946aad 03:08:16 Step 4/24 : WORKDIR /device-sdk-go 03:08:16 ---> Running in 4274a9fa0a4a 03:08:16 Removing intermediate container 4274a9fa0a4a 03:08:16 ---> 1cf5eb684267 03:08:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:08:16 ---> Running in 7f11d715a1e6 03:08:17 Removing intermediate container 7f11d715a1e6 03:08:17 ---> 993662dd6423 03:08:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:08:17 ---> Running in 8373cf90309c 03:08:19 Removing intermediate container 8373cf90309c 03:08:19 ---> ccd88aa33773 03:08:19 Step 7/24 : RUN apk add --update --no-cache make git 03:08:19 ---> Running in 63ec75a2311b 03:08:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:08:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:08:22 OK: 142 MiB in 39 packages 03:08:24 Removing intermediate container 63ec75a2311b 03:08:24 ---> 7267dc668296 03:08:24 Step 8/24 : COPY . . 03:08:24 ---> 09f68329c9fc 03:08:24 Step 9/24 : RUN ${MAKE} 03:08:24 ---> Running in fa5059fd0483 03:08:26 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 03:08:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:08:53 Removing intermediate container fa5059fd0483 03:08:53 ---> 9230fd2ee2c6 03:08:53 Step 10/24 : FROM scratch 03:08:53 ---> 03:08:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:08:53 ---> Running in 227c03aab7b9 03:08:53 Removing intermediate container 227c03aab7b9 03:08:53 ---> 7b7d6b9af236 03:08:53 Step 12/24 : ENV APP_PORT=49990 03:08:53 ---> Running in 8bf5567f44da 03:08:53 Removing intermediate container 8bf5567f44da 03:08:53 ---> aeb189f2f3a7 03:08:53 Step 13/24 : EXPOSE $APP_PORT 03:08:53 ---> Running in 0ee1c5a0a6a6 03:08:53 Removing intermediate container 0ee1c5a0a6a6 03:08:53 ---> 19676df79193 03:08:53 Step 14/24 : WORKDIR / 03:08:54 ---> Running in ba5921391124 03:08:54 Removing intermediate container ba5921391124 03:08:54 ---> 27f571724575 03:08:54 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:08:55 ---> 47fd4dcf96de 03:08:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:08:56 ---> 8373501949b7 03:08:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:08:57 ---> 9654ce6a837e 03:08:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:08:57 ---> 46949c3e3861 03:08:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:08:58 ---> 79bff8f223e3 03:08:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:08:58 ---> Running in 27ccca9e86d9 03:08:58 Removing intermediate container 27ccca9e86d9 03:08:58 ---> abaa6437015e 03:08:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:08:59 ---> Running in 8def1d26b3d5 03:08:59 Removing intermediate container 8def1d26b3d5 03:08:59 ---> 62202ae6560b 03:08:59 Step 22/24 : LABEL arch=arm64 03:08:59 ---> Running in 5f0d9477920f 03:08:59 Removing intermediate container 5f0d9477920f 03:08:59 ---> 5c9c4a1476fb 03:08:59 Step 23/24 : LABEL git_sha=aa005033e4485a39a97c9fe896770a8d63935a68 03:09:00 ---> Running in d27a7abe8c2c 03:09:00 Removing intermediate container d27a7abe8c2c 03:09:00 ---> aea1529bc9bf 03:09:00 Step 24/24 : LABEL version=0.0.0 03:09:00 ---> Running in fd32f1ffc69a 03:09:01 Removing intermediate container fd32f1ffc69a 03:09:01 ---> 64d090398f00 03:09:01 [Warning] One or more build-args [ARCH] were not consumed 03:09:01 Successfully built 64d090398f00 03:09:01 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 03:09:03 provisioning config files... 03:09:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config8686536826088764670tmp [Pipeline] { [Pipeline] sh 03:09:03 + curl -s https://codecov.io/bash 03:09:03 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config8686536826088764670tmp [Pipeline] } 03:09:03 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 03:09:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:09:06 ---> package-listing.sh 03:09:06 ++ facter osfamily 03:09:06 ++ tr '[:upper:]' '[:lower:]' 03:09:06 + OS_FAMILY=redhat 03:09:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 03:09:06 + START_PACKAGES=/tmp/packages_start.txt 03:09:06 + END_PACKAGES=/tmp/packages_end.txt 03:09:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:09:06 + PACKAGES=/tmp/packages_start.txt 03:09:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 03:09:06 + PACKAGES=/tmp/packages_end.txt 03:09:06 + case "${OS_FAMILY}" in 03:09:06 + rpm -qa 03:09:06 + sort 03:09:10 + '[' -f /tmp/packages_start.txt ']' 03:09:10 + '[' -f /tmp/packages_end.txt ']' 03:09:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:09:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 03:09:10 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 03:09:10 + 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 03:09:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:09:11 03:09:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:09:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:09:12 alpine: Pulling from edgex-lftools-log-publisher 03:09:12 df20fa9351a1: Pulling fs layer 03:09:12 36b3adc4ff6f: Pulling fs layer 03:09:12 8ad3a11d3b57: Pulling fs layer 03:09:12 46f8f816bc3b: Pulling fs layer 03:09:12 0dadc02b9964: Pulling fs layer 03:09:12 ce6a7cf60c04: Pulling fs layer 03:09:12 7a184a31f384: Pulling fs layer 03:09:12 0879bd2ef858: Pulling fs layer 03:09:12 0dadc02b9964: Waiting 03:09:12 46f8f816bc3b: Waiting 03:09:12 0879bd2ef858: Waiting 03:09:12 ce6a7cf60c04: Waiting 03:09:12 7a184a31f384: Waiting 03:09:12 36b3adc4ff6f: Download complete 03:09:12 46f8f816bc3b: Verifying Checksum 03:09:12 46f8f816bc3b: Download complete 03:09:12 0dadc02b9964: Verifying Checksum 03:09:12 0dadc02b9964: Download complete 03:09:12 df20fa9351a1: Verifying Checksum 03:09:12 df20fa9351a1: Download complete 03:09:12 ce6a7cf60c04: Verifying Checksum 03:09:12 ce6a7cf60c04: Download complete 03:09:12 7a184a31f384: Verifying Checksum 03:09:12 7a184a31f384: Download complete 03:09:12 8ad3a11d3b57: Verifying Checksum 03:09:12 8ad3a11d3b57: Download complete 03:09:12 df20fa9351a1: Pull complete 03:09:12 0879bd2ef858: Verifying Checksum 03:09:12 0879bd2ef858: Download complete 03:09:12 36b3adc4ff6f: Pull complete 03:09:13 8ad3a11d3b57: Pull complete 03:09:13 46f8f816bc3b: Pull complete 03:09:14 0dadc02b9964: Pull complete 03:09:14 ce6a7cf60c04: Pull complete 03:09:14 7a184a31f384: Pull complete 03:09:18 0879bd2ef858: Pull complete 03:09:18 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 03:09:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:09:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:09:18 prd-centos7-docker-4c-2g-1677 does not seem to be running inside a container 03:09:18 $ 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 03:09:22 $ docker top f13c816ee41868b6e24d49b9c27dbd91b7a6068b278f91835c7be4435c0a48aa -eo pid,comm [Pipeline] { [Pipeline] sh 03:09:22 + mkdir -p /var/log/sa [Pipeline] sh 03:09:23 + ls /var/log/sa-host 03:09:23 + sadf -c /var/log/sa-host/sa05 03:09:23 file_magic: OK 03:09:23 HZ: Using current value: 100 03:09:23 file_header: OK 03:09:23 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 03:09:23 Statistics: 03:09:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:09:23 File successfully converted to sysstat format version 12.2.1 03:09:23 + sadf -c /var/log/sa-host/sa07 03:09:23 file_magic: OK 03:09:23 HZ: Using current value: 100 03:09:23 file_header: OK 03:09:23 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 03:09:23 Statistics: 03:09:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:09:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:09:23 provisioning config files... 03:09:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config2164866174114572319tmp [Pipeline] { [Pipeline] echo 03:09:23 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:09:23 ---> create-netrc.sh [Pipeline] echo 03:09:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:09:23 ---> logs-deploy.sh 03:09:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/15 03:09:23 INFO: archiving workspace using pattern(s): 03:09:25 Archives upload complete. 03:09:25 INFO: archiving logs to Nexus