Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708+5d943473fe8cb7b2263b29163a15a9eda06ca963 (2b8f60db2830f3106f929c20b65abf3376495f99) 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2945 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 Merge succeeded, producing bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 Checking out Revision bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 (PR-582) > git config core.sparsecheckout # timeout=10 > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:19:09 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:19:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:19:10 ========================================================= 02:19:10 EdgeX Global Pipelines Version Info 02:19:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:19:11 ------------------- 02:19:11 stable info: 02:19:11 ------------------- 02:19:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:19:11 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:19:11 Message: update stable to v1.0.131 02:19:13 ------------------- 02:19:13 experimental info: 02:19:13 ------------------- 02:19:13 Commited By: Emilio Reyes emilio.reyes@intel.com 02:19:13 Commit SHA: 037048ec40675a742bbe4f4e63335516fc22ae8d 02:19:13 Message: update experimental to v1.0.133 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:19:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:19:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:19:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 02:19:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 02:19:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 02:19:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [Pipeline] echo 02:19:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdbfb1d [Pipeline] echo 02:19:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:19:18 + git log --format=format:%s -1 bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [Pipeline] echo 02:19:18 GIT_COMMIT: bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo 02:19:18 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:19:19 02:19:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:19:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:19:19 latest: Pulling from edgex-devops/git-semver 02:19:19 31603596830f: Pulling fs layer 02:19:19 2a8b12db71e7: Pulling fs layer 02:19:19 6ca5941a6612: Pulling fs layer 02:19:19 ecc8261a40a4: Pulling fs layer 02:19:19 ecc8261a40a4: Waiting 02:19:19 2a8b12db71e7: Download complete 02:19:21 31603596830f: Verifying Checksum 02:19:21 31603596830f: Download complete 02:19:21 31603596830f: Pull complete 02:19:21 2a8b12db71e7: Pull complete 02:19:21 ecc8261a40a4: Verifying Checksum 02:19:21 ecc8261a40a4: Download complete 02:19:25 6ca5941a6612: Verifying Checksum 02:19:25 6ca5941a6612: Download complete 02:19:25 6ca5941a6612: Pull complete 02:19:26 ecc8261a40a4: Pull complete 02:19:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:19:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:19:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:19:26 prd-centos7-docker-4c-2g-2945 does not seem to be running inside a container 02:19:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:19:28 $ docker top 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:19:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:19:28 [ssh-agent] Looking for ssh-agent implementation... 02:19:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:19:28 $ docker exec 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf ssh-agent 02:19:28 SSH_AUTH_SOCK=/tmp/ssh-Ob0slIW4jjtg/agent.13 02:19:28 SSH_AGENT_PID=18 02:19:28 Running ssh-add (command line suppressed) 02:19:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4443097593498615176.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4443097593498615176.key) 02:19:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:19:29 + git describe --exact-match --tags HEAD 02:19:29 fatal: no tag exactly matches 'bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708' [Pipeline] } 02:19:29 $ docker exec --env ******** --env ******** 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf ssh-agent -k 02:19:29 unset SSH_AUTH_SOCK; 02:19:29 unset SSH_AGENT_PID; 02:19:29 echo Agent pid 18 killed; 02:19:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:19:29 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:19:29 This usually means this commit has not been tagged. [Pipeline] sshagent 02:19:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:19:29 [ssh-agent] Looking for ssh-agent implementation... 02:19:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:19:30 $ docker exec 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf ssh-agent 02:19:30 SSH_AUTH_SOCK=/tmp/ssh-tUfW2xsZiDNo/agent.49 02:19:30 SSH_AGENT_PID=54 02:19:30 Running ssh-add (command line suppressed) 02:19:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1759014467466778005.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1759014467466778005.key) 02:19:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:19:30 + git semver init 02:19:30 # -> Open(): unable to determine branch for HEAD 02:19:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 02:19:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 02:19:30 # $SEMVER_REMOTE_NAME = origin 02:19:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:19:30 # $SEMVER_USER_NAME = edgex-jenkins 02:19:30 # $SEMVER_BRANCH = PR-582 02:19:30 # $SEMVER_TEMP = /tmp/semver-862543231 02:19:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:19:32 # '/tmp/semver-862543231' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 02:19:32 # -> Force: false 02:19:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 02:19:32 $ docker exec --env ******** --env ******** 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf ssh-agent -k 02:19:32 unset SSH_AUTH_SOCK; 02:19:32 unset SSH_AGENT_PID; 02:19:32 echo Agent pid 54 killed; 02:19:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:19:32 + git semver [Pipeline] } 02:19:32 $ docker stop --time=1 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf 02:19:34 $ docker rm -f 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:19:35 Stashed 40 file(s) [Pipeline] echo 02:19:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:19:35 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 02:19:50 Still waiting to schedule task 02:19:50 ‘prd-centos7-docker-4c-2g-2939’ is offline; ‘prd-centos7-docker-4c-2g-2942’ is offline; ‘prd-centos7-docker-4c-2g-2943’ is offline; ‘prd-centos7-docker-4c-2g-2944’ is offline; ‘prd-centos7-docker-4c-2g-2948’ is offline; ‘prd-centos7-docker-4c-2g-2949’ is offline 02:19:50 Still waiting to schedule task 02:19:50 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2936’ 02:22:01 Running on prd-centos7-docker-4c-2g-2951 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 02:22:01 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 02:22:04 using credential edgex-jenkins-ssh 02:22:04 Cloning the remote Git repository 02:22:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:22:04 > git init /w/workspace/device-sdk-go/13 # timeout=10 02:22:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:22:04 > git --version # timeout=10 02:22:04 > git --version # 'git version 2.16.5' 02:22:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:22:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:22:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:22:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:22:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:22:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:22:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:22:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:22:07 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 02:22:08 Merge succeeded, producing bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 02:22:08 Checking out Revision bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 (PR-582) 02:22:07 > git config core.sparsecheckout # timeout=10 02:22:07 > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 02:22:08 > git remote # timeout=10 02:22:08 > git config --get remote.origin.url # timeout=10 02:22:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:22:08 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 02:22:08 > git rev-parse HEAD^{commit} # timeout=10 02:22:08 > git config core.sparsecheckout # timeout=10 02:22:08 > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 02:22:11 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:22:13 ========================================================= 02:22:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:22:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:22:13 + 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 . 02:22:13 Sending build context to Docker daemon 3.419MB 02:22:14 Step 1/8 : ARG BASE=golang:1.15-alpine 02:22:14 Step 2/8 : FROM ${BASE} 02:22:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:22:14 df20fa9351a1: Pulling fs layer 02:22:14 ed8968b2872e: Pulling fs layer 02:22:14 a92cc7c5fd73: Pulling fs layer 02:22:14 e871e8e8d7a9: Pulling fs layer 02:22:14 e73272ec9a57: Pulling fs layer 02:22:14 1e910a182e73: Pulling fs layer 02:22:14 4e634b169226: Pulling fs layer 02:22:14 e871e8e8d7a9: Waiting 02:22:14 1e910a182e73: Waiting 02:22:14 e73272ec9a57: Waiting 02:22:14 4e634b169226: Waiting 02:22:14 a92cc7c5fd73: Verifying Checksum 02:22:14 a92cc7c5fd73: Download complete 02:22:14 ed8968b2872e: Verifying Checksum 02:22:15 e73272ec9a57: Verifying Checksum 02:22:15 e73272ec9a57: Download complete 02:22:15 1e910a182e73: Download complete 02:22:17 df20fa9351a1: Verifying Checksum 02:22:17 df20fa9351a1: Download complete 02:22:17 df20fa9351a1: Pull complete 02:22:17 ed8968b2872e: Pull complete 02:22:17 a92cc7c5fd73: Pull complete 02:22:44 4e634b169226: Verifying Checksum 02:22:44 4e634b169226: Download complete 02:23:11 e871e8e8d7a9: Verifying Checksum 02:23:11 e871e8e8d7a9: Download complete 02:23:13 e871e8e8d7a9: Pull complete 02:23:13 e73272ec9a57: Pull complete 02:23:13 1e910a182e73: Pull complete 02:23:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2953 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 02:23:17 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 02:23:22 using credential edgex-jenkins-ssh 02:23:22 Cloning the remote Git repository 02:23:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:23:22 > git init /w/workspace/device-sdk-go/13 # timeout=10 02:23:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:23:22 > git --version # timeout=10 02:23:22 > git --version # 'git version 2.17.1' 02:23:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:23 4e634b169226: Pull complete 02:23:24 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:23:24 ---> f7629b54cfaa 02:23:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:23:24 ---> Running in 32e1db013911 02:23:24 Removing intermediate container 32e1db013911 02:23:24 ---> e00dbd727641 02:23:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:23:24 ---> Running in 46e669da78dc 02:23:26 Removing intermediate container 46e669da78dc 02:23:26 ---> bde387aedfb2 02:23:26 Step 5/8 : RUN apk add --no-cache make git 02:23:26 ---> Running in bb97e44efb81 02:23:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:23:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:23:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:23:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:23:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:23:27 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 02:23:27 Merge succeeded, producing bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 02:23:27 Checking out Revision bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 (PR-582) 02:23:27 > git config core.sparsecheckout # timeout=10 02:23:27 > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 02:23:27 > git remote # timeout=10 02:23:27 > git config --get remote.origin.url # timeout=10 02:23:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:27 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 02:23:27 > git rev-parse HEAD^{commit} # timeout=10 02:23:27 > git config core.sparsecheckout # timeout=10 02:23:27 > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 02:23:32 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:23:33 ========================================================= 02:23:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:23:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:23:34 + 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 . 02:23:35 Sending build context to Docker daemon 3.421MB 02:23:35 Step 1/8 : ARG BASE=golang:1.15-alpine 02:23:35 Step 2/8 : FROM ${BASE} 02:23:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:23:36 b538f80385f9: Pulling fs layer 02:23:36 74f711af9a0d: Pulling fs layer 02:23:36 99f96fe45779: Pulling fs layer 02:23:36 8529a6b9a6be: Pulling fs layer 02:23:36 45590311c82a: Pulling fs layer 02:23:36 69ca0ff8b7b3: Pulling fs layer 02:23:36 209524e5b208: Pulling fs layer 02:23:36 8529a6b9a6be: Waiting 02:23:36 45590311c82a: Waiting 02:23:36 209524e5b208: Waiting 02:23:36 69ca0ff8b7b3: Waiting 02:23:36 99f96fe45779: Download complete 02:23:36 74f711af9a0d: Verifying Checksum 02:23:36 74f711af9a0d: Download complete 02:23:36 45590311c82a: Download complete 02:23:36 69ca0ff8b7b3: Verifying Checksum 02:23:36 69ca0ff8b7b3: Download complete 02:23:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:23:39 b538f80385f9: Verifying Checksum 02:23:39 b538f80385f9: Download complete 02:23:40 b538f80385f9: Pull complete 02:23:40 74f711af9a0d: Pull complete 02:23:41 99f96fe45779: Pull complete 02:23:51 OK: 166 MiB in 39 packages 02:23:51 Removing intermediate container bb97e44efb81 02:23:51 ---> 7b4418c85367 02:23:51 Step 6/8 : WORKDIR /device-sdk-go 02:23:51 ---> Running in fdb10c7873bd 02:23:51 Removing intermediate container fdb10c7873bd 02:23:51 ---> cd6dfb8beb0c 02:23:51 Step 7/8 : COPY . . 02:23:51 ---> 3f9d44a0b1aa 02:23:51 Step 8/8 : RUN go mod download 02:23:51 ---> Running in 1b7be27c9278 02:24:10 Removing intermediate container 1b7be27c9278 02:24:10 ---> 57e72b4c0c76 02:24:10 Successfully built 57e72b4c0c76 02:24:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:24:10 + docker inspect -f . ci-base-image-x86_64 02:24:10 . [Pipeline] withDockerContainer 02:24:10 prd-centos7-docker-4c-2g-2951 does not seem to be running inside a container 02:24:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 ******** ci-base-image-x86_64 cat 02:24:11 $ docker top 600b561822b29a85f5e305081ef5e8ec82e811d9c42a844e103eecc7d89f584b -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:12 + go version 02:24:12 go version go1.15.2 linux/amd64 [Pipeline] } 02:24:12 $ docker stop --time=1 600b561822b29a85f5e305081ef5e8ec82e811d9c42a844e103eecc7d89f584b 02:24:13 $ docker rm -f 600b561822b29a85f5e305081ef5e8ec82e811d9c42a844e103eecc7d89f584b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:24:14 + docker inspect -f . ci-base-image-x86_64 02:24:14 . [Pipeline] withDockerContainer 02:24:14 prd-centos7-docker-4c-2g-2951 does not seem to be running inside a container 02:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 ******** ci-base-image-x86_64 cat 02:24:15 $ docker top 18d0729902ad1fb842456a95b189598bb14446729663de2a3b8209852453a493 -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:15 + make test 02:24:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:24:20 209524e5b208: Verifying Checksum 02:24:20 209524e5b208: Download complete 02:24:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:24:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:24:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:24:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 21.6% of statements 02:24:38 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.428s coverage: 97.1% of statements 02:24:47 8529a6b9a6be: Verifying Checksum 02:24:47 8529a6b9a6be: Download complete 02:24:57 8529a6b9a6be: Pull complete 02:24:57 45590311c82a: Pull complete 02:24:57 69ca0ff8b7b3: Pull complete 02:25:01 209524e5b208: Pull complete 02:25:01 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:25:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:25:01 ---> 5bddaf1c2fca 02:25:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:25:03 ---> Running in 960efaa70702 02:25:04 Removing intermediate container 960efaa70702 02:25:04 ---> 68bf6750d919 02:25:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:04 ---> Running in 32fae3e783e5 02:25:07 Removing intermediate container 32fae3e783e5 02:25:07 ---> 79b0e734fad8 02:25:07 Step 5/8 : RUN apk add --no-cache make git 02:25:07 ---> Running in bbd626f2ad07 02:25:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:25:11 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements 02:25:11 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.077s coverage: 21.9% of statements 02:25:11 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:25:11 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 39.5% of statements 02:25:11 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:25:11 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.293s coverage: 65.4% of statements 02:25:11 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:25:11 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:25:11 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:25:11 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:25:11 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements 02:25:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:25:11 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.350s coverage: 68.9% of statements 02:25:11 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:25:11 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:25:11 GO111MODULE=on go vet ./... 02:25:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:25:16 gofmt -l . 02:25:16 [ "`gofmt -l .`" = "" ] 02:25:16 ./bin/test-attribution-txt.sh 02:25:17 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:25:18 Stashed 1 file(s) [Pipeline] } 02:25:18 $ docker stop --time=1 18d0729902ad1fb842456a95b189598bb14446729663de2a3b8209852453a493 02:25:19 $ docker rm -f 18d0729902ad1fb842456a95b189598bb14446729663de2a3b8209852453a493 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:25:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:25:22 + ls -al . 02:25:22 total 192 02:25:22 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 2 02:25 . 02:25:22 drwxrwxr-x. 4 jenkins jenkins 30 Oct 2 02:22 .. 02:25:22 drwxrwxr-x. 2 jenkins jenkins 64 Oct 2 02:22 bin 02:25:22 -rw-r--r--. 1 jenkins jenkins 111041 Oct 2 02:25 coverage.out 02:25:22 -rw-rw-r--. 1 jenkins jenkins 936 Oct 2 02:22 Dockerfile.build 02:25:22 -rw-rw-r--. 1 jenkins jenkins 140 Oct 2 02:22 .dockerignore 02:25:22 drwxrwxr-x. 4 jenkins jenkins 48 Oct 2 02:22 example 02:25:22 drwxrwxr-x. 8 jenkins jenkins 179 Oct 2 02:22 .git 02:25:22 drwxrwxr-x. 2 jenkins jenkins 60 Oct 2 02:22 .github 02:25:22 -rw-rw-r--. 1 jenkins jenkins 138 Oct 2 02:22 .gitignore 02:25:22 -rw-r--r--. 1 jenkins jenkins 517 Oct 2 02:25 go.mod 02:25:22 -rw-r--r--. 1 jenkins jenkins 13646 Oct 2 02:25 go.sum 02:25:22 drwxrwxr-x. 15 jenkins jenkins 211 Oct 2 02:22 internal 02:25:22 -rw-rw-r--. 1 jenkins jenkins 785 Oct 2 02:22 Jenkinsfile 02:25:22 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 2 02:22 LICENSE 02:25:22 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 2 02:22 Makefile 02:25:22 drwxrwxr-x. 4 jenkins jenkins 26 Oct 2 02:22 openapi 02:25:22 drwxrwxr-x. 5 jenkins jenkins 50 Oct 2 02:22 pkg 02:25:22 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 2 02:22 README.md 02:25:22 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 2 02:22 RELEASE-NOTES.txt 02:25:22 drwxrwxr-x. 3 jenkins jenkins 58 Oct 2 02:22 .semver 02:25:22 drwxrwxr-x. 4 jenkins jenkins 54 Oct 2 02:22 snap 02:25:22 -rw-rw-r--. 1 jenkins jenkins 5 Oct 2 02:19 VERSION 02:25:22 -rw-rw-r--. 1 jenkins jenkins 222 Oct 2 02:22 version.go [Pipeline] isUnix [Pipeline] sh 02:25:22 + 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=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 --label arch=amd64 --label version=0.0.0 . 02:25:23 Sending build context to Docker daemon 3.531MB 02:25:23 Step 1/24 : ARG BASE=golang:1.15-alpine 02:25:23 Step 2/24 : FROM ${BASE} AS builder 02:25:23 ---> 57e72b4c0c76 02:25:23 Step 3/24 : ARG MAKE='make build' 02:25:23 ---> Running in 6fe9c70ecd3c 02:25:23 Removing intermediate container 6fe9c70ecd3c 02:25:23 ---> e403c6a6aba7 02:25:23 Step 4/24 : WORKDIR /device-sdk-go 02:25:23 ---> Running in 75743865f262 02:25:24 Removing intermediate container 75743865f262 02:25:24 ---> 302f30338c85 02:25:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:25:24 ---> Running in 8c9d4bbda599 02:25:24 Removing intermediate container 8c9d4bbda599 02:25:24 ---> cef4f978e247 02:25:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:24 ---> Running in 3e7606ef9c93 02:25:25 Removing intermediate container 3e7606ef9c93 02:25:25 ---> f830d4e1b022 02:25:25 Step 7/24 : RUN apk add --update --no-cache make git 02:25:25 ---> Running in 107aca550fec 02:25:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:25:27 OK: 142 MiB in 39 packages 02:25:28 Removing intermediate container bbd626f2ad07 02:25:28 ---> f1b44da7317b 02:25:28 Step 6/8 : WORKDIR /device-sdk-go 02:25:28 ---> Running in fa859f09a92e 02:25:29 Removing intermediate container fa859f09a92e 02:25:29 ---> e14126547560 02:25:29 Step 7/8 : COPY . . 02:25:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:25:30 ---> 996d5b43362a 02:25:30 Step 8/8 : RUN go mod download 02:25:30 ---> Running in 9bfb4a01a29c 02:25:45 OK: 166 MiB in 39 packages 02:25:45 Removing intermediate container 107aca550fec 02:25:45 ---> 365dee5c2e9b 02:25:45 Step 8/24 : COPY . . 02:25:46 ---> 4076b736defb 02:25:46 Step 9/24 : RUN ${MAKE} 02:25:46 ---> Running in b519b77a2b77 02:25:46 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 02:25:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:25:56 Removing intermediate container b519b77a2b77 02:25:56 ---> 63c6b65e5214 02:25:56 Step 10/24 : FROM scratch 02:25:56 ---> 02:25:56 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:25:56 ---> Running in 8cb40e17b099 02:25:56 Removing intermediate container 8cb40e17b099 02:25:56 ---> 12c3e2138940 02:25:56 Step 12/24 : ENV APP_PORT=49990 02:25:56 ---> Running in d0db569cd816 02:25:56 Removing intermediate container d0db569cd816 02:25:56 ---> 418b95e38e9b 02:25:56 Step 13/24 : EXPOSE $APP_PORT 02:25:56 ---> Running in 26bfcc6e6618 02:25:57 Removing intermediate container 26bfcc6e6618 02:25:57 ---> 4b6164a05929 02:25:57 Step 14/24 : WORKDIR / 02:25:57 ---> Running in f58c7a4ba861 02:25:57 Removing intermediate container 9bfb4a01a29c 02:25:57 ---> c53721e67f36 02:25:57 Successfully built c53721e67f36 02:25:57 Successfully tagged ci-base-image-arm64:latest 02:25:57 Removing intermediate container f58c7a4ba861 02:25:57 ---> a991bbec2ca3 02:25:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [Pipeline] isUnix [Pipeline] sh 02:25:57 ---> b66f52236f6b 02:25:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:25:57 + docker inspect -f . ci-base-image-arm64 02:25:57 . [Pipeline] withDockerContainer 02:25:57 ---> 0e39198cb687 02:25:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:25:58 prd-ubuntu18.04-docker-arm64-4c-16g-2953 does not seem to be running inside a container 02:25:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:25:58 ---> c251c1a0d029 02:25:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:25:58 ---> bb75afdd7f01 02:25:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:25:58 ---> 0b52eb97c1db 02:25:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:25:58 ---> Running in be3821f99382 02:25:59 Removing intermediate container be3821f99382 02:25:59 ---> 26b9842f9dde 02:25:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:25:59 ---> Running in bcbed5258174 02:25:59 Removing intermediate container bcbed5258174 02:25:59 ---> 30ca4882d81a 02:25:59 Step 22/24 : LABEL arch=amd64 02:25:59 ---> Running in b3e674fe7a50 02:25:59 Removing intermediate container b3e674fe7a50 02:25:59 ---> 9e1b57e303e1 02:25:59 Step 23/24 : LABEL git_sha=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 02:25:59 ---> Running in eaa70b1b4a58 02:25:59 Removing intermediate container eaa70b1b4a58 02:25:59 ---> 885b50b6872f 02:25:59 Step 24/24 : LABEL version=0.0.0 02:25:59 ---> Running in 92f7aa2cfc6f 02:25:59 Removing intermediate container 92f7aa2cfc6f 02:25:59 ---> 9749ce346f0c 02:25:59 [Warning] One or more build-args [ARCH] were not consumed 02:25:59 Successfully built 9749ce346f0c 02:25:59 Successfully tagged docker-device-sdk-simple:latest 02:26:00 $ docker top 3e43821ed186b8e5966b40d4fc1d59415c47a1d29863dc939ee176979a979938 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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] } 02:26:01 + go version 02:26:01 go version go1.15.2 linux/arm64 [Pipeline] // ws [Pipeline] } [Pipeline] } 02:26:01 $ docker stop --time=1 3e43821ed186b8e5966b40d4fc1d59415c47a1d29863dc939ee176979a979938 02:26:03 $ docker rm -f 3e43821ed186b8e5966b40d4fc1d59415c47a1d29863dc939ee176979a979938 [Pipeline] // node [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:26:04 + docker inspect -f . ci-base-image-arm64 02:26:04 . [Pipeline] withDockerContainer 02:26:05 prd-ubuntu18.04-docker-arm64-4c-16g-2953 does not seem to be running inside a container 02:26:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:26:07 $ docker top 5e327762b1aede37f2da2b1c141f1aca3431adfce98c57380c007db2a905d635 -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:08 + make test 02:26:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:26:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:27:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:27:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:27:10 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:27:10 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.6% of statements 02:27:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.265s coverage: 97.1% of statements 02:27:43 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.121s coverage: 9.4% of statements 02:27:43 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements 02:27:43 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:27:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.532s coverage: 39.5% of statements 02:27:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:27:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.798s coverage: 65.4% of statements 02:27:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:27:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:27:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:27:43 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:27:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements 02:27:43 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:27:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.617s coverage: 68.9% of statements 02:27:43 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:27:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:27:43 GO111MODULE=on go vet ./... 02:28:10 gofmt -l . 02:28:10 [ "`gofmt -l .`" = "" ] 02:28:10 ./bin/test-attribution-txt.sh 02:28:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:28:12 Warning: overwriting stash ‘coverage-report’ 02:28:12 Stashed 1 file(s) [Pipeline] } 02:28:12 $ docker stop --time=1 5e327762b1aede37f2da2b1c141f1aca3431adfce98c57380c007db2a905d635 02:28:14 $ docker rm -f 5e327762b1aede37f2da2b1c141f1aca3431adfce98c57380c007db2a905d635 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:28:16 + ls -al . 02:28:16 total 232 02:28:16 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 02:28 . 02:28:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 .. 02:28:16 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:23 .dockerignore 02:28:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:23 .git 02:28:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:23 .github 02:28:16 -rw-rw-r-- 1 jenkins jenkins 138 Oct 2 02:23 .gitignore 02:28:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:23 .semver 02:28:16 -rw-rw-r-- 1 jenkins jenkins 936 Oct 2 02:23 Dockerfile.build 02:28:16 -rw-rw-r-- 1 jenkins jenkins 785 Oct 2 02:23 Jenkinsfile 02:28:16 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:23 LICENSE 02:28:16 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 2 02:23 Makefile 02:28:16 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 2 02:23 README.md 02:28:16 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 2 02:23 RELEASE-NOTES.txt 02:28:16 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 02:19 VERSION 02:28:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:23 bin 02:28:16 -rw-r--r-- 1 jenkins jenkins 111041 Oct 2 02:27 coverage.out 02:28:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 example 02:28:16 -rw-r--r-- 1 jenkins jenkins 517 Oct 2 02:28 go.mod 02:28:16 -rw-r--r-- 1 jenkins jenkins 13646 Oct 2 02:28 go.sum 02:28:16 drwxrwxr-x 15 jenkins jenkins 4096 Oct 2 02:23 internal 02:28:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 openapi 02:28:16 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:23 pkg 02:28:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 snap 02:28:16 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:23 version.go [Pipeline] isUnix [Pipeline] sh 02:28:17 + 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=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 --label arch=arm64 --label version=0.0.0 . 02:28:17 Sending build context to Docker daemon 3.533MB 02:28:17 Step 1/24 : ARG BASE=golang:1.15-alpine 02:28:17 Step 2/24 : FROM ${BASE} AS builder 02:28:17 ---> c53721e67f36 02:28:17 Step 3/24 : ARG MAKE='make build' 02:28:17 ---> Running in 084eaf11954a 02:28:18 Removing intermediate container 084eaf11954a 02:28:18 ---> 46ccd81fea75 02:28:18 Step 4/24 : WORKDIR /device-sdk-go 02:28:18 ---> Running in 02a313602d40 02:28:19 Removing intermediate container 02a313602d40 02:28:19 ---> 0e927fb9d53c 02:28:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:28:19 ---> Running in 8505128e522d 02:28:19 Removing intermediate container 8505128e522d 02:28:19 ---> d1d8169a3d66 02:28:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:28:19 ---> Running in 055880b90a02 02:28:22 Removing intermediate container 055880b90a02 02:28:22 ---> a16d08dcbc69 02:28:22 Step 7/24 : RUN apk add --update --no-cache make git 02:28:22 ---> Running in 8ff9cbcaf99f 02:28:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:28:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:28:34 OK: 142 MiB in 39 packages 02:28:35 Removing intermediate container 8ff9cbcaf99f 02:28:35 ---> c47be0ddcd69 02:28:35 Step 8/24 : COPY . . 02:28:36 ---> d7b4702c0c24 02:28:36 Step 9/24 : RUN ${MAKE} 02:28:37 ---> Running in 662abe85eccb 02:28:38 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 02:29:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:29:05 Removing intermediate container 662abe85eccb 02:29:05 ---> f9cdb150d286 02:29:05 Step 10/24 : FROM scratch 02:29:05 ---> 02:29:05 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:29:05 ---> Running in c887fda94b83 02:29:05 Removing intermediate container c887fda94b83 02:29:05 ---> 3f9b0eee1271 02:29:05 Step 12/24 : ENV APP_PORT=49990 02:29:05 ---> Running in 3aba26cefd9e 02:29:06 Removing intermediate container 3aba26cefd9e 02:29:06 ---> 24a59f66434e 02:29:06 Step 13/24 : EXPOSE $APP_PORT 02:29:06 ---> Running in 2e709b827805 02:29:06 Removing intermediate container 2e709b827805 02:29:06 ---> bb5ab6b7beb7 02:29:06 Step 14/24 : WORKDIR / 02:29:06 ---> Running in c44668ab36b2 02:29:06 Removing intermediate container c44668ab36b2 02:29:06 ---> 6c630ef1570f 02:29:06 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:29:08 ---> 8ea23e207d7b 02:29:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:29:08 ---> aefbb10346b6 02:29:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:29:09 ---> 6d62a7584aed 02:29:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:29:10 ---> bb3537e8a862 02:29:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:29:11 ---> 811531f4e05b 02:29:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:29:11 ---> Running in 6e8d693806ce 02:29:11 Removing intermediate container 6e8d693806ce 02:29:11 ---> fa0babae08d9 02:29:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:29:11 ---> Running in 09c06c96d967 02:29:12 Removing intermediate container 09c06c96d967 02:29:12 ---> 2ea4be0a8c9d 02:29:12 Step 22/24 : LABEL arch=arm64 02:29:12 ---> Running in b799e338966e 02:29:13 Removing intermediate container b799e338966e 02:29:13 ---> 14de86e05021 02:29:13 Step 23/24 : LABEL git_sha=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 02:29:13 ---> Running in f7e8772a3b24 02:29:13 Removing intermediate container f7e8772a3b24 02:29:13 ---> 92a176919e13 02:29:13 Step 24/24 : LABEL version=0.0.0 02:29:13 ---> Running in f012a6e90a4b 02:29:14 Removing intermediate container f012a6e90a4b 02:29:14 ---> 4eecf629da54 02:29:14 [Warning] One or more build-args [ARCH] were not consumed 02:29:14 Successfully built 4eecf629da54 02:29:14 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 02:29:17 provisioning config files... 02:29:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config3084805990430324287tmp [Pipeline] { [Pipeline] sh 02:29:17 + set +x 02:29:17 + bash -s -- 02:29:17 + curl -s https://codecov.io/bash 02:29:17 02:29:17 _____ _ 02:29:17 / ____| | | 02:29:17 | | ___ __| | ___ ___ _____ __ 02:29:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:29:17 | |___| (_) | (_| | __/ (_| (_) \ V / 02:29:17 \_____\___/ \__,_|\___|\___\___/ \_/ 02:29:17 Bash-20200917-4e8f14b 02:29:17 02:29:17 02:29:17 ==> Jenkins CI detected. 02:29:17 project root: . 02:29:17 --> token set from env 02:29:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:29:17 ==> Running gcov in . (disable via -X gcov) 02:29:17 ==> Python coveragepy not found 02:29:17 ==> Searching for coverage reports in: 02:29:17 + . 02:29:17 -> Found 1 reports 02:29:17 ==> Detecting git/mercurial file structure 02:29:17 ==> Reading reports 02:29:17 + ./coverage.out bytes=111041 02:29:17 ==> Appending adjustments 02:29:17 https://docs.codecov.io/docs/fixing-reports 02:29:18 + Found adjustments 02:29:18 ==> Gzipping contents 02:29:18 ==> Uploading reports 02:29:18 url: https://codecov.io 02:29:18 query: branch=PR-582&commit=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 02:29:18 -> Pinging Codecov 02:29:18 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 02:29:23 -> Uploading to 02:29:23 https://storage.googleapis.com/codecov/v4/raw/2020-10-02/7E55EF52A471D76F132DFD9A03CDDE97/bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708/7bd0bf86-bbac-4e87-9f00-3cf9179d0d4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201002%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201002T022922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da5246b898dc2ca9ba31fbb2512768a08bce0cb569782e1f5ee8728347bfe6d4 02:29:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:29:23 Dload Upload Total Spent Left Speed 02:29:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18370 0 0 100 18370 0 41163 --:--:-- --:--:-- --:--:-- 41188 02:29:23 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [Pipeline] } 02:29:23 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 02:29:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:29:28 ---> package-listing.sh 02:29:28 ++ facter osfamily 02:29:28 ++ tr '[:upper:]' '[:lower:]' 02:29:28 + OS_FAMILY=redhat 02:29:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 02:29:28 + START_PACKAGES=/tmp/packages_start.txt 02:29:28 + END_PACKAGES=/tmp/packages_end.txt 02:29:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:29:28 + PACKAGES=/tmp/packages_start.txt 02:29:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 02:29:28 + PACKAGES=/tmp/packages_end.txt 02:29:28 + case "${OS_FAMILY}" in 02:29:28 + rpm -qa 02:29:28 + sort 02:29:32 + '[' -f /tmp/packages_start.txt ']' 02:29:32 + '[' -f /tmp/packages_end.txt ']' 02:29:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:29:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 02:29:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 02:29:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:29:33 provisioning config files... 02:29:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config8462345881206085972tmp [Pipeline] { [Pipeline] echo 02:29:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:29:33 ---> create-netrc.sh [Pipeline] } 02:29:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:29:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:29:34 ---> python-tools-install.sh 02:29:34 Generating Requirements File 02:30:55 Python 3.6.8 02:30:55 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:30:55 aiohttp==3.6.2 02:30:55 appdirs==1.4.3 02:30:55 argcomplete==1.12.1 02:30:55 aspy.yaml==1.3.0 02:30:55 async-timeout==3.0.1 02:30:55 attrs==19.3.0 02:30:55 Babel==2.8.0 02:30:55 beautifulsoup4==4.8.2 02:30:55 boto3==1.11.6 02:30:55 botocore==1.14.6 02:30:55 bs4==0.0.1 02:30:55 cachetools==4.1.1 02:30:55 certifi==2019.11.28 02:30:55 cffi==1.14.3 02:30:55 cfgv==2.0.1 02:30:55 chardet==3.0.4 02:30:55 click==7.1 02:30:55 cliff==3.4.0 02:30:55 cmd2==1.3.11 02:30:55 colorama==0.4.3 02:30:55 cryptography==3.1.1 02:30:55 debtcollector==2.2.0 02:30:55 decorator==4.4.2 02:30:55 defusedxml==0.6.0 02:30:55 Deprecated==1.2.7 02:30:55 distlib==0.3.1 02:30:55 distro==1.2.0 02:30:55 dnspython==1.16.0 02:30:55 docker==4.2.0 02:30:55 docutils==0.15.2 02:30:55 dogpile.cache==1.0.2 02:30:55 email-validator==1.0.5 02:30:55 filelock==3.0.12 02:30:55 future==0.18.2 02:30:55 google-auth==1.22.0 02:30:55 httplib2==0.17.0 02:30:55 identify==1.4.11 02:30:55 idna==2.9 02:30:55 idna-ssl==1.1.0 02:30:55 importlib-metadata==1.7.0 02:30:55 importlib-resources==1.5.0 02:30:55 iso8601==0.1.13 02:30:55 Jinja2==2.11.1 02:30:55 jmespath==0.10.0 02:30:55 jsonpatch==1.26 02:30:55 jsonpointer==2.0 02:30:55 jsonschema==3.2.0 02:30:55 keystoneauth1==4.2.1 02:30:55 kubernetes==11.0.0 02:30:55 lftools==0.34.2 02:30:55 lxml==4.5.0 02:30:55 MarkupSafe==0.23 02:30:55 msgpack==1.0.0 02:30:55 multi-key-dict==2.0.3 02:30:55 multidict==4.7.6 02:30:55 munch==2.5.0 02:30:55 netaddr==0.8.0 02:30:55 netifaces==0.10.9 02:30:55 niet==1.4.2 02:30:55 nodeenv==1.3.5 02:30:55 oauth2client==4.1.3 02:30:55 oauthlib==3.1.0 02:30:55 openstacksdk==0.50.0 02:30:55 os-client-config==2.1.0 02:30:55 os-service-types==1.7.0 02:30:55 osc-lib==2.2.1 02:30:55 oslo.config==8.3.2 02:30:55 oslo.context==3.1.1 02:30:55 oslo.i18n==5.0.1 02:30:55 oslo.log==4.4.0 02:30:55 oslo.serialization==4.0.1 02:30:55 oslo.utils==4.6.0 02:30:55 packaging==20.4 02:30:55 pbr==5.4.4 02:30:55 pluggy==0.13.1 02:30:55 prettytable==0.7.2 02:30:55 py==1.9.0 02:30:55 pyasn1==0.4.8 02:30:55 pyasn1-modules==0.2.8 02:30:55 pycparser==2.20 02:30:55 pygerrit2==2.0.10 02:30:55 PyGithub==1.46 02:30:55 pyinotify==0.9.6 02:30:55 PyJWT==1.7.1 02:30:55 pyparsing==2.4.7 02:30:55 pyperclip==1.8.0 02:30:55 pyroute2==0.4.13 02:30:55 pyrsistent==0.15.7 02:30:55 PySocks==1.6.8 02:30:55 python-cinderclient==7.2.0 02:30:55 python-dateutil==2.8.1 02:30:55 python-heatclient==2.2.1 02:30:55 python-jenkins==1.7.0 02:30:55 python-keystoneclient==4.1.1 02:30:55 python-magnumclient==3.2.1 02:30:55 python-novaclient==17.2.1 02:30:55 python-openstackclient==5.3.1 02:30:55 python-swiftclient==3.10.1 02:30:55 pytz==2020.1 02:30:55 PyYAML==5.3 02:30:55 requests==2.23.0 02:30:55 requests-oauthlib==1.3.0 02:30:55 requestsexceptions==1.4.0 02:30:55 rfc3986==1.4.0 02:30:55 rpm==4.11.3 02:30:55 rsa==4.0 02:30:55 ruamel.yaml==0.16.10 02:30:55 ruamel.yaml.clib==0.2.0 02:30:55 s3transfer==0.3.3 02:30:55 shade==1.27.2 02:30:55 simplejson==3.17.2 02:30:55 six==1.14.0 02:30:55 soupsieve==2.0 02:30:55 stevedore==3.2.2 02:30:55 tabulate==0.8.6 02:30:55 toml==0.10.0 02:30:55 tox==3.20.0 02:30:55 tqdm==4.43.0 02:30:55 typing-extensions==3.7.4.3 02:30:55 urllib3==1.25.8 02:30:55 virtualenv==20.0.32 02:30:55 wcwidth==0.2.5 02:30:55 websocket-client==0.57.0 02:30:55 wrapt==1.12.1 02:30:55 xdg==3.0.2 02:30:55 xmltodict==0.12.0 02:30:55 yarl==1.6.0 02:30:55 yq==2.11.1 02:30:55 zipp==3.2.0 02:30:55 Cache entry deserialization failed, entry ignored 02:30:56 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. 02:30:59 Python 2.7.5 02:30:59 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:30:59 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. 02:30:59 ansible==2.9.7 02:30:59 Babel==0.9.6 02:30:59 backports.ssl-match-hostname==3.5.0.1 02:30:59 beautifulsoup4==4.4.1 02:30:59 bodhi==2.11.0 02:30:59 bodhi-client==2.11.0 02:30:59 CCColUtils==1.4 02:30:59 cffi==1.6.0 02:30:59 chardet==2.2.1 02:30:59 click==6.7 02:30:59 cloud-init==18.5 02:30:59 configobj==4.7.2 02:30:59 cryptography==1.7.2 02:30:59 decorator==3.4.0 02:30:59 distro==1.2.0 02:30:59 enum34==1.0.4 02:30:59 fedpkg==1.38 02:30:59 futures==3.1.1 02:30:59 gitdb==0.6.4 02:30:59 GitPython==1.0.1 02:30:59 html5lib==0.999 02:30:59 httplib2==0.9.2 02:30:59 idna==2.4 02:30:59 iniparse==0.4 02:30:59 ipaddress==1.0.16 02:30:59 IPy==0.75 02:30:59 javapackages==1.0.0 02:30:59 Jinja2==2.7.2 02:30:59 jmespath==0.9.4 02:30:59 jsonpatch==1.2 02:30:59 jsonpointer==1.9 02:30:59 kerberos==1.1 02:30:59 kitchen==1.1.1 02:30:59 langtable==0.0.31 02:30:59 lockfile==0.9.1 02:30:59 lxml==3.2.1 02:30:59 MarkupSafe==0.11 02:30:59 munch==2.0.2 02:30:59 offtrac==0.1.0 02:30:59 openidc-client==0.6.0 02:30:59 packagedb-cli==2.14.1 02:30:59 paramiko==2.1.1 02:30:59 perf==0.1 02:30:59 ply==3.4 02:30:59 policycoreutils-default-encoding==0.1 02:30:59 prettytable==0.7.2 02:30:59 pyasn1==0.1.9 02:30:59 pycparser==2.14 02:30:59 pycurl==7.19.0 02:30:59 pygobject==3.22.0 02:30:59 pygpgme==0.3 02:30:59 pyliblzma==0.5.3 02:30:59 pyOpenSSL==0.13.1 02:30:59 pyparsing==1.5.6 02:30:59 pyserial==2.6 02:30:59 python-augeas==0.5.0 02:30:59 python-bugzilla==2.3.0 02:30:59 python-dateutil==1.5 02:30:59 python-fedora==0.10.0 02:30:59 python-linux-procfs==0.4.9 02:30:59 python-yubico==1.2.3 02:30:59 pyudev==0.15 02:30:59 pyusb==1.0.0b1 02:30:59 pyxattr==0.5.1 02:30:59 PyYAML==3.10 02:30:59 requests==2.6.0 02:30:59 requests-kerberos==0.7.0 02:30:59 rpkg==1.60 02:30:59 schedutils==0.4 02:30:59 seobject==0.1 02:30:59 sepolicy==1.1 02:30:59 six==1.9.0 02:30:59 smmap==0.9.0 02:30:59 urlgrabber==3.10 02:30:59 urllib3==1.10.2 02:30:59 virtualenv==15.1.0 02:30:59 yum-langpacks==0.4.2 02:30:59 yum-metadata-parser==1.1.4 [Pipeline] echo 02:31:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:31:00 ---> sudo-logs.sh 02:31:00 Archiving 'sudo' log.. [Pipeline] echo 02:31:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:31:01 ---> job-cost.sh 02:31:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ViA3 02:31:09 Cache entry deserialization failed, entry ignored 02:31:09 Cache entry deserialization failed, entry ignored 02:31:11 Cache entry deserialization failed, entry ignored 02:31:11 Cache entry deserialization failed, entry ignored 02:31:11 Cache entry deserialization failed, entry ignored 02:31:11 Cache entry deserialization failed, entry ignored 02:31:11 Cache entry deserialization failed, entry ignored 02:31:11 Cache entry deserialization failed, entry ignored 02:31:11 Cache entry deserialization failed, entry ignored 02:31:12 Cache entry deserialization failed, entry ignored 02:31:12 Cache entry deserialization failed, entry ignored 02:31:12 Cache entry deserialization failed, entry ignored 02:31:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:31:47 lf-activate-venv(): INFO: Adding /tmp/venv-ViA3/bin to PATH 02:31:47 INFO: No Stack... 02:31:47 INFO: Retrieving Pricing Info for: v1-standard-2 02:31:47 INFO: Archiving Costs [Pipeline] echo 02:31:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:31:48 ---> logs-deploy.sh 02:31:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/13 02:31:48 INFO: archiving workspace using pattern(s): 02:31:49 Archives upload complete. 02:31:49 INFO: archiving logs to Nexus