Pull request #624 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 1ad5bff171402c01e136b41b63c15df401bca220+833c05b782f270c396ee40879762f076aaf9331e (1066a0016706d2056e26a6fc6233ad3da965c627) 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-4230 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [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-624 # 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 > 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/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 1ad5bff171402c01e136b41b63c15df401bca220 Merge succeeded, producing 1ad5bff171402c01e136b41b63c15df401bca220 Checking out Revision 1ad5bff171402c01e136b41b63c15df401bca220 (PR-624) > git config core.sparsecheckout # timeout=10 > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # 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 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 Commit message: "refactor(sdk): release lock after discovery complete" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:03:42 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 2b3c4a00fd70430e686b8f61c86dff2da509235e # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:03:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:03:43 ========================================================= 14:03:43 EdgeX Global Pipelines Version Info 14:03:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:03:44 ------------------- 14:03:44 stable info: 14:03:44 ------------------- 14:03:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:03:44 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 14:03:44 Message: update stable to v1.0.131 14:03:45 ------------------- 14:03:45 experimental info: 14:03:45 ------------------- 14:03:45 Commited By: **** collab-it+edgex@linuxfoundation.org 14:03:45 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 14:03:45 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 14:03:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 14:03:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 14:03:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:03:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:03:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:03:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 14:03:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 14:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:03:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:03:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-624 [Pipeline] echo 14:03:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-624 [Pipeline] echo 14:03:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-624 [Pipeline] echo 14:03:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ad5bff171402c01e136b41b63c15df401bca220 [Pipeline] echo 14:03:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ad5bff [Pipeline] echo 14:03:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:03:50 + git log --format=format:%s -1 1ad5bff171402c01e136b41b63c15df401bca220 [Pipeline] echo 14:03:50 GIT_COMMIT: 1ad5bff171402c01e136b41b63c15df401bca220, Commit Message: refactor(sdk): release lock after discovery complete [Pipeline] echo 14:03:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:03:51 14:03:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:03:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:03:51 latest: Pulling from edgex-devops/git-semver 14:03:51 31603596830f: Pulling fs layer 14:03:51 2a8b12db71e7: Pulling fs layer 14:03:51 6ca5941a6612: Pulling fs layer 14:03:51 ecc8261a40a4: Pulling fs layer 14:03:51 ecc8261a40a4: Waiting 14:03:51 2a8b12db71e7: Verifying Checksum 14:03:51 2a8b12db71e7: Download complete 14:03:51 31603596830f: Download complete 14:03:52 ecc8261a40a4: Verifying Checksum 14:03:52 ecc8261a40a4: Download complete 14:03:52 6ca5941a6612: Verifying Checksum 14:03:52 6ca5941a6612: Download complete 14:03:52 31603596830f: Pull complete 14:03:52 2a8b12db71e7: Pull complete 14:03:53 6ca5941a6612: Pull complete 14:03:53 ecc8261a40a4: Pull complete 14:03:53 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 14:03:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:03:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:03:53 prd-centos7-docker-4c-2g-4230 does not seem to be running inside a container 14:03:53 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-624 -v /w/workspace/dgexfoundry_device-sdk-go_PR-624:/w/workspace/dgexfoundry_device-sdk-go_PR-624:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-624@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:03:55 $ docker top a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:03:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:03:56 [ssh-agent] Looking for ssh-agent implementation... 14:03:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:03:56 $ docker exec a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 ssh-agent 14:03:56 SSH_AUTH_SOCK=/tmp/ssh-hbrQKai1kxXl/agent.12 14:03:56 SSH_AGENT_PID=17 14:03:56 Running ssh-add (command line suppressed) 14:03:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_6482218357193795686.key (/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_6482218357193795686.key) 14:03:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:03:56 + git describe --exact-match --tags HEAD 14:03:56 fatal: no tag exactly matches '1ad5bff171402c01e136b41b63c15df401bca220' [Pipeline] } 14:03:56 $ docker exec --env ******** --env ******** a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 ssh-agent -k 14:03:57 unset SSH_AUTH_SOCK; 14:03:57 unset SSH_AGENT_PID; 14:03:57 echo Agent pid 17 killed; 14:03:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:03:57 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:03:57 This usually means this commit has not been tagged. [Pipeline] sshagent 14:03:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:03:57 [ssh-agent] Looking for ssh-agent implementation... 14:03:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:03:57 $ docker exec a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 ssh-agent 14:03:57 SSH_AUTH_SOCK=/tmp/ssh-czXJRH2AK5rS/agent.46 14:03:57 SSH_AGENT_PID=52 14:03:57 Running ssh-add (command line suppressed) 14:03:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_171917989812865201.key (/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_171917989812865201.key) 14:03:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:03:58 + git semver init 14:03:58 # -> Open(): unable to determine branch for HEAD 14:03:58 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-624/.git 14:03:58 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-624 14:03:58 # $SEMVER_REMOTE_NAME = origin 14:03:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:03:58 # $SEMVER_USER_NAME = edgex-jenkins 14:03:58 # $SEMVER_BRANCH = PR-624 14:03:58 # $SEMVER_TEMP = /tmp/semver-627465249 14:03:58 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:03:58 # '/tmp/semver-627465249' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-624/.semver' 14:03:58 # -> Force: false 14:03:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-624/.semver [Pipeline] } 14:03:58 $ docker exec --env ******** --env ******** a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 ssh-agent -k 14:03:58 unset SSH_AUTH_SOCK; 14:03:58 unset SSH_AGENT_PID; 14:03:58 echo Agent pid 52 killed; 14:03:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:03:59 + git semver [Pipeline] } 14:03:59 $ docker stop --time=1 a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 14:04:00 $ docker rm -f a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:04:01 Stashed 46 file(s) [Pipeline] echo 14:04:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 14:04:01 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 14:04:17 Still waiting to schedule task 14:04:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:04:17 Still waiting to schedule task 14:04:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:06:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4232 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [Pipeline] { [Pipeline] ws 14:06:11 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 14:06:16 using credential edgex-jenkins-ssh 14:06:16 Cloning the remote Git repository 14:06:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:06:16 > git init /w/workspace/device-sdk-go/2 # timeout=10 14:06:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:06:16 > git --version # timeout=10 14:06:17 > git --version # 'git version 2.17.1' 14:06:17 using GIT_SSH to set credentials SSH Credentials for GitHub 14:06:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:06:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:06:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:06:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:06:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:06:18 using GIT_SSH to set credentials SSH Credentials for GitHub 14:06:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:06:18 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 1ad5bff171402c01e136b41b63c15df401bca220 14:06:19 Merge succeeded, producing 1ad5bff171402c01e136b41b63c15df401bca220 14:06:19 Checking out Revision 1ad5bff171402c01e136b41b63c15df401bca220 (PR-624) 14:06:18 > git config core.sparsecheckout # timeout=10 14:06:18 > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 14:06:18 > git remote # timeout=10 14:06:18 > git config --get remote.origin.url # timeout=10 14:06:18 using GIT_SSH to set credentials SSH Credentials for GitHub 14:06:18 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 14:06:19 > git rev-parse HEAD^{commit} # timeout=10 14:06:19 > git config core.sparsecheckout # timeout=10 14:06:19 > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 14:06:23 Commit message: "refactor(sdk): release lock after discovery complete" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:06:24 ========================================================= 14:06:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 14:06:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:06:26 + 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 . 14:06:27 Sending build context to Docker daemon 3.523MB 14:06:27 Step 1/8 : ARG BASE=golang:1.15-alpine 14:06:27 Step 2/8 : FROM ${BASE} 14:06:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:06:27 b538f80385f9: Pulling fs layer 14:06:27 74f711af9a0d: Pulling fs layer 14:06:27 99f96fe45779: Pulling fs layer 14:06:27 8529a6b9a6be: Pulling fs layer 14:06:27 45590311c82a: Pulling fs layer 14:06:27 69ca0ff8b7b3: Pulling fs layer 14:06:27 209524e5b208: Pulling fs layer 14:06:27 8529a6b9a6be: Waiting 14:06:27 45590311c82a: Waiting 14:06:27 69ca0ff8b7b3: Waiting 14:06:27 209524e5b208: Waiting 14:06:27 99f96fe45779: Download complete 14:06:27 74f711af9a0d: Verifying Checksum 14:06:27 74f711af9a0d: Download complete 14:06:27 45590311c82a: Verifying Checksum 14:06:27 45590311c82a: Download complete 14:06:27 69ca0ff8b7b3: Verifying Checksum 14:06:27 69ca0ff8b7b3: Download complete 14:06:27 b538f80385f9: Verifying Checksum 14:06:27 b538f80385f9: Download complete 14:06:28 b538f80385f9: Pull complete 14:06:29 74f711af9a0d: Pull complete 14:06:29 99f96fe45779: Pull complete 14:06:30 209524e5b208: Download complete 14:06:32 8529a6b9a6be: Verifying Checksum 14:06:32 8529a6b9a6be: Download complete 14:06:42 8529a6b9a6be: Pull complete 14:06:42 45590311c82a: Pull complete 14:06:42 69ca0ff8b7b3: Pull complete 14:06:47 209524e5b208: Pull complete 14:06:47 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 14:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 14:06:47 ---> 5bddaf1c2fca 14:06:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:06:49 ---> Running in 11fa84f31546 14:06:49 Removing intermediate container 11fa84f31546 14:06:49 ---> f526012eff12 14:06:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:06:50 ---> Running in 4179c3544188 14:06:52 Removing intermediate container 4179c3544188 14:06:52 ---> 1231f401e9ba 14:06:52 Step 5/8 : RUN apk add --no-cache make git 14:06:53 ---> Running in 8454c9b28514 14:06:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:06:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:06:56 OK: 142 MiB in 39 packages 14:06:57 Removing intermediate container 8454c9b28514 14:06:57 ---> f6c4886bd1af 14:06:57 Step 6/8 : WORKDIR /device-sdk-go 14:06:57 ---> Running in ebd098eb2d1d 14:06:58 Removing intermediate container ebd098eb2d1d 14:06:58 ---> f7ebedbbcdcb 14:06:58 Step 7/8 : COPY . . 14:06:59 ---> a94422d4e789 14:06:59 Step 8/8 : RUN go mod download 14:06:59 ---> Running in ef15a7b43a2e 14:07:20 Running on prd-centos7-docker-4c-2g-4233 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [Pipeline] { [Pipeline] ws 14:07:20 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 14:07:21 Removing intermediate container ef15a7b43a2e 14:07:21 ---> b23237d02fde 14:07:21 Successfully built b23237d02fde 14:07:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:07:22 + docker inspect -f . ci-base-image-arm64 14:07:22 . [Pipeline] withDockerContainer 14:07:22 prd-ubuntu18.04-docker-arm64-4c-16g-4232 does not seem to be running inside a container 14:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 14:07:24 $ docker top b9c6eb2672be799bff49fd238d29e782bab2088f1f2e3611a96ce2c4bb6f136c -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:25 + go version 14:07:25 go version go1.15.2 linux/arm64 [Pipeline] } 14:07:25 $ docker stop --time=1 b9c6eb2672be799bff49fd238d29e782bab2088f1f2e3611a96ce2c4bb6f136c 14:07:27 $ docker rm -f b9c6eb2672be799bff49fd238d29e782bab2088f1f2e3611a96ce2c4bb6f136c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:07:28 + docker inspect -f . ci-base-image-arm64 14:07:28 . [Pipeline] withDockerContainer 14:07:29 prd-ubuntu18.04-docker-arm64-4c-16g-4232 does not seem to be running inside a container 14:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 14:07:30 using credential edgex-jenkins-ssh 14:07:30 Cloning the remote Git repository 14:07:31 $ docker top e13ffb56f2398b68edd0f4ea747c281f9079f5ab3df62672ab94ff348b78be81 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:07:30 > git init /w/workspace/device-sdk-go/2 # timeout=10 14:07:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:07:30 > git --version # timeout=10 14:07:30 > git --version # 'git version 2.16.5' 14:07:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:32 + make test 14:07:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:07:32 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 1ad5bff171402c01e136b41b63c15df401bca220 14:07:33 Merge succeeded, producing 1ad5bff171402c01e136b41b63c15df401bca220 14:07:33 Checking out Revision 1ad5bff171402c01e136b41b63c15df401bca220 (PR-624) 14:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:07:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:07:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:07:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:07:32 > git config core.sparsecheckout # timeout=10 14:07:32 > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 14:07:32 > git remote # timeout=10 14:07:32 > git config --get remote.origin.url # timeout=10 14:07:33 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:33 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 14:07:33 > git rev-parse HEAD^{commit} # timeout=10 14:07:33 > git config core.sparsecheckout # timeout=10 14:07:33 > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 14:07:37 Commit message: "refactor(sdk): release lock after discovery complete" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:07:38 ========================================================= 14:07:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 14:07:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:07:40 + 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 . 14:07:41 Sending build context to Docker daemon 3.523MB 14:07:41 Step 1/8 : ARG BASE=golang:1.15-alpine 14:07:41 Step 2/8 : FROM ${BASE} 14:07:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 14:07:41 df20fa9351a1: Pulling fs layer 14:07:41 ed8968b2872e: Pulling fs layer 14:07:41 a92cc7c5fd73: Pulling fs layer 14:07:41 e871e8e8d7a9: Pulling fs layer 14:07:41 e73272ec9a57: Pulling fs layer 14:07:41 1e910a182e73: Pulling fs layer 14:07:41 4e634b169226: Pulling fs layer 14:07:41 e73272ec9a57: Waiting 14:07:41 1e910a182e73: Waiting 14:07:41 4e634b169226: Waiting 14:07:41 e871e8e8d7a9: Waiting 14:07:41 a92cc7c5fd73: Download complete 14:07:41 ed8968b2872e: Download complete 14:07:41 e73272ec9a57: Verifying Checksum 14:07:41 e73272ec9a57: Download complete 14:07:41 1e910a182e73: Verifying Checksum 14:07:41 1e910a182e73: Download complete 14:07:43 df20fa9351a1: Verifying Checksum 14:07:43 df20fa9351a1: Download complete 14:07:43 df20fa9351a1: Pull complete 14:07:44 ed8968b2872e: Pull complete 14:07:44 a92cc7c5fd73: Pull complete 14:07:53 4e634b169226: Verifying Checksum 14:07:53 4e634b169226: Download complete 14:07:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:07:54 e871e8e8d7a9: Verifying Checksum 14:07:54 e871e8e8d7a9: Download complete 14:08:07 e871e8e8d7a9: Pull complete 14:08:07 e73272ec9a57: Pull complete 14:08:07 1e910a182e73: Pull complete 14:08:11 4e634b169226: Pull complete 14:08:11 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 14:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 14:08:11 ---> f7629b54cfaa 14:08:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:08:11 ---> Running in 1bdf2c7845ca 14:08:11 Removing intermediate container 1bdf2c7845ca 14:08:11 ---> 6e1bc349a239 14:08:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:08:11 ---> Running in 206c398f02cb 14:08:13 Removing intermediate container 206c398f02cb 14:08:13 ---> 38704f76b90e 14:08:13 Step 5/8 : RUN apk add --no-cache make git 14:08:13 ---> Running in d66921aea854 14:08:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:08:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:08:16 OK: 166 MiB in 39 packages 14:08:16 Removing intermediate container d66921aea854 14:08:16 ---> abf08837e74a 14:08:16 Step 6/8 : WORKDIR /device-sdk-go 14:08:16 ---> Running in eebb70b257d5 14:08:16 Removing intermediate container eebb70b257d5 14:08:16 ---> 345dafda88de 14:08:16 Step 7/8 : COPY . . 14:08:18 ---> f3a28dd0cf67 14:08:18 Step 8/8 : RUN go mod download 14:08:19 ---> Running in bddea3f0dbb8 14:08:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:08:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:08:33 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:08:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.159s coverage: 21.6% of statements 14:08:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.175s coverage: 97.1% of statements 14:08:42 Removing intermediate container bddea3f0dbb8 14:08:42 ---> bcacee73396a 14:08:42 Successfully built bcacee73396a 14:08:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:08:42 + docker inspect -f . ci-base-image-x86_64 14:08:42 . [Pipeline] withDockerContainer 14:08:43 prd-centos7-docker-4c-2g-4233 does not seem to be running inside a container 14:08:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 14:08:45 $ docker top b2882c350e05ecbc8ac9db1b1cdb3c0d00dc1d650fecaf5470642c8951b7050a -eo pid,comm [Pipeline] { [Pipeline] sh 14:08:46 + go version 14:08:46 go version go1.15.2 linux/amd64 [Pipeline] } 14:08:46 $ docker stop --time=1 b2882c350e05ecbc8ac9db1b1cdb3c0d00dc1d650fecaf5470642c8951b7050a 14:08:47 $ docker rm -f b2882c350e05ecbc8ac9db1b1cdb3c0d00dc1d650fecaf5470642c8951b7050a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:08:49 + docker inspect -f . ci-base-image-x86_64 14:08:49 . [Pipeline] withDockerContainer 14:08:49 prd-centos7-docker-4c-2g-4233 does not seem to be running inside a container 14:08:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 14:08:50 $ docker top fa67238f637e3333bc0bb151440d149356b8acd0869f645a62da0ffd02f40bf6 -eo pid,comm [Pipeline] { [Pipeline] sh 14:08:51 + make test 14:08:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:09:04 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:09:09 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements 14:09:09 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.143s coverage: 21.9% of statements 14:09:09 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:09:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.553s coverage: 40.0% of statements 14:09:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:09:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.801s coverage: 68.9% of statements 14:09:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:09:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:09:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:09:09 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 14:09:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements 14:09:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 14:09:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.875s coverage: 68.9% of statements 14:09:09 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:09:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:09:09 GO111MODULE=on go vet ./... 14:09:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:09:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:09:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:09:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.121s coverage: 21.6% of statements 14:09:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.085s coverage: 97.1% of statements 14:09:36 gofmt -l . 14:09:36 [ "`gofmt -l .`" = "" ] 14:09:36 ./bin/test-attribution-txt.sh 14:09:36 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:09:37 Stashed 1 file(s) [Pipeline] } 14:09:37 $ docker stop --time=1 e13ffb56f2398b68edd0f4ea747c281f9079f5ab3df62672ab94ff348b78be81 14:09:39 $ docker rm -f e13ffb56f2398b68edd0f4ea747c281f9079f5ab3df62672ab94ff348b78be81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:09:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:09:43 + ls -al . 14:09:43 total 228 14:09:43 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 14:09 . 14:09:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 14:06 .. 14:09:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 14:06 .dockerignore 14:09:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 14:06 .git 14:09:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 14:06 .github 14:09:43 -rw-rw-r-- 1 jenkins jenkins 138 Oct 8 14:06 .gitignore 14:09:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 14:06 .semver 14:09:43 -rw-rw-r-- 1 jenkins jenkins 936 Oct 8 14:06 Dockerfile.build 14:09:43 -rw-rw-r-- 1 jenkins jenkins 901 Oct 8 14:06 Jenkinsfile 14:09:43 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 14:06 LICENSE 14:09:43 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 8 14:06 Makefile 14:09:43 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 8 14:06 README.md 14:09:43 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 8 14:06 RELEASE-NOTES.txt 14:09:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 14:04 VERSION 14:09:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 14:06 bin 14:09:43 -rw-r--r-- 1 jenkins jenkins 110392 Oct 8 14:09 coverage.out 14:09:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 14:06 example 14:09:43 -rw-r--r-- 1 jenkins jenkins 517 Oct 8 14:09 go.mod 14:09:43 -rw-r--r-- 1 jenkins jenkins 13652 Oct 8 14:09 go.sum 14:09:43 drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 14:06 internal 14:09:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 14:06 openapi 14:09:43 drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 14:06 pkg 14:09:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 14:06 snap 14:09:43 -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 14:06 version.go [Pipeline] isUnix [Pipeline] sh 14:09:44 + 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=1ad5bff171402c01e136b41b63c15df401bca220 --label arch=arm64 --label version=0.0.0 . 14:09:44 Sending build context to Docker daemon 3.634MB 14:09:44 Step 1/24 : ARG BASE=golang:1.15-alpine 14:09:44 Step 2/24 : FROM ${BASE} AS builder 14:09:44 ---> b23237d02fde 14:09:44 Step 3/24 : ARG MAKE='make build' 14:09:44 ---> Running in b2978acc45b3 14:09:45 Removing intermediate container b2978acc45b3 14:09:45 ---> 9566e5a11881 14:09:45 Step 4/24 : WORKDIR /device-sdk-go 14:09:45 ---> Running in 4ef12b7e05c5 14:09:45 Removing intermediate container 4ef12b7e05c5 14:09:45 ---> aae25d002f4b 14:09:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:09:46 ---> Running in ba9974f867b2 14:09:46 Removing intermediate container ba9974f867b2 14:09:46 ---> cf97891ca3d9 14:09:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:09:46 ---> Running in 00541be28d48 14:09:49 Removing intermediate container 00541be28d48 14:09:49 ---> 789872530f21 14:09:49 Step 7/24 : RUN apk add --update --no-cache make git 14:09:49 ---> Running in 0587424e884c 14:09:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:09:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:09:52 OK: 142 MiB in 39 packages 14:09:53 Removing intermediate container 0587424e884c 14:09:53 ---> 559a899c6072 14:09:53 Step 8/24 : COPY . . 14:09:54 ---> 0a14d7a1b5a4 14:09:54 Step 9/24 : RUN ${MAKE} 14:09:54 ---> Running in 5d2112f37770 14:09:56 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 14:10:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.142s coverage: 9.4% of statements 14:10:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.154s coverage: 21.9% of statements 14:10:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:10:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.279s coverage: 40.0% of statements 14:10:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:10:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.368s coverage: 68.9% of statements 14:10:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:10:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:10:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:10:06 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 14:10:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.113s coverage: 52.6% of statements 14:10:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 14:10:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.400s coverage: 68.9% of statements 14:10:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:10:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:10:06 GO111MODULE=on go vet ./... 14:10:19 gofmt -l . 14:10:19 [ "`gofmt -l .`" = "" ] 14:10:19 ./bin/test-attribution-txt.sh 14:10:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:10:19 Warning: overwriting stash ‘coverage-report’ 14:10:20 Stashed 1 file(s) [Pipeline] } 14:10:20 $ docker stop --time=1 fa67238f637e3333bc0bb151440d149356b8acd0869f645a62da0ffd02f40bf6 14:10:22 $ docker rm -f fa67238f637e3333bc0bb151440d149356b8acd0869f645a62da0ffd02f40bf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 14:10:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:10:23 Removing intermediate container 5d2112f37770 14:10:23 ---> 4d6fe6c7728f 14:10:23 Step 10/24 : FROM scratch 14:10:23 ---> 14:10:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:10:23 ---> Running in abd540a26994 14:10:23 Removing intermediate container abd540a26994 14:10:23 ---> a8a65bb82c90 14:10:23 Step 12/24 : ENV APP_PORT=49990 14:10:23 ---> Running in 609a6ae72c2d 14:10:23 Removing intermediate container 609a6ae72c2d 14:10:23 ---> c06a6beaf083 14:10:23 Step 13/24 : EXPOSE $APP_PORT 14:10:23 ---> Running in 98758f777202 [Pipeline] sh 14:10:23 Removing intermediate container 98758f777202 14:10:23 ---> d0927c427be7 14:10:23 Step 14/24 : WORKDIR / 14:10:23 ---> Running in 8171d61dabcc 14:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:10:24 Removing intermediate container 8171d61dabcc 14:10:24 ---> b7b51a009897 14:10:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:10:24 + ls -al . 14:10:24 total 188 14:10:24 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 8 14:10 . 14:10:24 drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 14:07 .. 14:10:24 drwxrwxr-x. 2 jenkins jenkins 64 Oct 8 14:07 bin 14:10:24 -rw-r--r--. 1 jenkins jenkins 110392 Oct 8 14:10 coverage.out 14:10:24 -rw-rw-r--. 1 jenkins jenkins 936 Oct 8 14:07 Dockerfile.build 14:10:24 -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 14:07 .dockerignore 14:10:24 drwxrwxr-x. 4 jenkins jenkins 48 Oct 8 14:07 example 14:10:24 drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 14:07 .git 14:10:24 drwxrwxr-x. 2 jenkins jenkins 60 Oct 8 14:07 .github 14:10:24 -rw-rw-r--. 1 jenkins jenkins 138 Oct 8 14:07 .gitignore 14:10:24 -rw-r--r--. 1 jenkins jenkins 517 Oct 8 14:10 go.mod 14:10:24 -rw-r--r--. 1 jenkins jenkins 13652 Oct 8 14:10 go.sum 14:10:24 drwxrwxr-x. 15 jenkins jenkins 211 Oct 8 14:07 internal 14:10:24 -rw-rw-r--. 1 jenkins jenkins 901 Oct 8 14:07 Jenkinsfile 14:10:24 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 14:07 LICENSE 14:10:24 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 8 14:07 Makefile 14:10:24 drwxrwxr-x. 4 jenkins jenkins 26 Oct 8 14:07 openapi 14:10:24 drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 14:07 pkg 14:10:24 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 8 14:07 README.md 14:10:24 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 8 14:07 RELEASE-NOTES.txt 14:10:24 drwxrwxr-x. 3 jenkins jenkins 58 Oct 8 14:07 .semver 14:10:24 drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 14:07 snap 14:10:24 -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 14:04 VERSION 14:10:24 -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 14:07 version.go [Pipeline] isUnix [Pipeline] sh 14:10:24 + 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=1ad5bff171402c01e136b41b63c15df401bca220 --label arch=amd64 --label version=0.0.0 . 14:10:25 Sending build context to Docker daemon 3.634MB 14:10:25 Step 1/24 : ARG BASE=golang:1.15-alpine 14:10:25 Step 2/24 : FROM ${BASE} AS builder 14:10:25 ---> bcacee73396a 14:10:25 Step 3/24 : ARG MAKE='make build' 14:10:25 ---> Running in 86bb1456e179 14:10:25 ---> a7486fbb454a 14:10:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:10:25 Removing intermediate container 86bb1456e179 14:10:25 ---> f14051911b01 14:10:25 Step 4/24 : WORKDIR /device-sdk-go 14:10:25 ---> Running in 67e3bb6f2948 14:10:25 Removing intermediate container 67e3bb6f2948 14:10:25 ---> d9935cd105cf 14:10:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:10:25 ---> Running in f429c5a77ab8 14:10:26 ---> f14f019e217e 14:10:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:10:26 Removing intermediate container f429c5a77ab8 14:10:26 ---> 3678e552dd73 14:10:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:10:26 ---> Running in e078f19b5782 14:10:26 ---> d2468a4786d7 14:10:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 14:10:27 ---> 3a857c6d3ac8 14:10:27 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 14:10:28 Removing intermediate container e078f19b5782 14:10:28 ---> 977a51590ed3 14:10:28 Step 7/24 : RUN apk add --update --no-cache make git 14:10:28 ---> Running in 764885bb4923 14:10:28 ---> 21e70ab08940 14:10:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 14:10:28 ---> Running in 72747659ca91 14:10:28 Removing intermediate container 72747659ca91 14:10:28 ---> 6c3bbdf8714c 14:10:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:10:28 ---> Running in e0bf98b72551 14:10:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:10:29 Removing intermediate container e0bf98b72551 14:10:29 ---> 54fe3345aefd 14:10:29 Step 22/24 : LABEL arch=arm64 14:10:29 ---> Running in 70e11e647ef8 14:10:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:10:29 Removing intermediate container 70e11e647ef8 14:10:29 ---> c7e15dbc9853 14:10:29 Step 23/24 : LABEL git_sha=1ad5bff171402c01e136b41b63c15df401bca220 14:10:29 ---> Running in 13be0ade9068 14:10:30 OK: 166 MiB in 39 packages 14:10:30 Removing intermediate container 13be0ade9068 14:10:30 ---> f392ef057ae6 14:10:30 Step 24/24 : LABEL version=0.0.0 14:10:30 ---> Running in acf00c5d927f 14:10:30 Removing intermediate container acf00c5d927f 14:10:30 ---> 68e627f331ba 14:10:30 [Warning] One or more build-args [ARCH] were not consumed 14:10:31 Successfully built 68e627f331ba 14:10:31 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script 14:10:31 Removing intermediate container 764885bb4923 14:10:31 ---> 220ccdb8c610 14:10:31 Step 8/24 : COPY . . [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 14:10:32 ---> 9952a151c05b 14:10:32 Step 9/24 : RUN ${MAKE} [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 14:10:32 ---> Running in 272233afd57e [Pipeline] } 14:10:33 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 14:10:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:10:52 Removing intermediate container 272233afd57e 14:10:52 ---> 15e6934d4aba 14:10:52 Step 10/24 : FROM scratch 14:10:52 ---> 14:10:52 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:10:52 ---> Running in ab35a8099532 14:10:52 Removing intermediate container ab35a8099532 14:10:52 ---> 471411a2a9d1 14:10:52 Step 12/24 : ENV APP_PORT=49990 14:10:52 ---> Running in 8f749c840cbf 14:10:52 Removing intermediate container 8f749c840cbf 14:10:52 ---> 2c67ee57a8d1 14:10:52 Step 13/24 : EXPOSE $APP_PORT 14:10:52 ---> Running in d60b4e62fa35 14:10:52 Removing intermediate container d60b4e62fa35 14:10:52 ---> 63db3c634e34 14:10:52 Step 14/24 : WORKDIR / 14:10:52 ---> Running in 83a8646533cc 14:10:53 Removing intermediate container 83a8646533cc 14:10:53 ---> a5730ba88d68 14:10:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:10:53 ---> f8aec4132c0f 14:10:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:10:54 ---> d1d9063024ca 14:10:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:10:55 ---> 1a5cd31c0906 14:10:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 14:10:55 ---> a0cd96a546c1 14:10:55 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 14:10:55 ---> a38b8d0c4c64 14:10:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 14:10:55 ---> Running in 8acb0dbbfbba 14:10:55 Removing intermediate container 8acb0dbbfbba 14:10:55 ---> bceeccd8fcac 14:10:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:10:56 ---> Running in 97bb5a8995bf 14:10:56 Removing intermediate container 97bb5a8995bf 14:10:56 ---> d86e8dee010b 14:10:56 Step 22/24 : LABEL arch=amd64 14:10:56 ---> Running in 28cdd98f4cc3 14:10:56 Removing intermediate container 28cdd98f4cc3 14:10:56 ---> 6533ee2e31ae 14:10:56 Step 23/24 : LABEL git_sha=1ad5bff171402c01e136b41b63c15df401bca220 14:10:56 ---> Running in 929ad5551e74 14:10:56 Removing intermediate container 929ad5551e74 14:10:56 ---> ea016a167f17 14:10:56 Step 24/24 : LABEL version=0.0.0 14:10:57 ---> Running in 2b1083edad0e 14:10:57 Removing intermediate container 2b1083edad0e 14:10:57 ---> f41dbaae67d7 14:10:57 [Warning] One or more build-args [ARCH] were not consumed 14:10:57 Successfully built f41dbaae67d7 14:10:57 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 14:11:01 provisioning config files... 14:11:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/config8961989732232962938tmp [Pipeline] { [Pipeline] sh 14:11:01 + set +x 14:11:01 + curl -s https://codecov.io/bash 14:11:01 + bash -s -- 14:11:01 14:11:01 _____ _ 14:11:01 / ____| | | 14:11:01 | | ___ __| | ___ ___ _____ __ 14:11:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:11:01 | |___| (_) | (_| | __/ (_| (_) \ V / 14:11:01 \_____\___/ \__,_|\___|\___\___/ \_/ 14:11:01 Bash-20201007-7e25d0a 14:11:01 14:11:01 14:11:01 ==> Jenkins CI detected. 14:11:01 project root: . 14:11:01 --> token set from env 14:11:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:11:01 ==> Running gcov in . (disable via -X gcov) 14:11:01 ==> Python coveragepy not found 14:11:01 ==> Searching for coverage reports in: 14:11:01 + . 14:11:01 -> Found 1 reports 14:11:01 ==> Detecting git/mercurial file structure 14:11:01 ==> Reading reports 14:11:01 + ./coverage.out bytes=110392 14:11:01 ==> Appending adjustments 14:11:01 https://docs.codecov.io/docs/fixing-reports 14:11:02 + Found adjustments 14:11:02 ==> Gzipping contents 14:11:02 ==> Uploading reports 14:11:02 url: https://codecov.io 14:11:02 query: branch=PR-624&commit=1ad5bff171402c01e136b41b63c15df401bca220&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-624%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=624&job=&cmd_args= 14:11:02 -> Pinging Codecov 14:11:02 https://codecov.io/upload/v4?package=bash-20201007-7e25d0a&token=secret&branch=PR-624&commit=1ad5bff171402c01e136b41b63c15df401bca220&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-624%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=624&job=&cmd_args= 14:11:02 -> Uploading to 14:11:02 14:11:02 % Total % Received % Xferd Average Speed Time Time Time Current 14:11:02 Dload Upload Total Spent Left Speed 14:11:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 14:11:02 X> Failed to upload 14:11:02 ==> Uploading to Codecov 14:11:02 % Total % Received % Xferd Average Speed Time Time Time Current 14:11:02 Dload Upload Total Spent Left Speed 14:11:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19665 0 0 100 19555 0 23269 --:--:-- --:--:-- --:--:-- 23252 100 19665 100 110 100 19555 130 23263 --:--:-- --:--:-- --:--:-- 23252 14:11:03 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1ad5bff171402c01e136b41b63c15df401bca220 [Pipeline] } 14:11:03 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 14:11:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:11:06 ---> package-listing.sh 14:11:06 ++ facter osfamily 14:11:06 ++ tr '[:upper:]' '[:lower:]' 14:11:06 + OS_FAMILY=redhat 14:11:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-624 14:11:06 + START_PACKAGES=/tmp/packages_start.txt 14:11:06 + END_PACKAGES=/tmp/packages_end.txt 14:11:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:11:06 + PACKAGES=/tmp/packages_start.txt 14:11:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-624 ']' 14:11:06 + PACKAGES=/tmp/packages_end.txt 14:11:06 + case "${OS_FAMILY}" in 14:11:06 + rpm -qa 14:11:06 + sort 14:11:12 + '[' -f /tmp/packages_start.txt ']' 14:11:12 + '[' -f /tmp/packages_end.txt ']' 14:11:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:11:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-624 ']' 14:11:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-624/archives/ 14:11:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-624/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:12 provisioning config files... 14:11:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/config4840711483057329525tmp [Pipeline] { [Pipeline] echo 14:11:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:11:13 ---> create-netrc.sh [Pipeline] } 14:11:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 14:11:13 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 14:11:13 ---> python-tools-install.sh 14:11:13 Generating Requirements File 14:12:35 Python 3.6.8 14:12:35 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 14:12:35 appdirs==1.4.3 14:12:35 argcomplete==1.12.1 14:12:35 aspy.yaml==1.3.0 14:12:35 attrs==19.3.0 14:12:35 Babel==2.8.0 14:12:35 beautifulsoup4==4.8.2 14:12:35 boto3==1.11.6 14:12:35 botocore==1.14.6 14:12:35 bs4==0.0.1 14:12:35 cachetools==4.1.1 14:12:35 certifi==2019.11.28 14:12:35 cffi==1.14.3 14:12:35 cfgv==2.0.1 14:12:35 chardet==3.0.4 14:12:35 click==7.1 14:12:35 cliff==3.4.0 14:12:35 cmd2==1.3.11 14:12:35 colorama==0.4.3 14:12:35 cryptography==3.1.1 14:12:35 debtcollector==2.2.0 14:12:35 decorator==4.4.2 14:12:35 defusedxml==0.6.0 14:12:35 Deprecated==1.2.7 14:12:35 distlib==0.3.1 14:12:35 distro==1.2.0 14:12:35 dnspython==1.16.0 14:12:35 docker==4.2.0 14:12:35 docutils==0.15.2 14:12:35 dogpile.cache==1.0.2 14:12:35 email-validator==1.0.5 14:12:35 filelock==3.0.12 14:12:35 future==0.18.2 14:12:35 google-auth==1.22.1 14:12:35 httplib2==0.17.0 14:12:35 identify==1.4.11 14:12:35 idna==2.9 14:12:35 importlib-metadata==1.7.0 14:12:35 importlib-resources==1.5.0 14:12:35 iso8601==0.1.13 14:12:35 Jinja2==2.11.1 14:12:35 jmespath==0.10.0 14:12:35 jsonpatch==1.26 14:12:35 jsonpointer==2.0 14:12:35 jsonschema==3.2.0 14:12:35 keystoneauth1==4.2.1 14:12:35 kubernetes==11.0.0 14:12:35 lftools==0.34.2 14:12:35 lxml==4.5.0 14:12:35 MarkupSafe==0.23 14:12:35 msgpack==1.0.0 14:12:35 multi-key-dict==2.0.3 14:12:35 munch==2.5.0 14:12:35 netaddr==0.8.0 14:12:35 netifaces==0.10.9 14:12:35 niet==1.4.2 14:12:35 nodeenv==1.3.5 14:12:35 oauth2client==4.1.3 14:12:35 oauthlib==3.1.0 14:12:35 openstacksdk==0.50.0 14:12:35 os-client-config==2.1.0 14:12:35 os-service-types==1.7.0 14:12:35 osc-lib==2.2.1 14:12:35 oslo.config==8.3.2 14:12:35 oslo.context==3.1.1 14:12:35 oslo.i18n==5.0.1 14:12:35 oslo.log==4.4.0 14:12:35 oslo.serialization==4.0.1 14:12:35 oslo.utils==4.6.0 14:12:35 packaging==20.4 14:12:35 pbr==5.4.4 14:12:35 pluggy==0.13.1 14:12:35 prettytable==0.7.2 14:12:35 py==1.9.0 14:12:35 pyasn1==0.4.8 14:12:35 pyasn1-modules==0.2.8 14:12:35 pycparser==2.20 14:12:35 pygerrit2==2.0.10 14:12:35 PyGithub==1.46 14:12:35 pyinotify==0.9.6 14:12:35 PyJWT==1.7.1 14:12:35 pyparsing==2.4.7 14:12:35 pyperclip==1.8.0 14:12:35 pyroute2==0.4.13 14:12:35 pyrsistent==0.15.7 14:12:35 PySocks==1.6.8 14:12:35 python-cinderclient==7.2.0 14:12:35 python-dateutil==2.8.1 14:12:35 python-heatclient==2.2.1 14:12:35 python-jenkins==1.7.0 14:12:35 python-keystoneclient==4.1.1 14:12:35 python-magnumclient==3.2.1 14:12:35 python-novaclient==17.2.1 14:12:35 python-openstackclient==5.4.0 14:12:35 python-swiftclient==3.10.1 14:12:35 pytz==2020.1 14:12:35 PyYAML==5.3 14:12:35 requests==2.23.0 14:12:35 requests-oauthlib==1.3.0 14:12:35 requestsexceptions==1.4.0 14:12:35 rfc3986==1.4.0 14:12:35 rpm==4.11.3 14:12:35 rsa==4.0 14:12:35 ruamel.yaml==0.16.10 14:12:35 ruamel.yaml.clib==0.2.0 14:12:35 s3transfer==0.3.3 14:12:35 shade==1.27.2 14:12:35 simplejson==3.17.2 14:12:35 six==1.14.0 14:12:35 soupsieve==2.0 14:12:35 stevedore==3.2.2 14:12:35 tabulate==0.8.6 14:12:35 toml==0.10.0 14:12:35 tox==3.20.0 14:12:35 tqdm==4.43.0 14:12:35 urllib3==1.25.8 14:12:35 virtualenv==20.0.33 14:12:35 wcwidth==0.2.5 14:12:35 websocket-client==0.57.0 14:12:35 wrapt==1.12.1 14:12:35 xdg==3.0.2 14:12:35 xmltodict==0.12.0 14:12:35 yq==2.11.1 14:12:35 zipp==3.3.0 14:12:35 Cache entry deserialization failed, entry ignored 14:12:35 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. 14:12:35 Python 2.7.5 14:12:35 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 14:12:35 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. 14:12:35 ansible==2.9.7 14:12:35 Babel==0.9.6 14:12:35 backports.ssl-match-hostname==3.5.0.1 14:12:35 beautifulsoup4==4.4.1 14:12:35 bodhi==2.11.0 14:12:35 bodhi-client==2.11.0 14:12:35 CCColUtils==1.4 14:12:35 cffi==1.6.0 14:12:35 chardet==2.2.1 14:12:35 click==6.7 14:12:35 cloud-init==18.5 14:12:35 configobj==4.7.2 14:12:35 cryptography==1.7.2 14:12:35 decorator==3.4.0 14:12:35 distro==1.2.0 14:12:35 enum34==1.0.4 14:12:35 fedpkg==1.38 14:12:35 futures==3.1.1 14:12:35 gitdb==0.6.4 14:12:35 GitPython==1.0.1 14:12:35 html5lib==0.999 14:12:35 httplib2==0.9.2 14:12:35 idna==2.4 14:12:35 iniparse==0.4 14:12:35 ipaddress==1.0.16 14:12:35 IPy==0.75 14:12:35 javapackages==1.0.0 14:12:35 Jinja2==2.7.2 14:12:35 jmespath==0.9.4 14:12:35 jsonpatch==1.2 14:12:35 jsonpointer==1.9 14:12:35 kerberos==1.1 14:12:35 kitchen==1.1.1 14:12:35 langtable==0.0.31 14:12:35 lockfile==0.9.1 14:12:35 lxml==3.2.1 14:12:35 MarkupSafe==0.11 14:12:35 munch==2.0.2 14:12:35 offtrac==0.1.0 14:12:35 openidc-client==0.6.0 14:12:35 packagedb-cli==2.14.1 14:12:35 paramiko==2.1.1 14:12:35 perf==0.1 14:12:35 ply==3.4 14:12:35 policycoreutils-default-encoding==0.1 14:12:35 prettytable==0.7.2 14:12:35 pyasn1==0.1.9 14:12:35 pycparser==2.14 14:12:35 pycurl==7.19.0 14:12:35 pygobject==3.22.0 14:12:35 pygpgme==0.3 14:12:35 pyliblzma==0.5.3 14:12:35 pyOpenSSL==0.13.1 14:12:35 pyparsing==1.5.6 14:12:35 pyserial==2.6 14:12:35 python-augeas==0.5.0 14:12:35 python-bugzilla==2.3.0 14:12:35 python-dateutil==1.5 14:12:35 python-fedora==0.10.0 14:12:35 python-linux-procfs==0.4.9 14:12:35 python-yubico==1.2.3 14:12:35 pyudev==0.15 14:12:35 pyusb==1.0.0b1 14:12:35 pyxattr==0.5.1 14:12:35 PyYAML==3.10 14:12:35 requests==2.6.0 14:12:35 requests-kerberos==0.7.0 14:12:35 rpkg==1.60 14:12:35 schedutils==0.4 14:12:35 seobject==0.1 14:12:35 sepolicy==1.1 14:12:35 six==1.9.0 14:12:35 smmap==0.9.0 14:12:35 urlgrabber==3.10 14:12:35 urllib3==1.10.2 14:12:35 virtualenv==15.1.0 14:12:35 yum-langpacks==0.4.2 14:12:35 yum-metadata-parser==1.1.4 [Pipeline] echo 14:12:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:12:35 ---> sudo-logs.sh 14:12:35 Archiving 'sudo' log.. [Pipeline] echo 14:12:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:12:36 ---> job-cost.sh 14:12:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SAx5 14:12:44 Cache entry deserialization failed, entry ignored 14:12:44 Cache entry deserialization failed, entry ignored 14:12:46 Cache entry deserialization failed, entry ignored 14:12:46 Cache entry deserialization failed, entry ignored 14:12:46 Cache entry deserialization failed, entry ignored 14:12:46 Cache entry deserialization failed, entry ignored 14:12:46 Cache entry deserialization failed, entry ignored 14:12:47 Cache entry deserialization failed, entry ignored 14:12:47 Cache entry deserialization failed, entry ignored 14:12:47 Cache entry deserialization failed, entry ignored 14:12:47 Cache entry deserialization failed, entry ignored 14:12:47 Cache entry deserialization failed, entry ignored 14:12:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:13:19 lf-activate-venv(): INFO: Adding /tmp/venv-SAx5/bin to PATH 14:13:19 INFO: No Stack... 14:13:20 INFO: Retrieving Pricing Info for: v1-standard-2 14:13:20 INFO: Archiving Costs [Pipeline] echo 14:13:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:13:22 ---> logs-deploy.sh 14:13:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-624/2 14:13:22 INFO: archiving workspace using pattern(s): 14:13:24 Archives upload complete. 14:13:24 INFO: archiving logs to Nexus