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 fa7ee706912a0374fffe18411a0469524eb76af6+fb7330ff9bf92f9fa1366cf6687914141b9e28cd (18e52c0ba7ed5fc9e0aee71c36da6f028fcbfd9a) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2139 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 > 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 Merging remotes/origin/master commit fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit fa7ee706912a0374fffe18411a0469524eb76af6 Merge succeeded, producing fa7ee706912a0374fffe18411a0469524eb76af6 Checking out Revision fa7ee706912a0374fffe18411a0469524eb76af6 (PR-602) > git config core.sparsecheckout # timeout=10 > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # 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 fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # 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 05:09:54 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 276e169bbc00b810e76808b3fa76b69a46b3a00c # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:09:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:09:55 ========================================================= 05:09:55 EdgeX Global Pipelines Version Info 05:09:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:09:56 ------------------- 05:09:56 stable info: 05:09:56 ------------------- 05:09:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:09:56 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:09:56 Message: update stable to v1.0.131 05:09:57 ------------------- 05:09:57 experimental info: 05:09:57 ------------------- 05:09:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:09:57 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:09:57 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:09:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:10:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:10:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:10:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:10:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:10:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo 05:10:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo 05:10:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo 05:10:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa7ee706912a0374fffe18411a0469524eb76af6 [Pipeline] echo 05:10:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa7ee70 [Pipeline] echo 05:10:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:01 + git log --format=format:%s -1 fa7ee706912a0374fffe18411a0469524eb76af6 [Pipeline] echo 05:10:01 GIT_COMMIT: fa7ee706912a0374fffe18411a0469524eb76af6, Commit Message: feat: implement Device SDK v2 common API [Pipeline] echo 05:10:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:10:02 05:10:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:10:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:10:03 latest: Pulling from edgex-devops/git-semver 05:10:03 31603596830f: Pulling fs layer 05:10:03 2a8b12db71e7: Pulling fs layer 05:10:03 6ca5941a6612: Pulling fs layer 05:10:03 ecc8261a40a4: Pulling fs layer 05:10:03 ecc8261a40a4: Waiting 05:10:03 2a8b12db71e7: Verifying Checksum 05:10:03 2a8b12db71e7: Download complete 05:10:03 31603596830f: Verifying Checksum 05:10:03 31603596830f: Download complete 05:10:03 ecc8261a40a4: Verifying Checksum 05:10:03 ecc8261a40a4: Download complete 05:10:03 6ca5941a6612: Verifying Checksum 05:10:03 6ca5941a6612: Download complete 05:10:03 31603596830f: Pull complete 05:10:03 2a8b12db71e7: Pull complete 05:10:04 6ca5941a6612: Pull complete 05:10:05 ecc8261a40a4: Pull complete 05:10:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:10:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:10:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:10:05 prd-centos7-docker-4c-2g-2139 does not seem to be running inside a container 05:10:05 $ 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 05:10:07 $ docker top f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:10:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:07 [ssh-agent] Looking for ssh-agent implementation... 05:10:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:08 $ docker exec f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 ssh-agent 05:10:08 SSH_AUTH_SOCK=/tmp/ssh-a0YxSwAFUv42/agent.11 05:10:08 SSH_AGENT_PID=16 05:10:08 Running ssh-add (command line suppressed) 05:10:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_8056669557964301781.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_8056669557964301781.key) 05:10:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:08 + git describe --exact-match --tags HEAD 05:10:08 fatal: no tag exactly matches 'fa7ee706912a0374fffe18411a0469524eb76af6' [Pipeline] } 05:10:08 $ docker exec --env ******** --env ******** f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 ssh-agent -k 05:10:08 unset SSH_AUTH_SOCK; 05:10:08 unset SSH_AGENT_PID; 05:10:08 echo Agent pid 16 killed; 05:10:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:10:09 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:10:09 This usually means this commit has not been tagged. [Pipeline] sshagent 05:10:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:09 [ssh-agent] Looking for ssh-agent implementation... 05:10:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:09 $ docker exec f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 ssh-agent 05:10:09 SSH_AUTH_SOCK=/tmp/ssh-Lpbpwf9aC1Zd/agent.44 05:10:09 SSH_AGENT_PID=50 05:10:09 Running ssh-add (command line suppressed) 05:10:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_6697543212793551465.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_6697543212793551465.key) 05:10:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:09 + git semver init 05:10:09 # -> Open(): unable to determine branch for HEAD 05:10:09 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.git 05:10:09 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-602 05:10:09 # $SEMVER_REMOTE_NAME = origin 05:10:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:10:09 # $SEMVER_USER_NAME = edgex-jenkins 05:10:09 # $SEMVER_BRANCH = PR-602 05:10:09 # $SEMVER_TEMP = /tmp/semver-094405756 05:10:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:10:10 # '/tmp/semver-094405756' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver' 05:10:10 # -> Force: false 05:10:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver [Pipeline] } 05:10:10 $ docker exec --env ******** --env ******** f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 ssh-agent -k 05:10:10 unset SSH_AUTH_SOCK; 05:10:10 unset SSH_AGENT_PID; 05:10:10 echo Agent pid 50 killed; 05:10:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:11 + git semver [Pipeline] } 05:10:11 $ docker stop --time=1 f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 05:10:12 $ docker rm -f f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:10:13 Stashed 40 file(s) [Pipeline] echo 05:10:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:10:13 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 05:10:29 Still waiting to schedule task 05:10:29 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2139’ 05:10:29 Still waiting to schedule task 05:10:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:12:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2140 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws 05:12:29 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 05:12:34 using credential edgex-jenkins-ssh 05:12:35 Cloning the remote Git repository 05:12:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:12:35 > git init /w/workspace/device-sdk-go/5 # timeout=10 05:12:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:12:35 > git --version # timeout=10 05:12:35 > git --version # 'git version 2.17.1' 05:12:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:12:37 Merging remotes/origin/master commit fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit fa7ee706912a0374fffe18411a0469524eb76af6 05:12:37 Merge succeeded, producing fa7ee706912a0374fffe18411a0469524eb76af6 05:12:37 Checking out Revision fa7ee706912a0374fffe18411a0469524eb76af6 (PR-602) 05:12:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:12:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:12:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:36 > 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 05:12:37 > git config core.sparsecheckout # timeout=10 05:12:37 > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 05:12:37 > git remote # timeout=10 05:12:37 > git config --get remote.origin.url # timeout=10 05:12:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:37 > git merge fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 05:12:37 > git rev-parse HEAD^{commit} # timeout=10 05:12:37 > git config core.sparsecheckout # timeout=10 05:12:37 > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 05:12:41 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 05:12:43 ========================================================= 05:12:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:12:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:12:44 + 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 . 05:12:45 Sending build context to Docker daemon 3.469MB 05:12:45 Step 1/8 : ARG BASE=golang:1.15-alpine 05:12:45 Step 2/8 : FROM ${BASE} 05:12:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:12:45 b538f80385f9: Pulling fs layer 05:12:45 74f711af9a0d: Pulling fs layer 05:12:45 99f96fe45779: Pulling fs layer 05:12:45 8529a6b9a6be: Pulling fs layer 05:12:45 45590311c82a: Pulling fs layer 05:12:45 69ca0ff8b7b3: Pulling fs layer 05:12:45 209524e5b208: Pulling fs layer 05:12:45 8529a6b9a6be: Waiting 05:12:45 45590311c82a: Waiting 05:12:45 69ca0ff8b7b3: Waiting 05:12:45 209524e5b208: Waiting 05:12:45 99f96fe45779: Verifying Checksum 05:12:45 99f96fe45779: Download complete 05:12:45 74f711af9a0d: Verifying Checksum 05:12:45 74f711af9a0d: Download complete 05:12:45 45590311c82a: Download complete 05:12:45 69ca0ff8b7b3: Verifying Checksum 05:12:45 69ca0ff8b7b3: Download complete 05:12:45 b538f80385f9: Verifying Checksum 05:12:45 b538f80385f9: Download complete 05:12:46 b538f80385f9: Pull complete 05:12:46 74f711af9a0d: Pull complete 05:12:47 99f96fe45779: Pull complete 05:12:48 209524e5b208: Verifying Checksum 05:12:48 209524e5b208: Download complete 05:12:49 8529a6b9a6be: Verifying Checksum 05:12:49 8529a6b9a6be: Download complete 05:12:59 8529a6b9a6be: Pull complete 05:12:59 45590311c82a: Pull complete 05:13:00 69ca0ff8b7b3: Pull complete 05:13:04 209524e5b208: Pull complete 05:13:04 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:13:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:13:04 ---> 5bddaf1c2fca 05:13:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:13:06 ---> Running in eb1011850184 05:13:07 Removing intermediate container eb1011850184 05:13:07 ---> 49663c0ef7b2 05:13:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:07 ---> Running in dcca1a370d6b 05:13:09 Removing intermediate container dcca1a370d6b 05:13:09 ---> a8ae7ea0ab1d 05:13:09 Step 5/8 : RUN apk add --no-cache make git 05:13:10 ---> Running in 4ede4337f051 05:13:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:13:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:13:12 OK: 142 MiB in 39 packages 05:13:14 Removing intermediate container 4ede4337f051 05:13:14 ---> aea6428ebef4 05:13:14 Step 6/8 : WORKDIR /device-sdk-go 05:13:14 ---> Running in 55185accf4a5 05:13:14 Removing intermediate container 55185accf4a5 05:13:14 ---> 0630e9ca0e52 05:13:14 Step 7/8 : COPY . . 05:13:15 ---> 597038d35f5c 05:13:15 Step 8/8 : RUN go mod download 05:13:16 Running on prd-centos7-docker-4c-2g-2141 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws 05:13:16 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 05:13:16 ---> Running in cc3170b0db06 05:13:19 using credential edgex-jenkins-ssh 05:13:19 Cloning the remote Git repository 05:13:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:13:19 > git init /w/workspace/device-sdk-go/5 # timeout=10 05:13:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:13:19 > git --version # timeout=10 05:13:19 > git --version # 'git version 2.16.5' 05:13:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:13:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:13:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:13:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:13:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:13:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:13:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:13:20 > 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 05:13:20 Merging remotes/origin/master commit fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit fa7ee706912a0374fffe18411a0469524eb76af6 05:13:21 Merge succeeded, producing fa7ee706912a0374fffe18411a0469524eb76af6 05:13:21 Checking out Revision fa7ee706912a0374fffe18411a0469524eb76af6 (PR-602) 05:13:20 > git config core.sparsecheckout # timeout=10 05:13:20 > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 05:13:21 > git remote # timeout=10 05:13:21 > git config --get remote.origin.url # timeout=10 05:13:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:13:21 > git merge fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 05:13:21 > git rev-parse HEAD^{commit} # timeout=10 05:13:21 > git config core.sparsecheckout # timeout=10 05:13:21 > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 05:13:24 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 05:13:25 ========================================================= 05:13:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:13:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:13:26 + 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 . 05:13:27 Sending build context to Docker daemon 3.469MB 05:13:27 Step 1/8 : ARG BASE=golang:1.15-alpine 05:13:27 Step 2/8 : FROM ${BASE} 05:13:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:13:27 df20fa9351a1: Pulling fs layer 05:13:27 ed8968b2872e: Pulling fs layer 05:13:27 a92cc7c5fd73: Pulling fs layer 05:13:27 e871e8e8d7a9: Pulling fs layer 05:13:27 e73272ec9a57: Pulling fs layer 05:13:27 1e910a182e73: Pulling fs layer 05:13:27 4e634b169226: Pulling fs layer 05:13:27 e73272ec9a57: Waiting 05:13:27 1e910a182e73: Waiting 05:13:27 4e634b169226: Waiting 05:13:27 e871e8e8d7a9: Waiting 05:13:27 a92cc7c5fd73: Verifying Checksum 05:13:27 a92cc7c5fd73: Download complete 05:13:27 ed8968b2872e: Verifying Checksum 05:13:27 ed8968b2872e: Download complete 05:13:27 e73272ec9a57: Verifying Checksum 05:13:27 e73272ec9a57: Download complete 05:13:27 df20fa9351a1: Verifying Checksum 05:13:27 df20fa9351a1: Download complete 05:13:27 1e910a182e73: Verifying Checksum 05:13:27 1e910a182e73: Download complete 05:13:27 df20fa9351a1: Pull complete 05:13:28 ed8968b2872e: Pull complete 05:13:28 a92cc7c5fd73: Pull complete 05:13:30 4e634b169226: Verifying Checksum 05:13:30 4e634b169226: Download complete 05:13:30 e871e8e8d7a9: Verifying Checksum 05:13:30 e871e8e8d7a9: Download complete 05:13:36 e871e8e8d7a9: Pull complete 05:13:36 e73272ec9a57: Pull complete 05:13:36 1e910a182e73: Pull complete 05:13:38 Removing intermediate container cc3170b0db06 05:13:38 ---> 41d517111b23 05:13:38 Successfully built 41d517111b23 05:13:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:13:38 + docker inspect -f . ci-base-image-arm64 05:13:38 . [Pipeline] withDockerContainer 05:13:39 prd-ubuntu18.04-docker-arm64-4c-16g-2140 does not seem to be running inside a container 05:13:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-arm64 cat 05:13:40 $ docker top eda218f50675b70f411d9cd4638a0681693c375d371cce339bd6472f62cd1deb -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:42 + go version 05:13:42 go version go1.15.2 linux/arm64 [Pipeline] } 05:13:42 $ docker stop --time=1 eda218f50675b70f411d9cd4638a0681693c375d371cce339bd6472f62cd1deb 05:13:42 4e634b169226: Pull complete 05:13:42 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:13:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:13:42 ---> f7629b54cfaa 05:13:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:13:42 ---> Running in 815ba04a946c 05:13:42 Removing intermediate container 815ba04a946c 05:13:42 ---> 6c1275692f30 05:13:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:42 ---> Running in 155cdad13d3a 05:13:44 $ docker rm -f eda218f50675b70f411d9cd4638a0681693c375d371cce339bd6472f62cd1deb 05:13:44 Removing intermediate container 155cdad13d3a 05:13:44 ---> 1395f17e2822 05:13:44 Step 5/8 : RUN apk add --no-cache make git 05:13:44 ---> Running in 16381fbd567f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 05:13:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:13:45 + docker inspect -f . ci-base-image-arm64 05:13:45 . [Pipeline] withDockerContainer 05:13:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:13:45 prd-ubuntu18.04-docker-arm64-4c-16g-2140 does not seem to be running inside a container 05:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-arm64 cat 05:13:46 OK: 166 MiB in 39 packages 05:13:46 Removing intermediate container 16381fbd567f 05:13:46 ---> 0efa5c9bc260 05:13:46 Step 6/8 : WORKDIR /device-sdk-go 05:13:46 ---> Running in eea99e4ab1a3 05:13:46 Removing intermediate container eea99e4ab1a3 05:13:46 ---> 2cb066f7505d 05:13:46 Step 7/8 : COPY . . 05:13:47 $ docker top 1c4449139f2af3a3ee96b80acf085c707fb9a4cba0fbd7f6578ee0d6125379f1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:48 ---> 3efb2211e7a2 05:13:48 Step 8/8 : RUN go mod download 05:13:48 ---> Running in 51063ce48703 05:13:48 + make test 05:13:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:14:06 Removing intermediate container 51063ce48703 05:14:06 ---> 33bde1bc94bf 05:14:06 Successfully built 33bde1bc94bf 05:14:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:14:06 + docker inspect -f . ci-base-image-x86_64 05:14:06 . [Pipeline] withDockerContainer 05:14:06 prd-centos7-docker-4c-2g-2141 does not seem to be running inside a container 05:14:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-x86_64 cat 05:14:07 $ docker top 06a838e0994b812b550cf9aeffe2944daf8a6343180d4d637ca295b3831a630b -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:08 + go version 05:14:08 go version go1.15.2 linux/amd64 [Pipeline] } 05:14:08 $ docker stop --time=1 06a838e0994b812b550cf9aeffe2944daf8a6343180d4d637ca295b3831a630b 05:14:09 $ docker rm -f 06a838e0994b812b550cf9aeffe2944daf8a6343180d4d637ca295b3831a630b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:14:10 + docker inspect -f . ci-base-image-x86_64 05:14:10 . [Pipeline] withDockerContainer 05:14:10 prd-centos7-docker-4c-2g-2141 does not seem to be running inside a container 05:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-x86_64 cat 05:14:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:14:11 $ docker top af2878ac0476342b4cf2533ea6ae244b18187debb7d75218fbda8b0fc6f17515 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:11 + make test 05:14:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:14:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:14:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:14:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:14:33 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:14:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 21.6% of statements 05:14:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.468s coverage: 97.1% of statements 05:14:50 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:14:50 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:14:50 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:14:50 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.108s coverage: 21.6% of statements 05:14:52 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.155s coverage: 97.1% of statements 05:15:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements 05:15:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.063s coverage: 21.9% of statements 05:15:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:15:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.245s coverage: 39.5% of statements 05:15:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:15:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.306s coverage: 65.4% of statements 05:15:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:15:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:15:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:15:06 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:15:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 05:15:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:15:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.308s coverage: 68.9% of statements 05:15:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:15:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:15:06 GO111MODULE=on go vet ./... 05:15:12 gofmt -l . 05:15:12 [ "`gofmt -l .`" = "" ] 05:15:12 ./bin/test-attribution-txt.sh 05:15:12 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:15:13 Stashed 1 file(s) [Pipeline] } 05:15:13 $ docker stop --time=1 af2878ac0476342b4cf2533ea6ae244b18187debb7d75218fbda8b0fc6f17515 05:15:15 $ docker rm -f af2878ac0476342b4cf2533ea6ae244b18187debb7d75218fbda8b0fc6f17515 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:15:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:19 + ls -al . 05:15:19 total 192 05:15:19 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 30 05:15 . 05:15:19 drwxrwxr-x. 4 jenkins jenkins 28 Sep 30 05:13 .. 05:15:19 drwxrwxr-x. 2 jenkins jenkins 64 Sep 30 05:13 bin 05:15:19 -rw-r--r--. 1 jenkins jenkins 111041 Sep 30 05:15 coverage.out 05:15:19 -rw-rw-r--. 1 jenkins jenkins 936 Sep 30 05:13 Dockerfile.build 05:15:19 -rw-rw-r--. 1 jenkins jenkins 140 Sep 30 05:13 .dockerignore 05:15:19 drwxrwxr-x. 4 jenkins jenkins 48 Sep 30 05:13 example 05:15:19 drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 05:13 .git 05:15:19 drwxrwxr-x. 2 jenkins jenkins 60 Sep 30 05:13 .github 05:15:19 -rw-rw-r--. 1 jenkins jenkins 138 Sep 30 05:13 .gitignore 05:15:19 -rw-r--r--. 1 jenkins jenkins 517 Sep 30 05:15 go.mod 05:15:19 -rw-r--r--. 1 jenkins jenkins 13464 Sep 30 05:15 go.sum 05:15:19 drwxrwxr-x. 15 jenkins jenkins 211 Sep 30 05:13 internal 05:15:19 -rw-rw-r--. 1 jenkins jenkins 785 Sep 30 05:13 Jenkinsfile 05:15:19 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 30 05:13 LICENSE 05:15:19 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 30 05:13 Makefile 05:15:19 drwxrwxr-x. 4 jenkins jenkins 26 Sep 30 05:13 openapi 05:15:19 drwxrwxr-x. 5 jenkins jenkins 50 Sep 30 05:13 pkg 05:15:19 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 30 05:13 README.md 05:15:19 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 30 05:13 RELEASE-NOTES.txt 05:15:19 drwxrwxr-x. 3 jenkins jenkins 58 Sep 30 05:13 .semver 05:15:19 drwxrwxr-x. 4 jenkins jenkins 54 Sep 30 05:13 snap 05:15:19 -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 05:10 VERSION 05:15:19 -rw-rw-r--. 1 jenkins jenkins 222 Sep 30 05:13 version.go [Pipeline] isUnix [Pipeline] sh 05:15:19 + 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=fa7ee706912a0374fffe18411a0469524eb76af6 --label arch=amd64 --label version=0.0.0 . 05:15:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.163s coverage: 9.4% of statements 05:15:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.122s coverage: 21.9% of statements 05:15:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:15:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.592s coverage: 39.5% of statements 05:15:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:15:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.770s coverage: 65.4% of statements 05:15:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:15:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:15:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:15:19 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:15:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.170s coverage: 52.6% of statements 05:15:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:15:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.866s coverage: 68.9% of statements 05:15:19 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:15:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:15:19 Sending build context to Docker daemon 3.581MB 05:15:19 Step 1/24 : ARG BASE=golang:1.15-alpine 05:15:19 Step 2/24 : FROM ${BASE} AS builder 05:15:19 ---> 33bde1bc94bf 05:15:19 Step 3/24 : ARG MAKE='make build' 05:15:19 GO111MODULE=on go vet ./... 05:15:20 ---> Running in 467ebf94de9a 05:15:20 Removing intermediate container 467ebf94de9a 05:15:20 ---> f12403237577 05:15:20 Step 4/24 : WORKDIR /device-sdk-go 05:15:20 ---> Running in 0ac2cba0d9d4 05:15:20 Removing intermediate container 0ac2cba0d9d4 05:15:20 ---> 0d3c0a609b3a 05:15:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:15:20 ---> Running in 06dd6ab1f87f 05:15:20 Removing intermediate container 06dd6ab1f87f 05:15:20 ---> b9439220b863 05:15:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:15:21 ---> Running in 875cab6098e9 05:15:22 Removing intermediate container 875cab6098e9 05:15:22 ---> 7743036ccefd 05:15:22 Step 7/24 : RUN apk add --update --no-cache make git 05:15:22 ---> Running in 74b3386210e9 05:15:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:15:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:15:23 OK: 166 MiB in 39 packages 05:15:23 Removing intermediate container 74b3386210e9 05:15:23 ---> 4bf110e94f71 05:15:23 Step 8/24 : COPY . . 05:15:25 ---> d9be839aa376 05:15:25 Step 9/24 : RUN ${MAKE} 05:15:25 ---> Running in 48c56ad3fa85 05:15:25 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 05:15:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:15:36 Removing intermediate container 48c56ad3fa85 05:15:36 ---> be2d2abde629 05:15:36 Step 10/24 : FROM scratch 05:15:36 ---> 05:15:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:15:36 ---> Running in 3f6aa7e09cf8 05:15:36 Removing intermediate container 3f6aa7e09cf8 05:15:36 ---> 232660fb6a4d 05:15:36 Step 12/24 : ENV APP_PORT=49990 05:15:36 ---> Running in 57b516673162 05:15:36 Removing intermediate container 57b516673162 05:15:36 ---> 1dbd8471b193 05:15:36 Step 13/24 : EXPOSE $APP_PORT 05:15:36 ---> Running in 4ff616ea639a 05:15:36 Removing intermediate container 4ff616ea639a 05:15:36 ---> 621046995226 05:15:36 Step 14/24 : WORKDIR / 05:15:36 ---> Running in 96950001924c 05:15:36 Removing intermediate container 96950001924c 05:15:36 ---> fc6375192d98 05:15:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:15:37 ---> 4e8b1e3547a1 05:15:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:15:37 ---> cca9b2ce033a 05:15:37 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:15:37 ---> 4ccc0a264596 05:15:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:15:37 ---> 6ed95a125d15 05:15:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:15:38 ---> f0172dff4982 05:15:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:15:38 ---> Running in 9fcd54512dd3 05:15:38 Removing intermediate container 9fcd54512dd3 05:15:38 ---> 4427b090d008 05:15:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:15:38 ---> Running in 15726712b3b8 05:15:38 Removing intermediate container 15726712b3b8 05:15:38 ---> b9bf9e0c3b92 05:15:38 Step 22/24 : LABEL arch=amd64 05:15:38 ---> Running in 10c512d3907d 05:15:38 Removing intermediate container 10c512d3907d 05:15:38 ---> 68afc146d008 05:15:38 Step 23/24 : LABEL git_sha=fa7ee706912a0374fffe18411a0469524eb76af6 05:15:38 ---> Running in 99adfe1ef1e0 05:15:38 Removing intermediate container 99adfe1ef1e0 05:15:38 ---> 482f8cc5a482 05:15:38 Step 24/24 : LABEL version=0.0.0 05:15:39 ---> Running in a59040d41079 05:15:39 Removing intermediate container a59040d41079 05:15:39 ---> e8b64e7a2f59 05:15:39 [Warning] One or more build-args [ARCH] were not consumed 05:15:39 Successfully built e8b64e7a2f59 05:15:39 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] } 05:15:52 gofmt -l . 05:15:52 [ "`gofmt -l .`" = "" ] 05:15:52 ./bin/test-attribution-txt.sh 05:15:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:15:52 Warning: overwriting stash ‘coverage-report’ 05:15:53 Stashed 1 file(s) [Pipeline] } 05:15:53 $ docker stop --time=1 1c4449139f2af3a3ee96b80acf085c707fb9a4cba0fbd7f6578ee0d6125379f1 05:15:55 $ docker rm -f 1c4449139f2af3a3ee96b80acf085c707fb9a4cba0fbd7f6578ee0d6125379f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:57 + ls -al . 05:15:57 total 232 05:15:57 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 05:15 . 05:15:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:12 .. 05:15:57 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 05:12 .dockerignore 05:15:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 05:12 .git 05:15:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 05:12 .github 05:15:57 -rw-rw-r-- 1 jenkins jenkins 138 Sep 30 05:12 .gitignore 05:15:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 05:12 .semver 05:15:57 -rw-rw-r-- 1 jenkins jenkins 936 Sep 30 05:12 Dockerfile.build 05:15:57 -rw-rw-r-- 1 jenkins jenkins 785 Sep 30 05:12 Jenkinsfile 05:15:57 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 05:12 LICENSE 05:15:57 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 30 05:12 Makefile 05:15:57 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 30 05:12 README.md 05:15:57 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 30 05:12 RELEASE-NOTES.txt 05:15:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 05:10 VERSION 05:15:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 05:12 bin 05:15:57 -rw-r--r-- 1 jenkins jenkins 111041 Sep 30 05:15 coverage.out 05:15:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:12 example 05:15:57 -rw-r--r-- 1 jenkins jenkins 517 Sep 30 05:15 go.mod 05:15:57 -rw-r--r-- 1 jenkins jenkins 13464 Sep 30 05:15 go.sum 05:15:57 drwxrwxr-x 15 jenkins jenkins 4096 Sep 30 05:12 internal 05:15:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:12 openapi 05:15:57 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 05:12 pkg 05:15:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:12 snap 05:15:57 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 05:12 version.go [Pipeline] isUnix [Pipeline] sh 05:15:57 + 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=fa7ee706912a0374fffe18411a0469524eb76af6 --label arch=arm64 --label version=0.0.0 . 05:15:58 Sending build context to Docker daemon 3.581MB 05:15:58 Step 1/24 : ARG BASE=golang:1.15-alpine 05:15:58 Step 2/24 : FROM ${BASE} AS builder 05:15:58 ---> 41d517111b23 05:15:58 Step 3/24 : ARG MAKE='make build' 05:15:58 ---> Running in 861f57caf9ee 05:15:58 Removing intermediate container 861f57caf9ee 05:15:58 ---> 5bccaddc9447 05:15:58 Step 4/24 : WORKDIR /device-sdk-go 05:15:59 ---> Running in e25802a7aadb 05:15:59 Removing intermediate container e25802a7aadb 05:15:59 ---> 84f26e724780 05:15:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:15:59 ---> Running in 1b27c5e1721c 05:16:00 Removing intermediate container 1b27c5e1721c 05:16:00 ---> 5d78a45b9be9 05:16:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:00 ---> Running in 0105a84d762c 05:16:02 Removing intermediate container 0105a84d762c 05:16:02 ---> f9b9a8a5b572 05:16:02 Step 7/24 : RUN apk add --update --no-cache make git 05:16:02 ---> Running in fbf519dbd0aa 05:16:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:16:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:16:05 OK: 142 MiB in 39 packages 05:16:06 Removing intermediate container fbf519dbd0aa 05:16:06 ---> e3cafa98d2cd 05:16:06 Step 8/24 : COPY . . 05:16:08 ---> e2f1f0e73991 05:16:08 Step 9/24 : RUN ${MAKE} 05:16:08 ---> Running in 438dbc83f3fa 05:16:10 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 05:16:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:16:35 Removing intermediate container 438dbc83f3fa 05:16:35 ---> 68a875780f8a 05:16:35 Step 10/24 : FROM scratch 05:16:35 ---> 05:16:35 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:16:35 ---> Running in cd043497462e 05:16:35 Removing intermediate container cd043497462e 05:16:35 ---> 05243de821e0 05:16:35 Step 12/24 : ENV APP_PORT=49990 05:16:35 ---> Running in 9dc4c95e62af 05:16:36 Removing intermediate container 9dc4c95e62af 05:16:36 ---> eff3c630ba91 05:16:36 Step 13/24 : EXPOSE $APP_PORT 05:16:36 ---> Running in 2e40725f25f4 05:16:36 Removing intermediate container 2e40725f25f4 05:16:36 ---> 4d87a7b74710 05:16:36 Step 14/24 : WORKDIR / 05:16:36 ---> Running in aa1d3e41a482 05:16:37 Removing intermediate container aa1d3e41a482 05:16:37 ---> 4cab2cfedb10 05:16:37 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:16:38 ---> 093e4777beee 05:16:38 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:16:39 ---> 42205c2c0dbc 05:16:39 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:16:39 ---> 744fc58491a4 05:16:39 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:16:40 ---> 72eb9f356cd7 05:16:40 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:16:40 ---> d8985e067630 05:16:40 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:16:41 ---> Running in a92acaec1196 05:16:41 Removing intermediate container a92acaec1196 05:16:41 ---> dee461960530 05:16:41 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:16:41 ---> Running in a44b15101cd4 05:16:42 Removing intermediate container a44b15101cd4 05:16:42 ---> 312cbbe532f4 05:16:42 Step 22/24 : LABEL arch=arm64 05:16:42 ---> Running in 55e4df4290ca 05:16:42 Removing intermediate container 55e4df4290ca 05:16:42 ---> 814712413b29 05:16:42 Step 23/24 : LABEL git_sha=fa7ee706912a0374fffe18411a0469524eb76af6 05:16:42 ---> Running in bad23bf34bd7 05:16:43 Removing intermediate container bad23bf34bd7 05:16:43 ---> a04dd960e3d8 05:16:43 Step 24/24 : LABEL version=0.0.0 05:16:43 ---> Running in ccb482076b9a 05:16:44 Removing intermediate container ccb482076b9a 05:16:44 ---> 196e1ea7c32a 05:16:44 [Warning] One or more build-args [ARCH] were not consumed 05:16:44 Successfully built 196e1ea7c32a 05:16:44 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 05:16:45 provisioning config files... 05:16:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config205263019756757480tmp [Pipeline] { [Pipeline] sh 05:16:46 + set +x 05:16:46 + curl -s https://codecov.io/bash 05:16:46 + bash -s -- 05:16:46 05:16:46 _____ _ 05:16:46 / ____| | | 05:16:46 | | ___ __| | ___ ___ _____ __ 05:16:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:16:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:16:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:16:46 Bash-20200917-4e8f14b 05:16:46 05:16:46 05:16:46 ==> Jenkins CI detected. 05:16:46 project root: . 05:16:46 --> token set from env 05:16:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:16:46 ==> Running gcov in . (disable via -X gcov) 05:16:46 ==> Python coveragepy not found 05:16:46 ==> Searching for coverage reports in: 05:16:46 + . 05:16:46 -> Found 1 reports 05:16:46 ==> Detecting git/mercurial file structure 05:16:46 ==> Reading reports 05:16:46 + ./coverage.out bytes=111041 05:16:46 ==> Appending adjustments 05:16:46 https://docs.codecov.io/docs/fixing-reports 05:16:47 + Found adjustments 05:16:47 ==> Gzipping contents 05:16:47 ==> Uploading reports 05:16:47 url: https://codecov.io 05:16:47 query: branch=PR-602&commit=fa7ee706912a0374fffe18411a0469524eb76af6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= 05:16:47 -> Pinging Codecov 05:16:47 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-602&commit=fa7ee706912a0374fffe18411a0469524eb76af6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= 05:16:47 -> Uploading to 05:16:47 https://storage.googleapis.com/codecov/v4/raw/2020-09-30/7E55EF52A471D76F132DFD9A03CDDE97/fa7ee706912a0374fffe18411a0469524eb76af6/48eee55a-3e3e-4f17-b1c5-b86f4d1089bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200930T051647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10124b1f1f24af40dd2c76a8b0b3d75eed98ce844eb13ee6f04512a0af78ff99 05:16:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:47 Dload Upload Total Spent Left Speed 05:16:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18310 0 0 100 18310 0 44549 --:--:-- --:--:-- --:--:-- 44658 05:16:48 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fa7ee706912a0374fffe18411a0469524eb76af6 [Pipeline] } 05:16:48 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 05:16:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:16:51 ---> package-listing.sh 05:16:51 ++ facter osfamily 05:16:51 ++ tr '[:upper:]' '[:lower:]' 05:16:51 + OS_FAMILY=redhat 05:16:51 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-602 05:16:51 + START_PACKAGES=/tmp/packages_start.txt 05:16:51 + END_PACKAGES=/tmp/packages_end.txt 05:16:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:16:51 + PACKAGES=/tmp/packages_start.txt 05:16:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' 05:16:51 + PACKAGES=/tmp/packages_end.txt 05:16:51 + case "${OS_FAMILY}" in 05:16:51 + rpm -qa 05:16:51 + sort 05:16:55 + '[' -f /tmp/packages_start.txt ']' 05:16:55 + '[' -f /tmp/packages_end.txt ']' 05:16:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:16:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' 05:16:55 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ 05:16:55 + 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 05:16:57 provisioning config files... 05:16:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config3917840437350523162tmp [Pipeline] { [Pipeline] echo 05:16:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:16:57 ---> create-netrc.sh [Pipeline] } 05:16:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:16:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:16:58 ---> python-tools-install.sh 05:16:58 Generating Requirements File 05:18:19 Python 3.6.8 05:18:19 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 05:18:19 aiohttp==3.6.2 05:18:19 appdirs==1.4.3 05:18:19 argcomplete==1.12.1 05:18:19 aspy.yaml==1.3.0 05:18:19 async-timeout==3.0.1 05:18:19 attrs==19.3.0 05:18:19 Babel==2.8.0 05:18:19 beautifulsoup4==4.8.2 05:18:19 boto3==1.11.6 05:18:19 botocore==1.14.6 05:18:19 bs4==0.0.1 05:18:19 cachetools==4.1.1 05:18:19 certifi==2019.11.28 05:18:19 cffi==1.14.3 05:18:19 cfgv==2.0.1 05:18:19 chardet==3.0.4 05:18:19 click==7.1 05:18:19 cliff==3.4.0 05:18:19 cmd2==1.3.10 05:18:19 colorama==0.4.3 05:18:19 cryptography==3.1.1 05:18:19 debtcollector==2.2.0 05:18:19 decorator==4.4.2 05:18:19 defusedxml==0.6.0 05:18:19 Deprecated==1.2.7 05:18:19 distlib==0.3.1 05:18:19 distro==1.2.0 05:18:19 dnspython==1.16.0 05:18:19 docker==4.2.0 05:18:19 docutils==0.15.2 05:18:19 dogpile.cache==1.0.2 05:18:19 email-validator==1.0.5 05:18:19 filelock==3.0.12 05:18:19 future==0.18.2 05:18:19 google-auth==1.22.0 05:18:19 httplib2==0.17.0 05:18:19 identify==1.4.11 05:18:19 idna==2.9 05:18:19 idna-ssl==1.1.0 05:18:19 importlib-metadata==1.7.0 05:18:19 importlib-resources==1.5.0 05:18:19 iso8601==0.1.13 05:18:19 Jinja2==2.11.1 05:18:19 jmespath==0.10.0 05:18:19 jsonpatch==1.26 05:18:19 jsonpointer==2.0 05:18:19 jsonschema==3.2.0 05:18:19 keystoneauth1==4.2.1 05:18:19 kubernetes==11.0.0 05:18:19 lftools==0.34.2 05:18:19 lxml==4.5.0 05:18:19 MarkupSafe==0.23 05:18:19 msgpack==1.0.0 05:18:19 multi-key-dict==2.0.3 05:18:19 multidict==4.7.6 05:18:19 munch==2.5.0 05:18:19 netaddr==0.8.0 05:18:19 netifaces==0.10.9 05:18:19 niet==1.4.2 05:18:19 nodeenv==1.3.5 05:18:19 oauth2client==4.1.3 05:18:19 oauthlib==3.1.0 05:18:19 openstacksdk==0.50.0 05:18:19 os-client-config==2.1.0 05:18:19 os-service-types==1.7.0 05:18:19 osc-lib==2.2.1 05:18:19 oslo.config==8.3.2 05:18:19 oslo.context==3.1.1 05:18:19 oslo.i18n==5.0.1 05:18:19 oslo.log==4.4.0 05:18:19 oslo.serialization==4.0.1 05:18:19 oslo.utils==4.6.0 05:18:19 packaging==20.4 05:18:19 pbr==5.4.4 05:18:19 pluggy==0.13.1 05:18:19 prettytable==0.7.2 05:18:19 py==1.9.0 05:18:19 pyasn1==0.4.8 05:18:19 pyasn1-modules==0.2.8 05:18:19 pycparser==2.20 05:18:19 pygerrit2==2.0.10 05:18:19 PyGithub==1.46 05:18:19 pyinotify==0.9.6 05:18:19 PyJWT==1.7.1 05:18:19 pyparsing==2.4.7 05:18:19 pyperclip==1.8.0 05:18:19 pyroute2==0.4.13 05:18:19 pyrsistent==0.15.7 05:18:19 PySocks==1.6.8 05:18:19 python-cinderclient==7.2.0 05:18:19 python-dateutil==2.8.1 05:18:19 python-heatclient==2.2.1 05:18:19 python-jenkins==1.7.0 05:18:19 python-keystoneclient==4.1.1 05:18:19 python-magnumclient==3.2.1 05:18:19 python-novaclient==17.2.1 05:18:19 python-openstackclient==5.3.1 05:18:19 python-swiftclient==3.10.1 05:18:19 pytz==2020.1 05:18:19 PyYAML==5.3 05:18:19 requests==2.23.0 05:18:19 requests-oauthlib==1.3.0 05:18:19 requestsexceptions==1.4.0 05:18:19 rfc3986==1.4.0 05:18:19 rpm==4.11.3 05:18:19 rsa==4.0 05:18:19 ruamel.yaml==0.16.10 05:18:19 ruamel.yaml.clib==0.2.0 05:18:19 s3transfer==0.3.3 05:18:19 shade==1.27.2 05:18:19 simplejson==3.17.2 05:18:19 six==1.14.0 05:18:19 soupsieve==2.0 05:18:19 stevedore==3.2.2 05:18:19 tabulate==0.8.6 05:18:19 toml==0.10.0 05:18:19 tox==3.20.0 05:18:19 tqdm==4.43.0 05:18:19 typing-extensions==3.7.4.3 05:18:19 urllib3==1.25.8 05:18:19 virtualenv==20.0.31 05:18:19 wcwidth==0.2.5 05:18:19 websocket-client==0.57.0 05:18:19 wrapt==1.12.1 05:18:19 xdg==3.0.2 05:18:19 xmltodict==0.12.0 05:18:19 yarl==1.6.0 05:18:19 yq==2.11.1 05:18:19 zipp==3.2.0 05:18:19 Cache entry deserialization failed, entry ignored 05:18:19 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. 05:18:19 Python 2.7.5 05:18:19 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 05:18:19 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. 05:18:19 ansible==2.9.7 05:18:19 Babel==0.9.6 05:18:19 backports.ssl-match-hostname==3.5.0.1 05:18:19 beautifulsoup4==4.4.1 05:18:19 bodhi==2.11.0 05:18:19 bodhi-client==2.11.0 05:18:19 CCColUtils==1.4 05:18:19 cffi==1.6.0 05:18:19 chardet==2.2.1 05:18:19 click==6.7 05:18:19 cloud-init==18.5 05:18:19 configobj==4.7.2 05:18:19 cryptography==1.7.2 05:18:19 decorator==3.4.0 05:18:19 distro==1.2.0 05:18:19 enum34==1.0.4 05:18:19 fedpkg==1.38 05:18:19 futures==3.1.1 05:18:19 gitdb==0.6.4 05:18:19 GitPython==1.0.1 05:18:19 html5lib==0.999 05:18:19 httplib2==0.9.2 05:18:19 idna==2.4 05:18:19 iniparse==0.4 05:18:19 ipaddress==1.0.16 05:18:19 IPy==0.75 05:18:19 javapackages==1.0.0 05:18:19 Jinja2==2.7.2 05:18:19 jmespath==0.9.4 05:18:19 jsonpatch==1.2 05:18:19 jsonpointer==1.9 05:18:19 kerberos==1.1 05:18:19 kitchen==1.1.1 05:18:19 langtable==0.0.31 05:18:19 lockfile==0.9.1 05:18:19 lxml==3.2.1 05:18:19 MarkupSafe==0.11 05:18:19 munch==2.0.2 05:18:19 offtrac==0.1.0 05:18:19 openidc-client==0.6.0 05:18:19 packagedb-cli==2.14.1 05:18:19 paramiko==2.1.1 05:18:19 perf==0.1 05:18:19 ply==3.4 05:18:19 policycoreutils-default-encoding==0.1 05:18:19 prettytable==0.7.2 05:18:19 pyasn1==0.1.9 05:18:19 pycparser==2.14 05:18:19 pycurl==7.19.0 05:18:19 pygobject==3.22.0 05:18:19 pygpgme==0.3 05:18:19 pyliblzma==0.5.3 05:18:19 pyOpenSSL==0.13.1 05:18:19 pyparsing==1.5.6 05:18:19 pyserial==2.6 05:18:19 python-augeas==0.5.0 05:18:19 python-bugzilla==2.3.0 05:18:19 python-dateutil==1.5 05:18:19 python-fedora==0.10.0 05:18:19 python-linux-procfs==0.4.9 05:18:19 python-yubico==1.2.3 05:18:19 pyudev==0.15 05:18:19 pyusb==1.0.0b1 05:18:19 pyxattr==0.5.1 05:18:19 PyYAML==3.10 05:18:19 requests==2.6.0 05:18:19 requests-kerberos==0.7.0 05:18:19 rpkg==1.60 05:18:19 schedutils==0.4 05:18:19 seobject==0.1 05:18:19 sepolicy==1.1 05:18:19 six==1.9.0 05:18:19 smmap==0.9.0 05:18:19 urlgrabber==3.10 05:18:19 urllib3==1.10.2 05:18:19 virtualenv==15.1.0 05:18:19 yum-langpacks==0.4.2 05:18:19 yum-metadata-parser==1.1.4 [Pipeline] echo 05:18:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:18:20 ---> sudo-logs.sh 05:18:20 Archiving 'sudo' log.. [Pipeline] echo 05:18:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:18:20 ---> job-cost.sh 05:18:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iJIA 05:18:32 Cache entry deserialization failed, entry ignored 05:18:32 Cache entry deserialization failed, entry ignored 05:18:32 Cache entry deserialization failed, entry ignored 05:18:32 Cache entry deserialization failed, entry ignored 05:18:32 Cache entry deserialization failed, entry ignored 05:18:32 Cache entry deserialization failed, entry ignored 05:18:32 Cache entry deserialization failed, entry ignored 05:18:32 Cache entry deserialization failed, entry ignored 05:18:32 Cache entry deserialization failed, entry ignored 05:18:33 Cache entry deserialization failed, entry ignored 05:18:33 Cache entry deserialization failed, entry ignored 05:18:33 Cache entry deserialization failed, entry ignored 05:18:33 Cache entry deserialization failed, entry ignored 05:18:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:19:03 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. 05:19:03 05:19:03 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 05:19:03 05:19:03 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. 05:19:03 lf-activate-venv(): INFO: Adding /tmp/venv-iJIA/bin to PATH 05:19:03 INFO: No Stack... 05:19:03 INFO: Retrieving Pricing Info for: v1-standard-2 05:19:03 INFO: Archiving Costs [Pipeline] echo 05:19:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:19:04 ---> logs-deploy.sh 05:19:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-602/5 05:19:04 INFO: archiving workspace using pattern(s): 05:19:06 Archives upload complete. 05:19:07 INFO: archiving logs to Nexus