Pull request #591 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44723ec98315d466e92c2d735e52b8bc3e222db6+acdd4826cae80a3b8a1f7d698808ff3080e1060b (bdae5747289190f05a16f023aa981f48c3590d9e) Running in Durability level: MAX_SURVIVABILITY 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-591/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-43565 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-591 # 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/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 Merge succeeded, producing 44723ec98315d466e92c2d735e52b8bc3e222db6 Checking out Revision 44723ec98315d466e92c2d735e52b8bc3e222db6 (PR-591) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # 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/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # 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 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:01:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:01:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:01:56 ========================================================= 09:01:56 EdgeX Global Pipelines Version Info 09:01:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:01:58 ------------------- 09:01:58 stable info: 09:01:58 ------------------- 09:01:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:01:58 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 09:01:58 Message: update stable to v1.0.122 09:01:58 ------------------- 09:01:58 experimental info: 09:01:58 ------------------- 09:01:58 Commited By: **** collab-it+edgex@linuxfoundation.org 09:01:58 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 09:01:58 Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:01:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:01:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:01:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:01:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:01:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:02:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:02:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:02:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:02:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-591 [Pipeline] echo 09:02:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-591 [Pipeline] echo 09:02:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-591 [Pipeline] echo 09:02:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44723ec98315d466e92c2d735e52b8bc3e222db6 [Pipeline] echo 09:02:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44723ec [Pipeline] echo 09:02:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:02:03 + git log --format=format:%s -1 44723ec98315d466e92c2d735e52b8bc3e222db6 [Pipeline] echo 09:02:04 GIT_COMMIT: 44723ec98315d466e92c2d735e52b8bc3e222db6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 09:02:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:02:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:04 09:02:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:02:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:05 latest: Pulling from edgex-devops/git-semver 09:02:05 31603596830f: Pulling fs layer 09:02:05 2a8b12db71e7: Pulling fs layer 09:02:05 6ca5941a6612: Pulling fs layer 09:02:05 ecc8261a40a4: Pulling fs layer 09:02:05 ecc8261a40a4: Waiting 09:02:05 2a8b12db71e7: Verifying Checksum 09:02:05 2a8b12db71e7: Download complete 09:02:05 31603596830f: Verifying Checksum 09:02:05 31603596830f: Download complete 09:02:05 ecc8261a40a4: Verifying Checksum 09:02:05 ecc8261a40a4: Download complete 09:02:05 6ca5941a6612: Verifying Checksum 09:02:05 6ca5941a6612: Download complete 09:02:05 31603596830f: Pull complete 09:02:06 2a8b12db71e7: Pull complete 09:02:07 6ca5941a6612: Pull complete 09:02:07 ecc8261a40a4: Pull complete 09:02:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:02:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:02:07 prd-centos7-docker-4c-2g-43565 does not seem to be running inside a container 09:02:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-591 -v /w/workspace/dgexfoundry_device-sdk-go_PR-591:/w/workspace/dgexfoundry_device-sdk-go_PR-591:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-591@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 09:02:09 $ docker top d5160f1f8589b88da54cbc541415c3d5c30c029f481b64d74c193245cba36d28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:10 [ssh-agent] Looking for ssh-agent implementation... 09:02:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:10 $ docker exec d5160f1f8589b88da54cbc541415c3d5c30c029f481b64d74c193245cba36d28 ssh-agent 09:02:10 SSH_AUTH_SOCK=/tmp/ssh-CXEtZnRH4ZLG/agent.13 09:02:10 SSH_AGENT_PID=18 09:02:10 Running ssh-add (command line suppressed) 09:02:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_3161179452421131749.key (/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_3161179452421131749.key) 09:02:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:11 + git describe --exact-match --tags HEAD 09:02:11 fatal: No names found, cannot describe anything. [Pipeline] } 09:02:11 $ docker exec --env ******** --env ******** d5160f1f8589b88da54cbc541415c3d5c30c029f481b64d74c193245cba36d28 ssh-agent -k 09:02:11 unset SSH_AUTH_SOCK; 09:02:11 unset SSH_AGENT_PID; 09:02:11 echo Agent pid 18 killed; 09:02:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:02:11 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:02:11 This usually means this commit has not been tagged. [Pipeline] sshagent 09:02:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:11 [ssh-agent] Looking for ssh-agent implementation... 09:02:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:11 $ docker exec d5160f1f8589b88da54cbc541415c3d5c30c029f481b64d74c193245cba36d28 ssh-agent 09:02:12 SSH_AUTH_SOCK=/tmp/ssh-ENUfoEhODjH9/agent.47 09:02:12 SSH_AGENT_PID=52 09:02:12 Running ssh-add (command line suppressed) 09:02:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_6822182177915398033.key (/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_6822182177915398033.key) 09:02:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:12 + git semver init 09:02:12 # -> Open(): unable to determine branch for HEAD 09:02:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-591/.git 09:02:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-591 09:02:12 # $SEMVER_REMOTE_NAME = origin 09:02:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:02:12 # $SEMVER_USER_NAME = edgex-jenkins 09:02:12 # $SEMVER_BRANCH = PR-591 09:02:12 # $SEMVER_TEMP = /tmp/semver-172102982 09:02:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:02:13 # '/tmp/semver-172102982' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-591/.semver' 09:02:13 # -> Force: false 09:02:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-591/.semver [Pipeline] } 09:02:13 $ docker exec --env ******** --env ******** d5160f1f8589b88da54cbc541415c3d5c30c029f481b64d74c193245cba36d28 ssh-agent -k 09:02:13 unset SSH_AUTH_SOCK; 09:02:13 unset SSH_AGENT_PID; 09:02:13 echo Agent pid 52 killed; 09:02:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:13 + git semver [Pipeline] } 09:02:14 $ docker stop --time=1 d5160f1f8589b88da54cbc541415c3d5c30c029f481b64d74c193245cba36d28 09:02:15 $ docker rm -f d5160f1f8589b88da54cbc541415c3d5c30c029f481b64d74c193245cba36d28 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:02:16 Stashed 36 file(s) [Pipeline] echo 09:02:16 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 09:02:16 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 09:02:32 Still waiting to schedule task 09:02:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:02:32 Still waiting to schedule task 09:02:32 ‘prd-ubuntu18.04-docker-arm64-4c-16g-43555’ is offline 09:04:05 Running on prd-centos7-docker-4c-2g-43569 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] ws 09:04:05 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:04:07 using credential edgex-jenkins-ssh 09:04:07 Cloning the remote Git repository 09:04:07 Cloning with configured refspecs honoured and without tags 09:04:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:04:07 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:04:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:04:08 > git --version # timeout=10 09:04:08 > git --version # 'git version 2.16.5' 09:04:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:04:09 Fetching without tags 09:04:09 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 09:04:10 Merge succeeded, producing 44723ec98315d466e92c2d735e52b8bc3e222db6 09:04:10 Checking out Revision 44723ec98315d466e92c2d735e52b8bc3e222db6 (PR-591) 09:04:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:04:09 > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 09:04:09 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:04:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:04:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:04:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:04:09 > git config core.sparsecheckout # timeout=10 09:04:09 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 09:04:10 > git remote # timeout=10 09:04:10 > git config --get remote.origin.url # timeout=10 09:04:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:10 > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 09:04:10 > git rev-parse HEAD^{commit} # timeout=10 09:04:10 > git config core.sparsecheckout # timeout=10 09:04:10 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 09:04:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 09:04:13 > git --version # timeout=10 09:04:13 > git --version # 'git version 2.16.5' 09:04:13 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:04:14 ========================================================= 09:04:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:04:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:04:15 + 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 . 09:04:15 Sending build context to Docker daemon 3.163MB 09:04:15 Step 1/8 : ARG BASE=golang:1.15-alpine 09:04:15 Step 2/8 : FROM ${BASE} 09:04:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:04:16 df20fa9351a1: Pulling fs layer 09:04:16 ed8968b2872e: Pulling fs layer 09:04:16 a92cc7c5fd73: Pulling fs layer 09:04:16 e871e8e8d7a9: Pulling fs layer 09:04:16 e73272ec9a57: Pulling fs layer 09:04:16 1e910a182e73: Pulling fs layer 09:04:16 4e634b169226: Pulling fs layer 09:04:16 e73272ec9a57: Waiting 09:04:16 1e910a182e73: Waiting 09:04:16 e871e8e8d7a9: Waiting 09:04:16 4e634b169226: Waiting 09:04:16 a92cc7c5fd73: Verifying Checksum 09:04:16 a92cc7c5fd73: Download complete 09:04:16 ed8968b2872e: Verifying Checksum 09:04:16 ed8968b2872e: Download complete 09:04:16 e73272ec9a57: Download complete 09:04:16 1e910a182e73: Verifying Checksum 09:04:16 1e910a182e73: Download complete 09:04:16 df20fa9351a1: Download complete 09:04:16 df20fa9351a1: Pull complete 09:04:16 ed8968b2872e: Pull complete 09:04:16 a92cc7c5fd73: Pull complete 09:04:17 4e634b169226: Verifying Checksum 09:04:17 4e634b169226: Download complete 09:04:18 e871e8e8d7a9: Verifying Checksum 09:04:18 e871e8e8d7a9: Download complete 09:04:24 e871e8e8d7a9: Pull complete 09:04:24 e73272ec9a57: Pull complete 09:04:24 1e910a182e73: Pull complete 09:04:32 4e634b169226: Pull complete 09:04:32 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:04:32 ---> f7629b54cfaa 09:04:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:04:32 ---> Running in e1ee98118a84 09:04:32 Removing intermediate container e1ee98118a84 09:04:32 ---> d2bf744f2ef2 09:04:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:32 ---> Running in 8a1c3ef15929 09:04:33 Removing intermediate container 8a1c3ef15929 09:04:33 ---> 9a96c3b3597c 09:04:33 Step 5/8 : RUN apk add --no-cache make git 09:04:33 ---> Running in 0645f885acd4 09:04:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:04:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:04:37 OK: 166 MiB in 39 packages 09:04:37 Removing intermediate container 0645f885acd4 09:04:37 ---> 6a0c621dc839 09:04:37 Step 6/8 : WORKDIR /device-sdk-go 09:04:38 ---> Running in 35174caf2090 09:04:38 Removing intermediate container 35174caf2090 09:04:38 ---> 40cc2fed538a 09:04:38 Step 7/8 : COPY . . 09:04:39 ---> 29ffefe63a7a 09:04:39 Step 8/8 : RUN go mod download 09:04:39 ---> Running in 123a846aa7cb 09:04:57 Removing intermediate container 123a846aa7cb 09:04:57 ---> 6c1489f24524 09:04:57 Successfully built 6c1489f24524 09:04:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:04:58 + docker inspect -f . ci-base-image-x86_64 09:04:58 . [Pipeline] withDockerContainer 09:04:58 prd-centos7-docker-4c-2g-43569 does not seem to be running inside a container 09:04:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 09:04:59 $ docker top e571296fccf1dfdaafdd5eb2e8edcf5f994dafc756ce4d8f8ad8d45342ff717e -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:59 + go version 09:04:59 go version go1.15.2 linux/amd64 [Pipeline] } 09:04:59 $ docker stop --time=1 e571296fccf1dfdaafdd5eb2e8edcf5f994dafc756ce4d8f8ad8d45342ff717e 09:05:01 $ docker rm -f e571296fccf1dfdaafdd5eb2e8edcf5f994dafc756ce4d8f8ad8d45342ff717e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:05:02 + docker inspect -f . ci-base-image-x86_64 09:05:02 . [Pipeline] withDockerContainer 09:05:02 prd-centos7-docker-4c-2g-43569 does not seem to be running inside a container 09:05:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 09:05:03 $ docker top 2e16c886b69ca98e2bacfcdc1ed4896e4e3ec6b86c1eb0244f9bc0412459e8b3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:03 + make test 09:05:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:05:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:05:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43571 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] ws 09:05:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:05:21 using credential edgex-jenkins-ssh 09:05:21 Cloning the remote Git repository 09:05:21 Cloning with configured refspecs honoured and without tags 09:05:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:05:21 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:05:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:21 > git --version # timeout=10 09:05:21 > git --version # 'git version 2.17.1' 09:05:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:21 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:05:22 # github.com/edgexfoundry/device-sdk-go/internal/transformer 09:05:22 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 09:05:23 Fetching without tags 09:05:23 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 09:05:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:22 > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 09:05:22 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:05:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:23 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:05:23 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 09:05:23 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 09:05:23 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 09:05:23 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 09:05:23 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 09:05:23 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 09:05:23 have UpdateAdminState(context.Context, string, string) error 09:05:23 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 09:05:23 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 09:05:23 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 09:05:23 have UpdateAdminState(context.Context, string, string) error 09:05:23 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 09:05:23 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 09:05:23 Merge succeeded, producing 44723ec98315d466e92c2d735e52b8bc3e222db6 09:05:23 Checking out Revision 44723ec98315d466e92c2d735e52b8bc3e222db6 (PR-591) 09:05:23 > git config core.sparsecheckout # timeout=10 09:05:23 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 09:05:23 > git remote # timeout=10 09:05:23 > git config --get remote.origin.url # timeout=10 09:05:23 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:23 > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 09:05:23 > git rev-parse HEAD^{commit} # timeout=10 09:05:23 > git config core.sparsecheckout # timeout=10 09:05:23 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 09:05:28 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 09:05:28 > git --version # timeout=10 09:05:28 > git --version # 'git version 2.17.1' 09:05:28 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:05:30 ========================================================= 09:05:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:05:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:05:32 + 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 . 09:05:33 Sending build context to Docker daemon 3.161MB 09:05:33 Step 1/8 : ARG BASE=golang:1.15-alpine 09:05:33 Step 2/8 : FROM ${BASE} 09:05:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:05:33 b538f80385f9: Pulling fs layer 09:05:33 74f711af9a0d: Pulling fs layer 09:05:33 99f96fe45779: Pulling fs layer 09:05:33 8529a6b9a6be: Pulling fs layer 09:05:33 45590311c82a: Pulling fs layer 09:05:33 69ca0ff8b7b3: Pulling fs layer 09:05:33 209524e5b208: Pulling fs layer 09:05:33 45590311c82a: Waiting 09:05:33 69ca0ff8b7b3: Waiting 09:05:33 209524e5b208: Waiting 09:05:33 8529a6b9a6be: Waiting 09:05:33 99f96fe45779: Verifying Checksum 09:05:33 99f96fe45779: Download complete 09:05:33 74f711af9a0d: Verifying Checksum 09:05:33 74f711af9a0d: Download complete 09:05:33 45590311c82a: Verifying Checksum 09:05:33 45590311c82a: Download complete 09:05:33 69ca0ff8b7b3: Verifying Checksum 09:05:33 69ca0ff8b7b3: Download complete 09:05:33 b538f80385f9: Verifying Checksum 09:05:33 b538f80385f9: Download complete 09:05:34 b538f80385f9: Pull complete 09:05:35 74f711af9a0d: Pull complete 09:05:35 99f96fe45779: Pull complete 09:05:36 209524e5b208: Verifying Checksum 09:05:36 209524e5b208: Download complete 09:05:38 8529a6b9a6be: Verifying Checksum 09:05:38 8529a6b9a6be: Download complete 09:05:48 8529a6b9a6be: Pull complete 09:05:48 45590311c82a: Pull complete 09:05:49 69ca0ff8b7b3: Pull complete 09:05:52 209524e5b208: Pull complete 09:05:52 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:05:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:05:52 ---> 5bddaf1c2fca 09:05:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:05:55 ---> Running in 5024cb74960d 09:05:55 Removing intermediate container 5024cb74960d 09:05:55 ---> c219d9021c69 09:05:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:55 ---> Running in 50fd68ade5b2 09:05:55 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.038s coverage: 8.6% of statements 09:05:55 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.035s coverage: 21.7% of statements 09:05:55 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 09:05:55 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 09:05:55 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 09:05:55 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.478s coverage: 68.9% of statements 09:05:55 make: *** [Makefile:32: test] Error 2 [Pipeline] } 09:05:55 $ docker stop --time=1 2e16c886b69ca98e2bacfcdc1ed4896e4e3ec6b86c1eb0244f9bc0412459e8b3 09:05:57 $ docker rm -f 2e16c886b69ca98e2bacfcdc1ed4896e4e3ec6b86c1eb0244f9bc0412459e8b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 09:05:58 Removing intermediate container 50fd68ade5b2 09:05:58 ---> 8763bde7ff83 09:05:58 Step 5/8 : RUN apk add --no-cache make git [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 09:05:58 ---> Running in 36d03345f3c8 [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] } 09:05:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } 09:06:00 Failed in branch amd64 09:06:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:06:01 OK: 142 MiB in 39 packages 09:06:03 Removing intermediate container 36d03345f3c8 09:06:03 ---> d3b8444ff7c7 09:06:03 Step 6/8 : WORKDIR /device-sdk-go 09:06:03 ---> Running in 700918a85a0b 09:06:03 Removing intermediate container 700918a85a0b 09:06:03 ---> cf58756481a8 09:06:03 Step 7/8 : COPY . . 09:06:05 ---> 471157b60ca2 09:06:05 Step 8/8 : RUN go mod download 09:06:05 ---> Running in 7bf8e4adcd32 09:06:27 Removing intermediate container 7bf8e4adcd32 09:06:27 ---> a7501e45531b 09:06:27 Successfully built a7501e45531b 09:06:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:06:28 + docker inspect -f . ci-base-image-arm64 09:06:28 . [Pipeline] withDockerContainer 09:06:28 prd-ubuntu18.04-docker-arm64-4c-16g-43571 does not seem to be running inside a container 09:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 09:06:30 $ docker top e3df1d01f7c331a0d13480f5008036089edb7f1f21238887c15a681a04212cd0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:32 + go version 09:06:32 go version go1.15.2 linux/arm64 [Pipeline] } 09:06:32 $ docker stop --time=1 e3df1d01f7c331a0d13480f5008036089edb7f1f21238887c15a681a04212cd0 09:06:34 $ docker rm -f e3df1d01f7c331a0d13480f5008036089edb7f1f21238887c15a681a04212cd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:35 + docker inspect -f . ci-base-image-arm64 09:06:35 . [Pipeline] withDockerContainer 09:06:35 prd-ubuntu18.04-docker-arm64-4c-16g-43571 does not seem to be running inside a container 09:06:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 09:06:38 $ docker top c98e37085f7775493cd7f9e302da53ab7eb298da44bccf09e31b8c87bb53fde3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:39 + make test 09:06:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:07:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:07:40 # github.com/edgexfoundry/device-sdk-go/internal/transformer 09:07:40 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 09:07:40 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 09:07:40 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 09:07:40 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 09:07:40 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 09:07:40 have UpdateAdminState(context.Context, string, string) error 09:07:40 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 09:07:40 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 09:07:40 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 09:07:40 have UpdateAdminState(context.Context, string, string) error 09:07:40 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 09:07:40 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 09:07:41 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 09:07:41 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 09:08:13 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 8.6% of statements 09:08:13 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.062s coverage: 21.7% of statements 09:08:13 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 09:08:13 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 09:08:13 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 09:08:13 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.136s coverage: 68.9% of statements 09:08:13 make: *** [Makefile:32: test] Error 2 [Pipeline] } 09:08:13 $ docker stop --time=1 c98e37085f7775493cd7f9e302da53ab7eb298da44bccf09e31b8c87bb53fde3 09:08:15 $ docker rm -f c98e37085f7775493cd7f9e302da53ab7eb298da44bccf09e31b8c87bb53fde3 [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] } 09:08:18 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 09:08:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:08:23 ---> package-listing.sh 09:08:23 ++ facter osfamily 09:08:23 ++ tr '[:upper:]' '[:lower:]' 09:08:23 + OS_FAMILY=redhat 09:08:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-591 09:08:23 + START_PACKAGES=/tmp/packages_start.txt 09:08:23 + END_PACKAGES=/tmp/packages_end.txt 09:08:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:08:23 + PACKAGES=/tmp/packages_start.txt 09:08:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-591 ']' 09:08:23 + PACKAGES=/tmp/packages_end.txt 09:08:23 + case "${OS_FAMILY}" in 09:08:23 + rpm -qa 09:08:23 + sort 09:08:27 + '[' -f /tmp/packages_start.txt ']' 09:08:27 + '[' -f /tmp/packages_end.txt ']' 09:08:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:08:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-591 ']' 09:08:27 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-591/archives/ 09:08:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-591/archives/ [Pipeline] isUnix [Pipeline] sh 09:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:28 09:08:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:08:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:28 alpine: Pulling from edgex-lftools-log-publisher 09:08:28 df20fa9351a1: Pulling fs layer 09:08:28 36b3adc4ff6f: Pulling fs layer 09:08:28 8ad3a11d3b57: Pulling fs layer 09:08:28 46f8f816bc3b: Pulling fs layer 09:08:28 0dadc02b9964: Pulling fs layer 09:08:28 ce6a7cf60c04: Pulling fs layer 09:08:28 7a184a31f384: Pulling fs layer 09:08:28 0879bd2ef858: Pulling fs layer 09:08:28 0dadc02b9964: Waiting 09:08:28 ce6a7cf60c04: Waiting 09:08:28 7a184a31f384: Waiting 09:08:28 0879bd2ef858: Waiting 09:08:28 46f8f816bc3b: Waiting 09:08:28 36b3adc4ff6f: Download complete 09:08:28 46f8f816bc3b: Verifying Checksum 09:08:28 46f8f816bc3b: Download complete 09:08:29 df20fa9351a1: Verifying Checksum 09:08:29 df20fa9351a1: Download complete 09:08:29 ce6a7cf60c04: Verifying Checksum 09:08:29 ce6a7cf60c04: Download complete 09:08:29 7a184a31f384: Verifying Checksum 09:08:29 7a184a31f384: Download complete 09:08:29 0dadc02b9964: Verifying Checksum 09:08:29 0dadc02b9964: Download complete 09:08:29 8ad3a11d3b57: Verifying Checksum 09:08:29 8ad3a11d3b57: Download complete 09:08:29 df20fa9351a1: Pull complete 09:08:29 36b3adc4ff6f: Pull complete 09:08:29 0879bd2ef858: Verifying Checksum 09:08:29 0879bd2ef858: Download complete 09:08:30 8ad3a11d3b57: Pull complete 09:08:30 46f8f816bc3b: Pull complete 09:08:30 0dadc02b9964: Pull complete 09:08:30 ce6a7cf60c04: Pull complete 09:08:30 7a184a31f384: Pull complete 09:08:33 0879bd2ef858: Pull complete 09:08:33 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 09:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:08:33 prd-centos7-docker-4c-2g-43565 does not seem to be running inside a container 09:08:33 $ 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-591 -v /w/workspace/dgexfoundry_device-sdk-go_PR-591:/w/workspace/dgexfoundry_device-sdk-go_PR-591:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-591@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 09:08:36 $ docker top d6abbe33b11dd2b80a55ca6759c277df56c5683e24692fbc2803d920f5861488 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:37 + mkdir -p /var/log/sa [Pipeline] sh 09:08:37 + ls /var/log/sa-host 09:08:37 + sadf -c /var/log/sa-host/sa05 09:08:37 file_magic: OK 09:08:37 HZ: Using current value: 100 09:08:37 file_header: OK 09:08:37 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 09:08:37 Statistics: 09:08:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:08:37 File successfully converted to sysstat format version 12.2.1 09:08:37 + sadf -c /var/log/sa-host/sa16 09:08:37 file_magic: OK 09:08:37 HZ: Using current value: 100 09:08:37 file_header: OK 09:08:37 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 09:08:37 Statistics: 09:08:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:08:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:37 provisioning config files... 09:08:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/config4161381147436330733tmp [Pipeline] { [Pipeline] echo 09:08:37 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:08:38 ---> create-netrc.sh [Pipeline] echo 09:08:38 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:08:38 ---> logs-deploy.sh 09:08:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-591/1 09:08:38 INFO: archiving workspace using pattern(s): 09:08:39 Archives upload complete. 09:08:39 INFO: archiving logs to Nexus