Pull request #549 opened 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d52175a4df71bad1a2bc98bc1f8574c2dd59dff0+75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 (521ea6d01aa4f02ba118afaa2a4806e53656788b) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-549/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 > git --version # 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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-595’ Running on prd-centos7-docker-4c-2g-598 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [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-549 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 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/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 Merge succeeded, producing d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 Checking out Revision d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 (PR-549) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # 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/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # 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 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 Commit message: "Refactor: remove global vars in SDK" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-14T07:11:06.526Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-14T07:11:07.263Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-14T07:11:07.529Z] ========================================================= [2020-07-14T07:11:07.529Z] EdgeX Global Pipelines Version Info [2020-07-14T07:11:07.529Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-14T07:11:09.026Z] ------------------- [2020-07-14T07:11:09.026Z] stable info: [2020-07-14T07:11:09.026Z] ------------------- [2020-07-14T07:11:09.026Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-14T07:11:09.026Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-07-14T07:11:09.026Z] Message: update stable to v1.0.89 [2020-07-14T07:11:09.970Z] ------------------- [2020-07-14T07:11:09.970Z] experimental info: [2020-07-14T07:11:09.970Z] ------------------- [2020-07-14T07:11:09.970Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-14T07:11:09.970Z] Commit SHA: f6ab21c320c462fae7a5b8fd747aea39c3187bc7 [2020-07-14T07:11:09.970Z] Message: update experimental to v1.0.96 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-14T07:11:15.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-14T07:11:15.317Z] [2020-07-14T07:11:15.317Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-14T07:11:15.757Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-14T07:11:15.757Z] latest: Pulling from edgex-devops/git-semver [2020-07-14T07:11:15.757Z] 9123ac7c32f7: Pulling fs layer [2020-07-14T07:11:15.757Z] b8cc5d1170e3: Pulling fs layer [2020-07-14T07:11:15.757Z] 2924cbbf6a41: Pulling fs layer [2020-07-14T07:11:15.757Z] 93b08a4f1073: Pulling fs layer [2020-07-14T07:11:15.757Z] b8cc5d1170e3: Verifying Checksum [2020-07-14T07:11:15.757Z] b8cc5d1170e3: Download complete [2020-07-14T07:11:16.028Z] 9123ac7c32f7: Verifying Checksum [2020-07-14T07:11:16.028Z] 9123ac7c32f7: Download complete [2020-07-14T07:11:16.028Z] 93b08a4f1073: Verifying Checksum [2020-07-14T07:11:16.028Z] 93b08a4f1073: Download complete [2020-07-14T07:11:16.028Z] 2924cbbf6a41: Verifying Checksum [2020-07-14T07:11:16.028Z] 2924cbbf6a41: Download complete [2020-07-14T07:11:16.299Z] 9123ac7c32f7: Pull complete [2020-07-14T07:11:16.299Z] b8cc5d1170e3: Pull complete [2020-07-14T07:11:17.244Z] 2924cbbf6a41: Pull complete [2020-07-14T07:11:17.244Z] 93b08a4f1073: Pull complete [2020-07-14T07:11:17.244Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-07-14T07:11:17.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-14T07:11:17.244Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-14T07:11:17.362Z] prd-centos7-docker-4c-2g-598 does not seem to be running inside a container [2020-07-14T07:11:17.401Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-14T07:11:19.233Z] $ docker top a9a47da6c70c03e38ee8b41ebca4af06d6ed95dc269581cf1e4ffb81024995c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-14T07:11:19.773Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-14T07:11:19.773Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-14T07:11:19.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-14T07:11:19.973Z] $ docker exec a9a47da6c70c03e38ee8b41ebca4af06d6ed95dc269581cf1e4ffb81024995c3 ssh-agent [2020-07-14T07:11:20.127Z] SSH_AUTH_SOCK=/tmp/ssh-QlVIMTaSvWBT/agent.11 [2020-07-14T07:11:20.127Z] SSH_AGENT_PID=16 [2020-07-14T07:11:20.136Z] Running ssh-add (command line suppressed) [2020-07-14T07:11:20.252Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7298065121593243343.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7298065121593243343.key) [2020-07-14T07:11:20.301Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-14T07:11:20.812Z] + git describe --exact-match --tags HEAD [2020-07-14T07:11:20.813Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-14T07:11:20.965Z] $ docker exec --env ******** --env ******** a9a47da6c70c03e38ee8b41ebca4af06d6ed95dc269581cf1e4ffb81024995c3 ssh-agent -k [2020-07-14T07:11:21.080Z] unset SSH_AUTH_SOCK; [2020-07-14T07:11:21.080Z] unset SSH_AGENT_PID; [2020-07-14T07:11:21.080Z] echo Agent pid 16 killed; [2020-07-14T07:11:21.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-14T07:11:21.269Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-14T07:11:21.269Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-14T07:11:21.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-14T07:11:21.420Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-14T07:11:21.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-14T07:11:21.589Z] $ docker exec a9a47da6c70c03e38ee8b41ebca4af06d6ed95dc269581cf1e4ffb81024995c3 ssh-agent [2020-07-14T07:11:21.751Z] SSH_AUTH_SOCK=/tmp/ssh-vQioXIGd6wg6/agent.44 [2020-07-14T07:11:21.751Z] SSH_AGENT_PID=50 [2020-07-14T07:11:21.757Z] Running ssh-add (command line suppressed) [2020-07-14T07:11:21.871Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_6600431979049300799.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_6600431979049300799.key) [2020-07-14T07:11:21.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-14T07:11:22.342Z] + git semver init [2020-07-14T07:11:22.343Z] # -> Open(): unable to determine branch for HEAD [2020-07-14T07:11:22.343Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git [2020-07-14T07:11:22.343Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-14T07:11:22.343Z] # $SEMVER_REMOTE_NAME = origin [2020-07-14T07:11:22.343Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-14T07:11:22.343Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-14T07:11:22.343Z] # $SEMVER_BRANCH = PR-549 [2020-07-14T07:11:22.343Z] # $SEMVER_TEMP = /tmp/semver-519435097 [2020-07-14T07:11:22.343Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-14T07:11:22.918Z] # '/tmp/semver-519435097' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' [2020-07-14T07:11:22.918Z] # -> Force: false [2020-07-14T07:11:22.918Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } [2020-07-14T07:11:22.937Z] $ docker exec --env ******** --env ******** a9a47da6c70c03e38ee8b41ebca4af06d6ed95dc269581cf1e4ffb81024995c3 ssh-agent -k [2020-07-14T07:11:23.053Z] unset SSH_AUTH_SOCK; [2020-07-14T07:11:23.054Z] unset SSH_AGENT_PID; [2020-07-14T07:11:23.054Z] echo Agent pid 50 killed; [2020-07-14T07:11:23.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-14T07:11:23.659Z] + git semver [Pipeline] } [2020-07-14T07:11:23.684Z] $ docker stop --time=1 a9a47da6c70c03e38ee8b41ebca4af06d6ed95dc269581cf1e4ffb81024995c3 [2020-07-14T07:11:25.297Z] $ docker rm -f a9a47da6c70c03e38ee8b41ebca4af06d6ed95dc269581cf1e4ffb81024995c3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-14T07:11:26.063Z] Stashed 72 file(s) [Pipeline] echo [2020-07-14T07:11:26.081Z] [edgeXSemver] initialized semver on version 0.0.0 [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-07-14T07:11:41.591Z] Still waiting to schedule task [2020-07-14T07:11:41.591Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-14T07:11:41.608Z] Still waiting to schedule task [2020-07-14T07:11:41.609Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-07-14T07:14:07.370Z] Running on prd-centos7-docker-4c-2g-599 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws [2020-07-14T07:14:07.636Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-07-14T07:14:09.711Z] using credential edgex-jenkins-ssh [2020-07-14T07:14:09.751Z] Cloning the remote Git repository [2020-07-14T07:14:09.751Z] Cloning with configured refspecs honoured and without tags [2020-07-14T07:14:09.777Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-14T07:14:09.835Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-07-14T07:14:09.874Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-14T07:14:09.874Z] > git --version # timeout=10 [2020-07-14T07:14:09.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-14T07:14:09.903Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-14T07:14:10.456Z] Fetching without tags [2020-07-14T07:14:10.861Z] Merging remotes/origin/master commit 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 [2020-07-14T07:14:10.936Z] Merge succeeded, producing d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 [2020-07-14T07:14:10.936Z] Checking out Revision d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 (PR-549) [2020-07-14T07:14:10.432Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-14T07:14:10.438Z] > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 [2020-07-14T07:14:10.445Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-14T07:14:10.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-14T07:14:10.463Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-14T07:14:10.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-14T07:14:10.467Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-14T07:14:10.872Z] > git config core.sparsecheckout # timeout=10 [2020-07-14T07:14:10.876Z] > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [2020-07-14T07:14:10.913Z] > git remote # timeout=10 [2020-07-14T07:14:10.917Z] > git config --get remote.origin.url # timeout=10 [2020-07-14T07:14:10.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-14T07:14:10.927Z] > git merge 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 [2020-07-14T07:14:10.935Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-14T07:14:10.942Z] > git config core.sparsecheckout # timeout=10 [2020-07-14T07:14:10.946Z] > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [2020-07-14T07:14:14.578Z] Commit message: "Refactor: remove global vars in SDK" [2020-07-14T07:14:14.605Z] > git --version # timeout=10 [2020-07-14T07:14:14.613Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-14T07:14:15.872Z] ========================================================= [2020-07-14T07:14:15.872Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-14T07:14:15.872Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-14T07:14:16.520Z] + 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-07-14T07:14:16.784Z] Sending build context to Docker daemon 3.155MB [2020-07-14T07:14:16.784Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-14T07:14:16.784Z] Step 2/8 : FROM ${BASE} [2020-07-14T07:14:17.050Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-14T07:14:17.050Z] e6b0cf9c0882: Pulling fs layer [2020-07-14T07:14:17.050Z] 2848faf0eed1: Pulling fs layer [2020-07-14T07:14:17.050Z] 0f37312ad70f: Pulling fs layer [2020-07-14T07:14:17.050Z] 5788d62ee057: Pulling fs layer [2020-07-14T07:14:17.050Z] 0e6b1d234666: Pulling fs layer [2020-07-14T07:14:17.050Z] bf5d7aec512f: Pulling fs layer [2020-07-14T07:14:17.050Z] 34c802a77dc8: Pulling fs layer [2020-07-14T07:14:17.050Z] 9eb99e56ec68: Pulling fs layer [2020-07-14T07:14:17.050Z] 27c7a5d97fbd: Pulling fs layer [2020-07-14T07:14:17.050Z] 5c102a31e300: Pulling fs layer [2020-07-14T07:14:17.050Z] dcfb455df0a1: Pulling fs layer [2020-07-14T07:14:17.050Z] 5788d62ee057: Waiting [2020-07-14T07:14:17.050Z] 27c7a5d97fbd: Waiting [2020-07-14T07:14:17.050Z] 5c102a31e300: Waiting [2020-07-14T07:14:17.050Z] dcfb455df0a1: Waiting [2020-07-14T07:14:17.050Z] 0e6b1d234666: Waiting [2020-07-14T07:14:17.050Z] bf5d7aec512f: Waiting [2020-07-14T07:14:17.050Z] 34c802a77dc8: Waiting [2020-07-14T07:14:17.050Z] 9eb99e56ec68: Waiting [2020-07-14T07:14:17.050Z] 0f37312ad70f: Verifying Checksum [2020-07-14T07:14:17.050Z] 0f37312ad70f: Download complete [2020-07-14T07:14:17.050Z] 2848faf0eed1: Verifying Checksum [2020-07-14T07:14:17.050Z] 2848faf0eed1: Download complete [2020-07-14T07:14:17.050Z] 0e6b1d234666: Verifying Checksum [2020-07-14T07:14:17.050Z] bf5d7aec512f: Verifying Checksum [2020-07-14T07:14:17.050Z] bf5d7aec512f: Download complete [2020-07-14T07:14:17.050Z] e6b0cf9c0882: Download complete [2020-07-14T07:14:17.318Z] e6b0cf9c0882: Pull complete [2020-07-14T07:14:17.581Z] 34c802a77dc8: Verifying Checksum [2020-07-14T07:14:17.581Z] 34c802a77dc8: Download complete [2020-07-14T07:14:17.581Z] 27c7a5d97fbd: Verifying Checksum [2020-07-14T07:14:17.581Z] 27c7a5d97fbd: Download complete [2020-07-14T07:14:18.159Z] 5c102a31e300: Verifying Checksum [2020-07-14T07:14:18.159Z] 5c102a31e300: Download complete [2020-07-14T07:14:18.159Z] dcfb455df0a1: Verifying Checksum [2020-07-14T07:14:18.159Z] dcfb455df0a1: Download complete [2020-07-14T07:14:18.159Z] 9eb99e56ec68: Verifying Checksum [2020-07-14T07:14:18.159Z] 9eb99e56ec68: Download complete [2020-07-14T07:14:18.424Z] 5788d62ee057: Verifying Checksum [2020-07-14T07:14:18.424Z] 5788d62ee057: Download complete [2020-07-14T07:14:19.367Z] 2848faf0eed1: Pull complete [2020-07-14T07:14:19.367Z] 0f37312ad70f: Pull complete [2020-07-14T07:14:24.695Z] 5788d62ee057: Pull complete [2020-07-14T07:14:24.695Z] 0e6b1d234666: Pull complete [2020-07-14T07:14:24.695Z] bf5d7aec512f: Pull complete [2020-07-14T07:14:32.825Z] 34c802a77dc8: Pull complete [2020-07-14T07:14:34.747Z] 9eb99e56ec68: Pull complete [2020-07-14T07:14:34.747Z] 27c7a5d97fbd: Pull complete [2020-07-14T07:14:35.328Z] 5c102a31e300: Pull complete [2020-07-14T07:14:35.588Z] dcfb455df0a1: Pull complete [2020-07-14T07:14:35.588Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-07-14T07:14:35.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-14T07:14:35.588Z] ---> 7c70fe431013 [2020-07-14T07:14:35.588Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-14T07:14:37.499Z] ---> Running in 3dee564cb84a [2020-07-14T07:14:37.499Z] Removing intermediate container 3dee564cb84a [2020-07-14T07:14:37.499Z] ---> a24c090c7ce2 [2020-07-14T07:14:37.499Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-14T07:14:37.499Z] ---> Running in f110cd059326 [2020-07-14T07:14:38.440Z] Removing intermediate container f110cd059326 [2020-07-14T07:14:38.440Z] ---> 6cfef0e03603 [2020-07-14T07:14:38.440Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-14T07:14:38.440Z] ---> Running in f3f3c6d564e0 [2020-07-14T07:14:39.382Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-07-14T07:14:39.952Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-07-14T07:14:40.212Z] OK: 143 MiB in 39 packages [2020-07-14T07:14:40.473Z] Removing intermediate container f3f3c6d564e0 [2020-07-14T07:14:40.473Z] ---> 267c0e718c7b [2020-07-14T07:14:40.473Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-14T07:14:40.734Z] ---> Running in d53a1de9ee08 [2020-07-14T07:14:40.734Z] Removing intermediate container d53a1de9ee08 [2020-07-14T07:14:40.734Z] ---> b1adead9e960 [2020-07-14T07:14:40.734Z] Step 7/8 : COPY . . [2020-07-14T07:14:42.116Z] ---> 060791a29c1c [2020-07-14T07:14:42.116Z] Step 8/8 : RUN go mod download [2020-07-14T07:14:42.116Z] ---> Running in 5f276a44ec6c [2020-07-14T07:14:44.027Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-14T07:14:44.027Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-14T07:14:44.027Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-14T07:14:44.027Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-14T07:14:44.027Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-14T07:14:44.027Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-14T07:14:44.027Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-14T07:14:44.027Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-14T07:14:44.027Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-07-14T07:14:44.027Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-14T07:14:44.027Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-14T07:14:44.027Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-14T07:14:44.027Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-14T07:14:44.027Z] go: finding github.com/fatih/color v1.7.0 [2020-07-14T07:14:44.027Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-14T07:14:44.027Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-14T07:14:44.027Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-14T07:14:44.027Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-14T07:14:44.027Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-14T07:14:44.027Z] go: finding github.com/google/uuid v1.1.0 [2020-07-14T07:14:44.027Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-14T07:14:44.290Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-14T07:14:44.550Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-14T07:14:44.550Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-14T07:14:44.550Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-14T07:14:44.550Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-14T07:14:44.550Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-14T07:14:44.550Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-14T07:14:44.550Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-14T07:14:44.550Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-14T07:14:44.550Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-14T07:14:44.550Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-14T07:14:44.550Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-14T07:14:44.550Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-14T07:14:44.810Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-14T07:14:44.810Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-14T07:14:44.810Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-14T07:14:44.810Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-14T07:14:44.810Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-14T07:14:44.811Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-14T07:14:44.811Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-14T07:14:44.811Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-14T07:14:44.811Z] go: finding github.com/posener/complete v1.1.1 [2020-07-14T07:14:44.811Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-14T07:14:44.811Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-14T07:14:44.811Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-14T07:14:44.811Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-14T07:14:45.073Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-14T07:14:45.073Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-14T07:14:45.073Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-14T07:14:45.073Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-14T07:14:45.073Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-14T07:14:45.073Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-14T07:14:45.073Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-14T07:14:45.073Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-14T07:14:53.214Z] Removing intermediate container 5f276a44ec6c [2020-07-14T07:14:53.214Z] ---> e6cde6fa002a [2020-07-14T07:14:53.214Z] Successfully built e6cde6fa002a [2020-07-14T07:14:53.214Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-14T07:14:54.026Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-14T07:14:54.026Z] . [Pipeline] withDockerContainer [2020-07-14T07:14:54.141Z] prd-centos7-docker-4c-2g-599 does not seem to be running inside a container [2020-07-14T07:14:54.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-07-14T07:14:55.330Z] $ docker top cba6566ffbca436d96b6eb1df364f3fc51c8185f93bc97574f9153b25e2d1870 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-14T07:14:55.846Z] + go version [2020-07-14T07:14:55.846Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-07-14T07:14:56.151Z] + make test [2020-07-14T07:14:56.151Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-14T07:14:57.109Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-14T07:15:05.352Z] # github.com/edgexfoundry/device-sdk-go/internal/autoevent [github.com/edgexfoundry/device-sdk-go/internal/autoevent.test] [2020-07-14T07:15:05.352Z] internal/autoevent/executor_test.go:27:32: not enough arguments in call to compareReadings [2020-07-14T07:15:05.352Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:15:05.352Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/autoevent/executor_test.go:33:31: not enough arguments in call to compareReadings [2020-07-14T07:15:05.352Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:15:05.352Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/autoevent/executor_test.go:39:31: not enough arguments in call to compareReadings [2020-07-14T07:15:05.352Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:15:05.352Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/autoevent/executor_test.go:44:31: not enough arguments in call to compareReadings [2020-07-14T07:15:05.352Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:15:05.352Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/autoevent/executor_test.go:54:31: not enough arguments in call to compareReadings [2020-07-14T07:15:05.352Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:15:05.352Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/autoevent/executor_test.go:60:31: not enough arguments in call to compareReadings [2020-07-14T07:15:05.352Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:15:05.352Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/autoevent/executor_test.go:66:30: not enough arguments in call to compareReadings [2020-07-14T07:15:05.352Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:15:05.352Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/autoevent/executor_test.go:71:30: not enough arguments in call to compareReadings [2020-07-14T07:15:05.352Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:15:05.352Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:15:05.352Z] # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] [2020-07-14T07:15:05.352Z] internal/clients/init_test.go:27:2: undefined: common.CurrentConfig [2020-07-14T07:15:05.352Z] internal/clients/init_test.go:28:2: undefined: common.LoggingClient [2020-07-14T07:15:05.352Z] internal/clients/init_test.go:30:36: not enough arguments in call to checkServiceAvailableByPing [2020-07-14T07:15:05.352Z] have (string) [2020-07-14T07:15:05.352Z] want (string, *di.Container) [2020-07-14T07:15:05.352Z] # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] [2020-07-14T07:15:05.352Z] internal/common/utils_test.go:109:30: not enough arguments in call to FilterQueryParams [2020-07-14T07:15:05.352Z] have (string) [2020-07-14T07:15:05.352Z] want (string, logger.LoggingClient) [2020-07-14T07:15:05.352Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:23:2: undefined: common.LoggingClient [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:36:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:62:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:82:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:108:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:128:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:154:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:174:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:200:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:220:27: not enough arguments in call to TransformReadResult [2020-07-14T07:15:05.352Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:15:05.352Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/transformer/transformresult_test.go:220:27: too many errors [2020-07-14T07:15:05.352Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-14T07:15:05.352Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-14T07:15:05.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-14T07:15:05.352Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-07-14T07:15:05.352Z] # github.com/edgexfoundry/device-sdk-go/internal/controller [github.com/edgexfoundry/device-sdk-go/internal/controller.test] [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:47:2: undefined: common.LoggingClient [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:48:2: undefined: common.DeviceClient [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:50:33: not enough arguments in call to NewRestController [2020-07-14T07:15:05.352Z] have (*mux.Router) [2020-07-14T07:15:05.352Z] want (*mux.Router, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:51:27: not enough arguments in call to controller.InitRestRoutes [2020-07-14T07:15:05.352Z] have () [2020-07-14T07:15:05.352Z] want (*di.Container) [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:73:2: undefined: common.LoggingClient [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:74:2: undefined: common.ServiceLocked [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:77:33: not enough arguments in call to NewRestController [2020-07-14T07:15:05.352Z] have (*mux.Router) [2020-07-14T07:15:05.352Z] want (*mux.Router, logger.LoggingClient) [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:78:27: not enough arguments in call to controller.InitRestRoutes [2020-07-14T07:15:05.352Z] have () [2020-07-14T07:15:05.352Z] want (*di.Container) [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:102:2: undefined: common.LoggingClient [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:103:2: undefined: common.ServiceLocked [2020-07-14T07:15:05.352Z] internal/controller/restfuncs_test.go:103:2: too many errors [2020-07-14T07:15:05.352Z] # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:53:2: undefined: common.ValueDescriptorClient [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:54:2: undefined: common.ProvisionWatcherClient [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:55:2: undefined: common.DeviceClient [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:56:2: undefined: common.EventClient [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:57:2: undefined: common.LoggingClient [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:58:2: undefined: common.Driver [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:59:17: not enough arguments in call to cache.InitCache [2020-07-14T07:15:05.352Z] have () [2020-07-14T07:15:05.352Z] want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:74:10: undefined: common.DeviceClient [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:78:2: undefined: common.CurrentConfig [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:79:2: undefined: common.LoggingClient [2020-07-14T07:15:05.352Z] internal/handler/command_test.go:79:2: too many errors [2020-07-14T07:15:05.352Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-07-14T07:15:05.352Z] internal/cache/devices_test.go:25:2: undefined: common.DeviceClient [2020-07-14T07:15:05.352Z] internal/cache/devices_test.go:27:10: undefined: common.DeviceClient [2020-07-14T07:15:05.352Z] internal/cache/init_test.go:22:2: undefined: common.ValueDescriptorClient [2020-07-14T07:15:05.352Z] internal/cache/init_test.go:23:2: undefined: common.DeviceClient [2020-07-14T07:15:05.352Z] internal/cache/init_test.go:24:11: not enough arguments in call to InitCache [2020-07-14T07:15:05.352Z] have () [2020-07-14T07:15:05.352Z] want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) [2020-07-14T07:15:05.352Z] internal/cache/init_test.go:28:31: undefined: common.ValueDescriptorClient [2020-07-14T07:15:05.352Z] internal/cache/init_test.go:33:30: undefined: common.DeviceClient [2020-07-14T07:15:05.352Z] internal/cache/profiles_test.go:23:2: undefined: common.DeviceProfileClient [2020-07-14T07:15:05.352Z] internal/cache/profiles_test.go:25:11: undefined: common.DeviceProfileClient [2020-07-14T07:15:05.352Z] internal/cache/provisionwatchers_test.go:25:2: undefined: common.ProvisionWatcherClient [2020-07-14T07:15:05.352Z] internal/cache/provisionwatchers_test.go:25:2: too many errors [2020-07-14T07:15:05.352Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-07-14T07:15:05.352Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2020-07-14T07:15:05.352Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2020-07-14T07:15:05.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-14T07:15:05.352Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-07-14T07:15:05.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-14T07:15:05.352Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-07-14T07:15:05.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-14T07:15:05.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-14T07:15:05.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-14T07:15:05.352Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-07-14T07:15:05.922Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 68.9% of statements [2020-07-14T07:15:05.922Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-14T07:15:05.922Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-14T07:15:05.922Z] FAIL [2020-07-14T07:15:06.183Z] make: *** [Makefile:29: test] Error 2 [Pipeline] } [2020-07-14T07:15:06.224Z] $ docker stop --time=1 cba6566ffbca436d96b6eb1df364f3fc51c8185f93bc97574f9153b25e2d1870 [2020-07-14T07:15:07.385Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-600 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-14T07:15:08.461Z] $ docker rm -f cba6566ffbca436d96b6eb1df364f3fc51c8185f93bc97574f9153b25e2d1870 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2020-07-14T07:15:09.006Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-14T07:15:11.535Z] Failed in branch amd64 [2020-07-14T07:15:13.790Z] using credential edgex-jenkins-ssh [2020-07-14T07:15:13.882Z] Cloning the remote Git repository [2020-07-14T07:15:13.883Z] Cloning with configured refspecs honoured and without tags [2020-07-14T07:15:13.947Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-14T07:15:14.060Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-07-14T07:15:14.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-14T07:15:14.123Z] > git --version # timeout=10 [2020-07-14T07:15:14.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-14T07:15:14.227Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-14T07:15:15.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-14T07:15:15.349Z] > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 [2020-07-14T07:15:15.437Z] Fetching without tags [2020-07-14T07:15:15.965Z] Merging remotes/origin/master commit 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 [2020-07-14T07:15:16.185Z] Merge succeeded, producing d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 [2020-07-14T07:15:16.186Z] Checking out Revision d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 (PR-549) [2020-07-14T07:15:15.385Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-14T07:15:15.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-14T07:15:15.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-14T07:15:15.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-14T07:15:15.459Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-14T07:15:15.985Z] > git config core.sparsecheckout # timeout=10 [2020-07-14T07:15:16.014Z] > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [2020-07-14T07:15:16.111Z] > git remote # timeout=10 [2020-07-14T07:15:16.124Z] > git config --get remote.origin.url # timeout=10 [2020-07-14T07:15:16.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-14T07:15:16.150Z] > git merge 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 [2020-07-14T07:15:16.170Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-14T07:15:16.193Z] > git config core.sparsecheckout # timeout=10 [2020-07-14T07:15:16.202Z] > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [2020-07-14T07:15:20.700Z] Commit message: "Refactor: remove global vars in SDK" [2020-07-14T07:15:20.749Z] > git --version # timeout=10 [2020-07-14T07:15:20.769Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-14T07:15:22.360Z] ========================================================= [2020-07-14T07:15:22.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-14T07:15:22.360Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-14T07:15:23.566Z] + 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-07-14T07:15:24.547Z] Sending build context to Docker daemon 3.155MB [2020-07-14T07:15:24.547Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-14T07:15:24.547Z] Step 2/8 : FROM ${BASE} [2020-07-14T07:15:24.830Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-14T07:15:24.830Z] cde5963f3b93: Pulling fs layer [2020-07-14T07:15:24.830Z] 2a23fa8c16f7: Pulling fs layer [2020-07-14T07:15:24.830Z] 777b28850792: Pulling fs layer [2020-07-14T07:15:24.830Z] 8a11ddd9e578: Pulling fs layer [2020-07-14T07:15:24.830Z] 4cf88f913ddb: Pulling fs layer [2020-07-14T07:15:24.830Z] 1df406cf5192: Pulling fs layer [2020-07-14T07:15:24.830Z] cd6300453558: Pulling fs layer [2020-07-14T07:15:24.830Z] b9c365052c96: Pulling fs layer [2020-07-14T07:15:24.830Z] a2d8cc88f415: Pulling fs layer [2020-07-14T07:15:24.830Z] ea1d1ca13537: Pulling fs layer [2020-07-14T07:15:24.830Z] 3750a50a1c5e: Pulling fs layer [2020-07-14T07:15:24.830Z] 8a11ddd9e578: Waiting [2020-07-14T07:15:24.830Z] 4cf88f913ddb: Waiting [2020-07-14T07:15:24.830Z] 1df406cf5192: Waiting [2020-07-14T07:15:24.830Z] cd6300453558: Waiting [2020-07-14T07:15:24.830Z] b9c365052c96: Waiting [2020-07-14T07:15:24.830Z] a2d8cc88f415: Waiting [2020-07-14T07:15:24.830Z] ea1d1ca13537: Waiting [2020-07-14T07:15:24.830Z] 3750a50a1c5e: Waiting [2020-07-14T07:15:24.830Z] 777b28850792: Verifying Checksum [2020-07-14T07:15:24.830Z] 777b28850792: Download complete [2020-07-14T07:15:24.830Z] 2a23fa8c16f7: Verifying Checksum [2020-07-14T07:15:24.830Z] 2a23fa8c16f7: Download complete [2020-07-14T07:15:24.830Z] 4cf88f913ddb: Verifying Checksum [2020-07-14T07:15:24.830Z] 4cf88f913ddb: Download complete [2020-07-14T07:15:24.830Z] 1df406cf5192: Verifying Checksum [2020-07-14T07:15:24.830Z] 1df406cf5192: Download complete [2020-07-14T07:15:24.830Z] cde5963f3b93: Verifying Checksum [2020-07-14T07:15:24.830Z] cde5963f3b93: Download complete [2020-07-14T07:15:25.813Z] cde5963f3b93: Pull complete [2020-07-14T07:15:26.088Z] 2a23fa8c16f7: Pull complete [2020-07-14T07:15:26.372Z] 777b28850792: Pull complete [2020-07-14T07:15:27.805Z] cd6300453558: Verifying Checksum [2020-07-14T07:15:27.805Z] cd6300453558: Download complete [2020-07-14T07:15:27.805Z] a2d8cc88f415: Verifying Checksum [2020-07-14T07:15:27.805Z] a2d8cc88f415: Download complete [2020-07-14T07:15:29.240Z] ea1d1ca13537: Download complete [2020-07-14T07:15:29.240Z] 3750a50a1c5e: Verifying Checksum [2020-07-14T07:15:29.240Z] 3750a50a1c5e: Download complete [2020-07-14T07:15:29.513Z] b9c365052c96: Verifying Checksum [2020-07-14T07:15:29.513Z] b9c365052c96: Download complete [2020-07-14T07:15:29.785Z] 8a11ddd9e578: Verifying Checksum [2020-07-14T07:15:29.785Z] 8a11ddd9e578: Download complete [2020-07-14T07:15:42.187Z] 8a11ddd9e578: Pull complete [2020-07-14T07:15:42.187Z] 4cf88f913ddb: Pull complete [2020-07-14T07:15:42.187Z] 1df406cf5192: Pull complete [2020-07-14T07:15:46.491Z] cd6300453558: Pull complete [2020-07-14T07:15:49.870Z] b9c365052c96: Pull complete [2020-07-14T07:15:50.147Z] a2d8cc88f415: Pull complete [2020-07-14T07:15:52.112Z] ea1d1ca13537: Pull complete [2020-07-14T07:15:52.707Z] 3750a50a1c5e: Pull complete [2020-07-14T07:15:52.707Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-07-14T07:15:52.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-14T07:15:52.707Z] ---> 78745c68409d [2020-07-14T07:15:52.707Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-14T07:15:58.109Z] ---> Running in 3d2c108765a7 [2020-07-14T07:15:58.109Z] Removing intermediate container 3d2c108765a7 [2020-07-14T07:15:58.109Z] ---> 07edc0017955 [2020-07-14T07:15:58.109Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-14T07:15:58.109Z] ---> Running in a7f6ab9bb0b4 [2020-07-14T07:16:00.718Z] Removing intermediate container a7f6ab9bb0b4 [2020-07-14T07:16:00.718Z] ---> 3b8f137e03ea [2020-07-14T07:16:00.718Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-14T07:16:00.718Z] ---> Running in 1e46b3e209e4 [2020-07-14T07:16:01.691Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-07-14T07:16:02.658Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-07-14T07:16:02.926Z] OK: 125 MiB in 39 packages [2020-07-14T07:16:04.364Z] Removing intermediate container 1e46b3e209e4 [2020-07-14T07:16:04.364Z] ---> bcf3defb0fe8 [2020-07-14T07:16:04.364Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-14T07:16:04.635Z] ---> Running in b29771145df3 [2020-07-14T07:16:05.227Z] Removing intermediate container b29771145df3 [2020-07-14T07:16:05.227Z] ---> 59a879be8011 [2020-07-14T07:16:05.227Z] Step 7/8 : COPY . . [2020-07-14T07:16:06.661Z] ---> 4b5e3b07806a [2020-07-14T07:16:06.661Z] Step 8/8 : RUN go mod download [2020-07-14T07:16:06.941Z] ---> Running in 51517752851e [2020-07-14T07:16:09.562Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-14T07:16:09.562Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-14T07:16:09.562Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-14T07:16:09.562Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-14T07:16:09.562Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-14T07:16:09.562Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-14T07:16:09.562Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-14T07:16:09.562Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-14T07:16:09.562Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-07-14T07:16:09.834Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-14T07:16:09.834Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-14T07:16:09.834Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-14T07:16:09.834Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-14T07:16:09.834Z] go: finding github.com/fatih/color v1.7.0 [2020-07-14T07:16:09.834Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-14T07:16:09.834Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-14T07:16:09.834Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-14T07:16:09.834Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-14T07:16:09.834Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-14T07:16:09.834Z] go: finding github.com/google/uuid v1.1.0 [2020-07-14T07:16:09.834Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-14T07:16:10.104Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-14T07:16:10.375Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-14T07:16:10.375Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-14T07:16:10.375Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-14T07:16:10.375Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-14T07:16:10.375Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-14T07:16:10.375Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-14T07:16:10.375Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-14T07:16:10.375Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-14T07:16:10.375Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-14T07:16:10.375Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-14T07:16:10.375Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-14T07:16:10.375Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-14T07:16:10.647Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-14T07:16:10.919Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-14T07:16:10.919Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-14T07:16:10.919Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-14T07:16:10.919Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-14T07:16:10.919Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-14T07:16:10.919Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-14T07:16:10.919Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-14T07:16:10.919Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-14T07:16:10.919Z] go: finding github.com/posener/complete v1.1.1 [2020-07-14T07:16:10.919Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-14T07:16:10.919Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-14T07:16:10.919Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-14T07:16:10.919Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-14T07:16:11.190Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-14T07:16:11.190Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-14T07:16:11.190Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-14T07:16:11.190Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-14T07:16:11.190Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-14T07:16:11.190Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-14T07:16:11.190Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-14T07:16:11.190Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-14T07:16:21.324Z] Removing intermediate container 51517752851e [2020-07-14T07:16:21.324Z] ---> dc0586d52dbd [2020-07-14T07:16:21.324Z] Successfully built dc0586d52dbd [2020-07-14T07:16:21.324Z] 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-07-14T07:16:22.308Z] + docker inspect -f . ci-base-image-arm64 [2020-07-14T07:16:22.308Z] . [Pipeline] withDockerContainer [2020-07-14T07:16:22.553Z] prd-ubuntu18.04-docker-arm64-4c-16g-600 does not seem to be running inside a container [2020-07-14T07:16:22.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2020-07-14T07:16:24.461Z] $ docker top 4f307da1df40a1d46f8b56dc38d613a4b821d606eec81b2393c80ea20a24e5ce -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-14T07:16:25.955Z] + go version [2020-07-14T07:16:25.955Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-07-14T07:16:27.007Z] + make test [2020-07-14T07:16:27.007Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-14T07:16:27.993Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-14T07:16:54.801Z] # github.com/edgexfoundry/device-sdk-go/internal/autoevent [github.com/edgexfoundry/device-sdk-go/internal/autoevent.test] [2020-07-14T07:16:54.801Z] internal/autoevent/executor_test.go:27:32: not enough arguments in call to compareReadings [2020-07-14T07:16:54.801Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:16:54.801Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:16:54.801Z] internal/autoevent/executor_test.go:33:31: not enough arguments in call to compareReadings [2020-07-14T07:16:54.801Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:16:54.801Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:16:54.801Z] internal/autoevent/executor_test.go:39:31: not enough arguments in call to compareReadings [2020-07-14T07:16:54.801Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:16:54.801Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:16:54.801Z] internal/autoevent/executor_test.go:44:31: not enough arguments in call to compareReadings [2020-07-14T07:16:54.801Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:16:54.801Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:16:54.801Z] internal/autoevent/executor_test.go:54:31: not enough arguments in call to compareReadings [2020-07-14T07:16:54.801Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:16:54.801Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:16:54.801Z] internal/autoevent/executor_test.go:60:31: not enough arguments in call to compareReadings [2020-07-14T07:16:54.801Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:16:54.801Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:16:54.801Z] internal/autoevent/executor_test.go:66:30: not enough arguments in call to compareReadings [2020-07-14T07:16:54.801Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:16:54.802Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/autoevent/executor_test.go:71:30: not enough arguments in call to compareReadings [2020-07-14T07:16:54.802Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-14T07:16:54.802Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-14T07:16:54.802Z] # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] [2020-07-14T07:16:54.802Z] internal/clients/init_test.go:27:2: undefined: common.CurrentConfig [2020-07-14T07:16:54.802Z] internal/clients/init_test.go:28:2: undefined: common.LoggingClient [2020-07-14T07:16:54.802Z] internal/clients/init_test.go:30:36: not enough arguments in call to checkServiceAvailableByPing [2020-07-14T07:16:54.802Z] have (string) [2020-07-14T07:16:54.802Z] want (string, *di.Container) [2020-07-14T07:16:54.802Z] # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] [2020-07-14T07:16:54.802Z] internal/common/utils_test.go:109:30: not enough arguments in call to FilterQueryParams [2020-07-14T07:16:54.802Z] have (string) [2020-07-14T07:16:54.802Z] want (string, logger.LoggingClient) [2020-07-14T07:16:54.802Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:23:2: undefined: common.LoggingClient [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:36:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:62:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:82:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:108:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:128:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:154:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:174:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:200:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:220:27: not enough arguments in call to TransformReadResult [2020-07-14T07:16:54.802Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-14T07:16:54.802Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/transformer/transformresult_test.go:220:27: too many errors [2020-07-14T07:16:54.802Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-14T07:16:54.802Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-14T07:16:54.802Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-14T07:16:54.802Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-07-14T07:16:54.802Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-07-14T07:16:54.802Z] internal/cache/devices_test.go:25:2: undefined: common.DeviceClient [2020-07-14T07:16:54.802Z] internal/cache/devices_test.go:27:10: undefined: common.DeviceClient [2020-07-14T07:16:54.802Z] internal/cache/init_test.go:22:2: undefined: common.ValueDescriptorClient [2020-07-14T07:16:54.802Z] internal/cache/init_test.go:23:2: undefined: common.DeviceClient [2020-07-14T07:16:54.802Z] internal/cache/init_test.go:24:11: not enough arguments in call to InitCache [2020-07-14T07:16:54.802Z] have () [2020-07-14T07:16:54.802Z] want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) [2020-07-14T07:16:54.802Z] internal/cache/init_test.go:28:31: undefined: common.ValueDescriptorClient [2020-07-14T07:16:54.802Z] internal/cache/init_test.go:33:30: undefined: common.DeviceClient [2020-07-14T07:16:54.802Z] internal/cache/profiles_test.go:23:2: undefined: common.DeviceProfileClient [2020-07-14T07:16:54.802Z] internal/cache/profiles_test.go:25:11: undefined: common.DeviceProfileClient [2020-07-14T07:16:54.802Z] internal/cache/provisionwatchers_test.go:25:2: undefined: common.ProvisionWatcherClient [2020-07-14T07:16:54.802Z] internal/cache/provisionwatchers_test.go:25:2: too many errors [2020-07-14T07:16:54.802Z] # github.com/edgexfoundry/device-sdk-go/internal/controller [github.com/edgexfoundry/device-sdk-go/internal/controller.test] [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:47:2: undefined: common.LoggingClient [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:48:2: undefined: common.DeviceClient [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:50:33: not enough arguments in call to NewRestController [2020-07-14T07:16:54.802Z] have (*mux.Router) [2020-07-14T07:16:54.802Z] want (*mux.Router, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:51:27: not enough arguments in call to controller.InitRestRoutes [2020-07-14T07:16:54.802Z] have () [2020-07-14T07:16:54.802Z] want (*di.Container) [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:73:2: undefined: common.LoggingClient [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:74:2: undefined: common.ServiceLocked [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:77:33: not enough arguments in call to NewRestController [2020-07-14T07:16:54.802Z] have (*mux.Router) [2020-07-14T07:16:54.802Z] want (*mux.Router, logger.LoggingClient) [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:78:27: not enough arguments in call to controller.InitRestRoutes [2020-07-14T07:16:54.802Z] have () [2020-07-14T07:16:54.802Z] want (*di.Container) [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:102:2: undefined: common.LoggingClient [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:103:2: undefined: common.ServiceLocked [2020-07-14T07:16:54.802Z] internal/controller/restfuncs_test.go:103:2: too many errors [2020-07-14T07:16:55.077Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-07-14T07:16:55.077Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2020-07-14T07:16:55.077Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2020-07-14T07:16:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-14T07:16:55.077Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-07-14T07:16:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-14T07:16:55.077Z] # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:53:2: undefined: common.ValueDescriptorClient [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:54:2: undefined: common.ProvisionWatcherClient [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:55:2: undefined: common.DeviceClient [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:56:2: undefined: common.EventClient [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:57:2: undefined: common.LoggingClient [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:58:2: undefined: common.Driver [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:59:17: not enough arguments in call to cache.InitCache [2020-07-14T07:16:55.077Z] have () [2020-07-14T07:16:55.077Z] want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:74:10: undefined: common.DeviceClient [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:78:2: undefined: common.CurrentConfig [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:79:2: undefined: common.LoggingClient [2020-07-14T07:16:55.077Z] internal/handler/command_test.go:79:2: too many errors [2020-07-14T07:16:55.077Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-07-14T07:16:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-14T07:16:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-14T07:16:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-14T07:16:55.077Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-07-14T07:16:57.685Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.376s coverage: 68.9% of statements [2020-07-14T07:16:57.685Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-14T07:16:57.685Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-14T07:16:57.685Z] FAIL [2020-07-14T07:16:57.956Z] make: *** [Makefile:29: test] Error 2 [Pipeline] } [2020-07-14T07:16:58.001Z] $ docker stop --time=1 4f307da1df40a1d46f8b56dc38d613a4b821d606eec81b2393c80ea20a24e5ce [2020-07-14T07:17:00.260Z] $ docker rm -f 4f307da1df40a1d46f8b56dc38d613a4b821d606eec81b2393c80ea20a24e5ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-14T07:17:02.744Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-14T07:17:05.224Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-14T07:17:05.818Z] ---> package-listing.sh [2020-07-14T07:17:05.818Z] ++ facter osfamily [2020-07-14T07:17:05.818Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-14T07:17:05.818Z] + OS_FAMILY=redhat [2020-07-14T07:17:05.818Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-14T07:17:05.818Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-14T07:17:05.818Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-14T07:17:05.818Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-14T07:17:05.818Z] + PACKAGES=/tmp/packages_start.txt [2020-07-14T07:17:05.818Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' [2020-07-14T07:17:05.818Z] + PACKAGES=/tmp/packages_end.txt [2020-07-14T07:17:05.818Z] + case "${OS_FAMILY}" in [2020-07-14T07:17:05.818Z] + rpm -qa [2020-07-14T07:17:05.818Z] + sort [2020-07-14T07:17:10.032Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-14T07:17:10.032Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-14T07:17:10.032Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-14T07:17:10.032Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' [2020-07-14T07:17:10.032Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [2020-07-14T07:17:10.032Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-14T07:17:10.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-14T07:17:10.658Z] [2020-07-14T07:17:10.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-14T07:17:11.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-14T07:17:11.201Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-14T07:17:11.201Z] c9b1b535fdd9: Pulling fs layer [2020-07-14T07:17:11.201Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-14T07:17:11.201Z] 756a868c4378: Pulling fs layer [2020-07-14T07:17:11.201Z] 444b2fc9a129: Pulling fs layer [2020-07-14T07:17:11.201Z] ea15f1150254: Pulling fs layer [2020-07-14T07:17:11.201Z] 41b27a9f41bf: Pulling fs layer [2020-07-14T07:17:11.201Z] 28c525ee5125: Pulling fs layer [2020-07-14T07:17:11.201Z] 094b1ea09ed8: Pulling fs layer [2020-07-14T07:17:11.201Z] 138eaada9080: Pulling fs layer [2020-07-14T07:17:11.201Z] 0622d0fa9048: Pulling fs layer [2020-07-14T07:17:11.201Z] 41b27a9f41bf: Waiting [2020-07-14T07:17:11.201Z] 444b2fc9a129: Waiting [2020-07-14T07:17:11.201Z] ea15f1150254: Waiting [2020-07-14T07:17:11.201Z] 28c525ee5125: Waiting [2020-07-14T07:17:11.201Z] 094b1ea09ed8: Waiting [2020-07-14T07:17:11.201Z] 138eaada9080: Waiting [2020-07-14T07:17:11.201Z] 0622d0fa9048: Waiting [2020-07-14T07:17:11.201Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-14T07:17:11.201Z] 2cc5ad85d9ab: Download complete [2020-07-14T07:17:11.201Z] 444b2fc9a129: Download complete [2020-07-14T07:17:11.201Z] c9b1b535fdd9: Verifying Checksum [2020-07-14T07:17:11.201Z] c9b1b535fdd9: Download complete [2020-07-14T07:17:11.201Z] ea15f1150254: Download complete [2020-07-14T07:17:11.201Z] 28c525ee5125: Verifying Checksum [2020-07-14T07:17:11.201Z] 28c525ee5125: Download complete [2020-07-14T07:17:11.790Z] 756a868c4378: Verifying Checksum [2020-07-14T07:17:11.790Z] 756a868c4378: Download complete [2020-07-14T07:17:11.790Z] 138eaada9080: Verifying Checksum [2020-07-14T07:17:11.790Z] 138eaada9080: Download complete [2020-07-14T07:17:11.790Z] 0622d0fa9048: Verifying Checksum [2020-07-14T07:17:11.790Z] 0622d0fa9048: Download complete [2020-07-14T07:17:11.790Z] 094b1ea09ed8: Verifying Checksum [2020-07-14T07:17:11.790Z] 094b1ea09ed8: Download complete [2020-07-14T07:17:11.790Z] c9b1b535fdd9: Pull complete [2020-07-14T07:17:12.052Z] 2cc5ad85d9ab: Pull complete [2020-07-14T07:17:12.318Z] 41b27a9f41bf: Verifying Checksum [2020-07-14T07:17:12.318Z] 41b27a9f41bf: Download complete [2020-07-14T07:17:13.259Z] 756a868c4378: Pull complete [2020-07-14T07:17:13.523Z] 444b2fc9a129: Pull complete [2020-07-14T07:17:14.094Z] ea15f1150254: Pull complete [2020-07-14T07:17:17.406Z] 41b27a9f41bf: Pull complete [2020-07-14T07:17:17.982Z] 28c525ee5125: Pull complete [2020-07-14T07:17:19.906Z] 094b1ea09ed8: Pull complete [2020-07-14T07:17:21.288Z] 138eaada9080: Pull complete [2020-07-14T07:17:21.550Z] 0622d0fa9048: Pull complete [2020-07-14T07:17:21.550Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-14T07:17:21.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-14T07:17:21.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-14T07:17:21.701Z] prd-centos7-docker-4c-2g-598 does not seem to be running inside a container [2020-07-14T07:17:21.736Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-14T07:17:24.205Z] $ docker top fa37742a9f36772584a2dedd6a48496eff3ba37745cf8dc8c27954907d729579 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-14T07:17:24.691Z] provisioning config files... [2020-07-14T07:17:24.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config8592901047954603122tmp [Pipeline] { [Pipeline] echo [2020-07-14T07:17:24.809Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-14T07:17:25.122Z] ---> create-netrc.sh [Pipeline] echo [2020-07-14T07:17:25.148Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-14T07:17:25.463Z] ---> logs-deploy.sh [2020-07-14T07:17:25.463Z] + ARCHIVE_ARTIFACTS= [2020-07-14T07:17:25.463Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-14T07:17:25.463Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-14T07:17:25.463Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-14T07:17:25.463Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/1 [2020-07-14T07:17:25.463Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/1/ [2020-07-14T07:17:25.463Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/1 /w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-14T07:17:26.850Z] Archives upload complete. [2020-07-14T07:17:26.850Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/1/