Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d52175a4df71bad1a2bc98bc1f8574c2dd59dff0+052c3d8a66f112a94cad097afe431d6fab48a90e (90b0ecafdcf8b2203554a6419c83d437bd1c9395) Running in Durability level: PERFORMANCE_OPTIMIZED 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-840 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 Fetching without tags > 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 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 Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 Merge succeeded, producing 9ccbcd0ae2d64a65658abf381a4580e3a53ef7a9 Checking out Revision 9ccbcd0ae2d64a65658abf381a4580e3a53ef7a9 (PR-549) > 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 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ccbcd0ae2d64a65658abf381a4580e3a53ef7a9 # timeout=10 Commit message: "Merge commit '052c3d8a66f112a94cad097afe431d6fab48a90e' into HEAD" > git rev-list --no-walk d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:43:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:43:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:43:59 ========================================================= 22:43:59 EdgeX Global Pipelines Version Info 22:43:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:44:01 ------------------- 22:44:01 stable info: 22:44:01 ------------------- 22:44:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:44:01 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 22:44:01 Message: update stable to v1.0.99 22:44:01 ------------------- 22:44:01 experimental info: 22:44:01 ------------------- 22:44:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:44:01 Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 22:44:01 Message: update experimental to v1.0.100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 22:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:44:03 22:44:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:44:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:44:04 latest: Pulling from edgex-devops/git-semver 22:44:04 31603596830f: Pulling fs layer 22:44:04 2a8b12db71e7: Pulling fs layer 22:44:04 6ca5941a6612: Pulling fs layer 22:44:04 ecc8261a40a4: Pulling fs layer 22:44:04 ecc8261a40a4: Waiting 22:44:04 2a8b12db71e7: Verifying Checksum 22:44:04 2a8b12db71e7: Download complete 22:44:04 31603596830f: Verifying Checksum 22:44:04 31603596830f: Download complete 22:44:04 ecc8261a40a4: Verifying Checksum 22:44:04 ecc8261a40a4: Download complete 22:44:04 6ca5941a6612: Verifying Checksum 22:44:04 6ca5941a6612: Download complete 22:44:04 31603596830f: Pull complete 22:44:04 2a8b12db71e7: Pull complete 22:44:05 6ca5941a6612: Pull complete 22:44:05 ecc8261a40a4: Pull complete 22:44:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:44:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:44:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:44:05 prd-centos7-docker-4c-2g-840 does not seem to be running inside a container 22:44:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:44:07 $ docker top cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:44:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:08 [ssh-agent] Looking for ssh-agent implementation... 22:44:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:08 $ docker exec cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 ssh-agent 22:44:08 SSH_AUTH_SOCK=/tmp/ssh-Bj7ANENloeog/agent.12 22:44:08 SSH_AGENT_PID=18 22:44:08 Running ssh-add (command line suppressed) 22:44:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_298933643024285904.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_298933643024285904.key) 22:44:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:09 + git describe --exact-match --tags HEAD 22:44:09 fatal: No names found, cannot describe anything. [Pipeline] } 22:44:09 $ docker exec --env ******** --env ******** cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 ssh-agent -k 22:44:09 unset SSH_AUTH_SOCK; 22:44:09 unset SSH_AGENT_PID; 22:44:09 echo Agent pid 18 killed; 22:44:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:44:09 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:44:09 This usually means this commit has not been tagged. [Pipeline] sshagent 22:44:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:09 [ssh-agent] Looking for ssh-agent implementation... 22:44:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:09 $ docker exec cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 ssh-agent 22:44:09 SSH_AUTH_SOCK=/tmp/ssh-B5tOPKEHEHys/agent.46 22:44:09 SSH_AGENT_PID=51 22:44:09 Running ssh-add (command line suppressed) 22:44:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_6765909932926065466.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_6765909932926065466.key) 22:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:10 + git semver init 22:44:10 # -> Open(): unable to determine branch for HEAD 22:44:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git 22:44:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 22:44:10 # $SEMVER_REMOTE_NAME = origin 22:44:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:44:10 # $SEMVER_USER_NAME = edgex-jenkins 22:44:10 # $SEMVER_BRANCH = PR-549 22:44:10 # $SEMVER_TEMP = /tmp/semver-294337860 22:44:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:44:11 # '/tmp/semver-294337860' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' 22:44:11 # -> Force: false 22:44:11 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } 22:44:11 $ docker exec --env ******** --env ******** cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 ssh-agent -k 22:44:11 unset SSH_AUTH_SOCK; 22:44:11 unset SSH_AGENT_PID; 22:44:11 echo Agent pid 51 killed; 22:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:44:11 + git semver [Pipeline] } 22:44:11 $ docker stop --time=1 cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 22:44:13 $ docker rm -f cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:44:13 Stashed 73 file(s) [Pipeline] echo 22:44:13 [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 22:44:29 Still waiting to schedule task 22:44:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:44:29 Still waiting to schedule task 22:44:29 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:47:17 Running on prd-centos7-docker-4c-2g-841 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 22:47:17 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:47:24 using credential edgex-jenkins-ssh 22:47:25 Cloning the remote Git repository 22:47:25 Cloning with configured refspecs honoured and without tags 22:47:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:47:25 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:47:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:47:25 > git --version # timeout=10 22:47:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:25 > 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 22:47:26 Fetching without tags 22:47:26 Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 22:47:27 Merge succeeded, producing d9ea9db67efad3978ea30913f06df1766caee538 22:47:27 Checking out Revision d9ea9db67efad3978ea30913f06df1766caee538 (PR-549) 22:47:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:47:26 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 22:47:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:47:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:47:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:47:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:26 > 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 22:47:26 > git config core.sparsecheckout # timeout=10 22:47:26 > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 22:47:26 > git remote # timeout=10 22:47:26 > git config --get remote.origin.url # timeout=10 22:47:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:27 > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 22:47:27 > git rev-parse HEAD^{commit} # timeout=10 22:47:27 > git config core.sparsecheckout # timeout=10 22:47:27 > git checkout -f d9ea9db67efad3978ea30913f06df1766caee538 # timeout=10 22:47:31 Commit message: "Merge commit '052c3d8a66f112a94cad097afe431d6fab48a90e' into HEAD" 22:47:31 > git rev-list --no-walk d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:47:32 ========================================================= 22:47:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:47:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:47:33 + 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 . 22:47:34 Sending build context to Docker daemon 3.17MB 22:47:34 Step 1/8 : ARG BASE=golang:1.13-alpine 22:47:34 Step 2/8 : FROM ${BASE} 22:47:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:47:34 e6b0cf9c0882: Pulling fs layer 22:47:34 2848faf0eed1: Pulling fs layer 22:47:34 0f37312ad70f: Pulling fs layer 22:47:34 5788d62ee057: Pulling fs layer 22:47:34 0e6b1d234666: Pulling fs layer 22:47:34 bf5d7aec512f: Pulling fs layer 22:47:34 34c802a77dc8: Pulling fs layer 22:47:34 9eb99e56ec68: Pulling fs layer 22:47:34 27c7a5d97fbd: Pulling fs layer 22:47:34 5c102a31e300: Pulling fs layer 22:47:34 dcfb455df0a1: Pulling fs layer 22:47:34 5c102a31e300: Waiting 22:47:34 dcfb455df0a1: Waiting 22:47:34 9eb99e56ec68: Waiting 22:47:34 27c7a5d97fbd: Waiting 22:47:34 0e6b1d234666: Waiting 22:47:34 bf5d7aec512f: Waiting 22:47:34 34c802a77dc8: Waiting 22:47:34 0f37312ad70f: Verifying Checksum 22:47:34 0f37312ad70f: Download complete 22:47:34 2848faf0eed1: Verifying Checksum 22:47:34 2848faf0eed1: Download complete 22:47:34 0e6b1d234666: Verifying Checksum 22:47:34 0e6b1d234666: Download complete 22:47:34 e6b0cf9c0882: Verifying Checksum 22:47:34 e6b0cf9c0882: Download complete 22:47:34 bf5d7aec512f: Verifying Checksum 22:47:34 bf5d7aec512f: Download complete 22:47:35 e6b0cf9c0882: Pull complete 22:47:36 34c802a77dc8: Verifying Checksum 22:47:36 34c802a77dc8: Download complete 22:47:36 27c7a5d97fbd: Verifying Checksum 22:47:36 27c7a5d97fbd: Download complete 22:47:36 2848faf0eed1: Pull complete 22:47:37 5c102a31e300: Verifying Checksum 22:47:37 5c102a31e300: Download complete 22:47:37 dcfb455df0a1: Verifying Checksum 22:47:37 dcfb455df0a1: Download complete 22:47:37 9eb99e56ec68: Verifying Checksum 22:47:37 9eb99e56ec68: Download complete 22:47:37 5788d62ee057: Verifying Checksum 22:47:37 5788d62ee057: Download complete 22:47:37 0f37312ad70f: Pull complete 22:47:47 5788d62ee057: Pull complete 22:47:47 0e6b1d234666: Pull complete 22:47:47 bf5d7aec512f: Pull complete 22:47:53 34c802a77dc8: Pull complete 22:47:59 9eb99e56ec68: Pull complete 22:47:59 27c7a5d97fbd: Pull complete 22:48:01 5c102a31e300: Pull complete 22:48:01 dcfb455df0a1: Pull complete 22:48:01 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 22:48:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:48:01 ---> 7c70fe431013 22:48:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:48:02 ---> Running in 0c55fea25fc6 22:48:02 Removing intermediate container 0c55fea25fc6 22:48:02 ---> e17b0a3bf89d 22:48:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:02 ---> Running in 9ab12100b409 22:48:06 Removing intermediate container 9ab12100b409 22:48:06 ---> d6f5ec46df8d 22:48:06 Step 5/8 : RUN apk add --no-cache make git 22:48:06 ---> Running in e0ecdf932883 22:48:06 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:48:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:48:08 OK: 143 MiB in 39 packages 22:48:09 Removing intermediate container e0ecdf932883 22:48:09 ---> 890956ac5a35 22:48:09 Step 6/8 : WORKDIR /device-sdk-go 22:48:09 ---> Running in 0a6ef9c0e7da 22:48:09 Removing intermediate container 0a6ef9c0e7da 22:48:09 ---> eb7857cb3675 22:48:09 Step 7/8 : COPY . . 22:48:11 ---> 3a689671f650 22:48:11 Step 8/8 : RUN go mod download 22:48:11 ---> Running in 0a249b04fbbb 22:48:14 go: finding github.com/BurntSushi/toml v0.3.1 22:48:14 go: finding github.com/OneOfOne/xxhash v1.2.6 22:48:14 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:48:14 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:48:14 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:48:14 go: finding github.com/bgentry/speakeasy v0.1.0 22:48:14 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:48:14 go: finding github.com/davecgh/go-spew v1.1.1 22:48:14 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 22:48:14 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:48:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:48:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:48:14 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:48:14 go: finding github.com/fatih/color v1.7.0 22:48:15 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:48:15 go: finding github.com/go-kit/kit v0.8.0 22:48:15 go: finding github.com/go-logfmt/logfmt v0.4.0 22:48:15 go: finding github.com/go-stack/stack v1.8.0 22:48:15 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:48:15 go: finding github.com/google/uuid v1.1.0 22:48:15 go: finding github.com/gorilla/mux v1.7.1 22:48:15 go: finding github.com/hashicorp/consul/api v1.1.0 22:48:15 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:48:15 go: finding github.com/hashicorp/errwrap v1.0.0 22:48:15 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:48:15 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:48:15 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:48:15 go: finding github.com/hashicorp/go-multierror v1.0.0 22:48:15 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:48:15 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:48:15 go: finding github.com/hashicorp/go-syslog v1.0.0 22:48:15 go: finding github.com/hashicorp/go-uuid v1.0.1 22:48:15 go: finding github.com/hashicorp/go.net v0.0.1 22:48:15 go: finding github.com/hashicorp/golang-lru v0.5.0 22:48:15 go: finding github.com/hashicorp/logutils v1.0.0 22:48:15 go: finding github.com/hashicorp/mdns v1.0.0 22:48:15 go: finding github.com/hashicorp/memberlist v0.1.3 22:48:15 go: finding github.com/hashicorp/serf v0.8.2 22:48:15 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:48:15 go: finding github.com/mattn/go-colorable v0.0.9 22:48:15 go: finding github.com/mattn/go-isatty v0.0.3 22:48:15 go: finding github.com/miekg/dns v1.0.14 22:48:15 go: finding github.com/mitchellh/cli v1.0.0 22:48:15 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:48:15 go: finding github.com/mitchellh/copystructure v1.0.0 22:48:15 go: finding github.com/mitchellh/go-homedir v1.0.0 22:48:15 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:48:15 go: finding github.com/mitchellh/gox v0.4.0 22:48:15 go: finding github.com/mitchellh/iochan v1.0.0 22:48:15 go: finding github.com/mitchellh/mapstructure v1.1.2 22:48:16 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:48:16 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:48:16 go: finding github.com/pelletier/go-toml v1.2.0 22:48:16 go: finding github.com/pkg/errors v0.8.1 22:48:16 go: finding github.com/pmezard/go-difflib v1.0.0 22:48:16 go: finding github.com/posener/complete v1.1.1 22:48:16 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:48:16 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:48:16 go: finding github.com/stretchr/objx v0.1.0 22:48:16 go: finding github.com/stretchr/testify v1.5.1 22:48:16 go: finding github.com/ugorji/go v1.1.4 22:48:16 go: finding github.com/x448/float16 v0.8.4 22:48:16 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:48:16 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:48:16 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:48:16 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:48:16 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:48:16 go: finding gopkg.in/yaml.v2 v2.2.8 22:48:27 Removing intermediate container 0a249b04fbbb 22:48:27 ---> cf71d4331aea 22:48:27 Successfully built cf71d4331aea 22:48:27 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 22:48:27 + docker inspect -f . ci-base-image-x86_64 22:48:28 . [Pipeline] withDockerContainer 22:48:28 prd-centos7-docker-4c-2g-841 does not seem to be running inside a container 22:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:48:29 $ docker top 4b4a9f8856e6149e22944a2bda46c18a08ad432edb92713829237b5f4b8e1d5b -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:30 + go version 22:48:30 go version go1.13.5 linux/amd64 [Pipeline] sh 22:48:30 + make test 22:48:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:48:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:48:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-843 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 22:48:41 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:48:46 using credential edgex-jenkins-ssh 22:48:46 Cloning the remote Git repository 22:48:46 Cloning with configured refspecs honoured and without tags 22:48:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:48:46 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:48:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:48:46 > git --version # timeout=10 22:48:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:46 > 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 22:48:47 Fetching without tags 22:48:48 # github.com/edgexfoundry/device-sdk-go/internal/autoevent [github.com/edgexfoundry/device-sdk-go/internal/autoevent.test] 22:48:48 internal/autoevent/executor_test.go:27:32: not enough arguments in call to compareReadings 22:48:48 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:48:48 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:48:48 internal/autoevent/executor_test.go:33:31: not enough arguments in call to compareReadings 22:48:48 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:48:48 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:48:48 internal/autoevent/executor_test.go:39:31: not enough arguments in call to compareReadings 22:48:48 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:48:48 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:48:48 internal/autoevent/executor_test.go:44:31: not enough arguments in call to compareReadings 22:48:48 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:48:48 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:48:48 internal/autoevent/executor_test.go:54:31: not enough arguments in call to compareReadings 22:48:48 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:48:48 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:48:48 internal/autoevent/executor_test.go:60:31: not enough arguments in call to compareReadings 22:48:48 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:48:48 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:48:48 internal/autoevent/executor_test.go:66:30: not enough arguments in call to compareReadings 22:48:48 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:48:48 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:48:48 internal/autoevent/executor_test.go:71:30: not enough arguments in call to compareReadings 22:48:48 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:48:48 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:48:48 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:48:48 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:48:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 22:48:48 # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] 22:48:48 internal/clients/init_test.go:27:2: undefined: common.CurrentConfig 22:48:48 internal/clients/init_test.go:28:2: undefined: common.LoggingClient 22:48:48 internal/clients/init_test.go:30:36: not enough arguments in call to checkServiceAvailableByPing 22:48:48 have (string) 22:48:48 want (string, *di.Container) 22:48:48 # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] 22:48:48 internal/common/utils_test.go:109:30: not enough arguments in call to FilterQueryParams 22:48:48 have (string) 22:48:48 want (string, logger.LoggingClient) 22:48:48 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 22:48:48 internal/transformer/transformresult_test.go:23:2: undefined: common.LoggingClient 22:48:48 internal/transformer/transformresult_test.go:36:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:62:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:82:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:108:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:128:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:154:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:174:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:200:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:220:27: not enough arguments in call to TransformReadResult 22:48:48 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:48:48 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:48:48 internal/transformer/transformresult_test.go:220:27: too many errors 22:48:48 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 22:48:48 internal/cache/devices_test.go:25:2: undefined: common.DeviceClient 22:48:48 internal/cache/devices_test.go:27:10: undefined: common.DeviceClient 22:48:48 internal/cache/init_test.go:22:2: undefined: common.ValueDescriptorClient 22:48:48 internal/cache/init_test.go:23:2: undefined: common.DeviceClient 22:48:48 internal/cache/init_test.go:24:11: not enough arguments in call to InitCache 22:48:48 have () 22:48:48 want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) 22:48:48 internal/cache/init_test.go:28:31: undefined: common.ValueDescriptorClient 22:48:48 internal/cache/init_test.go:33:30: undefined: common.DeviceClient 22:48:48 internal/cache/profiles_test.go:23:2: undefined: common.DeviceProfileClient 22:48:48 internal/cache/profiles_test.go:25:11: undefined: common.DeviceProfileClient 22:48:48 internal/cache/provisionwatchers_test.go:25:2: undefined: common.ProvisionWatcherClient 22:48:48 internal/cache/provisionwatchers_test.go:25:2: too many errors 22:48:48 # github.com/edgexfoundry/device-sdk-go/internal/controller [github.com/edgexfoundry/device-sdk-go/internal/controller.test] 22:48:48 internal/controller/restfuncs_test.go:47:2: undefined: common.LoggingClient 22:48:48 internal/controller/restfuncs_test.go:48:2: undefined: common.DeviceClient 22:48:48 internal/controller/restfuncs_test.go:50:33: not enough arguments in call to NewRestController 22:48:48 have (*mux.Router) 22:48:48 want (*mux.Router, logger.LoggingClient) 22:48:48 internal/controller/restfuncs_test.go:51:27: not enough arguments in call to controller.InitRestRoutes 22:48:48 have () 22:48:48 want (*di.Container) 22:48:48 internal/controller/restfuncs_test.go:73:2: undefined: common.LoggingClient 22:48:48 internal/controller/restfuncs_test.go:74:2: undefined: common.ServiceLocked 22:48:48 internal/controller/restfuncs_test.go:77:33: not enough arguments in call to NewRestController 22:48:48 have (*mux.Router) 22:48:48 want (*mux.Router, logger.LoggingClient) 22:48:48 internal/controller/restfuncs_test.go:78:27: not enough arguments in call to controller.InitRestRoutes 22:48:48 have () 22:48:48 want (*di.Container) 22:48:48 internal/controller/restfuncs_test.go:102:2: undefined: common.LoggingClient 22:48:48 internal/controller/restfuncs_test.go:103:2: undefined: common.ServiceLocked 22:48:48 internal/controller/restfuncs_test.go:103:2: too many errors 22:48:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 22:48:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 22:48:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] 22:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:48:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 22:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:48:48 # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] 22:48:48 internal/handler/command_test.go:53:2: undefined: common.ValueDescriptorClient 22:48:48 internal/handler/command_test.go:54:2: undefined: common.ProvisionWatcherClient 22:48:48 internal/handler/command_test.go:55:2: undefined: common.DeviceClient 22:48:48 internal/handler/command_test.go:56:2: undefined: common.EventClient 22:48:48 internal/handler/command_test.go:57:2: undefined: common.LoggingClient 22:48:48 internal/handler/command_test.go:58:2: undefined: common.Driver 22:48:48 internal/handler/command_test.go:59:17: not enough arguments in call to cache.InitCache 22:48:48 have () 22:48:48 want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) 22:48:48 internal/handler/command_test.go:74:10: undefined: common.DeviceClient 22:48:48 internal/handler/command_test.go:78:2: undefined: common.CurrentConfig 22:48:48 internal/handler/command_test.go:79:2: undefined: common.LoggingClient 22:48:48 internal/handler/command_test.go:79:2: too many errors 22:48:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 22:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:48:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 22:48:48 Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 22:48:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.111s coverage: 68.9% of statements 22:48:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 22:48:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:48:48 FAIL 22:48:48 Merge succeeded, producing f411bbd47644455331ff9871a39423fffe757bcb 22:48:48 Checking out Revision f411bbd47644455331ff9871a39423fffe757bcb (PR-549) 22:48:48 make: *** [Makefile:29: test] Error 2 [Pipeline] } 22:48:48 $ docker stop --time=1 4b4a9f8856e6149e22944a2bda46c18a08ad432edb92713829237b5f4b8e1d5b 22:48:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:48:47 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 22:48:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:48:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:48:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:47 > 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 22:48:48 > git config core.sparsecheckout # timeout=10 22:48:48 > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 22:48:48 > git remote # timeout=10 22:48:48 > git config --get remote.origin.url # timeout=10 22:48:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:48 > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 22:48:48 > git rev-parse HEAD^{commit} # timeout=10 22:48:48 > git config core.sparsecheckout # timeout=10 22:48:48 > git checkout -f f411bbd47644455331ff9871a39423fffe757bcb # timeout=10 22:48:51 $ docker rm -f 4b4a9f8856e6149e22944a2bda46c18a08ad432edb92713829237b5f4b8e1d5b [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] } 22:48:52 Failed in branch amd64 22:48:53 Commit message: "Merge commit '052c3d8a66f112a94cad097afe431d6fab48a90e' into HEAD" 22:48:53 > git rev-list --no-walk d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:48:54 ========================================================= 22:48:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:48:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:48:56 + 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 . 22:48:57 Sending build context to Docker daemon 3.17MB 22:48:57 Step 1/8 : ARG BASE=golang:1.13-alpine 22:48:57 Step 2/8 : FROM ${BASE} 22:48:57 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:48:57 cde5963f3b93: Pulling fs layer 22:48:57 2a23fa8c16f7: Pulling fs layer 22:48:57 777b28850792: Pulling fs layer 22:48:57 8a11ddd9e578: Pulling fs layer 22:48:57 4cf88f913ddb: Pulling fs layer 22:48:57 1df406cf5192: Pulling fs layer 22:48:57 cd6300453558: Pulling fs layer 22:48:57 b9c365052c96: Pulling fs layer 22:48:57 a2d8cc88f415: Pulling fs layer 22:48:57 ea1d1ca13537: Pulling fs layer 22:48:57 3750a50a1c5e: Pulling fs layer 22:48:57 8a11ddd9e578: Waiting 22:48:57 4cf88f913ddb: Waiting 22:48:57 cd6300453558: Waiting 22:48:57 b9c365052c96: Waiting 22:48:57 a2d8cc88f415: Waiting 22:48:57 ea1d1ca13537: Waiting 22:48:57 3750a50a1c5e: Waiting 22:48:57 1df406cf5192: Waiting 22:48:57 777b28850792: Verifying Checksum 22:48:57 777b28850792: Download complete 22:48:57 2a23fa8c16f7: Download complete 22:48:57 4cf88f913ddb: Verifying Checksum 22:48:57 4cf88f913ddb: Download complete 22:48:57 1df406cf5192: Verifying Checksum 22:48:57 1df406cf5192: Download complete 22:48:57 cde5963f3b93: Download complete 22:48:58 cde5963f3b93: Pull complete 22:48:58 2a23fa8c16f7: Pull complete 22:48:59 777b28850792: Pull complete 22:48:59 cd6300453558: Verifying Checksum 22:48:59 cd6300453558: Download complete 22:48:59 a2d8cc88f415: Verifying Checksum 22:48:59 a2d8cc88f415: Download complete 22:49:00 ea1d1ca13537: Verifying Checksum 22:49:00 ea1d1ca13537: Download complete 22:49:01 3750a50a1c5e: Verifying Checksum 22:49:01 3750a50a1c5e: Download complete 22:49:02 b9c365052c96: Verifying Checksum 22:49:02 b9c365052c96: Download complete 22:49:02 8a11ddd9e578: Verifying Checksum 22:49:02 8a11ddd9e578: Download complete 22:49:15 8a11ddd9e578: Pull complete 22:49:15 4cf88f913ddb: Pull complete 22:49:15 1df406cf5192: Pull complete 22:49:19 cd6300453558: Pull complete 22:49:24 b9c365052c96: Pull complete 22:49:24 a2d8cc88f415: Pull complete 22:49:26 ea1d1ca13537: Pull complete 22:49:26 3750a50a1c5e: Pull complete 22:49:26 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 22:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:49:26 ---> 78745c68409d 22:49:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:49:32 ---> Running in a1dff115529f 22:49:32 Removing intermediate container a1dff115529f 22:49:32 ---> 768f85858376 22:49:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:32 ---> Running in c8dba3e4cea4 22:49:35 Removing intermediate container c8dba3e4cea4 22:49:35 ---> f70413973236 22:49:35 Step 5/8 : RUN apk add --no-cache make git 22:49:35 ---> Running in 849f18e9f723 22:49:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:49:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:49:39 OK: 125 MiB in 39 packages 22:49:40 Removing intermediate container 849f18e9f723 22:49:40 ---> 39d2bc1b4405 22:49:40 Step 6/8 : WORKDIR /device-sdk-go 22:49:40 ---> Running in 947fc68de5f3 22:49:41 Removing intermediate container 947fc68de5f3 22:49:41 ---> 8b766d19b413 22:49:41 Step 7/8 : COPY . . 22:49:43 ---> 83f864b01700 22:49:43 Step 8/8 : RUN go mod download 22:49:43 ---> Running in 9569623b4916 22:49:45 go: finding github.com/BurntSushi/toml v0.3.1 22:49:45 go: finding github.com/OneOfOne/xxhash v1.2.6 22:49:45 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:49:45 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:49:45 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:49:45 go: finding github.com/bgentry/speakeasy v0.1.0 22:49:45 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:49:45 go: finding github.com/davecgh/go-spew v1.1.1 22:49:45 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 22:49:45 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:49:45 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:49:45 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:49:45 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:49:46 go: finding github.com/fatih/color v1.7.0 22:49:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:49:46 go: finding github.com/go-kit/kit v0.8.0 22:49:46 go: finding github.com/go-logfmt/logfmt v0.4.0 22:49:46 go: finding github.com/go-stack/stack v1.8.0 22:49:46 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:49:46 go: finding github.com/google/uuid v1.1.0 22:49:46 go: finding github.com/gorilla/mux v1.7.1 22:49:46 go: finding github.com/hashicorp/consul/api v1.1.0 22:49:46 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:49:46 go: finding github.com/hashicorp/errwrap v1.0.0 22:49:46 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:49:46 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:49:46 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:49:46 go: finding github.com/hashicorp/go-multierror v1.0.0 22:49:46 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:49:46 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:49:46 go: finding github.com/hashicorp/go-syslog v1.0.0 22:49:46 go: finding github.com/hashicorp/go-uuid v1.0.1 22:49:46 go: finding github.com/hashicorp/go.net v0.0.1 22:49:46 go: finding github.com/hashicorp/golang-lru v0.5.0 22:49:46 go: finding github.com/hashicorp/logutils v1.0.0 22:49:46 go: finding github.com/hashicorp/mdns v1.0.0 22:49:46 go: finding github.com/hashicorp/memberlist v0.1.3 22:49:46 go: finding github.com/hashicorp/serf v0.8.2 22:49:46 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:49:46 go: finding github.com/mattn/go-colorable v0.0.9 22:49:46 go: finding github.com/mattn/go-isatty v0.0.3 22:49:46 go: finding github.com/miekg/dns v1.0.14 22:49:46 go: finding github.com/mitchellh/cli v1.0.0 22:49:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:49:46 go: finding github.com/mitchellh/copystructure v1.0.0 22:49:46 go: finding github.com/mitchellh/go-homedir v1.0.0 22:49:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:49:46 go: finding github.com/mitchellh/gox v0.4.0 22:49:46 go: finding github.com/mitchellh/iochan v1.0.0 22:49:46 go: finding github.com/mitchellh/mapstructure v1.1.2 22:49:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:49:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:49:46 go: finding github.com/pelletier/go-toml v1.2.0 22:49:46 go: finding github.com/pkg/errors v0.8.1 22:49:46 go: finding github.com/pmezard/go-difflib v1.0.0 22:49:46 go: finding github.com/posener/complete v1.1.1 22:49:46 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:49:46 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:49:46 go: finding github.com/stretchr/objx v0.1.0 22:49:47 go: finding github.com/stretchr/testify v1.5.1 22:49:47 go: finding github.com/ugorji/go v1.1.4 22:49:47 go: finding github.com/x448/float16 v0.8.4 22:49:47 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:49:47 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:49:47 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:49:47 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:49:47 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:49:47 go: finding gopkg.in/yaml.v2 v2.2.8 22:49:57 Removing intermediate container 9569623b4916 22:49:57 ---> 70a6a65f7f5d 22:49:57 Successfully built 70a6a65f7f5d 22:49:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:49:58 + docker inspect -f . ci-base-image-arm64 22:49:58 . [Pipeline] withDockerContainer 22:49:58 prd-ubuntu18.04-docker-arm64-4c-16g-843 does not seem to be running inside a container 22:49:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:50:00 $ docker top 1d0c052507d05abe658f1bf6c4e58909c8a8be3095a84157be964bfec8b3dd70 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:01 + go version 22:50:01 go version go1.13.5 linux/arm64 [Pipeline] sh 22:50:02 + make test 22:50:02 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:50:03 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:50:30 # github.com/edgexfoundry/device-sdk-go/internal/autoevent [github.com/edgexfoundry/device-sdk-go/internal/autoevent.test] 22:50:30 internal/autoevent/executor_test.go:27:32: not enough arguments in call to compareReadings 22:50:30 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:50:30 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:50:30 internal/autoevent/executor_test.go:33:31: not enough arguments in call to compareReadings 22:50:30 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:50:30 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:50:30 internal/autoevent/executor_test.go:39:31: not enough arguments in call to compareReadings 22:50:30 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:50:30 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:50:30 internal/autoevent/executor_test.go:44:31: not enough arguments in call to compareReadings 22:50:30 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:50:30 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:50:30 internal/autoevent/executor_test.go:54:31: not enough arguments in call to compareReadings 22:50:30 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:50:30 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:50:30 internal/autoevent/executor_test.go:60:31: not enough arguments in call to compareReadings 22:50:30 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:50:30 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:50:30 internal/autoevent/executor_test.go:66:30: not enough arguments in call to compareReadings 22:50:30 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:50:30 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:50:30 internal/autoevent/executor_test.go:71:30: not enough arguments in call to compareReadings 22:50:30 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:50:30 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:50:30 # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] 22:50:30 internal/clients/init_test.go:27:2: undefined: common.CurrentConfig 22:50:30 internal/clients/init_test.go:28:2: undefined: common.LoggingClient 22:50:30 internal/clients/init_test.go:30:36: not enough arguments in call to checkServiceAvailableByPing 22:50:30 have (string) 22:50:30 want (string, *di.Container) 22:50:30 # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] 22:50:30 internal/common/utils_test.go:109:30: not enough arguments in call to FilterQueryParams 22:50:30 have (string) 22:50:30 want (string, logger.LoggingClient) 22:50:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:50:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:50:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:50:30 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 22:50:30 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 22:50:30 internal/transformer/transformresult_test.go:23:2: undefined: common.LoggingClient 22:50:30 internal/transformer/transformresult_test.go:36:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:62:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:82:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:108:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:128:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:154:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:174:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:200:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:220:27: not enough arguments in call to TransformReadResult 22:50:30 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:50:30 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:50:30 internal/transformer/transformresult_test.go:220:27: too many errors 22:50:30 # github.com/edgexfoundry/device-sdk-go/internal/controller [github.com/edgexfoundry/device-sdk-go/internal/controller.test] 22:50:30 internal/controller/restfuncs_test.go:47:2: undefined: common.LoggingClient 22:50:30 internal/controller/restfuncs_test.go:48:2: undefined: common.DeviceClient 22:50:30 internal/controller/restfuncs_test.go:50:33: not enough arguments in call to NewRestController 22:50:30 have (*mux.Router) 22:50:30 want (*mux.Router, logger.LoggingClient) 22:50:30 internal/controller/restfuncs_test.go:51:27: not enough arguments in call to controller.InitRestRoutes 22:50:30 have () 22:50:30 want (*di.Container) 22:50:30 internal/controller/restfuncs_test.go:73:2: undefined: common.LoggingClient 22:50:30 internal/controller/restfuncs_test.go:74:2: undefined: common.ServiceLocked 22:50:30 internal/controller/restfuncs_test.go:77:33: not enough arguments in call to NewRestController 22:50:30 have (*mux.Router) 22:50:30 want (*mux.Router, logger.LoggingClient) 22:50:30 internal/controller/restfuncs_test.go:78:27: not enough arguments in call to controller.InitRestRoutes 22:50:30 have () 22:50:30 want (*di.Container) 22:50:30 internal/controller/restfuncs_test.go:102:2: undefined: common.LoggingClient 22:50:30 internal/controller/restfuncs_test.go:103:2: undefined: common.ServiceLocked 22:50:30 internal/controller/restfuncs_test.go:103:2: too many errors 22:50:30 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 22:50:30 internal/cache/devices_test.go:25:2: undefined: common.DeviceClient 22:50:30 internal/cache/devices_test.go:27:10: undefined: common.DeviceClient 22:50:30 internal/cache/init_test.go:22:2: undefined: common.ValueDescriptorClient 22:50:30 internal/cache/init_test.go:23:2: undefined: common.DeviceClient 22:50:30 internal/cache/init_test.go:24:11: not enough arguments in call to InitCache 22:50:30 have () 22:50:30 want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) 22:50:30 internal/cache/init_test.go:28:31: undefined: common.ValueDescriptorClient 22:50:30 internal/cache/init_test.go:33:30: undefined: common.DeviceClient 22:50:30 internal/cache/profiles_test.go:23:2: undefined: common.DeviceProfileClient 22:50:30 internal/cache/profiles_test.go:25:11: undefined: common.DeviceProfileClient 22:50:30 internal/cache/provisionwatchers_test.go:25:2: undefined: common.ProvisionWatcherClient 22:50:30 internal/cache/provisionwatchers_test.go:25:2: too many errors 22:50:31 # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] 22:50:31 internal/handler/command_test.go:53:2: undefined: common.ValueDescriptorClient 22:50:31 internal/handler/command_test.go:54:2: undefined: common.ProvisionWatcherClient 22:50:31 internal/handler/command_test.go:55:2: undefined: common.DeviceClient 22:50:31 internal/handler/command_test.go:56:2: undefined: common.EventClient 22:50:31 internal/handler/command_test.go:57:2: undefined: common.LoggingClient 22:50:31 internal/handler/command_test.go:58:2: undefined: common.Driver 22:50:31 internal/handler/command_test.go:59:17: not enough arguments in call to cache.InitCache 22:50:31 have () 22:50:31 want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) 22:50:31 internal/handler/command_test.go:74:10: undefined: common.DeviceClient 22:50:31 internal/handler/command_test.go:78:2: undefined: common.CurrentConfig 22:50:31 internal/handler/command_test.go:79:2: undefined: common.LoggingClient 22:50:31 internal/handler/command_test.go:79:2: too many errors 22:50:31 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 22:50:31 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 22:50:31 FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] 22:50:31 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:50:31 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 22:50:31 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:50:31 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 22:50:31 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:50:31 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:50:31 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:50:31 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 22:50:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.358s coverage: 68.9% of statements 22:50:33 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 22:50:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:50:33 FAIL 22:50:34 make: *** [Makefile:29: test] Error 2 [Pipeline] } 22:50:34 $ docker stop --time=1 1d0c052507d05abe658f1bf6c4e58909c8a8be3095a84157be964bfec8b3dd70 22:50:36 $ docker rm -f 1d0c052507d05abe658f1bf6c4e58909c8a8be3095a84157be964bfec8b3dd70 [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] } 22:50:37 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 22:50:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:50:39 ---> package-listing.sh 22:50:39 ++ facter osfamily 22:50:39 ++ tr '[:upper:]' '[:lower:]' 22:50:39 + OS_FAMILY=redhat 22:50:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 22:50:39 + START_PACKAGES=/tmp/packages_start.txt 22:50:39 + END_PACKAGES=/tmp/packages_end.txt 22:50:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:50:39 + PACKAGES=/tmp/packages_start.txt 22:50:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 22:50:39 + PACKAGES=/tmp/packages_end.txt 22:50:39 + case "${OS_FAMILY}" in 22:50:39 + rpm -qa 22:50:39 + sort 22:50:44 + '[' -f /tmp/packages_start.txt ']' 22:50:44 + '[' -f /tmp/packages_end.txt ']' 22:50:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:50:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 22:50:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ 22:50:44 + 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 22:50:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:50:44 22:50:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:50:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:50:45 alpine: Pulling from edgex-lftools-log-publisher 22:50:45 c9b1b535fdd9: Pulling fs layer 22:50:45 2cc5ad85d9ab: Pulling fs layer 22:50:45 756a868c4378: Pulling fs layer 22:50:45 444b2fc9a129: Pulling fs layer 22:50:45 ea15f1150254: Pulling fs layer 22:50:45 41b27a9f41bf: Pulling fs layer 22:50:45 28c525ee5125: Pulling fs layer 22:50:45 094b1ea09ed8: Pulling fs layer 22:50:45 138eaada9080: Pulling fs layer 22:50:45 0622d0fa9048: Pulling fs layer 22:50:45 41b27a9f41bf: Waiting 22:50:45 28c525ee5125: Waiting 22:50:45 094b1ea09ed8: Waiting 22:50:45 138eaada9080: Waiting 22:50:45 444b2fc9a129: Waiting 22:50:45 ea15f1150254: Waiting 22:50:45 0622d0fa9048: Waiting 22:50:45 2cc5ad85d9ab: Verifying Checksum 22:50:45 2cc5ad85d9ab: Download complete 22:50:45 444b2fc9a129: Verifying Checksum 22:50:45 444b2fc9a129: Download complete 22:50:45 c9b1b535fdd9: Download complete 22:50:45 ea15f1150254: Verifying Checksum 22:50:45 ea15f1150254: Download complete 22:50:45 28c525ee5125: Verifying Checksum 22:50:45 28c525ee5125: Download complete 22:50:45 756a868c4378: Verifying Checksum 22:50:45 756a868c4378: Download complete 22:50:45 c9b1b535fdd9: Pull complete 22:50:45 138eaada9080: Verifying Checksum 22:50:45 138eaada9080: Download complete 22:50:45 094b1ea09ed8: Verifying Checksum 22:50:45 094b1ea09ed8: Download complete 22:50:45 0622d0fa9048: Verifying Checksum 22:50:45 0622d0fa9048: Download complete 22:50:46 2cc5ad85d9ab: Pull complete 22:50:46 41b27a9f41bf: Verifying Checksum 22:50:46 41b27a9f41bf: Download complete 22:50:47 756a868c4378: Pull complete 22:50:47 444b2fc9a129: Pull complete 22:50:47 ea15f1150254: Pull complete 22:50:52 41b27a9f41bf: Pull complete 22:50:52 28c525ee5125: Pull complete 22:50:54 094b1ea09ed8: Pull complete 22:50:54 138eaada9080: Pull complete 22:50:55 0622d0fa9048: Pull complete 22:50:55 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 22:50:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:50:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:50:55 prd-centos7-docker-4c-2g-840 does not seem to be running inside a container 22:50:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:50:58 $ docker top 5d7f4e546fe894f58292f0cccb9a5b7e543e071eec05d68e497b19bcb9d9d757 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:59 provisioning config files... 22:50:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config7470344043246749781tmp [Pipeline] { [Pipeline] echo 22:50:59 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:50:59 ---> create-netrc.sh [Pipeline] echo 22:50:59 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:50:59 ---> logs-deploy.sh 22:50:59 + ARCHIVE_ARTIFACTS= 22:50:59 + LOGS_SERVER=https://logs.edgexfoundry.org 22:50:59 + '[' https://logs.edgexfoundry.org == None ']' 22:50:59 + NEXUS_URL=https://nexus.edgexfoundry.org 22:50:59 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/2 22:50:59 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/2/ 22:50:59 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/2 /w/workspace/dgexfoundry_device-sdk-go_PR-549 22:51:01 Archives upload complete. 22:51:01 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/2/