Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6d170b70e1a04a00d380c7c5d579fc072917eff5+833c05b782f270c396ee40879762f076aaf9331e (660e8087489dd35c29982b926b32e5bd3359e430) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3697 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 6d170b70e1a04a00d380c7c5d579fc072917eff5 Merge succeeded, producing 6d170b70e1a04a00d380c7c5d579fc072917eff5 Checking out Revision 6d170b70e1a04a00d380c7c5d579fc072917eff5 (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # 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 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:37:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:37:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:37:22 ========================================================= 06:37:22 EdgeX Global Pipelines Version Info 06:37:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1179726d2677d63f569ab050fb83b666aaf36d55 # timeout=10 06:37:25 ------------------- 06:37:25 stable info: 06:37:25 ------------------- 06:37:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:37:25 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:37:25 Message: update stable to v1.0.131 06:37:26 ------------------- 06:37:26 experimental info: 06:37:26 ------------------- 06:37:26 Commited By: **** collab-it+edgex@linuxfoundation.org 06:37:26 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 06:37:26 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:37:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:37:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:37:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:37:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:37:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:37:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:37:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 06:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 06:37:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 06:37:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d170b70e1a04a00d380c7c5d579fc072917eff5 [Pipeline] echo 06:37:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d170b7 [Pipeline] echo 06:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:30 + git log --format=format:%s -1 6d170b70e1a04a00d380c7c5d579fc072917eff5 [Pipeline] echo 06:37:30 GIT_COMMIT: 6d170b70e1a04a00d380c7c5d579fc072917eff5, Commit Message: build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 [Pipeline] echo 06:37:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:37:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:37:31 06:37:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:37:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:37:31 latest: Pulling from edgex-devops/git-semver 06:37:31 31603596830f: Pulling fs layer 06:37:31 2a8b12db71e7: Pulling fs layer 06:37:31 6ca5941a6612: Pulling fs layer 06:37:31 ecc8261a40a4: Pulling fs layer 06:37:31 ecc8261a40a4: Waiting 06:37:31 2a8b12db71e7: Verifying Checksum 06:37:31 2a8b12db71e7: Download complete 06:37:31 31603596830f: Verifying Checksum 06:37:31 31603596830f: Download complete 06:37:32 ecc8261a40a4: Verifying Checksum 06:37:32 ecc8261a40a4: Download complete 06:37:32 6ca5941a6612: Verifying Checksum 06:37:32 6ca5941a6612: Download complete 06:37:32 31603596830f: Pull complete 06:37:32 2a8b12db71e7: Pull complete 06:37:34 6ca5941a6612: Pull complete 06:37:34 ecc8261a40a4: Pull complete 06:37:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:37:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:37:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:37:34 prd-centos7-docker-4c-2g-3697 does not seem to be running inside a container 06:37:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:37:37 $ docker top dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:37:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:38 [ssh-agent] Looking for ssh-agent implementation... 06:37:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:38 $ docker exec dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 ssh-agent 06:37:38 SSH_AUTH_SOCK=/tmp/ssh-uj8rUiQf5T57/agent.11 06:37:38 SSH_AGENT_PID=16 06:37:38 Running ssh-add (command line suppressed) 06:37:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7462900265923732306.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7462900265923732306.key) 06:37:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:39 + git describe --exact-match --tags HEAD 06:37:39 fatal: no tag exactly matches '6d170b70e1a04a00d380c7c5d579fc072917eff5' [Pipeline] } 06:37:39 $ docker exec --env ******** --env ******** dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 ssh-agent -k 06:37:39 unset SSH_AUTH_SOCK; 06:37:39 unset SSH_AGENT_PID; 06:37:39 echo Agent pid 16 killed; 06:37:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:37:40 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:37:40 This usually means this commit has not been tagged. [Pipeline] sshagent 06:37:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:40 [ssh-agent] Looking for ssh-agent implementation... 06:37:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:40 $ docker exec dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 ssh-agent 06:37:41 SSH_AUTH_SOCK=/tmp/ssh-jzh6aSZ2anmX/agent.45 06:37:41 SSH_AGENT_PID=50 06:37:41 Running ssh-add (command line suppressed) 06:37:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7650241008090753337.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7650241008090753337.key) 06:37:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:41 + git semver init 06:37:41 # -> Open(): unable to determine branch for HEAD 06:37:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 06:37:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 06:37:41 # $SEMVER_REMOTE_NAME = origin 06:37:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:37:41 # $SEMVER_USER_NAME = edgex-jenkins 06:37:41 # $SEMVER_BRANCH = PR-614 06:37:41 # $SEMVER_TEMP = /tmp/semver-196849135 06:37:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:37:43 # '/tmp/semver-196849135' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 06:37:43 # -> Force: false 06:37:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 06:37:43 $ docker exec --env ******** --env ******** dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 ssh-agent -k 06:37:43 unset SSH_AUTH_SOCK; 06:37:43 unset SSH_AGENT_PID; 06:37:43 echo Agent pid 50 killed; 06:37:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:44 + git semver [Pipeline] } 06:37:44 $ docker stop --time=1 dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 06:37:45 $ docker rm -f dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:37:48 Stashed 46 file(s) [Pipeline] echo 06:37:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:37:48 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:38:04 Still waiting to schedule task 06:38:04 ‘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-3701’ 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-3693’ doesn’t have label ‘centos7-docker-4c-2g’ 06:38:04 Still waiting to schedule task 06:38:04 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:39:20 Running on prd-centos7-docker-4c-2g-3703 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 06:39:20 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:39:24 using credential edgex-jenkins-ssh 06:39:24 Cloning the remote Git repository 06:39:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:39:24 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:39:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:39:24 > git --version # timeout=10 06:39:24 > git --version # 'git version 2.16.5' 06:39:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:39:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:39:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:39:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:39:26 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 06:39:26 Merge succeeded, producing 6d170b70e1a04a00d380c7c5d579fc072917eff5 06:39:26 Checking out Revision 6d170b70e1a04a00d380c7c5d579fc072917eff5 (PR-614) 06:39:26 > git config core.sparsecheckout # timeout=10 06:39:26 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 06:39:26 > git remote # timeout=10 06:39:26 > git config --get remote.origin.url # timeout=10 06:39:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:26 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:39:26 > git rev-parse HEAD^{commit} # timeout=10 06:39:26 > git config core.sparsecheckout # timeout=10 06:39:26 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 06:39:30 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:39:31 ========================================================= 06:39:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:39:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:39:32 + 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:39:32 Sending build context to Docker daemon 3.489MB 06:39:32 Step 1/8 : ARG BASE=golang:1.15-alpine 06:39:32 Step 2/8 : FROM ${BASE} 06:39:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:39:32 df20fa9351a1: Pulling fs layer 06:39:32 ed8968b2872e: Pulling fs layer 06:39:32 a92cc7c5fd73: Pulling fs layer 06:39:32 e871e8e8d7a9: Pulling fs layer 06:39:32 e73272ec9a57: Pulling fs layer 06:39:32 1e910a182e73: Pulling fs layer 06:39:32 4e634b169226: Pulling fs layer 06:39:32 e73272ec9a57: Waiting 06:39:32 1e910a182e73: Waiting 06:39:32 4e634b169226: Waiting 06:39:32 e871e8e8d7a9: Waiting 06:39:32 a92cc7c5fd73: Verifying Checksum 06:39:32 a92cc7c5fd73: Download complete 06:39:32 ed8968b2872e: Download complete 06:39:32 e73272ec9a57: Verifying Checksum 06:39:32 e73272ec9a57: Download complete 06:39:32 1e910a182e73: Verifying Checksum 06:39:32 1e910a182e73: Download complete 06:39:33 df20fa9351a1: Verifying Checksum 06:39:33 df20fa9351a1: Download complete 06:39:33 df20fa9351a1: Pull complete 06:39:33 ed8968b2872e: Pull complete 06:39:34 a92cc7c5fd73: Pull complete 06:39:35 4e634b169226: Verifying Checksum 06:39:35 4e634b169226: Download complete 06:39:36 e871e8e8d7a9: Verifying Checksum 06:39:36 e871e8e8d7a9: Download complete 06:39:41 e871e8e8d7a9: Pull complete 06:39:41 e73272ec9a57: Pull complete 06:39:42 1e910a182e73: Pull complete 06:39:52 4e634b169226: Pull complete 06:39:52 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:39:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:39:52 ---> f7629b54cfaa 06:39:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:52 ---> Running in 0c1a0f40d708 06:39:52 Removing intermediate container 0c1a0f40d708 06:39:52 ---> 8b3d071d7ec7 06:39:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:53 ---> Running in cde6377f0c7a 06:39:54 Removing intermediate container cde6377f0c7a 06:39:54 ---> 6c73b3afebb0 06:39:54 Step 5/8 : RUN apk add --no-cache make git 06:39:54 ---> Running in fe448083e670 06:39:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:39:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:39:58 OK: 166 MiB in 39 packages 06:39:59 Removing intermediate container fe448083e670 06:39:59 ---> ca8abb11071d 06:39:59 Step 6/8 : WORKDIR /device-sdk-go 06:39:59 ---> Running in 10da1565f0e7 06:39:59 Removing intermediate container 10da1565f0e7 06:39:59 ---> 5339079c6fe1 06:39:59 Step 7/8 : COPY . . 06:40:00 ---> cd795b9d69e6 06:40:00 Step 8/8 : RUN go mod download 06:40:00 ---> Running in 129329b8fe9e 06:40:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3704 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 06:40:20 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:40:23 Removing intermediate container 129329b8fe9e 06:40:23 ---> 5c38f8ecb6a5 06:40:23 Successfully built 5c38f8ecb6a5 06:40:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:40:23 + docker inspect -f . ci-base-image-x86_64 06:40:23 . [Pipeline] withDockerContainer 06:40:23 prd-centos7-docker-4c-2g-3703 does not seem to be running inside a container 06:40:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:40:24 $ docker top e47531b6f464afc19d6359216888153e47cc5fbbf8a89c0634a2279093ebce24 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:25 + go version 06:40:25 go version go1.15.2 linux/amd64 [Pipeline] } 06:40:25 $ docker stop --time=1 e47531b6f464afc19d6359216888153e47cc5fbbf8a89c0634a2279093ebce24 06:40:26 $ docker rm -f e47531b6f464afc19d6359216888153e47cc5fbbf8a89c0634a2279093ebce24 [Pipeline] // withDockerContainer 06:40:26 using credential edgex-jenkins-ssh [Pipeline] } 06:40:26 Cloning the remote Git repository [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:40:27 + docker inspect -f . ci-base-image-x86_64 06:40:27 . [Pipeline] withDockerContainer 06:40:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:40:27 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:40:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:40:27 > git --version # timeout=10 06:40:27 > git --version # 'git version 2.17.1' 06:40:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:40:27 prd-centos7-docker-4c-2g-3703 does not seem to be running inside a container 06:40:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:40:28 $ docker top aea0be5edab93282c853290e426244897dfc0b23ef612cc054bcbc1eb2d9216c -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:28 + make test 06:40:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:40:29 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 06:40:29 Merge succeeded, producing 6d170b70e1a04a00d380c7c5d579fc072917eff5 06:40:29 Checking out Revision 6d170b70e1a04a00d380c7c5d579fc072917eff5 (PR-614) 06:40:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:40:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:40:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:40:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:40:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:40:29 > git config core.sparsecheckout # timeout=10 06:40:29 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 06:40:29 > git remote # timeout=10 06:40:29 > git config --get remote.origin.url # timeout=10 06:40:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:29 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:40:29 > git rev-parse HEAD^{commit} # timeout=10 06:40:29 > git config core.sparsecheckout # timeout=10 06:40:29 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 06:40:34 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:40:35 ========================================================= 06:40:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:40:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:40:36 + 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:40:36 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:40:37 Sending build context to Docker daemon 3.489MB 06:40:37 Step 1/8 : ARG BASE=golang:1.15-alpine 06:40:37 Step 2/8 : FROM ${BASE} 06:40:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:40:37 b538f80385f9: Pulling fs layer 06:40:37 74f711af9a0d: Pulling fs layer 06:40:37 99f96fe45779: Pulling fs layer 06:40:37 8529a6b9a6be: Pulling fs layer 06:40:37 45590311c82a: Pulling fs layer 06:40:37 69ca0ff8b7b3: Pulling fs layer 06:40:37 209524e5b208: Pulling fs layer 06:40:37 45590311c82a: Waiting 06:40:37 69ca0ff8b7b3: Waiting 06:40:37 8529a6b9a6be: Waiting 06:40:37 209524e5b208: Waiting 06:40:37 99f96fe45779: Verifying Checksum 06:40:37 99f96fe45779: Download complete 06:40:37 74f711af9a0d: Verifying Checksum 06:40:37 74f711af9a0d: Download complete 06:40:37 45590311c82a: Verifying Checksum 06:40:37 45590311c82a: Download complete 06:40:38 69ca0ff8b7b3: Verifying Checksum 06:40:38 69ca0ff8b7b3: Download complete 06:40:38 b538f80385f9: Verifying Checksum 06:40:38 b538f80385f9: Download complete 06:40:39 b538f80385f9: Pull complete 06:40:39 74f711af9a0d: Pull complete 06:40:40 99f96fe45779: Pull complete 06:40:40 209524e5b208: Verifying Checksum 06:40:40 209524e5b208: Download complete 06:40:41 8529a6b9a6be: Verifying Checksum 06:40:41 8529a6b9a6be: Download complete 06:40:51 8529a6b9a6be: Pull complete 06:40:51 45590311c82a: Pull complete 06:40:51 69ca0ff8b7b3: Pull complete 06:40:52 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:40:52 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:40:52 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:40:52 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.047s coverage: 21.6% of statements 06:40:53 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.439s coverage: 97.1% of statements 06:40:55 209524e5b208: Pull complete 06:40:55 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:40:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:40:55 ---> 5bddaf1c2fca 06:40:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:58 ---> Running in 7f87ce76b22a 06:40:59 Removing intermediate container 7f87ce76b22a 06:40:59 ---> f0319f624453 06:40:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:59 ---> Running in 0f3c0ec52d95 06:41:02 Removing intermediate container 0f3c0ec52d95 06:41:02 ---> f833f0187b88 06:41:02 Step 5/8 : RUN apk add --no-cache make git 06:41:02 ---> Running in 001e1c63d1fc 06:41:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:41:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:41:07 OK: 142 MiB in 39 packages 06:41:08 Removing intermediate container 001e1c63d1fc 06:41:08 ---> b0ba4013baf6 06:41:08 Step 6/8 : WORKDIR /device-sdk-go 06:41:08 ---> Running in 21753e4bf876 06:41:09 Removing intermediate container 21753e4bf876 06:41:09 ---> e2943986e491 06:41:09 Step 7/8 : COPY . . 06:41:10 ---> f4e0089942be 06:41:10 Step 8/8 : RUN go mod download 06:41:10 ---> Running in 8ef67d0bc895 06:41:25 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements 06:41:25 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements 06:41:25 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:41:25 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.198s coverage: 40.3% of statements 06:41:25 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:41:25 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.276s coverage: 65.4% of statements 06:41:25 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:41:25 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:41:25 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:41:25 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:41:25 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 52.6% of statements 06:41:25 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:41:25 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.410s coverage: 68.9% of statements 06:41:25 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:41:25 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:41:25 GO111MODULE=on go vet ./... 06:41:31 gofmt -l . 06:41:31 [ "`gofmt -l .`" = "" ] 06:41:31 ./bin/test-attribution-txt.sh 06:41:32 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:41:33 Removing intermediate container 8ef67d0bc895 06:41:33 ---> f8e0575ec6d6 06:41:33 Stashed 1 file(s) [Pipeline] } 06:41:33 $ docker stop --time=1 aea0be5edab93282c853290e426244897dfc0b23ef612cc054bcbc1eb2d9216c 06:41:33 Successfully built f8e0575ec6d6 06:41:33 Successfully tagged ci-base-image-arm64:latest 06:41:36 $ docker rm -f aea0be5edab93282c853290e426244897dfc0b23ef612cc054bcbc1eb2d9216c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh 06:41:36 + docker inspect -f . ci-base-image-arm64 06:41:36 . [Pipeline] sh [Pipeline] withDockerContainer 06:41:37 prd-ubuntu18.04-docker-arm64-4c-16g-3704 does not seem to be running inside a container 06:41:37 + sudo chown -R jenkins:jenkins . 06:41:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:41:39 $ docker top 0c1750dc1fbb2df705865c7e6150979e0496da393c4416e81fa1249c77919b0b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:41:40 + ls -al . 06:41:40 total 192 06:41:40 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 06:41 . 06:41:40 drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 06:39 .. 06:41:40 drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 06:39 bin 06:41:40 -rw-r--r--. 1 jenkins jenkins 111041 Oct 6 06:41 coverage.out 06:41:40 -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 06:39 Dockerfile.build 06:41:40 -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 06:39 .dockerignore 06:41:40 drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 06:39 example 06:41:40 drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 06:39 .git 06:41:40 drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 06:39 .github 06:41:40 -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 06:39 .gitignore 06:41:40 -rw-r--r--. 1 jenkins jenkins 517 Oct 6 06:41 go.mod 06:41:40 -rw-r--r--. 1 jenkins jenkins 13736 Oct 6 06:41 go.sum 06:41:40 drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 06:39 internal 06:41:40 -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 06:39 Jenkinsfile 06:41:40 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 06:39 LICENSE 06:41:40 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 06:39 Makefile 06:41:40 drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 06:39 openapi 06:41:40 drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 06:39 pkg 06:41:40 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 06:39 README.md 06:41:40 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 06:39 RELEASE-NOTES.txt 06:41:40 drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 06:39 .semver 06:41:40 drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 06:39 snap 06:41:40 -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 06:37 VERSION 06:41:40 -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 06:39 version.go [Pipeline] isUnix [Pipeline] sh 06:41:40 + 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=6d170b70e1a04a00d380c7c5d579fc072917eff5 --label arch=amd64 --label version=0.0.0 . 06:41:40 Sending build context to Docker daemon 3.6MB 06:41:40 Step 1/24 : ARG BASE=golang:1.15-alpine 06:41:40 Step 2/24 : FROM ${BASE} AS builder 06:41:40 ---> 5c38f8ecb6a5 06:41:40 Step 3/24 : ARG MAKE='make build' 06:41:40 + go version 06:41:40 go version go1.15.2 linux/arm64 [Pipeline] } 06:41:40 $ docker stop --time=1 0c1750dc1fbb2df705865c7e6150979e0496da393c4416e81fa1249c77919b0b 06:41:41 ---> Running in 3112768240f0 06:41:41 Removing intermediate container 3112768240f0 06:41:41 ---> 5c14a0a5372e 06:41:41 Step 4/24 : WORKDIR /device-sdk-go 06:41:41 ---> Running in f069b845c159 06:41:41 Removing intermediate container f069b845c159 06:41:41 ---> fb2751c882d6 06:41:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:41:41 ---> Running in c47489c67837 06:41:42 Removing intermediate container c47489c67837 06:41:42 ---> 4bbf6e75e1a4 06:41:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:42 ---> Running in a4f48e3ab1d0 06:41:42 $ docker rm -f 0c1750dc1fbb2df705865c7e6150979e0496da393c4416e81fa1249c77919b0b 06:41:43 Removing intermediate container a4f48e3ab1d0 06:41:43 ---> e6f7b50f88cc 06:41:43 Step 7/24 : RUN apk add --update --no-cache make git 06:41:43 ---> Running in 10c9434f90b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 06:41:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh 06:41:43 + docker inspect -f . ci-base-image-arm64 06:41:43 . [Pipeline] withDockerContainer 06:41:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:41:44 prd-ubuntu18.04-docker-arm64-4c-16g-3704 does not seem to be running inside a container 06:41:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:41:45 OK: 166 MiB in 39 packages 06:41:45 Removing intermediate container 10c9434f90b5 06:41:45 ---> 3bd2e37cf847 06:41:45 Step 8/24 : COPY . . 06:41:46 $ docker top 7f4f2778459e4318560a063970d3f8b4414dd73336281f6466a8a75bd33d72d6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:47 ---> 4975c1ec1fc5 06:41:47 Step 9/24 : RUN ${MAKE} 06:41:47 ---> Running in 0c7c8aa4774b 06:41:47 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:41:47 + make test 06:41:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:41:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:41:57 Removing intermediate container 0c7c8aa4774b 06:41:57 ---> 198e527e9200 06:41:57 Step 10/24 : FROM scratch 06:41:57 ---> 06:41:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:41:57 ---> Running in 07e4088df157 06:41:57 Removing intermediate container 07e4088df157 06:41:57 ---> fc608ce4e74c 06:41:57 Step 12/24 : ENV APP_PORT=49990 06:41:57 ---> Running in 0780b00ce8af 06:41:57 Removing intermediate container 0780b00ce8af 06:41:57 ---> 3d2c1a73c9f7 06:41:57 Step 13/24 : EXPOSE $APP_PORT 06:41:57 ---> Running in 1ab58c87afe7 06:41:57 Removing intermediate container 1ab58c87afe7 06:41:57 ---> 5fbf1c8e56e9 06:41:57 Step 14/24 : WORKDIR / 06:41:57 ---> Running in 22a77c99def8 06:41:57 Removing intermediate container 22a77c99def8 06:41:57 ---> bd001beca34b 06:41:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:41:58 ---> 1c4889b3a05c 06:41:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:41:58 ---> 7824a3189dde 06:41:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:41:58 ---> e57c54698409 06:41:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:41:58 ---> d5a4beb78632 06:41:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:41:58 ---> 8de2c7f1e061 06:41:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:41:58 ---> Running in e44abeeef4e6 06:41:59 Removing intermediate container e44abeeef4e6 06:41:59 ---> 2fce57cc8983 06:41:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:41:59 ---> Running in 9675c9af4b79 06:41:59 Removing intermediate container 9675c9af4b79 06:41:59 ---> c9c532d3b81d 06:41:59 Step 22/24 : LABEL arch=amd64 06:41:59 ---> Running in 73167f5fabb2 06:41:59 Removing intermediate container 73167f5fabb2 06:41:59 ---> d3752b4812fc 06:41:59 Step 23/24 : LABEL git_sha=6d170b70e1a04a00d380c7c5d579fc072917eff5 06:41:59 ---> Running in d58ff6d70eb8 06:41:59 Removing intermediate container d58ff6d70eb8 06:41:59 ---> d56f186aeef9 06:41:59 Step 24/24 : LABEL version=0.0.0 06:41:59 ---> Running in 87453c2ac0b3 06:41:59 Removing intermediate container 87453c2ac0b3 06:41:59 ---> e6ca587cb181 06:41:59 [Warning] One or more build-args [ARCH] were not consumed 06:41:59 Successfully built e6ca587cb181 06:42:00 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] } 06:42:09 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:42:56 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:42:56 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:42:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.121s coverage: 21.6% of statements 06:42:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.308s coverage: 97.1% of statements 06:43:23 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 9.4% of statements 06:43:23 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements 06:43:23 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:43:23 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.613s coverage: 40.3% of statements 06:43:23 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:43:23 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.798s coverage: 65.4% of statements 06:43:23 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:43:23 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:43:23 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:43:23 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:43:23 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.188s coverage: 52.6% of statements 06:43:23 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:43:23 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.772s coverage: 68.9% of statements 06:43:23 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:43:23 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:43:23 GO111MODULE=on go vet ./... 06:43:56 gofmt -l . 06:43:56 [ "`gofmt -l .`" = "" ] 06:43:56 ./bin/test-attribution-txt.sh 06:43:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:43:56 Warning: overwriting stash ‘coverage-report’ 06:43:57 Stashed 1 file(s) [Pipeline] } 06:43:57 $ docker stop --time=1 7f4f2778459e4318560a063970d3f8b4414dd73336281f6466a8a75bd33d72d6 06:43:59 $ docker rm -f 7f4f2778459e4318560a063970d3f8b4414dd73336281f6466a8a75bd33d72d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:44:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:01 + ls -al . 06:44:01 total 232 06:44:01 drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 06:43 . 06:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 .. 06:44:01 -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 06:40 .dockerignore 06:44:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 06:40 .git 06:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:40 .github 06:44:01 -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 06:40 .gitignore 06:44:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 06:40 .semver 06:44:01 -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 06:40 Dockerfile.build 06:44:01 -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 06:40 Jenkinsfile 06:44:01 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 06:40 LICENSE 06:44:01 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 06:40 Makefile 06:44:01 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 06:40 README.md 06:44:01 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 06:40 RELEASE-NOTES.txt 06:44:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 06:37 VERSION 06:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:40 bin 06:44:01 -rw-r--r-- 1 jenkins jenkins 111041 Oct 6 06:43 coverage.out 06:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 example 06:44:01 -rw-r--r-- 1 jenkins jenkins 517 Oct 6 06:43 go.mod 06:44:01 -rw-r--r-- 1 jenkins jenkins 13736 Oct 6 06:43 go.sum 06:44:01 drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 06:40 internal 06:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 openapi 06:44:01 drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 06:40 pkg 06:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 snap 06:44:01 -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 06:40 version.go [Pipeline] isUnix [Pipeline] sh 06:44:01 + 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=6d170b70e1a04a00d380c7c5d579fc072917eff5 --label arch=arm64 --label version=0.0.0 . 06:44:02 Sending build context to Docker daemon 3.601MB 06:44:02 Step 1/24 : ARG BASE=golang:1.15-alpine 06:44:02 Step 2/24 : FROM ${BASE} AS builder 06:44:02 ---> f8e0575ec6d6 06:44:02 Step 3/24 : ARG MAKE='make build' 06:44:03 ---> Running in 55de924eaf9d 06:44:03 Removing intermediate container 55de924eaf9d 06:44:03 ---> e9cccc072e2b 06:44:03 Step 4/24 : WORKDIR /device-sdk-go 06:44:03 ---> Running in 2644efa35380 06:44:04 Removing intermediate container 2644efa35380 06:44:04 ---> 46f6e05ab094 06:44:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:44:04 ---> Running in 59b57ea9988c 06:44:04 Removing intermediate container 59b57ea9988c 06:44:04 ---> 91fe74480bb8 06:44:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:04 ---> Running in 14e7a3746268 06:44:07 Removing intermediate container 14e7a3746268 06:44:07 ---> f6fe50c376c7 06:44:07 Step 7/24 : RUN apk add --update --no-cache make git 06:44:07 ---> Running in 25fda10cf8b4 06:44:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:44:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:44:11 OK: 142 MiB in 39 packages 06:44:12 Removing intermediate container 25fda10cf8b4 06:44:12 ---> a088e760ce53 06:44:12 Step 8/24 : COPY . . 06:44:14 ---> 2cbccc918cea 06:44:14 Step 9/24 : RUN ${MAKE} 06:44:14 ---> Running in a205e086f364 06:44:16 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:44:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:44:43 Removing intermediate container a205e086f364 06:44:43 ---> 8fae62849620 06:44:43 Step 10/24 : FROM scratch 06:44:43 ---> 06:44:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:44:44 ---> Running in ba8f7e53f3f1 06:44:44 Removing intermediate container ba8f7e53f3f1 06:44:44 ---> cbacb741b0ff 06:44:44 Step 12/24 : ENV APP_PORT=49990 06:44:44 ---> Running in cb1b901bafca 06:44:45 Removing intermediate container cb1b901bafca 06:44:45 ---> a36d4bedae04 06:44:45 Step 13/24 : EXPOSE $APP_PORT 06:44:45 ---> Running in fee50b712b0f 06:44:45 Removing intermediate container fee50b712b0f 06:44:45 ---> 3ac625c9950b 06:44:45 Step 14/24 : WORKDIR / 06:44:45 ---> Running in 78ac7707ec1a 06:44:46 Removing intermediate container 78ac7707ec1a 06:44:46 ---> 5eda241f256e 06:44:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:44:47 ---> 20a5480f82af 06:44:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:44:48 ---> c3166335ac64 06:44:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:44:49 ---> a6ca8177b1e9 06:44:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:44:49 ---> 3569beb0d494 06:44:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:44:50 ---> 63c18675149b 06:44:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:44:50 ---> Running in 75579bec88a4 06:44:50 Removing intermediate container 75579bec88a4 06:44:50 ---> 150c7a79e01c 06:44:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:44:50 ---> Running in 23ba4a34a167 06:44:51 Removing intermediate container 23ba4a34a167 06:44:51 ---> 5b3de177e7dd 06:44:51 Step 22/24 : LABEL arch=arm64 06:44:51 ---> Running in ce6940ce8a48 06:44:52 Removing intermediate container ce6940ce8a48 06:44:52 ---> ce7532f986ba 06:44:52 Step 23/24 : LABEL git_sha=6d170b70e1a04a00d380c7c5d579fc072917eff5 06:44:52 ---> Running in 290384d044a8 06:44:52 Removing intermediate container 290384d044a8 06:44:52 ---> 4410271576e3 06:44:52 Step 24/24 : LABEL version=0.0.0 06:44:52 ---> Running in b68afa02d042 06:44:53 Removing intermediate container b68afa02d042 06:44:53 ---> fe1507687970 06:44:53 [Warning] One or more build-args [ARCH] were not consumed 06:44:53 Successfully built fe1507687970 06:44:53 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:44:54 provisioning config files... 06:44:55 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config1090319313700004500tmp [Pipeline] { [Pipeline] sh 06:44:55 + set +x 06:44:55 + curl -s https://codecov.io/bash 06:44:55 + bash -s -- 06:44:55 06:44:55 _____ _ 06:44:55 / ____| | | 06:44:55 | | ___ __| | ___ ___ _____ __ 06:44:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:44:55 | |___| (_) | (_| | __/ (_| (_) \ V / 06:44:55 \_____\___/ \__,_|\___|\___\___/ \_/ 06:44:55 Bash-20200917-4e8f14b 06:44:55 06:44:55 06:44:55 ==> Jenkins CI detected. 06:44:55 project root: . 06:44:55 --> token set from env 06:44:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:44:55 ==> Running gcov in . (disable via -X gcov) 06:44:55 ==> Python coveragepy not found 06:44:55 ==> Searching for coverage reports in: 06:44:55 + . 06:44:55 -> Found 1 reports 06:44:55 ==> Detecting git/mercurial file structure 06:44:55 ==> Reading reports 06:44:55 + ./coverage.out bytes=111041 06:44:55 ==> Appending adjustments 06:44:55 https://docs.codecov.io/docs/fixing-reports 06:44:56 + Found adjustments 06:44:56 ==> Gzipping contents 06:44:56 ==> Uploading reports 06:44:56 url: https://codecov.io 06:44:56 query: branch=PR-614&commit=6d170b70e1a04a00d380c7c5d579fc072917eff5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 06:44:56 -> Pinging Codecov 06:44:56 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-614&commit=6d170b70e1a04a00d380c7c5d579fc072917eff5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 06:44:56 -> Uploading to 06:44:56 https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/6d170b70e1a04a00d380c7c5d579fc072917eff5/97280e4f-62a1-4987-9a0b-c58074f9d91c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T064456Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b89b0d6b2a106dfce66aaa88920bbacd9d3d7b63a2581e5f7b156447d4b15537 06:44:56 % Total % Received % Xferd Average Speed Time Time Time Current 06:44:56 Dload Upload Total Spent Left Speed 06:44:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18349 0 0 100 18349 0 37034 --:--:-- --:--:-- --:--:-- 37068 06:44:57 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6d170b70e1a04a00d380c7c5d579fc072917eff5 [Pipeline] } 06:44:57 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:45:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:45:00 ---> package-listing.sh 06:45:00 ++ facter osfamily 06:45:00 ++ tr '[:upper:]' '[:lower:]' 06:45:00 + OS_FAMILY=redhat 06:45:00 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 06:45:00 + START_PACKAGES=/tmp/packages_start.txt 06:45:00 + END_PACKAGES=/tmp/packages_end.txt 06:45:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:45:00 + PACKAGES=/tmp/packages_start.txt 06:45:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 06:45:00 + PACKAGES=/tmp/packages_end.txt 06:45:00 + case "${OS_FAMILY}" in 06:45:00 + rpm -qa 06:45:00 + sort 06:45:05 + '[' -f /tmp/packages_start.txt ']' 06:45:05 + '[' -f /tmp/packages_end.txt ']' 06:45:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:45:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 06:45:05 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 06:45:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:05 provisioning config files... 06:45:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config1250782820317447037tmp [Pipeline] { [Pipeline] echo 06:45:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:45:05 ---> create-netrc.sh [Pipeline] } 06:45:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:45:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:45:06 ---> python-tools-install.sh 06:45:06 Generating Requirements File 06:46:43 Python 3.6.8 06:46:43 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:46:43 appdirs==1.4.3 06:46:43 argcomplete==1.12.1 06:46:43 aspy.yaml==1.3.0 06:46:43 attrs==19.3.0 06:46:43 Babel==2.8.0 06:46:43 beautifulsoup4==4.8.2 06:46:43 boto3==1.11.6 06:46:43 botocore==1.14.6 06:46:43 bs4==0.0.1 06:46:43 cachetools==4.1.1 06:46:43 certifi==2019.11.28 06:46:43 cffi==1.14.3 06:46:43 cfgv==2.0.1 06:46:43 chardet==3.0.4 06:46:43 click==7.1 06:46:43 cliff==3.4.0 06:46:43 cmd2==1.3.11 06:46:43 colorama==0.4.3 06:46:43 cryptography==3.1.1 06:46:43 debtcollector==2.2.0 06:46:43 decorator==4.4.2 06:46:43 defusedxml==0.6.0 06:46:43 Deprecated==1.2.7 06:46:43 distlib==0.3.1 06:46:43 distro==1.2.0 06:46:43 dnspython==1.16.0 06:46:43 docker==4.2.0 06:46:43 docutils==0.15.2 06:46:43 dogpile.cache==1.0.2 06:46:43 email-validator==1.0.5 06:46:43 filelock==3.0.12 06:46:43 future==0.18.2 06:46:43 google-auth==1.22.1 06:46:43 httplib2==0.17.0 06:46:43 identify==1.4.11 06:46:43 idna==2.9 06:46:43 importlib-metadata==1.7.0 06:46:43 importlib-resources==1.5.0 06:46:43 iso8601==0.1.13 06:46:43 Jinja2==2.11.1 06:46:43 jmespath==0.10.0 06:46:43 jsonpatch==1.26 06:46:43 jsonpointer==2.0 06:46:43 jsonschema==3.2.0 06:46:43 keystoneauth1==4.2.1 06:46:43 kubernetes==11.0.0 06:46:43 lftools==0.34.2 06:46:43 lxml==4.5.0 06:46:43 MarkupSafe==0.23 06:46:43 msgpack==1.0.0 06:46:43 multi-key-dict==2.0.3 06:46:43 munch==2.5.0 06:46:43 netaddr==0.8.0 06:46:43 netifaces==0.10.9 06:46:43 niet==1.4.2 06:46:43 nodeenv==1.3.5 06:46:43 oauth2client==4.1.3 06:46:43 oauthlib==3.1.0 06:46:43 openstacksdk==0.50.0 06:46:43 os-client-config==2.1.0 06:46:43 os-service-types==1.7.0 06:46:43 osc-lib==2.2.1 06:46:43 oslo.config==8.3.2 06:46:43 oslo.context==3.1.1 06:46:43 oslo.i18n==5.0.1 06:46:43 oslo.log==4.4.0 06:46:43 oslo.serialization==4.0.1 06:46:43 oslo.utils==4.6.0 06:46:43 packaging==20.4 06:46:43 pbr==5.4.4 06:46:43 pluggy==0.13.1 06:46:43 prettytable==0.7.2 06:46:43 py==1.9.0 06:46:43 pyasn1==0.4.8 06:46:43 pyasn1-modules==0.2.8 06:46:43 pycparser==2.20 06:46:43 pygerrit2==2.0.10 06:46:43 PyGithub==1.46 06:46:43 pyinotify==0.9.6 06:46:43 PyJWT==1.7.1 06:46:43 pyparsing==2.4.7 06:46:43 pyperclip==1.8.0 06:46:43 pyroute2==0.4.13 06:46:43 pyrsistent==0.15.7 06:46:43 PySocks==1.6.8 06:46:43 python-cinderclient==7.2.0 06:46:43 python-dateutil==2.8.1 06:46:43 python-heatclient==2.2.1 06:46:43 python-jenkins==1.7.0 06:46:43 python-keystoneclient==4.1.1 06:46:43 python-magnumclient==3.2.1 06:46:43 python-novaclient==17.2.1 06:46:43 python-openstackclient==5.4.0 06:46:43 python-swiftclient==3.10.1 06:46:43 pytz==2020.1 06:46:43 PyYAML==5.3 06:46:43 requests==2.23.0 06:46:43 requests-oauthlib==1.3.0 06:46:43 requestsexceptions==1.4.0 06:46:43 rfc3986==1.4.0 06:46:43 rpm==4.11.3 06:46:43 rsa==4.0 06:46:43 ruamel.yaml==0.16.10 06:46:43 ruamel.yaml.clib==0.2.0 06:46:43 s3transfer==0.3.3 06:46:43 shade==1.27.2 06:46:43 simplejson==3.17.2 06:46:43 six==1.14.0 06:46:43 soupsieve==2.0 06:46:43 stevedore==3.2.2 06:46:43 tabulate==0.8.6 06:46:43 toml==0.10.0 06:46:43 tox==3.20.0 06:46:43 tqdm==4.43.0 06:46:43 urllib3==1.25.8 06:46:43 virtualenv==20.0.33 06:46:43 wcwidth==0.2.5 06:46:43 websocket-client==0.57.0 06:46:43 wrapt==1.12.1 06:46:43 xdg==3.0.2 06:46:43 xmltodict==0.12.0 06:46:43 yq==2.11.1 06:46:43 zipp==3.3.0 06:46:45 Cache entry deserialization failed, entry ignored 06:46:48 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:46:53 Python 2.7.5 06:46:53 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:46:53 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:46:53 ansible==2.9.7 06:46:53 Babel==0.9.6 06:46:53 backports.ssl-match-hostname==3.5.0.1 06:46:53 beautifulsoup4==4.4.1 06:46:53 bodhi==2.11.0 06:46:53 bodhi-client==2.11.0 06:46:53 CCColUtils==1.4 06:46:53 cffi==1.6.0 06:46:53 chardet==2.2.1 06:46:53 click==6.7 06:46:53 cloud-init==18.5 06:46:53 configobj==4.7.2 06:46:53 cryptography==1.7.2 06:46:53 decorator==3.4.0 06:46:53 distro==1.2.0 06:46:53 enum34==1.0.4 06:46:53 fedpkg==1.38 06:46:53 futures==3.1.1 06:46:53 gitdb==0.6.4 06:46:53 GitPython==1.0.1 06:46:53 html5lib==0.999 06:46:53 httplib2==0.9.2 06:46:53 idna==2.4 06:46:53 iniparse==0.4 06:46:53 ipaddress==1.0.16 06:46:53 IPy==0.75 06:46:53 javapackages==1.0.0 06:46:53 Jinja2==2.7.2 06:46:53 jmespath==0.9.4 06:46:53 jsonpatch==1.2 06:46:53 jsonpointer==1.9 06:46:53 kerberos==1.1 06:46:53 kitchen==1.1.1 06:46:53 langtable==0.0.31 06:46:53 lockfile==0.9.1 06:46:53 lxml==3.2.1 06:46:53 MarkupSafe==0.11 06:46:53 munch==2.0.2 06:46:53 offtrac==0.1.0 06:46:53 openidc-client==0.6.0 06:46:53 packagedb-cli==2.14.1 06:46:53 paramiko==2.1.1 06:46:53 perf==0.1 06:46:53 ply==3.4 06:46:53 policycoreutils-default-encoding==0.1 06:46:53 prettytable==0.7.2 06:46:53 pyasn1==0.1.9 06:46:53 pycparser==2.14 06:46:53 pycurl==7.19.0 06:46:53 pygobject==3.22.0 06:46:53 pygpgme==0.3 06:46:53 pyliblzma==0.5.3 06:46:53 pyOpenSSL==0.13.1 06:46:53 pyparsing==1.5.6 06:46:53 pyserial==2.6 06:46:53 python-augeas==0.5.0 06:46:53 python-bugzilla==2.3.0 06:46:53 python-dateutil==1.5 06:46:53 python-fedora==0.10.0 06:46:53 python-linux-procfs==0.4.9 06:46:53 python-yubico==1.2.3 06:46:53 pyudev==0.15 06:46:53 pyusb==1.0.0b1 06:46:53 pyxattr==0.5.1 06:46:53 PyYAML==3.10 06:46:53 requests==2.6.0 06:46:53 requests-kerberos==0.7.0 06:46:53 rpkg==1.60 06:46:53 schedutils==0.4 06:46:53 seobject==0.1 06:46:53 sepolicy==1.1 06:46:53 six==1.9.0 06:46:53 smmap==0.9.0 06:46:53 urlgrabber==3.10 06:46:53 urllib3==1.10.2 06:46:53 virtualenv==15.1.0 06:46:53 yum-langpacks==0.4.2 06:46:53 yum-metadata-parser==1.1.4 [Pipeline] echo 06:46:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:46:53 ---> sudo-logs.sh 06:46:53 Archiving 'sudo' log.. [Pipeline] echo 06:46:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:46:54 ---> job-cost.sh 06:46:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KvVx 06:47:06 Cache entry deserialization failed, entry ignored 06:47:06 Cache entry deserialization failed, entry ignored 06:47:07 Cache entry deserialization failed, entry ignored 06:47:07 Cache entry deserialization failed, entry ignored 06:47:07 Cache entry deserialization failed, entry ignored 06:47:07 Cache entry deserialization failed, entry ignored 06:47:08 Cache entry deserialization failed, entry ignored 06:47:08 Cache entry deserialization failed, entry ignored 06:47:08 Cache entry deserialization failed, entry ignored 06:47:08 Cache entry deserialization failed, entry ignored 06:47:08 Cache entry deserialization failed, entry ignored 06:47:08 Cache entry deserialization failed, entry ignored 06:47:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:47:54 lf-activate-venv(): INFO: Adding /tmp/venv-KvVx/bin to PATH 06:47:54 INFO: No Stack... 06:47:54 INFO: Retrieving Pricing Info for: v1-standard-2 06:47:54 INFO: Archiving Costs [Pipeline] echo 06:47:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:47:55 ---> logs-deploy.sh 06:47:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/3 06:47:55 INFO: archiving workspace using pattern(s): 06:47:57 Archives upload complete. 06:47:57 INFO: archiving logs to Nexus 06:47:59 ---> uname -a: 06:47:59 Linux prd-centos7-docker-4c-2g-3697.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 06:47:59 06:47:59