Pull request #602 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 973e3351d72c08547700289f4b31505d6abbb4ce+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (33b5f3c47e4fa679ecf2c8d9305fa5ca95db35a4) 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2039 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [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-602 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 973e3351d72c08547700289f4b31505d6abbb4ce Merge succeeded, producing 973e3351d72c08547700289f4b31505d6abbb4ce Checking out Revision 973e3351d72c08547700289f4b31505d6abbb4ce (PR-602) > 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/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 Commit message: "feat: implement Device SDK v2 common API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:05:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 9eb8018d87c3a2d7e647304da7998b6311e1e846 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:05:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:05:18 ========================================================= 22:05:18 EdgeX Global Pipelines Version Info 22:05:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:05:20 ------------------- 22:05:20 stable info: 22:05:20 ------------------- 22:05:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:05:20 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 22:05:20 Message: update stable to v1.0.131 22:05:21 ------------------- 22:05:21 experimental info: 22:05:21 ------------------- 22:05:21 Commited By: **** collab-it+edgex@linuxfoundation.org 22:05:21 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 22:05:21 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:05:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:05:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:05:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:05:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:05:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:05:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:05:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:05:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:05:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo 22:05:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo 22:05:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo 22:05:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 973e3351d72c08547700289f4b31505d6abbb4ce [Pipeline] echo 22:05:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 973e335 [Pipeline] echo 22:05:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:25 + git log --format=format:%s -1 973e3351d72c08547700289f4b31505d6abbb4ce [Pipeline] echo 22:05:25 GIT_COMMIT: 973e3351d72c08547700289f4b31505d6abbb4ce, Commit Message: feat: implement Device SDK v2 common API [Pipeline] echo 22:05:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:05:26 22:05:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:05:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:05:26 latest: Pulling from edgex-devops/git-semver 22:05:26 31603596830f: Pulling fs layer 22:05:26 2a8b12db71e7: Pulling fs layer 22:05:26 6ca5941a6612: Pulling fs layer 22:05:26 ecc8261a40a4: Pulling fs layer 22:05:26 ecc8261a40a4: Waiting 22:05:27 2a8b12db71e7: Verifying Checksum 22:05:27 2a8b12db71e7: Download complete 22:05:27 31603596830f: Download complete 22:05:27 ecc8261a40a4: Verifying Checksum 22:05:27 ecc8261a40a4: Download complete 22:05:27 6ca5941a6612: Verifying Checksum 22:05:27 6ca5941a6612: Download complete 22:05:27 31603596830f: Pull complete 22:05:27 2a8b12db71e7: Pull complete 22:05:28 6ca5941a6612: Pull complete 22:05:29 ecc8261a40a4: Pull complete 22:05:29 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:05:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:05:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:05:29 prd-centos7-docker-4c-2g-2039 does not seem to be running inside a container 22:05:29 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-602 -v /w/workspace/dgexfoundry_device-sdk-go_PR-602:/w/workspace/dgexfoundry_device-sdk-go_PR-602:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:05:31 $ docker top ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:31 [ssh-agent] Looking for ssh-agent implementation... 22:05:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:32 $ docker exec ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 ssh-agent 22:05:32 SSH_AUTH_SOCK=/tmp/ssh-dYTfaTyKLiWF/agent.12 22:05:32 SSH_AGENT_PID=17 22:05:32 Running ssh-add (command line suppressed) 22:05:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_6048306929363198619.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_6048306929363198619.key) 22:05:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:33 + git describe --exact-match --tags HEAD 22:05:33 fatal: no tag exactly matches '973e3351d72c08547700289f4b31505d6abbb4ce' [Pipeline] } 22:05:33 $ docker exec --env ******** --env ******** ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 ssh-agent -k 22:05:33 unset SSH_AUTH_SOCK; 22:05:33 unset SSH_AGENT_PID; 22:05:33 echo Agent pid 17 killed; 22:05:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:05:33 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:05:33 This usually means this commit has not been tagged. [Pipeline] sshagent 22:05:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:33 [ssh-agent] Looking for ssh-agent implementation... 22:05:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:33 $ docker exec ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 ssh-agent 22:05:34 SSH_AUTH_SOCK=/tmp/ssh-TqXW2o8Orgf8/agent.47 22:05:34 SSH_AGENT_PID=52 22:05:34 Running ssh-add (command line suppressed) 22:05:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_7228754484508691707.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_7228754484508691707.key) 22:05:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:34 + git semver init 22:05:34 # -> Open(): unable to determine branch for HEAD 22:05:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.git 22:05:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-602 22:05:34 # $SEMVER_REMOTE_NAME = origin 22:05:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:05:34 # $SEMVER_USER_NAME = edgex-jenkins 22:05:34 # $SEMVER_BRANCH = PR-602 22:05:34 # $SEMVER_TEMP = /tmp/semver-324367744 22:05:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:05:35 # '/tmp/semver-324367744' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver' 22:05:35 # -> Force: false 22:05:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver [Pipeline] } 22:05:35 $ docker exec --env ******** --env ******** ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 ssh-agent -k 22:05:35 unset SSH_AUTH_SOCK; 22:05:35 unset SSH_AGENT_PID; 22:05:35 echo Agent pid 52 killed; 22:05:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:36 + git semver [Pipeline] } 22:05:36 $ docker stop --time=1 ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 22:05:37 $ docker rm -f ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:05:39 Stashed 39 file(s) [Pipeline] echo 22:05:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 22:05:39 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 22:05:55 Still waiting to schedule task 22:05:55 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2039’ 22:05:55 Still waiting to schedule task 22:05:55 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:08:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2040 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws 22:08:09 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:08:14 using credential edgex-jenkins-ssh 22:08:14 Cloning the remote Git repository 22:08:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:08:14 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:08:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:08:14 > git --version # timeout=10 22:08:14 > git --version # 'git version 2.17.1' 22:08:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:16 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 973e3351d72c08547700289f4b31505d6abbb4ce 22:08:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:08:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:08:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:08:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:08:16 > git config core.sparsecheckout # timeout=10 22:08:16 > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 22:08:16 Merge succeeded, producing 973e3351d72c08547700289f4b31505d6abbb4ce 22:08:16 Checking out Revision 973e3351d72c08547700289f4b31505d6abbb4ce (PR-602) 22:08:16 > git remote # timeout=10 22:08:16 > git config --get remote.origin.url # timeout=10 22:08:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:16 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 22:08:16 > git rev-parse HEAD^{commit} # timeout=10 22:08:16 > git config core.sparsecheckout # timeout=10 22:08:16 > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 22:08:21 Commit message: "feat: implement Device SDK v2 common API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:08:22 ========================================================= 22:08:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:08:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:08:24 + 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 . 22:08:25 Sending build context to Docker daemon 3.449MB 22:08:25 Step 1/8 : ARG BASE=golang:1.15-alpine 22:08:25 Step 2/8 : FROM ${BASE} 22:08:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:25 b538f80385f9: Pulling fs layer 22:08:25 74f711af9a0d: Pulling fs layer 22:08:25 99f96fe45779: Pulling fs layer 22:08:25 8529a6b9a6be: Pulling fs layer 22:08:25 45590311c82a: Pulling fs layer 22:08:25 69ca0ff8b7b3: Pulling fs layer 22:08:25 209524e5b208: Pulling fs layer 22:08:25 45590311c82a: Waiting 22:08:25 69ca0ff8b7b3: Waiting 22:08:25 209524e5b208: Waiting 22:08:25 8529a6b9a6be: Waiting 22:08:25 99f96fe45779: Download complete 22:08:25 74f711af9a0d: Verifying Checksum 22:08:25 74f711af9a0d: Download complete 22:08:25 45590311c82a: Verifying Checksum 22:08:25 45590311c82a: Download complete 22:08:25 69ca0ff8b7b3: Verifying Checksum 22:08:25 69ca0ff8b7b3: Download complete 22:08:25 b538f80385f9: Download complete 22:08:26 b538f80385f9: Pull complete 22:08:27 74f711af9a0d: Pull complete 22:08:27 99f96fe45779: Pull complete 22:08:28 209524e5b208: Verifying Checksum 22:08:28 209524e5b208: Download complete 22:08:29 8529a6b9a6be: Verifying Checksum 22:08:29 8529a6b9a6be: Download complete 22:08:36 Running on prd-centos7-docker-4c-2g-2041 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws 22:08:36 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:08:38 using credential edgex-jenkins-ssh 22:08:38 Cloning the remote Git repository 22:08:39 8529a6b9a6be: Pull complete 22:08:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:08:39 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:08:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:08:39 > git --version # timeout=10 22:08:39 > git --version # 'git version 2.16.5' 22:08:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:08:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:08:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:08:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:08:40 45590311c82a: Pull complete 22:08:40 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 973e3351d72c08547700289f4b31505d6abbb4ce 22:08:40 69ca0ff8b7b3: Pull complete 22:08:40 Merge succeeded, producing 973e3351d72c08547700289f4b31505d6abbb4ce 22:08:40 Checking out Revision 973e3351d72c08547700289f4b31505d6abbb4ce (PR-602) 22:08:40 > git config core.sparsecheckout # timeout=10 22:08:40 > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 22:08:40 > git remote # timeout=10 22:08:40 > git config --get remote.origin.url # timeout=10 22:08:40 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:40 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 22:08:40 > git rev-parse HEAD^{commit} # timeout=10 22:08:40 > git config core.sparsecheckout # timeout=10 22:08:40 > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 22:08:44 Commit message: "feat: implement Device SDK v2 common API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 22:08:44 209524e5b208: Pull complete 22:08:44 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 22:08:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:08:44 ---> 5bddaf1c2fca 22:08:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] unstash [Pipeline] echo 22:08:44 ========================================================= 22:08:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:08:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:08:45 + 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 . 22:08:45 Sending build context to Docker daemon 3.449MB 22:08:45 Step 1/8 : ARG BASE=golang:1.15-alpine 22:08:45 Step 2/8 : FROM ${BASE} 22:08:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:08:46 df20fa9351a1: Pulling fs layer 22:08:46 ed8968b2872e: Pulling fs layer 22:08:46 a92cc7c5fd73: Pulling fs layer 22:08:46 e871e8e8d7a9: Pulling fs layer 22:08:46 e73272ec9a57: Pulling fs layer 22:08:46 1e910a182e73: Pulling fs layer 22:08:46 4e634b169226: Pulling fs layer 22:08:46 e871e8e8d7a9: Waiting 22:08:46 e73272ec9a57: Waiting 22:08:46 1e910a182e73: Waiting 22:08:46 4e634b169226: Waiting 22:08:46 a92cc7c5fd73: Download complete 22:08:46 ed8968b2872e: Verifying Checksum 22:08:46 ed8968b2872e: Download complete 22:08:46 e73272ec9a57: Verifying Checksum 22:08:46 e73272ec9a57: Download complete 22:08:46 df20fa9351a1: Verifying Checksum 22:08:46 df20fa9351a1: Download complete 22:08:46 1e910a182e73: Verifying Checksum 22:08:46 1e910a182e73: Download complete 22:08:46 df20fa9351a1: Pull complete 22:08:46 ed8968b2872e: Pull complete 22:08:46 a92cc7c5fd73: Pull complete 22:08:47 ---> Running in 955e8d44ae72 22:08:47 Removing intermediate container 955e8d44ae72 22:08:47 ---> cfbc92d0df3a 22:08:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:08:47 ---> Running in c87a7dd894d9 22:08:48 4e634b169226: Verifying Checksum 22:08:48 4e634b169226: Download complete 22:08:48 e871e8e8d7a9: Verifying Checksum 22:08:48 e871e8e8d7a9: Download complete 22:08:50 Removing intermediate container c87a7dd894d9 22:08:50 ---> 8ef500c36938 22:08:50 Step 5/8 : RUN apk add --no-cache make git 22:08:50 ---> Running in 4b6cbdf9aa7e 22:08:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:08:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:08:53 OK: 142 MiB in 39 packages 22:08:54 e871e8e8d7a9: Pull complete 22:08:54 e73272ec9a57: Pull complete 22:08:54 1e910a182e73: Pull complete 22:08:54 Removing intermediate container 4b6cbdf9aa7e 22:08:54 ---> a814048418ae 22:08:54 Step 6/8 : WORKDIR /device-sdk-go 22:08:54 ---> Running in cfa6ae6a5e4c 22:08:55 Removing intermediate container cfa6ae6a5e4c 22:08:55 ---> b88fc97b02df 22:08:55 Step 7/8 : COPY . . 22:08:56 ---> 31d939d524b1 22:08:56 Step 8/8 : RUN go mod download 22:08:56 ---> Running in 93978bef4b64 22:08:59 4e634b169226: Pull complete 22:08:59 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 22:08:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:08:59 ---> f7629b54cfaa 22:08:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:08:59 ---> Running in eb081048668a 22:09:00 Removing intermediate container eb081048668a 22:09:00 ---> 16b1c8d92745 22:09:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:09:00 ---> Running in 87be0758eddb 22:09:01 Removing intermediate container 87be0758eddb 22:09:01 ---> bbf89c271d99 22:09:01 Step 5/8 : RUN apk add --no-cache make git 22:09:01 ---> Running in 56b44688c0d7 22:09:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:09:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:09:03 OK: 166 MiB in 39 packages 22:09:03 Removing intermediate container 56b44688c0d7 22:09:03 ---> 8829a512e083 22:09:03 Step 6/8 : WORKDIR /device-sdk-go 22:09:03 ---> Running in 27e5ab976e6a 22:09:03 Removing intermediate container 27e5ab976e6a 22:09:03 ---> 42fee816acc2 22:09:03 Step 7/8 : COPY . . 22:09:05 ---> 85465d24d03b 22:09:05 Step 8/8 : RUN go mod download 22:09:05 ---> Running in b1e0d50c0e4d 22:09:19 Removing intermediate container 93978bef4b64 22:09:19 ---> 95be36ac5ad6 22:09:19 Successfully built 95be36ac5ad6 22:09:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:09:19 + docker inspect -f . ci-base-image-arm64 22:09:19 . [Pipeline] withDockerContainer 22:09:19 prd-ubuntu18.04-docker-arm64-4c-16g-2040 does not seem to be running inside a container 22:09:19 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:09:21 $ docker top b3e5a68f727007474677708484863fe8cc548a69db869080c40635525ce8be19 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:23 + go version 22:09:23 go version go1.15.2 linux/arm64 [Pipeline] } 22:09:23 $ docker stop --time=1 b3e5a68f727007474677708484863fe8cc548a69db869080c40635525ce8be19 22:09:24 $ docker rm -f b3e5a68f727007474677708484863fe8cc548a69db869080c40635525ce8be19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:09:26 + docker inspect -f . ci-base-image-arm64 22:09:26 . [Pipeline] withDockerContainer 22:09:26 prd-ubuntu18.04-docker-arm64-4c-16g-2040 does not seem to be running inside a container 22:09:26 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:09:27 Removing intermediate container b1e0d50c0e4d 22:09:27 ---> 0547cfe9f303 22:09:27 Successfully built 0547cfe9f303 22:09:27 Successfully tagged ci-base-image-x86_64:latest 22:09:28 $ docker top 604ad003ab1268ba8d4c86e03e7f1e40c9f5fbefd77f683523c6529d185b4d26 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 22:09:29 + docker inspect -f . ci-base-image-x86_64 22:09:29 . [Pipeline] withDockerContainer 22:09:29 + make test 22:09:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:09:29 prd-centos7-docker-4c-2g-2041 does not seem to be running inside a container 22:09:29 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:09:30 $ docker top 587760dcb812359ad197b2ac9c0a342864080830161a75d69bb07c058fe493ac -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:31 + go version 22:09:31 go version go1.15.2 linux/amd64 [Pipeline] } 22:09:31 $ docker stop --time=1 587760dcb812359ad197b2ac9c0a342864080830161a75d69bb07c058fe493ac 22:09:32 $ docker rm -f 587760dcb812359ad197b2ac9c0a342864080830161a75d69bb07c058fe493ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:09:33 + docker inspect -f . ci-base-image-x86_64 22:09:33 . [Pipeline] withDockerContainer 22:09:33 prd-centos7-docker-4c-2g-2041 does not seem to be running inside a container 22:09:33 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:09:34 $ docker top 702cef51bffcbe1e430591f18d83c7270101c29d4cef518826e274b355cd0cc3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:34 + make test 22:09:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:09:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:09:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:09:56 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:09:56 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:09:56 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:09:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.9% of statements 22:09:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 95.7% of statements 22:10:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.047s coverage: 8.6% of statements 22:10:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.7% of statements 22:10:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:10:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.196s coverage: 39.5% of statements 22:10:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:10:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.4% of statements 22:10:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:10:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:10:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:10:28 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 22:10:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.120s coverage: 52.6% of statements 22:10:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 22:10:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.356s coverage: 68.9% of statements 22:10:28 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 22:10:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:10:28 GO111MODULE=on go vet ./... 22:10:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:10:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:10:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:10:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.119s coverage: 21.9% of statements 22:10:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.183s coverage: 95.7% of statements 22:10:35 gofmt -l . 22:10:35 [ "`gofmt -l .`" = "" ] 22:10:35 ./bin/test-attribution-txt.sh 22:10:35 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:10:36 Stashed 1 file(s) [Pipeline] } 22:10:36 $ docker stop --time=1 702cef51bffcbe1e430591f18d83c7270101c29d4cef518826e274b355cd0cc3 22:10:38 $ docker rm -f 702cef51bffcbe1e430591f18d83c7270101c29d4cef518826e274b355cd0cc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:10:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:10:42 + ls -al . 22:10:42 total 192 22:10:42 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 29 22:10 . 22:10:42 drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 22:08 .. 22:10:42 drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 22:08 bin 22:10:42 -rw-r--r--. 1 jenkins jenkins 111789 Sep 29 22:10 coverage.out 22:10:42 -rw-rw-r--. 1 jenkins jenkins 936 Sep 29 22:08 Dockerfile.build 22:10:42 -rw-rw-r--. 1 jenkins jenkins 140 Sep 29 22:08 .dockerignore 22:10:42 drwxrwxr-x. 4 jenkins jenkins 48 Sep 29 22:08 example 22:10:42 drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 22:08 .git 22:10:42 drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 22:08 .github 22:10:42 -rw-rw-r--. 1 jenkins jenkins 138 Sep 29 22:08 .gitignore 22:10:42 -rw-r--r--. 1 jenkins jenkins 517 Sep 29 22:10 go.mod 22:10:42 -rw-r--r--. 1 jenkins jenkins 13650 Sep 29 22:10 go.sum 22:10:42 drwxrwxr-x. 15 jenkins jenkins 211 Sep 29 22:08 internal 22:10:42 -rw-rw-r--. 1 jenkins jenkins 785 Sep 29 22:08 Jenkinsfile 22:10:42 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 29 22:08 LICENSE 22:10:42 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 29 22:08 Makefile 22:10:42 drwxrwxr-x. 4 jenkins jenkins 26 Sep 29 22:08 openapi 22:10:42 drwxrwxr-x. 5 jenkins jenkins 50 Sep 29 22:08 pkg 22:10:42 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 29 22:08 README.md 22:10:42 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 29 22:08 RELEASE-NOTES.txt 22:10:42 drwxrwxr-x. 3 jenkins jenkins 58 Sep 29 22:08 .semver 22:10:42 drwxrwxr-x. 4 jenkins jenkins 54 Sep 29 22:08 snap 22:10:42 -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 22:05 VERSION 22:10:42 -rw-rw-r--. 1 jenkins jenkins 222 Sep 29 22:08 version.go [Pipeline] isUnix [Pipeline] sh 22:10:42 + 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=973e3351d72c08547700289f4b31505d6abbb4ce --label arch=amd64 --label version=0.0.0 . 22:10:42 Sending build context to Docker daemon 3.563MB 22:10:42 Step 1/24 : ARG BASE=golang:1.15-alpine 22:10:42 Step 2/24 : FROM ${BASE} AS builder 22:10:42 ---> 0547cfe9f303 22:10:42 Step 3/24 : ARG MAKE='make build' 22:10:43 ---> Running in f63fddc36140 22:10:43 Removing intermediate container f63fddc36140 22:10:43 ---> 378ba5abd01b 22:10:43 Step 4/24 : WORKDIR /device-sdk-go 22:10:43 ---> Running in 38cee0111cb5 22:10:43 Removing intermediate container 38cee0111cb5 22:10:43 ---> bac0d7401d03 22:10:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:10:43 ---> Running in 3584dd53dfe7 22:10:43 Removing intermediate container 3584dd53dfe7 22:10:43 ---> 1d36cdfaf6bb 22:10:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:10:43 ---> Running in 09885e062d67 22:10:44 Removing intermediate container 09885e062d67 22:10:44 ---> 11462b2c90dc 22:10:44 Step 7/24 : RUN apk add --update --no-cache make git 22:10:44 ---> Running in 416763b74092 22:10:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:10:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:10:47 OK: 166 MiB in 39 packages 22:10:47 Removing intermediate container 416763b74092 22:10:47 ---> f43c8990defc 22:10:47 Step 8/24 : COPY . . 22:10:48 ---> ff0a181b5f2b 22:10:48 Step 9/24 : RUN ${MAKE} 22:10:48 ---> Running in 9cd4e4ab1c65 22:10:48 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 22:10:57 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:10:58 Removing intermediate container 9cd4e4ab1c65 22:10:58 ---> c297a3f2eb9b 22:10:58 Step 10/24 : FROM scratch 22:10:58 ---> 22:10:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:10:58 ---> Running in e860bea52046 22:10:58 Removing intermediate container e860bea52046 22:10:58 ---> 0d2cafddcfa7 22:10:58 Step 12/24 : ENV APP_PORT=49990 22:10:58 ---> Running in 1ddffd1feb08 22:10:59 Removing intermediate container 1ddffd1feb08 22:10:59 ---> 4a8d574c9e9e 22:10:59 Step 13/24 : EXPOSE $APP_PORT 22:10:59 ---> Running in 9c05c1fbc200 22:10:59 Removing intermediate container 9c05c1fbc200 22:10:59 ---> c914897419da 22:10:59 Step 14/24 : WORKDIR / 22:10:59 ---> Running in 4dc2cf416e1c 22:11:00 Removing intermediate container 4dc2cf416e1c 22:11:00 ---> 611fc9adb0e0 22:11:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:11:00 ---> ea1d507585e8 22:11:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:11:00 ---> ceb02a6eafe0 22:11:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:11:01 ---> 47ec3a008f5e 22:11:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:11:01 ---> 66c50f263616 22:11:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:11:01 ---> cc1a261dcfbf 22:11:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 22:11:01 ---> Running in 86ffc00b51ff 22:11:01 Removing intermediate container 86ffc00b51ff 22:11:01 ---> ab6c37e8ed73 22:11:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:11:01 ---> Running in 470fb648f799 22:11:02 Removing intermediate container 470fb648f799 22:11:02 ---> b40e071d3db2 22:11:02 Step 22/24 : LABEL arch=amd64 22:11:02 ---> Running in f732995d2206 22:11:02 Removing intermediate container f732995d2206 22:11:02 ---> 6fef6acaad89 22:11:02 Step 23/24 : LABEL git_sha=973e3351d72c08547700289f4b31505d6abbb4ce 22:11:02 ---> Running in 4deb027c0803 22:11:02 Removing intermediate container 4deb027c0803 22:11:02 ---> 5a721f8f4e81 22:11:02 Step 24/24 : LABEL version=0.0.0 22:11:02 ---> Running in 905559e9dced 22:11:02 Removing intermediate container 905559e9dced 22:11:02 ---> 807a6243d5f2 22:11:02 [Warning] One or more build-args [ARCH] were not consumed 22:11:02 Successfully built 807a6243d5f2 22:11:02 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] } 22:11:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 8.6% of statements 22:11:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.149s coverage: 21.7% of statements 22:11:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:11:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.554s coverage: 39.5% of statements 22:11:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:11:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.810s coverage: 65.4% of statements 22:11:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:11:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:11:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:11:06 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 22:11:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 52.6% of statements 22:11:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 22:11:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.648s coverage: 68.9% of statements 22:11:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 22:11:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:11:06 GO111MODULE=on go vet ./... 22:11:33 gofmt -l . 22:11:33 [ "`gofmt -l .`" = "" ] 22:11:33 ./bin/test-attribution-txt.sh 22:11:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:11:33 Warning: overwriting stash ‘coverage-report’ 22:11:34 Stashed 1 file(s) [Pipeline] } 22:11:34 $ docker stop --time=1 604ad003ab1268ba8d4c86e03e7f1e40c9f5fbefd77f683523c6529d185b4d26 22:11:36 $ docker rm -f 604ad003ab1268ba8d4c86e03e7f1e40c9f5fbefd77f683523c6529d185b4d26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:11:38 + ls -al . 22:11:38 total 232 22:11:38 drwxrwxr-x 11 jenkins jenkins 4096 Sep 29 22:11 . 22:11:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:08 .. 22:11:38 -rw-rw-r-- 1 jenkins jenkins 140 Sep 29 22:08 .dockerignore 22:11:38 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 22:08 .git 22:11:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 22:08 .github 22:11:38 -rw-rw-r-- 1 jenkins jenkins 138 Sep 29 22:08 .gitignore 22:11:38 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 22:08 .semver 22:11:38 -rw-rw-r-- 1 jenkins jenkins 936 Sep 29 22:08 Dockerfile.build 22:11:38 -rw-rw-r-- 1 jenkins jenkins 785 Sep 29 22:08 Jenkinsfile 22:11:38 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 29 22:08 LICENSE 22:11:38 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 29 22:08 Makefile 22:11:38 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 29 22:08 README.md 22:11:38 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 29 22:08 RELEASE-NOTES.txt 22:11:38 -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 22:05 VERSION 22:11:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 22:08 bin 22:11:38 -rw-r--r-- 1 jenkins jenkins 111789 Sep 29 22:11 coverage.out 22:11:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:08 example 22:11:38 -rw-r--r-- 1 jenkins jenkins 517 Sep 29 22:11 go.mod 22:11:38 -rw-r--r-- 1 jenkins jenkins 13650 Sep 29 22:11 go.sum 22:11:38 drwxrwxr-x 15 jenkins jenkins 4096 Sep 29 22:08 internal 22:11:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:08 openapi 22:11:38 drwxrwxr-x 5 jenkins jenkins 4096 Sep 29 22:08 pkg 22:11:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:08 snap 22:11:38 -rw-rw-r-- 1 jenkins jenkins 222 Sep 29 22:08 version.go [Pipeline] isUnix [Pipeline] sh 22:11:38 + 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=973e3351d72c08547700289f4b31505d6abbb4ce --label arch=arm64 --label version=0.0.0 . 22:11:39 Sending build context to Docker daemon 3.562MB 22:11:39 Step 1/24 : ARG BASE=golang:1.15-alpine 22:11:39 Step 2/24 : FROM ${BASE} AS builder 22:11:39 ---> 95be36ac5ad6 22:11:39 Step 3/24 : ARG MAKE='make build' 22:11:39 ---> Running in 03ce6bdd4c02 22:11:40 Removing intermediate container 03ce6bdd4c02 22:11:40 ---> 2130b25da6c4 22:11:40 Step 4/24 : WORKDIR /device-sdk-go 22:11:40 ---> Running in c161dfc2abf6 22:11:40 Removing intermediate container c161dfc2abf6 22:11:40 ---> a978dd111a33 22:11:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:11:40 ---> Running in 74a61be6a227 22:11:41 Removing intermediate container 74a61be6a227 22:11:41 ---> 98dcb6a0d788 22:11:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:11:41 ---> Running in d8ca0d5c0aed 22:11:44 Removing intermediate container d8ca0d5c0aed 22:11:44 ---> b9a150e2940a 22:11:44 Step 7/24 : RUN apk add --update --no-cache make git 22:11:44 ---> Running in 33dfe7f094a7 22:11:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:11:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:11:47 OK: 142 MiB in 39 packages 22:11:48 Removing intermediate container 33dfe7f094a7 22:11:48 ---> e384bbcd05e5 22:11:48 Step 8/24 : COPY . . 22:11:49 ---> 45ef625ac02f 22:11:49 Step 9/24 : RUN ${MAKE} 22:11:49 ---> Running in 257d774cc2e4 22:11:51 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 22:12:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:12:18 Removing intermediate container 257d774cc2e4 22:12:18 ---> a22d5b7d9e77 22:12:18 Step 10/24 : FROM scratch 22:12:18 ---> 22:12:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:12:18 ---> Running in d11f96541f96 22:12:18 Removing intermediate container d11f96541f96 22:12:18 ---> ac7094e447a6 22:12:18 Step 12/24 : ENV APP_PORT=49990 22:12:18 ---> Running in b81de74381b9 22:12:18 Removing intermediate container b81de74381b9 22:12:18 ---> 6a59cd682e1e 22:12:18 Step 13/24 : EXPOSE $APP_PORT 22:12:18 ---> Running in 300f25eedc90 22:12:19 Removing intermediate container 300f25eedc90 22:12:19 ---> 1150f35645fc 22:12:19 Step 14/24 : WORKDIR / 22:12:19 ---> Running in cd737628ac37 22:12:19 Removing intermediate container cd737628ac37 22:12:19 ---> fba9e4342b16 22:12:19 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:12:20 ---> 17cc8f742cad 22:12:20 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:12:21 ---> 75f36e5b6356 22:12:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:12:22 ---> 91343d413ce0 22:12:22 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:12:22 ---> 56e377451ce7 22:12:22 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:12:23 ---> a7c7e0346252 22:12:23 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 22:12:23 ---> Running in 697a46540d09 22:12:24 Removing intermediate container 697a46540d09 22:12:24 ---> 09f649aa5e4d 22:12:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:12:24 ---> Running in dd284f499331 22:12:24 Removing intermediate container dd284f499331 22:12:24 ---> 95ff4bec144c 22:12:24 Step 22/24 : LABEL arch=arm64 22:12:24 ---> Running in 957737557c2e 22:12:25 Removing intermediate container 957737557c2e 22:12:25 ---> 864a251dcc95 22:12:25 Step 23/24 : LABEL git_sha=973e3351d72c08547700289f4b31505d6abbb4ce 22:12:25 ---> Running in 3b029122fff6 22:12:26 Removing intermediate container 3b029122fff6 22:12:26 ---> c7ac5150d641 22:12:26 Step 24/24 : LABEL version=0.0.0 22:12:26 ---> Running in a4e75aaa3f7f 22:12:26 Removing intermediate container a4e75aaa3f7f 22:12:26 ---> 8ac1db8714d5 22:12:26 [Warning] One or more build-args [ARCH] were not consumed 22:12:26 Successfully built 8ac1db8714d5 22:12:26 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 22:12:28 provisioning config files... 22:12:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config1240201617651937624tmp [Pipeline] { [Pipeline] sh 22:12:29 + set +x 22:12:29 + curl -s https://codecov.io/bash 22:12:29 + bash -s -- 22:12:29 22:12:29 _____ _ 22:12:29 / ____| | | 22:12:29 | | ___ __| | ___ ___ _____ __ 22:12:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:12:29 | |___| (_) | (_| | __/ (_| (_) \ V / 22:12:29 \_____\___/ \__,_|\___|\___\___/ \_/ 22:12:29 Bash-20200917-4e8f14b 22:12:29 22:12:29 22:12:29 ==> Jenkins CI detected. 22:12:29 project root: . 22:12:29 --> token set from env 22:12:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:12:29 ==> Running gcov in . (disable via -X gcov) 22:12:29 ==> Python coveragepy not found 22:12:29 ==> Searching for coverage reports in: 22:12:29 + . 22:12:29 -> Found 1 reports 22:12:29 ==> Detecting git/mercurial file structure 22:12:29 ==> Reading reports 22:12:29 + ./coverage.out bytes=111789 22:12:29 ==> Appending adjustments 22:12:29 https://docs.codecov.io/docs/fixing-reports 22:12:30 + Found adjustments 22:12:30 ==> Gzipping contents 22:12:30 ==> Uploading reports 22:12:30 url: https://codecov.io 22:12:30 query: branch=PR-602&commit=973e3351d72c08547700289f4b31505d6abbb4ce&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= 22:12:30 -> Pinging Codecov 22:12:30 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-602&commit=973e3351d72c08547700289f4b31505d6abbb4ce&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= 22:12:30 -> Uploading to 22:12:30 https://storage.googleapis.com/codecov/v4/raw/2020-09-29/7E55EF52A471D76F132DFD9A03CDDE97/973e3351d72c08547700289f4b31505d6abbb4ce/d0d7d9f1-7d4b-428d-80d2-249e84b01822.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T221230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7c4c84a311fddace1ae67936825e15b9c9a657e2477cf6f57f845b6b3013d95 22:12:30 % Total % Received % Xferd Average Speed Time Time Time Current 22:12:30 Dload Upload Total Spent Left Speed 22:12:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18518 0 0 100 18518 0 38032 --:--:-- --:--:-- --:--:-- 38102 22:12:31 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/973e3351d72c08547700289f4b31505d6abbb4ce [Pipeline] } 22:12:31 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 22:12:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:12:34 ---> package-listing.sh 22:12:34 ++ tr '[:upper:]' '[:lower:]' 22:12:34 ++ facter osfamily 22:12:34 + OS_FAMILY=redhat 22:12:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-602 22:12:34 + START_PACKAGES=/tmp/packages_start.txt 22:12:34 + END_PACKAGES=/tmp/packages_end.txt 22:12:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:12:34 + PACKAGES=/tmp/packages_start.txt 22:12:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' 22:12:34 + PACKAGES=/tmp/packages_end.txt 22:12:34 + case "${OS_FAMILY}" in 22:12:34 + rpm -qa 22:12:34 + sort 22:12:39 + '[' -f /tmp/packages_start.txt ']' 22:12:39 + '[' -f /tmp/packages_end.txt ']' 22:12:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:12:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' 22:12:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ 22:12:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:39 provisioning config files... 22:12:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config1224246001695242554tmp [Pipeline] { [Pipeline] echo 22:12:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:12:40 ---> create-netrc.sh [Pipeline] } 22:12:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:12:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:12:41 ---> python-tools-install.sh 22:12:41 Generating Requirements File 22:14:17 Python 3.6.8 22:14:17 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 22:14:17 aiohttp==3.6.2 22:14:17 appdirs==1.4.3 22:14:17 argcomplete==1.12.1 22:14:17 aspy.yaml==1.3.0 22:14:17 async-timeout==3.0.1 22:14:17 attrs==19.3.0 22:14:17 Babel==2.8.0 22:14:17 beautifulsoup4==4.8.2 22:14:17 boto3==1.11.6 22:14:17 botocore==1.14.6 22:14:17 bs4==0.0.1 22:14:17 cachetools==4.1.1 22:14:17 certifi==2019.11.28 22:14:17 cffi==1.14.3 22:14:17 cfgv==2.0.1 22:14:17 chardet==3.0.4 22:14:17 click==7.1 22:14:17 cliff==3.4.0 22:14:17 cmd2==1.3.10 22:14:17 colorama==0.4.3 22:14:17 cryptography==3.1.1 22:14:17 debtcollector==2.2.0 22:14:17 decorator==4.4.2 22:14:17 defusedxml==0.6.0 22:14:17 Deprecated==1.2.7 22:14:17 distlib==0.3.1 22:14:17 distro==1.2.0 22:14:17 dnspython==1.16.0 22:14:17 docker==4.2.0 22:14:17 docutils==0.15.2 22:14:17 dogpile.cache==1.0.2 22:14:17 email-validator==1.0.5 22:14:17 filelock==3.0.12 22:14:17 future==0.18.2 22:14:17 google-auth==1.22.0 22:14:17 httplib2==0.17.0 22:14:17 identify==1.4.11 22:14:17 idna==2.9 22:14:17 idna-ssl==1.1.0 22:14:17 importlib-metadata==1.7.0 22:14:17 importlib-resources==1.5.0 22:14:17 iso8601==0.1.13 22:14:17 Jinja2==2.11.1 22:14:17 jmespath==0.10.0 22:14:17 jsonpatch==1.26 22:14:17 jsonpointer==2.0 22:14:17 jsonschema==3.2.0 22:14:17 keystoneauth1==4.2.1 22:14:17 kubernetes==11.0.0 22:14:17 lftools==0.34.2 22:14:17 lxml==4.5.0 22:14:17 MarkupSafe==0.23 22:14:17 msgpack==1.0.0 22:14:17 multi-key-dict==2.0.3 22:14:17 multidict==4.7.6 22:14:17 munch==2.5.0 22:14:17 netaddr==0.8.0 22:14:17 netifaces==0.10.9 22:14:17 niet==1.4.2 22:14:17 nodeenv==1.3.5 22:14:17 oauth2client==4.1.3 22:14:17 oauthlib==3.1.0 22:14:17 openstacksdk==0.50.0 22:14:17 os-client-config==2.1.0 22:14:17 os-service-types==1.7.0 22:14:17 osc-lib==2.2.1 22:14:17 oslo.config==8.3.2 22:14:17 oslo.context==3.1.1 22:14:17 oslo.i18n==5.0.1 22:14:17 oslo.log==4.4.0 22:14:17 oslo.serialization==4.0.1 22:14:17 oslo.utils==4.6.0 22:14:17 packaging==20.4 22:14:17 pbr==5.4.4 22:14:17 pluggy==0.13.1 22:14:17 prettytable==0.7.2 22:14:17 py==1.9.0 22:14:17 pyasn1==0.4.8 22:14:17 pyasn1-modules==0.2.8 22:14:17 pycparser==2.20 22:14:17 pygerrit2==2.0.10 22:14:17 PyGithub==1.46 22:14:17 pyinotify==0.9.6 22:14:17 PyJWT==1.7.1 22:14:17 pyparsing==2.4.7 22:14:17 pyperclip==1.8.0 22:14:17 pyroute2==0.4.13 22:14:17 pyrsistent==0.15.7 22:14:17 PySocks==1.6.8 22:14:17 python-cinderclient==7.2.0 22:14:17 python-dateutil==2.8.1 22:14:17 python-heatclient==2.2.1 22:14:17 python-jenkins==1.7.0 22:14:17 python-keystoneclient==4.1.1 22:14:17 python-magnumclient==3.2.1 22:14:17 python-novaclient==17.2.1 22:14:17 python-openstackclient==5.3.1 22:14:17 python-swiftclient==3.10.1 22:14:17 pytz==2020.1 22:14:17 PyYAML==5.3 22:14:17 requests==2.23.0 22:14:17 requests-oauthlib==1.3.0 22:14:17 requestsexceptions==1.4.0 22:14:17 rfc3986==1.4.0 22:14:17 rpm==4.11.3 22:14:17 rsa==4.0 22:14:17 ruamel.yaml==0.16.10 22:14:17 ruamel.yaml.clib==0.2.0 22:14:17 s3transfer==0.3.3 22:14:17 shade==1.27.2 22:14:17 simplejson==3.17.2 22:14:17 six==1.14.0 22:14:17 soupsieve==2.0 22:14:17 stevedore==3.2.2 22:14:17 tabulate==0.8.6 22:14:17 toml==0.10.0 22:14:17 tox==3.20.0 22:14:17 tqdm==4.43.0 22:14:17 typing-extensions==3.7.4.3 22:14:17 urllib3==1.25.8 22:14:17 virtualenv==20.0.31 22:14:17 wcwidth==0.2.5 22:14:17 websocket-client==0.57.0 22:14:17 wrapt==1.12.1 22:14:17 xdg==3.0.2 22:14:17 xmltodict==0.12.0 22:14:17 yarl==1.6.0 22:14:17 yq==2.11.1 22:14:17 zipp==3.2.0 22:14:17 Cache entry deserialization failed, entry ignored 22:14:18 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. 22:14:21 Python 2.7.5 22:14:22 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 22:14:23 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. 22:14:23 ansible==2.9.7 22:14:23 Babel==0.9.6 22:14:23 backports.ssl-match-hostname==3.5.0.1 22:14:23 beautifulsoup4==4.4.1 22:14:23 bodhi==2.11.0 22:14:23 bodhi-client==2.11.0 22:14:23 CCColUtils==1.4 22:14:23 cffi==1.6.0 22:14:23 chardet==2.2.1 22:14:23 click==6.7 22:14:23 cloud-init==18.5 22:14:23 configobj==4.7.2 22:14:23 cryptography==1.7.2 22:14:23 decorator==3.4.0 22:14:23 distro==1.2.0 22:14:23 enum34==1.0.4 22:14:23 fedpkg==1.38 22:14:23 futures==3.1.1 22:14:23 gitdb==0.6.4 22:14:23 GitPython==1.0.1 22:14:23 html5lib==0.999 22:14:23 httplib2==0.9.2 22:14:23 idna==2.4 22:14:23 iniparse==0.4 22:14:23 ipaddress==1.0.16 22:14:23 IPy==0.75 22:14:23 javapackages==1.0.0 22:14:23 Jinja2==2.7.2 22:14:23 jmespath==0.9.4 22:14:23 jsonpatch==1.2 22:14:23 jsonpointer==1.9 22:14:23 kerberos==1.1 22:14:23 kitchen==1.1.1 22:14:23 langtable==0.0.31 22:14:23 lockfile==0.9.1 22:14:23 lxml==3.2.1 22:14:23 MarkupSafe==0.11 22:14:23 munch==2.0.2 22:14:23 offtrac==0.1.0 22:14:23 openidc-client==0.6.0 22:14:23 packagedb-cli==2.14.1 22:14:23 paramiko==2.1.1 22:14:23 perf==0.1 22:14:23 ply==3.4 22:14:23 policycoreutils-default-encoding==0.1 22:14:23 prettytable==0.7.2 22:14:23 pyasn1==0.1.9 22:14:23 pycparser==2.14 22:14:23 pycurl==7.19.0 22:14:23 pygobject==3.22.0 22:14:23 pygpgme==0.3 22:14:23 pyliblzma==0.5.3 22:14:23 pyOpenSSL==0.13.1 22:14:23 pyparsing==1.5.6 22:14:23 pyserial==2.6 22:14:23 python-augeas==0.5.0 22:14:23 python-bugzilla==2.3.0 22:14:23 python-dateutil==1.5 22:14:23 python-fedora==0.10.0 22:14:23 python-linux-procfs==0.4.9 22:14:23 python-yubico==1.2.3 22:14:23 pyudev==0.15 22:14:23 pyusb==1.0.0b1 22:14:23 pyxattr==0.5.1 22:14:23 PyYAML==3.10 22:14:23 requests==2.6.0 22:14:23 requests-kerberos==0.7.0 22:14:23 rpkg==1.60 22:14:23 schedutils==0.4 22:14:23 seobject==0.1 22:14:23 sepolicy==1.1 22:14:23 six==1.9.0 22:14:23 smmap==0.9.0 22:14:23 urlgrabber==3.10 22:14:23 urllib3==1.10.2 22:14:23 virtualenv==15.1.0 22:14:23 yum-langpacks==0.4.2 22:14:23 yum-metadata-parser==1.1.4 [Pipeline] echo 22:14:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:14:23 ---> sudo-logs.sh 22:14:23 Archiving 'sudo' log.. [Pipeline] echo 22:14:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:14:23 ---> job-cost.sh 22:14:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n3w4 22:14:34 Cache entry deserialization failed, entry ignored 22:14:34 Cache entry deserialization failed, entry ignored 22:14:35 Cache entry deserialization failed, entry ignored 22:14:35 Cache entry deserialization failed, entry ignored 22:14:35 Cache entry deserialization failed, entry ignored 22:14:35 Cache entry deserialization failed, entry ignored 22:14:35 Cache entry deserialization failed, entry ignored 22:14:35 Cache entry deserialization failed, entry ignored 22:14:35 Cache entry deserialization failed, entry ignored 22:14:36 Cache entry deserialization failed, entry ignored 22:14:36 Cache entry deserialization failed, entry ignored 22:14:36 Cache entry deserialization failed, entry ignored 22:14:36 Cache entry deserialization failed, entry ignored 22:14:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:15:19 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 22:15:19 22:15:19 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 22:15:19 22:15:19 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 22:15:19 lf-activate-venv(): INFO: Adding /tmp/venv-n3w4/bin to PATH 22:15:19 INFO: No Stack... 22:15:19 INFO: Retrieving Pricing Info for: v1-standard-2 22:15:19 INFO: Archiving Costs [Pipeline] echo 22:15:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:15:19 ---> logs-deploy.sh 22:15:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-602/3 22:15:19 INFO: archiving workspace using pattern(s): 22:15:21 Archives upload complete. 22:15:21 INFO: archiving logs to Nexus