Pull request #580 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8bcd864ae6e16f07157d9fc614a0327638d327b5+4000e27a9f725d20d01bd2b86b2182ef891199d8 (b917e50ba305ded83bfb588b6f86ca691ef32377) 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 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 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-580/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 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 > 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, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1894 in /w/workspace/dgexfoundry_device-sdk-go_PR-580 [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-580 # 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/580/head:refs/remotes/origin/PR-580 +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/580/head:refs/remotes/origin/PR-580 # timeout=10 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 8bcd864ae6e16f07157d9fc614a0327638d327b5 Merge succeeded, producing 8bcd864ae6e16f07157d9fc614a0327638d327b5 Checking out Revision 8bcd864ae6e16f07157d9fc614a0327638d327b5 (PR-580) > 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/580/head:refs/remotes/origin/PR-580 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bcd864ae6e16f07157d9fc614a0327638d327b5 # 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 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bcd864ae6e16f07157d9fc614a0327638d327b5 # 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-09T03:33:23.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-09T03:33:24.045Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-09T03:33:24.226Z] ========================================================= [2020-09-09T03:33:24.226Z] EdgeX Global Pipelines Version Info [2020-09-09T03:33:24.226Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:33:25.708Z] ------------------- [2020-09-09T03:33:25.708Z] stable info: [2020-09-09T03:33:25.708Z] ------------------- [2020-09-09T03:33:25.708Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-09T03:33:25.708Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-09T03:33:25.708Z] Message: update stable to v1.0.119 [2020-09-09T03:33:26.651Z] ------------------- [2020-09-09T03:33:26.651Z] experimental info: [2020-09-09T03:33:26.651Z] ------------------- [2020-09-09T03:33:26.651Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-09T03:33:26.651Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-09T03:33:26.651Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-09T03:33:27.140Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-09T03:33:27.255Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-09T03:33:27.365Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-09T03:33:27.523Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-09T03:33:27.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-09T03:33:27.752Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-09T03:33:27.887Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-09T03:33:27.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-09T03:33:28.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-09T03:33:28.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-09T03:33:28.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-09T03:33:28.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-09T03:33:28.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-09T03:33:28.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-09T03:33:28.881Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-09T03:33:28.990Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:33:29.099Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:33:29.212Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:33:29.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-09T03:33:29.497Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-09T03:33:29.628Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-09T03:33:29.735Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-09T03:33:29.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-580 [Pipeline] echo [2020-09-09T03:33:29.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-580 [Pipeline] echo [2020-09-09T03:33:30.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-580 [Pipeline] echo [2020-09-09T03:33:30.211Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bcd864ae6e16f07157d9fc614a0327638d327b5 [Pipeline] echo [2020-09-09T03:33:30.352Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bcd864 [Pipeline] echo [2020-09-09T03:33:30.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T03:33:31.301Z] + git log --format=format:%s -1 8bcd864ae6e16f07157d9fc614a0327638d327b5 [Pipeline] echo [2020-09-09T03:33:31.377Z] GIT_COMMIT: 8bcd864ae6e16f07157d9fc614a0327638d327b5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-09-09T03:33:31.443Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:33:32.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:33:32.980Z] [2020-09-09T03:33:32.980Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:33:33.363Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:33:33.363Z] latest: Pulling from edgex-devops/git-semver [2020-09-09T03:33:33.363Z] 31603596830f: Pulling fs layer [2020-09-09T03:33:33.363Z] 2a8b12db71e7: Pulling fs layer [2020-09-09T03:33:33.363Z] 6ca5941a6612: Pulling fs layer [2020-09-09T03:33:33.363Z] ecc8261a40a4: Pulling fs layer [2020-09-09T03:33:33.363Z] ecc8261a40a4: Waiting [2020-09-09T03:33:33.363Z] 2a8b12db71e7: Verifying Checksum [2020-09-09T03:33:33.363Z] 2a8b12db71e7: Download complete [2020-09-09T03:33:33.635Z] 31603596830f: Verifying Checksum [2020-09-09T03:33:33.635Z] 31603596830f: Download complete [2020-09-09T03:33:33.635Z] 6ca5941a6612: Download complete [2020-09-09T03:33:33.635Z] ecc8261a40a4: Verifying Checksum [2020-09-09T03:33:33.635Z] ecc8261a40a4: Download complete [2020-09-09T03:33:33.899Z] 31603596830f: Pull complete [2020-09-09T03:33:34.201Z] 2a8b12db71e7: Pull complete [2020-09-09T03:33:35.155Z] 6ca5941a6612: Pull complete [2020-09-09T03:33:35.155Z] ecc8261a40a4: Pull complete [2020-09-09T03:33:35.155Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-09T03:33:35.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:33:35.155Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-09T03:33:35.274Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2020-09-09T03:33:35.329Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-580 -v /w/workspace/dgexfoundry_device-sdk-go_PR-580:/w/workspace/dgexfoundry_device-sdk-go_PR-580:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-580@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-580@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 [2020-09-09T03:33:37.515Z] $ docker top ea0f8959155435a8dcd03397360f91be1e42023096766e5a7d94a7d39735b61c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-09T03:33:37.856Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T03:33:37.856Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T03:33:38.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T03:33:38.103Z] $ docker exec ea0f8959155435a8dcd03397360f91be1e42023096766e5a7d94a7d39735b61c ssh-agent [2020-09-09T03:33:38.289Z] SSH_AUTH_SOCK=/tmp/ssh-aJO76RToqztf/agent.12 [2020-09-09T03:33:38.289Z] SSH_AGENT_PID=18 [2020-09-09T03:33:38.298Z] Running ssh-add (command line suppressed) [2020-09-09T03:33:38.415Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-580@tmp/private_key_144023599353136152.key (/w/workspace/dgexfoundry_device-sdk-go_PR-580@tmp/private_key_144023599353136152.key) [2020-09-09T03:33:38.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T03:33:38.836Z] + git describe --exact-match --tags HEAD [2020-09-09T03:33:38.836Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-09T03:33:38.874Z] $ docker exec --env ******** --env ******** ea0f8959155435a8dcd03397360f91be1e42023096766e5a7d94a7d39735b61c ssh-agent -k [2020-09-09T03:33:38.984Z] unset SSH_AUTH_SOCK; [2020-09-09T03:33:38.984Z] unset SSH_AGENT_PID; [2020-09-09T03:33:38.984Z] echo Agent pid 18 killed; [2020-09-09T03:33:39.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-09T03:33:39.169Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-09T03:33:39.169Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-09T03:33:39.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T03:33:39.325Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T03:33:39.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T03:33:39.489Z] $ docker exec ea0f8959155435a8dcd03397360f91be1e42023096766e5a7d94a7d39735b61c ssh-agent [2020-09-09T03:33:39.641Z] SSH_AUTH_SOCK=/tmp/ssh-GyMlvtr5LflK/agent.50 [2020-09-09T03:33:39.641Z] SSH_AGENT_PID=55 [2020-09-09T03:33:39.647Z] Running ssh-add (command line suppressed) [2020-09-09T03:33:39.764Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-580@tmp/private_key_1131041085390101269.key (/w/workspace/dgexfoundry_device-sdk-go_PR-580@tmp/private_key_1131041085390101269.key) [2020-09-09T03:33:39.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T03:33:40.181Z] + git semver init [2020-09-09T03:33:40.181Z] # -> Open(): unable to determine branch for HEAD [2020-09-09T03:33:40.181Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-580/.git [2020-09-09T03:33:40.181Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-580 [2020-09-09T03:33:40.181Z] # $SEMVER_REMOTE_NAME = origin [2020-09-09T03:33:40.181Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-09T03:33:40.181Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-09T03:33:40.181Z] # $SEMVER_BRANCH = PR-580 [2020-09-09T03:33:40.181Z] # $SEMVER_TEMP = /tmp/semver-149573717 [2020-09-09T03:33:40.181Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-09T03:33:40.761Z] # '/tmp/semver-149573717' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-580/.semver' [2020-09-09T03:33:40.761Z] # -> Force: false [2020-09-09T03:33:40.761Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-580/.semver [Pipeline] } [2020-09-09T03:33:40.783Z] $ docker exec --env ******** --env ******** ea0f8959155435a8dcd03397360f91be1e42023096766e5a7d94a7d39735b61c ssh-agent -k [2020-09-09T03:33:40.897Z] unset SSH_AUTH_SOCK; [2020-09-09T03:33:40.897Z] unset SSH_AGENT_PID; [2020-09-09T03:33:40.897Z] echo Agent pid 55 killed; [2020-09-09T03:33:40.940Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-09T03:33:41.478Z] + git semver [Pipeline] } [2020-09-09T03:33:41.511Z] $ docker stop --time=1 ea0f8959155435a8dcd03397360f91be1e42023096766e5a7d94a7d39735b61c [2020-09-09T03:33:42.885Z] $ docker rm -f ea0f8959155435a8dcd03397360f91be1e42023096766e5a7d94a7d39735b61c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-09T03:33:43.779Z] Stashed 32 file(s) [Pipeline] echo [2020-09-09T03:33:43.798Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-09T03:33:43.939Z] 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 [2020-09-09T03:33:59.618Z] Still waiting to schedule task [2020-09-09T03:33:59.618Z] ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1898’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1896’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-09T03:33:59.644Z] Still waiting to schedule task [2020-09-09T03:33:59.644Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1896’ is offline [2020-09-09T03:36:17.661Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1902 in /w/workspace/dgexfoundry_device-sdk-go_PR-580 [Pipeline] { [Pipeline] ws [2020-09-09T03:36:17.748Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-09T03:36:21.067Z] Running on prd-centos7-docker-4c-2g-1904 in /w/workspace/dgexfoundry_device-sdk-go_PR-580 [Pipeline] { [Pipeline] ws [2020-09-09T03:36:21.153Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-09T03:36:23.045Z] using credential edgex-jenkins-ssh [2020-09-09T03:36:23.109Z] Cloning the remote Git repository [2020-09-09T03:36:23.109Z] Cloning with configured refspecs honoured and without tags [2020-09-09T03:36:23.998Z] using credential edgex-jenkins-ssh [2020-09-09T03:36:24.048Z] Cloning the remote Git repository [2020-09-09T03:36:24.048Z] Cloning with configured refspecs honoured and without tags [2020-09-09T03:36:23.179Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:23.287Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-09T03:36:23.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:23.368Z] > git --version # timeout=10 [2020-09-09T03:36:23.387Z] > git --version # 'git version 2.17.1' [2020-09-09T03:36:23.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:23.463Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:24.562Z] Fetching without tags [2020-09-09T03:36:24.804Z] Fetching without tags [2020-09-09T03:36:24.076Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:24.157Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-09T03:36:24.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:24.203Z] > git --version # timeout=10 [2020-09-09T03:36:24.213Z] > git --version # 'git version 2.16.5' [2020-09-09T03:36:24.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:24.240Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:24.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:36:24.786Z] > git config --add remote.origin.fetch +refs/pull/580/head:refs/remotes/origin/PR-580 # timeout=10 [2020-09-09T03:36:24.792Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:24.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:36:24.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:24.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:24.820Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:25.046Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 8bcd864ae6e16f07157d9fc614a0327638d327b5 [2020-09-09T03:36:25.191Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 8bcd864ae6e16f07157d9fc614a0327638d327b5 [2020-09-09T03:36:25.289Z] Merge succeeded, producing 8bcd864ae6e16f07157d9fc614a0327638d327b5 [2020-09-09T03:36:25.289Z] Checking out Revision 8bcd864ae6e16f07157d9fc614a0327638d327b5 (PR-580) [2020-09-09T03:36:25.325Z] Merge succeeded, producing 8bcd864ae6e16f07157d9fc614a0327638d327b5 [2020-09-09T03:36:25.326Z] Checking out Revision 8bcd864ae6e16f07157d9fc614a0327638d327b5 (PR-580) [2020-09-09T03:36:24.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:36:24.506Z] > git config --add remote.origin.fetch +refs/pull/580/head:refs/remotes/origin/PR-580 # timeout=10 [2020-09-09T03:36:24.523Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:24.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:36:24.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:24.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:24.596Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:25.073Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:36:25.109Z] > git checkout -f 8bcd864ae6e16f07157d9fc614a0327638d327b5 # timeout=10 [2020-09-09T03:36:25.230Z] > git remote # timeout=10 [2020-09-09T03:36:25.262Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T03:36:25.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:25.288Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T03:36:25.313Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T03:36:25.340Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:36:25.351Z] > git checkout -f 8bcd864ae6e16f07157d9fc614a0327638d327b5 # timeout=10 [2020-09-09T03:36:25.201Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:36:25.208Z] > git checkout -f 8bcd864ae6e16f07157d9fc614a0327638d327b5 # timeout=10 [2020-09-09T03:36:25.262Z] > git remote # timeout=10 [2020-09-09T03:36:25.266Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T03:36:25.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:25.275Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T03:36:25.284Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T03:36:25.294Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:36:25.301Z] > git checkout -f 8bcd864ae6e16f07157d9fc614a0327638d327b5 # timeout=10 [2020-09-09T03:36:28.894Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-09-09T03:36:28.930Z] > git --version # timeout=10 [2020-09-09T03:36:28.936Z] > git --version # 'git version 2.16.5' [2020-09-09T03:36:28.941Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-09T03:36:29.939Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] echo [2020-09-09T03:36:29.951Z] ========================================================= [2020-09-09T03:36:29.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-09T03:36:29.951Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:36:30.015Z] > git --version # timeout=10 [2020-09-09T03:36:30.033Z] > git --version # 'git version 2.17.1' [2020-09-09T03:36:30.046Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-09-09T03:36:30.673Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T03:36:31.613Z] ========================================================= [2020-09-09T03:36:31.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-09T03:36:31.613Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:36:32.083Z] Sending build context to Docker daemon 3.141MB [2020-09-09T03:36:32.083Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T03:36:32.083Z] Step 2/8 : FROM ${BASE} [2020-09-09T03:36:32.083Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-09T03:36:32.083Z] df20fa9351a1: Pulling fs layer [2020-09-09T03:36:32.083Z] ed8968b2872e: Pulling fs layer [2020-09-09T03:36:32.083Z] a92cc7c5fd73: Pulling fs layer [2020-09-09T03:36:32.083Z] 2dd03ba5bac4: Pulling fs layer [2020-09-09T03:36:32.083Z] 1e091d79d1de: Pulling fs layer [2020-09-09T03:36:32.083Z] 481702a1767f: Pulling fs layer [2020-09-09T03:36:32.083Z] f64a6f60c768: Pulling fs layer [2020-09-09T03:36:32.083Z] e78d2573fc39: Pulling fs layer [2020-09-09T03:36:32.083Z] e876d2f968b6: Pulling fs layer [2020-09-09T03:36:32.083Z] ce8a83651883: Pulling fs layer [2020-09-09T03:36:32.083Z] 07967f4d0e4b: Pulling fs layer [2020-09-09T03:36:32.083Z] e78d2573fc39: Waiting [2020-09-09T03:36:32.083Z] 481702a1767f: Waiting [2020-09-09T03:36:32.083Z] e876d2f968b6: Waiting [2020-09-09T03:36:32.084Z] 07967f4d0e4b: Waiting [2020-09-09T03:36:32.084Z] ce8a83651883: Waiting [2020-09-09T03:36:32.084Z] 2dd03ba5bac4: Waiting [2020-09-09T03:36:32.084Z] f64a6f60c768: Waiting [2020-09-09T03:36:32.084Z] 1e091d79d1de: Waiting [2020-09-09T03:36:32.084Z] a92cc7c5fd73: Verifying Checksum [2020-09-09T03:36:32.084Z] a92cc7c5fd73: Download complete [2020-09-09T03:36:32.084Z] ed8968b2872e: Download complete [2020-09-09T03:36:32.084Z] 1e091d79d1de: Verifying Checksum [2020-09-09T03:36:32.084Z] 1e091d79d1de: Download complete [2020-09-09T03:36:32.084Z] 481702a1767f: Verifying Checksum [2020-09-09T03:36:32.084Z] 481702a1767f: Download complete [2020-09-09T03:36:32.084Z] df20fa9351a1: Verifying Checksum [2020-09-09T03:36:32.084Z] df20fa9351a1: Download complete [2020-09-09T03:36:32.354Z] df20fa9351a1: Pull complete [2020-09-09T03:36:32.898Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-09-09T03:36:32.940Z] ed8968b2872e: Pull complete [2020-09-09T03:36:33.207Z] a92cc7c5fd73: Pull complete [2020-09-09T03:36:33.911Z] Sending build context to Docker daemon 3.141MB [2020-09-09T03:36:33.911Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T03:36:33.911Z] Step 2/8 : FROM ${BASE} [2020-09-09T03:36:35.143Z] f64a6f60c768: Verifying Checksum [2020-09-09T03:36:35.143Z] f64a6f60c768: Download complete [2020-09-09T03:36:35.143Z] e876d2f968b6: Verifying Checksum [2020-09-09T03:36:35.143Z] e876d2f968b6: Download complete [2020-09-09T03:36:35.356Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-09T03:36:35.356Z] b538f80385f9: Pulling fs layer [2020-09-09T03:36:35.356Z] 74f711af9a0d: Pulling fs layer [2020-09-09T03:36:35.356Z] 99f96fe45779: Pulling fs layer [2020-09-09T03:36:35.356Z] fd7a069fd194: Pulling fs layer [2020-09-09T03:36:35.356Z] 66aa3694b03b: Pulling fs layer [2020-09-09T03:36:35.356Z] 170f70906a0f: Pulling fs layer [2020-09-09T03:36:35.356Z] ad7c5574e4b9: Pulling fs layer [2020-09-09T03:36:35.356Z] e772456be8f7: Pulling fs layer [2020-09-09T03:36:35.356Z] c890913d741a: Pulling fs layer [2020-09-09T03:36:35.356Z] 2480fcc9aa5a: Pulling fs layer [2020-09-09T03:36:35.356Z] 09adf4765672: Pulling fs layer [2020-09-09T03:36:35.356Z] e772456be8f7: Waiting [2020-09-09T03:36:35.356Z] ad7c5574e4b9: Waiting [2020-09-09T03:36:35.356Z] fd7a069fd194: Waiting [2020-09-09T03:36:35.356Z] c890913d741a: Waiting [2020-09-09T03:36:35.356Z] 66aa3694b03b: Waiting [2020-09-09T03:36:35.356Z] 170f70906a0f: Waiting [2020-09-09T03:36:35.356Z] 2480fcc9aa5a: Waiting [2020-09-09T03:36:35.356Z] 09adf4765672: Waiting [2020-09-09T03:36:35.356Z] 99f96fe45779: Verifying Checksum [2020-09-09T03:36:35.356Z] 99f96fe45779: Download complete [2020-09-09T03:36:35.356Z] 74f711af9a0d: Verifying Checksum [2020-09-09T03:36:35.356Z] 74f711af9a0d: Download complete [2020-09-09T03:36:35.356Z] 66aa3694b03b: Verifying Checksum [2020-09-09T03:36:35.356Z] 66aa3694b03b: Download complete [2020-09-09T03:36:35.356Z] b538f80385f9: Verifying Checksum [2020-09-09T03:36:35.356Z] b538f80385f9: Download complete [2020-09-09T03:36:35.644Z] 170f70906a0f: Verifying Checksum [2020-09-09T03:36:35.644Z] 170f70906a0f: Download complete [2020-09-09T03:36:36.248Z] b538f80385f9: Pull complete [2020-09-09T03:36:36.854Z] 74f711af9a0d: Pull complete [2020-09-09T03:36:37.455Z] 99f96fe45779: Pull complete [2020-09-09T03:36:37.713Z] ce8a83651883: Verifying Checksum [2020-09-09T03:36:37.713Z] ce8a83651883: Download complete [2020-09-09T03:36:37.713Z] 07967f4d0e4b: Verifying Checksum [2020-09-09T03:36:37.713Z] 07967f4d0e4b: Download complete [2020-09-09T03:36:37.979Z] e78d2573fc39: Verifying Checksum [2020-09-09T03:36:37.979Z] e78d2573fc39: Download complete [2020-09-09T03:36:38.930Z] 2dd03ba5bac4: Verifying Checksum [2020-09-09T03:36:38.930Z] 2dd03ba5bac4: Download complete [2020-09-09T03:36:40.079Z] ad7c5574e4b9: Verifying Checksum [2020-09-09T03:36:40.079Z] ad7c5574e4b9: Download complete [2020-09-09T03:36:40.079Z] c890913d741a: Verifying Checksum [2020-09-09T03:36:40.079Z] c890913d741a: Download complete [2020-09-09T03:36:42.721Z] 2480fcc9aa5a: Verifying Checksum [2020-09-09T03:36:42.721Z] 2480fcc9aa5a: Download complete [2020-09-09T03:36:42.721Z] 09adf4765672: Download complete [2020-09-09T03:36:44.177Z] e772456be8f7: Verifying Checksum [2020-09-09T03:36:44.177Z] e772456be8f7: Download complete [2020-09-09T03:36:44.289Z] 2dd03ba5bac4: Pull complete [2020-09-09T03:36:44.550Z] 1e091d79d1de: Pull complete [2020-09-09T03:36:44.817Z] 481702a1767f: Pull complete [2020-09-09T03:36:45.151Z] fd7a069fd194: Download complete [2020-09-09T03:36:50.144Z] f64a6f60c768: Pull complete [2020-09-09T03:36:52.729Z] e78d2573fc39: Pull complete [2020-09-09T03:36:52.992Z] e876d2f968b6: Pull complete [2020-09-09T03:36:54.396Z] ce8a83651883: Pull complete [2020-09-09T03:36:54.396Z] 07967f4d0e4b: Pull complete [2020-09-09T03:36:54.396Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-09T03:36:54.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-09T03:36:54.396Z] ---> 5d7c900382c6 [2020-09-09T03:36:54.396Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:36:55.808Z] ---> Running in 6a9e2419429b [2020-09-09T03:36:55.808Z] Removing intermediate container 6a9e2419429b [2020-09-09T03:36:55.808Z] ---> 29dbfac11851 [2020-09-09T03:36:55.808Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:36:55.808Z] ---> Running in fc8a2782481e [2020-09-09T03:36:57.224Z] Removing intermediate container fc8a2782481e [2020-09-09T03:36:57.224Z] ---> bb11a6e0b88c [2020-09-09T03:36:57.224Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T03:36:57.496Z] ---> Running in 305b62bb38b8 [2020-09-09T03:36:57.589Z] fd7a069fd194: Pull complete [2020-09-09T03:36:57.589Z] 66aa3694b03b: Pull complete [2020-09-09T03:36:57.589Z] 170f70906a0f: Pull complete [2020-09-09T03:36:58.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T03:36:58.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T03:36:58.917Z] OK: 166 MiB in 39 packages [2020-09-09T03:36:59.499Z] Removing intermediate container 305b62bb38b8 [2020-09-09T03:36:59.499Z] ---> f501000f77cd [2020-09-09T03:36:59.499Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T03:36:59.499Z] ---> Running in 5e17270be202 [2020-09-09T03:36:59.765Z] Removing intermediate container 5e17270be202 [2020-09-09T03:36:59.765Z] ---> f573ca587fd1 [2020-09-09T03:36:59.765Z] Step 7/8 : COPY . . [2020-09-09T03:37:00.996Z] ad7c5574e4b9: Pull complete [2020-09-09T03:37:01.159Z] ---> 85357fcf5d0c [2020-09-09T03:37:01.159Z] Step 8/8 : RUN go mod download [2020-09-09T03:37:01.159Z] ---> Running in f59e84ed867c [2020-09-09T03:37:03.083Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T03:37:03.083Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T03:37:03.083Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T03:37:03.345Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T03:37:03.345Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T03:37:03.345Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T03:37:03.345Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T03:37:03.345Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T03:37:03.345Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T03:37:03.345Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T03:37:03.345Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.75 [2020-09-09T03:37:03.345Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T03:37:03.345Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T03:37:03.345Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T03:37:03.610Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T03:37:03.610Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T03:37:03.610Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T03:37:03.610Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-09T03:37:03.610Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-09T03:37:03.610Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-09T03:37:03.610Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-09T03:37:03.610Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T03:37:03.610Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T03:37:03.610Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T03:37:03.610Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T03:37:03.610Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T03:37:04.194Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T03:37:04.461Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T03:37:04.461Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T03:37:04.461Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T03:37:04.462Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-09T03:37:04.462Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T03:37:04.462Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T03:37:04.462Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T03:37:04.462Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T03:37:04.462Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T03:37:04.462Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T03:37:04.462Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T03:37:04.462Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T03:37:04.727Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T03:37:04.727Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T03:37:04.727Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T03:37:04.727Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T03:37:04.727Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T03:37:04.727Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T03:37:04.727Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T03:37:04.727Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T03:37:04.727Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T03:37:04.727Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T03:37:04.727Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T03:37:04.727Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T03:37:04.993Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T03:37:04.993Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T03:37:04.993Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T03:37:04.993Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T03:37:04.993Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T03:37:04.993Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T03:37:04.993Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T03:37:04.993Z] go: finding golang.org/x/text v0.3.2 [2020-09-09T03:37:04.993Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-09T03:37:04.993Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T03:37:04.993Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T03:37:06.439Z] e772456be8f7: Pull complete [2020-09-09T03:37:06.439Z] c890913d741a: Pull complete [2020-09-09T03:37:08.420Z] 2480fcc9aa5a: Pull complete [2020-09-09T03:37:08.420Z] 09adf4765672: Pull complete [2020-09-09T03:37:08.691Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-09T03:37:08.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-09T03:37:08.691Z] ---> 2248a725d1cf [2020-09-09T03:37:08.691Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:37:13.002Z] ---> Running in 2d2625262a0c [2020-09-09T03:37:13.280Z] Removing intermediate container 2d2625262a0c [2020-09-09T03:37:13.280Z] ---> a007971df6d3 [2020-09-09T03:37:13.280Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:37:13.558Z] ---> Running in 16b47660b169 [2020-09-09T03:37:16.176Z] Removing intermediate container 16b47660b169 [2020-09-09T03:37:16.176Z] ---> ffadcec16acd [2020-09-09T03:37:16.176Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T03:37:16.176Z] ---> Running in cddf6fa017e8 [2020-09-09T03:37:17.607Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T03:37:18.578Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T03:37:19.550Z] OK: 142 MiB in 39 packages [2020-09-09T03:37:19.961Z] Removing intermediate container f59e84ed867c [2020-09-09T03:37:19.961Z] ---> 808e5f2795e9 [2020-09-09T03:37:19.961Z] Successfully built 808e5f2795e9 [2020-09-09T03:37:19.961Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:37:20.996Z] Removing intermediate container cddf6fa017e8 [2020-09-09T03:37:20.996Z] ---> 7601d501b8a9 [2020-09-09T03:37:20.996Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T03:37:20.996Z] ---> Running in ceaa0f43cc31 [2020-09-09T03:37:21.008Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-09T03:37:21.008Z] . [Pipeline] withDockerContainer [2020-09-09T03:37:21.139Z] prd-centos7-docker-4c-2g-1904 does not seem to be running inside a container [2020-09-09T03:37:21.192Z] $ 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 [2020-09-09T03:37:21.269Z] Removing intermediate container ceaa0f43cc31 [2020-09-09T03:37:21.269Z] ---> 046377a49b60 [2020-09-09T03:37:21.269Z] Step 7/8 : COPY . . [2020-09-09T03:37:22.006Z] $ docker top 2d1780b38410317cf3f7024d990fdd1312b21f5704a773985b8be50a004c2407 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T03:37:22.621Z] + go version [2020-09-09T03:37:22.621Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-09T03:37:22.705Z] ---> abcf6e21eaf8 [2020-09-09T03:37:22.705Z] Step 8/8 : RUN go mod download [2020-09-09T03:37:22.959Z] + make test [2020-09-09T03:37:22.959Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T03:37:22.977Z] ---> Running in dc5af11f670c [2020-09-09T03:37:24.909Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T03:37:25.587Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T03:37:25.587Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T03:37:25.588Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T03:37:25.588Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T03:37:25.865Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T03:37:25.865Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T03:37:25.865Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T03:37:25.865Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T03:37:25.865Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T03:37:25.865Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T03:37:25.865Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.75 [2020-09-09T03:37:25.865Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T03:37:25.865Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T03:37:25.865Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T03:37:25.865Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T03:37:26.135Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T03:37:26.135Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T03:37:26.135Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-09T03:37:26.135Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-09T03:37:26.135Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-09T03:37:26.135Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-09T03:37:26.135Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T03:37:26.135Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T03:37:26.135Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T03:37:26.135Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T03:37:26.135Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T03:37:26.406Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T03:37:26.676Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T03:37:26.677Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T03:37:26.677Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T03:37:26.677Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T03:37:26.677Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T03:37:26.677Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T03:37:26.677Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-09T03:37:26.677Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T03:37:26.677Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T03:37:26.677Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T03:37:26.677Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T03:37:26.952Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T03:37:26.952Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T03:37:26.952Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T03:37:26.952Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T03:37:26.952Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T03:37:26.952Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T03:37:26.952Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T03:37:26.952Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T03:37:26.952Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T03:37:26.952Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T03:37:26.952Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T03:37:26.952Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T03:37:27.224Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T03:37:27.224Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T03:37:27.224Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T03:37:27.224Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T03:37:27.224Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T03:37:27.224Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T03:37:27.224Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T03:37:27.224Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T03:37:27.224Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T03:37:27.224Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T03:37:27.224Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T03:37:27.499Z] go: finding golang.org/x/text v0.3.2 [2020-09-09T03:37:27.499Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-09T03:37:27.499Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T03:37:27.499Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T03:37:33.178Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-09T03:37:33.178Z] 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 [2020-09-09T03:37:34.143Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-09T03:37:34.417Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-09T03:37:34.417Z] 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 [2020-09-09T03:37:34.417Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-09T03:37:34.417Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-09T03:37:34.417Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-09T03:37:34.417Z] have UpdateAdminState(context.Context, string, string) error [2020-09-09T03:37:34.417Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-09T03:37:34.417Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-09T03:37:34.417Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-09T03:37:34.417Z] have UpdateAdminState(context.Context, string, string) error [2020-09-09T03:37:34.417Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-09T03:37:34.417Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-09T03:37:45.813Z] Removing intermediate container dc5af11f670c [2020-09-09T03:37:45.813Z] ---> 9a85bded6c17 [2020-09-09T03:37:45.813Z] Successfully built 9a85bded6c17 [2020-09-09T03:37:45.813Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:37:46.776Z] + docker inspect -f . ci-base-image-arm64 [2020-09-09T03:37:46.776Z] . [Pipeline] withDockerContainer [2020-09-09T03:37:47.069Z] prd-ubuntu18.04-docker-arm64-4c-16g-1902 does not seem to be running inside a container [2020-09-09T03:37:47.148Z] $ 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 [2020-09-09T03:37:49.027Z] $ docker top 62217c56a52790094a25d4977e2af84f85603e8509b1db665aebdaae562967e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T03:37:50.478Z] + go version [2020-09-09T03:37:50.478Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-09T03:37:51.534Z] + make test [2020-09-09T03:37:51.534Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T03:37:52.518Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T03:38:06.581Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.011s coverage: 8.6% of statements [2020-09-09T03:38:06.581Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-09-09T03:38:06.581Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-09T03:38:06.581Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-09T03:38:06.581Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-09T03:38:06.581Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.113s coverage: 68.9% of statements [2020-09-09T03:38:07.156Z] make: *** [Makefile:29: test] Error 2 [Pipeline] } [2020-09-09T03:38:07.225Z] $ docker stop --time=1 2d1780b38410317cf3f7024d990fdd1312b21f5704a773985b8be50a004c2407 [2020-09-09T03:38:08.839Z] $ docker rm -f 2d1780b38410317cf3f7024d990fdd1312b21f5704a773985b8be50a004c2407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-09T03:38:11.346Z] Failed in branch amd64 [2020-09-09T03:38:14.722Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-09T03:38:14.722Z] 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 [2020-09-09T03:38:18.151Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-09T03:38:18.435Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-09T03:38:18.435Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-09T03:38:18.435Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-09T03:38:18.435Z] have UpdateAdminState(context.Context, string, string) error [2020-09-09T03:38:18.435Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-09T03:38:18.435Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-09T03:38:18.435Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-09T03:38:18.435Z] have UpdateAdminState(context.Context, string, string) error [2020-09-09T03:38:18.435Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-09T03:38:18.435Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-09T03:38:18.435Z] 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 [2020-09-09T03:38:19.074Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-09T03:38:51.477Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 8.6% of statements [2020-09-09T03:38:51.477Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements [2020-09-09T03:38:51.477Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-09T03:38:51.477Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-09T03:38:51.477Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-09T03:38:51.477Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.334s coverage: 68.9% of statements [2020-09-09T03:38:51.753Z] make: *** [Makefile:29: test] Error 2 [Pipeline] } [2020-09-09T03:38:51.811Z] $ docker stop --time=1 62217c56a52790094a25d4977e2af84f85603e8509b1db665aebdaae562967e8 [2020-09-09T03:38:53.817Z] $ docker rm -f 62217c56a52790094a25d4977e2af84f85603e8509b1db665aebdaae562967e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-09T03:38:56.301Z] 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 [2020-09-09T03:38:59.913Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:39:00.527Z] ---> package-listing.sh [2020-09-09T03:39:00.527Z] ++ facter osfamily [2020-09-09T03:39:00.527Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-09T03:39:00.527Z] + OS_FAMILY=redhat [2020-09-09T03:39:00.527Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-580 [2020-09-09T03:39:00.527Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-09T03:39:00.527Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-09T03:39:00.527Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-09T03:39:00.527Z] + PACKAGES=/tmp/packages_start.txt [2020-09-09T03:39:00.527Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-580 ']' [2020-09-09T03:39:00.527Z] + PACKAGES=/tmp/packages_end.txt [2020-09-09T03:39:00.527Z] + case "${OS_FAMILY}" in [2020-09-09T03:39:00.527Z] + rpm -qa [2020-09-09T03:39:00.527Z] + sort [2020-09-09T03:39:04.749Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-09T03:39:04.749Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-09T03:39:04.749Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-09T03:39:04.749Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-580 ']' [2020-09-09T03:39:04.749Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-580/archives/ [2020-09-09T03:39:04.749Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-580/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:39:05.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:39:05.239Z] [2020-09-09T03:39:05.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:39:05.624Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:39:05.624Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-09T03:39:05.624Z] df20fa9351a1: Pulling fs layer [2020-09-09T03:39:05.624Z] 36b3adc4ff6f: Pulling fs layer [2020-09-09T03:39:05.624Z] 8ad3a11d3b57: Pulling fs layer [2020-09-09T03:39:05.624Z] 46f8f816bc3b: Pulling fs layer [2020-09-09T03:39:05.624Z] 0dadc02b9964: Pulling fs layer [2020-09-09T03:39:05.624Z] ce6a7cf60c04: Pulling fs layer [2020-09-09T03:39:05.624Z] 7a184a31f384: Pulling fs layer [2020-09-09T03:39:05.624Z] 0879bd2ef858: Pulling fs layer [2020-09-09T03:39:05.624Z] ce6a7cf60c04: Waiting [2020-09-09T03:39:05.624Z] 7a184a31f384: Waiting [2020-09-09T03:39:05.624Z] 0879bd2ef858: Waiting [2020-09-09T03:39:05.624Z] 0dadc02b9964: Waiting [2020-09-09T03:39:05.624Z] 46f8f816bc3b: Waiting [2020-09-09T03:39:05.624Z] 36b3adc4ff6f: Verifying Checksum [2020-09-09T03:39:05.624Z] 36b3adc4ff6f: Download complete [2020-09-09T03:39:05.624Z] 46f8f816bc3b: Verifying Checksum [2020-09-09T03:39:05.624Z] 46f8f816bc3b: Download complete [2020-09-09T03:39:05.624Z] 0dadc02b9964: Verifying Checksum [2020-09-09T03:39:05.624Z] 0dadc02b9964: Download complete [2020-09-09T03:39:05.624Z] ce6a7cf60c04: Verifying Checksum [2020-09-09T03:39:05.624Z] ce6a7cf60c04: Download complete [2020-09-09T03:39:05.624Z] 7a184a31f384: Verifying Checksum [2020-09-09T03:39:05.624Z] 7a184a31f384: Download complete [2020-09-09T03:39:05.890Z] 8ad3a11d3b57: Verifying Checksum [2020-09-09T03:39:05.890Z] 8ad3a11d3b57: Download complete [2020-09-09T03:39:05.890Z] df20fa9351a1: Verifying Checksum [2020-09-09T03:39:05.890Z] df20fa9351a1: Download complete [2020-09-09T03:39:06.152Z] df20fa9351a1: Pull complete [2020-09-09T03:39:06.416Z] 0879bd2ef858: Verifying Checksum [2020-09-09T03:39:06.416Z] 0879bd2ef858: Download complete [2020-09-09T03:39:06.416Z] 36b3adc4ff6f: Pull complete [2020-09-09T03:39:06.992Z] 8ad3a11d3b57: Pull complete [2020-09-09T03:39:07.254Z] 46f8f816bc3b: Pull complete [2020-09-09T03:39:07.516Z] 0dadc02b9964: Pull complete [2020-09-09T03:39:07.516Z] ce6a7cf60c04: Pull complete [2020-09-09T03:39:07.780Z] 7a184a31f384: Pull complete [2020-09-09T03:39:09.702Z] 0879bd2ef858: Pull complete [2020-09-09T03:39:09.964Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-09T03:39:09.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:39:09.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-09T03:39:10.114Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2020-09-09T03:39:10.163Z] $ 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-580 -v /w/workspace/dgexfoundry_device-sdk-go_PR-580:/w/workspace/dgexfoundry_device-sdk-go_PR-580:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-580@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-580@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 [2020-09-09T03:39:16.331Z] $ docker top 47134f05ba82b8d7bbcb7cde9d41c8bbadb39a7164042d1f53d63a6dd1fe6878 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T03:39:16.908Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-09T03:39:17.229Z] + ls /var/log/sa-host [2020-09-09T03:39:17.229Z] + sadf -c /var/log/sa-host/sa05 [2020-09-09T03:39:17.229Z] file_magic: OK [2020-09-09T03:39:17.229Z] HZ: Using current value: 100 [2020-09-09T03:39:17.229Z] file_header: OK [2020-09-09T03:39:17.230Z] 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 [2020-09-09T03:39:17.230Z] Statistics: [2020-09-09T03:39:17.230Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T03:39:17.230Z] File successfully converted to sysstat format version 12.2.1 [2020-09-09T03:39:17.230Z] + sadf -c /var/log/sa-host/sa09 [2020-09-09T03:39:17.230Z] file_magic: OK [2020-09-09T03:39:17.230Z] HZ: Using current value: 100 [2020-09-09T03:39:17.230Z] file_header: OK [2020-09-09T03:39:17.230Z] 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 [2020-09-09T03:39:17.230Z] Statistics: [2020-09-09T03:39:17.230Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T03:39:17.230Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-09T03:39:17.354Z] provisioning config files... [2020-09-09T03:39:17.372Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-580@tmp/config1048694534198707988tmp [Pipeline] { [Pipeline] echo [2020-09-09T03:39:17.490Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:39:17.824Z] ---> create-netrc.sh [Pipeline] echo [2020-09-09T03:39:17.857Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:39:18.193Z] ---> logs-deploy.sh [2020-09-09T03:39:18.193Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-580/1 [2020-09-09T03:39:18.193Z] INFO: archiving workspace using pattern(s): [2020-09-09T03:39:19.581Z] Archives upload complete. [2020-09-09T03:39:19.581Z] INFO: archiving logs to Nexus