Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eb1683e52ae0328178a04c5abdb8c2b564305c3e+acdd4826cae80a3b8a1f7d698808ff3080e1060b (3b145c63549c36195d0c28d571cd188ae239d889) 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-43360 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 Fetching 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 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 acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit eb1683e52ae0328178a04c5abdb8c2b564305c3e Merge succeeded, producing f9d9c6fbad58f0a44a394326941dbed5531c7471 Checking out Revision f9d9c6fbad58f0a44a394326941dbed5531c7471 (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 acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9d9c6fbad58f0a44a394326941dbed5531c7471 # timeout=10 Commit message: "Merge commit 'acdd4826cae80a3b8a1f7d698808ff3080e1060b' into HEAD" > git rev-list --no-walk eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:47 ========================================================= 18:41:47 EdgeX Global Pipelines Version Info 18:41:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:49 ------------------- 18:41:49 stable info: 18:41:49 ------------------- 18:41:49 Commited By: Emilio Reyes emilio.reyes@intel.com 18:41:49 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 18:41:49 Message: update stable to v1.0.119 18:41:49 ------------------- 18:41:49 experimental info: 18:41:49 ------------------- 18:41:49 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:49 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:41:49 Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:41:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:41:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo 18:41:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo 18:41:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo 18:41:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9d9c6fbad58f0a44a394326941dbed5531c7471 [Pipeline] echo 18:41:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9d9c6f [Pipeline] echo 18:41:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:54 + git log --format=format:%s -1 f9d9c6fbad58f0a44a394326941dbed5531c7471 [Pipeline] echo 18:41:54 GIT_COMMIT: f9d9c6fbad58f0a44a394326941dbed5531c7471, Commit Message: Merge commit 'acdd4826cae80a3b8a1f7d698808ff3080e1060b' into HEAD [Pipeline] echo 18:41:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:54 18:41:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:41:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:55 latest: Pulling from edgex-devops/git-semver 18:41:55 31603596830f: Pulling fs layer 18:41:55 2a8b12db71e7: Pulling fs layer 18:41:55 6ca5941a6612: Pulling fs layer 18:41:55 ecc8261a40a4: Pulling fs layer 18:41:55 ecc8261a40a4: Waiting 18:41:55 2a8b12db71e7: Verifying Checksum 18:41:55 2a8b12db71e7: Download complete 18:41:55 31603596830f: Verifying Checksum 18:41:55 31603596830f: Download complete 18:41:55 6ca5941a6612: Verifying Checksum 18:41:55 6ca5941a6612: Download complete 18:41:55 ecc8261a40a4: Verifying Checksum 18:41:55 ecc8261a40a4: Download complete 18:41:55 31603596830f: Pull complete 18:41:55 2a8b12db71e7: Pull complete 18:41:56 6ca5941a6612: Pull complete 18:41:56 ecc8261a40a4: Pull complete 18:41:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:41:56 prd-centos7-docker-4c-2g-43360 does not seem to be running inside a container 18:41:56 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:41:58 $ docker top 28ae5498c81f11b5bfd733200d5e96ad74a63ed37070eed477863afff6714730 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:59 [ssh-agent] Looking for ssh-agent implementation... 18:41:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:59 $ docker exec 28ae5498c81f11b5bfd733200d5e96ad74a63ed37070eed477863afff6714730 ssh-agent 18:41:59 SSH_AUTH_SOCK=/tmp/ssh-mVXIS0WsiKij/agent.12 18:41:59 SSH_AGENT_PID=17 18:41:59 Running ssh-add (command line suppressed) 18:41:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_2889513484819576735.key (/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_2889513484819576735.key) 18:41:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:00 + git describe --exact-match --tags HEAD 18:42:00 fatal: No names found, cannot describe anything. [Pipeline] } 18:42:00 $ docker exec --env ******** --env ******** 28ae5498c81f11b5bfd733200d5e96ad74a63ed37070eed477863afff6714730 ssh-agent -k 18:42:00 unset SSH_AUTH_SOCK; 18:42:00 unset SSH_AGENT_PID; 18:42:00 echo Agent pid 17 killed; 18:42:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:42:00 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:42:00 This usually means this commit has not been tagged. [Pipeline] sshagent 18:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:00 [ssh-agent] Looking for ssh-agent implementation... 18:42:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:00 $ docker exec 28ae5498c81f11b5bfd733200d5e96ad74a63ed37070eed477863afff6714730 ssh-agent 18:42:00 SSH_AUTH_SOCK=/tmp/ssh-xs3Rwx4sgLKL/agent.46 18:42:00 SSH_AGENT_PID=51 18:42:00 Running ssh-add (command line suppressed) 18:42:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_4889599119541373028.key (/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_4889599119541373028.key) 18:42:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:01 + git semver init 18:42:01 # -> Open(): unable to determine branch for HEAD 18:42:01 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-587/.git 18:42:01 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-587 18:42:01 # $SEMVER_REMOTE_NAME = origin 18:42:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:01 # $SEMVER_USER_NAME = edgex-jenkins 18:42:01 # $SEMVER_BRANCH = PR-587 18:42:01 # $SEMVER_TEMP = /tmp/semver-380760553 18:42:01 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:42:02 # '/tmp/semver-380760553' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-587/.semver' 18:42:02 # -> Force: false 18:42:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-587/.semver [Pipeline] } 18:42:02 $ docker exec --env ******** --env ******** 28ae5498c81f11b5bfd733200d5e96ad74a63ed37070eed477863afff6714730 ssh-agent -k 18:42:02 unset SSH_AUTH_SOCK; 18:42:02 unset SSH_AGENT_PID; 18:42:02 echo Agent pid 51 killed; 18:42:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:02 + git semver [Pipeline] } 18:42:02 $ docker stop --time=1 28ae5498c81f11b5bfd733200d5e96ad74a63ed37070eed477863afff6714730 18:42:04 $ docker rm -f 28ae5498c81f11b5bfd733200d5e96ad74a63ed37070eed477863afff6714730 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:42:05 Stashed 36 file(s) [Pipeline] echo 18:42:05 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:42:05 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 18:42:20 Still waiting to schedule task 18:42:20 ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-43357’ is offline; ‘prd-centos7-docker-4c-2g-43361’ is offline 18:42:20 Still waiting to schedule task 18:42:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:43:59 Running on prd-centos7-docker-4c-2g-43366 in /w/workspace/dgexfoundry_device-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 18:43:59 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 18:44:01 using credential edgex-jenkins-ssh 18:44:02 Cloning the remote Git repository 18:44:02 Cloning with configured refspecs honoured and without tags 18:44:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:02 > git init /w/workspace/device-sdk-go/6 # timeout=10 18:44:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:02 > git --version # timeout=10 18:44:02 > git --version # 'git version 2.16.5' 18:44:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:02 > 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 18:44:03 Fetching without tags 18:44:03 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit eb1683e52ae0328178a04c5abdb8c2b564305c3e 18:44:03 Merge succeeded, producing 7e6f6aa088593cbc13b1c58d0061a3a689810a78 18:44:03 Checking out Revision 7e6f6aa088593cbc13b1c58d0061a3a689810a78 (PR-587) 18:44:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:03 > git config --add remote.origin.fetch +refs/pull/587/head:refs/remotes/origin/PR-587 # timeout=10 18:44:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:03 > 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 18:44:03 > git config core.sparsecheckout # timeout=10 18:44:03 > git checkout -f eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 18:44:03 > git remote # timeout=10 18:44:03 > git config --get remote.origin.url # timeout=10 18:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:03 > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 18:44:03 > git rev-parse HEAD^{commit} # timeout=10 18:44:03 > git config core.sparsecheckout # timeout=10 18:44:03 > git checkout -f 7e6f6aa088593cbc13b1c58d0061a3a689810a78 # timeout=10 18:44:07 Commit message: "Merge commit 'acdd4826cae80a3b8a1f7d698808ff3080e1060b' into HEAD" 18:44:07 > git rev-list --no-walk eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:44:08 ========================================================= 18:44:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:44:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:08 + 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 . 18:44:09 Sending build context to Docker daemon 3.168MB 18:44:09 Step 1/8 : ARG BASE=golang:1.15-alpine 18:44:09 Step 2/8 : FROM ${BASE} 18:44:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:10 df20fa9351a1: Pulling fs layer 18:44:10 ed8968b2872e: Pulling fs layer 18:44:10 a92cc7c5fd73: Pulling fs layer 18:44:10 e871e8e8d7a9: Pulling fs layer 18:44:10 e73272ec9a57: Pulling fs layer 18:44:10 1e910a182e73: Pulling fs layer 18:44:10 4e634b169226: Pulling fs layer 18:44:10 e73272ec9a57: Waiting 18:44:10 1e910a182e73: Waiting 18:44:10 4e634b169226: Waiting 18:44:10 e871e8e8d7a9: Waiting 18:44:10 a92cc7c5fd73: Verifying Checksum 18:44:10 a92cc7c5fd73: Download complete 18:44:10 ed8968b2872e: Download complete 18:44:10 e73272ec9a57: Verifying Checksum 18:44:10 e73272ec9a57: Download complete 18:44:10 1e910a182e73: Verifying Checksum 18:44:10 1e910a182e73: Download complete 18:44:10 df20fa9351a1: Verifying Checksum 18:44:10 df20fa9351a1: Download complete 18:44:10 df20fa9351a1: Pull complete 18:44:10 ed8968b2872e: Pull complete 18:44:10 a92cc7c5fd73: Pull complete 18:44:12 4e634b169226: Verifying Checksum 18:44:12 4e634b169226: Download complete 18:44:12 e871e8e8d7a9: Verifying Checksum 18:44:12 e871e8e8d7a9: Download complete 18:44:18 e871e8e8d7a9: Pull complete 18:44:18 e73272ec9a57: Pull complete 18:44:18 1e910a182e73: Pull complete 18:44:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43365 in /w/workspace/dgexfoundry_device-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 18:44:23 Running in /w/workspace/device-sdk-go/6 [Pipeline] { 18:44:23 4e634b169226: Pull complete 18:44:23 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:44:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:44:23 ---> f7629b54cfaa 18:44:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:23 ---> Running in 05bfa6103533 18:44:23 Removing intermediate container 05bfa6103533 18:44:23 ---> 830918382045 18:44:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:23 ---> Running in 93d46b7eaf9d [Pipeline] checkout 18:44:25 Removing intermediate container 93d46b7eaf9d 18:44:25 ---> 967d94bb50c5 18:44:25 Step 5/8 : RUN apk add --no-cache make git 18:44:25 ---> Running in ab517a6209a7 18:44:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:44:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:44:26 OK: 166 MiB in 39 packages 18:44:27 Removing intermediate container ab517a6209a7 18:44:27 ---> c5b6992cb536 18:44:27 Step 6/8 : WORKDIR /device-sdk-go 18:44:27 ---> Running in 4f09f6307f3c 18:44:27 Removing intermediate container 4f09f6307f3c 18:44:27 ---> 5f2a793a8674 18:44:27 Step 7/8 : COPY . . 18:44:28 ---> 28f598b16104 18:44:28 Step 8/8 : RUN go mod download 18:44:28 ---> Running in 90444c654e21 18:44:28 using credential edgex-jenkins-ssh 18:44:28 Cloning the remote Git repository 18:44:28 Cloning with configured refspecs honoured and without tags 18:44:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:29 > git init /w/workspace/device-sdk-go/6 # timeout=10 18:44:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:29 > git --version # timeout=10 18:44:29 > git --version # 'git version 2.17.1' 18:44:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:29 > 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 18:44:30 Fetching without tags 18:44:30 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit eb1683e52ae0328178a04c5abdb8c2b564305c3e 18:44:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:30 > git config --add remote.origin.fetch +refs/pull/587/head:refs/remotes/origin/PR-587 # timeout=10 18:44:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:30 > 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 18:44:30 > git config core.sparsecheckout # timeout=10 18:44:30 > git checkout -f eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 18:44:31 > git remote # timeout=10 18:44:31 > git config --get remote.origin.url # timeout=10 18:44:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:31 > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 18:44:31 Merge succeeded, producing 1029bf78fcc6256ff006bed9f83fa4a397b3d572 18:44:31 Checking out Revision 1029bf78fcc6256ff006bed9f83fa4a397b3d572 (PR-587) 18:44:31 > git rev-parse HEAD^{commit} # timeout=10 18:44:31 > git config core.sparsecheckout # timeout=10 18:44:31 > git checkout -f 1029bf78fcc6256ff006bed9f83fa4a397b3d572 # timeout=10 18:44:35 Commit message: "Merge commit 'acdd4826cae80a3b8a1f7d698808ff3080e1060b' into HEAD" 18:44:35 > git rev-list --no-walk eb1683e52ae0328178a04c5abdb8c2b564305c3e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:44:36 ========================================================= 18:44:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:44:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:38 + 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 . 18:44:39 Sending build context to Docker daemon 3.168MB 18:44:39 Step 1/8 : ARG BASE=golang:1.15-alpine 18:44:39 Step 2/8 : FROM ${BASE} 18:44:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:44:39 b538f80385f9: Pulling fs layer 18:44:39 74f711af9a0d: Pulling fs layer 18:44:39 99f96fe45779: Pulling fs layer 18:44:39 8529a6b9a6be: Pulling fs layer 18:44:39 45590311c82a: Pulling fs layer 18:44:39 69ca0ff8b7b3: Pulling fs layer 18:44:39 209524e5b208: Pulling fs layer 18:44:39 8529a6b9a6be: Waiting 18:44:39 45590311c82a: Waiting 18:44:39 69ca0ff8b7b3: Waiting 18:44:39 209524e5b208: Waiting 18:44:39 99f96fe45779: Verifying Checksum 18:44:39 99f96fe45779: Download complete 18:44:39 74f711af9a0d: Verifying Checksum 18:44:39 74f711af9a0d: Download complete 18:44:39 45590311c82a: Download complete 18:44:39 69ca0ff8b7b3: Download complete 18:44:39 b538f80385f9: Verifying Checksum 18:44:39 b538f80385f9: Download complete 18:44:40 b538f80385f9: Pull complete 18:44:40 74f711af9a0d: Pull complete 18:44:41 99f96fe45779: Pull complete 18:44:41 209524e5b208: Verifying Checksum 18:44:41 209524e5b208: Download complete 18:44:43 8529a6b9a6be: Verifying Checksum 18:44:43 8529a6b9a6be: Download complete 18:44:46 Removing intermediate container 90444c654e21 18:44:46 ---> dc163952dd3f 18:44:46 Successfully built dc163952dd3f 18:44:46 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 18:44:47 + docker inspect -f . ci-base-image-x86_64 18:44:47 . [Pipeline] withDockerContainer 18:44:47 prd-centos7-docker-4c-2g-43366 does not seem to be running inside a container 18:44:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-x86_64 cat 18:44:48 $ docker top 073d6c87dc9ec794efc7000f70156d96a91a64fd7d948b36a25da1c349338a38 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:48 + go version 18:44:48 go version go1.15.2 linux/amd64 [Pipeline] sh 18:44:49 + make test 18:44:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:44:53 8529a6b9a6be: Pull complete 18:44:53 45590311c82a: Pull complete 18:44:53 69ca0ff8b7b3: Pull complete 18:44:55 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:44:57 209524e5b208: Pull complete 18:44:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:44:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:44:57 ---> 5bddaf1c2fca 18:44:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:59 ---> Running in e1cb805df9b5 18:45:00 Removing intermediate container e1cb805df9b5 18:45:00 ---> 5d21bad0524e 18:45:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:00 ---> Running in 61e0f3e2be63 18:45:03 Removing intermediate container 61e0f3e2be63 18:45:03 ---> 35543ea51b62 18:45:03 Step 5/8 : RUN apk add --no-cache make git 18:45:03 ---> Running in 73551f67f5fc 18:45:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:45:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:45:06 OK: 142 MiB in 39 packages 18:45:07 # github.com/edgexfoundry/device-sdk-go/internal/transformer 18:45:07 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 18:45:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 18:45:07 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 18:45:07 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 18:45:07 Removing intermediate container 73551f67f5fc 18:45:07 ---> 8266a85f7e5b 18:45:07 Step 6/8 : WORKDIR /device-sdk-go 18:45:07 ---> Running in 41ad5348c87c 18:45:08 Removing intermediate container 41ad5348c87c 18:45:08 ---> 58eb72b60e43 18:45:08 Step 7/8 : COPY . . 18:45:08 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 18:45:08 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 18:45:08 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 18:45:08 have UpdateAdminState(context.Context, string, string) error 18:45:08 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 18:45:08 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 18:45:08 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 18:45:08 have UpdateAdminState(context.Context, string, string) error 18:45:08 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 18:45:08 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 18:45:09 ---> 593cd5d45efe 18:45:09 Step 8/8 : RUN go mod download 18:45:09 ---> Running in 215dece54330 18:45:31 Removing intermediate container 215dece54330 18:45:31 ---> 65b71fb9e60c 18:45:31 Successfully built 65b71fb9e60c 18:45:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:32 + docker inspect -f . ci-base-image-arm64 18:45:32 . [Pipeline] withDockerContainer 18:45:32 prd-ubuntu18.04-docker-arm64-4c-16g-43365 does not seem to be running inside a container 18:45:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-arm64 cat 18:45:34 $ docker top 66753e1c9591dfc35f39857285803ef6128e7523d28bfe438bff6e8596a9d75d -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:36 + go version 18:45:36 go version go1.15.2 linux/arm64 [Pipeline] sh 18:45:37 + make test 18:45:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:45:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.032s coverage: 8.6% of statements 18:45:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.026s coverage: 21.7% of statements 18:45:40 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 18:45:40 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 18:45:40 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 18:45:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.670s coverage: 68.9% of statements 18:45:40 make: *** [Makefile:32: test] Error 2 [Pipeline] } 18:45:40 $ docker stop --time=1 073d6c87dc9ec794efc7000f70156d96a91a64fd7d948b36a25da1c349338a38 18:45:42 $ docker rm -f 073d6c87dc9ec794efc7000f70156d96a91a64fd7d948b36a25da1c349338a38 [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] } 18:45:43 Failed in branch amd64 18:45:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:46:32 # github.com/edgexfoundry/device-sdk-go/internal/transformer 18:46:32 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 18:46:32 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 18:46:33 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 18:46:33 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 18:46:33 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 18:46:33 have UpdateAdminState(context.Context, string, string) error 18:46:33 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 18:46:33 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 18:46:33 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 18:46:33 have UpdateAdminState(context.Context, string, string) error 18:46:33 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 18:46:33 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 18:46:33 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 18:46:33 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 18:47:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 8.6% of statements 18:47:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.7% of statements 18:47:06 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 18:47:06 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 18:47:06 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 18:47:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.893s coverage: 68.9% of statements 18:47:06 make: *** [Makefile:32: test] Error 2 [Pipeline] } 18:47:06 $ docker stop --time=1 66753e1c9591dfc35f39857285803ef6128e7523d28bfe438bff6e8596a9d75d 18:47:08 $ docker rm -f 66753e1c9591dfc35f39857285803ef6128e7523d28bfe438bff6e8596a9d75d [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] } 18:47:10 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 18:47:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:47:13 ---> package-listing.sh 18:47:13 ++ facter osfamily 18:47:13 ++ tr '[:upper:]' '[:lower:]' 18:47:13 + OS_FAMILY=redhat 18:47:13 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-587 18:47:13 + START_PACKAGES=/tmp/packages_start.txt 18:47:13 + END_PACKAGES=/tmp/packages_end.txt 18:47:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:47:13 + PACKAGES=/tmp/packages_start.txt 18:47:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-587 ']' 18:47:13 + PACKAGES=/tmp/packages_end.txt 18:47:13 + case "${OS_FAMILY}" in 18:47:13 + rpm -qa 18:47:13 + sort 18:47:17 + '[' -f /tmp/packages_start.txt ']' 18:47:17 + '[' -f /tmp/packages_end.txt ']' 18:47:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:47:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-587 ']' 18:47:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-587/archives/ 18:47:17 + 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 18:47:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:47:17 18:47:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:47:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:47:18 alpine: Pulling from edgex-lftools-log-publisher 18:47:18 df20fa9351a1: Pulling fs layer 18:47:18 36b3adc4ff6f: Pulling fs layer 18:47:18 8ad3a11d3b57: Pulling fs layer 18:47:18 46f8f816bc3b: Pulling fs layer 18:47:18 0dadc02b9964: Pulling fs layer 18:47:18 ce6a7cf60c04: Pulling fs layer 18:47:18 7a184a31f384: Pulling fs layer 18:47:18 0879bd2ef858: Pulling fs layer 18:47:18 0dadc02b9964: Waiting 18:47:18 ce6a7cf60c04: Waiting 18:47:18 7a184a31f384: Waiting 18:47:18 0879bd2ef858: Waiting 18:47:18 46f8f816bc3b: Waiting 18:47:18 36b3adc4ff6f: Verifying Checksum 18:47:18 36b3adc4ff6f: Download complete 18:47:18 46f8f816bc3b: Download complete 18:47:18 df20fa9351a1: Verifying Checksum 18:47:18 df20fa9351a1: Download complete 18:47:18 ce6a7cf60c04: Verifying Checksum 18:47:18 ce6a7cf60c04: Download complete 18:47:18 7a184a31f384: Verifying Checksum 18:47:18 7a184a31f384: Download complete 18:47:18 0dadc02b9964: Verifying Checksum 18:47:18 0dadc02b9964: Download complete 18:47:18 8ad3a11d3b57: Verifying Checksum 18:47:18 8ad3a11d3b57: Download complete 18:47:18 df20fa9351a1: Pull complete 18:47:18 36b3adc4ff6f: Pull complete 18:47:19 0879bd2ef858: Verifying Checksum 18:47:19 0879bd2ef858: Download complete 18:47:19 8ad3a11d3b57: Pull complete 18:47:19 46f8f816bc3b: Pull complete 18:47:19 0dadc02b9964: Pull complete 18:47:19 ce6a7cf60c04: Pull complete 18:47:20 7a184a31f384: Pull complete 18:47:22 0879bd2ef858: Pull complete 18:47:22 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:47:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:47:22 prd-centos7-docker-4c-2g-43360 does not seem to be running inside a container 18:47:22 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:47:27 $ docker top 6ed345c16c03756fcb3432340a4d5cf912bfb7836aaf72daea81bc21d40253ba -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:28 + mkdir -p /var/log/sa [Pipeline] sh 18:47:28 + ls /var/log/sa-host 18:47:28 + sadf -c /var/log/sa-host/sa05 18:47:28 file_magic: OK 18:47:28 HZ: Using current value: 100 18:47:28 file_header: OK 18:47:28 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 18:47:28 Statistics: 18:47:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:47:28 File successfully converted to sysstat format version 12.2.1 18:47:28 + sadf -c /var/log/sa-host/sa15 18:47:28 file_magic: OK 18:47:28 HZ: Using current value: 100 18:47:28 file_header: OK 18:47:28 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 18:47:28 Statistics: 18:47:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:47:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:47:28 provisioning config files... 18:47:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/config9024536535380456750tmp [Pipeline] { [Pipeline] echo 18:47:28 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:47:29 ---> create-netrc.sh [Pipeline] echo 18:47:29 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:47:29 ---> logs-deploy.sh 18:47:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-587/6 18:47:29 INFO: archiving workspace using pattern(s): 18:47:30 Archives upload complete. 18:47:30 INFO: archiving logs to Nexus