Pull request #587 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eb1683e52ae0328178a04c5abdb8c2b564305c3e+34586eebf1e8dc7164860841d693f6652cfed50d (f564e978b351453f1a2d780e1719ecd2c09aaef4) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-43284 in /w/workspace/dgexfoundry_device-sdk-go_PR-587 [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-587 # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +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/587/head:refs/remotes/origin/PR-587 # 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/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit eb1683e52ae0328178a04c5abdb8c2b564305c3e Merge succeeded, producing eb1683e52ae0328178a04c5abdb8c2b564305c3e Checking out Revision eb1683e52ae0328178a04c5abdb8c2b564305c3e (PR-587) > git config core.sparsecheckout # timeout=10 > git checkout -f eb1683e52ae0328178a04c5abdb8c2b564305c3e # 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 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:27:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:27:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 0811bf0199a5c3ad1541c206b4471762201b4cbf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:27:54 ========================================================= 10:27:54 EdgeX Global Pipelines Version Info 10:27:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:27:56 ------------------- 10:27:56 stable info: 10:27:56 ------------------- 10:27:56 Commited By: Emilio Reyes emilio.reyes@intel.com 10:27:56 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 10:27:56 Message: update stable to v1.0.119 10:27:57 ------------------- 10:27:57 experimental info: 10:27:57 ------------------- 10:27:57 Commited By: **** collab-it+edgex@linuxfoundation.org 10:27:57 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 10:27:57 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 10:27:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:27:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:27:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:27:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:27:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:27:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:27:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo 10:27:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb1683e52ae0328178a04c5abdb8c2b564305c3e [Pipeline] echo 10:28:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb1683e [Pipeline] echo 10:28:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:28:00 + git log --format=format:%s -1 eb1683e52ae0328178a04c5abdb8c2b564305c3e [Pipeline] echo 10:28:01 GIT_COMMIT: eb1683e52ae0328178a04c5abdb8c2b564305c3e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 10:28:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:28:02 10:28:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:28:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:28:02 latest: Pulling from edgex-devops/git-semver 10:28:02 31603596830f: Pulling fs layer 10:28:02 2a8b12db71e7: Pulling fs layer 10:28:02 6ca5941a6612: Pulling fs layer 10:28:02 ecc8261a40a4: Pulling fs layer 10:28:02 ecc8261a40a4: Waiting 10:28:02 2a8b12db71e7: Verifying Checksum 10:28:02 2a8b12db71e7: Download complete 10:28:02 31603596830f: Verifying Checksum 10:28:02 31603596830f: Download complete 10:28:02 6ca5941a6612: Verifying Checksum 10:28:02 6ca5941a6612: Download complete 10:28:02 ecc8261a40a4: Verifying Checksum 10:28:02 ecc8261a40a4: Download complete 10:28:03 31603596830f: Pull complete 10:28:04 2a8b12db71e7: Pull complete 10:28:04 6ca5941a6612: Pull complete 10:28:04 ecc8261a40a4: Pull complete 10:28:04 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:28:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:28:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:28:05 prd-centos7-docker-4c-2g-43284 does not seem to be running inside a container 10:28:05 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-587 -v /w/workspace/dgexfoundry_device-sdk-go_PR-587:/w/workspace/dgexfoundry_device-sdk-go_PR-587:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-587@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:28:07 $ docker top afad3c66e7bc508c34b6073fbbad224ae1630b2c8e12fb84161a799ab17b6bb4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:28:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:07 [ssh-agent] Looking for ssh-agent implementation... 10:28:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:08 $ docker exec afad3c66e7bc508c34b6073fbbad224ae1630b2c8e12fb84161a799ab17b6bb4 ssh-agent 10:28:08 SSH_AUTH_SOCK=/tmp/ssh-09I3DU9BUwyG/agent.11 10:28:08 SSH_AGENT_PID=16 10:28:08 Running ssh-add (command line suppressed) 10:28:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_6206132169199496557.key (/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_6206132169199496557.key) 10:28:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:08 + git describe --exact-match --tags HEAD 10:28:08 fatal: No names found, cannot describe anything. [Pipeline] } 10:28:08 $ docker exec --env ******** --env ******** afad3c66e7bc508c34b6073fbbad224ae1630b2c8e12fb84161a799ab17b6bb4 ssh-agent -k 10:28:09 unset SSH_AUTH_SOCK; 10:28:09 unset SSH_AGENT_PID; 10:28:09 echo Agent pid 16 killed; 10:28:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:28:09 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:28:09 This usually means this commit has not been tagged. [Pipeline] sshagent 10:28:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:09 [ssh-agent] Looking for ssh-agent implementation... 10:28:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:09 $ docker exec afad3c66e7bc508c34b6073fbbad224ae1630b2c8e12fb84161a799ab17b6bb4 ssh-agent 10:28:09 SSH_AUTH_SOCK=/tmp/ssh-OcRIqdNwZ4jp/agent.45 10:28:09 SSH_AGENT_PID=50 10:28:09 Running ssh-add (command line suppressed) 10:28:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_160505266354282533.key (/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_160505266354282533.key) 10:28:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:10 + git semver init 10:28:10 # -> Open(): unable to determine branch for HEAD 10:28:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-587/.git 10:28:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-587 10:28:10 # $SEMVER_REMOTE_NAME = origin 10:28:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:28:10 # $SEMVER_USER_NAME = edgex-jenkins 10:28:10 # $SEMVER_BRANCH = PR-587 10:28:10 # $SEMVER_TEMP = /tmp/semver-600095897 10:28:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:28:10 # '/tmp/semver-600095897' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-587/.semver' 10:28:10 # -> Force: false 10:28:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-587/.semver [Pipeline] } 10:28:10 $ docker exec --env ******** --env ******** afad3c66e7bc508c34b6073fbbad224ae1630b2c8e12fb84161a799ab17b6bb4 ssh-agent -k 10:28:11 unset SSH_AUTH_SOCK; 10:28:11 unset SSH_AGENT_PID; 10:28:11 echo Agent pid 50 killed; 10:28:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:28:11 + git semver [Pipeline] } 10:28:11 $ docker stop --time=1 afad3c66e7bc508c34b6073fbbad224ae1630b2c8e12fb84161a799ab17b6bb4 10:28:13 $ docker rm -f afad3c66e7bc508c34b6073fbbad224ae1630b2c8e12fb84161a799ab17b6bb4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:28:14 Stashed 34 file(s) [Pipeline] echo 10:28:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 10:28:14 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 10:28:29 Still waiting to schedule task 10:28:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:28:29 Still waiting to schedule task 10:28:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-43265’ is offline 10:29:52 Running on prd-centos7-docker-4c-2g-43290 in /w/workspace/dgexfoundry_device-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 10:29:53 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 10:29:56 using credential edgex-jenkins-ssh 10:29:56 Cloning the remote Git repository 10:29:56 Cloning with configured refspecs honoured and without tags 10:29:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:29:56 > git init /w/workspace/device-sdk-go/5 # timeout=10 10:29:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:29:56 > git --version # timeout=10 10:29:56 > git --version # 'git version 2.16.5' 10:29:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:29:56 Fetching without tags 10:29:57 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit eb1683e52ae0328178a04c5abdb8c2b564305c3e 10:29:57 Merge succeeded, producing eb1683e52ae0328178a04c5abdb8c2b564305c3e 10:29:57 Checking out Revision eb1683e52ae0328178a04c5abdb8c2b564305c3e (PR-587) 10:29:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:29:56 > git config --add remote.origin.fetch +refs/pull/587/head:refs/remotes/origin/PR-587 # timeout=10 10:29:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:29:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:29:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:29:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:29:57 > git config core.sparsecheckout # timeout=10 10:29:57 > git checkout -f eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 10:29:57 > git remote # timeout=10 10:29:57 > git config --get remote.origin.url # timeout=10 10:29:57 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:57 > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 10:29:57 > git rev-parse HEAD^{commit} # timeout=10 10:29:57 > git config core.sparsecheckout # timeout=10 10:29:57 > git checkout -f eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 10:30:01 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:30:02 ========================================================= 10:30:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:30:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:30:02 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 10:30:03 Sending build context to Docker daemon 3.151MB 10:30:03 Step 1/8 : ARG BASE=golang:1.15-alpine 10:30:03 Step 2/8 : FROM ${BASE} 10:30:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:30:03 df20fa9351a1: Pulling fs layer 10:30:03 ed8968b2872e: Pulling fs layer 10:30:03 a92cc7c5fd73: Pulling fs layer 10:30:03 e871e8e8d7a9: Pulling fs layer 10:30:03 e73272ec9a57: Pulling fs layer 10:30:03 1e910a182e73: Pulling fs layer 10:30:03 4e634b169226: Pulling fs layer 10:30:03 e73272ec9a57: Waiting 10:30:03 1e910a182e73: Waiting 10:30:03 4e634b169226: Waiting 10:30:03 e871e8e8d7a9: Waiting 10:30:03 a92cc7c5fd73: Verifying Checksum 10:30:03 a92cc7c5fd73: Download complete 10:30:03 ed8968b2872e: Verifying Checksum 10:30:03 ed8968b2872e: Download complete 10:30:03 e73272ec9a57: Verifying Checksum 10:30:03 e73272ec9a57: Download complete 10:30:03 1e910a182e73: Verifying Checksum 10:30:03 1e910a182e73: Download complete 10:30:04 df20fa9351a1: Verifying Checksum 10:30:04 df20fa9351a1: Download complete 10:30:04 df20fa9351a1: Pull complete 10:30:04 ed8968b2872e: Pull complete 10:30:04 a92cc7c5fd73: Pull complete 10:30:06 4e634b169226: Download complete 10:30:07 e871e8e8d7a9: Verifying Checksum 10:30:07 e871e8e8d7a9: Download complete 10:30:12 e871e8e8d7a9: Pull complete 10:30:12 e73272ec9a57: Pull complete 10:30:12 1e910a182e73: Pull complete 10:30:18 4e634b169226: Pull complete 10:30:18 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 10:30:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:30:18 ---> f7629b54cfaa 10:30:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:30:18 ---> Running in 79f9051fbf4f 10:30:18 Removing intermediate container 79f9051fbf4f 10:30:18 ---> 7952386394f9 10:30:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:30:18 ---> Running in afe0433652c3 10:30:20 Removing intermediate container afe0433652c3 10:30:20 ---> 83c508f02942 10:30:20 Step 5/8 : RUN apk add --no-cache make git 10:30:20 ---> Running in 8fbc135bbbc9 10:30:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:30:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:30:24 OK: 166 MiB in 39 packages 10:30:25 Removing intermediate container 8fbc135bbbc9 10:30:25 ---> d46861084ff3 10:30:25 Step 6/8 : WORKDIR /device-sdk-go 10:30:25 ---> Running in 49c057ff7a65 10:30:25 Removing intermediate container 49c057ff7a65 10:30:25 ---> b52589748895 10:30:25 Step 7/8 : COPY . . 10:30:26 ---> e28c8280c502 10:30:26 Step 8/8 : RUN go mod download 10:30:26 ---> Running in 5e19fd23c8d3 10:30:48 Removing intermediate container 5e19fd23c8d3 10:30:48 ---> 3e8d70b7d85d 10:30:48 Successfully built 3e8d70b7d85d 10:30:48 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 10:30:49 + docker inspect -f . ci-base-image-x86_64 10:30:49 . [Pipeline] withDockerContainer 10:30:49 prd-centos7-docker-4c-2g-43290 does not seem to be running inside a container 10:30:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:30:50 $ docker top 286aee6ed60817b3c1744863d941c620ac4e73122bfbe8b696a47bf343402f6a -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:51 + go version 10:30:51 go version go1.15.2 linux/amd64 [Pipeline] sh 10:30:51 + make test 10:30:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:30:58 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:31:10 # github.com/edgexfoundry/device-sdk-go/internal/transformer 10:31:10 internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 10:31:11 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 10:31:11 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 10:31:11 internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 10:31:12 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 10:31:12 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 10:31:12 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 10:31:12 have UpdateAdminState(context.Context, string, string) error 10:31:12 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 10:31:12 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 10:31:12 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 10:31:12 have UpdateAdminState(context.Context, string, string) error 10:31:12 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 10:31:12 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 10:31:44 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.035s coverage: 8.6% of statements 10:31:44 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.044s coverage: 21.7% of statements 10:31:44 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 10:31:44 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 10:31:44 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 10:31:44 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.364s coverage: 68.9% of statements 10:31:44 make: *** [Makefile:32: test] Error 2 [Pipeline] } 10:31:44 $ docker stop --time=1 286aee6ed60817b3c1744863d941c620ac4e73122bfbe8b696a47bf343402f6a 10:31:45 $ docker rm -f 286aee6ed60817b3c1744863d941c620ac4e73122bfbe8b696a47bf343402f6a [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] } 10:31:47 Failed in branch amd64 10:32:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43294 in /w/workspace/dgexfoundry_device-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 10:32:18 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 10:32:25 using credential edgex-jenkins-ssh 10:32:25 Cloning the remote Git repository 10:32:25 Cloning with configured refspecs honoured and without tags 10:32:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:32:25 > git init /w/workspace/device-sdk-go/5 # timeout=10 10:32:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:32:25 > git --version # timeout=10 10:32:25 > git --version # 'git version 2.17.1' 10:32:25 using GIT_SSH to set credentials SSH Credentials for GitHub 10:32:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:32:26 Fetching without tags 10:32:27 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit eb1683e52ae0328178a04c5abdb8c2b564305c3e 10:32:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:32:26 > git config --add remote.origin.fetch +refs/pull/587/head:refs/remotes/origin/PR-587 # timeout=10 10:32:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:32:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:32:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:32:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:32:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:32:27 > git config core.sparsecheckout # timeout=10 10:32:27 > git checkout -f eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 10:32:27 > git remote # timeout=10 10:32:27 > git config --get remote.origin.url # timeout=10 10:32:27 Merge succeeded, producing eb1683e52ae0328178a04c5abdb8c2b564305c3e 10:32:27 Checking out Revision eb1683e52ae0328178a04c5abdb8c2b564305c3e (PR-587) 10:32:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:32:27 > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 10:32:27 > git rev-parse HEAD^{commit} # timeout=10 10:32:27 > git config core.sparsecheckout # timeout=10 10:32:27 > git checkout -f eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 10:32:32 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:32:33 ========================================================= 10:32:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:32:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:32:35 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 10:32:36 Sending build context to Docker daemon 3.151MB 10:32:36 Step 1/8 : ARG BASE=golang:1.15-alpine 10:32:36 Step 2/8 : FROM ${BASE} 10:32:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:32:36 b538f80385f9: Pulling fs layer 10:32:36 74f711af9a0d: Pulling fs layer 10:32:36 99f96fe45779: Pulling fs layer 10:32:36 8529a6b9a6be: Pulling fs layer 10:32:36 45590311c82a: Pulling fs layer 10:32:36 69ca0ff8b7b3: Pulling fs layer 10:32:36 209524e5b208: Pulling fs layer 10:32:36 8529a6b9a6be: Waiting 10:32:36 45590311c82a: Waiting 10:32:36 69ca0ff8b7b3: Waiting 10:32:36 209524e5b208: Waiting 10:32:36 99f96fe45779: Verifying Checksum 10:32:36 99f96fe45779: Download complete 10:32:36 74f711af9a0d: Verifying Checksum 10:32:36 74f711af9a0d: Download complete 10:32:36 45590311c82a: Verifying Checksum 10:32:36 45590311c82a: Download complete 10:32:37 69ca0ff8b7b3: Verifying Checksum 10:32:37 69ca0ff8b7b3: Download complete 10:32:37 b538f80385f9: Verifying Checksum 10:32:37 b538f80385f9: Download complete 10:32:38 b538f80385f9: Pull complete 10:32:38 74f711af9a0d: Pull complete 10:32:39 99f96fe45779: Pull complete 10:32:39 209524e5b208: Verifying Checksum 10:32:41 8529a6b9a6be: Verifying Checksum 10:32:41 8529a6b9a6be: Download complete 10:32:51 8529a6b9a6be: Pull complete 10:32:51 45590311c82a: Pull complete 10:32:51 69ca0ff8b7b3: Pull complete 10:32:55 209524e5b208: Pull complete 10:32:55 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 10:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:32:55 ---> 5bddaf1c2fca 10:32:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:32:58 ---> Running in 9382bdffa4bb 10:32:58 Removing intermediate container 9382bdffa4bb 10:32:58 ---> e0601c0a383d 10:32:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:32:58 ---> Running in 78913747dacc 10:33:02 Removing intermediate container 78913747dacc 10:33:02 ---> 88c902c60bde 10:33:02 Step 5/8 : RUN apk add --no-cache make git 10:33:02 ---> Running in 20c2cebc6cc5 10:33:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:33:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:33:05 OK: 142 MiB in 39 packages 10:33:06 Removing intermediate container 20c2cebc6cc5 10:33:06 ---> 4550a9f3c70e 10:33:06 Step 6/8 : WORKDIR /device-sdk-go 10:33:06 ---> Running in 6b124c631140 10:33:06 Removing intermediate container 6b124c631140 10:33:06 ---> c44fe4cae156 10:33:06 Step 7/8 : COPY . . 10:33:08 ---> 24d4958abd91 10:33:08 Step 8/8 : RUN go mod download 10:33:08 ---> Running in c3fe9d1695b9 10:33:35 Removing intermediate container c3fe9d1695b9 10:33:35 ---> 17a6247f48ae 10:33:35 Successfully built 17a6247f48ae 10:33:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:33:36 + docker inspect -f . ci-base-image-arm64 10:33:36 . [Pipeline] withDockerContainer 10:33:36 prd-ubuntu18.04-docker-arm64-4c-16g-43294 does not seem to be running inside a container 10:33:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:33:38 $ docker top 1125a7e46dc16e93860933f68b9ea40422ee340ee8a4b48403d0e89523613a92 -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:39 + go version 10:33:39 go version go1.15.2 linux/arm64 [Pipeline] sh 10:33:40 + make test 10:33:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:34:07 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:34:46 # github.com/edgexfoundry/device-sdk-go/internal/transformer 10:34:46 internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 10:34:46 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 10:34:46 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 10:34:46 internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 10:34:46 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 10:34:46 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 10:34:46 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 10:34:46 have UpdateAdminState(context.Context, string, string) error 10:34:46 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 10:34:46 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 10:34:46 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 10:34:46 have UpdateAdminState(context.Context, string, string) error 10:34:46 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 10:34:46 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 10:35:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 8.6% of statements 10:35:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.7% of statements 10:35:19 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 10:35:19 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 10:35:19 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 10:35:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.137s coverage: 68.9% of statements 10:35:19 make: *** [Makefile:32: test] Error 2 [Pipeline] } 10:35:19 $ docker stop --time=1 1125a7e46dc16e93860933f68b9ea40422ee340ee8a4b48403d0e89523613a92 10:35:21 $ docker rm -f 1125a7e46dc16e93860933f68b9ea40422ee340ee8a4b48403d0e89523613a92 [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] } 10:35:23 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 10:35:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:35:33 ---> package-listing.sh 10:35:33 ++ facter osfamily 10:35:33 ++ tr '[:upper:]' '[:lower:]' 10:35:33 + OS_FAMILY=redhat 10:35:33 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-587 10:35:33 + START_PACKAGES=/tmp/packages_start.txt 10:35:33 + END_PACKAGES=/tmp/packages_end.txt 10:35:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:35:33 + PACKAGES=/tmp/packages_start.txt 10:35:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-587 ']' 10:35:33 + PACKAGES=/tmp/packages_end.txt 10:35:33 + case "${OS_FAMILY}" in 10:35:33 + rpm -qa 10:35:33 + sort 10:35:37 + '[' -f /tmp/packages_start.txt ']' 10:35:37 + '[' -f /tmp/packages_end.txt ']' 10:35:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:35:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-587 ']' 10:35:37 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-587/archives/ 10:35:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-587/archives/ [Pipeline] isUnix [Pipeline] sh 10:35:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:35:37 10:35:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:35:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:35:38 alpine: Pulling from edgex-lftools-log-publisher 10:35:38 df20fa9351a1: Pulling fs layer 10:35:38 36b3adc4ff6f: Pulling fs layer 10:35:38 8ad3a11d3b57: Pulling fs layer 10:35:38 46f8f816bc3b: Pulling fs layer 10:35:38 0dadc02b9964: Pulling fs layer 10:35:38 ce6a7cf60c04: Pulling fs layer 10:35:38 7a184a31f384: Pulling fs layer 10:35:38 0879bd2ef858: Pulling fs layer 10:35:38 46f8f816bc3b: Waiting 10:35:38 0dadc02b9964: Waiting 10:35:38 ce6a7cf60c04: Waiting 10:35:38 7a184a31f384: Waiting 10:35:38 0879bd2ef858: Waiting 10:35:38 36b3adc4ff6f: Download complete 10:35:38 46f8f816bc3b: Verifying Checksum 10:35:38 46f8f816bc3b: Download complete 10:35:38 df20fa9351a1: Verifying Checksum 10:35:38 df20fa9351a1: Download complete 10:35:38 ce6a7cf60c04: Verifying Checksum 10:35:38 ce6a7cf60c04: Download complete 10:35:38 7a184a31f384: Verifying Checksum 10:35:38 7a184a31f384: Download complete 10:35:38 0dadc02b9964: Verifying Checksum 10:35:38 0dadc02b9964: Download complete 10:35:38 8ad3a11d3b57: Verifying Checksum 10:35:38 8ad3a11d3b57: Download complete 10:35:38 df20fa9351a1: Pull complete 10:35:38 36b3adc4ff6f: Pull complete 10:35:38 0879bd2ef858: Verifying Checksum 10:35:38 0879bd2ef858: Download complete 10:35:39 8ad3a11d3b57: Pull complete 10:35:39 46f8f816bc3b: Pull complete 10:35:39 0dadc02b9964: Pull complete 10:35:40 ce6a7cf60c04: Pull complete 10:35:40 7a184a31f384: Pull complete 10:35:43 0879bd2ef858: Pull complete 10:35:43 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 10:35:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:35:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:35:43 prd-centos7-docker-4c-2g-43284 does not seem to be running inside a container 10:35:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-587 -v /w/workspace/dgexfoundry_device-sdk-go_PR-587:/w/workspace/dgexfoundry_device-sdk-go_PR-587:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:35:47 $ docker top ccd647f5794a6f01e5b13de20ce792cca8bf31af6686d389c7d35a78ac1feefb -eo pid,comm [Pipeline] { [Pipeline] sh 10:35:47 + mkdir -p /var/log/sa [Pipeline] sh 10:35:47 + ls /var/log/sa-host 10:35:47 + sadf -c /var/log/sa-host/sa05 10:35:47 file_magic: OK 10:35:47 HZ: Using current value: 100 10:35:47 file_header: OK 10:35:47 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:35:47 Statistics: 10:35:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:35:47 File successfully converted to sysstat format version 12.2.1 10:35:47 + sadf -c /var/log/sa-host/sa15 10:35:47 file_magic: OK 10:35:47 HZ: Using current value: 100 10:35:47 file_header: OK 10:35:47 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:35:47 Statistics: 10:35:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:35:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:35:47 provisioning config files... 10:35:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/config3660929686962491635tmp [Pipeline] { [Pipeline] echo 10:35:48 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:35:48 ---> create-netrc.sh [Pipeline] echo 10:35:48 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:35:48 ---> logs-deploy.sh 10:35:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-587/5 10:35:48 INFO: archiving workspace using pattern(s): 10:35:50 Archives upload complete. 10:35:50 INFO: archiving logs to Nexus