Pull request #587 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9ea1a4d963233e84a22473354c1ebfc8d10d6131+3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (23fd8e354d365c049630c11f6365f4eb27368171) 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-43225 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 Fetching without tags > 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 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 9ea1a4d963233e84a22473354c1ebfc8d10d6131 Merge succeeded, producing e0606a32453f6ba53d151020d58d0cd5a6c2bdcc Checking out Revision e0606a32453f6ba53d151020d58d0cd5a6c2bdcc (PR-587) > git config core.sparsecheckout # timeout=10 > git checkout -f 9ea1a4d963233e84a22473354c1ebfc8d10d6131 # 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 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0606a32453f6ba53d151020d58d0cd5a6c2bdcc # timeout=10 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" > git rev-list --no-walk 9ea1a4d963233e84a22473354c1ebfc8d10d6131 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:47:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:47:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:47:04 ========================================================= 05:47:04 EdgeX Global Pipelines Version Info 05:47:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:47:06 ------------------- 05:47:06 stable info: 05:47:06 ------------------- 05:47:06 Commited By: Emilio Reyes emilio.reyes@intel.com 05:47:06 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 05:47:06 Message: update stable to v1.0.119 05:47:07 ------------------- 05:47:07 experimental info: 05:47:07 ------------------- 05:47:07 Commited By: **** collab-it+edgex@linuxfoundation.org 05:47:07 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 05:47:07 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:47:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:47:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:47:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:47:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:47:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:47:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:47:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0606a32453f6ba53d151020d58d0cd5a6c2bdcc [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0606a3 [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:10 + git log --format=format:%s -1 e0606a32453f6ba53d151020d58d0cd5a6c2bdcc [Pipeline] echo 05:47:10 GIT_COMMIT: e0606a32453f6ba53d151020d58d0cd5a6c2bdcc, Commit Message: Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD [Pipeline] echo 05:47:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:47:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:11 05:47:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:47:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:12 latest: Pulling from edgex-devops/git-semver 05:47:12 31603596830f: Pulling fs layer 05:47:12 2a8b12db71e7: Pulling fs layer 05:47:12 6ca5941a6612: Pulling fs layer 05:47:12 ecc8261a40a4: Pulling fs layer 05:47:12 ecc8261a40a4: Waiting 05:47:12 2a8b12db71e7: Verifying Checksum 05:47:12 2a8b12db71e7: Download complete 05:47:12 31603596830f: Verifying Checksum 05:47:12 31603596830f: Download complete 05:47:12 ecc8261a40a4: Verifying Checksum 05:47:12 ecc8261a40a4: Download complete 05:47:12 6ca5941a6612: Verifying Checksum 05:47:12 6ca5941a6612: Download complete 05:47:13 31603596830f: Pull complete 05:47:13 2a8b12db71e7: Pull complete 05:47:13 6ca5941a6612: Pull complete 05:47:14 ecc8261a40a4: Pull complete 05:47:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:47:14 prd-centos7-docker-4c-2g-43225 does not seem to be running inside a container 05:47:14 $ 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 05:47:17 $ docker top bd07f407b531560785edde01496597b7b054bdd1a9610a87a2d4fcf86b394152 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:17 [ssh-agent] Looking for ssh-agent implementation... 05:47:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:17 $ docker exec bd07f407b531560785edde01496597b7b054bdd1a9610a87a2d4fcf86b394152 ssh-agent 05:47:17 SSH_AUTH_SOCK=/tmp/ssh-2zUq3YPJWTDf/agent.11 05:47:17 SSH_AGENT_PID=17 05:47:17 Running ssh-add (command line suppressed) 05:47:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_1038698194226099229.key (/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_1038698194226099229.key) 05:47:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:18 + git describe --exact-match --tags HEAD 05:47:18 fatal: No names found, cannot describe anything. [Pipeline] } 05:47:18 $ docker exec --env ******** --env ******** bd07f407b531560785edde01496597b7b054bdd1a9610a87a2d4fcf86b394152 ssh-agent -k 05:47:18 unset SSH_AUTH_SOCK; 05:47:18 unset SSH_AGENT_PID; 05:47:18 echo Agent pid 17 killed; 05:47:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:47:18 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:47:18 This usually means this commit has not been tagged. [Pipeline] sshagent 05:47:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:18 [ssh-agent] Looking for ssh-agent implementation... 05:47:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:18 $ docker exec bd07f407b531560785edde01496597b7b054bdd1a9610a87a2d4fcf86b394152 ssh-agent 05:47:18 SSH_AUTH_SOCK=/tmp/ssh-uCCerLSySwRM/agent.45 05:47:18 SSH_AGENT_PID=50 05:47:18 Running ssh-add (command line suppressed) 05:47:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_323684654620503559.key (/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/private_key_323684654620503559.key) 05:47:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:19 + git semver init 05:47:19 # -> Open(): unable to determine branch for HEAD 05:47:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-587/.git 05:47:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-587 05:47:19 # $SEMVER_REMOTE_NAME = origin 05:47:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:47:19 # $SEMVER_USER_NAME = edgex-jenkins 05:47:19 # $SEMVER_BRANCH = PR-587 05:47:19 # $SEMVER_TEMP = /tmp/semver-188071185 05:47:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:47:20 # '/tmp/semver-188071185' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-587/.semver' 05:47:20 # -> Force: false 05:47:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-587/.semver [Pipeline] } 05:47:20 $ docker exec --env ******** --env ******** bd07f407b531560785edde01496597b7b054bdd1a9610a87a2d4fcf86b394152 ssh-agent -k 05:47:20 unset SSH_AUTH_SOCK; 05:47:20 unset SSH_AGENT_PID; 05:47:20 echo Agent pid 50 killed; 05:47:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:20 + git semver [Pipeline] } 05:47:20 $ docker stop --time=1 bd07f407b531560785edde01496597b7b054bdd1a9610a87a2d4fcf86b394152 05:47:22 $ docker rm -f bd07f407b531560785edde01496597b7b054bdd1a9610a87a2d4fcf86b394152 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:47:22 Stashed 33 file(s) [Pipeline] echo 05:47:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:47:22 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 05:47:38 Still waiting to schedule task 05:47:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:47:38 Still waiting to schedule task 05:47:38 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-43221’ 05:49:16 Running on prd-centos7-docker-4c-2g-43232 in /w/workspace/dgexfoundry_device-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 05:49:16 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:49:18 using credential edgex-jenkins-ssh 05:49:18 Cloning the remote Git repository 05:49:18 Cloning with configured refspecs honoured and without tags 05:49:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:49:19 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:49:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:19 > git --version # timeout=10 05:49:19 > git --version # 'git version 2.16.5' 05:49:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:19 > 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 05:49:20 Fetching without tags 05:49:20 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 9ea1a4d963233e84a22473354c1ebfc8d10d6131 05:49:20 Merge succeeded, producing c5f7e63b7f8d92ea4d1c3bbdc15d6513ccd1a4dd 05:49:20 Checking out Revision c5f7e63b7f8d92ea4d1c3bbdc15d6513ccd1a4dd (PR-587) 05:49:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:20 > git config --add remote.origin.fetch +refs/pull/587/head:refs/remotes/origin/PR-587 # timeout=10 05:49:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:49:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:20 > 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 05:49:20 > git config core.sparsecheckout # timeout=10 05:49:20 > git checkout -f 9ea1a4d963233e84a22473354c1ebfc8d10d6131 # timeout=10 05:49:20 > git remote # timeout=10 05:49:20 > git config --get remote.origin.url # timeout=10 05:49:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:20 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 05:49:20 > git rev-parse HEAD^{commit} # timeout=10 05:49:20 > git config core.sparsecheckout # timeout=10 05:49:20 > git checkout -f c5f7e63b7f8d92ea4d1c3bbdc15d6513ccd1a4dd # timeout=10 05:49:24 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" 05:49:24 > git rev-list --no-walk 9ea1a4d963233e84a22473354c1ebfc8d10d6131 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:49:25 ========================================================= 05:49:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:49:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:49:26 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:49:26 Sending build context to Docker daemon 3.146MB 05:49:26 Step 1/8 : ARG BASE=golang:1.15-alpine 05:49:26 Step 2/8 : FROM ${BASE} 05:49:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:49:26 df20fa9351a1: Pulling fs layer 05:49:26 ed8968b2872e: Pulling fs layer 05:49:26 a92cc7c5fd73: Pulling fs layer 05:49:26 e871e8e8d7a9: Pulling fs layer 05:49:26 e73272ec9a57: Pulling fs layer 05:49:26 1e910a182e73: Pulling fs layer 05:49:26 4e634b169226: Pulling fs layer 05:49:26 1e910a182e73: Waiting 05:49:26 e871e8e8d7a9: Waiting 05:49:26 e73272ec9a57: Waiting 05:49:26 4e634b169226: Waiting 05:49:26 a92cc7c5fd73: Verifying Checksum 05:49:26 a92cc7c5fd73: Download complete 05:49:26 ed8968b2872e: Download complete 05:49:26 e73272ec9a57: Verifying Checksum 05:49:26 e73272ec9a57: Download complete 05:49:26 1e910a182e73: Download complete 05:49:26 df20fa9351a1: Verifying Checksum 05:49:26 df20fa9351a1: Download complete 05:49:27 df20fa9351a1: Pull complete 05:49:27 ed8968b2872e: Pull complete 05:49:27 a92cc7c5fd73: Pull complete 05:49:29 4e634b169226: Verifying Checksum 05:49:29 4e634b169226: Download complete 05:49:31 e871e8e8d7a9: Verifying Checksum 05:49:31 e871e8e8d7a9: Download complete 05:49:37 e871e8e8d7a9: Pull complete 05:49:37 e73272ec9a57: Pull complete 05:49:37 1e910a182e73: Pull complete 05:49:41 4e634b169226: Pull complete 05:49:41 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:49:41 ---> f7629b54cfaa 05:49:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:49:41 ---> Running in 26551af06e4d 05:49:41 Removing intermediate container 26551af06e4d 05:49:41 ---> 15998794aa32 05:49:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:41 ---> Running in 7efb26077e3b 05:49:43 Removing intermediate container 7efb26077e3b 05:49:43 ---> b95f14917644 05:49:43 Step 5/8 : RUN apk add --no-cache make git 05:49:43 ---> Running in 98578cce4bc7 05:49:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:49:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:49:45 OK: 166 MiB in 39 packages 05:49:46 Removing intermediate container 98578cce4bc7 05:49:46 ---> 4fc702dc9d36 05:49:46 Step 6/8 : WORKDIR /device-sdk-go 05:49:46 ---> Running in d1cb147f1f29 05:49:46 Removing intermediate container d1cb147f1f29 05:49:46 ---> c49ab71be8ce 05:49:46 Step 7/8 : COPY . . 05:49:47 ---> 7ca669d2e710 05:49:47 Step 8/8 : RUN go mod download 05:49:47 ---> Running in 23b7a1ebc5e9 05:50:09 Removing intermediate container 23b7a1ebc5e9 05:50:09 ---> 9a0b0c2d59d7 05:50:09 Successfully built 9a0b0c2d59d7 05:50:09 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 05:50:10 + docker inspect -f . ci-base-image-x86_64 05:50:10 . [Pipeline] withDockerContainer 05:50:10 prd-centos7-docker-4c-2g-43232 does not seem to be running inside a container 05:50:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:50:11 $ docker top bd49098ac38168404938e6bc473201a6fa319cf53b0f8ded36d3624ad28054c6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:11 + go version 05:50:11 go version go1.15.2 linux/amd64 [Pipeline] sh 05:50:12 + make test 05:50:12 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:50:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:50:21 # github.com/edgexfoundry/device-sdk-go/internal/transformer 05:50:21 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 05:50:21 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 05:50:21 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 05:50:21 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 05:50:21 have UpdateAdminState(context.Context, string, string) error 05:50:21 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 05:50:21 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 05:50:21 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 05:50:21 have UpdateAdminState(context.Context, string, string) error 05:50:21 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 05:50:21 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 05:50:21 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 05:50:21 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 05:50:21 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 05:50:54 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 8.6% of statements 05:50:54 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.015s coverage: 21.7% of statements 05:50:54 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 05:50:54 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 05:50:54 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 05:50:54 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.062s coverage: 68.9% of statements 05:50:54 make: *** [Makefile:29: test] Error 2 [Pipeline] } 05:50:54 $ docker stop --time=1 bd49098ac38168404938e6bc473201a6fa319cf53b0f8ded36d3624ad28054c6 05:50:55 $ docker rm -f bd49098ac38168404938e6bc473201a6fa319cf53b0f8ded36d3624ad28054c6 [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] } 05:50:57 Failed in branch amd64 05:51:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43237 in /w/workspace/dgexfoundry_device-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 05:51:01 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:51:07 using credential edgex-jenkins-ssh 05:51:07 Cloning the remote Git repository 05:51:07 Cloning with configured refspecs honoured and without tags 05:51:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:51:07 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:51:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:51:07 > git --version # timeout=10 05:51:07 > git --version # 'git version 2.17.1' 05:51:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:07 > 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 05:51:08 Fetching without tags 05:51:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:51:08 > git config --add remote.origin.fetch +refs/pull/587/head:refs/remotes/origin/PR-587 # timeout=10 05:51:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:51:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:51:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:51:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:09 > 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 05:51:09 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 9ea1a4d963233e84a22473354c1ebfc8d10d6131 05:51:09 Merge succeeded, producing 5ecd72b0394d13d376d2d596dd6a1240384fdba7 05:51:09 Checking out Revision 5ecd72b0394d13d376d2d596dd6a1240384fdba7 (PR-587) 05:51:09 > git config core.sparsecheckout # timeout=10 05:51:09 > git checkout -f 9ea1a4d963233e84a22473354c1ebfc8d10d6131 # timeout=10 05:51:09 > git remote # timeout=10 05:51:09 > git config --get remote.origin.url # timeout=10 05:51:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:09 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 05:51:09 > git rev-parse HEAD^{commit} # timeout=10 05:51:09 > git config core.sparsecheckout # timeout=10 05:51:09 > git checkout -f 5ecd72b0394d13d376d2d596dd6a1240384fdba7 # timeout=10 05:51:14 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" 05:51:14 > git rev-list --no-walk 9ea1a4d963233e84a22473354c1ebfc8d10d6131 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:51:15 ========================================================= 05:51:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:51:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:51:17 + 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 . 05:51:18 Sending build context to Docker daemon 3.146MB 05:51:18 Step 1/8 : ARG BASE=golang:1.15-alpine 05:51:18 Step 2/8 : FROM ${BASE} 05:51:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:51:18 b538f80385f9: Pulling fs layer 05:51:18 74f711af9a0d: Pulling fs layer 05:51:18 99f96fe45779: Pulling fs layer 05:51:18 8529a6b9a6be: Pulling fs layer 05:51:18 45590311c82a: Pulling fs layer 05:51:18 69ca0ff8b7b3: Pulling fs layer 05:51:18 209524e5b208: Pulling fs layer 05:51:18 8529a6b9a6be: Waiting 05:51:18 45590311c82a: Waiting 05:51:18 69ca0ff8b7b3: Waiting 05:51:18 209524e5b208: Waiting 05:51:18 99f96fe45779: Verifying Checksum 05:51:18 99f96fe45779: Download complete 05:51:18 74f711af9a0d: Verifying Checksum 05:51:18 74f711af9a0d: Download complete 05:51:18 45590311c82a: Verifying Checksum 05:51:18 45590311c82a: Download complete 05:51:19 69ca0ff8b7b3: Download complete 05:51:19 b538f80385f9: Verifying Checksum 05:51:19 b538f80385f9: Download complete 05:51:19 b538f80385f9: Pull complete 05:51:20 74f711af9a0d: Pull complete 05:51:20 99f96fe45779: Pull complete 05:51:20 209524e5b208: Verifying Checksum 05:51:20 209524e5b208: Download complete 05:51:22 8529a6b9a6be: Verifying Checksum 05:51:22 8529a6b9a6be: Download complete 05:51:33 8529a6b9a6be: Pull complete 05:51:33 45590311c82a: Pull complete 05:51:33 69ca0ff8b7b3: Pull complete 05:51:37 209524e5b208: Pull complete 05:51:37 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:51:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:51:37 ---> 5bddaf1c2fca 05:51:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:40 ---> Running in 7ac336dce8c8 05:51:40 Removing intermediate container 7ac336dce8c8 05:51:40 ---> 17031dd7b7ed 05:51:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:40 ---> Running in 57650812dc45 05:51:43 Removing intermediate container 57650812dc45 05:51:43 ---> a64c41786a77 05:51:43 Step 5/8 : RUN apk add --no-cache make git 05:51:43 ---> Running in 826c6b1f1fdf 05:51:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:51:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:51:46 OK: 142 MiB in 39 packages 05:51:48 Removing intermediate container 826c6b1f1fdf 05:51:48 ---> e5fbc85a6432 05:51:48 Step 6/8 : WORKDIR /device-sdk-go 05:51:48 ---> Running in 70a8cd820e80 05:51:48 Removing intermediate container 70a8cd820e80 05:51:48 ---> cf8e9145889e 05:51:48 Step 7/8 : COPY . . 05:51:49 ---> e75b7b448516 05:51:49 Step 8/8 : RUN go mod download 05:51:50 ---> Running in 5e2e25daf6cb 05:52:12 Removing intermediate container 5e2e25daf6cb 05:52:12 ---> 9bd325aa0ef7 05:52:12 Successfully built 9bd325aa0ef7 05:52:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:13 + docker inspect -f . ci-base-image-arm64 05:52:13 . [Pipeline] withDockerContainer 05:52:13 prd-ubuntu18.04-docker-arm64-4c-16g-43237 does not seem to be running inside a container 05:52:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:52:15 $ docker top 8e7a746a1906b12d328479775bf0235d87e6532fd19ff04a8ef7f9110c4c0b11 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:16 + go version 05:52:16 go version go1.15.2 linux/arm64 [Pipeline] sh 05:52:17 + make test 05:52:17 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:52:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:52:46 # github.com/edgexfoundry/device-sdk-go/internal/transformer 05:52: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 05:52:49 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 05:52:49 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 05:52:49 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 05:52:49 have UpdateAdminState(context.Context, string, string) error 05:52:49 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 05:52:49 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 05:52:49 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 05:52:49 have UpdateAdminState(context.Context, string, string) error 05:52:49 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 05:52:50 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 05:52:50 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 05:52:52 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 05:52:52 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 05:53:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.029s coverage: 8.6% of statements 05:53:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 05:53:24 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 05:53:24 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 05:53:24 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 05:53:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.269s coverage: 68.9% of statements 05:53:24 make: *** [Makefile:29: test] Error 2 [Pipeline] } 05:53:24 $ docker stop --time=1 8e7a746a1906b12d328479775bf0235d87e6532fd19ff04a8ef7f9110c4c0b11 05:53:26 $ docker rm -f 8e7a746a1906b12d328479775bf0235d87e6532fd19ff04a8ef7f9110c4c0b11 [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] } 05:53:28 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 05:53:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:32 ---> package-listing.sh 05:53:32 ++ facter osfamily 05:53:32 ++ tr '[:upper:]' '[:lower:]' 05:53:32 + OS_FAMILY=redhat 05:53:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-587 05:53:32 + START_PACKAGES=/tmp/packages_start.txt 05:53:32 + END_PACKAGES=/tmp/packages_end.txt 05:53:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:32 + PACKAGES=/tmp/packages_start.txt 05:53:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-587 ']' 05:53:32 + PACKAGES=/tmp/packages_end.txt 05:53:32 + case "${OS_FAMILY}" in 05:53:32 + rpm -qa 05:53:32 + sort 05:53:36 + '[' -f /tmp/packages_start.txt ']' 05:53:36 + '[' -f /tmp/packages_end.txt ']' 05:53:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:53:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-587 ']' 05:53:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-587/archives/ 05:53:36 + 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 05:53:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:53:36 05:53:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:53:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:53:37 alpine: Pulling from edgex-lftools-log-publisher 05:53:37 df20fa9351a1: Pulling fs layer 05:53:37 36b3adc4ff6f: Pulling fs layer 05:53:37 8ad3a11d3b57: Pulling fs layer 05:53:37 46f8f816bc3b: Pulling fs layer 05:53:37 0dadc02b9964: Pulling fs layer 05:53:37 ce6a7cf60c04: Pulling fs layer 05:53:37 7a184a31f384: Pulling fs layer 05:53:37 0879bd2ef858: Pulling fs layer 05:53:37 ce6a7cf60c04: Waiting 05:53:37 46f8f816bc3b: Waiting 05:53:37 0dadc02b9964: Waiting 05:53:37 0879bd2ef858: Waiting 05:53:37 7a184a31f384: Waiting 05:53:37 36b3adc4ff6f: Download complete 05:53:37 46f8f816bc3b: Verifying Checksum 05:53:37 46f8f816bc3b: Download complete 05:53:37 0dadc02b9964: Verifying Checksum 05:53:37 0dadc02b9964: Download complete 05:53:37 df20fa9351a1: Verifying Checksum 05:53:37 ce6a7cf60c04: Verifying Checksum 05:53:37 ce6a7cf60c04: Download complete 05:53:37 7a184a31f384: Verifying Checksum 05:53:37 7a184a31f384: Download complete 05:53:37 8ad3a11d3b57: Verifying Checksum 05:53:37 8ad3a11d3b57: Download complete 05:53:37 df20fa9351a1: Pull complete 05:53:38 0879bd2ef858: Verifying Checksum 05:53:38 0879bd2ef858: Download complete 05:53:38 36b3adc4ff6f: Pull complete 05:53:38 8ad3a11d3b57: Pull complete 05:53:38 46f8f816bc3b: Pull complete 05:53:38 0dadc02b9964: Pull complete 05:53:39 ce6a7cf60c04: Pull complete 05:53:39 7a184a31f384: Pull complete 05:53:41 0879bd2ef858: Pull complete 05:53:41 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 05:53:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:53:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:53:41 prd-centos7-docker-4c-2g-43225 does not seem to be running inside a container 05:53:41 $ 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 05:53:47 $ docker top b692ba642343cb218c7b3b9282f564bbcaabbb8bf0cad515a16d5942b0eba851 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:47 + mkdir -p /var/log/sa [Pipeline] sh 05:53:47 + ls /var/log/sa-host 05:53:47 + sadf -c /var/log/sa-host/sa05 05:53:47 file_magic: OK 05:53:47 HZ: Using current value: 100 05:53:47 file_header: OK 05:53: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 05:53:47 Statistics: 05:53:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:53:47 File successfully converted to sysstat format version 12.2.1 05:53:47 + sadf -c /var/log/sa-host/sa15 05:53:47 file_magic: OK 05:53:47 HZ: Using current value: 100 05:53:47 file_header: OK 05:53: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 05:53:47 Statistics: 05:53:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:53:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:48 provisioning config files... 05:53:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-587@tmp/config1872663253090512649tmp [Pipeline] { [Pipeline] echo 05:53:48 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:53:48 ---> create-netrc.sh [Pipeline] echo 05:53:48 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:53:48 ---> logs-deploy.sh 05:53:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-587/2 05:53:48 INFO: archiving workspace using pattern(s): 05:53:50 Archives upload complete. 05:53:50 INFO: archiving logs to Nexus