Pull request #613 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a+51b10ba24d09b5e22132647652f16c288a0af487 (d990d6dfda3b0831a99c0f9c26c7e9123cb4c64d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-3649 in /w/workspace/dgexfoundry_device-sdk-go_PR-613 [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-613 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a Merge succeeded, producing ad7e010f5db4368a96d4b2eba2d5eda65c192113 Checking out Revision ad7e010f5db4368a96d4b2eba2d5eda65c192113 (PR-613) > 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/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # 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 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad7e010f5db4368a96d4b2eba2d5eda65c192113 # timeout=10 Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" > git rev-list --no-walk 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:18:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:18:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:18:46 ========================================================= 05:18:46 EdgeX Global Pipelines Version Info 05:18:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:18:50 ------------------- 05:18:50 stable info: 05:18:50 ------------------- 05:18:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:18:50 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:18:50 Message: update stable to v1.0.131 05:18:51 ------------------- 05:18:51 experimental info: 05:18:51 ------------------- 05:18:51 Commited By: **** collab-it+edgex@linuxfoundation.org 05:18:51 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 05:18:51 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:18:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:18:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:18:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:18:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-613 [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-613 [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-613 [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad7e010f5db4368a96d4b2eba2d5eda65c192113 [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad7e010 [Pipeline] echo 05:18:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:55 + git log --format=format:%s -1 ad7e010f5db4368a96d4b2eba2d5eda65c192113 [Pipeline] echo 05:18:55 GIT_COMMIT: ad7e010f5db4368a96d4b2eba2d5eda65c192113, Commit Message: Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD [Pipeline] echo 05:18:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:18:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:18:56 05:18:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:18:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:18:57 latest: Pulling from edgex-devops/git-semver 05:18:57 31603596830f: Pulling fs layer 05:18:57 2a8b12db71e7: Pulling fs layer 05:18:57 6ca5941a6612: Pulling fs layer 05:18:57 ecc8261a40a4: Pulling fs layer 05:18:57 ecc8261a40a4: Waiting 05:18:57 2a8b12db71e7: Verifying Checksum 05:18:57 2a8b12db71e7: Download complete 05:18:57 31603596830f: Verifying Checksum 05:18:57 31603596830f: Download complete 05:18:57 ecc8261a40a4: Verifying Checksum 05:18:57 ecc8261a40a4: Download complete 05:18:58 6ca5941a6612: Verifying Checksum 05:18:58 6ca5941a6612: Download complete 05:18:58 31603596830f: Pull complete 05:18:58 2a8b12db71e7: Pull complete 05:19:00 6ca5941a6612: Pull complete 05:19:00 ecc8261a40a4: Pull complete 05:19:00 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:19:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:19:00 prd-centos7-docker-4c-2g-3649 does not seem to be running inside a container 05:19:00 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-613 -v /w/workspace/dgexfoundry_device-sdk-go_PR-613:/w/workspace/dgexfoundry_device-sdk-go_PR-613:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:19:02 $ docker top afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:03 [ssh-agent] Looking for ssh-agent implementation... 05:19:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:03 $ docker exec afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 ssh-agent 05:19:04 SSH_AUTH_SOCK=/tmp/ssh-GdjuF83bCcxI/agent.12 05:19:04 SSH_AGENT_PID=17 05:19:04 Running ssh-add (command line suppressed) 05:19:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/private_key_2026218336976119091.key (/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/private_key_2026218336976119091.key) 05:19:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:05 + git describe --exact-match --tags HEAD 05:19:05 fatal: no tag exactly matches 'ad7e010f5db4368a96d4b2eba2d5eda65c192113' [Pipeline] } 05:19:06 $ docker exec --env ******** --env ******** afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 ssh-agent -k 05:19:06 unset SSH_AUTH_SOCK; 05:19:06 unset SSH_AGENT_PID; 05:19:06 echo Agent pid 17 killed; 05:19:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:19:06 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:19:06 This usually means this commit has not been tagged. [Pipeline] sshagent 05:19:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:06 [ssh-agent] Looking for ssh-agent implementation... 05:19:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:06 $ docker exec afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 ssh-agent 05:19:07 SSH_AUTH_SOCK=/tmp/ssh-ciRBlp1YwkHg/agent.47 05:19:07 SSH_AGENT_PID=52 05:19:07 Running ssh-add (command line suppressed) 05:19:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/private_key_3036850208363268236.key (/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/private_key_3036850208363268236.key) 05:19:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:08 + git semver init 05:19:08 # -> Open(): unable to determine branch for HEAD 05:19:08 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-613/.git 05:19:08 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-613 05:19:08 # $SEMVER_REMOTE_NAME = origin 05:19:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:19:08 # $SEMVER_USER_NAME = edgex-jenkins 05:19:08 # $SEMVER_BRANCH = PR-613 05:19:08 # $SEMVER_TEMP = /tmp/semver-954332437 05:19:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:19:09 # '/tmp/semver-954332437' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-613/.semver' 05:19:09 # -> Force: false 05:19:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-613/.semver [Pipeline] } 05:19:09 $ docker exec --env ******** --env ******** afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 ssh-agent -k 05:19:09 unset SSH_AUTH_SOCK; 05:19:09 unset SSH_AGENT_PID; 05:19:09 echo Agent pid 52 killed; 05:19:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:19:10 + git semver [Pipeline] } 05:19:10 $ docker stop --time=1 afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 05:19:12 $ docker rm -f afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:19:13 Stashed 44 file(s) [Pipeline] echo 05:19:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:19: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:19:29 Still waiting to schedule task 05:19:29 ‘prd-centos7-docker-4c-2g-3640’ is offline; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3653’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3652’ doesn’t have label ‘centos7-docker-4c-2g’ 05:19:29 Still waiting to schedule task 05:19:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3652’ is offline 05:22:14 Running on prd-centos7-docker-4c-2g-3661 in /w/workspace/dgexfoundry_device-sdk-go_PR-613 [Pipeline] { [Pipeline] ws 05:22:15 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:22:25 using credential edgex-jenkins-ssh 05:22:26 Cloning the remote Git repository 05:22:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:22:25 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:22:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:22:25 > git --version # timeout=10 05:22:26 > git --version # 'git version 2.16.5' 05:22:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:28 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a 05:22:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:22:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:22:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:22:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:22:28 > git config core.sparsecheckout # timeout=10 05:22:28 > git checkout -f 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 05:22:28 > git remote # timeout=10 05:22:28 > git config --get remote.origin.url # timeout=10 05:22:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:28 > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 05:22:29 Merge succeeded, producing 4df40fc3f4fa617bfd1aded6087880320dd03fc9 05:22:29 Checking out Revision 4df40fc3f4fa617bfd1aded6087880320dd03fc9 (PR-613) 05:22:28 > git rev-parse HEAD^{commit} # timeout=10 05:22:29 > git config core.sparsecheckout # timeout=10 05:22:29 > git checkout -f 4df40fc3f4fa617bfd1aded6087880320dd03fc9 # timeout=10 05:22:33 Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" 05:22:33 > git rev-list --no-walk 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:22:34 ========================================================= 05:22:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:22:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:22:36 + 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:22:36 Sending build context to Docker daemon 3.516MB 05:22:36 Step 1/8 : ARG BASE=golang:1.15-alpine 05:22:36 Step 2/8 : FROM ${BASE} 05:22:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:22:37 df20fa9351a1: Pulling fs layer 05:22:37 ed8968b2872e: Pulling fs layer 05:22:37 a92cc7c5fd73: Pulling fs layer 05:22:37 e871e8e8d7a9: Pulling fs layer 05:22:37 e73272ec9a57: Pulling fs layer 05:22:37 1e910a182e73: Pulling fs layer 05:22:37 4e634b169226: Pulling fs layer 05:22:37 e73272ec9a57: Waiting 05:22:37 1e910a182e73: Waiting 05:22:37 4e634b169226: Waiting 05:22:37 e871e8e8d7a9: Waiting 05:22:37 a92cc7c5fd73: Verifying Checksum 05:22:37 a92cc7c5fd73: Download complete 05:22:37 ed8968b2872e: Download complete 05:22:37 e73272ec9a57: Verifying Checksum 05:22:37 e73272ec9a57: Download complete 05:22:38 1e910a182e73: Verifying Checksum 05:22:38 1e910a182e73: Download complete 05:22:38 df20fa9351a1: Verifying Checksum 05:22:38 df20fa9351a1: Download complete 05:22:39 df20fa9351a1: Pull complete 05:22:39 ed8968b2872e: Pull complete 05:22:40 a92cc7c5fd73: Pull complete 05:22:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3666 in /w/workspace/dgexfoundry_device-sdk-go_PR-613 [Pipeline] { [Pipeline] ws 05:22:43 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:22:43 4e634b169226: Verifying Checksum 05:22:43 4e634b169226: Download complete 05:22:47 e871e8e8d7a9: Download complete 05:22:49 using credential edgex-jenkins-ssh 05:22:49 Cloning the remote Git repository 05:22:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:22:49 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:22:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:22:49 > git --version # timeout=10 05:22:49 > git --version # 'git version 2.17.1' 05:22:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:22:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:22:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:22:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:22:51 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a 05:22:51 Merge succeeded, producing 18e4d523dae520684b67179334538cf4149f7694 05:22:51 Checking out Revision 18e4d523dae520684b67179334538cf4149f7694 (PR-613) 05:22:51 > git config core.sparsecheckout # timeout=10 05:22:51 > git checkout -f 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 05:22:51 > git remote # timeout=10 05:22:51 > git config --get remote.origin.url # timeout=10 05:22:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:51 > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 05:22:51 > git rev-parse HEAD^{commit} # timeout=10 05:22:51 > git config core.sparsecheckout # timeout=10 05:22:51 > git checkout -f 18e4d523dae520684b67179334538cf4149f7694 # timeout=10 05:22:56 Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" 05:22:56 > git rev-list --no-walk 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:22:57 ========================================================= 05:22:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:22:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:22:58 + 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:22:59 Sending build context to Docker daemon 3.516MB 05:22:59 Step 1/8 : ARG BASE=golang:1.15-alpine 05:22:59 Step 2/8 : FROM ${BASE} 05:22:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:22:59 b538f80385f9: Pulling fs layer 05:22:59 74f711af9a0d: Pulling fs layer 05:22:59 99f96fe45779: Pulling fs layer 05:22:59 8529a6b9a6be: Pulling fs layer 05:22:59 45590311c82a: Pulling fs layer 05:22:59 69ca0ff8b7b3: Pulling fs layer 05:22:59 209524e5b208: Pulling fs layer 05:22:59 45590311c82a: Waiting 05:22:59 8529a6b9a6be: Waiting 05:22:59 69ca0ff8b7b3: Waiting 05:22:59 209524e5b208: Waiting 05:22:59 99f96fe45779: Verifying Checksum 05:22:59 99f96fe45779: Download complete 05:22:59 74f711af9a0d: Verifying Checksum 05:22:59 74f711af9a0d: Download complete 05:22:59 45590311c82a: Verifying Checksum 05:22:59 45590311c82a: Download complete 05:22:59 69ca0ff8b7b3: Download complete 05:23:00 e871e8e8d7a9: Pull complete 05:23:00 e73272ec9a57: Pull complete 05:23:00 1e910a182e73: Pull complete 05:23:00 b538f80385f9: Download complete 05:23:00 b538f80385f9: Pull complete 05:23:01 74f711af9a0d: Pull complete 05:23:01 99f96fe45779: Pull complete 05:23:02 209524e5b208: Verifying Checksum 05:23:02 209524e5b208: Download complete 05:23:03 8529a6b9a6be: Verifying Checksum 05:23:03 8529a6b9a6be: Download complete 05:23:04 4e634b169226: Pull complete 05:23:04 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:23:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:23:04 ---> f7629b54cfaa 05:23:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:23:04 ---> Running in 80a050238a03 05:23:04 Removing intermediate container 80a050238a03 05:23:04 ---> 0beba9145bc4 05:23:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:23:04 ---> Running in 1aed5292bdd1 05:23:06 Removing intermediate container 1aed5292bdd1 05:23:06 ---> be53fb4d7506 05:23:06 Step 5/8 : RUN apk add --no-cache make git 05:23:07 ---> Running in 87bc6a4f0779 05:23:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:23:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:23:11 OK: 166 MiB in 39 packages 05:23:11 Removing intermediate container 87bc6a4f0779 05:23:11 ---> e63b003c6d71 05:23:11 Step 6/8 : WORKDIR /device-sdk-go 05:23:11 ---> Running in a2298512f3b4 05:23:12 Removing intermediate container a2298512f3b4 05:23:12 ---> 1b143b9010f1 05:23:12 Step 7/8 : COPY . . 05:23:13 ---> 5170b04a4df4 05:23:13 Step 8/8 : RUN go mod download 05:23:13 ---> Running in 3d493dda2efd 05:23:13 8529a6b9a6be: Pull complete 05:23:14 45590311c82a: Pull complete 05:23:14 69ca0ff8b7b3: Pull complete 05:23:18 209524e5b208: Pull complete 05:23:18 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:23:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:23:18 ---> 5bddaf1c2fca 05:23:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:23:21 ---> Running in 013b1046018d 05:23:21 Removing intermediate container 013b1046018d 05:23:21 ---> ac5f3693b6cb 05:23:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:23:21 ---> Running in c868c1f3e875 05:23:24 Removing intermediate container c868c1f3e875 05:23:24 ---> 4ae24816ef84 05:23:24 Step 5/8 : RUN apk add --no-cache make git 05:23:24 ---> Running in 1ba1c89bec1a 05:23:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:23:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:23:27 OK: 142 MiB in 39 packages 05:23:28 Removing intermediate container 1ba1c89bec1a 05:23:28 ---> 9c24f9ace2c3 05:23:28 Step 6/8 : WORKDIR /device-sdk-go 05:23:28 ---> Running in f29d4dfbb394 05:23:29 Removing intermediate container f29d4dfbb394 05:23:29 ---> a89918e65ca7 05:23:29 Step 7/8 : COPY . . 05:23:30 ---> f3e2e906c15d 05:23:30 Step 8/8 : RUN go mod download 05:23:31 ---> Running in 950f091dd949 05:23:40 Removing intermediate container 3d493dda2efd 05:23:40 ---> 6d5209d2fb72 05:23:40 Successfully built 6d5209d2fb72 05:23:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:23:41 + docker inspect -f . ci-base-image-x86_64 05:23:41 . [Pipeline] withDockerContainer 05:23:41 prd-centos7-docker-4c-2g-3661 does not seem to be running inside a container 05:23:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 05:23:43 $ docker top 57ae8146ee6822fde743e2ad7da2e81e51638f8ae70c09e75b6791b98a8eeb6b -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:43 + go version 05:23:43 go version go1.15.2 linux/amd64 [Pipeline] } 05:23:43 $ docker stop --time=1 57ae8146ee6822fde743e2ad7da2e81e51638f8ae70c09e75b6791b98a8eeb6b 05:23:45 $ docker rm -f 57ae8146ee6822fde743e2ad7da2e81e51638f8ae70c09e75b6791b98a8eeb6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:23:46 + docker inspect -f . ci-base-image-x86_64 05:23:46 . [Pipeline] withDockerContainer 05:23:46 prd-centos7-docker-4c-2g-3661 does not seem to be running inside a container 05:23:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 05:23:47 $ docker top a4107ea298a2bace72863b697a7bf1e6eb37ba1cd8c5eb5405f8c3f53582f106 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:48 + make test 05:23:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:23:53 Removing intermediate container 950f091dd949 05:23:53 ---> 132d815a1802 05:23:53 Successfully built 132d815a1802 05:23:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:23:54 + docker inspect -f . ci-base-image-arm64 05:23:54 . [Pipeline] withDockerContainer 05:23:54 prd-ubuntu18.04-docker-arm64-4c-16g-3666 does not seem to be running inside a container 05:23:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 05:23:56 $ docker top ff4c32bfe01345cd3dccf7cb7dc0594ad97fa4232b861eef2cbc5346142a79ae -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:57 + go version 05:23:57 go version go1.15.2 linux/arm64 [Pipeline] } 05:23:57 $ docker stop --time=1 ff4c32bfe01345cd3dccf7cb7dc0594ad97fa4232b861eef2cbc5346142a79ae 05:23:59 $ docker rm -f ff4c32bfe01345cd3dccf7cb7dc0594ad97fa4232b861eef2cbc5346142a79ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:24:00 + docker inspect -f . ci-base-image-arm64 05:24:00 . [Pipeline] withDockerContainer 05:24:01 prd-ubuntu18.04-docker-arm64-4c-16g-3666 does not seem to be running inside a container 05:24:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 05:24:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:24:03 $ docker top 9be22d6306834f2550f03d44914b35c5cc72573f61637df55fabe85735bba5f1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:04 + make test 05:24:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:24:26 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:24:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:24:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:24:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:24:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.076s coverage: 21.6% of statements 05:24:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.862s coverage: 97.1% of statements 05:25:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.180s coverage: 9.4% of statements 05:25:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.193s coverage: 21.9% of statements 05:25:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:25:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.295s coverage: 39.9% of statements 05:25:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:25:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.670s coverage: 65.4% of statements 05:25:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:25:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:25:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:25:04 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:25:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 52.6% of statements 05:25:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:25:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.275s coverage: 68.9% of statements 05:25:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:25:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:25:04 GO111MODULE=on go vet ./... 05:25:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:25:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:25:13 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:25:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.160s coverage: 21.6% of statements 05:25:15 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.205s coverage: 97.1% of statements 05:25:20 gofmt -l . 05:25:20 [ "`gofmt -l .`" = "" ] 05:25:20 ./bin/test-attribution-txt.sh 05:25:21 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:25:23 Stashed 1 file(s) [Pipeline] } 05:25:23 $ docker stop --time=1 a4107ea298a2bace72863b697a7bf1e6eb37ba1cd8c5eb5405f8c3f53582f106 05:25:25 $ docker rm -f a4107ea298a2bace72863b697a7bf1e6eb37ba1cd8c5eb5405f8c3f53582f106 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:25:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:25:27 + ls -al . 05:25:27 total 192 05:25:27 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 05:25 . 05:25:27 drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 05:22 .. 05:25:27 drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 05:22 bin 05:25:27 -rw-r--r--. 1 jenkins jenkins 111040 Oct 6 05:24 coverage.out 05:25:27 -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 05:22 Dockerfile.build 05:25:27 -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 05:22 .dockerignore 05:25:27 drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 05:22 example 05:25:27 drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 05:22 .git 05:25:27 drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 05:22 .github 05:25:27 -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 05:22 .gitignore 05:25:27 -rw-r--r--. 1 jenkins jenkins 517 Oct 6 05:25 go.mod 05:25:27 -rw-r--r--. 1 jenkins jenkins 13652 Oct 6 05:25 go.sum 05:25:27 drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 05:22 internal 05:25:27 -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 05:22 Jenkinsfile 05:25:27 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 05:22 LICENSE 05:25:27 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 05:22 Makefile 05:25:27 drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 05:22 openapi 05:25:27 drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 05:22 pkg 05:25:27 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 05:22 README.md 05:25:27 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 05:22 RELEASE-NOTES.txt 05:25:27 drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 05:22 .semver 05:25:27 drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 05:22 snap 05:25:27 -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 05:19 VERSION 05:25:27 -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 05:22 version.go [Pipeline] isUnix [Pipeline] sh 05:25:28 + 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=ad7e010f5db4368a96d4b2eba2d5eda65c192113 --label arch=amd64 --label version=0.0.0 . 05:25:28 Sending build context to Docker daemon 3.628MB 05:25:28 Step 1/24 : ARG BASE=golang:1.15-alpine 05:25:28 Step 2/24 : FROM ${BASE} AS builder 05:25:28 ---> 6d5209d2fb72 05:25:28 Step 3/24 : ARG MAKE='make build' 05:25:29 ---> Running in 8533671ea7ce 05:25:29 Removing intermediate container 8533671ea7ce 05:25:29 ---> 5791b9af6fbc 05:25:29 Step 4/24 : WORKDIR /device-sdk-go 05:25:29 ---> Running in 12ad98a3608f 05:25:29 Removing intermediate container 12ad98a3608f 05:25:29 ---> 9172b9c32493 05:25:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:25:29 ---> Running in 3d620ba1c2f8 05:25:29 Removing intermediate container 3d620ba1c2f8 05:25:29 ---> 08c9a4cb7450 05:25:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:25:29 ---> Running in 23669191f37b 05:25:30 Removing intermediate container 23669191f37b 05:25:30 ---> 2c176554d7a6 05:25:30 Step 7/24 : RUN apk add --update --no-cache make git 05:25:30 ---> Running in 9276093704e1 05:25:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:25:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:25:33 OK: 166 MiB in 39 packages 05:25:33 Removing intermediate container 9276093704e1 05:25:33 ---> 551f14d1919e 05:25:33 Step 8/24 : COPY . . 05:25:34 ---> f694c3c93bf4 05:25:34 Step 9/24 : RUN ${MAKE} 05:25:34 ---> Running in d611ae27bff0 05:25:35 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:25:47 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.119s coverage: 9.4% of statements 05:25:47 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.128s coverage: 21.9% of statements 05:25:47 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:25:47 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.544s coverage: 39.9% of statements 05:25:47 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:25:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.812s coverage: 65.4% of statements 05:25:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:25:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:25:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:25:47 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:25:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.192s coverage: 52.6% of statements 05:25:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:25:47 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.870s coverage: 68.9% of statements 05:25:47 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:25:47 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:25:47 GO111MODULE=on go vet ./... 05:25:50 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:25:54 Removing intermediate container d611ae27bff0 05:25:54 ---> 78e1456e0fdc 05:25:54 Step 10/24 : FROM scratch 05:25:54 ---> 05:25:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:25:54 ---> Running in 8b1b1b772202 05:25:54 Removing intermediate container 8b1b1b772202 05:25:54 ---> c48e7bf0f0e2 05:25:54 Step 12/24 : ENV APP_PORT=49990 05:25:54 ---> Running in d45cdd1915e2 05:25:54 Removing intermediate container d45cdd1915e2 05:25:54 ---> d7f40d753eb4 05:25:54 Step 13/24 : EXPOSE $APP_PORT 05:25:54 ---> Running in bbf989c266a1 05:25:54 Removing intermediate container bbf989c266a1 05:25:54 ---> 16771b2aab8d 05:25:54 Step 14/24 : WORKDIR / 05:25:54 ---> Running in bd3a33739bbf 05:25:55 Removing intermediate container bd3a33739bbf 05:25:55 ---> 1c2171d8eb82 05:25:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:25:56 ---> e134b053dc1e 05:25:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:25:56 ---> 3b27b6cdfb88 05:25:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:25:57 ---> 31bb63789654 05:25:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:25:58 ---> fa9edcf1dbcd 05:25:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:25:58 ---> 36c66f7543ab 05:25:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:25:58 ---> Running in 3a34f930cc17 05:25:58 Removing intermediate container 3a34f930cc17 05:25:58 ---> 5b410d7b887f 05:25:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:25:58 ---> Running in 920e1304f454 05:25:59 Removing intermediate container 920e1304f454 05:25:59 ---> 9aa46c85fd56 05:25:59 Step 22/24 : LABEL arch=amd64 05:25:59 ---> Running in d2672d443ec8 05:25:59 Removing intermediate container d2672d443ec8 05:25:59 ---> f5570b0357dc 05:25:59 Step 23/24 : LABEL git_sha=ad7e010f5db4368a96d4b2eba2d5eda65c192113 05:25:59 ---> Running in 2b1a3afc20a1 05:26:00 Removing intermediate container 2b1a3afc20a1 05:26:00 ---> 51cc6ded8fa8 05:26:00 Step 24/24 : LABEL version=0.0.0 05:26:00 ---> Running in 1a2173734e8f 05:26:00 Removing intermediate container 1a2173734e8f 05:26:00 ---> 4090a508484d 05:26:00 [Warning] One or more build-args [ARCH] were not consumed 05:26:00 Successfully built 4090a508484d 05:26:00 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:26:14 gofmt -l . 05:26:14 [ "`gofmt -l .`" = "" ] 05:26:14 ./bin/test-attribution-txt.sh 05:26:14 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:26:14 Warning: overwriting stash ‘coverage-report’ 05:26:15 Stashed 1 file(s) [Pipeline] } 05:26:15 $ docker stop --time=1 9be22d6306834f2550f03d44914b35c5cc72573f61637df55fabe85735bba5f1 05:26:17 $ docker rm -f 9be22d6306834f2550f03d44914b35c5cc72573f61637df55fabe85735bba5f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:26:19 + ls -al . 05:26:19 total 232 05:26:19 drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 05:26 . 05:26:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 .. 05:26:19 -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 05:22 .dockerignore 05:26:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 05:22 .git 05:26:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:22 .github 05:26:19 -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 05:22 .gitignore 05:26:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 05:22 .semver 05:26:19 -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 05:22 Dockerfile.build 05:26:19 -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 05:22 Jenkinsfile 05:26:19 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 05:22 LICENSE 05:26:19 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 05:22 Makefile 05:26:19 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 05:22 README.md 05:26:19 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 05:22 RELEASE-NOTES.txt 05:26:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 05:19 VERSION 05:26:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:22 bin 05:26:19 -rw-r--r-- 1 jenkins jenkins 111040 Oct 6 05:25 coverage.out 05:26:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 example 05:26:19 -rw-r--r-- 1 jenkins jenkins 517 Oct 6 05:26 go.mod 05:26:19 -rw-r--r-- 1 jenkins jenkins 13652 Oct 6 05:26 go.sum 05:26:19 drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 05:22 internal 05:26:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 openapi 05:26:19 drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 05:22 pkg 05:26:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 snap 05:26:19 -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 05:22 version.go [Pipeline] isUnix [Pipeline] sh 05:26:19 + 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=ad7e010f5db4368a96d4b2eba2d5eda65c192113 --label arch=arm64 --label version=0.0.0 . 05:26:20 Sending build context to Docker daemon 3.628MB 05:26:20 Step 1/24 : ARG BASE=golang:1.15-alpine 05:26:20 Step 2/24 : FROM ${BASE} AS builder 05:26:20 ---> 132d815a1802 05:26:20 Step 3/24 : ARG MAKE='make build' 05:26:20 ---> Running in 877093549f08 05:26:21 Removing intermediate container 877093549f08 05:26:21 ---> 35bb8a38eb24 05:26:21 Step 4/24 : WORKDIR /device-sdk-go 05:26:21 ---> Running in 540ec548894d 05:26:21 Removing intermediate container 540ec548894d 05:26:21 ---> 73ed890b5283 05:26:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:26:21 ---> Running in bde220acdb73 05:26:22 Removing intermediate container bde220acdb73 05:26:22 ---> 01cb96bf9563 05:26:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:26:22 ---> Running in 3810488e792e 05:26:25 Removing intermediate container 3810488e792e 05:26:25 ---> 26715f5a4df9 05:26:25 Step 7/24 : RUN apk add --update --no-cache make git 05:26:25 ---> Running in 71f057e71f52 05:26:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:26:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:26:28 OK: 142 MiB in 39 packages 05:26:29 Removing intermediate container 71f057e71f52 05:26:29 ---> d775410a02e3 05:26:29 Step 8/24 : COPY . . 05:26:30 ---> 4788d7f5f33e 05:26:30 Step 9/24 : RUN ${MAKE} 05:26:30 ---> Running in abb610cf35b4 05:26:32 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:26:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:26:58 Removing intermediate container abb610cf35b4 05:26:58 ---> 89185672bb4f 05:26:58 Step 10/24 : FROM scratch 05:26:58 ---> 05:26:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:26:58 ---> Running in 64d71bb43331 05:26:59 Removing intermediate container 64d71bb43331 05:26:59 ---> 85183cfd628e 05:26:59 Step 12/24 : ENV APP_PORT=49990 05:26:59 ---> Running in 9866bc667f14 05:26:59 Removing intermediate container 9866bc667f14 05:26:59 ---> fecc45f174e9 05:26:59 Step 13/24 : EXPOSE $APP_PORT 05:26:59 ---> Running in 828b3e748e59 05:27:00 Removing intermediate container 828b3e748e59 05:27:00 ---> 952dc0381483 05:27:00 Step 14/24 : WORKDIR / 05:27:00 ---> Running in 2a380dc856a6 05:27:00 Removing intermediate container 2a380dc856a6 05:27:00 ---> f611d883415c 05:27:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:27:01 ---> d15def8e6a94 05:27:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:27:02 ---> d499fa5298a0 05:27:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:27:03 ---> c266f9659558 05:27:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:27:04 ---> 1f0b1a34a8cc 05:27:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:27:05 ---> 5ecfa8c65a96 05:27:05 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:27:05 ---> Running in 404d20d3d1fe 05:27:05 Removing intermediate container 404d20d3d1fe 05:27:05 ---> 65ea68d45b95 05:27:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:27:05 ---> Running in 4c9026b6e3a4 05:27:06 Removing intermediate container 4c9026b6e3a4 05:27:06 ---> 0db2a4d8d239 05:27:06 Step 22/24 : LABEL arch=arm64 05:27:06 ---> Running in 18ac13e708f2 05:27:06 Removing intermediate container 18ac13e708f2 05:27:06 ---> 6f7d464f0c1c 05:27:06 Step 23/24 : LABEL git_sha=ad7e010f5db4368a96d4b2eba2d5eda65c192113 05:27:06 ---> Running in ecc5cbf2d878 05:27:07 Removing intermediate container ecc5cbf2d878 05:27:07 ---> 46f42f953c3c 05:27:07 Step 24/24 : LABEL version=0.0.0 05:27:07 ---> Running in b5964032afb6 05:27:08 Removing intermediate container b5964032afb6 05:27:08 ---> 3a3b497cee50 05:27:08 [Warning] One or more build-args [ARCH] were not consumed 05:27:08 Successfully built 3a3b497cee50 05:27:08 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:27:10 provisioning config files... 05:27:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/config9092539777692985882tmp [Pipeline] { [Pipeline] sh 05:27:10 + set +x 05:27:10 + curl -s https://codecov.io/bash 05:27:10 + bash -s -- 05:27:11 05:27:11 _____ _ 05:27:11 / ____| | | 05:27:11 | | ___ __| | ___ ___ _____ __ 05:27:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:27:11 | |___| (_) | (_| | __/ (_| (_) \ V / 05:27:11 \_____\___/ \__,_|\___|\___\___/ \_/ 05:27:11 Bash-20200917-4e8f14b 05:27:11 05:27:11 05:27:11 ==> Jenkins CI detected. 05:27:11 project root: . 05:27:11 Fixing merge commit SHA 05:27:11 --> token set from env 05:27:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:27:11 ==> Running gcov in . (disable via -X gcov) 05:27:11 ==> Python coveragepy not found 05:27:11 ==> Searching for coverage reports in: 05:27:11 + . 05:27:11 -> Found 1 reports 05:27:11 ==> Detecting git/mercurial file structure 05:27:11 ==> Reading reports 05:27:11 + ./coverage.out bytes=111040 05:27:11 ==> Appending adjustments 05:27:11 https://docs.codecov.io/docs/fixing-reports 05:27:11 + Found adjustments 05:27:11 ==> Gzipping contents 05:27:11 ==> Uploading reports 05:27:11 url: https://codecov.io 05:27:11 query: branch=PR-613&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-613%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=613&job=&cmd_args= 05:27:11 -> Pinging Codecov 05:27:11 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-613&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-613%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=613&job=&cmd_args= 05:27:12 -> Uploading to 05:27:12 https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/51b10ba24d09b5e22132647652f16c288a0af487/9c726842-cff0-4e58-9396-2fcb40647f01.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T052712Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ef75c7f62016ec4b2c5560f46e719d17ab7cfb9862b3ea9b1b1185239970467 05:27:12 % Total % Received % Xferd Average Speed Time Time Time Current 05:27:12 Dload Upload Total Spent Left Speed 05:27:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18300 0 0 100 18300 0 34997 --:--:-- --:--:-- --:--:-- 34990 05:27:12 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/51b10ba24d09b5e22132647652f16c288a0af487 [Pipeline] } 05:27:12 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:27:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:27:16 ---> package-listing.sh 05:27:16 ++ tr '[:upper:]' '[:lower:]' 05:27:16 ++ facter osfamily 05:27:16 + OS_FAMILY=redhat 05:27:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-613 05:27:16 + START_PACKAGES=/tmp/packages_start.txt 05:27:16 + END_PACKAGES=/tmp/packages_end.txt 05:27:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:27:16 + PACKAGES=/tmp/packages_start.txt 05:27:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-613 ']' 05:27:16 + PACKAGES=/tmp/packages_end.txt 05:27:16 + case "${OS_FAMILY}" in 05:27:16 + rpm -qa 05:27:16 + sort 05:27:25 + '[' -f /tmp/packages_start.txt ']' 05:27:25 + '[' -f /tmp/packages_end.txt ']' 05:27:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:27:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-613 ']' 05:27:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-613/archives/ 05:27:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-613/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:25 provisioning config files... 05:27:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/config3038988718648699677tmp [Pipeline] { [Pipeline] echo 05:27:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:27:25 ---> create-netrc.sh [Pipeline] } 05:27:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:27:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:27:26 ---> python-tools-install.sh 05:27:26 Generating Requirements File 05:29:03 Python 3.6.8 05:29:03 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 05:29:03 appdirs==1.4.3 05:29:03 argcomplete==1.12.1 05:29:03 aspy.yaml==1.3.0 05:29:03 attrs==19.3.0 05:29:03 Babel==2.8.0 05:29:03 beautifulsoup4==4.8.2 05:29:03 boto3==1.11.6 05:29:03 botocore==1.14.6 05:29:03 bs4==0.0.1 05:29:03 cachetools==4.1.1 05:29:03 certifi==2019.11.28 05:29:03 cffi==1.14.3 05:29:03 cfgv==2.0.1 05:29:03 chardet==3.0.4 05:29:03 click==7.1 05:29:03 cliff==3.4.0 05:29:03 cmd2==1.3.11 05:29:03 colorama==0.4.3 05:29:03 cryptography==3.1.1 05:29:03 debtcollector==2.2.0 05:29:03 decorator==4.4.2 05:29:03 defusedxml==0.6.0 05:29:03 Deprecated==1.2.7 05:29:03 distlib==0.3.1 05:29:03 distro==1.2.0 05:29:03 dnspython==1.16.0 05:29:03 docker==4.2.0 05:29:03 docutils==0.15.2 05:29:03 dogpile.cache==1.0.2 05:29:03 email-validator==1.0.5 05:29:03 filelock==3.0.12 05:29:03 future==0.18.2 05:29:03 google-auth==1.22.1 05:29:03 httplib2==0.17.0 05:29:03 identify==1.4.11 05:29:03 idna==2.9 05:29:03 importlib-metadata==1.7.0 05:29:03 importlib-resources==1.5.0 05:29:03 iso8601==0.1.13 05:29:03 Jinja2==2.11.1 05:29:03 jmespath==0.10.0 05:29:03 jsonpatch==1.26 05:29:03 jsonpointer==2.0 05:29:03 jsonschema==3.2.0 05:29:03 keystoneauth1==4.2.1 05:29:03 kubernetes==11.0.0 05:29:03 lftools==0.34.2 05:29:03 lxml==4.5.0 05:29:03 MarkupSafe==0.23 05:29:03 msgpack==1.0.0 05:29:03 multi-key-dict==2.0.3 05:29:03 munch==2.5.0 05:29:03 netaddr==0.8.0 05:29:03 netifaces==0.10.9 05:29:03 niet==1.4.2 05:29:03 nodeenv==1.3.5 05:29:03 oauth2client==4.1.3 05:29:03 oauthlib==3.1.0 05:29:03 openstacksdk==0.50.0 05:29:03 os-client-config==2.1.0 05:29:03 os-service-types==1.7.0 05:29:03 osc-lib==2.2.1 05:29:03 oslo.config==8.3.2 05:29:03 oslo.context==3.1.1 05:29:03 oslo.i18n==5.0.1 05:29:03 oslo.log==4.4.0 05:29:03 oslo.serialization==4.0.1 05:29:03 oslo.utils==4.6.0 05:29:03 packaging==20.4 05:29:03 pbr==5.4.4 05:29:03 pluggy==0.13.1 05:29:03 prettytable==0.7.2 05:29:03 py==1.9.0 05:29:03 pyasn1==0.4.8 05:29:03 pyasn1-modules==0.2.8 05:29:03 pycparser==2.20 05:29:03 pygerrit2==2.0.10 05:29:03 PyGithub==1.46 05:29:03 pyinotify==0.9.6 05:29:03 PyJWT==1.7.1 05:29:03 pyparsing==2.4.7 05:29:03 pyperclip==1.8.0 05:29:03 pyroute2==0.4.13 05:29:03 pyrsistent==0.15.7 05:29:03 PySocks==1.6.8 05:29:03 python-cinderclient==7.2.0 05:29:03 python-dateutil==2.8.1 05:29:03 python-heatclient==2.2.1 05:29:03 python-jenkins==1.7.0 05:29:03 python-keystoneclient==4.1.1 05:29:03 python-magnumclient==3.2.1 05:29:03 python-novaclient==17.2.1 05:29:03 python-openstackclient==5.4.0 05:29:03 python-swiftclient==3.10.1 05:29:03 pytz==2020.1 05:29:03 PyYAML==5.3 05:29:03 requests==2.23.0 05:29:03 requests-oauthlib==1.3.0 05:29:03 requestsexceptions==1.4.0 05:29:03 rfc3986==1.4.0 05:29:03 rpm==4.11.3 05:29:03 rsa==4.0 05:29:03 ruamel.yaml==0.16.10 05:29:03 ruamel.yaml.clib==0.2.0 05:29:03 s3transfer==0.3.3 05:29:03 shade==1.27.2 05:29:03 simplejson==3.17.2 05:29:03 six==1.14.0 05:29:03 soupsieve==2.0 05:29:03 stevedore==3.2.2 05:29:03 tabulate==0.8.6 05:29:03 toml==0.10.0 05:29:03 tox==3.20.0 05:29:03 tqdm==4.43.0 05:29:03 urllib3==1.25.8 05:29:03 virtualenv==20.0.33 05:29:03 wcwidth==0.2.5 05:29:03 websocket-client==0.57.0 05:29:03 wrapt==1.12.1 05:29:03 xdg==3.0.2 05:29:03 xmltodict==0.12.0 05:29:03 yq==2.11.1 05:29:03 zipp==3.3.0 05:29:04 Cache entry deserialization failed, entry ignored 05:29:08 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:29:12 Python 2.7.5 05:29:12 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 05:29:13 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:29:13 ansible==2.9.7 05:29:13 Babel==0.9.6 05:29:13 backports.ssl-match-hostname==3.5.0.1 05:29:13 beautifulsoup4==4.4.1 05:29:13 bodhi==2.11.0 05:29:13 bodhi-client==2.11.0 05:29:13 CCColUtils==1.4 05:29:13 cffi==1.6.0 05:29:13 chardet==2.2.1 05:29:13 click==6.7 05:29:13 cloud-init==18.5 05:29:13 configobj==4.7.2 05:29:13 cryptography==1.7.2 05:29:13 decorator==3.4.0 05:29:13 distro==1.2.0 05:29:13 enum34==1.0.4 05:29:13 fedpkg==1.38 05:29:13 futures==3.1.1 05:29:13 gitdb==0.6.4 05:29:13 GitPython==1.0.1 05:29:13 html5lib==0.999 05:29:13 httplib2==0.9.2 05:29:13 idna==2.4 05:29:13 iniparse==0.4 05:29:13 ipaddress==1.0.16 05:29:13 IPy==0.75 05:29:13 javapackages==1.0.0 05:29:13 Jinja2==2.7.2 05:29:13 jmespath==0.9.4 05:29:13 jsonpatch==1.2 05:29:13 jsonpointer==1.9 05:29:13 kerberos==1.1 05:29:13 kitchen==1.1.1 05:29:13 langtable==0.0.31 05:29:13 lockfile==0.9.1 05:29:13 lxml==3.2.1 05:29:13 MarkupSafe==0.11 05:29:13 munch==2.0.2 05:29:13 offtrac==0.1.0 05:29:13 openidc-client==0.6.0 05:29:13 packagedb-cli==2.14.1 05:29:13 paramiko==2.1.1 05:29:13 perf==0.1 05:29:13 ply==3.4 05:29:13 policycoreutils-default-encoding==0.1 05:29:13 prettytable==0.7.2 05:29:13 pyasn1==0.1.9 05:29:13 pycparser==2.14 05:29:13 pycurl==7.19.0 05:29:13 pygobject==3.22.0 05:29:13 pygpgme==0.3 05:29:13 pyliblzma==0.5.3 05:29:13 pyOpenSSL==0.13.1 05:29:13 pyparsing==1.5.6 05:29:13 pyserial==2.6 05:29:13 python-augeas==0.5.0 05:29:13 python-bugzilla==2.3.0 05:29:13 python-dateutil==1.5 05:29:13 python-fedora==0.10.0 05:29:13 python-linux-procfs==0.4.9 05:29:13 python-yubico==1.2.3 05:29:13 pyudev==0.15 05:29:13 pyusb==1.0.0b1 05:29:13 pyxattr==0.5.1 05:29:13 PyYAML==3.10 05:29:13 requests==2.6.0 05:29:13 requests-kerberos==0.7.0 05:29:13 rpkg==1.60 05:29:13 schedutils==0.4 05:29:13 seobject==0.1 05:29:13 sepolicy==1.1 05:29:13 six==1.9.0 05:29:13 smmap==0.9.0 05:29:13 urlgrabber==3.10 05:29:13 urllib3==1.10.2 05:29:13 virtualenv==15.1.0 05:29:13 yum-langpacks==0.4.2 05:29:13 yum-metadata-parser==1.1.4 [Pipeline] echo 05:29:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:29:13 ---> sudo-logs.sh 05:29:13 Archiving 'sudo' log.. [Pipeline] echo 05:29:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:29:15 ---> job-cost.sh 05:29:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MqCj 05:29:30 Cache entry deserialization failed, entry ignored 05:29:30 Cache entry deserialization failed, entry ignored 05:29:30 Cache entry deserialization failed, entry ignored 05:29:30 Cache entry deserialization failed, entry ignored 05:29:30 Cache entry deserialization failed, entry ignored 05:29:30 Cache entry deserialization failed, entry ignored 05:29:30 Cache entry deserialization failed, entry ignored 05:29:31 Cache entry deserialization failed, entry ignored 05:29:31 Cache entry deserialization failed, entry ignored 05:29:31 Cache entry deserialization failed, entry ignored 05:29:31 Cache entry deserialization failed, entry ignored 05:29:31 Cache entry deserialization failed, entry ignored 05:29:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:30:14 lf-activate-venv(): INFO: Adding /tmp/venv-MqCj/bin to PATH 05:30:14 INFO: No Stack... 05:30:15 INFO: Retrieving Pricing Info for: v1-standard-2 05:30:16 INFO: Archiving Costs [Pipeline] echo 05:30:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:30:16 ---> logs-deploy.sh 05:30:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-613/2 05:30:16 INFO: archiving workspace using pattern(s): 05:30:19 Archives upload complete. 05:30:19 INFO: archiving logs to Nexus