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+43f76da7d4a1dba45abf65466c274475ddab04f4 (5964f78f064f0218366949fe2bbe1919385c36ef) 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 ‘prd-centos7-blackbox-4c-2g-976’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-980’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-983 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 Fetching without tags > 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 > 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 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 Merge succeeded, producing c713a48b9dfbb6826aa6594bd4c2ab8fdfe8ae9e Checking out Revision c713a48b9dfbb6826aa6594bd4c2ab8fdfe8ae9e (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 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c713a48b9dfbb6826aa6594bd4c2ab8fdfe8ae9e # timeout=10 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:47 ========================================================= 22:41:47 EdgeX Global Pipelines Version Info 22:41:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9ccbcd0ae2d64a65658abf381a4580e3a53ef7a9 # timeout=10 22:41:49 ------------------- 22:41:49 stable info: 22:41:49 ------------------- 22:41:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:49 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 22:41:49 Message: update stable to v1.0.99 22:41:50 ------------------- 22:41:50 experimental info: 22:41:50 ------------------- 22:41:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:50 Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 22:41:50 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:41:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:52 22:41:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:41:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:52 latest: Pulling from edgex-devops/git-semver 22:41:52 31603596830f: Pulling fs layer 22:41:52 2a8b12db71e7: Pulling fs layer 22:41:52 6ca5941a6612: Pulling fs layer 22:41:52 ecc8261a40a4: Pulling fs layer 22:41:52 ecc8261a40a4: Waiting 22:41:52 2a8b12db71e7: Verifying Checksum 22:41:52 2a8b12db71e7: Download complete 22:41:52 31603596830f: Verifying Checksum 22:41:52 31603596830f: Download complete 22:41:52 6ca5941a6612: Verifying Checksum 22:41:52 6ca5941a6612: Download complete 22:41:52 ecc8261a40a4: Verifying Checksum 22:41:52 ecc8261a40a4: Download complete 22:41:53 31603596830f: Pull complete 22:41:53 2a8b12db71e7: Pull complete 22:41:54 6ca5941a6612: Pull complete 22:41:54 ecc8261a40a4: Pull complete 22:41:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:41:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:41:54 prd-centos7-docker-4c-2g-983 does not seem to be running inside a container 22:41:54 $ 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:41:56 $ docker top 7c9fe07e669eb6efd201cf9274c04ccb0322d62d0869e8c9285595a68dd8242e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:56 [ssh-agent] Looking for ssh-agent implementation... 22:41:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:56 $ docker exec 7c9fe07e669eb6efd201cf9274c04ccb0322d62d0869e8c9285595a68dd8242e ssh-agent 22:41:57 SSH_AUTH_SOCK=/tmp/ssh-Wl9H07HqQiwB/agent.12 22:41:57 SSH_AGENT_PID=17 22:41:57 Running ssh-add (command line suppressed) 22:41:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_292798057489461268.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_292798057489461268.key) 22:41:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:57 + git describe --exact-match --tags HEAD 22:41:57 fatal: No names found, cannot describe anything. [Pipeline] } 22:41:57 $ docker exec --env ******** --env ******** 7c9fe07e669eb6efd201cf9274c04ccb0322d62d0869e8c9285595a68dd8242e ssh-agent -k 22:41:57 unset SSH_AUTH_SOCK; 22:41:57 unset SSH_AGENT_PID; 22:41:57 echo Agent pid 17 killed; 22:41:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:41:58 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:41:58 This usually means this commit has not been tagged. [Pipeline] sshagent 22:41:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:58 [ssh-agent] Looking for ssh-agent implementation... 22:41:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:58 $ docker exec 7c9fe07e669eb6efd201cf9274c04ccb0322d62d0869e8c9285595a68dd8242e ssh-agent 22:41:58 SSH_AUTH_SOCK=/tmp/ssh-DGqfbKiRmF4u/agent.45 22:41:58 SSH_AGENT_PID=50 22:41:58 Running ssh-add (command line suppressed) 22:41:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7930727064679012599.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7930727064679012599.key) 22:41:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:58 + git semver init 22:41:58 # -> Open(): unable to determine branch for HEAD 22:41:58 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git 22:41:58 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 22:41:58 # $SEMVER_REMOTE_NAME = origin 22:41:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:41:58 # $SEMVER_USER_NAME = edgex-jenkins 22:41:58 # $SEMVER_BRANCH = PR-549 22:41:58 # $SEMVER_TEMP = /tmp/semver-155979676 22:41:58 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:41:59 # '/tmp/semver-155979676' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' 22:41:59 # -> Force: false 22:41:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } 22:41:59 $ docker exec --env ******** --env ******** 7c9fe07e669eb6efd201cf9274c04ccb0322d62d0869e8c9285595a68dd8242e ssh-agent -k 22:41:59 unset SSH_AUTH_SOCK; 22:41:59 unset SSH_AGENT_PID; 22:41:59 echo Agent pid 50 killed; 22:41:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:00 + git semver [Pipeline] } 22:42:00 $ docker stop --time=1 7c9fe07e669eb6efd201cf9274c04ccb0322d62d0869e8c9285595a68dd8242e 22:42:01 $ docker rm -f 7c9fe07e669eb6efd201cf9274c04ccb0322d62d0869e8c9285595a68dd8242e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:42:02 Stashed 74 file(s) [Pipeline] echo 22:42:02 [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:42:17 Still waiting to schedule task 22:42:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:42:17 Still waiting to schedule task 22:42:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:43:17 Running on prd-centos7-docker-4c-2g-987 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 22:43:17 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:43:19 using credential edgex-jenkins-ssh 22:43:19 Cloning the remote Git repository 22:43:19 Cloning with configured refspecs honoured and without tags 22:43:20 Fetching without tags 22:43:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:43:19 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:43:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:19 > git --version # timeout=10 22:43:19 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:19 > 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:43:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:20 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 22:43:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:43:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:20 > 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:43:20 Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 22:43:20 Merge succeeded, producing fa23b3e8cda7e881c4d1a7bc457aa1f335154348 22:43:20 Checking out Revision fa23b3e8cda7e881c4d1a7bc457aa1f335154348 (PR-549) 22:43:20 > git config core.sparsecheckout # timeout=10 22:43:20 > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 22:43:20 > git remote # timeout=10 22:43:20 > git config --get remote.origin.url # timeout=10 22:43:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:20 > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 22:43:20 > git rev-parse HEAD^{commit} # timeout=10 22:43:20 > git config core.sparsecheckout # timeout=10 22:43:20 > git checkout -f fa23b3e8cda7e881c4d1a7bc457aa1f335154348 # timeout=10 22:43:24 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" 22:43:24 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:43:25 ========================================================= 22:43:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:43:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:43:24 > git rev-list --no-walk 9ccbcd0ae2d64a65658abf381a4580e3a53ef7a9 # timeout=10 22:43:26 + 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:43:26 Sending build context to Docker daemon 3.189MB 22:43:26 Step 1/8 : ARG BASE=golang:1.13-alpine 22:43:26 Step 2/8 : FROM ${BASE} 22:43:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:43:26 df20fa9351a1: Pulling fs layer 22:43:26 ed8968b2872e: Pulling fs layer 22:43:26 a92cc7c5fd73: Pulling fs layer 22:43:26 2dd03ba5bac4: Pulling fs layer 22:43:26 1e091d79d1de: Pulling fs layer 22:43:26 481702a1767f: Pulling fs layer 22:43:26 f64a6f60c768: Pulling fs layer 22:43:26 e78d2573fc39: Pulling fs layer 22:43:26 e876d2f968b6: Pulling fs layer 22:43:26 ce8a83651883: Pulling fs layer 22:43:26 07967f4d0e4b: Pulling fs layer 22:43:26 2dd03ba5bac4: Waiting 22:43:26 1e091d79d1de: Waiting 22:43:26 481702a1767f: Waiting 22:43:26 f64a6f60c768: Waiting 22:43:26 e78d2573fc39: Waiting 22:43:26 e876d2f968b6: Waiting 22:43:26 ce8a83651883: Waiting 22:43:26 a92cc7c5fd73: Verifying Checksum 22:43:26 a92cc7c5fd73: Download complete 22:43:26 ed8968b2872e: Verifying Checksum 22:43:26 ed8968b2872e: Download complete 22:43:26 1e091d79d1de: Verifying Checksum 22:43:26 1e091d79d1de: Download complete 22:43:26 481702a1767f: Verifying Checksum 22:43:26 481702a1767f: Download complete 22:43:26 df20fa9351a1: Verifying Checksum 22:43:26 df20fa9351a1: Pull complete 22:43:27 f64a6f60c768: Verifying Checksum 22:43:27 f64a6f60c768: Download complete 22:43:27 e876d2f968b6: Verifying Checksum 22:43:27 e876d2f968b6: Download complete 22:43:28 e78d2573fc39: Verifying Checksum 22:43:28 e78d2573fc39: Download complete 22:43:28 07967f4d0e4b: Verifying Checksum 22:43:28 07967f4d0e4b: Download complete 22:43:28 2dd03ba5bac4: Verifying Checksum 22:43:28 2dd03ba5bac4: Download complete 22:43:28 ce8a83651883: Verifying Checksum 22:43:28 ce8a83651883: Download complete 22:43:29 ed8968b2872e: Pull complete 22:43:29 a92cc7c5fd73: Pull complete 22:43:34 2dd03ba5bac4: Pull complete 22:43:35 1e091d79d1de: Pull complete 22:43:35 481702a1767f: Pull complete 22:43:43 f64a6f60c768: Pull complete 22:43:45 e78d2573fc39: Pull complete 22:43:45 e876d2f968b6: Pull complete 22:43:47 ce8a83651883: Pull complete 22:43:47 07967f4d0e4b: Pull complete 22:43:47 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 22:43:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:43:47 ---> 5d7c900382c6 22:43:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:43:47 ---> Running in 8da496eec798 22:43:48 Removing intermediate container 8da496eec798 22:43:48 ---> 0491cc188eb7 22:43:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:48 ---> Running in 3b8f2400791a 22:43:49 Removing intermediate container 3b8f2400791a 22:43:49 ---> d16e0976db36 22:43:49 Step 5/8 : RUN apk add --no-cache make git 22:43:49 ---> Running in 9a6e67ba2532 22:43:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:43:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:43:52 OK: 166 MiB in 39 packages 22:43:52 Removing intermediate container 9a6e67ba2532 22:43:52 ---> ae3ec33a2564 22:43:52 Step 6/8 : WORKDIR /device-sdk-go 22:43:52 ---> Running in 9ad04e872af9 22:43:52 Removing intermediate container 9ad04e872af9 22:43:52 ---> 994c82a5119a 22:43:52 Step 7/8 : COPY . . 22:43:54 ---> 5f81e1dac039 22:43:54 Step 8/8 : RUN go mod download 22:43:54 ---> Running in b54df39500cb 22:43:55 go: finding github.com/BurntSushi/toml v0.3.1 22:43:55 go: finding github.com/OneOfOne/xxhash v1.2.6 22:43:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:43:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:43:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:43:55 go: finding github.com/bgentry/speakeasy v0.1.0 22:43:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:43:55 go: finding github.com/davecgh/go-spew v1.1.1 22:43:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 22:43:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:43:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:43:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:43:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:43:55 go: finding github.com/fatih/color v1.7.0 22:43:55 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:43:55 go: finding github.com/go-kit/kit v0.8.0 22:43:55 go: finding github.com/go-logfmt/logfmt v0.4.0 22:43:55 go: finding github.com/go-stack/stack v1.8.0 22:43:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:43:55 go: finding github.com/google/uuid v1.1.0 22:43:55 go: finding github.com/gorilla/mux v1.7.1 22:43:55 go: finding github.com/hashicorp/consul/api v1.1.0 22:43:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:43:55 go: finding github.com/hashicorp/errwrap v1.0.0 22:43:56 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:43:56 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:43:56 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:43:56 go: finding github.com/hashicorp/go-multierror v1.0.0 22:43:56 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:43:56 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:43:56 go: finding github.com/hashicorp/go-syslog v1.0.0 22:43:56 go: finding github.com/hashicorp/go-uuid v1.0.1 22:43:56 go: finding github.com/hashicorp/go.net v0.0.1 22:43:56 go: finding github.com/hashicorp/golang-lru v0.5.0 22:43:56 go: finding github.com/hashicorp/logutils v1.0.0 22:43:56 go: finding github.com/hashicorp/mdns v1.0.0 22:43:56 go: finding github.com/hashicorp/memberlist v0.1.3 22:43:56 go: finding github.com/hashicorp/serf v0.8.2 22:43:56 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:43:56 go: finding github.com/mattn/go-colorable v0.0.9 22:43:56 go: finding github.com/mattn/go-isatty v0.0.3 22:43:56 go: finding github.com/miekg/dns v1.0.14 22:43:56 go: finding github.com/mitchellh/cli v1.0.0 22:43:56 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:43:56 go: finding github.com/mitchellh/copystructure v1.0.0 22:43:56 go: finding github.com/mitchellh/go-homedir v1.0.0 22:43:56 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:43:56 go: finding github.com/mitchellh/gox v0.4.0 22:43:56 go: finding github.com/mitchellh/iochan v1.0.0 22:43:56 go: finding github.com/mitchellh/mapstructure v1.1.2 22:43:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:43:56 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:43:56 go: finding github.com/pelletier/go-toml v1.2.0 22:43:56 go: finding github.com/pkg/errors v0.8.1 22:43:56 go: finding github.com/pmezard/go-difflib v1.0.0 22:43:56 go: finding github.com/posener/complete v1.1.1 22:43:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:43:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:43:56 go: finding github.com/stretchr/objx v0.1.0 22:43:56 go: finding github.com/stretchr/testify v1.5.1 22:43:56 go: finding github.com/ugorji/go v1.1.4 22:43:56 go: finding github.com/x448/float16 v0.8.4 22:43:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:43:57 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:43:57 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:43:57 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:43:57 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:43:57 go: finding gopkg.in/yaml.v2 v2.2.8 22:44:05 Removing intermediate container b54df39500cb 22:44:05 ---> 5eb66ec8618d 22:44:05 Successfully built 5eb66ec8618d 22:44:05 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:44:05 + docker inspect -f . ci-base-image-x86_64 22:44:05 . [Pipeline] withDockerContainer 22:44:05 prd-centos7-docker-4c-2g-987 does not seem to be running inside a container 22:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:44:07 $ docker top e6697b1dd2d00277f10de89d58b9dcfe0ba54a6f8af8569f50beb73d3b605603 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:07 + go version 22:44:07 go version go1.13.13 linux/amd64 [Pipeline] sh 22:44:07 + make test 22:44:07 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:44:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:44:17 # github.com/edgexfoundry/device-sdk-go/internal/autoevent [github.com/edgexfoundry/device-sdk-go/internal/autoevent.test] 22:44:17 internal/autoevent/executor_test.go:27:32: not enough arguments in call to compareReadings 22:44:17 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:44:17 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:44:17 internal/autoevent/executor_test.go:33:31: not enough arguments in call to compareReadings 22:44:17 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:44:17 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:44:17 internal/autoevent/executor_test.go:39:31: not enough arguments in call to compareReadings 22:44:17 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:44:17 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:44:17 internal/autoevent/executor_test.go:44:31: not enough arguments in call to compareReadings 22:44:17 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:44:17 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:44:17 internal/autoevent/executor_test.go:54:31: not enough arguments in call to compareReadings 22:44:17 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:44:17 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:44:17 internal/autoevent/executor_test.go:60:31: not enough arguments in call to compareReadings 22:44:17 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:44:17 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:44:17 internal/autoevent/executor_test.go:66:30: not enough arguments in call to compareReadings 22:44:17 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:44:17 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:44:17 internal/autoevent/executor_test.go:71:30: not enough arguments in call to compareReadings 22:44:17 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:44:17 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:44:17 # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] 22:44:17 internal/clients/init_test.go:27:2: undefined: common.CurrentConfig 22:44:17 internal/clients/init_test.go:28:2: undefined: common.LoggingClient 22:44:17 internal/clients/init_test.go:30:36: not enough arguments in call to checkServiceAvailableByPing 22:44:17 have (string) 22:44:17 want (string, *di.Container) 22:44:17 # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] 22:44:17 internal/common/utils_test.go:109:30: not enough arguments in call to FilterQueryParams 22:44:17 have (string) 22:44:17 want (string, logger.LoggingClient) 22:44:17 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:44:17 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 22:44:17 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 22:44:17 internal/transformer/transformresult_test.go:23:2: undefined: common.LoggingClient 22:44:17 internal/transformer/transformresult_test.go:36:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:62:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:82:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:108:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:128:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:154:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:174:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:200:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:220:27: not enough arguments in call to TransformReadResult 22:44:17 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:44:17 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:44:17 internal/transformer/transformresult_test.go:220:27: too many errors 22:44:17 # github.com/edgexfoundry/device-sdk-go/internal/controller [github.com/edgexfoundry/device-sdk-go/internal/controller.test] 22:44:17 internal/controller/restfuncs_test.go:47:2: undefined: common.LoggingClient 22:44:17 internal/controller/restfuncs_test.go:48:2: undefined: common.DeviceClient 22:44:17 internal/controller/restfuncs_test.go:50:33: not enough arguments in call to NewRestController 22:44:17 have (*mux.Router) 22:44:17 want (*mux.Router, logger.LoggingClient) 22:44:17 internal/controller/restfuncs_test.go:51:27: not enough arguments in call to controller.InitRestRoutes 22:44:17 have () 22:44:17 want (*di.Container) 22:44:17 internal/controller/restfuncs_test.go:73:2: undefined: common.LoggingClient 22:44:17 internal/controller/restfuncs_test.go:74:2: undefined: common.ServiceLocked 22:44:17 internal/controller/restfuncs_test.go:77:33: not enough arguments in call to NewRestController 22:44:17 have (*mux.Router) 22:44:17 want (*mux.Router, logger.LoggingClient) 22:44:17 internal/controller/restfuncs_test.go:78:27: not enough arguments in call to controller.InitRestRoutes 22:44:17 have () 22:44:17 want (*di.Container) 22:44:17 internal/controller/restfuncs_test.go:102:2: undefined: common.LoggingClient 22:44:17 internal/controller/restfuncs_test.go:103:2: undefined: common.ServiceLocked 22:44:17 internal/controller/restfuncs_test.go:103:2: too many errors 22:44:17 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 22:44:17 internal/cache/devices_test.go:25:2: undefined: common.DeviceClient 22:44:17 internal/cache/devices_test.go:27:10: undefined: common.DeviceClient 22:44:17 internal/cache/init_test.go:22:2: undefined: common.ValueDescriptorClient 22:44:17 internal/cache/init_test.go:23:2: undefined: common.DeviceClient 22:44:17 internal/cache/init_test.go:24:11: not enough arguments in call to InitCache 22:44:17 have () 22:44:17 want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) 22:44:17 internal/cache/init_test.go:28:31: undefined: common.ValueDescriptorClient 22:44:17 internal/cache/init_test.go:33:30: undefined: common.DeviceClient 22:44:17 internal/cache/profiles_test.go:23:2: undefined: common.DeviceProfileClient 22:44:17 internal/cache/profiles_test.go:25:11: undefined: common.DeviceProfileClient 22:44:17 internal/cache/provisionwatchers_test.go:25:2: undefined: common.ProvisionWatcherClient 22:44:17 internal/cache/provisionwatchers_test.go:25:2: too many errors 22:44:17 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 22:44:17 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 22:44:17 FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:44:17 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:44:17 # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] 22:44:17 internal/handler/command_test.go:53:2: undefined: common.ValueDescriptorClient 22:44:17 internal/handler/command_test.go:54:2: undefined: common.ProvisionWatcherClient 22:44:17 internal/handler/command_test.go:55:2: undefined: common.DeviceClient 22:44:17 internal/handler/command_test.go:56:2: undefined: common.EventClient 22:44:17 internal/handler/command_test.go:57:2: undefined: common.LoggingClient 22:44:17 internal/handler/command_test.go:58:2: undefined: common.Driver 22:44:17 internal/handler/command_test.go:59:17: not enough arguments in call to cache.InitCache 22:44:17 have () 22:44:17 want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) 22:44:17 internal/handler/command_test.go:74:10: undefined: common.DeviceClient 22:44:17 internal/handler/command_test.go:78:2: undefined: common.CurrentConfig 22:44:17 internal/handler/command_test.go:79:2: undefined: common.LoggingClient 22:44:17 internal/handler/command_test.go:79:2: too many errors 22:44:17 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:44:17 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 22:44:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 68.9% of statements 22:44:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 22:44:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:44:18 FAIL 22:44:18 make: *** [Makefile:29: test] Error 2 [Pipeline] } 22:44:18 $ docker stop --time=1 e6697b1dd2d00277f10de89d58b9dcfe0ba54a6f8af8569f50beb73d3b605603 22:44:20 $ docker rm -f e6697b1dd2d00277f10de89d58b9dcfe0ba54a6f8af8569f50beb73d3b605603 [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:44:21 Failed in branch amd64 22:45:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-989 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 22:45:21 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:45:26 using credential edgex-jenkins-ssh 22:45:26 Cloning the remote Git repository 22:45:26 Cloning with configured refspecs honoured and without tags 22:45:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:26 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:45:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:26 > git --version # timeout=10 22:45:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45: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:45:28 Fetching without tags 22:45:28 Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 22:45:28 Merge succeeded, producing 3f3a66bae7806ce3d6ab18f2fc54c7c8cc6be744 22:45:28 Checking out Revision 3f3a66bae7806ce3d6ab18f2fc54c7c8cc6be744 (PR-549) 22:45:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:27 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 22:45:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:28 > 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:45:28 > git config core.sparsecheckout # timeout=10 22:45:28 > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 22:45:28 > git remote # timeout=10 22:45:28 > git config --get remote.origin.url # timeout=10 22:45:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:28 > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 22:45:28 > git rev-parse HEAD^{commit} # timeout=10 22:45:28 > git config core.sparsecheckout # timeout=10 22:45:28 > git checkout -f 3f3a66bae7806ce3d6ab18f2fc54c7c8cc6be744 # timeout=10 22:45:33 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" 22:45:33 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 22:45:33 > git rev-list --no-walk 9ccbcd0ae2d64a65658abf381a4580e3a53ef7a9 # timeout=10 [Pipeline] echo 22:45:34 ========================================================= 22:45:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:45:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45:35 + 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:45:36 Sending build context to Docker daemon 3.189MB 22:45:36 Step 1/8 : ARG BASE=golang:1.13-alpine 22:45:36 Step 2/8 : FROM ${BASE} 22:45:37 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:45:37 b538f80385f9: Pulling fs layer 22:45:37 74f711af9a0d: Pulling fs layer 22:45:37 99f96fe45779: Pulling fs layer 22:45:37 fd7a069fd194: Pulling fs layer 22:45:37 66aa3694b03b: Pulling fs layer 22:45:37 170f70906a0f: Pulling fs layer 22:45:37 ad7c5574e4b9: Pulling fs layer 22:45:37 e772456be8f7: Pulling fs layer 22:45:37 c890913d741a: Pulling fs layer 22:45:37 2480fcc9aa5a: Pulling fs layer 22:45:37 09adf4765672: Pulling fs layer 22:45:37 fd7a069fd194: Waiting 22:45:37 66aa3694b03b: Waiting 22:45:37 170f70906a0f: Waiting 22:45:37 ad7c5574e4b9: Waiting 22:45:37 e772456be8f7: Waiting 22:45:37 c890913d741a: Waiting 22:45:37 2480fcc9aa5a: Waiting 22:45:37 09adf4765672: Waiting 22:45:37 99f96fe45779: Verifying Checksum 22:45:37 99f96fe45779: Download complete 22:45:37 74f711af9a0d: Verifying Checksum 22:45:37 74f711af9a0d: Download complete 22:45:37 66aa3694b03b: Verifying Checksum 22:45:37 66aa3694b03b: Download complete 22:45:37 170f70906a0f: Download complete 22:45:37 b538f80385f9: Verifying Checksum 22:45:37 b538f80385f9: Download complete 22:45:38 b538f80385f9: Pull complete 22:45:38 74f711af9a0d: Pull complete 22:45:38 99f96fe45779: Pull complete 22:45:40 ad7c5574e4b9: Verifying Checksum 22:45:40 ad7c5574e4b9: Download complete 22:45:40 c890913d741a: Verifying Checksum 22:45:40 c890913d741a: Download complete 22:45:42 e772456be8f7: Verifying Checksum 22:45:42 e772456be8f7: Download complete 22:45:42 09adf4765672: Verifying Checksum 22:45:42 09adf4765672: Download complete 22:45:42 2480fcc9aa5a: Verifying Checksum 22:45:42 2480fcc9aa5a: Download complete 22:45:43 fd7a069fd194: Verifying Checksum 22:45:43 fd7a069fd194: Download complete 22:45:55 fd7a069fd194: Pull complete 22:45:55 66aa3694b03b: Pull complete 22:45:55 170f70906a0f: Pull complete 22:45:58 ad7c5574e4b9: Pull complete 22:46:02 e772456be8f7: Pull complete 22:46:02 c890913d741a: Pull complete 22:46:05 2480fcc9aa5a: Pull complete 22:46:05 09adf4765672: Pull complete 22:46:05 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 22:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:46:05 ---> 2248a725d1cf 22:46:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:09 ---> Running in 7ce67b54ac4a 22:46:09 Removing intermediate container 7ce67b54ac4a 22:46:09 ---> cf1c823b9efd 22:46:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:09 ---> Running in aac27dd257d5 22:46:12 Removing intermediate container aac27dd257d5 22:46:12 ---> 7d5159596a29 22:46:12 Step 5/8 : RUN apk add --no-cache make git 22:46:12 ---> Running in 99bc0f35d860 22:46:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:46:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:46:15 OK: 142 MiB in 39 packages 22:46:16 Removing intermediate container 99bc0f35d860 22:46:16 ---> 592e542f7e9d 22:46:16 Step 6/8 : WORKDIR /device-sdk-go 22:46:16 ---> Running in de2eeff92c17 22:46:17 Removing intermediate container de2eeff92c17 22:46:17 ---> 6b8137afb16d 22:46:17 Step 7/8 : COPY . . 22:46:18 ---> e1b8055a81b0 22:46:18 Step 8/8 : RUN go mod download 22:46:18 ---> Running in 6ef279544d59 22:46:21 go: finding github.com/BurntSushi/toml v0.3.1 22:46:21 go: finding github.com/OneOfOne/xxhash v1.2.6 22:46:21 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:46:21 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:46:21 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:46:21 go: finding github.com/bgentry/speakeasy v0.1.0 22:46:21 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:46:21 go: finding github.com/davecgh/go-spew v1.1.1 22:46:21 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 22:46:21 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:46:21 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:46:21 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:46:21 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:46:21 go: finding github.com/fatih/color v1.7.0 22:46:21 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:46:21 go: finding github.com/go-kit/kit v0.8.0 22:46:21 go: finding github.com/go-logfmt/logfmt v0.4.0 22:46:21 go: finding github.com/go-stack/stack v1.8.0 22:46:21 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:46:21 go: finding github.com/google/uuid v1.1.0 22:46:21 go: finding github.com/gorilla/mux v1.7.1 22:46:21 go: finding github.com/hashicorp/consul/api v1.1.0 22:46:21 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:46:21 go: finding github.com/hashicorp/errwrap v1.0.0 22:46:21 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:46:21 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:46:21 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:46:21 go: finding github.com/hashicorp/go-multierror v1.0.0 22:46:21 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:46:21 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:46:21 go: finding github.com/hashicorp/go-syslog v1.0.0 22:46:21 go: finding github.com/hashicorp/go-uuid v1.0.1 22:46:21 go: finding github.com/hashicorp/go.net v0.0.1 22:46:21 go: finding github.com/hashicorp/golang-lru v0.5.0 22:46:21 go: finding github.com/hashicorp/logutils v1.0.0 22:46:21 go: finding github.com/hashicorp/mdns v1.0.0 22:46:21 go: finding github.com/hashicorp/memberlist v0.1.3 22:46:21 go: finding github.com/hashicorp/serf v0.8.2 22:46:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:46:21 go: finding github.com/mattn/go-colorable v0.0.9 22:46:21 go: finding github.com/mattn/go-isatty v0.0.3 22:46:21 go: finding github.com/miekg/dns v1.0.14 22:46:21 go: finding github.com/mitchellh/cli v1.0.0 22:46:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:46:21 go: finding github.com/mitchellh/copystructure v1.0.0 22:46:21 go: finding github.com/mitchellh/go-homedir v1.0.0 22:46:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:46:21 go: finding github.com/mitchellh/gox v0.4.0 22:46:21 go: finding github.com/mitchellh/iochan v1.0.0 22:46:21 go: finding github.com/mitchellh/mapstructure v1.1.2 22:46:21 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:46:21 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:46:21 go: finding github.com/pelletier/go-toml v1.2.0 22:46:21 go: finding github.com/pkg/errors v0.8.1 22:46:21 go: finding github.com/pmezard/go-difflib v1.0.0 22:46:21 go: finding github.com/posener/complete v1.1.1 22:46:22 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:46:22 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:46:22 go: finding github.com/stretchr/objx v0.1.0 22:46:22 go: finding github.com/stretchr/testify v1.5.1 22:46:22 go: finding github.com/ugorji/go v1.1.4 22:46:22 go: finding github.com/x448/float16 v0.8.4 22:46:22 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:46:22 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:46:22 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:46:22 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:46:22 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:46:22 go: finding gopkg.in/yaml.v2 v2.2.8 22:46:32 Removing intermediate container 6ef279544d59 22:46:32 ---> 663abc463a32 22:46:32 Successfully built 663abc463a32 22:46:32 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:46:32 + docker inspect -f . ci-base-image-arm64 22:46:32 . [Pipeline] withDockerContainer 22:46:33 prd-ubuntu18.04-docker-arm64-4c-16g-989 does not seem to be running inside a container 22:46:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:46:35 $ docker top 8ad1e3604f2be789299cbcf1c29273364021a49df63b72ffe8f883e4d436a3e0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:36 + go version 22:46:36 go version go1.13.13 linux/arm64 [Pipeline] sh 22:46:37 + make test 22:46:37 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:46:38 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:47:05 # github.com/edgexfoundry/device-sdk-go/internal/autoevent [github.com/edgexfoundry/device-sdk-go/internal/autoevent.test] 22:47:05 internal/autoevent/executor_test.go:27:32: not enough arguments in call to compareReadings 22:47:05 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:47:05 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:47:05 internal/autoevent/executor_test.go:33:31: not enough arguments in call to compareReadings 22:47:05 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:47:05 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:47:05 internal/autoevent/executor_test.go:39:31: not enough arguments in call to compareReadings 22:47:05 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:47:05 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:47:05 internal/autoevent/executor_test.go:44:31: not enough arguments in call to compareReadings 22:47:05 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:47:05 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:47:05 internal/autoevent/executor_test.go:54:31: not enough arguments in call to compareReadings 22:47:05 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:47:05 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:47:05 internal/autoevent/executor_test.go:60:31: not enough arguments in call to compareReadings 22:47:05 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:47:05 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:47:05 internal/autoevent/executor_test.go:66:30: not enough arguments in call to compareReadings 22:47:05 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:47:05 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:47:05 internal/autoevent/executor_test.go:71:30: not enough arguments in call to compareReadings 22:47:05 have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) 22:47:05 want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) 22:47:05 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 22:47:05 internal/cache/devices_test.go:25:2: undefined: common.DeviceClient 22:47:05 internal/cache/devices_test.go:27:10: undefined: common.DeviceClient 22:47:05 internal/cache/init_test.go:22:2: undefined: common.ValueDescriptorClient 22:47:05 internal/cache/init_test.go:23:2: undefined: common.DeviceClient 22:47:05 internal/cache/init_test.go:24:11: not enough arguments in call to InitCache 22:47:05 have () 22:47:05 want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) 22:47:05 internal/cache/init_test.go:28:31: undefined: common.ValueDescriptorClient 22:47:05 internal/cache/init_test.go:33:30: undefined: common.DeviceClient 22:47:05 internal/cache/profiles_test.go:23:2: undefined: common.DeviceProfileClient 22:47:05 internal/cache/profiles_test.go:25:11: undefined: common.DeviceProfileClient 22:47:05 internal/cache/provisionwatchers_test.go:25:2: undefined: common.ProvisionWatcherClient 22:47:05 internal/cache/provisionwatchers_test.go:25:2: too many errors 22:47:06 # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] 22:47:06 internal/clients/init_test.go:27:2: undefined: common.CurrentConfig 22:47:06 internal/clients/init_test.go:28:2: undefined: common.LoggingClient 22:47:06 internal/clients/init_test.go:30:36: not enough arguments in call to checkServiceAvailableByPing 22:47:06 have (string) 22:47:06 want (string, *di.Container) 22:47:06 # github.com/edgexfoundry/device-sdk-go/internal/controller [github.com/edgexfoundry/device-sdk-go/internal/controller.test] 22:47:06 internal/controller/restfuncs_test.go:47:2: undefined: common.LoggingClient 22:47:06 internal/controller/restfuncs_test.go:48:2: undefined: common.DeviceClient 22:47:06 internal/controller/restfuncs_test.go:50:33: not enough arguments in call to NewRestController 22:47:06 have (*mux.Router) 22:47:06 want (*mux.Router, logger.LoggingClient) 22:47:06 internal/controller/restfuncs_test.go:51:27: not enough arguments in call to controller.InitRestRoutes 22:47:06 have () 22:47:06 want (*di.Container) 22:47:06 internal/controller/restfuncs_test.go:73:2: undefined: common.LoggingClient 22:47:06 internal/controller/restfuncs_test.go:74:2: undefined: common.ServiceLocked 22:47:06 internal/controller/restfuncs_test.go:77:33: not enough arguments in call to NewRestController 22:47:06 have (*mux.Router) 22:47:06 want (*mux.Router, logger.LoggingClient) 22:47:06 internal/controller/restfuncs_test.go:78:27: not enough arguments in call to controller.InitRestRoutes 22:47:06 have () 22:47:06 want (*di.Container) 22:47:06 internal/controller/restfuncs_test.go:102:2: undefined: common.LoggingClient 22:47:06 internal/controller/restfuncs_test.go:103:2: undefined: common.ServiceLocked 22:47:06 internal/controller/restfuncs_test.go:103:2: too many errors 22:47:06 # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] 22:47:06 internal/common/utils_test.go:109:30: not enough arguments in call to FilterQueryParams 22:47:06 have (string) 22:47:06 want (string, logger.LoggingClient) 22:47:06 # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] 22:47:06 internal/handler/command_test.go:53:2: undefined: common.ValueDescriptorClient 22:47:06 internal/handler/command_test.go:54:2: undefined: common.ProvisionWatcherClient 22:47:06 internal/handler/command_test.go:55:2: undefined: common.DeviceClient 22:47:06 internal/handler/command_test.go:56:2: undefined: common.EventClient 22:47:06 internal/handler/command_test.go:57:2: undefined: common.LoggingClient 22:47:06 internal/handler/command_test.go:58:2: undefined: common.Driver 22:47:06 internal/handler/command_test.go:59:17: not enough arguments in call to cache.InitCache 22:47:06 have () 22:47:06 want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) 22:47:06 internal/handler/command_test.go:74:10: undefined: common.DeviceClient 22:47:06 internal/handler/command_test.go:78:2: undefined: common.CurrentConfig 22:47:06 internal/handler/command_test.go:79:2: undefined: common.LoggingClient 22:47:06 internal/handler/command_test.go:79:2: too many errors 22:47:06 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 22:47:06 internal/transformer/transformresult_test.go:23:2: undefined: common.LoggingClient 22:47:06 internal/transformer/transformresult_test.go:36:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:62:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:82:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:108:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:128:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:154:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:174:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:200:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:220:27: not enough arguments in call to TransformReadResult 22:47:06 have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) 22:47:06 want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) 22:47:06 internal/transformer/transformresult_test.go:220:27: too many errors 22:47:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:47:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:47:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:47:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 22:47:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 22:47:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 22:47:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] 22:47:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:47:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 22:47:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:47:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 22:47:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:47:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:47:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:47:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 22:47:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 68.9% of statements 22:47:09 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 22:47:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:47:09 FAIL 22:47:09 make: *** [Makefile:29: test] Error 2 [Pipeline] } 22:47:09 $ docker stop --time=1 8ad1e3604f2be789299cbcf1c29273364021a49df63b72ffe8f883e4d436a3e0 22:47:11 $ docker rm -f 8ad1e3604f2be789299cbcf1c29273364021a49df63b72ffe8f883e4d436a3e0 [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:47:13 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:47:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:47:15 ---> package-listing.sh 22:47:15 ++ facter osfamily 22:47:15 ++ tr '[:upper:]' '[:lower:]' 22:47:15 + OS_FAMILY=redhat 22:47:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 22:47:15 + START_PACKAGES=/tmp/packages_start.txt 22:47:15 + END_PACKAGES=/tmp/packages_end.txt 22:47:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:47:15 + PACKAGES=/tmp/packages_start.txt 22:47:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 22:47:15 + PACKAGES=/tmp/packages_end.txt 22:47:15 + case "${OS_FAMILY}" in 22:47:15 + rpm -qa 22:47:15 + sort 22:47:19 + '[' -f /tmp/packages_start.txt ']' 22:47:19 + '[' -f /tmp/packages_end.txt ']' 22:47:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:47:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 22:47:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ 22:47:19 + 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:47:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:19 22:47:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:47:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:20 alpine: Pulling from edgex-lftools-log-publisher 22:47:20 c9b1b535fdd9: Pulling fs layer 22:47:20 2cc5ad85d9ab: Pulling fs layer 22:47:20 756a868c4378: Pulling fs layer 22:47:20 444b2fc9a129: Pulling fs layer 22:47:20 ea15f1150254: Pulling fs layer 22:47:20 41b27a9f41bf: Pulling fs layer 22:47:20 28c525ee5125: Pulling fs layer 22:47:20 094b1ea09ed8: Pulling fs layer 22:47:20 138eaada9080: Pulling fs layer 22:47:20 0622d0fa9048: Pulling fs layer 22:47:20 444b2fc9a129: Waiting 22:47:20 ea15f1150254: Waiting 22:47:20 41b27a9f41bf: Waiting 22:47:20 28c525ee5125: Waiting 22:47:20 094b1ea09ed8: Waiting 22:47:20 138eaada9080: Waiting 22:47:20 0622d0fa9048: Waiting 22:47:20 2cc5ad85d9ab: Download complete 22:47:20 444b2fc9a129: Verifying Checksum 22:47:20 444b2fc9a129: Download complete 22:47:20 c9b1b535fdd9: Verifying Checksum 22:47:20 c9b1b535fdd9: Download complete 22:47:20 ea15f1150254: Verifying Checksum 22:47:20 ea15f1150254: Download complete 22:47:20 28c525ee5125: Verifying Checksum 22:47:20 28c525ee5125: Download complete 22:47:20 756a868c4378: Verifying Checksum 22:47:20 756a868c4378: Download complete 22:47:20 c9b1b535fdd9: Pull complete 22:47:20 094b1ea09ed8: Verifying Checksum 22:47:20 094b1ea09ed8: Download complete 22:47:20 138eaada9080: Verifying Checksum 22:47:20 138eaada9080: Download complete 22:47:20 0622d0fa9048: Verifying Checksum 22:47:20 0622d0fa9048: Download complete 22:47:21 2cc5ad85d9ab: Pull complete 22:47:21 41b27a9f41bf: Verifying Checksum 22:47:21 41b27a9f41bf: Download complete 22:47:22 756a868c4378: Pull complete 22:47:22 444b2fc9a129: Pull complete 22:47:22 ea15f1150254: Pull complete 22:47:27 41b27a9f41bf: Pull complete 22:47:27 28c525ee5125: Pull complete 22:47:30 094b1ea09ed8: Pull complete 22:47:30 138eaada9080: Pull complete 22:47:30 0622d0fa9048: Pull complete 22:47:30 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 22:47:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:47:30 prd-centos7-docker-4c-2g-983 does not seem to be running inside a container 22:47:30 $ 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:47:33 $ docker top 0e8433dc4b8b62149de90cde4a0098cdbcc80905b2437a08ef8fa3cfa527bc5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:33 provisioning config files... 22:47:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config3336571025713213655tmp [Pipeline] { [Pipeline] echo 22:47:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:47:34 ---> create-netrc.sh [Pipeline] echo 22:47:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:47:34 ---> logs-deploy.sh 22:47:34 + ARCHIVE_ARTIFACTS= 22:47:34 + LOGS_SERVER=https://logs.edgexfoundry.org 22:47:34 + '[' https://logs.edgexfoundry.org == None ']' 22:47:34 + NEXUS_URL=https://nexus.edgexfoundry.org 22:47:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/3 22:47:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/3/ 22:47:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/3 /w/workspace/dgexfoundry_device-sdk-go_PR-549 22:47:35 Archives upload complete. 22:47:35 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/3/