Pull request #619 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 553a225e623c154610a2c28b52e31f212a4e8705+153a43e7e060228c1df4c616c423a5b384e52518 (9b027b2fdcca331a3b2cebcace7d753c68a23dc5) 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-4793 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # 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 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 Merge succeeded, producing 553a225e623c154610a2c28b52e31f212a4e8705 Checking out Revision 553a225e623c154610a2c28b52e31f212a4e8705 (PR-619) > 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # 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 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 Commit message: "refactor(sdk): add correlationID in debug message" > git rev-list --no-walk 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:24:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:24:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:24:13 ========================================================= 10:24:13 EdgeX Global Pipelines Version Info 10:24:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:24:15 ------------------- 10:24:15 stable info: 10:24:15 ------------------- 10:24:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:24:15 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 10:24:15 Message: update stable to v1.0.131 10:24:16 ------------------- 10:24:16 experimental info: 10:24:16 ------------------- 10:24:16 Commited By: **** collab-it+edgex@linuxfoundation.org 10:24:16 Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af 10:24:16 Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 10:24:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:24:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:24:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:24:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:24:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:24:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:24:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:24:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:24:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:24:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:24:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:24:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo 10:24:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 553a225e623c154610a2c28b52e31f212a4e8705 [Pipeline] echo 10:24:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 553a225 [Pipeline] echo 10:24:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:21 + git log --format=format:%s -1 553a225e623c154610a2c28b52e31f212a4e8705 [Pipeline] echo 10:24:21 GIT_COMMIT: 553a225e623c154610a2c28b52e31f212a4e8705, Commit Message: refactor(sdk): add correlationID in debug message [Pipeline] echo 10:24:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:24:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:24:22 10:24:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:24:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:24:22 latest: Pulling from edgex-devops/git-semver 10:24:22 31603596830f: Pulling fs layer 10:24:22 2a8b12db71e7: Pulling fs layer 10:24:22 6ca5941a6612: Pulling fs layer 10:24:22 ecc8261a40a4: Pulling fs layer 10:24:22 ecc8261a40a4: Waiting 10:24:22 2a8b12db71e7: Verifying Checksum 10:24:22 2a8b12db71e7: Download complete 10:24:22 31603596830f: Verifying Checksum 10:24:22 31603596830f: Download complete 10:24:22 ecc8261a40a4: Verifying Checksum 10:24:22 ecc8261a40a4: Download complete 10:24:23 6ca5941a6612: Verifying Checksum 10:24:23 6ca5941a6612: Download complete 10:24:23 31603596830f: Pull complete 10:24:23 2a8b12db71e7: Pull complete 10:24:24 6ca5941a6612: Pull complete 10:24:24 ecc8261a40a4: Pull complete 10:24:24 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:24:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:24:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:24:24 prd-centos7-docker-4c-2g-4793 does not seem to be running inside a container 10:24:24 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@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 10:24:26 $ docker top 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:24:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:24:26 [ssh-agent] Looking for ssh-agent implementation... 10:24:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:24:27 $ docker exec 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 ssh-agent 10:24:27 SSH_AUTH_SOCK=/tmp/ssh-jt49EpHQ2Rx4/agent.13 10:24:27 SSH_AGENT_PID=18 10:24:27 Running ssh-add (command line suppressed) 10:24:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3065182674403255540.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3065182674403255540.key) 10:24:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:24:28 + git describe --exact-match --tags HEAD 10:24:28 fatal: no tag exactly matches '553a225e623c154610a2c28b52e31f212a4e8705' [Pipeline] } 10:24:28 $ docker exec --env ******** --env ******** 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 ssh-agent -k 10:24:28 unset SSH_AUTH_SOCK; 10:24:28 unset SSH_AGENT_PID; 10:24:28 echo Agent pid 18 killed; 10:24:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:24:28 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:24:28 This usually means this commit has not been tagged. [Pipeline] sshagent 10:24:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:24:28 [ssh-agent] Looking for ssh-agent implementation... 10:24:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:24:28 $ docker exec 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 ssh-agent 10:24:28 SSH_AUTH_SOCK=/tmp/ssh-czkeRtewmcqB/agent.46 10:24:28 SSH_AGENT_PID=51 10:24:28 Running ssh-add (command line suppressed) 10:24:28 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7476002873122779711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7476002873122779711.key) 10:24:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:24:29 + git semver init 10:24:29 # -> Open(): unable to determine branch for HEAD 10:24:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git 10:24:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 10:24:29 # $SEMVER_REMOTE_NAME = origin 10:24:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:24:29 # $SEMVER_USER_NAME = edgex-jenkins 10:24:29 # $SEMVER_BRANCH = PR-619 10:24:29 # $SEMVER_TEMP = /tmp/semver-227103244 10:24:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:24:29 # '/tmp/semver-227103244' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' 10:24:29 # -> Force: false 10:24:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } 10:24:29 $ docker exec --env ******** --env ******** 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 ssh-agent -k 10:24:30 unset SSH_AUTH_SOCK; 10:24:30 unset SSH_AGENT_PID; 10:24:30 echo Agent pid 51 killed; 10:24:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:24:30 + git semver [Pipeline] } 10:24:30 $ docker stop --time=1 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 10:24:31 $ docker rm -f 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:24:32 Stashed 48 file(s) [Pipeline] echo 10:24:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 10:24:32 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 10:24:48 Still waiting to schedule task 10:24:48 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:24:48 Still waiting to schedule task 10:24:48 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 10:26:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4794 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 10:26:49 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 10:26:54 using credential edgex-jenkins-ssh 10:26:54 Cloning the remote Git repository 10:26:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:26:54 > git init /w/workspace/device-sdk-go/9 # timeout=10 10:26:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:26:54 > git --version # timeout=10 10:26:54 > git --version # 'git version 2.17.1' 10:26:54 using GIT_SSH to set credentials SSH Credentials for GitHub 10:26:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:26:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:26:56 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 10:26:56 Merge succeeded, producing 553a225e623c154610a2c28b52e31f212a4e8705 10:26:56 Checking out Revision 553a225e623c154610a2c28b52e31f212a4e8705 (PR-619) 10:26:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:26:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:26:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:26:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:26:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:26:56 > git config core.sparsecheckout # timeout=10 10:26:56 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 10:26:56 > git remote # timeout=10 10:26:56 > git config --get remote.origin.url # timeout=10 10:26:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:26:56 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 10:26:56 > git rev-parse HEAD^{commit} # timeout=10 10:26:56 > git config core.sparsecheckout # timeout=10 10:26:56 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 10:27:01 Commit message: "refactor(sdk): add correlationID in debug message" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:27:02 ========================================================= 10:27:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:27:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:27:04 + 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 . 10:27:05 Sending build context to Docker daemon 3.701MB 10:27:05 Step 1/8 : ARG BASE=golang:1.15-alpine 10:27:05 Step 2/8 : FROM ${BASE} 10:27:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:27:05 b538f80385f9: Pulling fs layer 10:27:05 74f711af9a0d: Pulling fs layer 10:27:05 99f96fe45779: Pulling fs layer 10:27:05 8529a6b9a6be: Pulling fs layer 10:27:05 45590311c82a: Pulling fs layer 10:27:05 69ca0ff8b7b3: Pulling fs layer 10:27:05 209524e5b208: Pulling fs layer 10:27:05 45590311c82a: Waiting 10:27:05 69ca0ff8b7b3: Waiting 10:27:05 8529a6b9a6be: Waiting 10:27:05 209524e5b208: Waiting 10:27:05 99f96fe45779: Verifying Checksum 10:27:05 99f96fe45779: Download complete 10:27:05 74f711af9a0d: Verifying Checksum 10:27:05 74f711af9a0d: Download complete 10:27:05 45590311c82a: Verifying Checksum 10:27:05 69ca0ff8b7b3: Verifying Checksum 10:27:05 b538f80385f9: Download complete 10:27:06 b538f80385f9: Pull complete 10:27:07 74f711af9a0d: Pull complete 10:27:07 99f96fe45779: Pull complete 10:27:09 209524e5b208: Verifying Checksum 10:27:09 209524e5b208: Download complete 10:27:09 8529a6b9a6be: Verifying Checksum 10:27:09 8529a6b9a6be: Download complete 10:27:21 8529a6b9a6be: Pull complete 10:27:21 45590311c82a: Pull complete 10:27:21 69ca0ff8b7b3: Pull complete 10:27:24 209524e5b208: Pull complete 10:27:24 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 10:27:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:27:24 ---> 5bddaf1c2fca 10:27:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:27:27 ---> Running in e8c8eddf6101 10:27:27 Removing intermediate container e8c8eddf6101 10:27:27 ---> ad39b64d47af 10:27:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:27:27 ---> Running in 0eb8b9cb51b9 10:27:30 Removing intermediate container 0eb8b9cb51b9 10:27:30 ---> 62f1af632968 10:27:30 Step 5/8 : RUN apk add --no-cache make git 10:27:30 ---> Running in 269898dadb29 10:27:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:27:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:27:33 OK: 142 MiB in 39 packages 10:27:34 Removing intermediate container 269898dadb29 10:27:34 ---> 81239f7d49c7 10:27:34 Step 6/8 : WORKDIR /device-sdk-go 10:27:34 ---> Running in c3c798e27c04 10:27:35 Removing intermediate container c3c798e27c04 10:27:35 ---> 62d13842de89 10:27:35 Step 7/8 : COPY . . 10:27:36 ---> 43b31e325c22 10:27:36 Step 8/8 : RUN go mod download 10:27:36 ---> Running in 952216a76c72 10:27:38 Running on prd-centos7-docker-4c-2g-4795 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 10:27:38 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 10:27:40 using credential edgex-jenkins-ssh 10:27:40 Cloning the remote Git repository 10:27:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:27:40 > git init /w/workspace/device-sdk-go/9 # timeout=10 10:27:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:27:40 > git --version # timeout=10 10:27:40 > git --version # 'git version 2.16.5' 10:27:40 using GIT_SSH to set credentials SSH Credentials for GitHub 10:27:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:27:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:27:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:27:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:27:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:27:41 using GIT_SSH to set credentials SSH Credentials for GitHub 10:27:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:27:42 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 10:27:42 Merge succeeded, producing 553a225e623c154610a2c28b52e31f212a4e8705 10:27:42 Checking out Revision 553a225e623c154610a2c28b52e31f212a4e8705 (PR-619) 10:27:42 > git config core.sparsecheckout # timeout=10 10:27:42 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 10:27:42 > git remote # timeout=10 10:27:42 > git config --get remote.origin.url # timeout=10 10:27:42 using GIT_SSH to set credentials SSH Credentials for GitHub 10:27:42 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 10:27:42 > git rev-parse HEAD^{commit} # timeout=10 10:27:42 > git config core.sparsecheckout # timeout=10 10:27:42 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 10:27:46 Commit message: "refactor(sdk): add correlationID in debug message" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:27:46 ========================================================= 10:27:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:27:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:27:47 + 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 . 10:27:47 Sending build context to Docker daemon 3.701MB 10:27:47 Step 1/8 : ARG BASE=golang:1.15-alpine 10:27:47 Step 2/8 : FROM ${BASE} 10:27:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:27:48 df20fa9351a1: Pulling fs layer 10:27:48 ed8968b2872e: Pulling fs layer 10:27:48 a92cc7c5fd73: Pulling fs layer 10:27:48 e871e8e8d7a9: Pulling fs layer 10:27:48 e73272ec9a57: Pulling fs layer 10:27:48 1e910a182e73: Pulling fs layer 10:27:48 4e634b169226: Pulling fs layer 10:27:48 e73272ec9a57: Waiting 10:27:48 4e634b169226: Waiting 10:27:48 e871e8e8d7a9: Waiting 10:27:48 1e910a182e73: Waiting 10:27:48 a92cc7c5fd73: Verifying Checksum 10:27:48 a92cc7c5fd73: Download complete 10:27:48 ed8968b2872e: Verifying Checksum 10:27:48 ed8968b2872e: Download complete 10:27:48 e73272ec9a57: Verifying Checksum 10:27:48 e73272ec9a57: Download complete 10:27:48 df20fa9351a1: Verifying Checksum 10:27:48 df20fa9351a1: Download complete 10:27:48 1e910a182e73: Verifying Checksum 10:27:48 1e910a182e73: Download complete 10:27:48 df20fa9351a1: Pull complete 10:27:48 ed8968b2872e: Pull complete 10:27:48 a92cc7c5fd73: Pull complete 10:27:50 4e634b169226: Verifying Checksum 10:27:50 4e634b169226: Download complete 10:27:50 e871e8e8d7a9: Verifying Checksum 10:27:50 e871e8e8d7a9: Download complete 10:27:55 e871e8e8d7a9: Pull complete 10:27:55 e73272ec9a57: Pull complete 10:27:55 1e910a182e73: Pull complete 10:27:59 Removing intermediate container 952216a76c72 10:27:59 ---> b8bae952ba36 10:27:59 Successfully built b8bae952ba36 10:27:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:27:59 + docker inspect -f . ci-base-image-arm64 10:27:59 . [Pipeline] withDockerContainer 10:27:59 prd-ubuntu18.04-docker-arm64-4c-16g-4794 does not seem to be running inside a container 10:27:59 $ 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 ******** -e ******** ci-base-image-arm64 cat 10:28:01 $ docker top c8344cfce447ed8612a352590772fcf52e2ca2f3e829310c3c66f8a41e139f25 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:03 + go version 10:28:03 go version go1.15.2 linux/arm64 [Pipeline] } 10:28:03 $ docker stop --time=1 c8344cfce447ed8612a352590772fcf52e2ca2f3e829310c3c66f8a41e139f25 10:28:04 4e634b169226: Pull complete 10:28:04 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 10:28:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:28:04 ---> f7629b54cfaa 10:28:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:28:04 ---> Running in f7079ec64e7d 10:28:04 Removing intermediate container f7079ec64e7d 10:28:04 ---> c3918cb37302 10:28:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:28:04 ---> Running in d67b05d93795 10:28:04 Removing intermediate container d67b05d93795 10:28:04 ---> 14bbc87bd480 10:28:04 Step 5/8 : RUN apk add --no-cache make git 10:28:04 ---> Running in 56a49d91673c 10:28:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:28:05 $ docker rm -f c8344cfce447ed8612a352590772fcf52e2ca2f3e829310c3c66f8a41e139f25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:28:06 + docker inspect -f . ci-base-image-arm64 10:28:06 . [Pipeline] withDockerContainer 10:28:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:28:06 prd-ubuntu18.04-docker-arm64-4c-16g-4794 does not seem to be running inside a container 10:28:06 $ 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 ******** -e ******** ci-base-image-arm64 cat 10:28:06 OK: 166 MiB in 39 packages 10:28:07 Removing intermediate container 56a49d91673c 10:28:07 ---> be951ceb68b7 10:28:07 Step 6/8 : WORKDIR /device-sdk-go 10:28:07 ---> Running in 980184d480b3 10:28:07 Removing intermediate container 980184d480b3 10:28:07 ---> 9e9af7f6d428 10:28:07 Step 7/8 : COPY . . 10:28:08 $ docker top e5d0caf46df7f0a9f64dd4cee4ec714f0dfa8cd96bd8fe822d2dbc856167fa5d -eo pid,comm 10:28:08 ---> 3e5cc0baf8c8 10:28:08 Step 8/8 : RUN go mod download 10:28:08 ---> Running in 570fca3572ce [Pipeline] { [Pipeline] sh 10:28:10 + make test 10:28:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:28:27 Removing intermediate container 570fca3572ce 10:28:27 ---> af7f738dab83 10:28:27 Successfully built af7f738dab83 10:28:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:28:27 + docker inspect -f . ci-base-image-x86_64 10:28:27 . [Pipeline] withDockerContainer 10:28:27 prd-centos7-docker-4c-2g-4795 does not seem to be running inside a container 10:28:27 $ 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 10:28:28 $ docker top 3d4aa61a88815e641fae929e285c1ea1ec182516fec21c71d68874ccdc5e2412 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:29 + go version 10:28:29 go version go1.15.2 linux/amd64 [Pipeline] } 10:28:29 $ docker stop --time=1 3d4aa61a88815e641fae929e285c1ea1ec182516fec21c71d68874ccdc5e2412 10:28:30 $ docker rm -f 3d4aa61a88815e641fae929e285c1ea1ec182516fec21c71d68874ccdc5e2412 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:28:31 + docker inspect -f . ci-base-image-x86_64 10:28:31 . [Pipeline] withDockerContainer 10:28:31 prd-centos7-docker-4c-2g-4795 does not seem to be running inside a container 10:28:31 $ 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 10:28:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:28:32 $ docker top 7f5f56bddc045032296f54767170387ad803909c313c23d1a1f3940e25563d81 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:33 + make test 10:28:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:28:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:28:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:28:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:28:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:28:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.072s coverage: 21.6% of statements 10:28:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.426s coverage: 97.1% of statements 10:29:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:29:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:29:11 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:29:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.144s coverage: 21.6% of statements 10:29:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.149s coverage: 97.1% of statements 10:29:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements 10:29:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements 10:29:27 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:29:27 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 40.8% of statements 10:29:27 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:29:27 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.270s coverage: 68.9% of statements 10:29:27 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:29:27 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:29:27 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:29:27 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:29:27 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 10:29:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 10:29:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:29:27 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.255s coverage: 68.9% of statements 10:29:27 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:29:27 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:29:27 GO111MODULE=on go vet ./... 10:29:32 gofmt -l . 10:29:32 [ "`gofmt -l .`" = "" ] 10:29:32 ./bin/test-attribution-txt.sh 10:29:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:29:34 Stashed 1 file(s) [Pipeline] } 10:29:34 $ docker stop --time=1 7f5f56bddc045032296f54767170387ad803909c313c23d1a1f3940e25563d81 10:29:36 $ docker rm -f 7f5f56bddc045032296f54767170387ad803909c313c23d1a1f3940e25563d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:29:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:29:39 + ls -al . 10:29:39 total 188 10:29:39 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 10:29 . 10:29:39 drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 10:27 .. 10:29:39 drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 10:27 bin 10:29:39 -rw-r--r--. 1 jenkins jenkins 110396 Oct 12 10:29 coverage.out 10:29:39 -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 10:27 Dockerfile.build 10:29:39 -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 10:27 .dockerignore 10:29:39 drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 10:27 example 10:29:39 drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 10:27 .git 10:29:39 drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 10:27 .github 10:29:39 -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 10:27 .gitignore 10:29:39 -rw-r--r--. 1 jenkins jenkins 517 Oct 12 10:29 go.mod 10:29:39 -rw-r--r--. 1 jenkins jenkins 13652 Oct 12 10:29 go.sum 10:29:39 drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 10:27 internal 10:29:39 -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 10:27 Jenkinsfile 10:29:39 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 10:27 LICENSE 10:29:39 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 10:27 Makefile 10:29:39 drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 10:27 openapi 10:29:39 drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 10:27 pkg 10:29:39 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 10:27 README.md 10:29:39 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 10:27 RELEASE-NOTES.txt 10:29:39 drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 10:27 .semver 10:29:39 drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 10:27 snap 10:29:39 -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 10:24 VERSION 10:29:39 -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 10:27 version.go [Pipeline] isUnix [Pipeline] sh 10:29:39 + 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=553a225e623c154610a2c28b52e31f212a4e8705 --label arch=amd64 --label version=0.0.0 . 10:29:40 Sending build context to Docker daemon 3.812MB 10:29:40 Step 1/24 : ARG BASE=golang:1.15-alpine 10:29:40 Step 2/24 : FROM ${BASE} AS builder 10:29:40 ---> af7f738dab83 10:29:40 Step 3/24 : ARG MAKE='make build' 10:29:40 ---> Running in 2b1f933e5d22 10:29:40 Removing intermediate container 2b1f933e5d22 10:29:40 ---> 4e4219e98fd7 10:29:40 Step 4/24 : WORKDIR /device-sdk-go 10:29:40 ---> Running in edf46f5d0091 10:29:41 Removing intermediate container edf46f5d0091 10:29:41 ---> 6fff5088dbbd 10:29:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:29:41 ---> Running in 9c5c2d39113e 10:29:41 Removing intermediate container 9c5c2d39113e 10:29:41 ---> 1f1028fedfe6 10:29:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:29:41 ---> Running in 78f0b3047792 10:29:42 Removing intermediate container 78f0b3047792 10:29:42 ---> b8e9f0ecb46c 10:29:42 Step 7/24 : RUN apk add --update --no-cache make git 10:29:42 ---> Running in dbe7fb45432d 10:29:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:29:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:29:43 OK: 166 MiB in 39 packages 10:29:44 Removing intermediate container dbe7fb45432d 10:29:44 ---> 5e6d645acff1 10:29:44 Step 8/24 : COPY . . 10:29:45 ---> ae77892cc2c0 10:29:45 Step 9/24 : RUN ${MAKE} 10:29:45 ---> Running in 6a052ed84e9f 10:29:46 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 10:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.115s coverage: 9.4% of statements 10:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.147s coverage: 21.9% of statements 10:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.599s coverage: 40.8% of statements 10:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.711s coverage: 68.9% of statements 10:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements 10:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 10:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:29:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.873s coverage: 68.9% of statements 10:29:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:29:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:29:46 GO111MODULE=on go vet ./... 10:29:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:29:55 Removing intermediate container 6a052ed84e9f 10:29:55 ---> a34bb2b73d19 10:29:55 Step 10/24 : FROM scratch 10:29:55 ---> 10:29:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:29:55 ---> Running in aaf6a4fad0f6 10:29:55 Removing intermediate container aaf6a4fad0f6 10:29:55 ---> 433881d33357 10:29:55 Step 12/24 : ENV APP_PORT=49990 10:29:55 ---> Running in 2de9a1bd5e63 10:29:55 Removing intermediate container 2de9a1bd5e63 10:29:55 ---> 6f95c5f20b40 10:29:55 Step 13/24 : EXPOSE $APP_PORT 10:29:55 ---> Running in 84ab414f3257 10:29:55 Removing intermediate container 84ab414f3257 10:29:55 ---> 925389dbebd0 10:29:55 Step 14/24 : WORKDIR / 10:29:56 ---> Running in 580da92a1981 10:29:56 Removing intermediate container 580da92a1981 10:29:56 ---> fbc62c1dee0e 10:29:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:29:56 ---> 0a362299f10c 10:29:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:29:57 ---> baad135efa5d 10:29:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:29:57 ---> b61644ed96a2 10:29:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:29:57 ---> 11d96cb35876 10:29:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:29:57 ---> 23619d61dc84 10:29:57 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:29:57 ---> Running in f5458c2194c8 10:29:57 Removing intermediate container f5458c2194c8 10:29:57 ---> 169fa5037718 10:29:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:29:57 ---> Running in 2263a6a823e3 10:29:58 Removing intermediate container 2263a6a823e3 10:29:58 ---> 5572cb95b8ba 10:29:58 Step 22/24 : LABEL arch=amd64 10:29:58 ---> Running in d29d24322244 10:29:58 Removing intermediate container d29d24322244 10:29:58 ---> 5dbe937fa65f 10:29:58 Step 23/24 : LABEL git_sha=553a225e623c154610a2c28b52e31f212a4e8705 10:29:58 ---> Running in 3e32b6a19f48 10:29:58 Removing intermediate container 3e32b6a19f48 10:29:58 ---> ff405fd043a3 10:29:58 Step 24/24 : LABEL version=0.0.0 10:29:58 ---> Running in a2ea7d13752c 10:29:58 Removing intermediate container a2ea7d13752c 10:29:58 ---> 652727a7fe4f 10:29:58 [Warning] One or more build-args [ARCH] were not consumed 10:29:58 Successfully built 652727a7fe4f 10:29:58 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] } 10:30:13 gofmt -l . 10:30:13 [ "`gofmt -l .`" = "" ] 10:30:13 ./bin/test-attribution-txt.sh 10:30:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:30:13 Warning: overwriting stash ‘coverage-report’ 10:30:14 Stashed 1 file(s) [Pipeline] } 10:30:14 $ docker stop --time=1 e5d0caf46df7f0a9f64dd4cee4ec714f0dfa8cd96bd8fe822d2dbc856167fa5d 10:30:16 $ docker rm -f e5d0caf46df7f0a9f64dd4cee4ec714f0dfa8cd96bd8fe822d2dbc856167fa5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:30:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:30:18 + ls -al . 10:30:18 total 228 10:30:18 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 10:30 . 10:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 10:26 .. 10:30:18 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 10:26 .dockerignore 10:30:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 10:27 .git 10:30:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 10:26 .github 10:30:18 -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 10:26 .gitignore 10:30:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 10:27 .semver 10:30:18 -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 10:26 Dockerfile.build 10:30:18 -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 10:26 Jenkinsfile 10:30:18 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 10:26 LICENSE 10:30:18 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 10:26 Makefile 10:30:18 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 10:26 README.md 10:30:18 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 10:26 RELEASE-NOTES.txt 10:30:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 10:24 VERSION 10:30:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 10:26 bin 10:30:18 -rw-r--r-- 1 jenkins jenkins 110396 Oct 12 10:29 coverage.out 10:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 10:26 example 10:30:18 -rw-r--r-- 1 jenkins jenkins 517 Oct 12 10:30 go.mod 10:30:18 -rw-r--r-- 1 jenkins jenkins 13652 Oct 12 10:30 go.sum 10:30:18 drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 10:26 internal 10:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 10:26 openapi 10:30:18 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 10:26 pkg 10:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 10:26 snap 10:30:18 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 10:26 version.go [Pipeline] isUnix [Pipeline] sh 10:30:19 + 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=553a225e623c154610a2c28b52e31f212a4e8705 --label arch=arm64 --label version=0.0.0 . 10:30:19 Sending build context to Docker daemon 3.812MB 10:30:19 Step 1/24 : ARG BASE=golang:1.15-alpine 10:30:19 Step 2/24 : FROM ${BASE} AS builder 10:30:19 ---> b8bae952ba36 10:30:19 Step 3/24 : ARG MAKE='make build' 10:30:19 ---> Running in 307c620fa35d 10:30:20 Removing intermediate container 307c620fa35d 10:30:20 ---> 8335967e9497 10:30:20 Step 4/24 : WORKDIR /device-sdk-go 10:30:20 ---> Running in 140856c935d3 10:30:21 Removing intermediate container 140856c935d3 10:30:21 ---> a4263cd99933 10:30:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:30:21 ---> Running in 2bcdf5157a98 10:30:21 Removing intermediate container 2bcdf5157a98 10:30:21 ---> bf102e96e401 10:30:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:30:21 ---> Running in d1dac0c9b333 10:30:24 Removing intermediate container d1dac0c9b333 10:30:24 ---> 7d379e713108 10:30:24 Step 7/24 : RUN apk add --update --no-cache make git 10:30:24 ---> Running in f9adaacba2e1 10:30:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:30:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:30:26 OK: 142 MiB in 39 packages 10:30:28 Removing intermediate container f9adaacba2e1 10:30:28 ---> 9d7e7e161188 10:30:28 Step 8/24 : COPY . . 10:30:29 ---> 4d07e8d4a827 10:30:29 Step 9/24 : RUN ${MAKE} 10:30:30 ---> Running in 50b5917a2682 10:30: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 10:30:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:30:58 Removing intermediate container 50b5917a2682 10:30:58 ---> bf832baefeef 10:30:58 Step 10/24 : FROM scratch 10:30:58 ---> 10:30:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:30:58 ---> Running in c6ad43702d52 10:30:58 Removing intermediate container c6ad43702d52 10:30:58 ---> 260eb07bbc61 10:30:58 Step 12/24 : ENV APP_PORT=49990 10:30:58 ---> Running in 0ac59a2dd46e 10:30:59 Removing intermediate container 0ac59a2dd46e 10:30:59 ---> bf186eadcdd1 10:30:59 Step 13/24 : EXPOSE $APP_PORT 10:30:59 ---> Running in a8ecad354126 10:30:59 Removing intermediate container a8ecad354126 10:30:59 ---> 0b48d55db49c 10:30:59 Step 14/24 : WORKDIR / 10:30:59 ---> Running in 47c34e31612e 10:31:00 Removing intermediate container 47c34e31612e 10:31:00 ---> 3b6b3b110805 10:31:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:31:01 ---> 043b9f699be1 10:31:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:31:02 ---> 0c4a8d34f1be 10:31:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:31:02 ---> a15fcaa2cfc0 10:31:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:31:03 ---> 2507a7ebd883 10:31:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:31:04 ---> efe1c9d46f1b 10:31:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:31:04 ---> Running in 91c87c7edf01 10:31:04 Removing intermediate container 91c87c7edf01 10:31:04 ---> a4b592cbcf8a 10:31:04 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:31:04 ---> Running in 1e73e2bc425c 10:31:05 Removing intermediate container 1e73e2bc425c 10:31:05 ---> a229a7dcbfd3 10:31:05 Step 22/24 : LABEL arch=arm64 10:31:05 ---> Running in 68042bc061f2 10:31:06 Removing intermediate container 68042bc061f2 10:31:06 ---> b3cbd13228e9 10:31:06 Step 23/24 : LABEL git_sha=553a225e623c154610a2c28b52e31f212a4e8705 10:31:06 ---> Running in ca13f65943c4 10:31:06 Removing intermediate container ca13f65943c4 10:31:06 ---> f2dc7d61b96c 10:31:06 Step 24/24 : LABEL version=0.0.0 10:31:06 ---> Running in 0c3898df1f88 10:31:07 Removing intermediate container 0c3898df1f88 10:31:07 ---> bac86790612d 10:31:07 [Warning] One or more build-args [ARCH] were not consumed 10:31:07 Successfully built bac86790612d 10:31:07 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 10:31:10 provisioning config files... 10:31:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config8912480985571426943tmp [Pipeline] { [Pipeline] sh 10:31:11 + set +x 10:31:11 + curl -s https://codecov.io/bash 10:31:11 + bash -s -- 10:31:11 10:31:11 _____ _ 10:31:11 / ____| | | 10:31:11 | | ___ __| | ___ ___ _____ __ 10:31:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:31:11 | |___| (_) | (_| | __/ (_| (_) \ V / 10:31:11 \_____\___/ \__,_|\___|\___\___/ \_/ 10:31:11 Bash-20201009-048fee3 10:31:11 10:31:11 10:31:11 ==> Jenkins CI detected. 10:31:11 project root: . 10:31:11 --> token set from env 10:31:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:31:11 ==> Running gcov in . (disable via -X gcov) 10:31:11 ==> Python coveragepy not found 10:31:11 ==> Searching for coverage reports in: 10:31:11 + . 10:31:11 -> Found 1 reports 10:31:11 ==> Detecting git/mercurial file structure 10:31:11 ==> Reading reports 10:31:11 + ./coverage.out bytes=110396 10:31:11 ==> Appending adjustments 10:31:11 https://docs.codecov.io/docs/fixing-reports 10:31:11 + Found adjustments 10:31:11 ==> Gzipping contents 10:31:11 ==> Uploading reports 10:31:11 url: https://codecov.io 10:31:11 query: branch=PR-619&commit=553a225e623c154610a2c28b52e31f212a4e8705&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 10:31:11 -> Pinging Codecov 10:31:11 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=553a225e623c154610a2c28b52e31f212a4e8705&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 10:31:12 -> Uploading to 10:31:12 10:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 10:31:12 Dload Upload Total Spent Left Speed 10:31:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 10:31:12 X> Failed to upload 10:31:12 ==> Uploading to Codecov 10:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 10:31:12 Dload Upload Total Spent Left Speed 10:31:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18764 100 110 100 18654 213 36186 --:--:-- --:--:-- --:--:-- 36221 10:31:12 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/553a225e623c154610a2c28b52e31f212a4e8705 [Pipeline] } 10:31:12 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 10:31:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:31:16 ---> package-listing.sh 10:31:16 ++ facter osfamily 10:31:16 ++ tr '[:upper:]' '[:lower:]' 10:31:16 + OS_FAMILY=redhat 10:31:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 10:31:16 + START_PACKAGES=/tmp/packages_start.txt 10:31:16 + END_PACKAGES=/tmp/packages_end.txt 10:31:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:31:16 + PACKAGES=/tmp/packages_start.txt 10:31:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 10:31:16 + PACKAGES=/tmp/packages_end.txt 10:31:16 + case "${OS_FAMILY}" in 10:31:16 + rpm -qa 10:31:16 + sort 10:31:20 + '[' -f /tmp/packages_start.txt ']' 10:31:20 + '[' -f /tmp/packages_end.txt ']' 10:31:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:31:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 10:31:20 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ 10:31:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:31:21 provisioning config files... 10:31:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config1727344300907071360tmp [Pipeline] { [Pipeline] echo 10:31:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:31:22 ---> create-netrc.sh [Pipeline] } 10:31:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:31:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:31:22 ---> python-tools-install.sh 10:31:22 Generating Requirements File 10:32:45 Python 3.6.8 10:32:45 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 10:32:45 appdirs==1.4.3 10:32:45 argcomplete==1.12.1 10:32:45 aspy.yaml==1.3.0 10:32:45 attrs==19.3.0 10:32:45 Babel==2.8.0 10:32:45 beautifulsoup4==4.8.2 10:32:45 boto3==1.11.6 10:32:45 botocore==1.14.6 10:32:45 bs4==0.0.1 10:32:45 cachetools==4.1.1 10:32:45 certifi==2019.11.28 10:32:45 cffi==1.14.3 10:32:45 cfgv==2.0.1 10:32:45 chardet==3.0.4 10:32:45 click==7.1 10:32:45 cliff==3.4.0 10:32:45 cmd2==1.3.11 10:32:45 colorama==0.4.3 10:32:45 cryptography==3.1.1 10:32:45 debtcollector==2.2.0 10:32:45 decorator==4.4.2 10:32:45 defusedxml==0.6.0 10:32:45 Deprecated==1.2.7 10:32:45 distlib==0.3.1 10:32:45 distro==1.2.0 10:32:45 dnspython==1.16.0 10:32:45 docker==4.2.0 10:32:45 docutils==0.15.2 10:32:45 dogpile.cache==1.0.2 10:32:45 email-validator==1.0.5 10:32:45 filelock==3.0.12 10:32:45 future==0.18.2 10:32:45 google-auth==1.22.1 10:32:45 httplib2==0.17.0 10:32:45 identify==1.4.11 10:32:45 idna==2.9 10:32:45 importlib-metadata==2.0.0 10:32:45 importlib-resources==1.5.0 10:32:45 iso8601==0.1.13 10:32:45 Jinja2==2.11.1 10:32:45 jmespath==0.10.0 10:32:45 jsonpatch==1.26 10:32:45 jsonpointer==2.0 10:32:45 jsonschema==3.2.0 10:32:45 keystoneauth1==4.2.1 10:32:45 kubernetes==11.0.0 10:32:45 lftools==0.34.2 10:32:45 lxml==4.5.0 10:32:45 MarkupSafe==0.23 10:32:45 msgpack==1.0.0 10:32:45 multi-key-dict==2.0.3 10:32:45 munch==2.5.0 10:32:45 netaddr==0.8.0 10:32:45 netifaces==0.10.9 10:32:45 niet==1.4.2 10:32:45 nodeenv==1.3.5 10:32:45 oauth2client==4.1.3 10:32:45 oauthlib==3.1.0 10:32:45 openstacksdk==0.50.0 10:32:45 os-client-config==2.1.0 10:32:45 os-service-types==1.7.0 10:32:45 osc-lib==2.2.1 10:32:45 oslo.config==8.3.2 10:32:45 oslo.context==3.1.1 10:32:45 oslo.i18n==5.0.1 10:32:45 oslo.log==4.4.0 10:32:45 oslo.serialization==4.0.1 10:32:45 oslo.utils==4.6.0 10:32:45 packaging==20.4 10:32:45 pbr==5.4.4 10:32:45 pluggy==0.13.1 10:32:45 prettytable==0.7.2 10:32:45 py==1.9.0 10:32:45 pyasn1==0.4.8 10:32:45 pyasn1-modules==0.2.8 10:32:45 pycparser==2.20 10:32:45 pygerrit2==2.0.10 10:32:45 PyGithub==1.46 10:32:45 pyinotify==0.9.6 10:32:45 PyJWT==1.7.1 10:32:45 pyparsing==2.4.7 10:32:45 pyperclip==1.8.1 10:32:45 pyroute2==0.4.13 10:32:45 pyrsistent==0.15.7 10:32:45 PySocks==1.6.8 10:32:45 python-cinderclient==7.2.0 10:32:45 python-dateutil==2.8.1 10:32:45 python-heatclient==2.2.1 10:32:45 python-jenkins==1.7.0 10:32:45 python-keystoneclient==4.1.1 10:32:45 python-magnumclient==3.2.1 10:32:45 python-novaclient==17.2.1 10:32:45 python-openstackclient==5.4.0 10:32:45 python-swiftclient==3.10.1 10:32:45 pytz==2020.1 10:32:45 PyYAML==5.3 10:32:45 requests==2.23.0 10:32:45 requests-oauthlib==1.3.0 10:32:45 requestsexceptions==1.4.0 10:32:45 rfc3986==1.4.0 10:32:45 rpm==4.11.3 10:32:45 rsa==4.0 10:32:45 ruamel.yaml==0.16.10 10:32:45 ruamel.yaml.clib==0.2.0 10:32:45 s3transfer==0.3.3 10:32:45 shade==1.27.2 10:32:45 simplejson==3.17.2 10:32:45 six==1.14.0 10:32:45 soupsieve==2.0 10:32:45 stevedore==3.2.2 10:32:45 tabulate==0.8.6 10:32:45 toml==0.10.0 10:32:45 tox==3.20.1 10:32:45 tqdm==4.43.0 10:32:45 urllib3==1.25.8 10:32:45 virtualenv==20.0.33 10:32:45 wcwidth==0.2.5 10:32:45 websocket-client==0.57.0 10:32:45 wrapt==1.12.1 10:32:45 xdg==3.0.2 10:32:45 xmltodict==0.12.0 10:32:45 yq==2.11.1 10:32:45 zipp==3.3.0 10:32:45 Cache entry deserialization failed, entry ignored 10:32:45 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. 10:32:45 Python 2.7.5 10:32:45 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 10:32:45 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. 10:32:45 ansible==2.9.7 10:32:45 Babel==0.9.6 10:32:45 backports.ssl-match-hostname==3.5.0.1 10:32:45 beautifulsoup4==4.4.1 10:32:45 bodhi==2.11.0 10:32:45 bodhi-client==2.11.0 10:32:45 CCColUtils==1.4 10:32:45 cffi==1.6.0 10:32:45 chardet==2.2.1 10:32:45 click==6.7 10:32:45 cloud-init==18.5 10:32:45 configobj==4.7.2 10:32:45 cryptography==1.7.2 10:32:45 decorator==3.4.0 10:32:45 distro==1.2.0 10:32:45 enum34==1.0.4 10:32:45 fedpkg==1.38 10:32:45 futures==3.1.1 10:32:45 gitdb==0.6.4 10:32:45 GitPython==1.0.1 10:32:45 html5lib==0.999 10:32:45 httplib2==0.9.2 10:32:45 idna==2.4 10:32:45 iniparse==0.4 10:32:45 ipaddress==1.0.16 10:32:45 IPy==0.75 10:32:45 javapackages==1.0.0 10:32:45 Jinja2==2.7.2 10:32:45 jmespath==0.9.4 10:32:45 jsonpatch==1.2 10:32:45 jsonpointer==1.9 10:32:45 kerberos==1.1 10:32:45 kitchen==1.1.1 10:32:45 langtable==0.0.31 10:32:45 lockfile==0.9.1 10:32:45 lxml==3.2.1 10:32:45 MarkupSafe==0.11 10:32:45 munch==2.0.2 10:32:45 offtrac==0.1.0 10:32:45 openidc-client==0.6.0 10:32:45 packagedb-cli==2.14.1 10:32:45 paramiko==2.1.1 10:32:45 perf==0.1 10:32:45 ply==3.4 10:32:45 policycoreutils-default-encoding==0.1 10:32:45 prettytable==0.7.2 10:32:45 pyasn1==0.1.9 10:32:45 pycparser==2.14 10:32:45 pycurl==7.19.0 10:32:45 pygobject==3.22.0 10:32:45 pygpgme==0.3 10:32:45 pyliblzma==0.5.3 10:32:45 pyOpenSSL==0.13.1 10:32:45 pyparsing==1.5.6 10:32:45 pyserial==2.6 10:32:45 python-augeas==0.5.0 10:32:45 python-bugzilla==2.3.0 10:32:45 python-dateutil==1.5 10:32:45 python-fedora==0.10.0 10:32:45 python-linux-procfs==0.4.9 10:32:45 python-yubico==1.2.3 10:32:45 pyudev==0.15 10:32:45 pyusb==1.0.0b1 10:32:45 pyxattr==0.5.1 10:32:45 PyYAML==3.10 10:32:45 requests==2.6.0 10:32:45 requests-kerberos==0.7.0 10:32:45 rpkg==1.60 10:32:45 schedutils==0.4 10:32:45 seobject==0.1 10:32:45 sepolicy==1.1 10:32:45 six==1.9.0 10:32:45 smmap==0.9.0 10:32:45 urlgrabber==3.10 10:32:45 urllib3==1.10.2 10:32:45 virtualenv==15.1.0 10:32:45 yum-langpacks==0.4.2 10:32:45 yum-metadata-parser==1.1.4 [Pipeline] echo 10:32:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:32:45 ---> sudo-logs.sh 10:32:45 Archiving 'sudo' log.. [Pipeline] echo 10:32:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:32:46 ---> job-cost.sh 10:32:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zLzX 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:58 Cache entry deserialization failed, entry ignored 10:32:59 Cache entry deserialization failed, entry ignored 10:32:59 Cache entry deserialization failed, entry ignored 10:32:59 Cache entry deserialization failed, entry ignored 10:33:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:33:34 lf-activate-venv(): INFO: Adding /tmp/venv-zLzX/bin to PATH 10:33:34 INFO: No Stack... 10:33:34 INFO: Retrieving Pricing Info for: v1-standard-2 10:33:34 INFO: Archiving Costs [Pipeline] echo 10:33:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:33:34 ---> logs-deploy.sh 10:33:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/9 10:33:34 INFO: archiving workspace using pattern(s): 10:33:35 Archives upload complete. 10:33:36 INFO: archiving logs to Nexus