Pull request #585 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9+4000e27a9f725d20d01bd2b86b2182ef891199d8 (58f784bfb422c7a45fb5b2fc06ac742a49b20895) 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-585/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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-2074 in /w/workspace/dgexfoundry_device-sdk-go_PR-585 [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-585 # 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/585/head:refs/remotes/origin/PR-585 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 Merge succeeded, producing a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 Checking out Revision a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 (PR-585) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/585/head:refs/remotes/origin/PR-585 # 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/585/head:refs/remotes/origin/PR-585 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 # 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 a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 # 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-10T05:52:59.578Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-10T05:52:59.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-10T05:53:00.095Z] ========================================================= [2020-09-10T05:53:00.095Z] EdgeX Global Pipelines Version Info [2020-09-10T05:53:00.095Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-10T05:53:01.575Z] ------------------- [2020-09-10T05:53:01.575Z] stable info: [2020-09-10T05:53:01.575Z] ------------------- [2020-09-10T05:53:01.575Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-10T05:53:01.575Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-10T05:53:01.575Z] Message: update stable to v1.0.119 [2020-09-10T05:53:02.527Z] ------------------- [2020-09-10T05:53:02.527Z] experimental info: [2020-09-10T05:53:02.527Z] ------------------- [2020-09-10T05:53:02.527Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-10T05:53:02.527Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-10T05:53:02.527Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-10T05:53:03.087Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-10T05:53:03.231Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-10T05:53:03.341Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-10T05:53:03.616Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-10T05:53:03.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-10T05:53:03.836Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-10T05:53:03.950Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-10T05:53:04.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-10T05:53:04.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-10T05:53:04.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-10T05:53:04.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-10T05:53:04.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-10T05:53:04.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-10T05:53:04.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-10T05:53:04.883Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-10T05:53:05.002Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T05:53:05.108Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T05:53:05.268Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T05:53:05.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-10T05:53:05.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-10T05:53:05.598Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-10T05:53:05.711Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-10T05:53:05.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-585 [Pipeline] echo [2020-09-10T05:53:05.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-585 [Pipeline] echo [2020-09-10T05:53:06.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-585 [Pipeline] echo [2020-09-10T05:53:06.258Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 [Pipeline] echo [2020-09-10T05:53:06.374Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6d9c50 [Pipeline] echo [2020-09-10T05:53:06.495Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-10T05:53:07.249Z] + git log --format=format:%s -1 a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 [Pipeline] echo [2020-09-10T05:53:07.329Z] GIT_COMMIT: a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-09-10T05:53:07.398Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:53:08.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T05:53:08.517Z] [2020-09-10T05:53:08.517Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:53:08.938Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T05:53:08.938Z] latest: Pulling from edgex-devops/git-semver [2020-09-10T05:53:08.938Z] 31603596830f: Pulling fs layer [2020-09-10T05:53:08.938Z] 2a8b12db71e7: Pulling fs layer [2020-09-10T05:53:08.938Z] 6ca5941a6612: Pulling fs layer [2020-09-10T05:53:08.938Z] ecc8261a40a4: Pulling fs layer [2020-09-10T05:53:08.938Z] ecc8261a40a4: Waiting [2020-09-10T05:53:08.938Z] 2a8b12db71e7: Verifying Checksum [2020-09-10T05:53:08.938Z] 2a8b12db71e7: Download complete [2020-09-10T05:53:09.202Z] 31603596830f: Verifying Checksum [2020-09-10T05:53:09.202Z] 31603596830f: Download complete [2020-09-10T05:53:09.202Z] ecc8261a40a4: Verifying Checksum [2020-09-10T05:53:09.202Z] ecc8261a40a4: Download complete [2020-09-10T05:53:09.202Z] 6ca5941a6612: Verifying Checksum [2020-09-10T05:53:09.202Z] 6ca5941a6612: Download complete [2020-09-10T05:53:09.465Z] 31603596830f: Pull complete [2020-09-10T05:53:09.465Z] 2a8b12db71e7: Pull complete [2020-09-10T05:53:10.428Z] 6ca5941a6612: Pull complete [2020-09-10T05:53:11.020Z] ecc8261a40a4: Pull complete [2020-09-10T05:53:11.020Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-10T05:53:11.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T05:53:11.020Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-10T05:53:11.132Z] prd-centos7-docker-4c-2g-2074 does not seem to be running inside a container [2020-09-10T05:53:11.178Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-585 -v /w/workspace/dgexfoundry_device-sdk-go_PR-585:/w/workspace/dgexfoundry_device-sdk-go_PR-585:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-585@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-585@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-10T05:53:12.780Z] $ docker top 75e2658532ab8d9375e580c9ab3fa15e9e165fe902bfb89e1dbfc69dbbdb99c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-10T05:53:13.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T05:53:13.180Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T05:53:13.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T05:53:13.383Z] $ docker exec 75e2658532ab8d9375e580c9ab3fa15e9e165fe902bfb89e1dbfc69dbbdb99c6 ssh-agent [2020-09-10T05:53:13.533Z] SSH_AUTH_SOCK=/tmp/ssh-85t9CNq4u2cz/agent.11 [2020-09-10T05:53:13.533Z] SSH_AGENT_PID=16 [2020-09-10T05:53:13.544Z] Running ssh-add (command line suppressed) [2020-09-10T05:53:13.662Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-585@tmp/private_key_348412486214047724.key (/w/workspace/dgexfoundry_device-sdk-go_PR-585@tmp/private_key_348412486214047724.key) [2020-09-10T05:53:13.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T05:53:14.093Z] + git describe --exact-match --tags HEAD [2020-09-10T05:53:14.093Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-10T05:53:14.136Z] $ docker exec --env ******** --env ******** 75e2658532ab8d9375e580c9ab3fa15e9e165fe902bfb89e1dbfc69dbbdb99c6 ssh-agent -k [2020-09-10T05:53:14.244Z] unset SSH_AUTH_SOCK; [2020-09-10T05:53:14.244Z] unset SSH_AGENT_PID; [2020-09-10T05:53:14.244Z] echo Agent pid 16 killed; [2020-09-10T05:53:14.284Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-10T05:53:14.438Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-10T05:53:14.438Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-10T05:53:14.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T05:53:14.551Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T05:53:14.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T05:53:14.739Z] $ docker exec 75e2658532ab8d9375e580c9ab3fa15e9e165fe902bfb89e1dbfc69dbbdb99c6 ssh-agent [2020-09-10T05:53:14.897Z] SSH_AUTH_SOCK=/tmp/ssh-liQ72yGX3wWP/agent.45 [2020-09-10T05:53:14.897Z] SSH_AGENT_PID=51 [2020-09-10T05:53:14.903Z] Running ssh-add (command line suppressed) [2020-09-10T05:53:15.023Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-585@tmp/private_key_7893272578305056550.key (/w/workspace/dgexfoundry_device-sdk-go_PR-585@tmp/private_key_7893272578305056550.key) [2020-09-10T05:53:15.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T05:53:15.500Z] + git semver init [2020-09-10T05:53:15.500Z] # -> Open(): unable to determine branch for HEAD [2020-09-10T05:53:15.500Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-585/.git [2020-09-10T05:53:15.500Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-585 [2020-09-10T05:53:15.500Z] # $SEMVER_REMOTE_NAME = origin [2020-09-10T05:53:15.500Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-10T05:53:15.500Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-10T05:53:15.500Z] # $SEMVER_BRANCH = PR-585 [2020-09-10T05:53:15.500Z] # $SEMVER_TEMP = /tmp/semver-263202478 [2020-09-10T05:53:15.500Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-10T05:53:16.075Z] # '/tmp/semver-263202478' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-585/.semver' [2020-09-10T05:53:16.075Z] # -> Force: false [2020-09-10T05:53:16.075Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-585/.semver [Pipeline] } [2020-09-10T05:53:16.098Z] $ docker exec --env ******** --env ******** 75e2658532ab8d9375e580c9ab3fa15e9e165fe902bfb89e1dbfc69dbbdb99c6 ssh-agent -k [2020-09-10T05:53:16.210Z] unset SSH_AUTH_SOCK; [2020-09-10T05:53:16.210Z] unset SSH_AGENT_PID; [2020-09-10T05:53:16.210Z] echo Agent pid 51 killed; [2020-09-10T05:53:16.250Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-10T05:53:16.815Z] + git semver [Pipeline] } [2020-09-10T05:53:16.861Z] $ docker stop --time=1 75e2658532ab8d9375e580c9ab3fa15e9e165fe902bfb89e1dbfc69dbbdb99c6 [2020-09-10T05:53:18.209Z] $ docker rm -f 75e2658532ab8d9375e580c9ab3fa15e9e165fe902bfb89e1dbfc69dbbdb99c6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-10T05:53:19.070Z] Stashed 33 file(s) [Pipeline] echo [2020-09-10T05:53:19.088Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-10T05:53:19.206Z] 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-10T05:53:34.896Z] Still waiting to schedule task [2020-09-10T05:53:34.896Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-10T05:53:34.934Z] Still waiting to schedule task [2020-09-10T05:53:34.934Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2069’ is offline [2020-09-10T05:55:34.141Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2075 in /w/workspace/dgexfoundry_device-sdk-go_PR-585 [Pipeline] { [Pipeline] ws [2020-09-10T05:55:34.287Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-10T05:55:39.069Z] using credential edgex-jenkins-ssh [2020-09-10T05:55:39.122Z] Cloning the remote Git repository [2020-09-10T05:55:39.122Z] Cloning with configured refspecs honoured and without tags [2020-09-10T05:55:39.190Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:55:39.297Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-10T05:55:40.508Z] Fetching without tags [2020-09-10T05:55:39.373Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:55:39.374Z] > git --version # timeout=10 [2020-09-10T05:55:39.395Z] > git --version # 'git version 2.17.1' [2020-09-10T05:55:39.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:55:39.443Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/585/head:refs/remotes/origin/PR-585 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T05:55:40.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T05:55:40.427Z] > git config --add remote.origin.fetch +refs/pull/585/head:refs/remotes/origin/PR-585 # timeout=10 [2020-09-10T05:55:40.454Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T05:55:40.487Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T05:55:40.569Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:55:41.106Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 [2020-09-10T05:55:41.351Z] Merge succeeded, producing a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 [2020-09-10T05:55:41.351Z] Checking out Revision a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 (PR-585) [2020-09-10T05:55:40.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:55:40.594Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/585/head:refs/remotes/origin/PR-585 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T05:55:41.132Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T05:55:41.154Z] > git checkout -f a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 # timeout=10 [2020-09-10T05:55:41.262Z] > git remote # timeout=10 [2020-09-10T05:55:41.287Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T05:55:41.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:55:41.315Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-10T05:55:41.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T05:55:41.361Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T05:55:41.375Z] > git checkout -f a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 # timeout=10 [2020-09-10T05:55:45.496Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-09-10T05:55:45.554Z] > git --version # timeout=10 [2020-09-10T05:55:45.573Z] > git --version # 'git version 2.17.1' [2020-09-10T05:55:45.583Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-10T05:55:47.129Z] ========================================================= [2020-09-10T05:55:47.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-10T05:55:47.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:55:48.278Z] + 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-10T05:55:49.254Z] Sending build context to Docker daemon 3.143MB [2020-09-10T05:55:49.254Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-10T05:55:49.254Z] Step 2/8 : FROM ${BASE} [2020-09-10T05:55:49.532Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-10T05:55:49.532Z] b538f80385f9: Pulling fs layer [2020-09-10T05:55:49.532Z] 74f711af9a0d: Pulling fs layer [2020-09-10T05:55:49.532Z] 99f96fe45779: Pulling fs layer [2020-09-10T05:55:49.532Z] fd7a069fd194: Pulling fs layer [2020-09-10T05:55:49.532Z] 66aa3694b03b: Pulling fs layer [2020-09-10T05:55:49.532Z] 170f70906a0f: Pulling fs layer [2020-09-10T05:55:49.532Z] ad7c5574e4b9: Pulling fs layer [2020-09-10T05:55:49.532Z] e772456be8f7: Pulling fs layer [2020-09-10T05:55:49.532Z] fd7a069fd194: Waiting [2020-09-10T05:55:49.532Z] c890913d741a: Pulling fs layer [2020-09-10T05:55:49.532Z] 2480fcc9aa5a: Pulling fs layer [2020-09-10T05:55:49.532Z] 09adf4765672: Pulling fs layer [2020-09-10T05:55:49.532Z] 66aa3694b03b: Waiting [2020-09-10T05:55:49.532Z] 170f70906a0f: Waiting [2020-09-10T05:55:49.532Z] ad7c5574e4b9: Waiting [2020-09-10T05:55:49.532Z] 2480fcc9aa5a: Waiting [2020-09-10T05:55:49.532Z] e772456be8f7: Waiting [2020-09-10T05:55:49.532Z] 09adf4765672: Waiting [2020-09-10T05:55:49.532Z] c890913d741a: Waiting [2020-09-10T05:55:49.532Z] 99f96fe45779: Verifying Checksum [2020-09-10T05:55:49.532Z] 99f96fe45779: Download complete [2020-09-10T05:55:49.532Z] 74f711af9a0d: Verifying Checksum [2020-09-10T05:55:49.532Z] 74f711af9a0d: Download complete [2020-09-10T05:55:49.532Z] 66aa3694b03b: Verifying Checksum [2020-09-10T05:55:49.532Z] 66aa3694b03b: Download complete [2020-09-10T05:55:49.532Z] 170f70906a0f: Verifying Checksum [2020-09-10T05:55:49.532Z] 170f70906a0f: Download complete [2020-09-10T05:55:49.532Z] b538f80385f9: Verifying Checksum [2020-09-10T05:55:49.532Z] b538f80385f9: Download complete [2020-09-10T05:55:50.513Z] b538f80385f9: Pull complete [2020-09-10T05:55:50.794Z] 74f711af9a0d: Pull complete [2020-09-10T05:55:51.401Z] 99f96fe45779: Pull complete [2020-09-10T05:55:52.004Z] ad7c5574e4b9: Verifying Checksum [2020-09-10T05:55:52.004Z] ad7c5574e4b9: Download complete [2020-09-10T05:55:52.281Z] c890913d741a: Verifying Checksum [2020-09-10T05:55:52.281Z] c890913d741a: Download complete [2020-09-10T05:55:54.269Z] 2480fcc9aa5a: Verifying Checksum [2020-09-10T05:55:54.269Z] 2480fcc9aa5a: Download complete [2020-09-10T05:55:54.269Z] 09adf4765672: Download complete [2020-09-10T05:55:54.545Z] e772456be8f7: Verifying Checksum [2020-09-10T05:55:54.545Z] e772456be8f7: Download complete [2020-09-10T05:55:55.139Z] fd7a069fd194: Verifying Checksum [2020-09-10T05:55:55.139Z] fd7a069fd194: Download complete [2020-09-10T05:56:07.537Z] fd7a069fd194: Pull complete [2020-09-10T05:56:07.537Z] 66aa3694b03b: Pull complete [2020-09-10T05:56:07.537Z] 170f70906a0f: Pull complete [2020-09-10T05:56:10.928Z] ad7c5574e4b9: Pull complete [2020-09-10T05:56:15.244Z] e772456be8f7: Pull complete [2020-09-10T05:56:15.527Z] c890913d741a: Pull complete [2020-09-10T05:56:18.157Z] 2480fcc9aa5a: Pull complete [2020-09-10T05:56:18.157Z] 09adf4765672: Pull complete [2020-09-10T05:56:18.157Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-10T05:56:18.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-10T05:56:18.157Z] ---> 2248a725d1cf [2020-09-10T05:56:18.157Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T05:56:22.465Z] ---> Running in 7af9da36ab5a [2020-09-10T05:56:22.735Z] Removing intermediate container 7af9da36ab5a [2020-09-10T05:56:22.735Z] ---> cf4e038ac606 [2020-09-10T05:56:22.735Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T05:56:23.008Z] ---> Running in 6b95e49b4a5e [2020-09-10T05:56:25.623Z] Removing intermediate container 6b95e49b4a5e [2020-09-10T05:56:25.623Z] ---> 36c34210d751 [2020-09-10T05:56:25.623Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-10T05:56:25.899Z] ---> Running in e1029c12d9d9 [2020-09-10T05:56:27.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-10T05:56:27.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-10T05:56:28.541Z] OK: 142 MiB in 39 packages [2020-09-10T05:56:29.534Z] Removing intermediate container e1029c12d9d9 [2020-09-10T05:56:29.534Z] ---> 7d53dbd57f07 [2020-09-10T05:56:29.534Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-10T05:56:29.809Z] ---> Running in b23f8b01b50d [2020-09-10T05:56:30.406Z] Removing intermediate container b23f8b01b50d [2020-09-10T05:56:30.406Z] ---> 536324ce1fef [2020-09-10T05:56:30.406Z] Step 7/8 : COPY . . [2020-09-10T05:56:31.106Z] Running on prd-centos7-docker-4c-2g-2076 in /w/workspace/dgexfoundry_device-sdk-go_PR-585 [Pipeline] { [Pipeline] ws [2020-09-10T05:56:31.242Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-10T05:56:31.392Z] ---> 4b40b39207cd [2020-09-10T05:56:31.392Z] Step 8/8 : RUN go mod download [2020-09-10T05:56:31.667Z] ---> Running in 1ab2fde846fc [2020-09-10T05:56:34.318Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-10T05:56:34.318Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-10T05:56:34.318Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-10T05:56:34.318Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-10T05:56:34.318Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-10T05:56:34.318Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-10T05:56:34.591Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-10T05:56:34.591Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-10T05:56:34.591Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-10T05:56:34.591Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-10T05:56:34.591Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.77 [2020-09-10T05:56:34.591Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-10T05:56:34.591Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-10T05:56:34.591Z] go: finding github.com/fatih/color v1.7.0 [2020-09-10T05:56:34.591Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-10T05:56:34.591Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-10T05:56:34.591Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-10T05:56:34.865Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-10T05:56:34.865Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-10T05:56:34.865Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-10T05:56:34.865Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-10T05:56:34.865Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-10T05:56:34.865Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-10T05:56:34.865Z] go: finding github.com/google/uuid v1.1.0 [2020-09-10T05:56:34.865Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-10T05:56:34.865Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-10T05:56:34.865Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-10T05:56:34.865Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-10T05:56:35.156Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-10T05:56:35.428Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-10T05:56:35.428Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-10T05:56:35.428Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-10T05:56:35.428Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-10T05:56:35.428Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-10T05:56:35.428Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-10T05:56:35.428Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-10T05:56:35.428Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-10T05:56:35.428Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-10T05:56:35.428Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-10T05:56:35.428Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-10T05:56:35.697Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-10T05:56:35.697Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-10T05:56:35.697Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-10T05:56:35.697Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-10T05:56:35.697Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-10T05:56:35.697Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-10T05:56:35.697Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-10T05:56:35.697Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-10T05:56:35.697Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-10T05:56:35.697Z] go: finding github.com/posener/complete v1.1.1 [2020-09-10T05:56:35.697Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-10T05:56:35.970Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-10T05:56:35.970Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-10T05:56:35.970Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-10T05:56:35.970Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-10T05:56:35.970Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-10T05:56:35.970Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-10T05:56:35.970Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-10T05:56:35.970Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-10T05:56:35.970Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-10T05:56:35.970Z] go: finding golang.org/x/text v0.3.2 [2020-09-10T05:56:36.248Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-10T05:56:36.248Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-10T05:56:36.248Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-10T05:56:36.585Z] using credential edgex-jenkins-ssh [2020-09-10T05:56:36.635Z] Cloning the remote Git repository [2020-09-10T05:56:36.635Z] Cloning with configured refspecs honoured and without tags [2020-09-10T05:56:36.665Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:56:36.762Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-10T05:56:36.880Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:56:36.880Z] > git --version # timeout=10 [2020-09-10T05:56:36.888Z] > git --version # 'git version 2.16.5' [2020-09-10T05:56:36.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:56:36.919Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/585/head:refs/remotes/origin/PR-585 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T05:56:37.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T05:56:37.719Z] > git config --add remote.origin.fetch +refs/pull/585/head:refs/remotes/origin/PR-585 # timeout=10 [2020-09-10T05:56:37.733Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T05:56:37.760Z] Fetching without tags [2020-09-10T05:56:38.239Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 [2020-09-10T05:56:38.347Z] Merge succeeded, producing a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 [2020-09-10T05:56:38.347Z] Checking out Revision a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 (PR-585) [2020-09-10T05:56:37.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T05:56:37.787Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:56:37.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:56:37.801Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/585/head:refs/remotes/origin/PR-585 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T05:56:38.251Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T05:56:38.267Z] > git checkout -f a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 # timeout=10 [2020-09-10T05:56:38.318Z] > git remote # timeout=10 [2020-09-10T05:56:38.325Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T05:56:38.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:56:38.335Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-10T05:56:38.344Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T05:56:38.354Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T05:56:38.383Z] > git checkout -f a6d9c5058fcf4ab5618e15d4e5f03382e1b9d4c9 # timeout=10 [2020-09-10T05:56:42.099Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-09-10T05:56:42.156Z] > git --version # timeout=10 [2020-09-10T05:56:42.184Z] > git --version # 'git version 2.16.5' [2020-09-10T05:56:42.233Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-10T05:56:43.658Z] ========================================================= [2020-09-10T05:56:43.658Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-10T05:56:43.658Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:56:44.998Z] + 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 . [2020-09-10T05:56:45.600Z] Sending build context to Docker daemon 3.143MB [2020-09-10T05:56:45.600Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-10T05:56:45.600Z] Step 2/8 : FROM ${BASE} [2020-09-10T05:56:45.600Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-10T05:56:45.600Z] df20fa9351a1: Pulling fs layer [2020-09-10T05:56:45.600Z] ed8968b2872e: Pulling fs layer [2020-09-10T05:56:45.600Z] a92cc7c5fd73: Pulling fs layer [2020-09-10T05:56:45.600Z] 2dd03ba5bac4: Pulling fs layer [2020-09-10T05:56:45.600Z] 1e091d79d1de: Pulling fs layer [2020-09-10T05:56:45.600Z] 481702a1767f: Pulling fs layer [2020-09-10T05:56:45.600Z] f64a6f60c768: Pulling fs layer [2020-09-10T05:56:45.600Z] e78d2573fc39: Pulling fs layer [2020-09-10T05:56:45.600Z] e876d2f968b6: Pulling fs layer [2020-09-10T05:56:45.600Z] ce8a83651883: Pulling fs layer [2020-09-10T05:56:45.600Z] 07967f4d0e4b: Pulling fs layer [2020-09-10T05:56:45.600Z] f64a6f60c768: Waiting [2020-09-10T05:56:45.600Z] e78d2573fc39: Waiting [2020-09-10T05:56:45.600Z] e876d2f968b6: Waiting [2020-09-10T05:56:45.600Z] ce8a83651883: Waiting [2020-09-10T05:56:45.600Z] 07967f4d0e4b: Waiting [2020-09-10T05:56:45.600Z] 2dd03ba5bac4: Waiting [2020-09-10T05:56:45.600Z] 481702a1767f: Waiting [2020-09-10T05:56:45.600Z] 1e091d79d1de: Waiting [2020-09-10T05:56:45.600Z] a92cc7c5fd73: Download complete [2020-09-10T05:56:45.600Z] ed8968b2872e: Verifying Checksum [2020-09-10T05:56:45.600Z] ed8968b2872e: Download complete [2020-09-10T05:56:45.875Z] 1e091d79d1de: Verifying Checksum [2020-09-10T05:56:45.875Z] 1e091d79d1de: Download complete [2020-09-10T05:56:45.875Z] 481702a1767f: Verifying Checksum [2020-09-10T05:56:45.875Z] 481702a1767f: Download complete [2020-09-10T05:56:45.875Z] df20fa9351a1: Verifying Checksum [2020-09-10T05:56:45.875Z] df20fa9351a1: Download complete [2020-09-10T05:56:46.149Z] df20fa9351a1: Pull complete [2020-09-10T05:56:46.744Z] ed8968b2872e: Pull complete [2020-09-10T05:56:46.744Z] a92cc7c5fd73: Pull complete [2020-09-10T05:56:49.407Z] f64a6f60c768: Verifying Checksum [2020-09-10T05:56:49.407Z] f64a6f60c768: Download complete [2020-09-10T05:56:49.407Z] e876d2f968b6: Download complete [2020-09-10T05:56:53.934Z] ce8a83651883: Verifying Checksum [2020-09-10T05:56:53.934Z] ce8a83651883: Download complete [2020-09-10T05:56:54.212Z] 07967f4d0e4b: Verifying Checksum [2020-09-10T05:56:54.212Z] 07967f4d0e4b: Download complete [2020-09-10T05:56:54.568Z] Removing intermediate container 1ab2fde846fc [2020-09-10T05:56:54.568Z] ---> e2a286b04982 [2020-09-10T05:56:54.568Z] Successfully built e2a286b04982 [2020-09-10T05:56:54.568Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-10T05:56:54.845Z] e78d2573fc39: Verifying Checksum [2020-09-10T05:56:54.845Z] e78d2573fc39: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-09-10T05:56:55.119Z] 2dd03ba5bac4: Verifying Checksum [2020-09-10T05:56:55.119Z] 2dd03ba5bac4: Download complete [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:56:55.504Z] + docker inspect -f . ci-base-image-arm64 [2020-09-10T05:56:55.504Z] . [Pipeline] withDockerContainer [2020-09-10T05:56:55.770Z] prd-ubuntu18.04-docker-arm64-4c-16g-2075 does not seem to be running inside a container [2020-09-10T05:56:55.854Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-10T05:56:57.736Z] $ docker top 8439046906ec29a4ee16d5c658fbdd46a878b8475a6acd4a80ec752a0734e305 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T05:56:59.191Z] + go version [2020-09-10T05:56:59.191Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-10T05:57:00.248Z] + make test [2020-09-10T05:57:00.248Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-10T05:57:01.231Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-10T05:57:05.309Z] 2dd03ba5bac4: Pull complete [2020-09-10T05:57:05.309Z] 1e091d79d1de: Pull complete [2020-09-10T05:57:05.309Z] 481702a1767f: Pull complete [2020-09-10T05:57:09.605Z] f64a6f60c768: Pull complete [2020-09-10T05:57:13.917Z] e78d2573fc39: Pull complete [2020-09-10T05:57:13.917Z] e876d2f968b6: Pull complete [2020-09-10T05:57:15.409Z] ce8a83651883: Pull complete [2020-09-10T05:57:15.409Z] 07967f4d0e4b: Pull complete [2020-09-10T05:57:15.409Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-10T05:57:15.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-10T05:57:15.684Z] ---> 5d7c900382c6 [2020-09-10T05:57:15.684Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T05:57:16.701Z] ---> Running in e011ea9a5767 [2020-09-10T05:57:16.977Z] Removing intermediate container e011ea9a5767 [2020-09-10T05:57:16.977Z] ---> a9d026cce551 [2020-09-10T05:57:16.977Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T05:57:17.243Z] ---> Running in de56db082db7 [2020-09-10T05:57:19.190Z] Removing intermediate container de56db082db7 [2020-09-10T05:57:19.190Z] ---> 681e1d1975a9 [2020-09-10T05:57:19.190Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-10T05:57:19.190Z] ---> Running in 225896443df9 [2020-09-10T05:57:19.776Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-10T05:57:20.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-10T05:57:20.957Z] OK: 166 MiB in 39 packages [2020-09-10T05:57:21.555Z] Removing intermediate container 225896443df9 [2020-09-10T05:57:21.555Z] ---> b773d59db466 [2020-09-10T05:57:21.555Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-10T05:57:21.555Z] ---> Running in 6f6db58e40d3 [2020-09-10T05:57:21.817Z] Removing intermediate container 6f6db58e40d3 [2020-09-10T05:57:21.817Z] ---> a5ea501599ba [2020-09-10T05:57:21.817Z] Step 7/8 : COPY . . [2020-09-10T05:57:23.048Z] ---> eecf25d1dea2 [2020-09-10T05:57:23.048Z] Step 8/8 : RUN go mod download [2020-09-10T05:57:23.048Z] ---> Running in b4f7fb353767 [2020-09-10T05:57:25.062Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-10T05:57:25.062Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-10T05:57:25.062Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-10T05:57:25.062Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-10T05:57:25.340Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-10T05:57:25.340Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-10T05:57:25.340Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-10T05:57:25.340Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-10T05:57:25.340Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-10T05:57:25.340Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-10T05:57:25.340Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.77 [2020-09-10T05:57:25.340Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-10T05:57:25.340Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-10T05:57:25.340Z] go: finding github.com/fatih/color v1.7.0 [2020-09-10T05:57:25.605Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-10T05:57:25.605Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-10T05:57:25.605Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-10T05:57:25.605Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-10T05:57:25.605Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-10T05:57:25.605Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-10T05:57:25.605Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-10T05:57:25.605Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-10T05:57:25.605Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-10T05:57:25.605Z] go: finding github.com/google/uuid v1.1.0 [2020-09-10T05:57:25.605Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-10T05:57:25.605Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-10T05:57:25.870Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-10T05:57:25.870Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-10T05:57:25.870Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-10T05:57:25.870Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-10T05:57:25.870Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-10T05:57:25.871Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-10T05:57:25.871Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-10T05:57:25.871Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-10T05:57:25.871Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-10T05:57:25.871Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-10T05:57:25.871Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-10T05:57:25.871Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-10T05:57:26.135Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-10T05:57:26.135Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-10T05:57:26.135Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-10T05:57:26.135Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-10T05:57:26.135Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-10T05:57:26.135Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-10T05:57:26.135Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-10T05:57:26.135Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-10T05:57:26.135Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-10T05:57:26.135Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-10T05:57:26.135Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-10T05:57:26.405Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-10T05:57:26.405Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-10T05:57:26.405Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-10T05:57:26.405Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-10T05:57:26.405Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-10T05:57:26.405Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-10T05:57:26.405Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-10T05:57:26.405Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-10T05:57:26.405Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-10T05:57:26.405Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-10T05:57:26.405Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-10T05:57:26.405Z] go: finding github.com/posener/complete v1.1.1 [2020-09-10T05:57:26.688Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-10T05:57:26.688Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-10T05:57:26.688Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-10T05:57:26.688Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-10T05:57:26.688Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-10T05:57:26.688Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-10T05:57:26.688Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-10T05:57:26.688Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-10T05:57:26.688Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-10T05:57:26.688Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-10T05:57:26.969Z] go: finding golang.org/x/text v0.3.2 [2020-09-10T05:57:26.969Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-10T05:57:26.969Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-10T05:57:26.969Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-10T05:57:28.053Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-10T05:57:28.053Z] 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-10T05:57:28.053Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-10T05:57:28.053Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-10T05:57:28.053Z] 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-10T05:57:28.053Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-10T05:57:28.053Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-10T05:57:28.053Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-10T05:57:28.053Z] have UpdateAdminState(context.Context, string, string) error [2020-09-10T05:57:28.053Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-10T05:57:28.053Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-10T05:57:28.053Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-10T05:57:28.053Z] have UpdateAdminState(context.Context, string, string) error [2020-09-10T05:57:28.053Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-10T05:57:28.332Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-10T05:57:42.239Z] Removing intermediate container b4f7fb353767 [2020-09-10T05:57:42.239Z] ---> 0f9e4c3cfff3 [2020-09-10T05:57:42.239Z] Successfully built 0f9e4c3cfff3 [2020-09-10T05:57:42.239Z] 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-10T05:57:43.336Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-10T05:57:43.336Z] . [Pipeline] withDockerContainer [2020-09-10T05:57:43.525Z] prd-centos7-docker-4c-2g-2076 does not seem to be running inside a container [2020-09-10T05:57:43.747Z] $ 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-10T05:57:45.441Z] $ docker top d8d7e8269cfabab320b87b998110593f130f79ee606fa87c33e0b6b4f39db2c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T05:57:46.057Z] + go version [2020-09-10T05:57:46.057Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-10T05:57:46.408Z] + make test [2020-09-10T05:57:46.408Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-10T05:57:47.833Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-10T05:57:58.038Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-10T05:57:58.038Z] 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-10T05:57:59.500Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-10T05:57:59.778Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-10T05:57:59.778Z] 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-10T05:58:00.055Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-10T05:58:00.055Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-10T05:58:00.055Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-10T05:58:00.055Z] have UpdateAdminState(context.Context, string, string) error [2020-09-10T05:58:00.055Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-10T05:58:00.055Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-10T05:58:00.055Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-10T05:58:00.055Z] have UpdateAdminState(context.Context, string, string) error [2020-09-10T05:58:00.055Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-10T05:58:00.055Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-10T05:58:00.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.020s coverage: 8.6% of statements [2020-09-10T05:58:00.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements [2020-09-10T05:58:00.640Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-10T05:58:00.640Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-10T05:58:00.640Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-10T05:58:00.640Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.352s coverage: 68.9% of statements [2020-09-10T05:58:00.640Z] make: *** [Makefile:29: test] Error 2 [Pipeline] } [2020-09-10T05:58:00.695Z] $ docker stop --time=1 8439046906ec29a4ee16d5c658fbdd46a878b8475a6acd4a80ec752a0734e305 [2020-09-10T05:58:02.754Z] $ docker rm -f 8439046906ec29a4ee16d5c658fbdd46a878b8475a6acd4a80ec752a0734e305 [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-10T05:58:05.439Z] Failed in branch arm64 [2020-09-10T05:58:32.370Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.008s coverage: 8.6% of statements [2020-09-10T05:58:32.370Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-09-10T05:58:32.370Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-10T05:58:32.370Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-10T05:58:32.370Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-10T05:58:32.370Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.117s coverage: 68.9% of statements [2020-09-10T05:58:32.370Z] make: *** [Makefile:29: test] Error 2 [Pipeline] } [2020-09-10T05:58:32.448Z] $ docker stop --time=1 d8d7e8269cfabab320b87b998110593f130f79ee606fa87c33e0b6b4f39db2c7 [2020-09-10T05:58:34.295Z] $ docker rm -f d8d7e8269cfabab320b87b998110593f130f79ee606fa87c33e0b6b4f39db2c7 [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-10T05:58:36.795Z] Failed in branch amd64 [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-10T05:58:40.026Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T05:58:40.627Z] ---> package-listing.sh [2020-09-10T05:58:40.628Z] ++ facter osfamily [2020-09-10T05:58:40.628Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-10T05:58:40.628Z] + OS_FAMILY=redhat [2020-09-10T05:58:40.628Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-585 [2020-09-10T05:58:40.628Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-10T05:58:40.628Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-10T05:58:40.628Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-10T05:58:40.628Z] + PACKAGES=/tmp/packages_start.txt [2020-09-10T05:58:40.628Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-585 ']' [2020-09-10T05:58:40.628Z] + PACKAGES=/tmp/packages_end.txt [2020-09-10T05:58:40.628Z] + case "${OS_FAMILY}" in [2020-09-10T05:58:40.628Z] + rpm -qa [2020-09-10T05:58:40.628Z] + sort [2020-09-10T05:58:44.842Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-10T05:58:44.842Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-10T05:58:44.842Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-10T05:58:44.842Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-585 ']' [2020-09-10T05:58:44.842Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-585/archives/ [2020-09-10T05:58:44.842Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-585/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:58:45.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T05:58:45.321Z] [2020-09-10T05:58:45.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:58:45.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T05:58:45.699Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-10T05:58:45.699Z] df20fa9351a1: Pulling fs layer [2020-09-10T05:58:45.699Z] 36b3adc4ff6f: Pulling fs layer [2020-09-10T05:58:45.699Z] 8ad3a11d3b57: Pulling fs layer [2020-09-10T05:58:45.699Z] 46f8f816bc3b: Pulling fs layer [2020-09-10T05:58:45.699Z] 0dadc02b9964: Pulling fs layer [2020-09-10T05:58:45.699Z] ce6a7cf60c04: Pulling fs layer [2020-09-10T05:58:45.699Z] 7a184a31f384: Pulling fs layer [2020-09-10T05:58:45.699Z] 0879bd2ef858: Pulling fs layer [2020-09-10T05:58:45.699Z] 0dadc02b9964: Waiting [2020-09-10T05:58:45.699Z] ce6a7cf60c04: Waiting [2020-09-10T05:58:45.699Z] 7a184a31f384: Waiting [2020-09-10T05:58:45.699Z] 0879bd2ef858: Waiting [2020-09-10T05:58:45.699Z] 46f8f816bc3b: Waiting [2020-09-10T05:58:45.699Z] 36b3adc4ff6f: Download complete [2020-09-10T05:58:45.699Z] 46f8f816bc3b: Download complete [2020-09-10T05:58:45.699Z] df20fa9351a1: Download complete [2020-09-10T05:58:45.699Z] ce6a7cf60c04: Verifying Checksum [2020-09-10T05:58:45.699Z] ce6a7cf60c04: Download complete [2020-09-10T05:58:45.699Z] 7a184a31f384: Download complete [2020-09-10T05:58:45.962Z] 0dadc02b9964: Verifying Checksum [2020-09-10T05:58:45.962Z] 0dadc02b9964: Download complete [2020-09-10T05:58:45.962Z] 8ad3a11d3b57: Verifying Checksum [2020-09-10T05:58:45.962Z] 8ad3a11d3b57: Download complete [2020-09-10T05:58:46.224Z] df20fa9351a1: Pull complete [2020-09-10T05:58:46.224Z] 36b3adc4ff6f: Pull complete [2020-09-10T05:58:46.224Z] 0879bd2ef858: Verifying Checksum [2020-09-10T05:58:46.224Z] 0879bd2ef858: Download complete [2020-09-10T05:58:46.797Z] 8ad3a11d3b57: Pull complete [2020-09-10T05:58:47.063Z] 46f8f816bc3b: Pull complete [2020-09-10T05:58:47.329Z] 0dadc02b9964: Pull complete [2020-09-10T05:58:47.329Z] ce6a7cf60c04: Pull complete [2020-09-10T05:58:47.593Z] 7a184a31f384: Pull complete [2020-09-10T05:58:49.531Z] 0879bd2ef858: Pull complete [2020-09-10T05:58:49.531Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-10T05:58:49.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T05:58:49.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-10T05:58:49.671Z] prd-centos7-docker-4c-2g-2074 does not seem to be running inside a container [2020-09-10T05:58:49.715Z] $ 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-585 -v /w/workspace/dgexfoundry_device-sdk-go_PR-585:/w/workspace/dgexfoundry_device-sdk-go_PR-585:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-585@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-585@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-10T05:58:55.010Z] $ docker top 37f89c1156d692cbbf12a8f3acee55b9780f777d9af5d48d45acaa8073699b17 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T05:58:55.521Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-10T05:58:55.835Z] + ls /var/log/sa-host [2020-09-10T05:58:55.835Z] + sadf -c /var/log/sa-host/sa05 [2020-09-10T05:58:55.835Z] file_magic: OK [2020-09-10T05:58:55.835Z] HZ: Using current value: 100 [2020-09-10T05:58:55.835Z] file_header: OK [2020-09-10T05:58:55.835Z] 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-10T05:58:55.835Z] Statistics: [2020-09-10T05:58:55.835Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T05:58:55.835Z] File successfully converted to sysstat format version 12.2.1 [2020-09-10T05:58:55.835Z] + sadf -c /var/log/sa-host/sa10 [2020-09-10T05:58:55.835Z] file_magic: OK [2020-09-10T05:58:55.835Z] HZ: Using current value: 100 [2020-09-10T05:58:55.835Z] file_header: OK [2020-09-10T05:58:55.835Z] 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-10T05:58:55.835Z] Statistics: [2020-09-10T05:58:55.835Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T05:58:55.835Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-10T05:58:55.956Z] provisioning config files... [2020-09-10T05:58:55.972Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-585@tmp/config7595355865281142427tmp [Pipeline] { [Pipeline] echo [2020-09-10T05:58:56.094Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T05:58:56.425Z] ---> create-netrc.sh [Pipeline] echo [2020-09-10T05:58:56.452Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T05:58:56.775Z] ---> logs-deploy.sh [2020-09-10T05:58:56.775Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-585/1 [2020-09-10T05:58:56.775Z] INFO: archiving workspace using pattern(s): [2020-09-10T05:58:58.164Z] Archives upload complete. [2020-09-10T05:58:58.164Z] INFO: archiving logs to Nexus