Pull request #605 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e195a974d22094be0b338e2aaad815c4000e728c+833c05b782f270c396ee40879762f076aaf9331e (c71cb0dd0618fae390da629395402e4e038a34f3) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4121 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # 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 833c05b782f270c396ee40879762f076aaf9331e into PR head commit e195a974d22094be0b338e2aaad815c4000e728c Merge succeeded, producing e195a974d22094be0b338e2aaad815c4000e728c Checking out Revision e195a974d22094be0b338e2aaad815c4000e728c (PR-605) > 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # 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 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 Commit message: "feat(sdk): update POST/PUT request body to use v2dto" > git rev-list --no-walk 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:41:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:41:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:41:37 ========================================================= 04:41:37 EdgeX Global Pipelines Version Info 04:41:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:41:39 ------------------- 04:41:39 stable info: 04:41:39 ------------------- 04:41:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:41:39 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 04:41:39 Message: update stable to v1.0.131 04:41:40 ------------------- 04:41:40 experimental info: 04:41:40 ------------------- 04:41:40 Commited By: **** collab-it+edgex@linuxfoundation.org 04:41:40 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 04:41:40 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 04:41:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:41:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:41:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:41:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:41:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:41:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo 04:41:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo 04:41:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo 04:41:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e195a974d22094be0b338e2aaad815c4000e728c [Pipeline] echo 04:41:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e195a97 [Pipeline] echo 04:41:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:41:45 + git log --format=format:%s -1 e195a974d22094be0b338e2aaad815c4000e728c [Pipeline] echo 04:41:45 GIT_COMMIT: e195a974d22094be0b338e2aaad815c4000e728c, Commit Message: feat(sdk): update POST/PUT request body to use v2dto [Pipeline] echo 04:41:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:41:45 04:41:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:41:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:41:46 latest: Pulling from edgex-devops/git-semver 04:41:46 31603596830f: Pulling fs layer 04:41:46 2a8b12db71e7: Pulling fs layer 04:41:46 6ca5941a6612: Pulling fs layer 04:41:46 ecc8261a40a4: Pulling fs layer 04:41:46 ecc8261a40a4: Waiting 04:41:46 2a8b12db71e7: Verifying Checksum 04:41:46 2a8b12db71e7: Download complete 04:41:46 31603596830f: Verifying Checksum 04:41:46 31603596830f: Download complete 04:41:46 ecc8261a40a4: Verifying Checksum 04:41:46 ecc8261a40a4: Download complete 04:41:46 6ca5941a6612: Verifying Checksum 04:41:46 6ca5941a6612: Download complete 04:41:46 31603596830f: Pull complete 04:41:47 2a8b12db71e7: Pull complete 04:41:48 6ca5941a6612: Pull complete 04:41:48 ecc8261a40a4: Pull complete 04:41:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:41:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:41:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:41:48 prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container 04:41:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:41:50 $ docker top db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:50 [ssh-agent] Looking for ssh-agent implementation... 04:41:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:50 $ docker exec db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f ssh-agent 04:41:50 SSH_AUTH_SOCK=/tmp/ssh-HWJPflaFp77l/agent.11 04:41:50 SSH_AGENT_PID=16 04:41:51 Running ssh-add (command line suppressed) 04:41:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2721166004412212754.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2721166004412212754.key) 04:41:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:51 + git describe --exact-match --tags HEAD 04:41:51 fatal: no tag exactly matches 'e195a974d22094be0b338e2aaad815c4000e728c' [Pipeline] } 04:41:51 $ docker exec --env ******** --env ******** db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f ssh-agent -k 04:41:51 unset SSH_AUTH_SOCK; 04:41:51 unset SSH_AGENT_PID; 04:41:51 echo Agent pid 16 killed; 04:41:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:41:51 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:41:51 This usually means this commit has not been tagged. [Pipeline] sshagent 04:41:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:52 [ssh-agent] Looking for ssh-agent implementation... 04:41:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:52 $ docker exec db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f ssh-agent 04:41:52 SSH_AUTH_SOCK=/tmp/ssh-vOTiiPBmIWAj/agent.44 04:41:52 SSH_AGENT_PID=50 04:41:52 Running ssh-add (command line suppressed) 04:41:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6445043707368745352.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6445043707368745352.key) 04:41:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:52 + git semver init 04:41:52 # -> Open(): unable to determine branch for HEAD 04:41:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git 04:41:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 04:41:52 # $SEMVER_REMOTE_NAME = origin 04:41:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:41:52 # $SEMVER_USER_NAME = edgex-jenkins 04:41:52 # $SEMVER_BRANCH = PR-605 04:41:52 # $SEMVER_TEMP = /tmp/semver-290648432 04:41:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:41:53 # '/tmp/semver-290648432' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' 04:41:53 # -> Force: false 04:41:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } 04:41:53 $ docker exec --env ******** --env ******** db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f ssh-agent -k 04:41:53 unset SSH_AUTH_SOCK; 04:41:53 unset SSH_AGENT_PID; 04:41:53 echo Agent pid 50 killed; 04:41:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:54 + git semver [Pipeline] } 04:41:54 $ docker stop --time=1 db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f 04:41:55 $ docker rm -f db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:41:56 Stashed 46 file(s) [Pipeline] echo 04:41:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 04:41:56 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 04:42:11 Still waiting to schedule task 04:42:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:42:11 Still waiting to schedule task 04:42:11 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:44:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4122 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 04:44:05 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 04:44:10 using credential edgex-jenkins-ssh 04:44:10 Cloning the remote Git repository 04:44:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:44:10 > git init /w/workspace/device-sdk-go/9 # timeout=10 04:44:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:44:11 > git --version # timeout=10 04:44:11 > git --version # 'git version 2.17.1' 04:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:44:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:44:12 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit e195a974d22094be0b338e2aaad815c4000e728c 04:44:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:44:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:44:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:44:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:44:12 using GIT_SSH to set credentials SSH Credentials for GitHub 04:44:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:44:12 > git config core.sparsecheckout # timeout=10 04:44:12 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 04:44:13 Merge succeeded, producing e195a974d22094be0b338e2aaad815c4000e728c 04:44:13 Checking out Revision e195a974d22094be0b338e2aaad815c4000e728c (PR-605) 04:44:13 > git remote # timeout=10 04:44:13 > git config --get remote.origin.url # timeout=10 04:44:13 using GIT_SSH to set credentials SSH Credentials for GitHub 04:44:13 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 04:44:13 > git rev-parse HEAD^{commit} # timeout=10 04:44:13 > git config core.sparsecheckout # timeout=10 04:44:13 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 04:44:17 Commit message: "feat(sdk): update POST/PUT request body to use v2dto" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:44:18 ========================================================= 04:44:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:44:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:44:19 + 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 . 04:44:20 Sending build context to Docker daemon 3.546MB 04:44:20 Step 1/8 : ARG BASE=golang:1.15-alpine 04:44:20 Step 2/8 : FROM ${BASE} 04:44:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:44:21 b538f80385f9: Pulling fs layer 04:44:21 74f711af9a0d: Pulling fs layer 04:44:21 99f96fe45779: Pulling fs layer 04:44:21 8529a6b9a6be: Pulling fs layer 04:44:21 45590311c82a: Pulling fs layer 04:44:21 69ca0ff8b7b3: Pulling fs layer 04:44:21 209524e5b208: Pulling fs layer 04:44:21 8529a6b9a6be: Waiting 04:44:21 45590311c82a: Waiting 04:44:21 69ca0ff8b7b3: Waiting 04:44:21 209524e5b208: Waiting 04:44:21 99f96fe45779: Verifying Checksum 04:44:21 99f96fe45779: Download complete 04:44:21 74f711af9a0d: Verifying Checksum 04:44:21 74f711af9a0d: Download complete 04:44:21 45590311c82a: Verifying Checksum 04:44:21 45590311c82a: Download complete 04:44:21 69ca0ff8b7b3: Verifying Checksum 04:44:21 b538f80385f9: Verifying Checksum 04:44:21 b538f80385f9: Download complete 04:44:22 b538f80385f9: Pull complete 04:44:22 74f711af9a0d: Pull complete 04:44:23 99f96fe45779: Pull complete 04:44:24 209524e5b208: Download complete 04:44:25 8529a6b9a6be: Verifying Checksum 04:44:25 8529a6b9a6be: Download complete 04:44:37 8529a6b9a6be: Pull complete 04:44:37 45590311c82a: Pull complete 04:44:37 69ca0ff8b7b3: Pull complete 04:44:40 209524e5b208: Pull complete 04:44:40 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 04:44:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:44:40 ---> 5bddaf1c2fca 04:44:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:44:43 ---> Running in df83871a2826 04:44:43 Removing intermediate container df83871a2826 04:44:43 ---> da6ac90763c9 04:44:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:44:43 ---> Running in d8c5643fb55c 04:44:46 Removing intermediate container d8c5643fb55c 04:44:46 ---> c4c308f1dd3f 04:44:46 Step 5/8 : RUN apk add --no-cache make git 04:44:46 ---> Running in 775d3947abad 04:44:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:44:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:44:49 OK: 142 MiB in 39 packages 04:44:50 Removing intermediate container 775d3947abad 04:44:50 ---> bcd1e640a40a 04:44:50 Step 6/8 : WORKDIR /device-sdk-go 04:44:50 ---> Running in a17001e638a2 04:44:51 Removing intermediate container a17001e638a2 04:44:51 ---> 99b0680de4bf 04:44:51 Step 7/8 : COPY . . 04:44:52 ---> fb31f3907339 04:44:52 Step 8/8 : RUN go mod download 04:44:53 ---> Running in c8f424a30e4c 04:45:15 Removing intermediate container c8f424a30e4c 04:45:15 ---> 6dde9f692c31 04:45:15 Successfully built 6dde9f692c31 04:45:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:45:15 + docker inspect -f . ci-base-image-arm64 04:45:15 . [Pipeline] withDockerContainer 04:45:16 prd-ubuntu18.04-docker-arm64-4c-16g-4122 does not seem to be running inside a container 04:45:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:45:16 Running on prd-centos7-docker-4c-2g-4124 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 04:45:18 $ docker top db001f9fa0b4f12c1cc49f95170ebad6b874c5e331cd44c2f071460ce20d5a2e -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 04:45:18 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 04:45:19 + go version 04:45:19 go version go1.15.2 linux/arm64 [Pipeline] } 04:45:19 $ docker stop --time=1 db001f9fa0b4f12c1cc49f95170ebad6b874c5e331cd44c2f071460ce20d5a2e 04:45:20 using credential edgex-jenkins-ssh 04:45:21 Cloning the remote Git repository 04:45:21 $ docker rm -f db001f9fa0b4f12c1cc49f95170ebad6b874c5e331cd44c2f071460ce20d5a2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 04:45:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:45:21 > git init /w/workspace/device-sdk-go/9 # timeout=10 04:45:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:45:21 > git --version # timeout=10 04:45:21 > git --version # 'git version 2.16.5' 04:45:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:45:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:45:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:45:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:45:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:45:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:45:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:45:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:45:22 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit e195a974d22094be0b338e2aaad815c4000e728c 04:45:22 Merge succeeded, producing e195a974d22094be0b338e2aaad815c4000e728c 04:45:22 Checking out Revision e195a974d22094be0b338e2aaad815c4000e728c (PR-605) 04:45:22 + docker inspect -f . ci-base-image-arm64 04:45:22 . [Pipeline] withDockerContainer 04:45:22 prd-ubuntu18.04-docker-arm64-4c-16g-4122 does not seem to be running inside a container 04:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:45:22 > git config core.sparsecheckout # timeout=10 04:45:22 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 04:45:22 > git remote # timeout=10 04:45:22 > git config --get remote.origin.url # timeout=10 04:45:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:45:22 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 04:45:22 > git rev-parse HEAD^{commit} # timeout=10 04:45:22 > git config core.sparsecheckout # timeout=10 04:45:22 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 04:45:24 $ docker top 46d4c99678f0102cf20fb5020d384d383d7672f95232158b5601f5de33019be0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:26 Commit message: "feat(sdk): update POST/PUT request body to use v2dto" 04:45:26 + make test 04:45:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:45:27 ========================================================= 04:45:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:45:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:45:27 + 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 . 04:45:28 Sending build context to Docker daemon 3.547MB 04:45:28 Step 1/8 : ARG BASE=golang:1.15-alpine 04:45:28 Step 2/8 : FROM ${BASE} 04:45:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:45:28 df20fa9351a1: Pulling fs layer 04:45:28 ed8968b2872e: Pulling fs layer 04:45:28 a92cc7c5fd73: Pulling fs layer 04:45:28 e871e8e8d7a9: Pulling fs layer 04:45:28 e73272ec9a57: Pulling fs layer 04:45:28 1e910a182e73: Pulling fs layer 04:45:28 4e634b169226: Pulling fs layer 04:45:28 e73272ec9a57: Waiting 04:45:28 1e910a182e73: Waiting 04:45:28 4e634b169226: Waiting 04:45:28 e871e8e8d7a9: Waiting 04:45:28 a92cc7c5fd73: Download complete 04:45:28 ed8968b2872e: Verifying Checksum 04:45:28 ed8968b2872e: Download complete 04:45:28 e73272ec9a57: Download complete 04:45:28 1e910a182e73: Verifying Checksum 04:45:28 1e910a182e73: Download complete 04:45:28 df20fa9351a1: Verifying Checksum 04:45:28 df20fa9351a1: Download complete 04:45:28 df20fa9351a1: Pull complete 04:45:29 ed8968b2872e: Pull complete 04:45:29 a92cc7c5fd73: Pull complete 04:45:30 4e634b169226: Verifying Checksum 04:45:30 4e634b169226: Download complete 04:45:31 e871e8e8d7a9: Verifying Checksum 04:45:31 e871e8e8d7a9: Download complete 04:45:36 e871e8e8d7a9: Pull complete 04:45:36 e73272ec9a57: Pull complete 04:45:36 1e910a182e73: Pull complete 04:45:40 4e634b169226: Pull complete 04:45:40 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 04:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:45:40 ---> f7629b54cfaa 04:45:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:45:40 ---> Running in 23a7e87787cb 04:45:40 Removing intermediate container 23a7e87787cb 04:45:40 ---> 8f29dbee174a 04:45:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:45:40 ---> Running in 4855b90545e9 04:45:42 Removing intermediate container 4855b90545e9 04:45:42 ---> 5cb5b307a651 04:45:42 Step 5/8 : RUN apk add --no-cache make git 04:45:42 ---> Running in b47000dec84c 04:45:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:45:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:45:44 OK: 166 MiB in 39 packages 04:45:45 Removing intermediate container b47000dec84c 04:45:45 ---> 5c234aaee986 04:45:45 Step 6/8 : WORKDIR /device-sdk-go 04:45:45 ---> Running in b1db9e9ba29b 04:45:45 Removing intermediate container b1db9e9ba29b 04:45:45 ---> d0d14fee77ca 04:45:45 Step 7/8 : COPY . . 04:45:46 ---> 9b6b0bee4e4d 04:45:46 Step 8/8 : RUN go mod download 04:45:46 ---> Running in 073f2f73be7a 04:45:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:46:04 Removing intermediate container 073f2f73be7a 04:46:04 ---> 6557d452a594 04:46:04 Successfully built 6557d452a594 04:46:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:46:05 + docker inspect -f . ci-base-image-x86_64 04:46:05 . [Pipeline] withDockerContainer 04:46:05 prd-centos7-docker-4c-2g-4124 does not seem to be running inside a container 04:46:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:46:06 $ docker top 5053cfbcc8f0c36209949aa3427d1f55f1bd2e860f80f73f763550fa1e7cb10f -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:07 + go version 04:46:07 go version go1.15.2 linux/amd64 [Pipeline] } 04:46:07 $ docker stop --time=1 5053cfbcc8f0c36209949aa3427d1f55f1bd2e860f80f73f763550fa1e7cb10f 04:46:08 $ docker rm -f 5053cfbcc8f0c36209949aa3427d1f55f1bd2e860f80f73f763550fa1e7cb10f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:46:09 + docker inspect -f . ci-base-image-x86_64 04:46:09 . [Pipeline] withDockerContainer 04:46:09 prd-centos7-docker-4c-2g-4124 does not seem to be running inside a container 04:46:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:46:10 $ docker top 345165b74ffee1ece8d2fff2ff15b1df7bd49f34c2697cc570d32fe6fd490221 -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:11 + make test 04:46:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:46:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:46:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:46:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:46:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:46:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.128s coverage: 21.6% of statements 04:46:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:46:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:46:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:46:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.6% of statements 04:46:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.221s coverage: 97.1% of statements 04:46:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.411s coverage: 97.1% of statements 04:47:03 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.117s coverage: 9.4% of statements 04:47:03 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements 04:47:03 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:47:03 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.562s coverage: 42.5% of statements 04:47:03 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:47:03 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.792s coverage: 65.4% of statements 04:47:03 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:47:03 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:47:03 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:47:03 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:47:03 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 52.6% of statements 04:47:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 04:47:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:47:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.907s coverage: 68.9% of statements 04:47:03 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:47:03 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:47:03 GO111MODULE=on go vet ./... 04:47:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements 04:47:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements 04:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:47:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.206s coverage: 42.5% of statements 04:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:47:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.292s coverage: 65.4% of statements 04:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:47:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 52.6% of statements 04:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 04:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:47:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.714s coverage: 68.9% of statements 04:47:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:47:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:47:04 GO111MODULE=on go vet ./... 04:47:11 gofmt -l . 04:47:11 [ "`gofmt -l .`" = "" ] 04:47:11 ./bin/test-attribution-txt.sh 04:47:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:47:11 Stashed 1 file(s) [Pipeline] } 04:47:11 $ docker stop --time=1 345165b74ffee1ece8d2fff2ff15b1df7bd49f34c2697cc570d32fe6fd490221 04:47:13 $ docker rm -f 345165b74ffee1ece8d2fff2ff15b1df7bd49f34c2697cc570d32fe6fd490221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:47:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:47:15 + ls -al . 04:47:15 total 192 04:47:15 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 8 04:47 . 04:47:15 drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 04:45 .. 04:47:15 drwxrwxr-x. 2 jenkins jenkins 64 Oct 8 04:45 bin 04:47:15 -rw-r--r--. 1 jenkins jenkins 111047 Oct 8 04:47 coverage.out 04:47:15 -rw-rw-r--. 1 jenkins jenkins 936 Oct 8 04:45 Dockerfile.build 04:47:15 -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 04:45 .dockerignore 04:47:15 drwxrwxr-x. 4 jenkins jenkins 48 Oct 8 04:45 example 04:47:15 drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 04:45 .git 04:47:15 drwxrwxr-x. 2 jenkins jenkins 60 Oct 8 04:45 .github 04:47:15 -rw-rw-r--. 1 jenkins jenkins 138 Oct 8 04:45 .gitignore 04:47:15 -rw-r--r--. 1 jenkins jenkins 517 Oct 8 04:47 go.mod 04:47:15 -rw-r--r--. 1 jenkins jenkins 13652 Oct 8 04:47 go.sum 04:47:15 drwxrwxr-x. 15 jenkins jenkins 211 Oct 8 04:45 internal 04:47:15 -rw-rw-r--. 1 jenkins jenkins 901 Oct 8 04:45 Jenkinsfile 04:47:15 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 04:45 LICENSE 04:47:15 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 8 04:45 Makefile 04:47:15 drwxrwxr-x. 4 jenkins jenkins 26 Oct 8 04:45 openapi 04:47:15 drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 04:45 pkg 04:47:15 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 8 04:45 README.md 04:47:15 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 8 04:45 RELEASE-NOTES.txt 04:47:15 drwxrwxr-x. 3 jenkins jenkins 58 Oct 8 04:45 .semver 04:47:15 drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 04:45 snap 04:47:15 -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 04:41 VERSION 04:47:15 -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 04:45 version.go [Pipeline] isUnix [Pipeline] sh 04:47: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=e195a974d22094be0b338e2aaad815c4000e728c --label arch=amd64 --label version=0.0.0 . 04:47:16 Sending build context to Docker daemon 3.658MB 04:47:16 Step 1/24 : ARG BASE=golang:1.15-alpine 04:47:16 Step 2/24 : FROM ${BASE} AS builder 04:47:16 ---> 6557d452a594 04:47:16 Step 3/24 : ARG MAKE='make build' 04:47:16 ---> Running in fbc557901ae6 04:47:16 Removing intermediate container fbc557901ae6 04:47:16 ---> 7c0157fe1621 04:47:16 Step 4/24 : WORKDIR /device-sdk-go 04:47:17 ---> Running in 44fcea07c293 04:47:17 Removing intermediate container 44fcea07c293 04:47:17 ---> 51885525ed8d 04:47:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:47:17 ---> Running in f788f4296e00 04:47:17 Removing intermediate container f788f4296e00 04:47:17 ---> 37d4004853f8 04:47:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:47:17 ---> Running in b30258038664 04:47:18 Removing intermediate container b30258038664 04:47:18 ---> 14d41a877106 04:47:18 Step 7/24 : RUN apk add --update --no-cache make git 04:47:18 ---> Running in b5e896eabc54 04:47:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:47:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:47:19 OK: 166 MiB in 39 packages 04:47:20 Removing intermediate container b5e896eabc54 04:47:20 ---> 999059d0e767 04:47:20 Step 8/24 : COPY . . 04:47:21 ---> b68e8ddf95d0 04:47:21 Step 9/24 : RUN ${MAKE} 04:47:21 ---> Running in 2390766ebe27 04:47: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 04:47:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:47:30 gofmt -l . 04:47:30 [ "`gofmt -l .`" = "" ] 04:47:30 ./bin/test-attribution-txt.sh 04:47:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:47:30 Warning: overwriting stash ‘coverage-report’ 04:47:31 Removing intermediate container 2390766ebe27 04:47:31 ---> 2f14e85a42a0 04:47:31 Step 10/24 : FROM scratch 04:47:31 ---> 04:47:31 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:47:31 ---> Running in d547ffaed75f 04:47:31 Removing intermediate container d547ffaed75f 04:47:31 ---> a7607f54dc4b 04:47:31 Step 12/24 : ENV APP_PORT=49990 04:47:31 ---> Running in 8edbfd94673b 04:47:31 Removing intermediate container 8edbfd94673b 04:47:31 ---> e5fbb4366811 04:47:31 Step 13/24 : EXPOSE $APP_PORT 04:47:31 Stashed 1 file(s) [Pipeline] } 04:47:31 $ docker stop --time=1 46d4c99678f0102cf20fb5020d384d383d7672f95232158b5601f5de33019be0 04:47:31 ---> Running in 98ef6f70ba41 04:47:31 Removing intermediate container 98ef6f70ba41 04:47:31 ---> 87671764161c 04:47:31 Step 14/24 : WORKDIR / 04:47:31 ---> Running in 26603afb7242 04:47:31 Removing intermediate container 26603afb7242 04:47:31 ---> 992989a056b4 04:47:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:47:32 ---> fa414dec8373 04:47:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:47:32 ---> db8cf42b0272 04:47:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:47:32 ---> 69296f7d62d6 04:47:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:47:32 ---> b687e90ad980 04:47:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:47:33 ---> fa7556019f5d 04:47:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:47:33 ---> Running in 75ebda907095 04:47:33 Removing intermediate container 75ebda907095 04:47:33 ---> 0354d48ddb65 04:47:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:47:33 ---> Running in d1121f03c358 04:47:33 Removing intermediate container d1121f03c358 04:47:33 ---> 9731bc42724e 04:47:33 Step 22/24 : LABEL arch=amd64 04:47:33 ---> Running in a6765f3c0351 04:47:33 Removing intermediate container a6765f3c0351 04:47:33 ---> 05cde9d7e31b 04:47:33 Step 23/24 : LABEL git_sha=e195a974d22094be0b338e2aaad815c4000e728c 04:47:33 ---> Running in b5c07dda5227 04:47:33 $ docker rm -f 46d4c99678f0102cf20fb5020d384d383d7672f95232158b5601f5de33019be0 04:47:34 Removing intermediate container b5c07dda5227 04:47:34 ---> 15695965c95d 04:47:34 Step 24/24 : LABEL version=0.0.0 04:47:34 ---> Running in 2aedd681f91d 04:47:34 Removing intermediate container 2aedd681f91d 04:47:34 ---> a1c4850312d9 04:47:34 [Warning] One or more build-args [ARCH] were not consumed 04:47:34 Successfully built a1c4850312d9 04:47:34 Successfully tagged docker-device-sdk-simple:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Build) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 04:47:42 + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 04:47:43 + ls -al . 04:47:43 total 232 04:47:43 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 04:47 . 04:47:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:44 .. 04:47:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 04:44 .dockerignore 04:47:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 04:44 .git 04:47:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:44 .github 04:47:43 -rw-rw-r-- 1 jenkins jenkins 138 Oct 8 04:44 .gitignore 04:47:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:44 .semver 04:47:43 -rw-rw-r-- 1 jenkins jenkins 936 Oct 8 04:44 Dockerfile.build 04:47:43 -rw-rw-r-- 1 jenkins jenkins 901 Oct 8 04:44 Jenkinsfile 04:47:43 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 04:44 LICENSE 04:47:43 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 8 04:44 Makefile 04:47:43 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 8 04:44 README.md 04:47:43 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 8 04:44 RELEASE-NOTES.txt 04:47:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 04:41 VERSION 04:47:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:44 bin 04:47:43 -rw-r--r-- 1 jenkins jenkins 111047 Oct 8 04:46 coverage.out 04:47:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:44 example 04:47:43 -rw-r--r-- 1 jenkins jenkins 517 Oct 8 04:47 go.mod 04:47:43 -rw-r--r-- 1 jenkins jenkins 13652 Oct 8 04:47 go.sum 04:47:43 drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 04:44 internal 04:47:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:44 openapi 04:47:43 drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 04:44 pkg 04:47:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:44 snap 04:47:43 -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 04:44 version.go [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 04:47:43 + 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=e195a974d22094be0b338e2aaad815c4000e728c --label arch=arm64 --label version=0.0.0 . 04:47:44 Sending build context to Docker daemon 3.658MB 04:47:44 Step 1/24 : ARG BASE=golang:1.15-alpine 04:47:44 Step 2/24 : FROM ${BASE} AS builder 04:47:44 ---> 6dde9f692c31 04:47:44 Step 3/24 : ARG MAKE='make build' 04:47:44 ---> Running in 8611367d6cb2 04:47:45 Removing intermediate container 8611367d6cb2 04:47:45 ---> 8438d4b50769 04:47:45 Step 4/24 : WORKDIR /device-sdk-go 04:47:45 ---> Running in 5f58b1509b17 04:47:45 Removing intermediate container 5f58b1509b17 04:47:45 ---> 5ab3c0275700 04:47:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:47:45 ---> Running in 83bc9a1c041a 04:47:46 Removing intermediate container 83bc9a1c041a 04:47:46 ---> 291c96fcd575 04:47:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:47:46 ---> Running in 7e58656cb8ff 04:47:49 Removing intermediate container 7e58656cb8ff 04:47:49 ---> db1a90545dc2 04:47:49 Step 7/24 : RUN apk add --update --no-cache make git 04:47:49 ---> Running in e8166a949a9f 04:47:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:47:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:47:51 OK: 142 MiB in 39 packages 04:47:52 Removing intermediate container e8166a949a9f 04:47:52 ---> 9ac5fc01f8dd 04:47:52 Step 8/24 : COPY . . 04:47:54 ---> 5d33463f58f3 04:47:54 Step 9/24 : RUN ${MAKE} 04:47:54 ---> Running in c39f3c90fddc 04:47:55 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 04:48:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:48:22 Removing intermediate container c39f3c90fddc 04:48:22 ---> bc33ec88ac81 04:48:22 Step 10/24 : FROM scratch 04:48:22 ---> 04:48:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:48:22 ---> Running in abf96327f5b5 04:48:22 Removing intermediate container abf96327f5b5 04:48:22 ---> 8cedbc488f02 04:48:22 Step 12/24 : ENV APP_PORT=49990 04:48:22 ---> Running in 2595ca742df6 04:48:23 Removing intermediate container 2595ca742df6 04:48:23 ---> 1451ce957518 04:48:23 Step 13/24 : EXPOSE $APP_PORT 04:48:23 ---> Running in 6f2efe4e3ca8 04:48:23 Removing intermediate container 6f2efe4e3ca8 04:48:23 ---> 24d837348c3f 04:48:23 Step 14/24 : WORKDIR / 04:48:23 ---> Running in 66879271069f 04:48:23 Removing intermediate container 66879271069f 04:48:23 ---> edb53cbfd260 04:48:23 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:48:25 ---> 9dafb20b8074 04:48:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:48:25 ---> 52d4d85367e8 04:48:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:48:26 ---> dd7fd758b50c 04:48:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:48:27 ---> e32750c3341d 04:48:27 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:48:28 ---> e5c64ef85cef 04:48:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:48:28 ---> Running in d5182e08c5c6 04:48:29 Removing intermediate container d5182e08c5c6 04:48:29 ---> 38c64e85e3ba 04:48:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:48:29 ---> Running in d7d4dd28caa8 04:48:29 Removing intermediate container d7d4dd28caa8 04:48:29 ---> 4f3c5e8e047c 04:48:29 Step 22/24 : LABEL arch=arm64 04:48:29 ---> Running in 3bc38a7f72de 04:48:30 Removing intermediate container 3bc38a7f72de 04:48:30 ---> 81c8a1208780 04:48:30 Step 23/24 : LABEL git_sha=e195a974d22094be0b338e2aaad815c4000e728c 04:48:30 ---> Running in f226273ffd4a 04:48:30 Removing intermediate container f226273ffd4a 04:48:30 ---> cd36fda0f8e9 04:48:30 Step 24/24 : LABEL version=0.0.0 04:48:30 ---> Running in 821a17aac310 04:48:31 Removing intermediate container 821a17aac310 04:48:31 ---> a2ab5218fdd3 04:48:31 [Warning] One or more build-args [ARCH] were not consumed 04:48:31 Successfully built a2ab5218fdd3 04:48:31 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 04:48:33 provisioning config files... 04:48:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config4837498580302474902tmp [Pipeline] { [Pipeline] sh 04:48:34 + set +x 04:48:34 + curl -s https://codecov.io/bash 04:48:34 + bash -s -- 04:48:34 04:48:34 _____ _ 04:48:34 / ____| | | 04:48:34 | | ___ __| | ___ ___ _____ __ 04:48:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:48:34 | |___| (_) | (_| | __/ (_| (_) \ V / 04:48:34 \_____\___/ \__,_|\___|\___\___/ \_/ 04:48:34 Bash-20201007-7e25d0a 04:48:34 04:48:34 04:48:34 ==> Jenkins CI detected. 04:48:34 project root: . 04:48:34 --> token set from env 04:48:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:48:34 ==> Running gcov in . (disable via -X gcov) 04:48:34 ==> Python coveragepy not found 04:48:34 ==> Searching for coverage reports in: 04:48:34 + . 04:48:34 -> Found 1 reports 04:48:34 ==> Detecting git/mercurial file structure 04:48:34 ==> Reading reports 04:48:34 + ./coverage.out bytes=111047 04:48:34 ==> Appending adjustments 04:48:34 https://docs.codecov.io/docs/fixing-reports 04:48:34 + Found adjustments 04:48:34 ==> Gzipping contents 04:48:34 ==> Uploading reports 04:48:34 url: https://codecov.io 04:48:34 query: branch=PR-605&commit=e195a974d22094be0b338e2aaad815c4000e728c&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 04:48:34 -> Pinging Codecov 04:48:34 https://codecov.io/upload/v4?package=bash-20201007-7e25d0a&token=secret&branch=PR-605&commit=e195a974d22094be0b338e2aaad815c4000e728c&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 04:48:35 -> Uploading to 04:48:35 04:48:35 % Total % Received % Xferd Average Speed Time Time Time Current 04:48:35 Dload Upload Total Spent Left Speed 04:48:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 04:48:35 X> Failed to upload 04:48:35 ==> Uploading to Codecov 04:48:35 % Total % Received % Xferd Average Speed Time Time Time Current 04:48:35 Dload Upload Total Spent Left Speed 04:48:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 20013 0 0 100 19903 0 28159 --:--:-- --:--:-- --:--:-- 28151 100 20013 100 110 100 19903 155 28150 --:--:-- --:--:-- --:--:-- 28151 04:48:36 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e195a974d22094be0b338e2aaad815c4000e728c [Pipeline] } 04:48:36 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 04:48:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:48:39 ---> package-listing.sh 04:48:39 ++ facter osfamily 04:48:39 ++ tr '[:upper:]' '[:lower:]' 04:48:39 + OS_FAMILY=redhat 04:48:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 04:48:39 + START_PACKAGES=/tmp/packages_start.txt 04:48:39 + END_PACKAGES=/tmp/packages_end.txt 04:48:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:48:39 + PACKAGES=/tmp/packages_start.txt 04:48:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 04:48:39 + PACKAGES=/tmp/packages_end.txt 04:48:39 + case "${OS_FAMILY}" in 04:48:39 + rpm -qa 04:48:39 + sort 04:48:43 + '[' -f /tmp/packages_start.txt ']' 04:48:43 + '[' -f /tmp/packages_end.txt ']' 04:48:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:48:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 04:48:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ 04:48:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:43 provisioning config files... 04:48:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config7912590943384618281tmp [Pipeline] { [Pipeline] echo 04:48:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:48:44 ---> create-netrc.sh [Pipeline] } 04:48:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:48:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:48:44 ---> python-tools-install.sh 04:48:44 Generating Requirements File 04:50:06 Python 3.6.8 04:50:06 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 04:50:06 appdirs==1.4.3 04:50:06 argcomplete==1.12.1 04:50:06 aspy.yaml==1.3.0 04:50:06 attrs==19.3.0 04:50:06 Babel==2.8.0 04:50:06 beautifulsoup4==4.8.2 04:50:06 boto3==1.11.6 04:50:06 botocore==1.14.6 04:50:06 bs4==0.0.1 04:50:06 cachetools==4.1.1 04:50:06 certifi==2019.11.28 04:50:06 cffi==1.14.3 04:50:06 cfgv==2.0.1 04:50:06 chardet==3.0.4 04:50:06 click==7.1 04:50:06 cliff==3.4.0 04:50:06 cmd2==1.3.11 04:50:06 colorama==0.4.3 04:50:06 cryptography==3.1.1 04:50:06 debtcollector==2.2.0 04:50:06 decorator==4.4.2 04:50:06 defusedxml==0.6.0 04:50:06 Deprecated==1.2.7 04:50:06 distlib==0.3.1 04:50:06 distro==1.2.0 04:50:06 dnspython==1.16.0 04:50:06 docker==4.2.0 04:50:06 docutils==0.15.2 04:50:06 dogpile.cache==1.0.2 04:50:06 email-validator==1.0.5 04:50:06 filelock==3.0.12 04:50:06 future==0.18.2 04:50:06 google-auth==1.22.1 04:50:06 httplib2==0.17.0 04:50:06 identify==1.4.11 04:50:06 idna==2.9 04:50:06 importlib-metadata==1.7.0 04:50:06 importlib-resources==1.5.0 04:50:06 iso8601==0.1.13 04:50:06 Jinja2==2.11.1 04:50:06 jmespath==0.10.0 04:50:06 jsonpatch==1.26 04:50:06 jsonpointer==2.0 04:50:06 jsonschema==3.2.0 04:50:06 keystoneauth1==4.2.1 04:50:06 kubernetes==11.0.0 04:50:06 lftools==0.34.2 04:50:06 lxml==4.5.0 04:50:06 MarkupSafe==0.23 04:50:06 msgpack==1.0.0 04:50:06 multi-key-dict==2.0.3 04:50:06 munch==2.5.0 04:50:06 netaddr==0.8.0 04:50:06 netifaces==0.10.9 04:50:06 niet==1.4.2 04:50:06 nodeenv==1.3.5 04:50:06 oauth2client==4.1.3 04:50:06 oauthlib==3.1.0 04:50:06 openstacksdk==0.50.0 04:50:06 os-client-config==2.1.0 04:50:06 os-service-types==1.7.0 04:50:06 osc-lib==2.2.1 04:50:06 oslo.config==8.3.2 04:50:06 oslo.context==3.1.1 04:50:06 oslo.i18n==5.0.1 04:50:06 oslo.log==4.4.0 04:50:06 oslo.serialization==4.0.1 04:50:06 oslo.utils==4.6.0 04:50:06 packaging==20.4 04:50:06 pbr==5.4.4 04:50:06 pluggy==0.13.1 04:50:06 prettytable==0.7.2 04:50:06 py==1.9.0 04:50:06 pyasn1==0.4.8 04:50:06 pyasn1-modules==0.2.8 04:50:06 pycparser==2.20 04:50:06 pygerrit2==2.0.10 04:50:06 PyGithub==1.46 04:50:06 pyinotify==0.9.6 04:50:06 PyJWT==1.7.1 04:50:06 pyparsing==2.4.7 04:50:06 pyperclip==1.8.0 04:50:06 pyroute2==0.4.13 04:50:06 pyrsistent==0.15.7 04:50:06 PySocks==1.6.8 04:50:06 python-cinderclient==7.2.0 04:50:06 python-dateutil==2.8.1 04:50:06 python-heatclient==2.2.1 04:50:06 python-jenkins==1.7.0 04:50:06 python-keystoneclient==4.1.1 04:50:06 python-magnumclient==3.2.1 04:50:06 python-novaclient==17.2.1 04:50:06 python-openstackclient==5.4.0 04:50:06 python-swiftclient==3.10.1 04:50:06 pytz==2020.1 04:50:06 PyYAML==5.3 04:50:06 requests==2.23.0 04:50:06 requests-oauthlib==1.3.0 04:50:06 requestsexceptions==1.4.0 04:50:06 rfc3986==1.4.0 04:50:06 rpm==4.11.3 04:50:06 rsa==4.0 04:50:06 ruamel.yaml==0.16.10 04:50:06 ruamel.yaml.clib==0.2.0 04:50:06 s3transfer==0.3.3 04:50:06 shade==1.27.2 04:50:06 simplejson==3.17.2 04:50:06 six==1.14.0 04:50:06 soupsieve==2.0 04:50:06 stevedore==3.2.2 04:50:06 tabulate==0.8.6 04:50:06 toml==0.10.0 04:50:06 tox==3.20.0 04:50:06 tqdm==4.43.0 04:50:06 urllib3==1.25.8 04:50:06 virtualenv==20.0.33 04:50:06 wcwidth==0.2.5 04:50:06 websocket-client==0.57.0 04:50:06 wrapt==1.12.1 04:50:06 xdg==3.0.2 04:50:06 xmltodict==0.12.0 04:50:06 yq==2.11.1 04:50:06 zipp==3.3.0 04:50:06 Cache entry deserialization failed, entry ignored 04:50:06 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. 04:50:06 Python 2.7.5 04:50:06 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 04:50:06 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. 04:50:06 ansible==2.9.7 04:50:06 Babel==0.9.6 04:50:06 backports.ssl-match-hostname==3.5.0.1 04:50:06 beautifulsoup4==4.4.1 04:50:06 bodhi==2.11.0 04:50:06 bodhi-client==2.11.0 04:50:06 CCColUtils==1.4 04:50:06 cffi==1.6.0 04:50:06 chardet==2.2.1 04:50:06 click==6.7 04:50:06 cloud-init==18.5 04:50:06 configobj==4.7.2 04:50:06 cryptography==1.7.2 04:50:06 decorator==3.4.0 04:50:06 distro==1.2.0 04:50:06 enum34==1.0.4 04:50:06 fedpkg==1.38 04:50:06 futures==3.1.1 04:50:06 gitdb==0.6.4 04:50:06 GitPython==1.0.1 04:50:06 html5lib==0.999 04:50:06 httplib2==0.9.2 04:50:06 idna==2.4 04:50:06 iniparse==0.4 04:50:06 ipaddress==1.0.16 04:50:06 IPy==0.75 04:50:06 javapackages==1.0.0 04:50:06 Jinja2==2.7.2 04:50:06 jmespath==0.9.4 04:50:06 jsonpatch==1.2 04:50:06 jsonpointer==1.9 04:50:06 kerberos==1.1 04:50:06 kitchen==1.1.1 04:50:06 langtable==0.0.31 04:50:06 lockfile==0.9.1 04:50:06 lxml==3.2.1 04:50:06 MarkupSafe==0.11 04:50:06 munch==2.0.2 04:50:06 offtrac==0.1.0 04:50:06 openidc-client==0.6.0 04:50:06 packagedb-cli==2.14.1 04:50:06 paramiko==2.1.1 04:50:06 perf==0.1 04:50:06 ply==3.4 04:50:06 policycoreutils-default-encoding==0.1 04:50:06 prettytable==0.7.2 04:50:06 pyasn1==0.1.9 04:50:06 pycparser==2.14 04:50:06 pycurl==7.19.0 04:50:06 pygobject==3.22.0 04:50:06 pygpgme==0.3 04:50:06 pyliblzma==0.5.3 04:50:06 pyOpenSSL==0.13.1 04:50:06 pyparsing==1.5.6 04:50:06 pyserial==2.6 04:50:06 python-augeas==0.5.0 04:50:06 python-bugzilla==2.3.0 04:50:06 python-dateutil==1.5 04:50:06 python-fedora==0.10.0 04:50:06 python-linux-procfs==0.4.9 04:50:06 python-yubico==1.2.3 04:50:06 pyudev==0.15 04:50:06 pyusb==1.0.0b1 04:50:06 pyxattr==0.5.1 04:50:06 PyYAML==3.10 04:50:06 requests==2.6.0 04:50:06 requests-kerberos==0.7.0 04:50:06 rpkg==1.60 04:50:06 schedutils==0.4 04:50:06 seobject==0.1 04:50:06 sepolicy==1.1 04:50:06 six==1.9.0 04:50:06 smmap==0.9.0 04:50:06 urlgrabber==3.10 04:50:06 urllib3==1.10.2 04:50:06 virtualenv==15.1.0 04:50:06 yum-langpacks==0.4.2 04:50:06 yum-metadata-parser==1.1.4 [Pipeline] echo 04:50:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:50:06 ---> sudo-logs.sh 04:50:06 Archiving 'sudo' log.. [Pipeline] echo 04:50:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:50:06 ---> job-cost.sh 04:50:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GUUi 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:19 Cache entry deserialization failed, entry ignored 04:50:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:50:55 lf-activate-venv(): INFO: Adding /tmp/venv-GUUi/bin to PATH 04:50:55 INFO: No Stack... 04:50:55 INFO: Retrieving Pricing Info for: v1-standard-2 04:50:55 INFO: Archiving Costs [Pipeline] echo 04:50:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:50:55 ---> logs-deploy.sh 04:50:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/9 04:50:55 INFO: archiving workspace using pattern(s): 04:50:56 Archives upload complete. 04:50:57 INFO: archiving logs to Nexus