Pull request #626 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (67cec4256d7761bdd602b6140429bd21b6c61431) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-626/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-626/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5305’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5306 in /w/workspace/dgexfoundry_device-sdk-go_PR-626 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-626 # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 Merge succeeded, producing 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 Checking out Revision 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 (PR-626) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/626/head:refs/remotes/origin/PR-626 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:29:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:29:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:29:13 ========================================================= 06:29:13 EdgeX Global Pipelines Version Info 06:29:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:29:16 ------------------- 06:29:16 stable info: 06:29:16 ------------------- 06:29:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:29:16 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:29:16 Message: update stable to v1.0.131 06:29:17 ------------------- 06:29:17 experimental info: 06:29:17 ------------------- 06:29:17 Commited By: **** collab-it+edgex@linuxfoundation.org 06:29:17 Commit SHA: a2275391807e67b7600a554c2b5f26031cb9c010 06:29:17 Message: update experimental to v1.0.141 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:29:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:29:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:29:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:29:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:29:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:29:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:29:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:29:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:29:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:29:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:29:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:29:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:29:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:29:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:29:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:29:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:29:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:29:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:29:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:29:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:29:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:29:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-626 [Pipeline] echo 06:29:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-626 [Pipeline] echo 06:29:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-626 [Pipeline] echo 06:29:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 [Pipeline] echo 06:29:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b4d0df [Pipeline] echo 06:29:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:29:22 + git log --format=format:%s -1 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 [Pipeline] echo 06:29:22 GIT_COMMIT: 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 06:29:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:29:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:23 06:29:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:29:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:24 latest: Pulling from edgex-devops/git-semver 06:29:24 31603596830f: Pulling fs layer 06:29:24 2a8b12db71e7: Pulling fs layer 06:29:24 6ca5941a6612: Pulling fs layer 06:29:24 ecc8261a40a4: Pulling fs layer 06:29:24 ecc8261a40a4: Waiting 06:29:24 2a8b12db71e7: Download complete 06:29:24 31603596830f: Verifying Checksum 06:29:24 31603596830f: Download complete 06:29:24 ecc8261a40a4: Verifying Checksum 06:29:24 ecc8261a40a4: Download complete 06:29:24 6ca5941a6612: Verifying Checksum 06:29:24 6ca5941a6612: Download complete 06:29:25 31603596830f: Pull complete 06:29:25 2a8b12db71e7: Pull complete 06:29:26 6ca5941a6612: Pull complete 06:29:26 ecc8261a40a4: Pull complete 06:29:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:29:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:29:26 prd-centos7-docker-4c-2g-5306 does not seem to be running inside a container 06:29:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-626 -v /w/workspace/dgexfoundry_device-sdk-go_PR-626:/w/workspace/dgexfoundry_device-sdk-go_PR-626:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-626@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:29:29 $ docker top 4b1a61abb803f8a02b46a152ff9f23269b9595c670169525bf20d9276db9bf58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:29 [ssh-agent] Looking for ssh-agent implementation... 06:29:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:30 $ docker exec 4b1a61abb803f8a02b46a152ff9f23269b9595c670169525bf20d9276db9bf58 ssh-agent 06:29:30 SSH_AUTH_SOCK=/tmp/ssh-JEkx6JXlGdKE/agent.12 06:29:30 SSH_AGENT_PID=17 06:29:30 Running ssh-add (command line suppressed) 06:29:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-626@tmp/private_key_4937191677963610335.key (/w/workspace/dgexfoundry_device-sdk-go_PR-626@tmp/private_key_4937191677963610335.key) 06:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:31 + git describe --exact-match --tags HEAD 06:29:31 fatal: no tag exactly matches '5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78' [Pipeline] } 06:29:31 $ docker exec --env ******** --env ******** 4b1a61abb803f8a02b46a152ff9f23269b9595c670169525bf20d9276db9bf58 ssh-agent -k 06:29:32 unset SSH_AUTH_SOCK; 06:29:32 unset SSH_AGENT_PID; 06:29:32 echo Agent pid 17 killed; 06:29:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:29:32 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:29:32 This usually means this commit has not been tagged. [Pipeline] sshagent 06:29:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:32 [ssh-agent] Looking for ssh-agent implementation... 06:29:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:32 $ docker exec 4b1a61abb803f8a02b46a152ff9f23269b9595c670169525bf20d9276db9bf58 ssh-agent 06:29:33 SSH_AUTH_SOCK=/tmp/ssh-9nVyiLIB7NXx/agent.46 06:29:33 SSH_AGENT_PID=51 06:29:33 Running ssh-add (command line suppressed) 06:29:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-626@tmp/private_key_904798304006179210.key (/w/workspace/dgexfoundry_device-sdk-go_PR-626@tmp/private_key_904798304006179210.key) 06:29:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:33 + git semver init 06:29:33 # -> Open(): unable to determine branch for HEAD 06:29:33 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-626/.git 06:29:33 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-626 06:29:33 # $SEMVER_REMOTE_NAME = origin 06:29:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:29:33 # $SEMVER_USER_NAME = edgex-jenkins 06:29:33 # $SEMVER_BRANCH = PR-626 06:29:33 # $SEMVER_TEMP = /tmp/semver-090652223 06:29:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:29:35 # '/tmp/semver-090652223' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-626/.semver' 06:29:35 # -> Force: false 06:29:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-626/.semver [Pipeline] } 06:29:35 $ docker exec --env ******** --env ******** 4b1a61abb803f8a02b46a152ff9f23269b9595c670169525bf20d9276db9bf58 ssh-agent -k 06:29:35 unset SSH_AUTH_SOCK; 06:29:35 unset SSH_AGENT_PID; 06:29:35 echo Agent pid 51 killed; 06:29:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:36 + git semver [Pipeline] } 06:29:36 $ docker stop --time=1 4b1a61abb803f8a02b46a152ff9f23269b9595c670169525bf20d9276db9bf58 06:29:37 $ docker rm -f 4b1a61abb803f8a02b46a152ff9f23269b9595c670169525bf20d9276db9bf58 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:29:39 Stashed 48 file(s) [Pipeline] echo 06:29:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:29:39 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 06:29:55 Still waiting to schedule task 06:29:55 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5308’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5303’ doesn’t have label ‘centos7-docker-4c-2g’ 06:29:55 Still waiting to schedule task 06:29:55 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:32:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5309 in /w/workspace/dgexfoundry_device-sdk-go_PR-626 [Pipeline] { [Pipeline] ws 06:32:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:32:46 using credential edgex-jenkins-ssh 06:32:46 Cloning the remote Git repository 06:32:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:32:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:32:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:32:46 > git --version # timeout=10 06:32:46 > git --version # 'git version 2.17.1' 06:32:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:48 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 06:32:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:32:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:32:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:32:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/626/head:refs/remotes/origin/PR-626 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:32:48 > git config core.sparsecheckout # timeout=10 06:32:48 > git checkout -f 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 # timeout=10 06:32:48 > git remote # timeout=10 06:32:48 Merge succeeded, producing 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 06:32:48 Checking out Revision 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 (PR-626) 06:32:48 > git config --get remote.origin.url # timeout=10 06:32:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:48 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 06:32:48 > git rev-parse HEAD^{commit} # timeout=10 06:32:48 > git config core.sparsecheckout # timeout=10 06:32:48 > git checkout -f 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 # timeout=10 06:32:53 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:32:53 > git --version # timeout=10 06:32:53 > git --version # 'git version 2.17.1' 06:32:53 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:32:55 ========================================================= 06:32:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:32:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:32:56 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:32:57 Sending build context to Docker daemon 3.543MB 06:32:57 Step 1/8 : ARG BASE=golang:1.15-alpine 06:32:57 Step 2/8 : FROM ${BASE} 06:32:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:32:57 b538f80385f9: Pulling fs layer 06:32:57 74f711af9a0d: Pulling fs layer 06:32:57 99f96fe45779: Pulling fs layer 06:32:57 8529a6b9a6be: Pulling fs layer 06:32:57 45590311c82a: Pulling fs layer 06:32:57 69ca0ff8b7b3: Pulling fs layer 06:32:57 209524e5b208: Pulling fs layer 06:32:57 8529a6b9a6be: Waiting 06:32:57 45590311c82a: Waiting 06:32:57 69ca0ff8b7b3: Waiting 06:32:57 209524e5b208: Waiting 06:32:57 99f96fe45779: Verifying Checksum 06:32:57 99f96fe45779: Download complete 06:32:57 74f711af9a0d: Download complete 06:32:57 45590311c82a: Verifying Checksum 06:32:57 45590311c82a: Download complete 06:32:57 69ca0ff8b7b3: Download complete 06:32:57 b538f80385f9: Download complete 06:32:58 b538f80385f9: Pull complete 06:32:58 74f711af9a0d: Pull complete 06:32:59 99f96fe45779: Pull complete 06:33:01 209524e5b208: Verifying Checksum 06:33:01 209524e5b208: Download complete 06:33:02 8529a6b9a6be: Download complete 06:33:12 8529a6b9a6be: Pull complete 06:33:13 45590311c82a: Pull complete 06:33:13 69ca0ff8b7b3: Pull complete 06:33:16 Running on prd-centos7-docker-4c-2g-5310 in /w/workspace/dgexfoundry_device-sdk-go_PR-626 [Pipeline] { [Pipeline] ws 06:33:16 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:33:17 209524e5b208: Pull complete 06:33:17 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:33:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:33:17 ---> 5bddaf1c2fca 06:33:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:19 using credential edgex-jenkins-ssh 06:33:19 Cloning the remote Git repository 06:33:19 ---> Running in 36b5d46ab0d4 06:33:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:33:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:33:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:33:19 > git --version # timeout=10 06:33:19 > git --version # 'git version 2.16.5' 06:33:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:20 Removing intermediate container 36b5d46ab0d4 06:33:20 ---> d4e665d0da75 06:33:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:20 ---> Running in 2974b28f3b3c 06:33:20 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 06:33:20 Merge succeeded, producing 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 06:33:20 Checking out Revision 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 (PR-626) 06:33:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:33:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:33:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:33:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/626/head:refs/remotes/origin/PR-626 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:33:20 > git config core.sparsecheckout # timeout=10 06:33:20 > git checkout -f 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 # timeout=10 06:33:20 > git remote # timeout=10 06:33:20 > git config --get remote.origin.url # timeout=10 06:33:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:20 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 06:33:20 > git rev-parse HEAD^{commit} # timeout=10 06:33:20 > git config core.sparsecheckout # timeout=10 06:33:20 > git checkout -f 5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 # timeout=10 06:33:23 Removing intermediate container 2974b28f3b3c 06:33:23 ---> c64ee72b4be4 06:33:23 Step 5/8 : RUN apk add --no-cache make git 06:33:23 ---> Running in 1b6ca16825f8 06:33:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:33:24 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:33:24 > git --version # timeout=10 06:33:24 > git --version # 'git version 2.16.5' 06:33:24 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { 06:33:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:33:25 ========================================================= 06:33:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:33:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:33:26 OK: 142 MiB in 39 packages 06:33:26 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:33:26 Sending build context to Docker daemon 3.543MB 06:33:26 Step 1/8 : ARG BASE=golang:1.15-alpine 06:33:26 Step 2/8 : FROM ${BASE} 06:33:27 Removing intermediate container 1b6ca16825f8 06:33:27 ---> bcff16cf325e 06:33:27 Step 6/8 : WORKDIR /device-sdk-go 06:33:27 ---> Running in 1aab2c6efe67 06:33:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:33:27 df20fa9351a1: Pulling fs layer 06:33:27 ed8968b2872e: Pulling fs layer 06:33:27 a92cc7c5fd73: Pulling fs layer 06:33:27 e871e8e8d7a9: Pulling fs layer 06:33:27 e73272ec9a57: Pulling fs layer 06:33:27 1e910a182e73: Pulling fs layer 06:33:27 4e634b169226: Pulling fs layer 06:33:27 e871e8e8d7a9: Waiting 06:33:27 e73272ec9a57: Waiting 06:33:27 1e910a182e73: Waiting 06:33:27 4e634b169226: Waiting 06:33:27 a92cc7c5fd73: Verifying Checksum 06:33:27 a92cc7c5fd73: Download complete 06:33:27 ed8968b2872e: Verifying Checksum 06:33:27 ed8968b2872e: Download complete 06:33:27 e73272ec9a57: Verifying Checksum 06:33:27 e73272ec9a57: Download complete 06:33:27 1e910a182e73: Verifying Checksum 06:33:27 1e910a182e73: Download complete 06:33:27 df20fa9351a1: Verifying Checksum 06:33:27 df20fa9351a1: Download complete 06:33:27 df20fa9351a1: Pull complete 06:33:27 Removing intermediate container 1aab2c6efe67 06:33:27 ---> f7e15339e7b7 06:33:27 Step 7/8 : COPY . . 06:33:27 ed8968b2872e: Pull complete 06:33:28 a92cc7c5fd73: Pull complete 06:33:29 ---> e2d8b1e68763 06:33:29 Step 8/8 : RUN go mod download 06:33:29 ---> Running in 694abcc9fce0 06:33:29 4e634b169226: Verifying Checksum 06:33:29 4e634b169226: Download complete 06:33:29 e871e8e8d7a9: Verifying Checksum 06:33:29 e871e8e8d7a9: Download complete 06:33:35 e871e8e8d7a9: Pull complete 06:33:35 e73272ec9a57: Pull complete 06:33:35 1e910a182e73: Pull complete 06:33:39 4e634b169226: Pull complete 06:33:39 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:33:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:33:39 ---> f7629b54cfaa 06:33:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:39 ---> Running in de1387420ac1 06:33:39 Removing intermediate container de1387420ac1 06:33:39 ---> 6abe4dc926fc 06:33:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:39 ---> Running in 2ae295133199 06:33:40 Removing intermediate container 2ae295133199 06:33:40 ---> 61da90dcfc00 06:33:40 Step 5/8 : RUN apk add --no-cache make git 06:33:40 ---> Running in 340b1d1e163f 06:33:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:33:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:33:42 OK: 166 MiB in 39 packages 06:33:43 Removing intermediate container 340b1d1e163f 06:33:43 ---> 85b842f36d21 06:33:43 Step 6/8 : WORKDIR /device-sdk-go 06:33:43 ---> Running in 1ca0576dd271 06:33:43 Removing intermediate container 1ca0576dd271 06:33:43 ---> fe70dea51fc8 06:33:43 Step 7/8 : COPY . . 06:33:44 ---> d89c8ebd3c8d 06:33:44 Step 8/8 : RUN go mod download 06:33:44 ---> Running in 81cd49d4a683 06:34:02 Removing intermediate container 81cd49d4a683 06:34:02 ---> 795f7dd13ba0 06:34:02 Successfully built 795f7dd13ba0 06:34:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:34:03 + docker inspect -f . ci-base-image-x86_64 06:34:03 . [Pipeline] withDockerContainer 06:34:03 prd-centos7-docker-4c-2g-5310 does not seem to be running inside a container 06:34:03 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:04 $ docker top 19610e2d3a7f205ce69604656dbbbabadbaf1b4c7cfac9c674ef9984cd15bb64 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:04 + go version 06:34:04 go version go1.15.2 linux/amd64 [Pipeline] } 06:34:04 $ docker stop --time=1 19610e2d3a7f205ce69604656dbbbabadbaf1b4c7cfac9c674ef9984cd15bb64 06:34:06 $ docker rm -f 19610e2d3a7f205ce69604656dbbbabadbaf1b4c7cfac9c674ef9984cd15bb64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:34:07 + docker inspect -f . ci-base-image-x86_64 06:34:07 . [Pipeline] withDockerContainer 06:34:07 prd-centos7-docker-4c-2g-5310 does not seem to be running inside a container 06:34:07 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:08 Removing intermediate container 694abcc9fce0 06:34:08 ---> 17cf48dcee28 06:34:08 Successfully built 17cf48dcee28 06:34:08 Successfully tagged ci-base-image-arm64:latest 06:34:08 $ docker top 48ce75cc637c5aef9b7799aa70f2d5b15a1198adf84e0ab7f06dd555e19572aa -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:34:09 + make test 06:34:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:34:09 + docker inspect -f . ci-base-image-arm64 06:34:09 . [Pipeline] withDockerContainer 06:34:09 prd-ubuntu18.04-docker-arm64-4c-16g-5309 does not seem to be running inside a container 06:34:09 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:34:11 $ docker top 280837e7a9a4ca06a13ef889200a8d30945c5ee9cc9082f221ef2740ec0651fc -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:12 + go version 06:34:12 go version go1.15.2 linux/arm64 [Pipeline] } 06:34:12 $ docker stop --time=1 280837e7a9a4ca06a13ef889200a8d30945c5ee9cc9082f221ef2740ec0651fc 06:34:14 $ docker rm -f 280837e7a9a4ca06a13ef889200a8d30945c5ee9cc9082f221ef2740ec0651fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:34:15 ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:34:16 + docker inspect -f . ci-base-image-arm64 06:34:16 . [Pipeline] withDockerContainer 06:34:16 prd-ubuntu18.04-docker-arm64-4c-16g-5309 does not seem to be running inside a container 06:34:16 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:34:18 $ docker top 4e06a9c02d070876411d3802247ead524783893ab2e3b1ac2756cf416d563772 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:19 + make test 06:34:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:34:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:34:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:34:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 21.6% of statements 06:34:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.446s coverage: 97.1% of statements 06:34:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:35:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements 06:35:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.9% of statements 06:35:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:35:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.194s coverage: 40.0% of statements 06:35:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:35:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.308s coverage: 68.9% of statements 06:35:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:35:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:35:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:35:04 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:35:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 06:35:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:35:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:35:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.372s coverage: 68.9% of statements 06:35:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:35:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:35:04 GO111MODULE=on go vet ./... 06:35:11 gofmt -l . 06:35:11 [ "`gofmt -l .`" = "" ] 06:35:11 ./bin/test-attribution-txt.sh 06:35:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:35:11 Stashed 1 file(s) [Pipeline] } 06:35:11 $ docker stop --time=1 48ce75cc637c5aef9b7799aa70f2d5b15a1198adf84e0ab7f06dd555e19572aa 06:35:13 $ docker rm -f 48ce75cc637c5aef9b7799aa70f2d5b15a1198adf84e0ab7f06dd555e19572aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:15 + ls -al . 06:35:15 total 188 06:35:15 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 14 06:35 . 06:35:15 drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 06:33 .. 06:35:15 drwxrwxr-x. 2 jenkins jenkins 64 Oct 14 06:33 bin 06:35:15 -rw-r--r--. 1 jenkins jenkins 110392 Oct 14 06:35 coverage.out 06:35:15 -rw-rw-r--. 1 jenkins jenkins 936 Oct 14 06:33 Dockerfile.build 06:35:15 -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 06:33 .dockerignore 06:35:15 drwxrwxr-x. 4 jenkins jenkins 48 Oct 14 06:33 example 06:35:15 drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 06:33 .git 06:35:15 drwxrwxr-x. 2 jenkins jenkins 60 Oct 14 06:33 .github 06:35:15 -rw-rw-r--. 1 jenkins jenkins 138 Oct 14 06:33 .gitignore 06:35:15 -rw-r--r--. 1 jenkins jenkins 517 Oct 14 06:35 go.mod 06:35:15 -rw-r--r--. 1 jenkins jenkins 13549 Oct 14 06:35 go.sum 06:35:15 drwxrwxr-x. 15 jenkins jenkins 211 Oct 14 06:33 internal 06:35:15 -rw-rw-r--. 1 jenkins jenkins 901 Oct 14 06:33 Jenkinsfile 06:35:15 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 06:33 LICENSE 06:35:15 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 14 06:33 Makefile 06:35:15 drwxrwxr-x. 4 jenkins jenkins 26 Oct 14 06:33 openapi 06:35:15 drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 06:33 pkg 06:35:15 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 14 06:33 README.md 06:35:15 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 14 06:33 RELEASE-NOTES.txt 06:35:15 drwxrwxr-x. 3 jenkins jenkins 58 Oct 14 06:33 .semver 06:35:15 drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 06:33 snap 06:35:15 -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 06:29 VERSION 06:35:15 -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 06:33 version.go [Pipeline] isUnix [Pipeline] sh 06:35:15 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 --label arch=amd64 --label version=0.0.0 . 06:35:16 Sending build context to Docker daemon 3.654MB 06:35:16 Step 1/24 : ARG BASE=golang:1.15-alpine 06:35:16 Step 2/24 : FROM ${BASE} AS builder 06:35:16 ---> 795f7dd13ba0 06:35:16 Step 3/24 : ARG MAKE='make build' 06:35:16 ---> Running in 005766a097d0 06:35:16 Removing intermediate container 005766a097d0 06:35:16 ---> 6a13d34ba93b 06:35:16 Step 4/24 : WORKDIR /device-sdk-go 06:35:16 ---> Running in f1fd96e0780a 06:35:16 Removing intermediate container f1fd96e0780a 06:35:16 ---> e55b274f30d2 06:35:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:17 ---> Running in 08342a05ee4e 06:35:17 Removing intermediate container 08342a05ee4e 06:35:17 ---> 5e4200aaf487 06:35:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:17 ---> Running in 99d9b6bae868 06:35:18 Removing intermediate container 99d9b6bae868 06:35:18 ---> 2185528e7715 06:35:18 Step 7/24 : RUN apk add --update --no-cache make git 06:35:18 ---> Running in aea9729744d9 06:35:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:35:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:35:19 OK: 166 MiB in 39 packages 06:35:20 Removing intermediate container aea9729744d9 06:35:20 ---> 977455db7a3b 06:35:20 Step 8/24 : COPY . . 06:35:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:35:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:35:21 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:35:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.117s coverage: 21.6% of statements 06:35:21 ---> 246793f43be2 06:35:21 Step 9/24 : RUN ${MAKE} 06:35:21 ---> Running in d4f437bad7aa 06:35:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:35:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.148s coverage: 97.1% of statements 06:35:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:35:31 Removing intermediate container d4f437bad7aa 06:35:31 ---> 07da6f73926c 06:35:31 Step 10/24 : FROM scratch 06:35:31 ---> 06:35:31 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:31 ---> Running in 03e3eda1782b 06:35:31 Removing intermediate container 03e3eda1782b 06:35:31 ---> ea89bab8e983 06:35:31 Step 12/24 : ENV APP_PORT=49990 06:35:31 ---> Running in de79f36a5e66 06:35:32 Removing intermediate container de79f36a5e66 06:35:32 ---> eb6190e76125 06:35:32 Step 13/24 : EXPOSE $APP_PORT 06:35:32 ---> Running in d14b5ce489c6 06:35:32 Removing intermediate container d14b5ce489c6 06:35:32 ---> 7ac49809d721 06:35:32 Step 14/24 : WORKDIR / 06:35:32 ---> Running in 20eb189662c2 06:35:32 Removing intermediate container 20eb189662c2 06:35:32 ---> cf86b6a4f91d 06:35:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:35:32 ---> 6bdcaffb33d5 06:35:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:35:33 ---> 2eeb4d45ca3d 06:35:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:35:33 ---> ce2fc9aa41bf 06:35:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:35:33 ---> c094356e9413 06:35:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:35:33 ---> cb164984ccf6 06:35:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:35:34 ---> Running in d12227e8f5ce 06:35:34 Removing intermediate container d12227e8f5ce 06:35:34 ---> 57ec08b49a51 06:35:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:35:34 ---> Running in d33c02cc3608 06:35:34 Removing intermediate container d33c02cc3608 06:35:34 ---> f1249e8a5a4e 06:35:34 Step 22/24 : LABEL arch=amd64 06:35:34 ---> Running in 3acb6d41b564 06:35:34 Removing intermediate container 3acb6d41b564 06:35:34 ---> 7b7e602ec916 06:35:34 Step 23/24 : LABEL git_sha=5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 06:35:34 ---> Running in 09f4204f518a 06:35:35 Removing intermediate container 09f4204f518a 06:35:35 ---> 3b9eee688fa0 06:35:35 Step 24/24 : LABEL version=0.0.0 06:35:35 ---> Running in 73c6ea88022b 06:35:35 Removing intermediate container 73c6ea88022b 06:35:35 ---> b726c2e436f1 06:35:35 [Warning] One or more build-args [ARCH] were not consumed 06:35:35 Successfully built b726c2e436f1 06:35:35 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:35:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.143s coverage: 9.4% of statements 06:35:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements 06:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:35:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.535s coverage: 40.0% of statements 06:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:35:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.783s coverage: 68.9% of statements 06:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:35:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.171s coverage: 52.6% of statements 06:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:35:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.914s coverage: 68.9% of statements 06:35:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:35:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:35:56 GO111MODULE=on go vet ./... 06:36:23 gofmt -l . 06:36:23 [ "`gofmt -l .`" = "" ] 06:36:23 ./bin/test-attribution-txt.sh 06:36:23 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:36:23 Warning: overwriting stash ‘coverage-report’ 06:36:24 Stashed 1 file(s) [Pipeline] } 06:36:24 $ docker stop --time=1 4e06a9c02d070876411d3802247ead524783893ab2e3b1ac2756cf416d563772 06:36:26 $ docker rm -f 4e06a9c02d070876411d3802247ead524783893ab2e3b1ac2756cf416d563772 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:36:28 + ls -al . 06:36:28 total 228 06:36:28 drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 06:36 . 06:36:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:32 .. 06:36:28 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 06:32 .dockerignore 06:36:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 06:32 .git 06:36:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:32 .github 06:36:28 -rw-rw-r-- 1 jenkins jenkins 138 Oct 14 06:32 .gitignore 06:36:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:32 .semver 06:36:28 -rw-rw-r-- 1 jenkins jenkins 936 Oct 14 06:32 Dockerfile.build 06:36:28 -rw-rw-r-- 1 jenkins jenkins 901 Oct 14 06:32 Jenkinsfile 06:36:28 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 06:32 LICENSE 06:36:28 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 14 06:32 Makefile 06:36:28 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 14 06:32 README.md 06:36:28 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 14 06:32 RELEASE-NOTES.txt 06:36:28 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 06:29 VERSION 06:36:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:32 bin 06:36:28 -rw-r--r-- 1 jenkins jenkins 110392 Oct 14 06:35 coverage.out 06:36:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:32 example 06:36:28 -rw-r--r-- 1 jenkins jenkins 517 Oct 14 06:36 go.mod 06:36:28 -rw-r--r-- 1 jenkins jenkins 13549 Oct 14 06:36 go.sum 06:36:28 drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 06:32 internal 06:36:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:32 openapi 06:36:28 drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 06:32 pkg 06:36:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:32 snap 06:36:28 -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 06:32 version.go [Pipeline] isUnix [Pipeline] sh 06:36:29 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 --label arch=arm64 --label version=0.0.0 . 06:36:29 Sending build context to Docker daemon 3.654MB 06:36:29 Step 1/24 : ARG BASE=golang:1.15-alpine 06:36:29 Step 2/24 : FROM ${BASE} AS builder 06:36:29 ---> 17cf48dcee28 06:36:29 Step 3/24 : ARG MAKE='make build' 06:36:29 ---> Running in 87d9958364f7 06:36:30 Removing intermediate container 87d9958364f7 06:36:30 ---> 11bffbc8a5d9 06:36:30 Step 4/24 : WORKDIR /device-sdk-go 06:36:30 ---> Running in 115d767d1f51 06:36:31 Removing intermediate container 115d767d1f51 06:36:31 ---> 13e1bd5461a7 06:36:31 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:36:31 ---> Running in a08d9d88b915 06:36:31 Removing intermediate container a08d9d88b915 06:36:31 ---> edc94def3da3 06:36:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:31 ---> Running in 18472d6c139b 06:36:34 Removing intermediate container 18472d6c139b 06:36:34 ---> 397a9f7beeca 06:36:34 Step 7/24 : RUN apk add --update --no-cache make git 06:36:34 ---> Running in 240e2287480a 06:36:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:36:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:36:37 OK: 142 MiB in 39 packages 06:36:38 Removing intermediate container 240e2287480a 06:36:38 ---> 98331ecbffb6 06:36:38 Step 8/24 : COPY . . 06:36:39 ---> f880a1b95683 06:36:39 Step 9/24 : RUN ${MAKE} 06:36:40 ---> Running in f2f6012fae34 06:36:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:37:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:37:08 Removing intermediate container f2f6012fae34 06:37:08 ---> ef546c5fca2a 06:37:08 Step 10/24 : FROM scratch 06:37:08 ---> 06:37:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:37:08 ---> Running in 2235cb3cff6a 06:37:08 Removing intermediate container 2235cb3cff6a 06:37:08 ---> 215dcc8f8479 06:37:08 Step 12/24 : ENV APP_PORT=49990 06:37:08 ---> Running in 7d8dc67a3f74 06:37:08 Removing intermediate container 7d8dc67a3f74 06:37:08 ---> cea591710768 06:37:08 Step 13/24 : EXPOSE $APP_PORT 06:37:08 ---> Running in f95bab448bcf 06:37:08 Removing intermediate container f95bab448bcf 06:37:08 ---> 81883d9d8f98 06:37:08 Step 14/24 : WORKDIR / 06:37:08 ---> Running in c3576b3b8b30 06:37:09 Removing intermediate container c3576b3b8b30 06:37:09 ---> 47f07dc7aaf4 06:37:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:37:10 ---> 1a2e89c992f8 06:37:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:37:11 ---> e532bcfaee9e 06:37:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:37:12 ---> 1cb01c735b11 06:37:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:37:12 ---> 5a9dd797920e 06:37:12 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:37:13 ---> 28ef9fb72887 06:37:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:37:13 ---> Running in 17ac8da50a2b 06:37:13 Removing intermediate container 17ac8da50a2b 06:37:13 ---> d473037e0889 06:37:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:37:14 ---> Running in ccfb7fa9380d 06:37:14 Removing intermediate container ccfb7fa9380d 06:37:14 ---> 83b8085c8b06 06:37:14 Step 22/24 : LABEL arch=arm64 06:37:14 ---> Running in a1d588599156 06:37:15 Removing intermediate container a1d588599156 06:37:15 ---> 1555a28d0d01 06:37:15 Step 23/24 : LABEL git_sha=5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 06:37:15 ---> Running in 74a72cb0d24e 06:37:15 Removing intermediate container 74a72cb0d24e 06:37:15 ---> 1bfde3f99538 06:37:15 Step 24/24 : LABEL version=0.0.0 06:37:15 ---> Running in c6678ebf5747 06:37:16 Removing intermediate container c6678ebf5747 06:37:16 ---> a817c7252bd6 06:37:16 [Warning] One or more build-args [ARCH] were not consumed 06:37:16 Successfully built a817c7252bd6 06:37:16 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:37:19 provisioning config files... 06:37:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-626@tmp/config4844602535781420858tmp [Pipeline] { [Pipeline] sh 06:37:20 + set +x 06:37:20 + curl -s https://codecov.io/bash 06:37:20 + bash -s -- 06:37:20 06:37:20 _____ _ 06:37:20 / ____| | | 06:37:20 | | ___ __| | ___ ___ _____ __ 06:37:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:37:20 | |___| (_) | (_| | __/ (_| (_) \ V / 06:37:20 \_____\___/ \__,_|\___|\___\___/ \_/ 06:37:20 Bash-20201009-048fee3 06:37:20 06:37:20 06:37:20 ==> Jenkins CI detected. 06:37:20 project root: . 06:37:20 --> token set from env 06:37:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:37:20 ==> Running gcov in . (disable via -X gcov) 06:37:20 ==> Python coveragepy not found 06:37:20 ==> Searching for coverage reports in: 06:37:20 + . 06:37:20 -> Found 1 reports 06:37:20 ==> Detecting git/mercurial file structure 06:37:20 ==> Reading reports 06:37:20 + ./coverage.out bytes=110392 06:37:20 ==> Appending adjustments 06:37:20 https://docs.codecov.io/docs/fixing-reports 06:37:22 + Found adjustments 06:37:22 ==> Gzipping contents 06:37:22 ==> Uploading reports 06:37:22 url: https://codecov.io 06:37:22 query: branch=PR-626&commit=5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-626%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=626&job=&cmd_args= 06:37:22 -> Pinging Codecov 06:37:22 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-626&commit=5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-626%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=626&job=&cmd_args= 06:37:22 -> Uploading to 06:37:22 06:37:22 % Total % Received % Xferd Average Speed Time Time Time Current 06:37:22 Dload Upload Total Spent Left Speed 06:37:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:37:22 X> Failed to upload 06:37:22 ==> Uploading to Codecov 06:37:22 % Total % Received % Xferd Average Speed Time Time Time Current 06:37:22 Dload Upload Total Spent Left Speed 06:37:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18638 0 0 100 18528 0 32438 --:--:-- --:--:-- --:--:-- 32448 100 18638 100 110 100 18528 192 32402 --:--:-- --:--:-- --:--:-- 32391 06:37:22 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5b4d0dfa418c7a5492bcc8d87f9b2c9c8ec7ee78 [Pipeline] } 06:37:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:37:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:37:27 ---> package-listing.sh 06:37:27 ++ facter osfamily 06:37:27 ++ tr '[:upper:]' '[:lower:]' 06:37:27 + OS_FAMILY=redhat 06:37:27 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-626 06:37:27 + START_PACKAGES=/tmp/packages_start.txt 06:37:27 + END_PACKAGES=/tmp/packages_end.txt 06:37:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:37:27 + PACKAGES=/tmp/packages_start.txt 06:37:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-626 ']' 06:37:27 + PACKAGES=/tmp/packages_end.txt 06:37:27 + case "${OS_FAMILY}" in 06:37:27 + sort 06:37:27 + rpm -qa 06:37:31 + '[' -f /tmp/packages_start.txt ']' 06:37:31 + '[' -f /tmp/packages_end.txt ']' 06:37:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:37:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-626 ']' 06:37:31 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-626/archives/ 06:37:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-626/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:32 provisioning config files... 06:37:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-626@tmp/config5068197204795250150tmp [Pipeline] { [Pipeline] echo 06:37:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:37:32 ---> create-netrc.sh [Pipeline] } 06:37:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:37:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:37:33 ---> python-tools-install.sh 06:37:33 Generating Requirements File 06:39:25 Python 3.6.8 06:39:25 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:39:25 appdirs==1.4.3 06:39:25 argcomplete==1.12.1 06:39:25 aspy.yaml==1.3.0 06:39:25 attrs==19.3.0 06:39:25 Babel==2.8.0 06:39:25 beautifulsoup4==4.8.2 06:39:25 boto3==1.11.6 06:39:25 botocore==1.14.6 06:39:25 bs4==0.0.1 06:39:25 cachetools==4.1.1 06:39:25 certifi==2019.11.28 06:39:25 cffi==1.14.3 06:39:25 cfgv==2.0.1 06:39:25 chardet==3.0.4 06:39:25 click==7.1 06:39:25 cliff==3.4.0 06:39:25 cmd2==1.3.11 06:39:25 colorama==0.4.4 06:39:25 cryptography==3.1.1 06:39:25 debtcollector==2.2.0 06:39:25 decorator==4.4.2 06:39:25 defusedxml==0.6.0 06:39:25 Deprecated==1.2.7 06:39:25 distlib==0.3.1 06:39:25 distro==1.2.0 06:39:25 dnspython==1.16.0 06:39:25 docker==4.2.0 06:39:25 docutils==0.15.2 06:39:25 dogpile.cache==1.0.2 06:39:25 email-validator==1.0.5 06:39:25 filelock==3.0.12 06:39:25 future==0.18.2 06:39:25 google-auth==1.22.1 06:39:25 httplib2==0.17.0 06:39:25 identify==1.4.11 06:39:25 idna==2.9 06:39:25 importlib-metadata==2.0.0 06:39:25 importlib-resources==1.5.0 06:39:25 iso8601==0.1.13 06:39:25 Jinja2==2.11.1 06:39:25 jmespath==0.10.0 06:39:25 jsonpatch==1.26 06:39:25 jsonpointer==2.0 06:39:25 jsonschema==3.2.0 06:39:25 keystoneauth1==4.2.1 06:39:25 kubernetes==11.0.0 06:39:25 lftools==0.34.2 06:39:25 lxml==4.5.0 06:39:25 MarkupSafe==0.23 06:39:25 msgpack==1.0.0 06:39:25 multi-key-dict==2.0.3 06:39:25 munch==2.5.0 06:39:25 netaddr==0.8.0 06:39:25 netifaces==0.10.9 06:39:25 niet==1.4.2 06:39:25 nodeenv==1.3.5 06:39:25 oauth2client==4.1.3 06:39:25 oauthlib==3.1.0 06:39:25 openstacksdk==0.50.0 06:39:25 os-client-config==2.1.0 06:39:25 os-service-types==1.7.0 06:39:25 osc-lib==2.2.1 06:39:25 oslo.config==8.3.2 06:39:25 oslo.context==3.1.1 06:39:25 oslo.i18n==5.0.1 06:39:25 oslo.log==4.4.0 06:39:25 oslo.serialization==4.0.1 06:39:25 oslo.utils==4.6.0 06:39:25 packaging==20.4 06:39:25 pbr==5.4.4 06:39:25 pluggy==0.13.1 06:39:25 prettytable==0.7.2 06:39:25 py==1.9.0 06:39:25 pyasn1==0.4.8 06:39:25 pyasn1-modules==0.2.8 06:39:25 pycparser==2.20 06:39:25 pygerrit2==2.0.10 06:39:25 PyGithub==1.46 06:39:25 pyinotify==0.9.6 06:39:25 PyJWT==1.7.1 06:39:25 pyparsing==2.4.7 06:39:25 pyperclip==1.8.1 06:39:25 pyroute2==0.4.13 06:39:25 pyrsistent==0.15.7 06:39:25 PySocks==1.6.8 06:39:25 python-cinderclient==7.2.0 06:39:25 python-dateutil==2.8.1 06:39:25 python-heatclient==2.2.1 06:39:25 python-jenkins==1.7.0 06:39:25 python-keystoneclient==4.1.1 06:39:25 python-magnumclient==3.2.1 06:39:25 python-novaclient==17.2.1 06:39:25 python-openstackclient==5.4.0 06:39:25 python-swiftclient==3.10.1 06:39:25 pytz==2020.1 06:39:25 PyYAML==5.3 06:39:25 requests==2.23.0 06:39:25 requests-oauthlib==1.3.0 06:39:25 requestsexceptions==1.4.0 06:39:25 rfc3986==1.4.0 06:39:25 rpm==4.11.3 06:39:25 rsa==4.0 06:39:25 ruamel.yaml==0.16.10 06:39:25 ruamel.yaml.clib==0.2.0 06:39:25 s3transfer==0.3.3 06:39:25 shade==1.27.2 06:39:25 simplejson==3.17.2 06:39:25 six==1.14.0 06:39:25 soupsieve==2.0 06:39:25 stevedore==3.2.2 06:39:25 tabulate==0.8.6 06:39:25 toml==0.10.0 06:39:25 tox==3.20.1 06:39:25 tqdm==4.43.0 06:39:25 urllib3==1.25.8 06:39:25 virtualenv==20.0.34 06:39:25 wcwidth==0.2.5 06:39:25 websocket-client==0.57.0 06:39:25 wrapt==1.12.1 06:39:25 xdg==3.0.2 06:39:25 xmltodict==0.12.0 06:39:25 yq==2.11.1 06:39:25 zipp==3.3.0 06:39:25 Cache entry deserialization failed, entry ignored 06:39:25 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 06:39:29 Python 2.7.5 06:39:29 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:39:30 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 06:39:30 ansible==2.9.7 06:39:30 Babel==0.9.6 06:39:30 backports.ssl-match-hostname==3.5.0.1 06:39:30 beautifulsoup4==4.4.1 06:39:30 bodhi==2.11.0 06:39:30 bodhi-client==2.11.0 06:39:30 CCColUtils==1.4 06:39:30 cffi==1.6.0 06:39:30 chardet==2.2.1 06:39:30 click==6.7 06:39:30 cloud-init==18.5 06:39:30 configobj==4.7.2 06:39:30 cryptography==1.7.2 06:39:30 decorator==3.4.0 06:39:30 distro==1.2.0 06:39:30 enum34==1.0.4 06:39:30 fedpkg==1.38 06:39:30 futures==3.1.1 06:39:30 gitdb==0.6.4 06:39:30 GitPython==1.0.1 06:39:30 html5lib==0.999 06:39:30 httplib2==0.9.2 06:39:30 idna==2.4 06:39:30 iniparse==0.4 06:39:30 ipaddress==1.0.16 06:39:30 IPy==0.75 06:39:30 javapackages==1.0.0 06:39:30 Jinja2==2.7.2 06:39:30 jmespath==0.9.4 06:39:30 jsonpatch==1.2 06:39:30 jsonpointer==1.9 06:39:30 kerberos==1.1 06:39:30 kitchen==1.1.1 06:39:30 langtable==0.0.31 06:39:30 lockfile==0.9.1 06:39:30 lxml==3.2.1 06:39:30 MarkupSafe==0.11 06:39:30 munch==2.0.2 06:39:30 offtrac==0.1.0 06:39:30 openidc-client==0.6.0 06:39:30 packagedb-cli==2.14.1 06:39:30 paramiko==2.1.1 06:39:30 perf==0.1 06:39:30 ply==3.4 06:39:30 policycoreutils-default-encoding==0.1 06:39:30 prettytable==0.7.2 06:39:30 pyasn1==0.1.9 06:39:30 pycparser==2.14 06:39:30 pycurl==7.19.0 06:39:30 pygobject==3.22.0 06:39:30 pygpgme==0.3 06:39:30 pyliblzma==0.5.3 06:39:30 pyOpenSSL==0.13.1 06:39:30 pyparsing==1.5.6 06:39:30 pyserial==2.6 06:39:30 python-augeas==0.5.0 06:39:30 python-bugzilla==2.3.0 06:39:30 python-dateutil==1.5 06:39:30 python-fedora==0.10.0 06:39:30 python-linux-procfs==0.4.9 06:39:30 python-yubico==1.2.3 06:39:30 pyudev==0.15 06:39:30 pyusb==1.0.0b1 06:39:30 pyxattr==0.5.1 06:39:30 PyYAML==3.10 06:39:30 requests==2.6.0 06:39:30 requests-kerberos==0.7.0 06:39:30 rpkg==1.60 06:39:30 schedutils==0.4 06:39:30 seobject==0.1 06:39:30 sepolicy==1.1 06:39:30 six==1.9.0 06:39:30 smmap==0.9.0 06:39:30 urlgrabber==3.10 06:39:30 urllib3==1.10.2 06:39:30 virtualenv==15.1.0 06:39:30 yum-langpacks==0.4.2 06:39:30 yum-metadata-parser==1.1.4 [Pipeline] echo 06:39:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:39:30 ---> sudo-logs.sh 06:39:30 Archiving 'sudo' log.. [Pipeline] echo 06:39:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:39:31 ---> job-cost.sh 06:39:31 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bDBg 06:39:46 Cache entry deserialization failed, entry ignored 06:39:46 Cache entry deserialization failed, entry ignored 06:39:46 Cache entry deserialization failed, entry ignored 06:39:46 Cache entry deserialization failed, entry ignored 06:39:46 Cache entry deserialization failed, entry ignored 06:39:47 Cache entry deserialization failed, entry ignored 06:39:47 Cache entry deserialization failed, entry ignored 06:39:47 Cache entry deserialization failed, entry ignored 06:39:47 Cache entry deserialization failed, entry ignored 06:39:47 Cache entry deserialization failed, entry ignored 06:39:47 Cache entry deserialization failed, entry ignored 06:39:47 Cache entry deserialization failed, entry ignored 06:39:48 Cache entry deserialization failed, entry ignored 06:39:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:40:31 lf-activate-venv(): INFO: Adding /tmp/venv-bDBg/bin to PATH 06:40:31 INFO: No Stack... 06:40:31 INFO: Retrieving Pricing Info for: v1-standard-2 06:40:32 INFO: Archiving Costs [Pipeline] echo 06:40:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:40:32 ---> logs-deploy.sh 06:40:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-626/1 06:40:32 INFO: archiving workspace using pattern(s): 06:40:35 Archives upload complete. 06:40:35 INFO: archiving logs to Nexus