Pull request #607 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e+5d943473fe8cb7b2263b29163a15a9eda06ca963 (9827f0314fb1ded492db525388d5e4f87a977c33) 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-607/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-607/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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-2939’ is offline; ‘prd-centos7-docker-4c-2g-2942’ is offline; ‘prd-centos7-docker-4c-2g-2943’ is offline; ‘prd-centos7-docker-8c-8g-2926’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2948 in /w/workspace/dgexfoundry_device-sdk-go_PR-607 [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-607 # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e Merge succeeded, producing 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e Checking out Revision 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e (PR-607) > 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/607/head:refs/remotes/origin/PR-607 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e # 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:20:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:20:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:20:12 ========================================================= 02:20:12 EdgeX Global Pipelines Version Info 02:20:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:20:16 ------------------- 02:20:16 stable info: 02:20:16 ------------------- 02:20:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:20:16 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:20:16 Message: update stable to v1.0.131 02:20:16 ------------------- 02:20:16 experimental info: 02:20:16 ------------------- 02:20:16 Commited By: Emilio Reyes emilio.reyes@intel.com 02:20:16 Commit SHA: 037048ec40675a742bbe4f4e63335516fc22ae8d 02:20:16 Message: update experimental to v1.0.133 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:20:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:20:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:20:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:20:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:20:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:20:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:20:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:20:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:20:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:20:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:20:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:20:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:20:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:20:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:20:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:20:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:20:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:20:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:20:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:20:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:20:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:20:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:20:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-607 [Pipeline] echo 02:20:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-607 [Pipeline] echo 02:20:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-607 [Pipeline] echo 02:20:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e [Pipeline] echo 02:20:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2dce0fd [Pipeline] echo 02:20:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:20:23 + git log --format=format:%s -1 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e [Pipeline] echo 02:20:23 GIT_COMMIT: 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 02:20:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:20:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:20:24 02:20:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:20:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:20:25 latest: Pulling from edgex-devops/git-semver 02:20:25 31603596830f: Pulling fs layer 02:20:25 2a8b12db71e7: Pulling fs layer 02:20:25 6ca5941a6612: Pulling fs layer 02:20:25 ecc8261a40a4: Pulling fs layer 02:20:25 ecc8261a40a4: Waiting 02:20:25 2a8b12db71e7: Verifying Checksum 02:20:25 2a8b12db71e7: Download complete 02:20:25 31603596830f: Verifying Checksum 02:20:25 31603596830f: Download complete 02:20:26 31603596830f: Pull complete 02:20:26 2a8b12db71e7: Pull complete 02:20:29 ecc8261a40a4: Verifying Checksum 02:20:29 ecc8261a40a4: Download complete 02:20:29 6ca5941a6612: Download complete 02:20:30 6ca5941a6612: Pull complete 02:20:30 ecc8261a40a4: Pull complete 02:20:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:20:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:20:30 prd-centos7-docker-4c-2g-2948 does not seem to be running inside a container 02:20:30 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-607 -v /w/workspace/dgexfoundry_device-sdk-go_PR-607:/w/workspace/dgexfoundry_device-sdk-go_PR-607:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-607@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-607@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:20:32 $ docker top 214c8bf82dd7df7a5f5d1b4bf9a390207b642874e8e55ff546831d263f0c896e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:20:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:20:33 [ssh-agent] Looking for ssh-agent implementation... 02:20:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:20:33 $ docker exec 214c8bf82dd7df7a5f5d1b4bf9a390207b642874e8e55ff546831d263f0c896e ssh-agent 02:20:33 SSH_AUTH_SOCK=/tmp/ssh-mDiTzKFHfEdH/agent.12 02:20:33 SSH_AGENT_PID=17 02:20:33 Running ssh-add (command line suppressed) 02:20:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-607@tmp/private_key_8412109394101949911.key (/w/workspace/dgexfoundry_device-sdk-go_PR-607@tmp/private_key_8412109394101949911.key) 02:20:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:20:34 + git describe --exact-match --tags HEAD 02:20:34 fatal: no tag exactly matches '2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e' [Pipeline] } 02:20:34 $ docker exec --env ******** --env ******** 214c8bf82dd7df7a5f5d1b4bf9a390207b642874e8e55ff546831d263f0c896e ssh-agent -k 02:20:34 unset SSH_AUTH_SOCK; 02:20:34 unset SSH_AGENT_PID; 02:20:34 echo Agent pid 17 killed; 02:20:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:20:34 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:20:34 This usually means this commit has not been tagged. [Pipeline] sshagent 02:20:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:20:34 [ssh-agent] Looking for ssh-agent implementation... 02:20:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:20:35 $ docker exec 214c8bf82dd7df7a5f5d1b4bf9a390207b642874e8e55ff546831d263f0c896e ssh-agent 02:20:35 SSH_AUTH_SOCK=/tmp/ssh-7I0ropAP1VHS/agent.47 02:20:35 SSH_AGENT_PID=52 02:20:35 Running ssh-add (command line suppressed) 02:20:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-607@tmp/private_key_286548366411233967.key (/w/workspace/dgexfoundry_device-sdk-go_PR-607@tmp/private_key_286548366411233967.key) 02:20:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:20:35 + git semver init 02:20:35 # -> Open(): unable to determine branch for HEAD 02:20:35 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-607/.git 02:20:35 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-607 02:20:35 # $SEMVER_REMOTE_NAME = origin 02:20:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:20:35 # $SEMVER_USER_NAME = edgex-jenkins 02:20:35 # $SEMVER_BRANCH = PR-607 02:20:35 # $SEMVER_TEMP = /tmp/semver-966718633 02:20:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:20:41 # '/tmp/semver-966718633' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-607/.semver' 02:20:41 # -> Force: false 02:20:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-607/.semver [Pipeline] } 02:20:41 $ docker exec --env ******** --env ******** 214c8bf82dd7df7a5f5d1b4bf9a390207b642874e8e55ff546831d263f0c896e ssh-agent -k 02:20:41 unset SSH_AUTH_SOCK; 02:20:41 unset SSH_AGENT_PID; 02:20:41 echo Agent pid 52 killed; 02:20:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:20:42 + git semver [Pipeline] } 02:20:42 $ docker stop --time=1 214c8bf82dd7df7a5f5d1b4bf9a390207b642874e8e55ff546831d263f0c896e 02:20:44 $ docker rm -f 214c8bf82dd7df7a5f5d1b4bf9a390207b642874e8e55ff546831d263f0c896e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:20:45 Stashed 40 file(s) [Pipeline] echo 02:20:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:20:45 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 02:21:01 Still waiting to schedule task 02:21:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:21:01 Still waiting to schedule task 02:21:01 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2936’ 02:23:07 Running on prd-centos7-docker-4c-2g-2957 in /w/workspace/dgexfoundry_device-sdk-go_PR-607 [Pipeline] { [Pipeline] ws 02:23:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:23:09 using credential edgex-jenkins-ssh 02:23:09 Cloning the remote Git repository 02:23:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:23:09 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:23:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:23:09 > git --version # timeout=10 02:23:09 > git --version # 'git version 2.16.5' 02:23:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:15 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e 02:23:15 Merge succeeded, producing 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e 02:23:15 Checking out Revision 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e (PR-607) 02:23:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:23:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:23:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:23:14 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/607/head:refs/remotes/origin/PR-607 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:23:15 > git config core.sparsecheckout # timeout=10 02:23:15 > git checkout -f 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e # timeout=10 02:23:15 > git remote # timeout=10 02:23:15 > git config --get remote.origin.url # timeout=10 02:23:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:15 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 02:23:15 > git rev-parse HEAD^{commit} # timeout=10 02:23:15 > git config core.sparsecheckout # timeout=10 02:23:15 > git checkout -f 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e # timeout=10 02:23:18 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 02:23:18 > git --version # timeout=10 02:23:19 > git --version # 'git version 2.16.5' 02:23:19 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:23:20 ========================================================= 02:23:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:23:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:23:21 + 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 . 02:23:21 Sending build context to Docker daemon 3.421MB 02:23:21 Step 1/8 : ARG BASE=golang:1.15-alpine 02:23:21 Step 2/8 : FROM ${BASE} 02:23:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:23:22 df20fa9351a1: Pulling fs layer 02:23:22 ed8968b2872e: Pulling fs layer 02:23:22 a92cc7c5fd73: Pulling fs layer 02:23:22 e871e8e8d7a9: Pulling fs layer 02:23:22 e73272ec9a57: Pulling fs layer 02:23:22 1e910a182e73: Pulling fs layer 02:23:22 4e634b169226: Pulling fs layer 02:23:22 e73272ec9a57: Waiting 02:23:22 1e910a182e73: Waiting 02:23:22 4e634b169226: Waiting 02:23:22 e871e8e8d7a9: Waiting 02:23:22 a92cc7c5fd73: Verifying Checksum 02:23:22 a92cc7c5fd73: Download complete 02:23:23 ed8968b2872e: Download complete 02:23:23 e73272ec9a57: Verifying Checksum 02:23:23 e73272ec9a57: Download complete 02:23:23 1e910a182e73: Verifying Checksum 02:23:23 1e910a182e73: Download complete 02:23:24 df20fa9351a1: Verifying Checksum 02:23:24 df20fa9351a1: Download complete 02:23:25 df20fa9351a1: Pull complete 02:23:25 ed8968b2872e: Pull complete 02:23:25 a92cc7c5fd73: Pull complete 02:24:04 4e634b169226: Verifying Checksum 02:24:04 4e634b169226: Download complete 02:24:36 e871e8e8d7a9: Verifying Checksum 02:24:36 e871e8e8d7a9: Download complete 02:24:41 e871e8e8d7a9: Pull complete 02:24:41 e73272ec9a57: Pull complete 02:24:41 1e910a182e73: Pull complete 02:24:45 4e634b169226: Pull complete 02:24:45 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:24:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:24:45 ---> f7629b54cfaa 02:24:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:24:46 ---> Running in ed7eec2139f6 02:24:46 Removing intermediate container ed7eec2139f6 02:24:46 ---> 681958ab2b90 02:24:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:24:46 ---> Running in 240c03676497 02:24:48 Removing intermediate container 240c03676497 02:24:48 ---> 5d0b8e1bde68 02:24:48 Step 5/8 : RUN apk add --no-cache make git 02:24:48 ---> Running in 4a3aeaa3b4fc 02:24:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:24:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2959 in /w/workspace/dgexfoundry_device-sdk-go_PR-607 [Pipeline] { [Pipeline] ws 02:24:49 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:24:55 using credential edgex-jenkins-ssh 02:24:55 Cloning the remote Git repository 02:24:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:24:55 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:24:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:24:55 > git --version # timeout=10 02:24:55 > git --version # 'git version 2.17.1' 02:24:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:24:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:24:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:24:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:24:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:24:59 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e 02:24:59 Merge succeeded, producing 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e 02:24:59 Checking out Revision 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e (PR-607) 02:24:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:24:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:24:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:24:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/607/head:refs/remotes/origin/PR-607 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:24:59 > git config core.sparsecheckout # timeout=10 02:24:59 > git checkout -f 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e # timeout=10 02:24:59 > git remote # timeout=10 02:24:59 > git config --get remote.origin.url # timeout=10 02:24:59 using GIT_SSH to set credentials SSH Credentials for GitHub 02:24:59 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 02:24:59 > git rev-parse HEAD^{commit} # timeout=10 02:24:59 > git config core.sparsecheckout # timeout=10 02:24:59 > git checkout -f 2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e # timeout=10 02:25:03 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 02:25:04 > git --version # timeout=10 02:25:04 > git --version # 'git version 2.17.1' 02:25:04 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:25:05 ========================================================= 02:25:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:25:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:25:06 + 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 . 02:25:07 Sending build context to Docker daemon 3.421MB 02:25:07 Step 1/8 : ARG BASE=golang:1.15-alpine 02:25:07 Step 2/8 : FROM ${BASE} 02:25:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:25:08 b538f80385f9: Pulling fs layer 02:25:08 74f711af9a0d: Pulling fs layer 02:25:08 99f96fe45779: Pulling fs layer 02:25:08 8529a6b9a6be: Pulling fs layer 02:25:08 45590311c82a: Pulling fs layer 02:25:08 69ca0ff8b7b3: Pulling fs layer 02:25:08 209524e5b208: Pulling fs layer 02:25:08 8529a6b9a6be: Waiting 02:25:08 45590311c82a: Waiting 02:25:08 69ca0ff8b7b3: Waiting 02:25:08 209524e5b208: Waiting 02:25:08 99f96fe45779: Download complete 02:25:08 74f711af9a0d: Verifying Checksum 02:25:08 74f711af9a0d: Download complete 02:25:08 45590311c82a: Download complete 02:25:09 b538f80385f9: Verifying Checksum 02:25:09 b538f80385f9: Download complete 02:25:09 69ca0ff8b7b3: Verifying Checksum 02:25:09 b538f80385f9: Pull complete 02:25:10 74f711af9a0d: Pull complete 02:25:10 99f96fe45779: Pull complete 02:25:11 OK: 166 MiB in 39 packages 02:25:11 Removing intermediate container 4a3aeaa3b4fc 02:25:11 ---> 8107a9d0a9db 02:25:11 Step 6/8 : WORKDIR /device-sdk-go 02:25:11 ---> Running in 75b55070c3ed 02:25:11 Removing intermediate container 75b55070c3ed 02:25:11 ---> 243eff8d56a2 02:25:11 Step 7/8 : COPY . . 02:25:11 ---> 3f17d7842346 02:25:11 Step 8/8 : RUN go mod download 02:25:11 ---> Running in 2eb7eb651b26 02:25:29 209524e5b208: Verifying Checksum 02:25:29 209524e5b208: Download complete 02:25:33 Removing intermediate container 2eb7eb651b26 02:25:33 ---> 9f1e61876c1f 02:25:33 Successfully built 9f1e61876c1f 02:25:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:25:33 + docker inspect -f . ci-base-image-x86_64 02:25:33 . [Pipeline] withDockerContainer 02:25:33 prd-centos7-docker-4c-2g-2957 does not seem to be running inside a container 02:25:33 $ 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 02:25:34 $ docker top b1cac05528d9a0235000efbd89be5215592e0b7407828a6d6fe92556ac5e395f -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:35 + go version 02:25:35 go version go1.15.2 linux/amd64 [Pipeline] } 02:25:35 $ docker stop --time=1 b1cac05528d9a0235000efbd89be5215592e0b7407828a6d6fe92556ac5e395f 02:25:36 $ docker rm -f b1cac05528d9a0235000efbd89be5215592e0b7407828a6d6fe92556ac5e395f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:25:37 + docker inspect -f . ci-base-image-x86_64 02:25:37 . [Pipeline] withDockerContainer 02:25:37 prd-centos7-docker-4c-2g-2957 does not seem to be running inside a container 02:25:37 $ 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 02:25:38 $ docker top 7a47cb3d19341e6247d599f67c036c95818266659d44648f8ab5123c2badfceb -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:39 + make test 02:25:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:25:39 8529a6b9a6be: Verifying Checksum 02:25:39 8529a6b9a6be: Download complete 02:25:47 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:25:51 8529a6b9a6be: Pull complete 02:25:51 45590311c82a: Pull complete 02:25:51 69ca0ff8b7b3: Pull complete 02:25:54 209524e5b208: Pull complete 02:25:54 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:25:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:25:54 ---> 5bddaf1c2fca 02:25:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:25:56 ---> Running in b0252e0d3fc4 02:25:56 Removing intermediate container b0252e0d3fc4 02:25:56 ---> 9791a53edc36 02:25:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:57 ---> Running in dcc07289872c 02:25:59 Removing intermediate container dcc07289872c 02:25:59 ---> b979c44248b3 02:25:59 Step 5/8 : RUN apk add --no-cache make git 02:25:59 ---> Running in 04befd448b21 02:26:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:26:02 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:26:02 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:26:02 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:26:02 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 21.6% of statements 02:26:02 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.434s coverage: 97.1% of statements 02:26:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:26:20 OK: 142 MiB in 39 packages 02:26:20 Removing intermediate container 04befd448b21 02:26:20 ---> fe46eaa6e381 02:26:20 Step 6/8 : WORKDIR /device-sdk-go 02:26:20 ---> Running in 595dd37ce382 02:26:21 Removing intermediate container 595dd37ce382 02:26:21 ---> cd1e7ee734b6 02:26:21 Step 7/8 : COPY . . 02:26:22 ---> 0e69e059a1a1 02:26:22 Step 8/8 : RUN go mod download 02:26:22 ---> Running in e382f013ef96 02:26:34 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements 02:26:34 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements 02:26:34 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:26:34 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 39.5% of statements 02:26:34 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:26:34 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.287s coverage: 65.4% of statements 02:26:34 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:26:34 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:26:34 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:26:34 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:26:34 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 02:26:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:26:34 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.620s coverage: 68.9% of statements 02:26:34 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:26:34 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:26:34 GO111MODULE=on go vet ./... 02:26:41 gofmt -l . 02:26:41 [ "`gofmt -l .`" = "" ] 02:26:41 ./bin/test-attribution-txt.sh 02:26:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:26:41 Stashed 1 file(s) [Pipeline] } 02:26:41 $ docker stop --time=1 7a47cb3d19341e6247d599f67c036c95818266659d44648f8ab5123c2badfceb 02:26:43 $ docker rm -f 7a47cb3d19341e6247d599f67c036c95818266659d44648f8ab5123c2badfceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:26:44 Removing intermediate container e382f013ef96 02:26:44 ---> b3d496b92089 02:26:44 Successfully built b3d496b92089 02:26:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 02:26:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:26:45 + docker inspect -f . ci-base-image-arm64 02:26:45 . [Pipeline] withDockerContainer 02:26:45 + ls -al . 02:26:45 total 192 02:26:45 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 2 02:26 . 02:26:45 drwxrwxr-x. 4 jenkins jenkins 28 Oct 2 02:23 .. 02:26:45 drwxrwxr-x. 2 jenkins jenkins 64 Oct 2 02:23 bin 02:26:45 -rw-r--r--. 1 jenkins jenkins 111041 Oct 2 02:26 coverage.out 02:26:45 -rw-rw-r--. 1 jenkins jenkins 936 Oct 2 02:23 Dockerfile.build 02:26:45 -rw-rw-r--. 1 jenkins jenkins 140 Oct 2 02:23 .dockerignore 02:26:45 drwxrwxr-x. 4 jenkins jenkins 48 Oct 2 02:23 example 02:26:45 drwxrwxr-x. 8 jenkins jenkins 179 Oct 2 02:23 .git 02:26:45 drwxrwxr-x. 2 jenkins jenkins 60 Oct 2 02:23 .github 02:26:45 -rw-rw-r--. 1 jenkins jenkins 138 Oct 2 02:23 .gitignore 02:26:45 -rw-r--r--. 1 jenkins jenkins 517 Oct 2 02:26 go.mod 02:26:45 -rw-r--r--. 1 jenkins jenkins 13652 Oct 2 02:26 go.sum 02:26:45 drwxrwxr-x. 15 jenkins jenkins 211 Oct 2 02:23 internal 02:26:45 -rw-rw-r--. 1 jenkins jenkins 785 Oct 2 02:23 Jenkinsfile 02:26:45 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 2 02:23 LICENSE 02:26:45 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 2 02:23 Makefile 02:26:45 drwxrwxr-x. 4 jenkins jenkins 26 Oct 2 02:23 openapi 02:26:45 drwxrwxr-x. 5 jenkins jenkins 50 Oct 2 02:23 pkg 02:26:45 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 2 02:23 README.md 02:26:45 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 2 02:23 RELEASE-NOTES.txt 02:26:45 drwxrwxr-x. 3 jenkins jenkins 58 Oct 2 02:23 .semver 02:26:45 drwxrwxr-x. 4 jenkins jenkins 54 Oct 2 02:23 snap 02:26:45 -rw-rw-r--. 1 jenkins jenkins 5 Oct 2 02:20 VERSION 02:26:45 -rw-rw-r--. 1 jenkins jenkins 222 Oct 2 02:23 version.go 02:26:45 prd-ubuntu18.04-docker-arm64-4c-16g-2959 does not seem to be running inside a container 02:26:45 $ 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 02:26:47 $ docker top 999758362bce81a7e71389918ca3c0b097b7b42ed69679b9bde2b2a1167d4096 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 02:26:48 + 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=2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e --label arch=amd64 --label version=0.0.0 . 02:26:48 Sending build context to Docker daemon 3.533MB 02:26:48 Step 1/24 : ARG BASE=golang:1.15-alpine 02:26:48 Step 2/24 : FROM ${BASE} AS builder 02:26:48 ---> 9f1e61876c1f 02:26:48 Step 3/24 : ARG MAKE='make build' 02:26:49 + go version 02:26:49 go version go1.15.2 linux/arm64 [Pipeline] } 02:26:49 $ docker stop --time=1 999758362bce81a7e71389918ca3c0b097b7b42ed69679b9bde2b2a1167d4096 02:26:49 ---> Running in 45288bf7550c 02:26:50 Removing intermediate container 45288bf7550c 02:26:50 ---> 4348e4c9e3de 02:26:50 Step 4/24 : WORKDIR /device-sdk-go 02:26:50 ---> Running in a59e1781c525 02:26:50 Removing intermediate container a59e1781c525 02:26:50 ---> 2e5fbfc3b39d 02:26:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:26:50 ---> Running in eea779de2c40 02:26:50 Removing intermediate container eea779de2c40 02:26:50 ---> ad9591fb4d65 02:26:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:26:50 ---> Running in 2b12b109f7fe 02:26:51 $ docker rm -f 999758362bce81a7e71389918ca3c0b097b7b42ed69679b9bde2b2a1167d4096 02:26:51 Removing intermediate container 2b12b109f7fe 02:26:51 ---> c7df61ae525d 02:26:51 Step 7/24 : RUN apk add --update --no-cache make git 02:26:51 ---> Running in 177419293c22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 02:26:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:26:52 + docker inspect -f . ci-base-image-arm64 02:26:52 . [Pipeline] withDockerContainer 02:26:53 prd-ubuntu18.04-docker-arm64-4c-16g-2959 does not seem to be running inside a container 02:26:53 $ 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 02:26:55 $ docker top d07874ce4b9f0ce4cbe056422cfbc154920d03a1e29fb93b9aebaf3006e54c7d -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:56 + make test 02:26:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:27:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:27:12 OK: 166 MiB in 39 packages 02:27:12 Removing intermediate container 177419293c22 02:27:12 ---> 1e44d20fdc7f 02:27:12 Step 8/24 : COPY . . 02:27:12 ---> 6c11ae33a3b0 02:27:12 Step 9/24 : RUN ${MAKE} 02:27:12 ---> Running in 82a9133b018f 02:27:13 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 02:27:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:27:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:27:23 Removing intermediate container 82a9133b018f 02:27:23 ---> 80f57ae9464b 02:27:23 Step 10/24 : FROM scratch 02:27:23 ---> 02:27:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:27:23 ---> Running in 3214cee4755f 02:27:23 Removing intermediate container 3214cee4755f 02:27:23 ---> 4e0ada59b910 02:27:23 Step 12/24 : ENV APP_PORT=49990 02:27:23 ---> Running in f8a59fe561a1 02:27:23 Removing intermediate container f8a59fe561a1 02:27:23 ---> fc979716b4a8 02:27:23 Step 13/24 : EXPOSE $APP_PORT 02:27:23 ---> Running in 4dbd05d54ae2 02:27:23 Removing intermediate container 4dbd05d54ae2 02:27:23 ---> fcb684d1bd60 02:27:23 Step 14/24 : WORKDIR / 02:27:24 ---> Running in 7ecc41746988 02:27:24 Removing intermediate container 7ecc41746988 02:27:24 ---> 76c42e9e29f3 02:27:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:27:24 ---> ae2ed057ea98 02:27:24 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:27:25 ---> ede843fbbe27 02:27:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:27:25 ---> 81fe4aed7c3c 02:27:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:27:25 ---> 4f5595d98014 02:27:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:27:25 ---> 3019d4bb78de 02:27:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:27:25 ---> Running in 27a83abfd9b5 02:27:26 Removing intermediate container 27a83abfd9b5 02:27:26 ---> 9bd907e6ed06 02:27:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:27:26 ---> Running in 47df9457cc8f 02:27:26 Removing intermediate container 47df9457cc8f 02:27:26 ---> b73749fbb609 02:27:26 Step 22/24 : LABEL arch=amd64 02:27:26 ---> Running in f6f9ca0126a8 02:27:26 Removing intermediate container f6f9ca0126a8 02:27:26 ---> 1568c2dc844a 02:27:26 Step 23/24 : LABEL git_sha=2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e 02:27:26 ---> Running in 95c4c076d331 02:27:26 Removing intermediate container 95c4c076d331 02:27:26 ---> 95ea3e2a1496 02:27:26 Step 24/24 : LABEL version=0.0.0 02:27:26 ---> Running in 705ede8f3a94 02:27:26 Removing intermediate container 705ede8f3a94 02:27:26 ---> bd9633c5fdae 02:27:26 [Warning] One or more build-args [ARCH] were not consumed 02:27:26 Successfully built bd9633c5fdae 02:27:26 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] } 02:27:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:27:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:27:58 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:27:58 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.134s coverage: 21.6% of statements 02:28:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.182s coverage: 97.1% of statements 02:28:32 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.118s coverage: 9.4% of statements 02:28:32 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 02:28:32 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:28:32 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.587s coverage: 39.5% of statements 02:28:32 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:28:32 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.723s coverage: 65.4% of statements 02:28:32 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:28:32 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:28:32 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:28:32 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:28:32 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 52.6% of statements 02:28:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:28:32 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.626s coverage: 68.9% of statements 02:28:32 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:28:32 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:28:32 GO111MODULE=on go vet ./... 02:28:59 gofmt -l . 02:28:59 [ "`gofmt -l .`" = "" ] 02:28:59 ./bin/test-attribution-txt.sh 02:28:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:28:59 Warning: overwriting stash ‘coverage-report’ 02:29:00 Stashed 1 file(s) [Pipeline] } 02:29:00 $ docker stop --time=1 d07874ce4b9f0ce4cbe056422cfbc154920d03a1e29fb93b9aebaf3006e54c7d 02:29:03 $ docker rm -f d07874ce4b9f0ce4cbe056422cfbc154920d03a1e29fb93b9aebaf3006e54c7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:29:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:29:05 + ls -al . 02:29:05 total 232 02:29:05 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 02:28 . 02:29:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:24 .. 02:29:05 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:24 .dockerignore 02:29:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:25 .git 02:29:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:24 .github 02:29:05 -rw-rw-r-- 1 jenkins jenkins 138 Oct 2 02:24 .gitignore 02:29:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:25 .semver 02:29:05 -rw-rw-r-- 1 jenkins jenkins 936 Oct 2 02:24 Dockerfile.build 02:29:05 -rw-rw-r-- 1 jenkins jenkins 785 Oct 2 02:24 Jenkinsfile 02:29:05 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:24 LICENSE 02:29:05 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 2 02:24 Makefile 02:29:05 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 2 02:24 README.md 02:29:05 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 2 02:24 RELEASE-NOTES.txt 02:29:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 02:20 VERSION 02:29:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:24 bin 02:29:05 -rw-r--r-- 1 jenkins jenkins 111041 Oct 2 02:28 coverage.out 02:29:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:24 example 02:29:05 -rw-r--r-- 1 jenkins jenkins 517 Oct 2 02:28 go.mod 02:29:05 -rw-r--r-- 1 jenkins jenkins 13652 Oct 2 02:28 go.sum 02:29:05 drwxrwxr-x 15 jenkins jenkins 4096 Oct 2 02:24 internal 02:29:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:24 openapi 02:29:05 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:24 pkg 02:29:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:24 snap 02:29:05 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:24 version.go [Pipeline] isUnix [Pipeline] sh 02:29:05 + 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=2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e --label arch=arm64 --label version=0.0.0 . 02:29:06 Sending build context to Docker daemon 3.533MB 02:29:06 Step 1/24 : ARG BASE=golang:1.15-alpine 02:29:06 Step 2/24 : FROM ${BASE} AS builder 02:29:06 ---> b3d496b92089 02:29:06 Step 3/24 : ARG MAKE='make build' 02:29:06 ---> Running in 0f9c8f7e5151 02:29:07 Removing intermediate container 0f9c8f7e5151 02:29:07 ---> a8ad43f7f59a 02:29:07 Step 4/24 : WORKDIR /device-sdk-go 02:29:07 ---> Running in 04101275eb73 02:29:07 Removing intermediate container 04101275eb73 02:29:07 ---> 3eca39ab0182 02:29:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:29:07 ---> Running in 740c51dae9ff 02:29:08 Removing intermediate container 740c51dae9ff 02:29:08 ---> 45cc3639634f 02:29:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:29:08 ---> Running in 1f94c6b4305a 02:29:10 Removing intermediate container 1f94c6b4305a 02:29:10 ---> 642a98a7efc7 02:29:10 Step 7/24 : RUN apk add --update --no-cache make git 02:29:10 ---> Running in 27b736df45ba 02:29:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:29:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:29:29 OK: 142 MiB in 39 packages 02:29:29 Removing intermediate container 27b736df45ba 02:29:29 ---> fde7fc30ac71 02:29:29 Step 8/24 : COPY . . 02:29:30 ---> 57eb70302209 02:29:30 Step 9/24 : RUN ${MAKE} 02:29:30 ---> Running in af8990d1a036 02:29:31 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 02:29:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:29:57 Removing intermediate container af8990d1a036 02:29:57 ---> 3e87d467734e 02:29:57 Step 10/24 : FROM scratch 02:29:57 ---> 02:29:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:29:57 ---> Running in f4f4f1635f6a 02:29:57 Removing intermediate container f4f4f1635f6a 02:29:57 ---> dc92fe94ef58 02:29:57 Step 12/24 : ENV APP_PORT=49990 02:29:57 ---> Running in ec49c13ff80f 02:29:57 Removing intermediate container ec49c13ff80f 02:29:57 ---> a9f41f6a28b9 02:29:57 Step 13/24 : EXPOSE $APP_PORT 02:29:58 ---> Running in c050268a7f62 02:29:58 Removing intermediate container c050268a7f62 02:29:58 ---> 3cf31e64dcdc 02:29:58 Step 14/24 : WORKDIR / 02:29:58 ---> Running in e4d53c18dda7 02:29:59 Removing intermediate container e4d53c18dda7 02:29:59 ---> b2f39ee41341 02:29:59 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:30:00 ---> 2dfe815f6715 02:30:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:30:01 ---> bf052afc706a 02:30:01 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:30:01 ---> 64b8623a9c2d 02:30:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:30:02 ---> 377ed245a9ee 02:30:02 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:30:03 ---> 9b2cb48bd963 02:30:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:30:03 ---> Running in 01e5b7aedae5 02:30:03 Removing intermediate container 01e5b7aedae5 02:30:03 ---> 7b32b37c4bf8 02:30:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:30:03 ---> Running in 6da06686ae83 02:30:04 Removing intermediate container 6da06686ae83 02:30:04 ---> 85dd9ea0162e 02:30:04 Step 22/24 : LABEL arch=arm64 02:30:04 ---> Running in d2d6d4b023bb 02:30:05 Removing intermediate container d2d6d4b023bb 02:30:05 ---> 1c81884c4627 02:30:05 Step 23/24 : LABEL git_sha=2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e 02:30:05 ---> Running in 5856b628424e 02:30:05 Removing intermediate container 5856b628424e 02:30:05 ---> 10959b219ee6 02:30:05 Step 24/24 : LABEL version=0.0.0 02:30:05 ---> Running in 1063188ed7eb 02:30:06 Removing intermediate container 1063188ed7eb 02:30:06 ---> 434822ab73be 02:30:06 [Warning] One or more build-args [ARCH] were not consumed 02:30:06 Successfully built 434822ab73be 02:30:06 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 02:30:09 provisioning config files... 02:30:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-607@tmp/config6280900136796996387tmp [Pipeline] { [Pipeline] sh 02:30:10 + set +x 02:30:10 + curl -s https://codecov.io/bash 02:30:10 + bash -s -- 02:30:10 02:30:10 _____ _ 02:30:10 / ____| | | 02:30:10 | | ___ __| | ___ ___ _____ __ 02:30:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:30:10 | |___| (_) | (_| | __/ (_| (_) \ V / 02:30:10 \_____\___/ \__,_|\___|\___\___/ \_/ 02:30:10 Bash-20200917-4e8f14b 02:30:10 02:30:10 02:30:10 ==> Jenkins CI detected. 02:30:10 project root: . 02:30:10 --> token set from env 02:30:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:30:10 ==> Running gcov in . (disable via -X gcov) 02:30:10 ==> Python coveragepy not found 02:30:10 ==> Searching for coverage reports in: 02:30:10 + . 02:30:10 -> Found 1 reports 02:30:10 ==> Detecting git/mercurial file structure 02:30:10 ==> Reading reports 02:30:10 + ./coverage.out bytes=111041 02:30:10 ==> Appending adjustments 02:30:10 https://docs.codecov.io/docs/fixing-reports 02:30:10 + Found adjustments 02:30:10 ==> Gzipping contents 02:30:10 ==> Uploading reports 02:30:10 url: https://codecov.io 02:30:10 query: branch=PR-607&commit=2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-607%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=607&job=&cmd_args= 02:30:10 -> Pinging Codecov 02:30:10 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-607&commit=2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-607%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=607&job=&cmd_args= 02:30:11 -> Uploading to 02:30:11 https://storage.googleapis.com/codecov/v4/raw/2020-10-02/7E55EF52A471D76F132DFD9A03CDDE97/2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e/8d1d2791-0587-49b2-b8a3-0e325209b035.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201002%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201002T023011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0cd9a869d3109f6cb4e7bb84b239395c616840a30591357ab6320b2780655b18 02:30:11 % Total % Received % Xferd Average Speed Time Time Time Current 02:30:11 Dload Upload Total Spent Left Speed 02:30:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18330 0 0 100 18330 0 48037 --:--:-- --:--:-- --:--:-- 48110 02:30:11 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2dce0fd9a06ed6aefec1791ba70c0a6c3d95853e [Pipeline] } 02:30:11 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 02:30:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:30:15 ---> package-listing.sh 02:30:15 ++ facter osfamily 02:30:15 ++ tr '[:upper:]' '[:lower:]' 02:30:15 + OS_FAMILY=redhat 02:30:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-607 02:30:15 + START_PACKAGES=/tmp/packages_start.txt 02:30:15 + END_PACKAGES=/tmp/packages_end.txt 02:30:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:30:15 + PACKAGES=/tmp/packages_start.txt 02:30:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-607 ']' 02:30:15 + PACKAGES=/tmp/packages_end.txt 02:30:15 + case "${OS_FAMILY}" in 02:30:15 + rpm -qa 02:30:15 + sort 02:30:20 + '[' -f /tmp/packages_start.txt ']' 02:30:20 + '[' -f /tmp/packages_end.txt ']' 02:30:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:30:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-607 ']' 02:30:20 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-607/archives/ 02:30:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-607/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:20 provisioning config files... 02:30:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-607@tmp/config6181954184187589442tmp [Pipeline] { [Pipeline] echo 02:30:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:30:20 ---> create-netrc.sh [Pipeline] } 02:30:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:30:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:30:21 ---> python-tools-install.sh 02:30:21 Generating Requirements File 02:31:43 Python 3.6.8 02:31:43 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:31:43 aiohttp==3.6.2 02:31:43 appdirs==1.4.3 02:31:43 argcomplete==1.12.1 02:31:43 aspy.yaml==1.3.0 02:31:43 async-timeout==3.0.1 02:31:43 attrs==19.3.0 02:31:43 Babel==2.8.0 02:31:43 beautifulsoup4==4.8.2 02:31:43 boto3==1.11.6 02:31:43 botocore==1.14.6 02:31:43 bs4==0.0.1 02:31:43 cachetools==4.1.1 02:31:43 certifi==2019.11.28 02:31:43 cffi==1.14.3 02:31:43 cfgv==2.0.1 02:31:43 chardet==3.0.4 02:31:43 click==7.1 02:31:43 cliff==3.4.0 02:31:43 cmd2==1.3.11 02:31:43 colorama==0.4.3 02:31:43 cryptography==3.1.1 02:31:43 debtcollector==2.2.0 02:31:43 decorator==4.4.2 02:31:43 defusedxml==0.6.0 02:31:43 Deprecated==1.2.7 02:31:43 distlib==0.3.1 02:31:43 distro==1.2.0 02:31:43 dnspython==1.16.0 02:31:43 docker==4.2.0 02:31:43 docutils==0.15.2 02:31:43 dogpile.cache==1.0.2 02:31:43 email-validator==1.0.5 02:31:43 filelock==3.0.12 02:31:43 future==0.18.2 02:31:43 google-auth==1.22.0 02:31:43 httplib2==0.17.0 02:31:43 identify==1.4.11 02:31:43 idna==2.9 02:31:43 idna-ssl==1.1.0 02:31:43 importlib-metadata==1.7.0 02:31:43 importlib-resources==1.5.0 02:31:43 iso8601==0.1.13 02:31:43 Jinja2==2.11.1 02:31:43 jmespath==0.10.0 02:31:43 jsonpatch==1.26 02:31:43 jsonpointer==2.0 02:31:43 jsonschema==3.2.0 02:31:43 keystoneauth1==4.2.1 02:31:43 kubernetes==11.0.0 02:31:43 lftools==0.34.2 02:31:43 lxml==4.5.0 02:31:43 MarkupSafe==0.23 02:31:43 msgpack==1.0.0 02:31:43 multi-key-dict==2.0.3 02:31:43 multidict==4.7.6 02:31:43 munch==2.5.0 02:31:43 netaddr==0.8.0 02:31:43 netifaces==0.10.9 02:31:43 niet==1.4.2 02:31:43 nodeenv==1.3.5 02:31:43 oauth2client==4.1.3 02:31:43 oauthlib==3.1.0 02:31:43 openstacksdk==0.50.0 02:31:43 os-client-config==2.1.0 02:31:43 os-service-types==1.7.0 02:31:43 osc-lib==2.2.1 02:31:43 oslo.config==8.3.2 02:31:43 oslo.context==3.1.1 02:31:43 oslo.i18n==5.0.1 02:31:43 oslo.log==4.4.0 02:31:43 oslo.serialization==4.0.1 02:31:43 oslo.utils==4.6.0 02:31:43 packaging==20.4 02:31:43 pbr==5.4.4 02:31:43 pluggy==0.13.1 02:31:43 prettytable==0.7.2 02:31:43 py==1.9.0 02:31:43 pyasn1==0.4.8 02:31:43 pyasn1-modules==0.2.8 02:31:43 pycparser==2.20 02:31:43 pygerrit2==2.0.10 02:31:43 PyGithub==1.46 02:31:43 pyinotify==0.9.6 02:31:43 PyJWT==1.7.1 02:31:43 pyparsing==2.4.7 02:31:43 pyperclip==1.8.0 02:31:43 pyroute2==0.4.13 02:31:43 pyrsistent==0.15.7 02:31:43 PySocks==1.6.8 02:31:43 python-cinderclient==7.2.0 02:31:43 python-dateutil==2.8.1 02:31:43 python-heatclient==2.2.1 02:31:43 python-jenkins==1.7.0 02:31:43 python-keystoneclient==4.1.1 02:31:43 python-magnumclient==3.2.1 02:31:43 python-novaclient==17.2.1 02:31:43 python-openstackclient==5.3.1 02:31:43 python-swiftclient==3.10.1 02:31:43 pytz==2020.1 02:31:43 PyYAML==5.3 02:31:43 requests==2.23.0 02:31:43 requests-oauthlib==1.3.0 02:31:43 requestsexceptions==1.4.0 02:31:43 rfc3986==1.4.0 02:31:43 rpm==4.11.3 02:31:43 rsa==4.0 02:31:43 ruamel.yaml==0.16.10 02:31:43 ruamel.yaml.clib==0.2.0 02:31:43 s3transfer==0.3.3 02:31:43 shade==1.27.2 02:31:43 simplejson==3.17.2 02:31:43 six==1.14.0 02:31:43 soupsieve==2.0 02:31:43 stevedore==3.2.2 02:31:43 tabulate==0.8.6 02:31:43 toml==0.10.0 02:31:43 tox==3.20.0 02:31:43 tqdm==4.43.0 02:31:43 typing-extensions==3.7.4.3 02:31:43 urllib3==1.25.8 02:31:43 virtualenv==20.0.32 02:31:43 wcwidth==0.2.5 02:31:43 websocket-client==0.57.0 02:31:43 wrapt==1.12.1 02:31:43 xdg==3.0.2 02:31:43 xmltodict==0.12.0 02:31:43 yarl==1.6.0 02:31:43 yq==2.11.1 02:31:43 zipp==3.2.0 02:31:43 Cache entry deserialization failed, entry ignored 02:31:43 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. 02:31:46 Python 2.7.5 02:31:46 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:31:46 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. 02:31:46 ansible==2.9.7 02:31:46 Babel==0.9.6 02:31:46 backports.ssl-match-hostname==3.5.0.1 02:31:46 beautifulsoup4==4.4.1 02:31:46 bodhi==2.11.0 02:31:46 bodhi-client==2.11.0 02:31:46 CCColUtils==1.4 02:31:46 cffi==1.6.0 02:31:46 chardet==2.2.1 02:31:46 click==6.7 02:31:46 cloud-init==18.5 02:31:46 configobj==4.7.2 02:31:46 cryptography==1.7.2 02:31:46 decorator==3.4.0 02:31:46 distro==1.2.0 02:31:46 enum34==1.0.4 02:31:46 fedpkg==1.38 02:31:46 futures==3.1.1 02:31:46 gitdb==0.6.4 02:31:46 GitPython==1.0.1 02:31:46 html5lib==0.999 02:31:46 httplib2==0.9.2 02:31:46 idna==2.4 02:31:46 iniparse==0.4 02:31:46 ipaddress==1.0.16 02:31:46 IPy==0.75 02:31:46 javapackages==1.0.0 02:31:46 Jinja2==2.7.2 02:31:46 jmespath==0.9.4 02:31:46 jsonpatch==1.2 02:31:46 jsonpointer==1.9 02:31:46 kerberos==1.1 02:31:46 kitchen==1.1.1 02:31:46 langtable==0.0.31 02:31:46 lockfile==0.9.1 02:31:46 lxml==3.2.1 02:31:46 MarkupSafe==0.11 02:31:46 munch==2.0.2 02:31:46 offtrac==0.1.0 02:31:46 openidc-client==0.6.0 02:31:46 packagedb-cli==2.14.1 02:31:46 paramiko==2.1.1 02:31:46 perf==0.1 02:31:46 ply==3.4 02:31:46 policycoreutils-default-encoding==0.1 02:31:46 prettytable==0.7.2 02:31:46 pyasn1==0.1.9 02:31:46 pycparser==2.14 02:31:46 pycurl==7.19.0 02:31:46 pygobject==3.22.0 02:31:46 pygpgme==0.3 02:31:46 pyliblzma==0.5.3 02:31:46 pyOpenSSL==0.13.1 02:31:46 pyparsing==1.5.6 02:31:46 pyserial==2.6 02:31:46 python-augeas==0.5.0 02:31:46 python-bugzilla==2.3.0 02:31:46 python-dateutil==1.5 02:31:46 python-fedora==0.10.0 02:31:46 python-linux-procfs==0.4.9 02:31:46 python-yubico==1.2.3 02:31:46 pyudev==0.15 02:31:46 pyusb==1.0.0b1 02:31:46 pyxattr==0.5.1 02:31:46 PyYAML==3.10 02:31:46 requests==2.6.0 02:31:46 requests-kerberos==0.7.0 02:31:46 rpkg==1.60 02:31:46 schedutils==0.4 02:31:46 seobject==0.1 02:31:46 sepolicy==1.1 02:31:46 six==1.9.0 02:31:46 smmap==0.9.0 02:31:46 urlgrabber==3.10 02:31:46 urllib3==1.10.2 02:31:46 virtualenv==15.1.0 02:31:46 yum-langpacks==0.4.2 02:31:46 yum-metadata-parser==1.1.4 [Pipeline] echo 02:31:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:31:47 ---> sudo-logs.sh 02:31:47 Archiving 'sudo' log.. [Pipeline] echo 02:31:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:31:47 ---> job-cost.sh 02:31:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-36yt 02:31:57 Cache entry deserialization failed, entry ignored 02:31:57 Cache entry deserialization failed, entry ignored 02:31:57 Cache entry deserialization failed, entry ignored 02:31:57 Cache entry deserialization failed, entry ignored 02:31:57 Cache entry deserialization failed, entry ignored 02:31:58 Cache entry deserialization failed, entry ignored 02:31:58 Cache entry deserialization failed, entry ignored 02:31:58 Cache entry deserialization failed, entry ignored 02:31:58 Cache entry deserialization failed, entry ignored 02:31:58 Cache entry deserialization failed, entry ignored 02:31:58 Cache entry deserialization failed, entry ignored 02:31:58 Cache entry deserialization failed, entry ignored 02:32:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:32:30 lf-activate-venv(): INFO: Adding /tmp/venv-36yt/bin to PATH 02:32:30 INFO: No Stack... 02:32:30 INFO: Retrieving Pricing Info for: v1-standard-2 02:32:30 INFO: Archiving Costs [Pipeline] echo 02:32:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:32:31 ---> logs-deploy.sh 02:32:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-607/1 02:32:31 INFO: archiving workspace using pattern(s): 02:32:33 Archives upload complete. 02:32:33 INFO: archiving logs to Nexus