Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b548679428654ee0dca8f5b5dc3d7fcaeb119b73+833c05b782f270c396ee40879762f076aaf9331e (ad819d4ff9c9c5bd012b3976a980469e7a33cb77) 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; ‘prd-centos7-docker-4c-2g-3684’ is offline; ‘prd-centos7-docker-4c-2g-3688’ is offline; ‘prd-centos7-docker-4c-2g-3697’ is offline; ‘prd-centos7-docker-8c-8g-3692’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3683’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3701 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 Merge succeeded, producing b548679428654ee0dca8f5b5dc3d7fcaeb119b73 Checking out Revision b548679428654ee0dca8f5b5dc3d7fcaeb119b73 (PR-582) > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # 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 b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. > git rev-list --no-walk 05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:38:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:38:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:38:28 ========================================================= 06:38:28 EdgeX Global Pipelines Version Info 06:38:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:38:29 ------------------- 06:38:29 stable info: 06:38:29 ------------------- 06:38:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:38:29 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:38:29 Message: update stable to v1.0.131 06:38:30 ------------------- 06:38:30 experimental info: 06:38:30 ------------------- 06:38:30 Commited By: **** collab-it+edgex@linuxfoundation.org 06:38:30 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 06:38:30 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:38:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:38:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:38:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:38:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:38:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:38:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:38:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:38:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:38:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 06:38:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 06:38:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 06:38:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [Pipeline] echo 06:38:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b548679 [Pipeline] echo 06:38:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:38:35 + git log --format=format:%s -1 b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [Pipeline] echo 06:38:35 GIT_COMMIT: b548679428654ee0dca8f5b5dc3d7fcaeb119b73, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo 06:38:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:38:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:38:35 06:38:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:38:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:38:36 latest: Pulling from edgex-devops/git-semver 06:38:36 31603596830f: Pulling fs layer 06:38:36 2a8b12db71e7: Pulling fs layer 06:38:36 6ca5941a6612: Pulling fs layer 06:38:36 ecc8261a40a4: Pulling fs layer 06:38:36 ecc8261a40a4: Waiting 06:38:36 2a8b12db71e7: Verifying Checksum 06:38:36 2a8b12db71e7: Download complete 06:38:36 31603596830f: Download complete 06:38:36 ecc8261a40a4: Verifying Checksum 06:38:36 ecc8261a40a4: Download complete 06:38:36 6ca5941a6612: Verifying Checksum 06:38:36 6ca5941a6612: Download complete 06:38:36 31603596830f: Pull complete 06:38:37 2a8b12db71e7: Pull complete 06:38:37 6ca5941a6612: Pull complete 06:38:37 ecc8261a40a4: Pull complete 06:38:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:38:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:38:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:38:38 prd-centos7-docker-4c-2g-3701 does not seem to be running inside a container 06:38:38 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:38:40 $ docker top 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:38:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:40 [ssh-agent] Looking for ssh-agent implementation... 06:38:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:40 $ docker exec 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 ssh-agent 06:38:40 SSH_AUTH_SOCK=/tmp/ssh-4uymp2etikC8/agent.13 06:38:40 SSH_AGENT_PID=18 06:38:40 Running ssh-add (command line suppressed) 06:38:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5707727096274202714.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5707727096274202714.key) 06:38:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:41 + git describe --exact-match --tags HEAD 06:38:41 fatal: no tag exactly matches 'b548679428654ee0dca8f5b5dc3d7fcaeb119b73' [Pipeline] } 06:38:41 $ docker exec --env ******** --env ******** 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 ssh-agent -k 06:38:41 unset SSH_AUTH_SOCK; 06:38:41 unset SSH_AGENT_PID; 06:38:41 echo Agent pid 18 killed; 06:38:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:38:41 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:38:41 This usually means this commit has not been tagged. [Pipeline] sshagent 06:38:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:41 [ssh-agent] Looking for ssh-agent implementation... 06:38:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:42 $ docker exec 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 ssh-agent 06:38:42 SSH_AUTH_SOCK=/tmp/ssh-bpYFLOjBX6jx/agent.49 06:38:42 SSH_AGENT_PID=54 06:38:42 Running ssh-add (command line suppressed) 06:38:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1312404512842996315.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1312404512842996315.key) 06:38:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:42 + git semver init 06:38:42 # -> Open(): unable to determine branch for HEAD 06:38:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 06:38:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 06:38:42 # $SEMVER_REMOTE_NAME = origin 06:38:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:38:42 # $SEMVER_USER_NAME = edgex-jenkins 06:38:42 # $SEMVER_BRANCH = PR-582 06:38:42 # $SEMVER_TEMP = /tmp/semver-366904768 06:38:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:38:43 # '/tmp/semver-366904768' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 06:38:43 # -> Force: false 06:38:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 06:38:43 $ docker exec --env ******** --env ******** 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 ssh-agent -k 06:38:43 unset SSH_AUTH_SOCK; 06:38:43 unset SSH_AGENT_PID; 06:38:43 echo Agent pid 54 killed; 06:38:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:38:44 + git semver [Pipeline] } 06:38:44 $ docker stop --time=1 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 06:38:45 $ docker rm -f 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:38:46 Stashed 46 file(s) [Pipeline] echo 06:38:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:38:46 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:39:02 Still waiting to schedule task 06:39:02 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3682’ is offline; ‘prd-centos7-docker-4c-2g-3684’ is offline; ‘prd-centos7-docker-4c-2g-3688’ is offline; ‘prd-centos7-docker-4c-2g-3695’ is offline; ‘prd-centos7-docker-4c-2g-3702’ is offline; ‘prd-centos7-docker-4c-2g-3703’ is offline; ‘prd-centos7-docker-8c-8g-3692’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3683’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3690’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3693’ doesn’t have label ‘centos7-docker-4c-2g’ 06:39:02 Still waiting to schedule task 06:39:02 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:40:19 Running on prd-centos7-docker-4c-2g-3707 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 06:40:20 Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout 06:40:22 using credential edgex-jenkins-ssh 06:40:22 Cloning the remote Git repository 06:40:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:40:22 > git init /w/workspace/device-sdk-go/18 # timeout=10 06:40:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:40:22 > git --version # timeout=10 06:40:22 > git --version # 'git version 2.16.5' 06:40:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:40:24 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 06:40:24 Merge succeeded, producing b548679428654ee0dca8f5b5dc3d7fcaeb119b73 06:40:24 Checking out Revision b548679428654ee0dca8f5b5dc3d7fcaeb119b73 (PR-582) 06:40:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:40:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:40:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:40:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:40:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:40:24 > git config core.sparsecheckout # timeout=10 06:40:24 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 06:40:24 > git remote # timeout=10 06:40:24 > git config --get remote.origin.url # timeout=10 06:40:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:24 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:40:24 > git rev-parse HEAD^{commit} # timeout=10 06:40:24 > git config core.sparsecheckout # timeout=10 06:40:24 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 06:40:28 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:40:29 ========================================================= 06:40:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:40:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:40:30 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:40:31 Sending build context to Docker daemon 3.491MB 06:40:31 Step 1/8 : ARG BASE=golang:1.15-alpine 06:40:31 Step 2/8 : FROM ${BASE} 06:40:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:40:31 df20fa9351a1: Pulling fs layer 06:40:31 ed8968b2872e: Pulling fs layer 06:40:31 a92cc7c5fd73: Pulling fs layer 06:40:31 e871e8e8d7a9: Pulling fs layer 06:40:31 e73272ec9a57: Pulling fs layer 06:40:31 1e910a182e73: Pulling fs layer 06:40:31 4e634b169226: Pulling fs layer 06:40:31 e73272ec9a57: Waiting 06:40:31 1e910a182e73: Waiting 06:40:31 4e634b169226: Waiting 06:40:31 e871e8e8d7a9: Waiting 06:40:31 a92cc7c5fd73: Download complete 06:40:31 ed8968b2872e: Download complete 06:40:31 e73272ec9a57: Verifying Checksum 06:40:31 e73272ec9a57: Download complete 06:40:31 1e910a182e73: Verifying Checksum 06:40:31 1e910a182e73: Download complete 06:40:32 df20fa9351a1: Verifying Checksum 06:40:32 df20fa9351a1: Download complete 06:40:32 df20fa9351a1: Pull complete 06:40:32 ed8968b2872e: Pull complete 06:40:32 a92cc7c5fd73: Pull complete 06:40:35 4e634b169226: Verifying Checksum 06:40:36 e871e8e8d7a9: Verifying Checksum 06:40:36 e871e8e8d7a9: Download complete 06:40:41 e871e8e8d7a9: Pull complete 06:40:42 e73272ec9a57: Pull complete 06:40:42 1e910a182e73: Pull complete 06:40:47 4e634b169226: Pull complete 06:40:47 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:40:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:40:47 ---> f7629b54cfaa 06:40:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:47 ---> Running in 54a5af3b0a86 06:40:47 Removing intermediate container 54a5af3b0a86 06:40:47 ---> 44f0a329b191 06:40:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:47 ---> Running in d8e4915a6126 06:40:49 Removing intermediate container d8e4915a6126 06:40:49 ---> d8a1f7559bda 06:40:49 Step 5/8 : RUN apk add --no-cache make git 06:40:49 ---> Running in d6db86aed68e 06:40:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:40:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:40:52 OK: 166 MiB in 39 packages 06:40:52 Removing intermediate container d6db86aed68e 06:40:52 ---> ca3a64c0ccf1 06:40:52 Step 6/8 : WORKDIR /device-sdk-go 06:40:52 ---> Running in da213847d9a6 06:40:53 Removing intermediate container da213847d9a6 06:40:53 ---> bf0d6cb64c29 06:40:53 Step 7/8 : COPY . . 06:40:54 ---> 95d5b3e65975 06:40:54 Step 8/8 : RUN go mod download 06:40:54 ---> Running in 899bba5b16a0 06:41:16 Removing intermediate container 899bba5b16a0 06:41:16 ---> e74b2d7d411f 06:41:16 Successfully built e74b2d7d411f 06:41:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:41:16 + docker inspect -f . ci-base-image-x86_64 06:41:16 . [Pipeline] withDockerContainer 06:41:17 prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container 06:41:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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 ******** ci-base-image-x86_64 cat 06:41:18 $ docker top 885c4d431d7382c2151844cbc8c89f554402356debda927bb99a2d93c4c52faa -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:18 + go version 06:41:18 go version go1.15.2 linux/amd64 [Pipeline] } 06:41:18 $ docker stop --time=1 885c4d431d7382c2151844cbc8c89f554402356debda927bb99a2d93c4c52faa 06:41:19 $ docker rm -f 885c4d431d7382c2151844cbc8c89f554402356debda927bb99a2d93c4c52faa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:41:21 + docker inspect -f . ci-base-image-x86_64 06:41:21 . [Pipeline] withDockerContainer 06:41:21 prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container 06:41:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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 ******** ci-base-image-x86_64 cat 06:41:21 $ docker top a67066cafca365c7949dd839a1749007df4fdf86355ca59c1404a41061e7fefe -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:22 + make test 06:41:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:41:30 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:41:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:41:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:41:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:41:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 21.6% of statements 06:41:45 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.448s coverage: 97.1% of statements 06:42:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3709 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 06:42:05 Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout 06:42:11 using credential edgex-jenkins-ssh 06:42:11 Cloning the remote Git repository 06:42:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:42:11 > git init /w/workspace/device-sdk-go/18 # timeout=10 06:42:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:42:11 > git --version # timeout=10 06:42:11 > git --version # 'git version 2.17.1' 06:42:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:13 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 06:42:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:42:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:42:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:42:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:42:13 > git config core.sparsecheckout # timeout=10 06:42:13 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 06:42:14 > git remote # timeout=10 06:42:14 > git config --get remote.origin.url # timeout=10 06:42:14 Merge succeeded, producing b548679428654ee0dca8f5b5dc3d7fcaeb119b73 06:42:14 Checking out Revision b548679428654ee0dca8f5b5dc3d7fcaeb119b73 (PR-582) 06:42:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:14 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:42:14 > git rev-parse HEAD^{commit} # timeout=10 06:42:14 > git config core.sparsecheckout # timeout=10 06:42:14 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 06:42:17 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 9.4% of statements 06:42:17 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements 06:42:17 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:42:17 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.192s coverage: 40.3% of statements 06:42:17 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:42:17 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 65.4% of statements 06:42:17 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:42:17 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:42:17 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:42:17 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:42:17 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements 06:42:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:42:17 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.390s coverage: 68.9% of statements 06:42:17 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:42:17 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:42:17 GO111MODULE=on go vet ./... 06:42:18 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:42:20 ========================================================= 06:42:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:42:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:42:21 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:42:22 Sending build context to Docker daemon 3.49MB 06:42:22 Step 1/8 : ARG BASE=golang:1.15-alpine 06:42:22 Step 2/8 : FROM ${BASE} 06:42:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:42:22 b538f80385f9: Pulling fs layer 06:42:22 74f711af9a0d: Pulling fs layer 06:42:22 99f96fe45779: Pulling fs layer 06:42:22 8529a6b9a6be: Pulling fs layer 06:42:22 45590311c82a: Pulling fs layer 06:42:22 69ca0ff8b7b3: Pulling fs layer 06:42:22 209524e5b208: Pulling fs layer 06:42:22 8529a6b9a6be: Waiting 06:42:22 45590311c82a: Waiting 06:42:22 69ca0ff8b7b3: Waiting 06:42:22 209524e5b208: Waiting 06:42:22 99f96fe45779: Download complete 06:42:22 74f711af9a0d: Verifying Checksum 06:42:22 74f711af9a0d: Download complete 06:42:23 45590311c82a: Verifying Checksum 06:42:23 45590311c82a: Download complete 06:42:23 69ca0ff8b7b3: Download complete 06:42:23 b538f80385f9: Verifying Checksum 06:42:23 b538f80385f9: Download complete 06:42:23 b538f80385f9: Pull complete 06:42:24 74f711af9a0d: Pull complete 06:42:24 99f96fe45779: Pull complete 06:42:24 gofmt -l . 06:42:24 [ "`gofmt -l .`" = "" ] 06:42:24 ./bin/test-attribution-txt.sh 06:42:24 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:42:25 209524e5b208: Verifying Checksum 06:42:25 209524e5b208: Download complete 06:42:25 Stashed 1 file(s) [Pipeline] } 06:42:25 $ docker stop --time=1 a67066cafca365c7949dd839a1749007df4fdf86355ca59c1404a41061e7fefe 06:42:26 8529a6b9a6be: Verifying Checksum 06:42:26 8529a6b9a6be: Download complete 06:42:27 $ docker rm -f a67066cafca365c7949dd839a1749007df4fdf86355ca59c1404a41061e7fefe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:42:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:29 + ls -al . 06:42:29 total 192 06:42:29 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 06:42 . 06:42:29 drwxrwxr-x. 4 jenkins jenkins 30 Oct 6 06:40 .. 06:42:29 drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 06:40 bin 06:42:29 -rw-r--r--. 1 jenkins jenkins 111041 Oct 6 06:42 coverage.out 06:42:29 -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 06:40 Dockerfile.build 06:42:29 -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 06:40 .dockerignore 06:42:29 drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 06:40 example 06:42:29 drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 06:40 .git 06:42:29 drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 06:40 .github 06:42:29 -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 06:40 .gitignore 06:42:29 -rw-r--r--. 1 jenkins jenkins 517 Oct 6 06:42 go.mod 06:42:29 -rw-r--r--. 1 jenkins jenkins 13731 Oct 6 06:42 go.sum 06:42:29 drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 06:40 internal 06:42:29 -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 06:40 Jenkinsfile 06:42:29 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 06:40 LICENSE 06:42:29 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 06:40 Makefile 06:42:29 drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 06:40 openapi 06:42:29 drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 06:40 pkg 06:42:29 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 06:40 README.md 06:42:29 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 06:40 RELEASE-NOTES.txt 06:42:29 drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 06:40 .semver 06:42:29 drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 06:40 snap 06:42:29 -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 06:38 VERSION 06:42:29 -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 06:40 version.go [Pipeline] isUnix [Pipeline] sh 06:42:29 + 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=b548679428654ee0dca8f5b5dc3d7fcaeb119b73 --label arch=amd64 --label version=0.0.0 . 06:42:29 Sending build context to Docker daemon 3.602MB 06:42:29 Step 1/24 : ARG BASE=golang:1.15-alpine 06:42:29 Step 2/24 : FROM ${BASE} AS builder 06:42:29 ---> e74b2d7d411f 06:42:29 Step 3/24 : ARG MAKE='make build' 06:42:30 ---> Running in 29968a6c92cc 06:42:30 Removing intermediate container 29968a6c92cc 06:42:30 ---> 844daa250454 06:42:30 Step 4/24 : WORKDIR /device-sdk-go 06:42:30 ---> Running in 114df6ef890a 06:42:30 Removing intermediate container 114df6ef890a 06:42:30 ---> 8f2aec32762d 06:42:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:42:30 ---> Running in 86b894553f2f 06:42:30 Removing intermediate container 86b894553f2f 06:42:30 ---> 96be25f666d4 06:42:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:31 ---> Running in b15e90f6f101 06:42:32 Removing intermediate container b15e90f6f101 06:42:32 ---> d23e8205d07a 06:42:32 Step 7/24 : RUN apk add --update --no-cache make git 06:42:32 ---> Running in 18d475b38ee0 06:42:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:42:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:42:35 OK: 166 MiB in 39 packages 06:42:36 Removing intermediate container 18d475b38ee0 06:42:36 ---> 290c18f9390b 06:42:36 Step 8/24 : COPY . . 06:42:37 8529a6b9a6be: Pull complete 06:42:37 45590311c82a: Pull complete 06:42:37 ---> f51b4fdb7e14 06:42:37 Step 9/24 : RUN ${MAKE} 06:42:37 ---> Running in f0d6855ed51a 06:42:37 69ca0ff8b7b3: Pull complete 06:42:37 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:42:41 209524e5b208: Pull complete 06:42:41 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:42:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:42:41 ---> 5bddaf1c2fca 06:42:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:42:45 ---> Running in c56f567c1383 06:42:45 Removing intermediate container c56f567c1383 06:42:45 ---> 170d2b6aee96 06:42:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:45 ---> Running in 937bc20cb9da 06:42:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:42:47 Removing intermediate container f0d6855ed51a 06:42:47 ---> 686d872a7338 06:42:47 Step 10/24 : FROM scratch 06:42:47 ---> 06:42:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:42:47 ---> Running in f50589b5027a 06:42:47 Removing intermediate container f50589b5027a 06:42:47 ---> f81e334b90a3 06:42:47 Step 12/24 : ENV APP_PORT=49990 06:42:47 ---> Running in 8e9f1fc51d26 06:42:47 Removing intermediate container 8e9f1fc51d26 06:42:47 ---> f5ae887576d5 06:42:47 Step 13/24 : EXPOSE $APP_PORT 06:42:47 ---> Running in 702af9158db7 06:42:47 Removing intermediate container 702af9158db7 06:42:47 ---> 040d6fd4d984 06:42:47 Step 14/24 : WORKDIR / 06:42:47 ---> Running in de97156c1f4d 06:42:48 Removing intermediate container de97156c1f4d 06:42:48 ---> 67785af471d5 06:42:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:42:48 Removing intermediate container 937bc20cb9da 06:42:48 ---> f4d97b1eb9b1 06:42:48 Step 5/8 : RUN apk add --no-cache make git 06:42:48 ---> Running in 86c18000a44f 06:42:48 ---> d004f489e4be 06:42:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:42:49 ---> acde053c02f9 06:42:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:42:49 ---> ad2b00fa29bc 06:42:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:42:49 ---> c21035c37c25 06:42:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:42:49 ---> b48f0df46bd4 06:42:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:42:49 ---> Running in 76b5efc8c090 06:42:49 Removing intermediate container 76b5efc8c090 06:42:49 ---> 5ff4cea10a5f 06:42:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:42:49 ---> Running in 12e11fadf697 06:42:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:42:50 Removing intermediate container 12e11fadf697 06:42:50 ---> 6b12806e077b 06:42:50 Step 22/24 : LABEL arch=amd64 06:42:50 ---> Running in 90ae4ae9a913 06:42:50 Removing intermediate container 90ae4ae9a913 06:42:50 ---> 397f4287b1c2 06:42:50 Step 23/24 : LABEL git_sha=b548679428654ee0dca8f5b5dc3d7fcaeb119b73 06:42:50 ---> Running in 4eb57fe7bb08 06:42:50 Removing intermediate container 4eb57fe7bb08 06:42:50 ---> 172770deff36 06:42:50 Step 24/24 : LABEL version=0.0.0 06:42:50 ---> Running in b9a12341d678 06:42:50 Removing intermediate container b9a12341d678 06:42:50 ---> 50b929308ccf 06:42:50 [Warning] One or more build-args [ARCH] were not consumed 06:42:50 Successfully built 50b929308ccf 06:42:50 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage 06:42:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:42:52 OK: 142 MiB in 39 packages 06:42:53 Removing intermediate container 86c18000a44f 06:42:53 ---> 1df3a9e6bba1 06:42:53 Step 6/8 : WORKDIR /device-sdk-go 06:42:53 ---> Running in 7771a94dd5d5 06:42:54 Removing intermediate container 7771a94dd5d5 06:42:54 ---> 9af5a2f2a7e1 06:42:54 Step 7/8 : COPY . . 06:42:56 ---> 3fb935b69ce9 06:42:56 Step 8/8 : RUN go mod download 06:42:56 ---> Running in 68e71b7e1fad 06:43:18 Removing intermediate container 68e71b7e1fad 06:43:18 ---> 1be11bc960d0 06:43:18 Successfully built 1be11bc960d0 06:43:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:43:18 + docker inspect -f . ci-base-image-arm64 06:43:18 . [Pipeline] withDockerContainer 06:43:18 prd-ubuntu18.04-docker-arm64-4c-16g-3709 does not seem to be running inside a container 06:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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 ******** ci-base-image-arm64 cat 06:43:20 $ docker top 04d38a09a3c7070cb089d9b6d78966f65158a1370aafcfe80bab3df0466dea88 -eo pid,comm [Pipeline] { [Pipeline] sh 06:43:22 + go version 06:43:22 go version go1.15.2 linux/arm64 [Pipeline] } 06:43:22 $ docker stop --time=1 04d38a09a3c7070cb089d9b6d78966f65158a1370aafcfe80bab3df0466dea88 06:43:24 $ docker rm -f 04d38a09a3c7070cb089d9b6d78966f65158a1370aafcfe80bab3df0466dea88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:43:25 + docker inspect -f . ci-base-image-arm64 06:43:25 . [Pipeline] withDockerContainer 06:43:25 prd-ubuntu18.04-docker-arm64-4c-16g-3709 does not seem to be running inside a container 06:43:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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 ******** ci-base-image-arm64 cat 06:43:27 $ docker top c62e1c00a30d35542d70451c023b328afd78712e91f7b391b3a6bb617760c389 -eo pid,comm [Pipeline] { [Pipeline] sh 06:43:29 + make test 06:43:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:43:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:44:35 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:44:35 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:44:35 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:44:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.160s coverage: 21.6% of statements 06:44:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.305s coverage: 97.1% of statements 06:45:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.190s coverage: 9.4% of statements 06:45:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.154s coverage: 21.9% of statements 06:45:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:45:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.605s coverage: 40.3% of statements 06:45:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:45:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.993s coverage: 65.4% of statements 06:45:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:45:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:45:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:45:10 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:45:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.188s coverage: 52.6% of statements 06:45:10 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:45:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.007s coverage: 68.9% of statements 06:45:10 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:45:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:45:10 GO111MODULE=on go vet ./... 06:45:42 gofmt -l . 06:45:42 [ "`gofmt -l .`" = "" ] 06:45:42 ./bin/test-attribution-txt.sh 06:45:42 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:45:42 Warning: overwriting stash ‘coverage-report’ 06:45:43 Stashed 1 file(s) [Pipeline] } 06:45:43 $ docker stop --time=1 c62e1c00a30d35542d70451c023b328afd78712e91f7b391b3a6bb617760c389 06:45:45 $ docker rm -f c62e1c00a30d35542d70451c023b328afd78712e91f7b391b3a6bb617760c389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:45:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:45:47 + ls -al . 06:45:47 total 232 06:45:47 drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 06:45 . 06:45:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:42 .. 06:45:47 -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 06:42 .dockerignore 06:45:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 06:42 .git 06:45:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:42 .github 06:45:47 -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 06:42 .gitignore 06:45:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 06:42 .semver 06:45:47 -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 06:42 Dockerfile.build 06:45:47 -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 06:42 Jenkinsfile 06:45:47 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 06:42 LICENSE 06:45:47 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 06:42 Makefile 06:45:47 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 06:42 README.md 06:45:47 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 06:42 RELEASE-NOTES.txt 06:45:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 06:38 VERSION 06:45:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:42 bin 06:45:47 -rw-r--r-- 1 jenkins jenkins 111041 Oct 6 06:45 coverage.out 06:45:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:42 example 06:45:47 -rw-r--r-- 1 jenkins jenkins 517 Oct 6 06:45 go.mod 06:45:47 -rw-r--r-- 1 jenkins jenkins 13731 Oct 6 06:45 go.sum 06:45:47 drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 06:42 internal 06:45:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:42 openapi 06:45:47 drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 06:42 pkg 06:45:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:42 snap 06:45:47 -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 06:42 version.go [Pipeline] isUnix [Pipeline] sh 06:45:47 + 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=b548679428654ee0dca8f5b5dc3d7fcaeb119b73 --label arch=arm64 --label version=0.0.0 . 06:45:48 Sending build context to Docker daemon 3.602MB 06:45:48 Step 1/24 : ARG BASE=golang:1.15-alpine 06:45:48 Step 2/24 : FROM ${BASE} AS builder 06:45:48 ---> 1be11bc960d0 06:45:48 Step 3/24 : ARG MAKE='make build' 06:45:48 ---> Running in 117fd05d675e 06:45:48 Removing intermediate container 117fd05d675e 06:45:48 ---> bfd3b82c470f 06:45:48 Step 4/24 : WORKDIR /device-sdk-go 06:45:49 ---> Running in 87e8504e1a6c 06:45:49 Removing intermediate container 87e8504e1a6c 06:45:49 ---> 35d8359d6e84 06:45:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:45:49 ---> Running in 994457efbc2b 06:45:50 Removing intermediate container 994457efbc2b 06:45:50 ---> c09b6fb3d883 06:45:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:50 ---> Running in 4cd19f04844c 06:45:52 Removing intermediate container 4cd19f04844c 06:45:52 ---> 90ba8b7bc2ca 06:45:52 Step 7/24 : RUN apk add --update --no-cache make git 06:45:52 ---> Running in a45662a020bc 06:45:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:45:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:45:55 OK: 142 MiB in 39 packages 06:45:56 Removing intermediate container a45662a020bc 06:45:56 ---> 06a555009a07 06:45:56 Step 8/24 : COPY . . 06:45:58 ---> 76a13736e696 06:45:58 Step 9/24 : RUN ${MAKE} 06:45:58 ---> Running in b44c25f75aee 06:45:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:46:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:46:26 Removing intermediate container b44c25f75aee 06:46:26 ---> 7b9f0e653472 06:46:26 Step 10/24 : FROM scratch 06:46:26 ---> 06:46:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:46:26 ---> Running in 05796d7289c3 06:46:26 Removing intermediate container 05796d7289c3 06:46:26 ---> 684eb63e507d 06:46:26 Step 12/24 : ENV APP_PORT=49990 06:46:26 ---> Running in 9bd80166ae24 06:46:27 Removing intermediate container 9bd80166ae24 06:46:27 ---> 1b00533287ba 06:46:27 Step 13/24 : EXPOSE $APP_PORT 06:46:27 ---> Running in 71d86da8bd35 06:46:27 Removing intermediate container 71d86da8bd35 06:46:27 ---> 0ac444e980b3 06:46:27 Step 14/24 : WORKDIR / 06:46:28 ---> Running in 8a5d56b58fe1 06:46:28 Removing intermediate container 8a5d56b58fe1 06:46:28 ---> ca06b5ca7a2d 06:46:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:46:30 ---> 4012b3779327 06:46:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:46:30 ---> 77c233c6ea5d 06:46:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:46:31 ---> 7667774e37fd 06:46:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:46:32 ---> b50af53828d5 06:46:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:46:33 ---> 59570f7e8e84 06:46:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:46:33 ---> Running in fc9323b9085d 06:46:33 Removing intermediate container fc9323b9085d 06:46:33 ---> 2f027df10fea 06:46:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:46:33 ---> Running in 6597cba61c32 06:46:34 Removing intermediate container 6597cba61c32 06:46:34 ---> 6d256c5bc133 06:46:34 Step 22/24 : LABEL arch=arm64 06:46:34 ---> Running in 00a9edb59166 06:46:35 Removing intermediate container 00a9edb59166 06:46:35 ---> 3734f0930f3c 06:46:35 Step 23/24 : LABEL git_sha=b548679428654ee0dca8f5b5dc3d7fcaeb119b73 06:46:35 ---> Running in 096d5074fe74 06:46:35 Removing intermediate container 096d5074fe74 06:46:35 ---> 89c41a009c79 06:46:35 Step 24/24 : LABEL version=0.0.0 06:46:35 ---> Running in b8500fa97e4c 06:46:36 Removing intermediate container b8500fa97e4c 06:46:36 ---> d8b08226ca55 06:46:36 [Warning] One or more build-args [ARCH] were not consumed 06:46:36 Successfully built d8b08226ca55 06:46:36 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:46:38 provisioning config files... 06:46:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config8334518998773311173tmp [Pipeline] { [Pipeline] sh 06:46:38 + set +x 06:46:38 + curl -s https://codecov.io/bash 06:46:38 + bash -s -- 06:46:38 06:46:38 _____ _ 06:46:38 / ____| | | 06:46:38 | | ___ __| | ___ ___ _____ __ 06:46:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:46:38 | |___| (_) | (_| | __/ (_| (_) \ V / 06:46:38 \_____\___/ \__,_|\___|\___\___/ \_/ 06:46:38 Bash-20200917-4e8f14b 06:46:38 06:46:38 06:46:38 ==> Jenkins CI detected. 06:46:38 project root: . 06:46:38 --> token set from env 06:46:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:46:38 ==> Running gcov in . (disable via -X gcov) 06:46:38 ==> Python coveragepy not found 06:46:38 ==> Searching for coverage reports in: 06:46:38 + . 06:46:38 -> Found 1 reports 06:46:38 ==> Detecting git/mercurial file structure 06:46:38 ==> Reading reports 06:46:38 + ./coverage.out bytes=111041 06:46:38 ==> Appending adjustments 06:46:38 https://docs.codecov.io/docs/fixing-reports 06:46:39 + Found adjustments 06:46:39 ==> Gzipping contents 06:46:39 ==> Uploading reports 06:46:39 url: https://codecov.io 06:46:39 query: branch=PR-582&commit=b548679428654ee0dca8f5b5dc3d7fcaeb119b73&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 06:46:39 -> Pinging Codecov 06:46:39 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=b548679428654ee0dca8f5b5dc3d7fcaeb119b73&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 06:46:39 -> Uploading to 06:46:39 https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/b548679428654ee0dca8f5b5dc3d7fcaeb119b73/3ad18804-3dee-417f-aa1a-bf0fc59dc46b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T064639Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56bd366b28f994fa80a24e6e76bea40b5244aa7e5218dbdddae85ac8a407dc3e 06:46:39 % Total % Received % Xferd Average Speed Time Time Time Current 06:46:39 Dload Upload Total Spent Left Speed 06:46:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18332 0 0 100 18332 0 43767 --:--:-- --:--:-- --:--:-- 43751 06:46:40 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [Pipeline] } 06:46:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:46:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:46:43 ---> package-listing.sh 06:46:43 ++ facter osfamily 06:46:43 ++ tr '[:upper:]' '[:lower:]' 06:46:43 + OS_FAMILY=redhat 06:46:43 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 06:46:43 + START_PACKAGES=/tmp/packages_start.txt 06:46:43 + END_PACKAGES=/tmp/packages_end.txt 06:46:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:46:43 + PACKAGES=/tmp/packages_start.txt 06:46:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 06:46:43 + PACKAGES=/tmp/packages_end.txt 06:46:43 + case "${OS_FAMILY}" in 06:46:43 + rpm -qa 06:46:43 + sort 06:46:47 + '[' -f /tmp/packages_start.txt ']' 06:46:47 + '[' -f /tmp/packages_end.txt ']' 06:46:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:46:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 06:46:47 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 06:46:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:48 provisioning config files... 06:46:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config9207012578244671707tmp [Pipeline] { [Pipeline] echo 06:46:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:46:48 ---> create-netrc.sh [Pipeline] } 06:46:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:46:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:46:48 ---> python-tools-install.sh 06:46:48 Generating Requirements File 06:47:56 Python 3.6.8 06:47:56 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:47:56 appdirs==1.4.3 06:47:56 argcomplete==1.12.1 06:47:56 aspy.yaml==1.3.0 06:47:56 attrs==19.3.0 06:47:56 Babel==2.8.0 06:47:56 beautifulsoup4==4.8.2 06:47:56 boto3==1.11.6 06:47:56 botocore==1.14.6 06:47:56 bs4==0.0.1 06:47:56 cachetools==4.1.1 06:47:56 certifi==2019.11.28 06:47:56 cffi==1.14.3 06:47:56 cfgv==2.0.1 06:47:56 chardet==3.0.4 06:47:56 click==7.1 06:47:56 cliff==3.4.0 06:47:56 cmd2==1.3.11 06:47:56 colorama==0.4.3 06:47:56 cryptography==3.1.1 06:47:56 debtcollector==2.2.0 06:47:56 decorator==4.4.2 06:47:56 defusedxml==0.6.0 06:47:56 Deprecated==1.2.7 06:47:56 distlib==0.3.1 06:47:56 distro==1.2.0 06:47:56 dnspython==1.16.0 06:47:56 docker==4.2.0 06:47:56 docutils==0.15.2 06:47:56 dogpile.cache==1.0.2 06:47:56 email-validator==1.0.5 06:47:56 filelock==3.0.12 06:47:56 future==0.18.2 06:47:56 google-auth==1.22.1 06:47:56 httplib2==0.17.0 06:47:56 identify==1.4.11 06:47:56 idna==2.9 06:47:56 importlib-metadata==1.7.0 06:47:56 importlib-resources==1.5.0 06:47:56 iso8601==0.1.13 06:47:56 Jinja2==2.11.1 06:47:56 jmespath==0.10.0 06:47:56 jsonpatch==1.26 06:47:56 jsonpointer==2.0 06:47:56 jsonschema==3.2.0 06:47:56 keystoneauth1==4.2.1 06:47:56 kubernetes==11.0.0 06:47:56 lftools==0.34.2 06:47:56 lxml==4.5.0 06:47:56 MarkupSafe==0.23 06:47:56 msgpack==1.0.0 06:47:56 multi-key-dict==2.0.3 06:47:56 munch==2.5.0 06:47:56 netaddr==0.8.0 06:47:56 netifaces==0.10.9 06:47:56 niet==1.4.2 06:47:56 nodeenv==1.3.5 06:47:56 oauth2client==4.1.3 06:47:56 oauthlib==3.1.0 06:47:56 openstacksdk==0.50.0 06:47:56 os-client-config==2.1.0 06:47:56 os-service-types==1.7.0 06:47:56 osc-lib==2.2.1 06:47:56 oslo.config==8.3.2 06:47:56 oslo.context==3.1.1 06:47:56 oslo.i18n==5.0.1 06:47:56 oslo.log==4.4.0 06:47:56 oslo.serialization==4.0.1 06:47:56 oslo.utils==4.6.0 06:47:56 packaging==20.4 06:47:56 pbr==5.4.4 06:47:56 pluggy==0.13.1 06:47:56 prettytable==0.7.2 06:47:56 py==1.9.0 06:47:56 pyasn1==0.4.8 06:47:56 pyasn1-modules==0.2.8 06:47:56 pycparser==2.20 06:47:56 pygerrit2==2.0.10 06:47:56 PyGithub==1.46 06:47:56 pyinotify==0.9.6 06:47:56 PyJWT==1.7.1 06:47:56 pyparsing==2.4.7 06:47:56 pyperclip==1.8.0 06:47:56 pyroute2==0.4.13 06:47:56 pyrsistent==0.15.7 06:47:56 PySocks==1.6.8 06:47:56 python-cinderclient==7.2.0 06:47:56 python-dateutil==2.8.1 06:47:56 python-heatclient==2.2.1 06:47:56 python-jenkins==1.7.0 06:47:56 python-keystoneclient==4.1.1 06:47:56 python-magnumclient==3.2.1 06:47:56 python-novaclient==17.2.1 06:47:56 python-openstackclient==5.4.0 06:47:56 python-swiftclient==3.10.1 06:47:56 pytz==2020.1 06:47:56 PyYAML==5.3 06:47:56 requests==2.23.0 06:47:56 requests-oauthlib==1.3.0 06:47:56 requestsexceptions==1.4.0 06:47:56 rfc3986==1.4.0 06:47:56 rpm==4.11.3 06:47:56 rsa==4.0 06:47:56 ruamel.yaml==0.16.10 06:47:56 ruamel.yaml.clib==0.2.0 06:47:56 s3transfer==0.3.3 06:47:56 shade==1.27.2 06:47:56 simplejson==3.17.2 06:47:56 six==1.14.0 06:47:56 soupsieve==2.0 06:47:56 stevedore==3.2.2 06:47:56 tabulate==0.8.6 06:47:56 toml==0.10.0 06:47:56 tox==3.20.0 06:47:56 tqdm==4.43.0 06:47:56 urllib3==1.25.8 06:47:56 virtualenv==20.0.33 06:47:56 wcwidth==0.2.5 06:47:56 websocket-client==0.57.0 06:47:56 wrapt==1.12.1 06:47:56 xdg==3.0.2 06:47:56 xmltodict==0.12.0 06:47:56 yq==2.11.1 06:47:56 zipp==3.3.0 06:47:57 Cache entry deserialization failed, entry ignored 06:48:00 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 06:48:02 Python 2.7.5 06:48:02 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:48:03 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 06:48:03 ansible==2.9.7 06:48:03 Babel==0.9.6 06:48:03 backports.ssl-match-hostname==3.5.0.1 06:48:03 beautifulsoup4==4.4.1 06:48:03 bodhi==2.11.0 06:48:03 bodhi-client==2.11.0 06:48:03 CCColUtils==1.4 06:48:03 cffi==1.6.0 06:48:03 chardet==2.2.1 06:48:03 click==6.7 06:48:03 cloud-init==18.5 06:48:03 configobj==4.7.2 06:48:03 cryptography==1.7.2 06:48:03 decorator==3.4.0 06:48:03 distro==1.2.0 06:48:03 enum34==1.0.4 06:48:03 fedpkg==1.38 06:48:03 futures==3.1.1 06:48:03 gitdb==0.6.4 06:48:03 GitPython==1.0.1 06:48:03 html5lib==0.999 06:48:03 httplib2==0.9.2 06:48:03 idna==2.4 06:48:03 iniparse==0.4 06:48:03 ipaddress==1.0.16 06:48:03 IPy==0.75 06:48:03 javapackages==1.0.0 06:48:03 Jinja2==2.7.2 06:48:03 jmespath==0.9.4 06:48:03 jsonpatch==1.2 06:48:03 jsonpointer==1.9 06:48:03 kerberos==1.1 06:48:03 kitchen==1.1.1 06:48:03 langtable==0.0.31 06:48:03 lockfile==0.9.1 06:48:03 lxml==3.2.1 06:48:03 MarkupSafe==0.11 06:48:03 munch==2.0.2 06:48:03 offtrac==0.1.0 06:48:03 openidc-client==0.6.0 06:48:03 packagedb-cli==2.14.1 06:48:03 paramiko==2.1.1 06:48:03 perf==0.1 06:48:03 ply==3.4 06:48:03 policycoreutils-default-encoding==0.1 06:48:03 prettytable==0.7.2 06:48:03 pyasn1==0.1.9 06:48:03 pycparser==2.14 06:48:03 pycurl==7.19.0 06:48:03 pygobject==3.22.0 06:48:03 pygpgme==0.3 06:48:03 pyliblzma==0.5.3 06:48:03 pyOpenSSL==0.13.1 06:48:03 pyparsing==1.5.6 06:48:03 pyserial==2.6 06:48:03 python-augeas==0.5.0 06:48:03 python-bugzilla==2.3.0 06:48:03 python-dateutil==1.5 06:48:03 python-fedora==0.10.0 06:48:03 python-linux-procfs==0.4.9 06:48:03 python-yubico==1.2.3 06:48:03 pyudev==0.15 06:48:03 pyusb==1.0.0b1 06:48:03 pyxattr==0.5.1 06:48:03 PyYAML==3.10 06:48:03 requests==2.6.0 06:48:03 requests-kerberos==0.7.0 06:48:03 rpkg==1.60 06:48:03 schedutils==0.4 06:48:03 seobject==0.1 06:48:03 sepolicy==1.1 06:48:03 six==1.9.0 06:48:03 smmap==0.9.0 06:48:03 urlgrabber==3.10 06:48:03 urllib3==1.10.2 06:48:03 virtualenv==15.1.0 06:48:03 yum-langpacks==0.4.2 06:48:03 yum-metadata-parser==1.1.4 [Pipeline] echo 06:48:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:48:03 ---> sudo-logs.sh 06:48:03 Archiving 'sudo' log.. [Pipeline] echo 06:48:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:48:04 ---> job-cost.sh 06:48:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0tTT 06:48:14 Cache entry deserialization failed, entry ignored 06:48:14 Cache entry deserialization failed, entry ignored 06:48:15 Cache entry deserialization failed, entry ignored 06:48:15 Cache entry deserialization failed, entry ignored 06:48:15 Cache entry deserialization failed, entry ignored 06:48:15 Cache entry deserialization failed, entry ignored 06:48:15 Cache entry deserialization failed, entry ignored 06:48:15 Cache entry deserialization failed, entry ignored 06:48:15 Cache entry deserialization failed, entry ignored 06:48:16 Cache entry deserialization failed, entry ignored 06:48:16 Cache entry deserialization failed, entry ignored 06:48:16 Cache entry deserialization failed, entry ignored 06:48:18 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:48:45 lf-activate-venv(): INFO: Adding /tmp/venv-0tTT/bin to PATH 06:48:45 INFO: No Stack... 06:48:46 INFO: Retrieving Pricing Info for: v1-standard-2 06:48:48 INFO: Archiving Costs [Pipeline] echo 06:48:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:48:48 ---> logs-deploy.sh 06:48:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/18 06:48:48 INFO: archiving workspace using pattern(s): 06:48:49 Archives upload complete. 06:48:50 INFO: archiving logs to Nexus