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 [2020-07-15T22:43:58.944Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-15T22:43:59.181Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-15T22:43:59.280Z] ========================================================= [2020-07-15T22:43:59.280Z] EdgeX Global Pipelines Version Info [2020-07-15T22:43:59.280Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-15T22:44:01.116Z] ------------------- [2020-07-15T22:44:01.116Z] stable info: [2020-07-15T22:44:01.116Z] ------------------- [2020-07-15T22:44:01.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-15T22:44:01.117Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-15T22:44:01.117Z] Message: update stable to v1.0.99 [2020-07-15T22:44:01.690Z] ------------------- [2020-07-15T22:44:01.690Z] experimental info: [2020-07-15T22:44:01.690Z] ------------------- [2020-07-15T22:44:01.690Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-15T22:44:01.690Z] Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 [2020-07-15T22:44:01.690Z] 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 [2020-07-15T22:44:03.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-15T22:44:03.785Z] [2020-07-15T22:44:03.785Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-15T22:44:04.120Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-15T22:44:04.120Z] latest: Pulling from edgex-devops/git-semver [2020-07-15T22:44:04.120Z] 31603596830f: Pulling fs layer [2020-07-15T22:44:04.120Z] 2a8b12db71e7: Pulling fs layer [2020-07-15T22:44:04.120Z] 6ca5941a6612: Pulling fs layer [2020-07-15T22:44:04.120Z] ecc8261a40a4: Pulling fs layer [2020-07-15T22:44:04.120Z] ecc8261a40a4: Waiting [2020-07-15T22:44:04.120Z] 2a8b12db71e7: Verifying Checksum [2020-07-15T22:44:04.120Z] 2a8b12db71e7: Download complete [2020-07-15T22:44:04.120Z] 31603596830f: Verifying Checksum [2020-07-15T22:44:04.120Z] 31603596830f: Download complete [2020-07-15T22:44:04.390Z] ecc8261a40a4: Verifying Checksum [2020-07-15T22:44:04.390Z] ecc8261a40a4: Download complete [2020-07-15T22:44:04.390Z] 6ca5941a6612: Verifying Checksum [2020-07-15T22:44:04.390Z] 6ca5941a6612: Download complete [2020-07-15T22:44:04.390Z] 31603596830f: Pull complete [2020-07-15T22:44:04.663Z] 2a8b12db71e7: Pull complete [2020-07-15T22:44:05.610Z] 6ca5941a6612: Pull complete [2020-07-15T22:44:05.610Z] ecc8261a40a4: Pull complete [2020-07-15T22:44:05.610Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-15T22:44:05.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-15T22:44:05.610Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-15T22:44:05.712Z] prd-centos7-docker-4c-2g-840 does not seem to be running inside a container [2020-07-15T22:44:05.755Z] $ 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 [2020-07-15T22:44:07.891Z] $ docker top cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-15T22:44:08.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-15T22:44:08.157Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-15T22:44:08.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-15T22:44:08.355Z] $ docker exec cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 ssh-agent [2020-07-15T22:44:08.659Z] SSH_AUTH_SOCK=/tmp/ssh-Bj7ANENloeog/agent.12 [2020-07-15T22:44:08.659Z] SSH_AGENT_PID=18 [2020-07-15T22:44:08.669Z] Running ssh-add (command line suppressed) [2020-07-15T22:44:08.788Z] 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) [2020-07-15T22:44:08.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-15T22:44:09.156Z] + git describe --exact-match --tags HEAD [2020-07-15T22:44:09.156Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-15T22:44:09.317Z] $ docker exec --env ******** --env ******** cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 ssh-agent -k [2020-07-15T22:44:09.438Z] unset SSH_AUTH_SOCK; [2020-07-15T22:44:09.438Z] unset SSH_AGENT_PID; [2020-07-15T22:44:09.438Z] echo Agent pid 18 killed; [2020-07-15T22:44:09.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-15T22:44:09.564Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-15T22:44:09.564Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-15T22:44:09.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-15T22:44:09.658Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-15T22:44:09.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-15T22:44:09.829Z] $ docker exec cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 ssh-agent [2020-07-15T22:44:09.979Z] SSH_AUTH_SOCK=/tmp/ssh-B5tOPKEHEHys/agent.46 [2020-07-15T22:44:09.979Z] SSH_AGENT_PID=51 [2020-07-15T22:44:09.987Z] Running ssh-add (command line suppressed) [2020-07-15T22:44:10.103Z] 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) [2020-07-15T22:44:10.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-15T22:44:10.471Z] + git semver init [2020-07-15T22:44:10.471Z] # -> Open(): unable to determine branch for HEAD [2020-07-15T22:44:10.471Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git [2020-07-15T22:44:10.471Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-15T22:44:10.471Z] # $SEMVER_REMOTE_NAME = origin [2020-07-15T22:44:10.471Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-15T22:44:10.471Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-15T22:44:10.471Z] # $SEMVER_BRANCH = PR-549 [2020-07-15T22:44:10.471Z] # $SEMVER_TEMP = /tmp/semver-294337860 [2020-07-15T22:44:10.471Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-15T22:44:11.044Z] # '/tmp/semver-294337860' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' [2020-07-15T22:44:11.044Z] # -> Force: false [2020-07-15T22:44:11.044Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } [2020-07-15T22:44:11.060Z] $ docker exec --env ******** --env ******** cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 ssh-agent -k [2020-07-15T22:44:11.178Z] unset SSH_AUTH_SOCK; [2020-07-15T22:44:11.178Z] unset SSH_AGENT_PID; [2020-07-15T22:44:11.178Z] echo Agent pid 51 killed; [2020-07-15T22:44:11.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-15T22:44:11.665Z] + git semver [Pipeline] } [2020-07-15T22:44:11.682Z] $ docker stop --time=1 cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 [2020-07-15T22:44:13.133Z] $ docker rm -f cc9ddb7888d72fdce7c8dd1144aea17b420a38df9c8cd63f8b2249b1713148d5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-15T22:44:13.846Z] Stashed 73 file(s) [Pipeline] echo [2020-07-15T22:44:13.848Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-07-15T22:44:29.139Z] Still waiting to schedule task [2020-07-15T22:44:29.139Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-15T22:44:29.140Z] Still waiting to schedule task [2020-07-15T22:44:29.140Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-07-15T22:47:17.892Z] Running on prd-centos7-docker-4c-2g-841 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws [2020-07-15T22:47:17.963Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-07-15T22:47:24.873Z] using credential edgex-jenkins-ssh [2020-07-15T22:47:25.058Z] Cloning the remote Git repository [2020-07-15T22:47:25.058Z] Cloning with configured refspecs honoured and without tags [2020-07-15T22:47:25.179Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-15T22:47:25.363Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-07-15T22:47:25.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-15T22:47:25.490Z] > git --version # timeout=10 [2020-07-15T22:47:25.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-15T22:47:25.578Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-15T22:47:26.458Z] Fetching without tags [2020-07-15T22:47:26.880Z] Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 [2020-07-15T22:47:27.068Z] Merge succeeded, producing d9ea9db67efad3978ea30913f06df1766caee538 [2020-07-15T22:47:27.068Z] Checking out Revision d9ea9db67efad3978ea30913f06df1766caee538 (PR-549) [2020-07-15T22:47:26.355Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-15T22:47:26.373Z] > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 [2020-07-15T22:47:26.397Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-15T22:47:26.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-15T22:47:26.465Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-15T22:47:26.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-15T22:47:26.471Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-15T22:47:26.900Z] > git config core.sparsecheckout # timeout=10 [2020-07-15T22:47:26.918Z] > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [2020-07-15T22:47:26.981Z] > git remote # timeout=10 [2020-07-15T22:47:26.992Z] > git config --get remote.origin.url # timeout=10 [2020-07-15T22:47:27.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-15T22:47:27.013Z] > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 [2020-07-15T22:47:27.050Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-15T22:47:27.072Z] > git config core.sparsecheckout # timeout=10 [2020-07-15T22:47:27.080Z] > git checkout -f d9ea9db67efad3978ea30913f06df1766caee538 # timeout=10 [2020-07-15T22:47:31.455Z] Commit message: "Merge commit '052c3d8a66f112a94cad097afe431d6fab48a90e' into HEAD" [2020-07-15T22:47:31.460Z] > 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 [2020-07-15T22:47:32.644Z] ========================================================= [2020-07-15T22:47:32.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-15T22:47:32.644Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-15T22:47:33.224Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-07-15T22:47:34.687Z] Sending build context to Docker daemon 3.17MB [2020-07-15T22:47:34.687Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-15T22:47:34.687Z] Step 2/8 : FROM ${BASE} [2020-07-15T22:47:34.982Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-15T22:47:34.982Z] e6b0cf9c0882: Pulling fs layer [2020-07-15T22:47:34.982Z] 2848faf0eed1: Pulling fs layer [2020-07-15T22:47:34.982Z] 0f37312ad70f: Pulling fs layer [2020-07-15T22:47:34.982Z] 5788d62ee057: Pulling fs layer [2020-07-15T22:47:34.982Z] 0e6b1d234666: Pulling fs layer [2020-07-15T22:47:34.982Z] bf5d7aec512f: Pulling fs layer [2020-07-15T22:47:34.982Z] 34c802a77dc8: Pulling fs layer [2020-07-15T22:47:34.982Z] 9eb99e56ec68: Pulling fs layer [2020-07-15T22:47:34.982Z] 27c7a5d97fbd: Pulling fs layer [2020-07-15T22:47:34.982Z] 5c102a31e300: Pulling fs layer [2020-07-15T22:47:34.982Z] dcfb455df0a1: Pulling fs layer [2020-07-15T22:47:34.982Z] 5c102a31e300: Waiting [2020-07-15T22:47:34.982Z] dcfb455df0a1: Waiting [2020-07-15T22:47:34.982Z] 9eb99e56ec68: Waiting [2020-07-15T22:47:34.982Z] 27c7a5d97fbd: Waiting [2020-07-15T22:47:34.982Z] 0e6b1d234666: Waiting [2020-07-15T22:47:34.982Z] bf5d7aec512f: Waiting [2020-07-15T22:47:34.982Z] 34c802a77dc8: Waiting [2020-07-15T22:47:34.982Z] 0f37312ad70f: Verifying Checksum [2020-07-15T22:47:34.982Z] 0f37312ad70f: Download complete [2020-07-15T22:47:34.982Z] 2848faf0eed1: Verifying Checksum [2020-07-15T22:47:34.982Z] 2848faf0eed1: Download complete [2020-07-15T22:47:34.982Z] 0e6b1d234666: Verifying Checksum [2020-07-15T22:47:34.982Z] 0e6b1d234666: Download complete [2020-07-15T22:47:34.982Z] e6b0cf9c0882: Verifying Checksum [2020-07-15T22:47:34.982Z] e6b0cf9c0882: Download complete [2020-07-15T22:47:34.982Z] bf5d7aec512f: Verifying Checksum [2020-07-15T22:47:34.982Z] bf5d7aec512f: Download complete [2020-07-15T22:47:35.606Z] e6b0cf9c0882: Pull complete [2020-07-15T22:47:36.259Z] 34c802a77dc8: Verifying Checksum [2020-07-15T22:47:36.259Z] 34c802a77dc8: Download complete [2020-07-15T22:47:36.571Z] 27c7a5d97fbd: Verifying Checksum [2020-07-15T22:47:36.571Z] 27c7a5d97fbd: Download complete [2020-07-15T22:47:36.892Z] 2848faf0eed1: Pull complete [2020-07-15T22:47:37.239Z] 5c102a31e300: Verifying Checksum [2020-07-15T22:47:37.239Z] 5c102a31e300: Download complete [2020-07-15T22:47:37.511Z] dcfb455df0a1: Verifying Checksum [2020-07-15T22:47:37.511Z] dcfb455df0a1: Download complete [2020-07-15T22:47:37.511Z] 9eb99e56ec68: Verifying Checksum [2020-07-15T22:47:37.511Z] 9eb99e56ec68: Download complete [2020-07-15T22:47:37.511Z] 5788d62ee057: Verifying Checksum [2020-07-15T22:47:37.511Z] 5788d62ee057: Download complete [2020-07-15T22:47:37.511Z] 0f37312ad70f: Pull complete [2020-07-15T22:47:47.698Z] 5788d62ee057: Pull complete [2020-07-15T22:47:47.698Z] 0e6b1d234666: Pull complete [2020-07-15T22:47:47.698Z] bf5d7aec512f: Pull complete [2020-07-15T22:47:53.083Z] 34c802a77dc8: Pull complete [2020-07-15T22:47:59.777Z] 9eb99e56ec68: Pull complete [2020-07-15T22:47:59.777Z] 27c7a5d97fbd: Pull complete [2020-07-15T22:48:01.216Z] 5c102a31e300: Pull complete [2020-07-15T22:48:01.488Z] dcfb455df0a1: Pull complete [2020-07-15T22:48:01.488Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-07-15T22:48:01.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-15T22:48:01.488Z] ---> 7c70fe431013 [2020-07-15T22:48:01.488Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-15T22:48:02.188Z] ---> Running in 0c55fea25fc6 [2020-07-15T22:48:02.830Z] Removing intermediate container 0c55fea25fc6 [2020-07-15T22:48:02.830Z] ---> e17b0a3bf89d [2020-07-15T22:48:02.830Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-15T22:48:02.830Z] ---> Running in 9ab12100b409 [2020-07-15T22:48:06.298Z] Removing intermediate container 9ab12100b409 [2020-07-15T22:48:06.298Z] ---> d6f5ec46df8d [2020-07-15T22:48:06.298Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-15T22:48:06.298Z] ---> Running in e0ecdf932883 [2020-07-15T22:48:06.879Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-07-15T22:48:07.844Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-07-15T22:48:08.429Z] OK: 143 MiB in 39 packages [2020-07-15T22:48:09.030Z] Removing intermediate container e0ecdf932883 [2020-07-15T22:48:09.030Z] ---> 890956ac5a35 [2020-07-15T22:48:09.030Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-15T22:48:09.030Z] ---> Running in 0a6ef9c0e7da [2020-07-15T22:48:09.298Z] Removing intermediate container 0a6ef9c0e7da [2020-07-15T22:48:09.298Z] ---> eb7857cb3675 [2020-07-15T22:48:09.298Z] Step 7/8 : COPY . . [2020-07-15T22:48:11.303Z] ---> 3a689671f650 [2020-07-15T22:48:11.303Z] Step 8/8 : RUN go mod download [2020-07-15T22:48:11.303Z] ---> Running in 0a249b04fbbb [2020-07-15T22:48:14.763Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-15T22:48:14.763Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-15T22:48:14.763Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-15T22:48:14.763Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-15T22:48:14.763Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-15T22:48:14.763Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-15T22:48:14.763Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-15T22:48:14.763Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-15T22:48:14.763Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-15T22:48:14.763Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-15T22:48:14.763Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-15T22:48:14.763Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-15T22:48:14.763Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-15T22:48:14.763Z] go: finding github.com/fatih/color v1.7.0 [2020-07-15T22:48:15.047Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-15T22:48:15.047Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-15T22:48:15.047Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-15T22:48:15.047Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-15T22:48:15.047Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-15T22:48:15.047Z] go: finding github.com/google/uuid v1.1.0 [2020-07-15T22:48:15.047Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-15T22:48:15.047Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-15T22:48:15.047Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-15T22:48:15.047Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-15T22:48:15.319Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-15T22:48:15.319Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-15T22:48:15.319Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-15T22:48:15.319Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-15T22:48:15.319Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-15T22:48:15.320Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-15T22:48:15.320Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-15T22:48:15.320Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-15T22:48:15.320Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-15T22:48:15.608Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-15T22:48:15.608Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-15T22:48:15.608Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-15T22:48:15.608Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-15T22:48:15.608Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-15T22:48:15.608Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-15T22:48:15.608Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-15T22:48:15.608Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-15T22:48:15.888Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-15T22:48:15.888Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-15T22:48:15.888Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-15T22:48:15.888Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-15T22:48:15.888Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-15T22:48:15.888Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-15T22:48:15.888Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-15T22:48:15.888Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-15T22:48:15.888Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-15T22:48:16.169Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-15T22:48:16.169Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-15T22:48:16.170Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-15T22:48:16.170Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-15T22:48:16.170Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-15T22:48:16.170Z] go: finding github.com/posener/complete v1.1.1 [2020-07-15T22:48:16.170Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-15T22:48:16.170Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-15T22:48:16.451Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-15T22:48:16.451Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-15T22:48:16.451Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-15T22:48:16.451Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-15T22:48:16.451Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-15T22:48:16.451Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-15T22:48:16.451Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-15T22:48:16.451Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-15T22:48:16.741Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-15T22:48:16.741Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-15T22:48:27.148Z] Removing intermediate container 0a249b04fbbb [2020-07-15T22:48:27.148Z] ---> cf71d4331aea [2020-07-15T22:48:27.148Z] Successfully built cf71d4331aea [2020-07-15T22:48:27.148Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-15T22:48:27.814Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-15T22:48:28.088Z] . [Pipeline] withDockerContainer [2020-07-15T22:48:28.254Z] prd-centos7-docker-4c-2g-841 does not seem to be running inside a container [2020-07-15T22:48:28.358Z] $ 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 [2020-07-15T22:48:29.983Z] $ docker top 4b4a9f8856e6149e22944a2bda46c18a08ad432edb92713829237b5f4b8e1d5b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-15T22:48:30.513Z] + go version [2020-07-15T22:48:30.513Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-07-15T22:48:30.848Z] + make test [2020-07-15T22:48:30.848Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-15T22:48:32.841Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-15T22:48:41.489Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-843 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws [2020-07-15T22:48:41.529Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-07-15T22:48:46.448Z] using credential edgex-jenkins-ssh [2020-07-15T22:48:46.504Z] Cloning the remote Git repository [2020-07-15T22:48:46.504Z] Cloning with configured refspecs honoured and without tags [2020-07-15T22:48:46.611Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-15T22:48:46.728Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-07-15T22:48:46.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-15T22:48:46.797Z] > git --version # timeout=10 [2020-07-15T22:48:46.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-15T22:48:46.910Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-15T22:48:47.937Z] Fetching without tags [2020-07-15T22:48:48.094Z] # github.com/edgexfoundry/device-sdk-go/internal/autoevent [github.com/edgexfoundry/device-sdk-go/internal/autoevent.test] [2020-07-15T22:48:48.094Z] internal/autoevent/executor_test.go:27:32: not enough arguments in call to compareReadings [2020-07-15T22:48:48.094Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:48:48.094Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:48:48.094Z] internal/autoevent/executor_test.go:33:31: not enough arguments in call to compareReadings [2020-07-15T22:48:48.094Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:48:48.094Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:48:48.094Z] internal/autoevent/executor_test.go:39:31: not enough arguments in call to compareReadings [2020-07-15T22:48:48.094Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:48:48.094Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:48:48.094Z] internal/autoevent/executor_test.go:44:31: not enough arguments in call to compareReadings [2020-07-15T22:48:48.094Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:48:48.094Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:48:48.094Z] internal/autoevent/executor_test.go:54:31: not enough arguments in call to compareReadings [2020-07-15T22:48:48.094Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:48:48.094Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:48:48.094Z] internal/autoevent/executor_test.go:60:31: not enough arguments in call to compareReadings [2020-07-15T22:48:48.094Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:48:48.094Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:48:48.094Z] internal/autoevent/executor_test.go:66:30: not enough arguments in call to compareReadings [2020-07-15T22:48:48.094Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:48:48.094Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:48:48.094Z] internal/autoevent/executor_test.go:71:30: not enough arguments in call to compareReadings [2020-07-15T22:48:48.094Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:48:48.094Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:48:48.094Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-15T22:48:48.094Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-15T22:48:48.094Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-15T22:48:48.094Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-07-15T22:48:48.094Z] # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] [2020-07-15T22:48:48.094Z] internal/clients/init_test.go:27:2: undefined: common.CurrentConfig [2020-07-15T22:48:48.094Z] internal/clients/init_test.go:28:2: undefined: common.LoggingClient [2020-07-15T22:48:48.094Z] internal/clients/init_test.go:30:36: not enough arguments in call to checkServiceAvailableByPing [2020-07-15T22:48:48.094Z] have (string) [2020-07-15T22:48:48.094Z] want (string, *di.Container) [2020-07-15T22:48:48.094Z] # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] [2020-07-15T22:48:48.094Z] internal/common/utils_test.go:109:30: not enough arguments in call to FilterQueryParams [2020-07-15T22:48:48.095Z] have (string) [2020-07-15T22:48:48.095Z] want (string, logger.LoggingClient) [2020-07-15T22:48:48.095Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:23:2: undefined: common.LoggingClient [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:36:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:62:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:82:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:108:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:128:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:154:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:174:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:200:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:220:27: not enough arguments in call to TransformReadResult [2020-07-15T22:48:48.095Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:48:48.095Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/transformer/transformresult_test.go:220:27: too many errors [2020-07-15T22:48:48.095Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-07-15T22:48:48.095Z] internal/cache/devices_test.go:25:2: undefined: common.DeviceClient [2020-07-15T22:48:48.095Z] internal/cache/devices_test.go:27:10: undefined: common.DeviceClient [2020-07-15T22:48:48.095Z] internal/cache/init_test.go:22:2: undefined: common.ValueDescriptorClient [2020-07-15T22:48:48.095Z] internal/cache/init_test.go:23:2: undefined: common.DeviceClient [2020-07-15T22:48:48.095Z] internal/cache/init_test.go:24:11: not enough arguments in call to InitCache [2020-07-15T22:48:48.095Z] have () [2020-07-15T22:48:48.095Z] want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) [2020-07-15T22:48:48.095Z] internal/cache/init_test.go:28:31: undefined: common.ValueDescriptorClient [2020-07-15T22:48:48.095Z] internal/cache/init_test.go:33:30: undefined: common.DeviceClient [2020-07-15T22:48:48.095Z] internal/cache/profiles_test.go:23:2: undefined: common.DeviceProfileClient [2020-07-15T22:48:48.095Z] internal/cache/profiles_test.go:25:11: undefined: common.DeviceProfileClient [2020-07-15T22:48:48.095Z] internal/cache/provisionwatchers_test.go:25:2: undefined: common.ProvisionWatcherClient [2020-07-15T22:48:48.095Z] internal/cache/provisionwatchers_test.go:25:2: too many errors [2020-07-15T22:48:48.095Z] # github.com/edgexfoundry/device-sdk-go/internal/controller [github.com/edgexfoundry/device-sdk-go/internal/controller.test] [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:47:2: undefined: common.LoggingClient [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:48:2: undefined: common.DeviceClient [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:50:33: not enough arguments in call to NewRestController [2020-07-15T22:48:48.095Z] have (*mux.Router) [2020-07-15T22:48:48.095Z] want (*mux.Router, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:51:27: not enough arguments in call to controller.InitRestRoutes [2020-07-15T22:48:48.095Z] have () [2020-07-15T22:48:48.095Z] want (*di.Container) [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:73:2: undefined: common.LoggingClient [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:74:2: undefined: common.ServiceLocked [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:77:33: not enough arguments in call to NewRestController [2020-07-15T22:48:48.095Z] have (*mux.Router) [2020-07-15T22:48:48.095Z] want (*mux.Router, logger.LoggingClient) [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:78:27: not enough arguments in call to controller.InitRestRoutes [2020-07-15T22:48:48.095Z] have () [2020-07-15T22:48:48.095Z] want (*di.Container) [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:102:2: undefined: common.LoggingClient [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:103:2: undefined: common.ServiceLocked [2020-07-15T22:48:48.095Z] internal/controller/restfuncs_test.go:103:2: too many errors [2020-07-15T22:48:48.095Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-07-15T22:48:48.095Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2020-07-15T22:48:48.095Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2020-07-15T22:48:48.095Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-15T22:48:48.095Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-07-15T22:48:48.095Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-15T22:48:48.095Z] # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:53:2: undefined: common.ValueDescriptorClient [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:54:2: undefined: common.ProvisionWatcherClient [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:55:2: undefined: common.DeviceClient [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:56:2: undefined: common.EventClient [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:57:2: undefined: common.LoggingClient [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:58:2: undefined: common.Driver [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:59:17: not enough arguments in call to cache.InitCache [2020-07-15T22:48:48.095Z] have () [2020-07-15T22:48:48.095Z] want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:74:10: undefined: common.DeviceClient [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:78:2: undefined: common.CurrentConfig [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:79:2: undefined: common.LoggingClient [2020-07-15T22:48:48.095Z] internal/handler/command_test.go:79:2: too many errors [2020-07-15T22:48:48.095Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-07-15T22:48:48.095Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-15T22:48:48.095Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-15T22:48:48.095Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-15T22:48:48.095Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-07-15T22:48:48.424Z] Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 [2020-07-15T22:48:48.684Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.111s coverage: 68.9% of statements [2020-07-15T22:48:48.684Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-15T22:48:48.684Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-15T22:48:48.684Z] FAIL [2020-07-15T22:48:48.752Z] Merge succeeded, producing f411bbd47644455331ff9871a39423fffe757bcb [2020-07-15T22:48:48.752Z] Checking out Revision f411bbd47644455331ff9871a39423fffe757bcb (PR-549) [2020-07-15T22:48:48.949Z] make: *** [Makefile:29: test] Error 2 [Pipeline] } [2020-07-15T22:48:48.968Z] $ docker stop --time=1 4b4a9f8856e6149e22944a2bda46c18a08ad432edb92713829237b5f4b8e1d5b [2020-07-15T22:48:47.836Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-15T22:48:47.855Z] > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 [2020-07-15T22:48:47.875Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-15T22:48:47.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-15T22:48:47.953Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-15T22:48:47.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-15T22:48:47.967Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-15T22:48:48.444Z] > git config core.sparsecheckout # timeout=10 [2020-07-15T22:48:48.474Z] > git checkout -f d52175a4df71bad1a2bc98bc1f8574c2dd59dff0 # timeout=10 [2020-07-15T22:48:48.586Z] > git remote # timeout=10 [2020-07-15T22:48:48.606Z] > git config --get remote.origin.url # timeout=10 [2020-07-15T22:48:48.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-15T22:48:48.638Z] > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 [2020-07-15T22:48:48.736Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-15T22:48:48.815Z] > git config core.sparsecheckout # timeout=10 [2020-07-15T22:48:48.836Z] > git checkout -f f411bbd47644455331ff9871a39423fffe757bcb # timeout=10 [2020-07-15T22:48:51.298Z] $ 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] } [2020-07-15T22:48:52.789Z] Failed in branch amd64 [2020-07-15T22:48:53.483Z] Commit message: "Merge commit '052c3d8a66f112a94cad097afe431d6fab48a90e' into HEAD" [2020-07-15T22:48:53.493Z] > 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 [2020-07-15T22:48:54.789Z] ========================================================= [2020-07-15T22:48:54.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-15T22:48:54.789Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-15T22:48:56.056Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-07-15T22:48:57.057Z] Sending build context to Docker daemon 3.17MB [2020-07-15T22:48:57.058Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-15T22:48:57.058Z] Step 2/8 : FROM ${BASE} [2020-07-15T22:48:57.335Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-15T22:48:57.335Z] cde5963f3b93: Pulling fs layer [2020-07-15T22:48:57.335Z] 2a23fa8c16f7: Pulling fs layer [2020-07-15T22:48:57.335Z] 777b28850792: Pulling fs layer [2020-07-15T22:48:57.335Z] 8a11ddd9e578: Pulling fs layer [2020-07-15T22:48:57.335Z] 4cf88f913ddb: Pulling fs layer [2020-07-15T22:48:57.335Z] 1df406cf5192: Pulling fs layer [2020-07-15T22:48:57.335Z] cd6300453558: Pulling fs layer [2020-07-15T22:48:57.335Z] b9c365052c96: Pulling fs layer [2020-07-15T22:48:57.335Z] a2d8cc88f415: Pulling fs layer [2020-07-15T22:48:57.335Z] ea1d1ca13537: Pulling fs layer [2020-07-15T22:48:57.335Z] 3750a50a1c5e: Pulling fs layer [2020-07-15T22:48:57.335Z] 8a11ddd9e578: Waiting [2020-07-15T22:48:57.335Z] 4cf88f913ddb: Waiting [2020-07-15T22:48:57.335Z] cd6300453558: Waiting [2020-07-15T22:48:57.335Z] b9c365052c96: Waiting [2020-07-15T22:48:57.335Z] a2d8cc88f415: Waiting [2020-07-15T22:48:57.335Z] ea1d1ca13537: Waiting [2020-07-15T22:48:57.335Z] 3750a50a1c5e: Waiting [2020-07-15T22:48:57.335Z] 1df406cf5192: Waiting [2020-07-15T22:48:57.335Z] 777b28850792: Verifying Checksum [2020-07-15T22:48:57.335Z] 777b28850792: Download complete [2020-07-15T22:48:57.335Z] 2a23fa8c16f7: Download complete [2020-07-15T22:48:57.335Z] 4cf88f913ddb: Verifying Checksum [2020-07-15T22:48:57.335Z] 4cf88f913ddb: Download complete [2020-07-15T22:48:57.335Z] 1df406cf5192: Verifying Checksum [2020-07-15T22:48:57.335Z] 1df406cf5192: Download complete [2020-07-15T22:48:57.335Z] cde5963f3b93: Download complete [2020-07-15T22:48:58.323Z] cde5963f3b93: Pull complete [2020-07-15T22:48:58.927Z] 2a23fa8c16f7: Pull complete [2020-07-15T22:48:59.202Z] 777b28850792: Pull complete [2020-07-15T22:48:59.800Z] cd6300453558: Verifying Checksum [2020-07-15T22:48:59.800Z] cd6300453558: Download complete [2020-07-15T22:48:59.800Z] a2d8cc88f415: Verifying Checksum [2020-07-15T22:48:59.800Z] a2d8cc88f415: Download complete [2020-07-15T22:49:00.809Z] ea1d1ca13537: Verifying Checksum [2020-07-15T22:49:00.809Z] ea1d1ca13537: Download complete [2020-07-15T22:49:01.085Z] 3750a50a1c5e: Verifying Checksum [2020-07-15T22:49:01.085Z] 3750a50a1c5e: Download complete [2020-07-15T22:49:02.082Z] b9c365052c96: Verifying Checksum [2020-07-15T22:49:02.082Z] b9c365052c96: Download complete [2020-07-15T22:49:02.680Z] 8a11ddd9e578: Verifying Checksum [2020-07-15T22:49:02.680Z] 8a11ddd9e578: Download complete [2020-07-15T22:49:15.110Z] 8a11ddd9e578: Pull complete [2020-07-15T22:49:15.110Z] 4cf88f913ddb: Pull complete [2020-07-15T22:49:15.110Z] 1df406cf5192: Pull complete [2020-07-15T22:49:19.418Z] cd6300453558: Pull complete [2020-07-15T22:49:24.824Z] b9c365052c96: Pull complete [2020-07-15T22:49:24.824Z] a2d8cc88f415: Pull complete [2020-07-15T22:49:26.279Z] ea1d1ca13537: Pull complete [2020-07-15T22:49:26.879Z] 3750a50a1c5e: Pull complete [2020-07-15T22:49:26.879Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-07-15T22:49:26.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-15T22:49:26.879Z] ---> 78745c68409d [2020-07-15T22:49:26.879Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-15T22:49:32.290Z] ---> Running in a1dff115529f [2020-07-15T22:49:32.290Z] Removing intermediate container a1dff115529f [2020-07-15T22:49:32.290Z] ---> 768f85858376 [2020-07-15T22:49:32.290Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-15T22:49:32.290Z] ---> Running in c8dba3e4cea4 [2020-07-15T22:49:35.697Z] Removing intermediate container c8dba3e4cea4 [2020-07-15T22:49:35.697Z] ---> f70413973236 [2020-07-15T22:49:35.697Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-15T22:49:35.697Z] ---> Running in 849f18e9f723 [2020-07-15T22:49:36.680Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-07-15T22:49:38.109Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-07-15T22:49:39.570Z] OK: 125 MiB in 39 packages [2020-07-15T22:49:40.998Z] Removing intermediate container 849f18e9f723 [2020-07-15T22:49:40.998Z] ---> 39d2bc1b4405 [2020-07-15T22:49:40.998Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-15T22:49:40.998Z] ---> Running in 947fc68de5f3 [2020-07-15T22:49:41.596Z] Removing intermediate container 947fc68de5f3 [2020-07-15T22:49:41.596Z] ---> 8b766d19b413 [2020-07-15T22:49:41.596Z] Step 7/8 : COPY . . [2020-07-15T22:49:43.026Z] ---> 83f864b01700 [2020-07-15T22:49:43.026Z] Step 8/8 : RUN go mod download [2020-07-15T22:49:43.026Z] ---> Running in 9569623b4916 [2020-07-15T22:49:45.639Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-15T22:49:45.639Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-15T22:49:45.910Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-15T22:49:45.910Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-15T22:49:45.910Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-15T22:49:45.910Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-15T22:49:45.910Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-15T22:49:45.910Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-15T22:49:45.910Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-15T22:49:45.910Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-15T22:49:45.910Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-15T22:49:45.910Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-15T22:49:45.910Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-15T22:49:46.181Z] go: finding github.com/fatih/color v1.7.0 [2020-07-15T22:49:46.181Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-15T22:49:46.181Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-15T22:49:46.181Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-15T22:49:46.181Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-15T22:49:46.181Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-15T22:49:46.181Z] go: finding github.com/google/uuid v1.1.0 [2020-07-15T22:49:46.181Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-15T22:49:46.181Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-15T22:49:46.181Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-15T22:49:46.181Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-15T22:49:46.181Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-15T22:49:46.453Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-15T22:49:46.725Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-15T22:49:46.726Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-15T22:49:46.726Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-15T22:49:46.726Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-15T22:49:46.726Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-15T22:49:46.726Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-15T22:49:46.726Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-15T22:49:46.726Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-15T22:49:46.726Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-15T22:49:46.726Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-15T22:49:46.726Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-15T22:49:46.996Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-15T22:49:46.996Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-15T22:49:46.996Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-15T22:49:46.996Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-15T22:49:46.996Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-15T22:49:46.996Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-15T22:49:46.996Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-15T22:49:46.996Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-15T22:49:46.996Z] go: finding github.com/posener/complete v1.1.1 [2020-07-15T22:49:46.996Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-15T22:49:46.996Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-15T22:49:46.996Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-15T22:49:47.268Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-15T22:49:47.268Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-15T22:49:47.268Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-15T22:49:47.268Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-15T22:49:47.268Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-15T22:49:47.268Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-15T22:49:47.268Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-15T22:49:47.268Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-15T22:49:47.268Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-15T22:49:57.461Z] Removing intermediate container 9569623b4916 [2020-07-15T22:49:57.461Z] ---> 70a6a65f7f5d [2020-07-15T22:49:57.461Z] Successfully built 70a6a65f7f5d [2020-07-15T22:49:57.461Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-15T22:49:58.116Z] + docker inspect -f . ci-base-image-arm64 [2020-07-15T22:49:58.116Z] . [Pipeline] withDockerContainer [2020-07-15T22:49:58.356Z] prd-ubuntu18.04-docker-arm64-4c-16g-843 does not seem to be running inside a container [2020-07-15T22:49:58.434Z] $ 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 [2020-07-15T22:50:00.236Z] $ docker top 1d0c052507d05abe658f1bf6c4e58909c8a8be3095a84157be964bfec8b3dd70 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-15T22:50:01.616Z] + go version [2020-07-15T22:50:01.616Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-07-15T22:50:02.665Z] + make test [2020-07-15T22:50:02.665Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-15T22:50:03.644Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-15T22:50:30.504Z] # github.com/edgexfoundry/device-sdk-go/internal/autoevent [github.com/edgexfoundry/device-sdk-go/internal/autoevent.test] [2020-07-15T22:50:30.504Z] internal/autoevent/executor_test.go:27:32: not enough arguments in call to compareReadings [2020-07-15T22:50:30.504Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:50:30.504Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:50:30.504Z] internal/autoevent/executor_test.go:33:31: not enough arguments in call to compareReadings [2020-07-15T22:50:30.504Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:50:30.504Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:50:30.504Z] internal/autoevent/executor_test.go:39:31: not enough arguments in call to compareReadings [2020-07-15T22:50:30.504Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:50:30.504Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:50:30.504Z] internal/autoevent/executor_test.go:44:31: not enough arguments in call to compareReadings [2020-07-15T22:50:30.504Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:50:30.504Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:50:30.504Z] internal/autoevent/executor_test.go:54:31: not enough arguments in call to compareReadings [2020-07-15T22:50:30.504Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:50:30.504Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:50:30.504Z] internal/autoevent/executor_test.go:60:31: not enough arguments in call to compareReadings [2020-07-15T22:50:30.504Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:50:30.504Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:50:30.504Z] internal/autoevent/executor_test.go:66:30: not enough arguments in call to compareReadings [2020-07-15T22:50:30.504Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:50:30.504Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:50:30.504Z] internal/autoevent/executor_test.go:71:30: not enough arguments in call to compareReadings [2020-07-15T22:50:30.504Z] have (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool) [2020-07-15T22:50:30.504Z] want (*executor, []"github.com/edgexfoundry/go-mod-core-contracts/models".Reading, bool, logger.LoggingClient) [2020-07-15T22:50:30.504Z] # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] [2020-07-15T22:50:30.504Z] internal/clients/init_test.go:27:2: undefined: common.CurrentConfig [2020-07-15T22:50:30.504Z] internal/clients/init_test.go:28:2: undefined: common.LoggingClient [2020-07-15T22:50:30.504Z] internal/clients/init_test.go:30:36: not enough arguments in call to checkServiceAvailableByPing [2020-07-15T22:50:30.504Z] have (string) [2020-07-15T22:50:30.504Z] want (string, *di.Container) [2020-07-15T22:50:30.504Z] # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] [2020-07-15T22:50:30.504Z] internal/common/utils_test.go:109:30: not enough arguments in call to FilterQueryParams [2020-07-15T22:50:30.504Z] have (string) [2020-07-15T22:50:30.504Z] want (string, logger.LoggingClient) [2020-07-15T22:50:30.504Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-15T22:50:30.504Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-15T22:50:30.504Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-15T22:50:30.505Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-07-15T22:50:30.505Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:23:2: undefined: common.LoggingClient [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:36:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:62:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:82:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:108:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:128:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:154:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:174:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:200:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:220:27: not enough arguments in call to TransformReadResult [2020-07-15T22:50:30.505Z] have (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue) [2020-07-15T22:50:30.505Z] want (*"github.com/edgexfoundry/device-sdk-go/pkg/models".CommandValue, "github.com/edgexfoundry/go-mod-core-contracts/models".PropertyValue, logger.LoggingClient) [2020-07-15T22:50:30.505Z] internal/transformer/transformresult_test.go:220:27: too many errors [2020-07-15T22:50:30.781Z] # github.com/edgexfoundry/device-sdk-go/internal/controller [github.com/edgexfoundry/device-sdk-go/internal/controller.test] [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:47:2: undefined: common.LoggingClient [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:48:2: undefined: common.DeviceClient [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:50:33: not enough arguments in call to NewRestController [2020-07-15T22:50:30.781Z] have (*mux.Router) [2020-07-15T22:50:30.781Z] want (*mux.Router, logger.LoggingClient) [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:51:27: not enough arguments in call to controller.InitRestRoutes [2020-07-15T22:50:30.781Z] have () [2020-07-15T22:50:30.781Z] want (*di.Container) [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:73:2: undefined: common.LoggingClient [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:74:2: undefined: common.ServiceLocked [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:77:33: not enough arguments in call to NewRestController [2020-07-15T22:50:30.781Z] have (*mux.Router) [2020-07-15T22:50:30.781Z] want (*mux.Router, logger.LoggingClient) [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:78:27: not enough arguments in call to controller.InitRestRoutes [2020-07-15T22:50:30.781Z] have () [2020-07-15T22:50:30.781Z] want (*di.Container) [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:102:2: undefined: common.LoggingClient [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:103:2: undefined: common.ServiceLocked [2020-07-15T22:50:30.781Z] internal/controller/restfuncs_test.go:103:2: too many errors [2020-07-15T22:50:30.781Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-07-15T22:50:30.781Z] internal/cache/devices_test.go:25:2: undefined: common.DeviceClient [2020-07-15T22:50:30.781Z] internal/cache/devices_test.go:27:10: undefined: common.DeviceClient [2020-07-15T22:50:30.781Z] internal/cache/init_test.go:22:2: undefined: common.ValueDescriptorClient [2020-07-15T22:50:30.781Z] internal/cache/init_test.go:23:2: undefined: common.DeviceClient [2020-07-15T22:50:30.781Z] internal/cache/init_test.go:24:11: not enough arguments in call to InitCache [2020-07-15T22:50:30.781Z] have () [2020-07-15T22:50:30.781Z] want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) [2020-07-15T22:50:30.781Z] internal/cache/init_test.go:28:31: undefined: common.ValueDescriptorClient [2020-07-15T22:50:30.781Z] internal/cache/init_test.go:33:30: undefined: common.DeviceClient [2020-07-15T22:50:30.781Z] internal/cache/profiles_test.go:23:2: undefined: common.DeviceProfileClient [2020-07-15T22:50:30.781Z] internal/cache/profiles_test.go:25:11: undefined: common.DeviceProfileClient [2020-07-15T22:50:30.781Z] internal/cache/provisionwatchers_test.go:25:2: undefined: common.ProvisionWatcherClient [2020-07-15T22:50:30.781Z] internal/cache/provisionwatchers_test.go:25:2: too many errors [2020-07-15T22:50:31.071Z] # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:53:2: undefined: common.ValueDescriptorClient [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:54:2: undefined: common.ProvisionWatcherClient [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:55:2: undefined: common.DeviceClient [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:56:2: undefined: common.EventClient [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:57:2: undefined: common.LoggingClient [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:58:2: undefined: common.Driver [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:59:17: not enough arguments in call to cache.InitCache [2020-07-15T22:50:31.071Z] have () [2020-07-15T22:50:31.071Z] want (string, logger.LoggingClient, coredata.ValueDescriptorClient, metadata.DeviceClient, metadata.ProvisionWatcherClient) [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:74:10: undefined: common.DeviceClient [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:78:2: undefined: common.CurrentConfig [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:79:2: undefined: common.LoggingClient [2020-07-15T22:50:31.071Z] internal/handler/command_test.go:79:2: too many errors [2020-07-15T22:50:31.345Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-07-15T22:50:31.345Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2020-07-15T22:50:31.345Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2020-07-15T22:50:31.345Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-15T22:50:31.345Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-07-15T22:50:31.345Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-15T22:50:31.345Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-07-15T22:50:31.345Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-15T22:50:31.345Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-15T22:50:31.345Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-15T22:50:31.345Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-07-15T22:50:33.969Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.358s coverage: 68.9% of statements [2020-07-15T22:50:33.969Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-15T22:50:33.969Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-15T22:50:33.969Z] FAIL [2020-07-15T22:50:34.243Z] make: *** [Makefile:29: test] Error 2 [Pipeline] } [2020-07-15T22:50:34.262Z] $ docker stop --time=1 1d0c052507d05abe658f1bf6c4e58909c8a8be3095a84157be964bfec8b3dd70 [2020-07-15T22:50:36.307Z] $ 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] } [2020-07-15T22:50:37.863Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-15T22:50:39.396Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-15T22:50:39.959Z] ---> package-listing.sh [2020-07-15T22:50:39.959Z] ++ facter osfamily [2020-07-15T22:50:39.959Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-15T22:50:39.959Z] + OS_FAMILY=redhat [2020-07-15T22:50:39.959Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-15T22:50:39.959Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-15T22:50:39.959Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-15T22:50:39.959Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-15T22:50:39.959Z] + PACKAGES=/tmp/packages_start.txt [2020-07-15T22:50:39.959Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' [2020-07-15T22:50:39.959Z] + PACKAGES=/tmp/packages_end.txt [2020-07-15T22:50:39.959Z] + case "${OS_FAMILY}" in [2020-07-15T22:50:39.959Z] + rpm -qa [2020-07-15T22:50:39.959Z] + sort [2020-07-15T22:50:44.162Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-15T22:50:44.162Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-15T22:50:44.162Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-15T22:50:44.162Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' [2020-07-15T22:50:44.162Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [2020-07-15T22:50:44.162Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-15T22:50:44.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-15T22:50:44.932Z] [2020-07-15T22:50:44.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-15T22:50:45.280Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-15T22:50:45.280Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-15T22:50:45.280Z] c9b1b535fdd9: Pulling fs layer [2020-07-15T22:50:45.280Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-15T22:50:45.280Z] 756a868c4378: Pulling fs layer [2020-07-15T22:50:45.280Z] 444b2fc9a129: Pulling fs layer [2020-07-15T22:50:45.280Z] ea15f1150254: Pulling fs layer [2020-07-15T22:50:45.280Z] 41b27a9f41bf: Pulling fs layer [2020-07-15T22:50:45.280Z] 28c525ee5125: Pulling fs layer [2020-07-15T22:50:45.280Z] 094b1ea09ed8: Pulling fs layer [2020-07-15T22:50:45.280Z] 138eaada9080: Pulling fs layer [2020-07-15T22:50:45.280Z] 0622d0fa9048: Pulling fs layer [2020-07-15T22:50:45.280Z] 41b27a9f41bf: Waiting [2020-07-15T22:50:45.280Z] 28c525ee5125: Waiting [2020-07-15T22:50:45.280Z] 094b1ea09ed8: Waiting [2020-07-15T22:50:45.280Z] 138eaada9080: Waiting [2020-07-15T22:50:45.280Z] 444b2fc9a129: Waiting [2020-07-15T22:50:45.280Z] ea15f1150254: Waiting [2020-07-15T22:50:45.280Z] 0622d0fa9048: Waiting [2020-07-15T22:50:45.280Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-15T22:50:45.280Z] 2cc5ad85d9ab: Download complete [2020-07-15T22:50:45.280Z] 444b2fc9a129: Verifying Checksum [2020-07-15T22:50:45.280Z] 444b2fc9a129: Download complete [2020-07-15T22:50:45.280Z] c9b1b535fdd9: Download complete [2020-07-15T22:50:45.280Z] ea15f1150254: Verifying Checksum [2020-07-15T22:50:45.280Z] ea15f1150254: Download complete [2020-07-15T22:50:45.280Z] 28c525ee5125: Verifying Checksum [2020-07-15T22:50:45.280Z] 28c525ee5125: Download complete [2020-07-15T22:50:45.556Z] 756a868c4378: Verifying Checksum [2020-07-15T22:50:45.556Z] 756a868c4378: Download complete [2020-07-15T22:50:45.822Z] c9b1b535fdd9: Pull complete [2020-07-15T22:50:45.822Z] 138eaada9080: Verifying Checksum [2020-07-15T22:50:45.822Z] 138eaada9080: Download complete [2020-07-15T22:50:45.822Z] 094b1ea09ed8: Verifying Checksum [2020-07-15T22:50:45.822Z] 094b1ea09ed8: Download complete [2020-07-15T22:50:45.822Z] 0622d0fa9048: Verifying Checksum [2020-07-15T22:50:45.822Z] 0622d0fa9048: Download complete [2020-07-15T22:50:46.083Z] 2cc5ad85d9ab: Pull complete [2020-07-15T22:50:46.345Z] 41b27a9f41bf: Verifying Checksum [2020-07-15T22:50:46.345Z] 41b27a9f41bf: Download complete [2020-07-15T22:50:47.292Z] 756a868c4378: Pull complete [2020-07-15T22:50:47.552Z] 444b2fc9a129: Pull complete [2020-07-15T22:50:47.812Z] ea15f1150254: Pull complete [2020-07-15T22:50:52.041Z] 41b27a9f41bf: Pull complete [2020-07-15T22:50:52.041Z] 28c525ee5125: Pull complete [2020-07-15T22:50:54.590Z] 094b1ea09ed8: Pull complete [2020-07-15T22:50:54.852Z] 138eaada9080: Pull complete [2020-07-15T22:50:55.113Z] 0622d0fa9048: Pull complete [2020-07-15T22:50:55.113Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-15T22:50:55.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-15T22:50:55.113Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-15T22:50:55.266Z] prd-centos7-docker-4c-2g-840 does not seem to be running inside a container [2020-07-15T22:50:55.311Z] $ 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 [2020-07-15T22:50:58.893Z] $ docker top 5d7f4e546fe894f58292f0cccb9a5b7e543e071eec05d68e497b19bcb9d9d757 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-15T22:50:59.108Z] provisioning config files... [2020-07-15T22:50:59.124Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config7470344043246749781tmp [Pipeline] { [Pipeline] echo [2020-07-15T22:50:59.182Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-15T22:50:59.470Z] ---> create-netrc.sh [Pipeline] echo [2020-07-15T22:50:59.480Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-15T22:50:59.767Z] ---> logs-deploy.sh [2020-07-15T22:50:59.768Z] + ARCHIVE_ARTIFACTS= [2020-07-15T22:50:59.768Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-15T22:50:59.768Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-15T22:50:59.768Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-15T22:50:59.768Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/2 [2020-07-15T22:50:59.768Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/2/ [2020-07-15T22:50:59.768Z] + 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 [2020-07-15T22:51:01.157Z] Archives upload complete. [2020-07-15T22:51:01.157Z] + 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/