Pull request #605 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a544bf50c5d948c619930f4b3c273d7df07b4b86+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (603425c40203a7bbd7f0faa7c29b13e28a93bbf3) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5380 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a544bf50c5d948c619930f4b3c273d7df07b4b86 Merge succeeded, producing a544bf50c5d948c619930f4b3c273d7df07b4b86 Checking out Revision a544bf50c5d948c619930f4b3c273d7df07b4b86 (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 Commit message: "feat(sdk): delete unused profile in callback" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:01:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 7362c5a394dc75f394f886bec3dc4856d1c01bde # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:01:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:01:43 ========================================================= 10:01:43 EdgeX Global Pipelines Version Info 10:01:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:01:45 ------------------- 10:01:45 stable info: 10:01:45 ------------------- 10:01:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:01:45 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 10:01:45 Message: update stable to v1.0.131 10:01:46 ------------------- 10:01:46 experimental info: 10:01:46 ------------------- 10:01:46 Commited By: **** collab-it+edgex@linuxfoundation.org 10:01:46 Commit SHA: a2275391807e67b7600a554c2b5f26031cb9c010 10:01:46 Message: update experimental to v1.0.141 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:01:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:01:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:01:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo 10:01:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo 10:01:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo 10:01:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a544bf50c5d948c619930f4b3c273d7df07b4b86 [Pipeline] echo 10:01:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a544bf5 [Pipeline] echo 10:01:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:50 + git log --format=format:%s -1 a544bf50c5d948c619930f4b3c273d7df07b4b86 [Pipeline] echo 10:01:50 GIT_COMMIT: a544bf50c5d948c619930f4b3c273d7df07b4b86, Commit Message: feat(sdk): delete unused profile in callback [Pipeline] echo 10:01:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:01:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:51 10:01:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:01:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:51 latest: Pulling from edgex-devops/git-semver 10:01:51 31603596830f: Pulling fs layer 10:01:51 2a8b12db71e7: Pulling fs layer 10:01:51 6ca5941a6612: Pulling fs layer 10:01:51 ecc8261a40a4: Pulling fs layer 10:01:51 ecc8261a40a4: Waiting 10:01:51 2a8b12db71e7: Download complete 10:01:51 31603596830f: Verifying Checksum 10:01:51 31603596830f: Download complete 10:01:51 ecc8261a40a4: Verifying Checksum 10:01:51 ecc8261a40a4: Download complete 10:01:51 6ca5941a6612: Verifying Checksum 10:01:51 6ca5941a6612: Download complete 10:01:51 31603596830f: Pull complete 10:01:51 2a8b12db71e7: Pull complete 10:01:52 6ca5941a6612: Pull complete 10:01:52 ecc8261a40a4: Pull complete 10:01:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:01:53 prd-centos7-docker-4c-2g-5380 does not seem to be running inside a container 10:01:53 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:01:54 $ docker top 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:01:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:55 [ssh-agent] Looking for ssh-agent implementation... 10:01:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:55 $ docker exec 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 ssh-agent 10:01:55 SSH_AUTH_SOCK=/tmp/ssh-MQYUYS1exp9G/agent.12 10:01:55 SSH_AGENT_PID=17 10:01:55 Running ssh-add (command line suppressed) 10:01:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6827838984975649018.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6827838984975649018.key) 10:01:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:55 + git describe --exact-match --tags HEAD 10:01:55 fatal: no tag exactly matches 'a544bf50c5d948c619930f4b3c273d7df07b4b86' [Pipeline] } 10:01:55 $ docker exec --env ******** --env ******** 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 ssh-agent -k 10:01:56 unset SSH_AUTH_SOCK; 10:01:56 unset SSH_AGENT_PID; 10:01:56 echo Agent pid 17 killed; 10:01:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:01:56 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:01:56 This usually means this commit has not been tagged. [Pipeline] sshagent 10:01:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:56 [ssh-agent] Looking for ssh-agent implementation... 10:01:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:56 $ docker exec 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 ssh-agent 10:01:56 SSH_AUTH_SOCK=/tmp/ssh-IUVkSCiCcsXB/agent.47 10:01:56 SSH_AGENT_PID=52 10:01:56 Running ssh-add (command line suppressed) 10:01:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_5286645873557452281.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_5286645873557452281.key) 10:01:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:57 + git semver init 10:01:57 # -> Open(): unable to determine branch for HEAD 10:01:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git 10:01:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 10:01:57 # $SEMVER_REMOTE_NAME = origin 10:01:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:01:57 # $SEMVER_USER_NAME = edgex-jenkins 10:01:57 # $SEMVER_BRANCH = PR-605 10:01:57 # $SEMVER_TEMP = /tmp/semver-002375439 10:01:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:01:57 # '/tmp/semver-002375439' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' 10:01:57 # -> Force: false 10:01:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } 10:01:57 $ docker exec --env ******** --env ******** 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 ssh-agent -k 10:01:57 unset SSH_AUTH_SOCK; 10:01:57 unset SSH_AGENT_PID; 10:01:57 echo Agent pid 52 killed; 10:01:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:01:58 + git semver [Pipeline] } 10:01:58 $ docker stop --time=1 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 10:01:59 $ docker rm -f 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:02:00 Stashed 49 file(s) [Pipeline] echo 10:02:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 10:02:00 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 10:02:16 Still waiting to schedule task 10:02:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:02:16 Still waiting to schedule task 10:02:16 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 10:05:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5382 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 10:05:03 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 10:05:09 using credential edgex-jenkins-ssh 10:05:09 Cloning the remote Git repository 10:05:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:05:09 > git init /w/workspace/device-sdk-go/14 # timeout=10 10:05:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:05:09 > git --version # timeout=10 10:05:09 > git --version # 'git version 2.17.1' 10:05:09 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:05:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:05:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:05:11 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:05:11 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a544bf50c5d948c619930f4b3c273d7df07b4b86 10:05:12 Merge succeeded, producing a544bf50c5d948c619930f4b3c273d7df07b4b86 10:05:12 Checking out Revision a544bf50c5d948c619930f4b3c273d7df07b4b86 (PR-605) 10:05:11 > git config core.sparsecheckout # timeout=10 10:05:11 > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 10:05:11 > git remote # timeout=10 10:05:11 > git config --get remote.origin.url # timeout=10 10:05:12 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:12 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 10:05:12 > git rev-parse HEAD^{commit} # timeout=10 10:05:12 > git config core.sparsecheckout # timeout=10 10:05:12 > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 10:05:16 Commit message: "feat(sdk): delete unused profile in callback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:05:18 ========================================================= 10:05:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:05:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:05:19 + 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 . 10:05:20 Sending build context to Docker daemon 3.653MB 10:05:20 Step 1/8 : ARG BASE=golang:1.15-alpine 10:05:20 Step 2/8 : FROM ${BASE} 10:05:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:05:20 b538f80385f9: Pulling fs layer 10:05:20 74f711af9a0d: Pulling fs layer 10:05:20 99f96fe45779: Pulling fs layer 10:05:20 8529a6b9a6be: Pulling fs layer 10:05:20 45590311c82a: Pulling fs layer 10:05:20 69ca0ff8b7b3: Pulling fs layer 10:05:20 209524e5b208: Pulling fs layer 10:05:20 45590311c82a: Waiting 10:05:20 8529a6b9a6be: Waiting 10:05:20 69ca0ff8b7b3: Waiting 10:05:20 209524e5b208: Waiting 10:05:20 99f96fe45779: Verifying Checksum 10:05:20 99f96fe45779: Download complete 10:05:20 74f711af9a0d: Verifying Checksum 10:05:20 74f711af9a0d: Download complete 10:05:20 45590311c82a: Download complete 10:05:20 69ca0ff8b7b3: Download complete 10:05:20 b538f80385f9: Verifying Checksum 10:05:20 b538f80385f9: Download complete 10:05:21 b538f80385f9: Pull complete 10:05:22 74f711af9a0d: Pull complete 10:05:22 99f96fe45779: Pull complete 10:05:23 209524e5b208: Download complete 10:05:25 8529a6b9a6be: Verifying Checksum 10:05:25 8529a6b9a6be: Download complete 10:05:27 Running on prd-centos7-docker-4c-2g-5384 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 10:05:27 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 10:05:29 using credential edgex-jenkins-ssh 10:05:29 Cloning the remote Git repository 10:05:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:05:29 > git init /w/workspace/device-sdk-go/14 # timeout=10 10:05:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:05:29 > git --version # timeout=10 10:05:29 > git --version # 'git version 2.16.5' 10:05:29 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:05:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:05:31 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a544bf50c5d948c619930f4b3c273d7df07b4b86 10:05:31 Merge succeeded, producing a544bf50c5d948c619930f4b3c273d7df07b4b86 10:05:31 Checking out Revision a544bf50c5d948c619930f4b3c273d7df07b4b86 (PR-605) 10:05:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:05:30 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:05:31 > git config core.sparsecheckout # timeout=10 10:05:31 > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 10:05:31 > git remote # timeout=10 10:05:31 > git config --get remote.origin.url # timeout=10 10:05:31 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:31 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 10:05:31 > git rev-parse HEAD^{commit} # timeout=10 10:05:31 > git config core.sparsecheckout # timeout=10 10:05:31 > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 10:05:34 Commit message: "feat(sdk): delete unused profile in callback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 10:05:35 8529a6b9a6be: Pull complete [Pipeline] unstash 10:05:35 45590311c82a: Pull complete [Pipeline] echo 10:05:35 ========================================================= 10:05:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:05:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:05:36 69ca0ff8b7b3: Pull complete 10:05: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 . 10:05:36 Sending build context to Docker daemon 3.652MB 10:05:36 Step 1/8 : ARG BASE=golang:1.15-alpine 10:05:36 Step 2/8 : FROM ${BASE} 10:05:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:05:36 df20fa9351a1: Pulling fs layer 10:05:36 ed8968b2872e: Pulling fs layer 10:05:36 a92cc7c5fd73: Pulling fs layer 10:05:36 e871e8e8d7a9: Pulling fs layer 10:05:36 e73272ec9a57: Pulling fs layer 10:05:36 1e910a182e73: Pulling fs layer 10:05:36 4e634b169226: Pulling fs layer 10:05:36 e871e8e8d7a9: Waiting 10:05:36 e73272ec9a57: Waiting 10:05:36 4e634b169226: Waiting 10:05:36 1e910a182e73: Waiting 10:05:36 a92cc7c5fd73: Verifying Checksum 10:05:36 a92cc7c5fd73: Download complete 10:05:36 ed8968b2872e: Verifying Checksum 10:05:36 ed8968b2872e: Download complete 10:05:36 e73272ec9a57: Verifying Checksum 10:05:36 e73272ec9a57: Download complete 10:05:36 1e910a182e73: Download complete 10:05:36 df20fa9351a1: Verifying Checksum 10:05:36 df20fa9351a1: Download complete 10:05:37 df20fa9351a1: Pull complete 10:05:37 ed8968b2872e: Pull complete 10:05:37 a92cc7c5fd73: Pull complete 10:05:39 4e634b169226: Verifying Checksum 10:05:39 4e634b169226: Download complete 10:05:39 e871e8e8d7a9: Verifying Checksum 10:05:39 e871e8e8d7a9: Download complete 10:05:40 209524e5b208: Pull complete 10:05:40 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 10:05:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:05:40 ---> 5bddaf1c2fca 10:05:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:05:43 ---> Running in b5edb00abca0 10:05:43 Removing intermediate container b5edb00abca0 10:05:43 ---> 9f2422c04b7d 10:05:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:43 ---> Running in 047c843d1642 10:05:45 e871e8e8d7a9: Pull complete 10:05:45 e73272ec9a57: Pull complete 10:05:45 1e910a182e73: Pull complete 10:05:47 Removing intermediate container 047c843d1642 10:05:47 ---> 5814ac8a5f87 10:05:47 Step 5/8 : RUN apk add --no-cache make git 10:05:47 ---> Running in d531b54e2738 10:05:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:05:49 4e634b169226: Pull complete 10:05:49 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 10:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:05:49 ---> f7629b54cfaa 10:05:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:05:49 ---> Running in c97066d5c2cc 10:05:49 Removing intermediate container c97066d5c2cc 10:05:49 ---> 5712259109b9 10:05:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:05:49 ---> Running in 3d4608de4466 10:05:50 Removing intermediate container 3d4608de4466 10:05:50 ---> 64e9b5304558 10:05:50 Step 5/8 : RUN apk add --no-cache make git 10:05:50 ---> Running in 7d4c26a7f986 10:05:51 OK: 142 MiB in 39 packages 10:05:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:05:52 Removing intermediate container d531b54e2738 10:05:52 ---> d844029e0609 10:05:52 Step 6/8 : WORKDIR /device-sdk-go 10:05:52 ---> Running in cfa6c83f9efd 10:05:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:05:53 Removing intermediate container cfa6c83f9efd 10:05:53 ---> c52e6425f329 10:05:53 Step 7/8 : COPY . . 10:05:53 OK: 166 MiB in 39 packages 10:05:53 Removing intermediate container 7d4c26a7f986 10:05:53 ---> 31123277e22c 10:05:53 Step 6/8 : WORKDIR /device-sdk-go 10:05:53 ---> Running in c5a97a31715b 10:05:54 Removing intermediate container c5a97a31715b 10:05:54 ---> 39aebc33486c 10:05:54 Step 7/8 : COPY . . 10:05:55 ---> c36532531dd3 10:05:55 Step 8/8 : RUN go mod download 10:05:55 ---> Running in 0b33033bbf2d 10:05:55 ---> b7d9133b7573 10:05:55 Step 8/8 : RUN go mod download 10:05:55 ---> Running in 4d9cfeadf4f9 10:06:13 Removing intermediate container 4d9cfeadf4f9 10:06:13 ---> 2f43436b379a 10:06:13 Successfully built 2f43436b379a 10:06:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:06:14 + docker inspect -f . ci-base-image-x86_64 10:06:14 . [Pipeline] withDockerContainer 10:06:14 prd-centos7-docker-4c-2g-5384 does not seem to be running inside a container 10:06:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:06:15 $ docker top bb627fb15f67a2d44d8bbe9b95f36605313c954de9fdc9dac5fa02a68efaa77a -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:15 + go version 10:06:15 go version go1.15.2 linux/amd64 [Pipeline] } 10:06:15 $ docker stop --time=1 bb627fb15f67a2d44d8bbe9b95f36605313c954de9fdc9dac5fa02a68efaa77a 10:06:17 $ docker rm -f bb627fb15f67a2d44d8bbe9b95f36605313c954de9fdc9dac5fa02a68efaa77a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:06:18 + docker inspect -f . ci-base-image-x86_64 10:06:18 . [Pipeline] withDockerContainer 10:06:18 prd-centos7-docker-4c-2g-5384 does not seem to be running inside a container 10:06:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:06:18 $ docker top dd79c560f8ab4d87600cfd8b028975699b5945c35cc879c37f87e7fd8177cd7f -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:19 + make test 10:06:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:06:21 Removing intermediate container 0b33033bbf2d 10:06:21 ---> 3e70f40136e3 10:06:21 Successfully built 3e70f40136e3 10:06:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:06:22 + docker inspect -f . ci-base-image-arm64 10:06:22 . [Pipeline] withDockerContainer 10:06:22 prd-ubuntu18.04-docker-arm64-4c-16g-5382 does not seem to be running inside a container 10:06:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:25 $ docker top 89c35bc39fc6d319f2654aaf65d11042fc9eede4d5499aff799308367aed1a0e -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:26 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:06:26 + go version 10:06:26 go version go1.15.2 linux/arm64 [Pipeline] } 10:06:26 $ docker stop --time=1 89c35bc39fc6d319f2654aaf65d11042fc9eede4d5499aff799308367aed1a0e 10:06:28 $ docker rm -f 89c35bc39fc6d319f2654aaf65d11042fc9eede4d5499aff799308367aed1a0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:06:29 + docker inspect -f . ci-base-image-arm64 10:06:29 . [Pipeline] withDockerContainer 10:06:30 prd-ubuntu18.04-docker-arm64-4c-16g-5382 does not seem to be running inside a container 10:06:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:32 $ docker top 0e7bca1a32ff487820a0e55a4b0f5ce4f8067d69ae5dac56ba3c4c2e0b59d873 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:33 + make test 10:06:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:06:41 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:06:41 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:06:41 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:06:41 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.6% of statements 10:06:41 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 97.1% of statements 10:07:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:07:13 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 10:07:13 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:07:13 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.203s coverage: 41.5% of statements 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:07:13 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.258s coverage: 68.9% of statements 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:07:13 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 10:07:13 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:07:13 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.614s coverage: 68.9% of statements 10:07:13 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:07:13 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:07:13 GO111MODULE=on go vet ./... 10:07:19 gofmt -l . 10:07:19 [ "`gofmt -l .`" = "" ] 10:07:19 ./bin/test-attribution-txt.sh 10:07:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:07:20 Stashed 1 file(s) [Pipeline] } 10:07:20 $ docker stop --time=1 dd79c560f8ab4d87600cfd8b028975699b5945c35cc879c37f87e7fd8177cd7f 10:07:22 $ docker rm -f dd79c560f8ab4d87600cfd8b028975699b5945c35cc879c37f87e7fd8177cd7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:07:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:07:26 + ls -al . 10:07:26 total 188 10:07:26 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 14 10:07 . 10:07:26 drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 10:05 .. 10:07:26 drwxrwxr-x. 2 jenkins jenkins 64 Oct 14 10:05 bin 10:07:26 -rw-r--r--. 1 jenkins jenkins 110397 Oct 14 10:07 coverage.out 10:07:26 -rw-rw-r--. 1 jenkins jenkins 936 Oct 14 10:05 Dockerfile.build 10:07:26 -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 10:05 .dockerignore 10:07:26 drwxrwxr-x. 4 jenkins jenkins 48 Oct 14 10:05 example 10:07:26 drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 10:05 .git 10:07:26 drwxrwxr-x. 2 jenkins jenkins 60 Oct 14 10:05 .github 10:07:26 -rw-rw-r--. 1 jenkins jenkins 138 Oct 14 10:05 .gitignore 10:07:26 -rw-r--r--. 1 jenkins jenkins 517 Oct 14 10:07 go.mod 10:07:26 -rw-r--r--. 1 jenkins jenkins 13652 Oct 14 10:07 go.sum 10:07:26 drwxrwxr-x. 15 jenkins jenkins 211 Oct 14 10:05 internal 10:07:26 -rw-rw-r--. 1 jenkins jenkins 901 Oct 14 10:05 Jenkinsfile 10:07:26 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 10:05 LICENSE 10:07:26 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 14 10:05 Makefile 10:07:26 drwxrwxr-x. 4 jenkins jenkins 26 Oct 14 10:05 openapi 10:07:26 drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 10:05 pkg 10:07:26 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 14 10:05 README.md 10:07:26 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 14 10:05 RELEASE-NOTES.txt 10:07:26 drwxrwxr-x. 3 jenkins jenkins 58 Oct 14 10:05 .semver 10:07:26 drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 10:05 snap 10:07:26 -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 10:01 VERSION 10:07:26 -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 10:05 version.go [Pipeline] isUnix [Pipeline] sh 10:07:26 + 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=a544bf50c5d948c619930f4b3c273d7df07b4b86 --label arch=amd64 --label version=0.0.0 . 10:07:26 Sending build context to Docker daemon 3.763MB 10:07:26 Step 1/24 : ARG BASE=golang:1.15-alpine 10:07:26 Step 2/24 : FROM ${BASE} AS builder 10:07:26 ---> 2f43436b379a 10:07:26 Step 3/24 : ARG MAKE='make build' 10:07:27 ---> Running in 691ffdc204c9 10:07:27 Removing intermediate container 691ffdc204c9 10:07:27 ---> 392d301914a5 10:07:27 Step 4/24 : WORKDIR /device-sdk-go 10:07:27 ---> Running in 648973fd385b 10:07:27 Removing intermediate container 648973fd385b 10:07:27 ---> 256226e57456 10:07:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:07:28 ---> Running in cd99f01f16b2 10:07:28 Removing intermediate container cd99f01f16b2 10:07:28 ---> d969676d8c4b 10:07:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:07:28 ---> Running in b8edd891fdca 10:07:28 Removing intermediate container b8edd891fdca 10:07:28 ---> 172b9fab0974 10:07:28 Step 7/24 : RUN apk add --update --no-cache make git 10:07:29 ---> Running in 2c0cd8bea8a8 10:07:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:07:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:07:31 OK: 166 MiB in 39 packages 10:07:31 Removing intermediate container 2c0cd8bea8a8 10:07:31 ---> 4558cd89449d 10:07:31 Step 8/24 : COPY . . 10:07:33 ---> f5246797e965 10:07:33 Step 9/24 : RUN ${MAKE} 10:07:33 ---> Running in 4cd66acbc119 10:07:33 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 10:07:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:07:42 Removing intermediate container 4cd66acbc119 10:07:42 ---> 10f9ed633ae7 10:07:42 Step 10/24 : FROM scratch 10:07:42 ---> 10:07:42 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:07:42 ---> Running in f20dec988a46 10:07:42 Removing intermediate container f20dec988a46 10:07:42 ---> d9eef86b4573 10:07:42 Step 12/24 : ENV APP_PORT=49990 10:07:42 ---> Running in 2be89433f1a3 10:07:43 Removing intermediate container 2be89433f1a3 10:07:43 ---> 5f859220fb64 10:07:43 Step 13/24 : EXPOSE $APP_PORT 10:07:43 ---> Running in dce1ad1ae6e2 10:07:43 Removing intermediate container dce1ad1ae6e2 10:07:43 ---> 48fefd5e8cf6 10:07:43 Step 14/24 : WORKDIR / 10:07:43 ---> Running in 065c95f75b83 10:07:43 Removing intermediate container 065c95f75b83 10:07:43 ---> a91bb2bc4c0a 10:07:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:07:43 ---> 9a5a98aa7135 10:07:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:07:44 ---> 2289f42312ce 10:07:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:07:44 ---> 7b8899ec36ea 10:07:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:07:44 ---> ecf7c19d15dc 10:07:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:07:45 ---> 9594c44af930 10:07:45 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:07:45 ---> Running in cd9e96978b18 10:07:45 Removing intermediate container cd9e96978b18 10:07:45 ---> 457e7e1eef9d 10:07:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:07:45 ---> Running in cea9ab55829f 10:07:45 Removing intermediate container cea9ab55829f 10:07:45 ---> 15b2d8eb761a 10:07:45 Step 22/24 : LABEL arch=amd64 10:07:45 ---> Running in d92ffd4eab53 10:07:45 Removing intermediate container d92ffd4eab53 10:07:45 ---> fa403090fc09 10:07:45 Step 23/24 : LABEL git_sha=a544bf50c5d948c619930f4b3c273d7df07b4b86 10:07:46 ---> Running in c374957be957 10:07:46 Removing intermediate container c374957be957 10:07:46 ---> 7c76a881f7fb 10:07:46 Step 24/24 : LABEL version=0.0.0 10:07:46 ---> Running in c403113a52d2 10:07:46 Removing intermediate container c403113a52d2 10:07:46 ---> 027a383e318b 10:07:46 [Warning] One or more build-args [ARCH] were not consumed 10:07:46 Successfully built 027a383e318b 10:07:46 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] } 10:07:47 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:07:47 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:07:47 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:07:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.219s coverage: 21.6% of statements 10:07:53 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.267s coverage: 97.1% of statements 10:08:20 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.145s coverage: 9.4% of statements 10:08:20 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.9% of statements 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:08:20 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.675s coverage: 41.5% of statements 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:08:20 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.909s coverage: 68.9% of statements 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:08:20 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 52.6% of statements 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 10:08:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:08:20 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.245s coverage: 68.9% of statements 10:08:20 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:08:20 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:08:20 GO111MODULE=on go vet ./... 10:08:59 gofmt -l . 10:08:59 [ "`gofmt -l .`" = "" ] 10:08:59 ./bin/test-attribution-txt.sh 10:08:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:08:59 Warning: overwriting stash ‘coverage-report’ 10:09:00 Stashed 1 file(s) [Pipeline] } 10:09:00 $ docker stop --time=1 0e7bca1a32ff487820a0e55a4b0f5ce4f8067d69ae5dac56ba3c4c2e0b59d873 10:09:03 $ docker rm -f 0e7bca1a32ff487820a0e55a4b0f5ce4f8067d69ae5dac56ba3c4c2e0b59d873 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:09:05 + ls -al . 10:09:05 total 228 10:09:05 drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 10:08 . 10:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 10:05 .. 10:09:05 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 10:05 .dockerignore 10:09:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 10:05 .git 10:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 10:05 .github 10:09:05 -rw-rw-r-- 1 jenkins jenkins 138 Oct 14 10:05 .gitignore 10:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 10:05 .semver 10:09:05 -rw-rw-r-- 1 jenkins jenkins 936 Oct 14 10:05 Dockerfile.build 10:09:05 -rw-rw-r-- 1 jenkins jenkins 901 Oct 14 10:05 Jenkinsfile 10:09:05 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 10:05 LICENSE 10:09:05 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 14 10:05 Makefile 10:09:05 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 14 10:05 README.md 10:09:05 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 14 10:05 RELEASE-NOTES.txt 10:09:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 10:01 VERSION 10:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 10:05 bin 10:09:05 -rw-r--r-- 1 jenkins jenkins 110397 Oct 14 10:08 coverage.out 10:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 10:05 example 10:09:05 -rw-r--r-- 1 jenkins jenkins 517 Oct 14 10:08 go.mod 10:09:05 -rw-r--r-- 1 jenkins jenkins 13652 Oct 14 10:08 go.sum 10:09:05 drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 10:05 internal 10:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 10:05 openapi 10:09:05 drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 10:05 pkg 10:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 10:05 snap 10:09:05 -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 10:05 version.go [Pipeline] isUnix [Pipeline] sh 10:09:05 + 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=a544bf50c5d948c619930f4b3c273d7df07b4b86 --label arch=arm64 --label version=0.0.0 . 10:09:06 Sending build context to Docker daemon 3.764MB 10:09:06 Step 1/24 : ARG BASE=golang:1.15-alpine 10:09:06 Step 2/24 : FROM ${BASE} AS builder 10:09:06 ---> 3e70f40136e3 10:09:06 Step 3/24 : ARG MAKE='make build' 10:09:06 ---> Running in 968f2068e69f 10:09:07 Removing intermediate container 968f2068e69f 10:09:07 ---> c9dc9d73b37a 10:09:07 Step 4/24 : WORKDIR /device-sdk-go 10:09:07 ---> Running in 417697b8a8c2 10:09:08 Removing intermediate container 417697b8a8c2 10:09:08 ---> 145b01fae2cd 10:09:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:09:08 ---> Running in 1d1b2e4f4fa7 10:09:09 Removing intermediate container 1d1b2e4f4fa7 10:09:09 ---> 4d5c5bd500c4 10:09:09 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:09:09 ---> Running in 64fef3afff51 10:09:12 Removing intermediate container 64fef3afff51 10:09:12 ---> 81a95ecbd024 10:09:12 Step 7/24 : RUN apk add --update --no-cache make git 10:09:12 ---> Running in 009185a6778d 10:09:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:09:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:09:15 OK: 142 MiB in 39 packages 10:09:17 Removing intermediate container 009185a6778d 10:09:17 ---> 909ff1628f07 10:09:17 Step 8/24 : COPY . . 10:09:19 ---> b19a72ca76a7 10:09:19 Step 9/24 : RUN ${MAKE} 10:09:19 ---> Running in 762c1075a725 10:09:21 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 10:09:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:09:53 Removing intermediate container 762c1075a725 10:09:53 ---> aba594e79126 10:09:53 Step 10/24 : FROM scratch 10:09:53 ---> 10:09:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:09:53 ---> Running in eaa4757e1e85 10:09:53 Removing intermediate container eaa4757e1e85 10:09:53 ---> 46f7db26b083 10:09:53 Step 12/24 : ENV APP_PORT=49990 10:09:53 ---> Running in 063e4585317c 10:09:54 Removing intermediate container 063e4585317c 10:09:54 ---> 7196aaaf17c8 10:09:54 Step 13/24 : EXPOSE $APP_PORT 10:09:54 ---> Running in 235491c05c72 10:09:54 Removing intermediate container 235491c05c72 10:09:54 ---> c83415c430f1 10:09:54 Step 14/24 : WORKDIR / 10:09:54 ---> Running in 6b2bd1ada162 10:09:55 Removing intermediate container 6b2bd1ada162 10:09:55 ---> a2e2100dfa09 10:09:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:09:56 ---> 34fcf84c6e75 10:09:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:09:57 ---> d4053ebc6f57 10:09:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:09:57 ---> fa93261b8e00 10:09:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:09:58 ---> cccfc964642f 10:09:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:09:59 ---> cd416969184e 10:09:59 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:09:59 ---> Running in 14d8acd0da96 10:09:59 Removing intermediate container 14d8acd0da96 10:09:59 ---> 99de005ba54d 10:09:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:09:59 ---> Running in 834b5a9b5e71 10:10:00 Removing intermediate container 834b5a9b5e71 10:10:00 ---> c0d4221a240c 10:10:00 Step 22/24 : LABEL arch=arm64 10:10:00 ---> Running in af5fd270466e 10:10:01 Removing intermediate container af5fd270466e 10:10:01 ---> 9e423b1c536e 10:10:01 Step 23/24 : LABEL git_sha=a544bf50c5d948c619930f4b3c273d7df07b4b86 10:10:01 ---> Running in e825465d93a2 10:10:01 Removing intermediate container e825465d93a2 10:10:01 ---> 5b3015b46cd3 10:10:01 Step 24/24 : LABEL version=0.0.0 10:10:02 ---> Running in 1addf2bd5b05 10:10:02 Removing intermediate container 1addf2bd5b05 10:10:02 ---> a1ce07faf50b 10:10:02 [Warning] One or more build-args [ARCH] were not consumed 10:10:02 Successfully built a1ce07faf50b 10:10:02 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 10:10:05 provisioning config files... 10:10:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config2418803224246083501tmp [Pipeline] { [Pipeline] sh 10:10:05 + set +x 10:10:05 + curl -s https://codecov.io/bash 10:10:05 + bash -s -- 10:10:05 10:10:05 _____ _ 10:10:05 / ____| | | 10:10:05 | | ___ __| | ___ ___ _____ __ 10:10:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:10:05 | |___| (_) | (_| | __/ (_| (_) \ V / 10:10:05 \_____\___/ \__,_|\___|\___\___/ \_/ 10:10:05 Bash-20201009-048fee3 10:10:05 10:10:05 10:10:05 ==> Jenkins CI detected. 10:10:05 project root: . 10:10:05 --> token set from env 10:10:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:10:05 ==> Running gcov in . (disable via -X gcov) 10:10:05 ==> Python coveragepy not found 10:10:05 ==> Searching for coverage reports in: 10:10:05 + . 10:10:05 -> Found 1 reports 10:10:05 ==> Detecting git/mercurial file structure 10:10:05 ==> Reading reports 10:10:05 + ./coverage.out bytes=110397 10:10:05 ==> Appending adjustments 10:10:05 https://docs.codecov.io/docs/fixing-reports 10:10:06 + Found adjustments 10:10:06 ==> Gzipping contents 10:10:06 ==> Uploading reports 10:10:06 url: https://codecov.io 10:10:06 query: branch=PR-605&commit=a544bf50c5d948c619930f4b3c273d7df07b4b86&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 10:10:06 -> Pinging Codecov 10:10:06 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-605&commit=a544bf50c5d948c619930f4b3c273d7df07b4b86&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 10:10:06 -> Uploading to 10:10:06 10:10:06 % Total % Received % Xferd Average Speed Time Time Time Current 10:10:06 Dload Upload Total Spent Left Speed 10:10:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 10:10:06 X> Failed to upload 10:10:06 ==> Uploading to Codecov 10:10:06 % Total % Received % Xferd Average Speed Time Time Time Current 10:10:06 Dload Upload Total Spent Left Speed 10:10:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18809 100 110 100 18699 186 31686 --:--:-- --:--:-- --:--:-- 31693 10:10:07 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a544bf50c5d948c619930f4b3c273d7df07b4b86 [Pipeline] } 10:10:07 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 10:10:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:10:10 ---> package-listing.sh 10:10:10 ++ facter osfamily 10:10:10 ++ tr '[:upper:]' '[:lower:]' 10:10:10 + OS_FAMILY=redhat 10:10:10 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 10:10:10 + START_PACKAGES=/tmp/packages_start.txt 10:10:10 + END_PACKAGES=/tmp/packages_end.txt 10:10:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:10:10 + PACKAGES=/tmp/packages_start.txt 10:10:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 10:10:10 + PACKAGES=/tmp/packages_end.txt 10:10:10 + case "${OS_FAMILY}" in 10:10:10 + rpm -qa 10:10:10 + sort 10:10:14 + '[' -f /tmp/packages_start.txt ']' 10:10:14 + '[' -f /tmp/packages_end.txt ']' 10:10:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:10:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 10:10:14 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ 10:10:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:15 provisioning config files... 10:10:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config2371282693075034220tmp [Pipeline] { [Pipeline] echo 10:10:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:10:15 ---> create-netrc.sh [Pipeline] } 10:10:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:10:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:10:16 ---> python-tools-install.sh 10:10:16 Generating Requirements File 10:11:23 Python 3.6.8 10:11:23 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 10:11:23 appdirs==1.4.3 10:11:23 argcomplete==1.12.1 10:11:23 aspy.yaml==1.3.0 10:11:23 attrs==19.3.0 10:11:23 Babel==2.8.0 10:11:23 beautifulsoup4==4.8.2 10:11:23 boto3==1.11.6 10:11:23 botocore==1.14.6 10:11:23 bs4==0.0.1 10:11:23 cachetools==4.1.1 10:11:23 certifi==2019.11.28 10:11:23 cffi==1.14.3 10:11:23 cfgv==2.0.1 10:11:23 chardet==3.0.4 10:11:23 click==7.1 10:11:23 cliff==3.4.0 10:11:23 cmd2==1.3.11 10:11:23 colorama==0.4.4 10:11:23 cryptography==3.1.1 10:11:23 debtcollector==2.2.0 10:11:23 decorator==4.4.2 10:11:23 defusedxml==0.6.0 10:11:23 Deprecated==1.2.7 10:11:23 distlib==0.3.1 10:11:23 distro==1.2.0 10:11:23 dnspython==1.16.0 10:11:23 docker==4.2.0 10:11:23 docutils==0.15.2 10:11:23 dogpile.cache==1.0.2 10:11:23 email-validator==1.0.5 10:11:23 filelock==3.0.12 10:11:23 future==0.18.2 10:11:23 google-auth==1.22.1 10:11:23 httplib2==0.17.0 10:11:23 identify==1.4.11 10:11:23 idna==2.9 10:11:23 importlib-metadata==2.0.0 10:11:23 importlib-resources==1.5.0 10:11:23 iso8601==0.1.13 10:11:23 Jinja2==2.11.1 10:11:23 jmespath==0.10.0 10:11:23 jsonpatch==1.26 10:11:23 jsonpointer==2.0 10:11:23 jsonschema==3.2.0 10:11:23 keystoneauth1==4.2.1 10:11:23 kubernetes==11.0.0 10:11:23 lftools==0.34.2 10:11:23 lxml==4.5.0 10:11:23 MarkupSafe==0.23 10:11:23 msgpack==1.0.0 10:11:23 multi-key-dict==2.0.3 10:11:23 munch==2.5.0 10:11:23 netaddr==0.8.0 10:11:23 netifaces==0.10.9 10:11:23 niet==1.4.2 10:11:23 nodeenv==1.3.5 10:11:23 oauth2client==4.1.3 10:11:23 oauthlib==3.1.0 10:11:23 openstacksdk==0.50.0 10:11:23 os-client-config==2.1.0 10:11:23 os-service-types==1.7.0 10:11:23 osc-lib==2.2.1 10:11:23 oslo.config==8.3.2 10:11:23 oslo.context==3.1.1 10:11:23 oslo.i18n==5.0.1 10:11:23 oslo.log==4.4.0 10:11:23 oslo.serialization==4.0.1 10:11:23 oslo.utils==4.6.0 10:11:23 packaging==20.4 10:11:23 pbr==5.4.4 10:11:23 pluggy==0.13.1 10:11:23 prettytable==0.7.2 10:11:23 py==1.9.0 10:11:23 pyasn1==0.4.8 10:11:23 pyasn1-modules==0.2.8 10:11:23 pycparser==2.20 10:11:23 pygerrit2==2.0.10 10:11:23 PyGithub==1.46 10:11:23 pyinotify==0.9.6 10:11:23 PyJWT==1.7.1 10:11:23 pyparsing==2.4.7 10:11:23 pyperclip==1.8.1 10:11:23 pyroute2==0.4.13 10:11:23 pyrsistent==0.15.7 10:11:23 PySocks==1.6.8 10:11:23 python-cinderclient==7.2.0 10:11:23 python-dateutil==2.8.1 10:11:23 python-heatclient==2.2.1 10:11:23 python-jenkins==1.7.0 10:11:23 python-keystoneclient==4.1.1 10:11:23 python-magnumclient==3.2.1 10:11:23 python-novaclient==17.2.1 10:11:23 python-openstackclient==5.4.0 10:11:23 python-swiftclient==3.10.1 10:11:23 pytz==2020.1 10:11:23 PyYAML==5.3 10:11:23 requests==2.23.0 10:11:23 requests-oauthlib==1.3.0 10:11:23 requestsexceptions==1.4.0 10:11:23 rfc3986==1.4.0 10:11:23 rpm==4.11.3 10:11:23 rsa==4.0 10:11:23 ruamel.yaml==0.16.10 10:11:23 ruamel.yaml.clib==0.2.0 10:11:23 s3transfer==0.3.3 10:11:23 shade==1.27.2 10:11:23 simplejson==3.17.2 10:11:23 six==1.14.0 10:11:23 soupsieve==2.0 10:11:23 stevedore==3.2.2 10:11:23 tabulate==0.8.6 10:11:23 toml==0.10.0 10:11:23 tox==3.20.1 10:11:23 tqdm==4.43.0 10:11:23 urllib3==1.25.8 10:11:23 virtualenv==20.0.34 10:11:23 wcwidth==0.2.5 10:11:23 websocket-client==0.57.0 10:11:23 wrapt==1.12.1 10:11:23 xdg==3.0.2 10:11:23 xmltodict==0.12.0 10:11:23 yq==2.11.1 10:11:23 zipp==3.3.0 10:11:24 Cache entry deserialization failed, entry ignored 10:11:26 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. 10:11:29 Python 2.7.5 10:11:29 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 10:11:29 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. 10:11:29 ansible==2.9.7 10:11:29 Babel==0.9.6 10:11:29 backports.ssl-match-hostname==3.5.0.1 10:11:29 beautifulsoup4==4.4.1 10:11:29 bodhi==2.11.0 10:11:29 bodhi-client==2.11.0 10:11:29 CCColUtils==1.4 10:11:29 cffi==1.6.0 10:11:29 chardet==2.2.1 10:11:29 click==6.7 10:11:29 cloud-init==18.5 10:11:29 configobj==4.7.2 10:11:29 cryptography==1.7.2 10:11:29 decorator==3.4.0 10:11:29 distro==1.2.0 10:11:29 enum34==1.0.4 10:11:29 fedpkg==1.38 10:11:29 futures==3.1.1 10:11:29 gitdb==0.6.4 10:11:29 GitPython==1.0.1 10:11:29 html5lib==0.999 10:11:29 httplib2==0.9.2 10:11:29 idna==2.4 10:11:29 iniparse==0.4 10:11:29 ipaddress==1.0.16 10:11:29 IPy==0.75 10:11:29 javapackages==1.0.0 10:11:29 Jinja2==2.7.2 10:11:29 jmespath==0.9.4 10:11:29 jsonpatch==1.2 10:11:29 jsonpointer==1.9 10:11:29 kerberos==1.1 10:11:29 kitchen==1.1.1 10:11:29 langtable==0.0.31 10:11:29 lockfile==0.9.1 10:11:29 lxml==3.2.1 10:11:29 MarkupSafe==0.11 10:11:29 munch==2.0.2 10:11:29 offtrac==0.1.0 10:11:29 openidc-client==0.6.0 10:11:29 packagedb-cli==2.14.1 10:11:29 paramiko==2.1.1 10:11:29 perf==0.1 10:11:29 ply==3.4 10:11:29 policycoreutils-default-encoding==0.1 10:11:29 prettytable==0.7.2 10:11:29 pyasn1==0.1.9 10:11:29 pycparser==2.14 10:11:29 pycurl==7.19.0 10:11:29 pygobject==3.22.0 10:11:29 pygpgme==0.3 10:11:29 pyliblzma==0.5.3 10:11:29 pyOpenSSL==0.13.1 10:11:29 pyparsing==1.5.6 10:11:29 pyserial==2.6 10:11:29 python-augeas==0.5.0 10:11:29 python-bugzilla==2.3.0 10:11:29 python-dateutil==1.5 10:11:29 python-fedora==0.10.0 10:11:29 python-linux-procfs==0.4.9 10:11:29 python-yubico==1.2.3 10:11:29 pyudev==0.15 10:11:29 pyusb==1.0.0b1 10:11:29 pyxattr==0.5.1 10:11:29 PyYAML==3.10 10:11:29 requests==2.6.0 10:11:29 requests-kerberos==0.7.0 10:11:29 rpkg==1.60 10:11:29 schedutils==0.4 10:11:29 seobject==0.1 10:11:29 sepolicy==1.1 10:11:29 six==1.9.0 10:11:29 smmap==0.9.0 10:11:29 urlgrabber==3.10 10:11:29 urllib3==1.10.2 10:11:29 virtualenv==15.1.0 10:11:29 yum-langpacks==0.4.2 10:11:29 yum-metadata-parser==1.1.4 [Pipeline] echo 10:11:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:11:30 ---> sudo-logs.sh 10:11:30 Archiving 'sudo' log.. [Pipeline] echo 10:11:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:11:30 ---> job-cost.sh 10:11:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ij4z 10:11:39 Cache entry deserialization failed, entry ignored 10:11:39 Cache entry deserialization failed, entry ignored 10:11:39 Cache entry deserialization failed, entry ignored 10:11:40 Cache entry deserialization failed, entry ignored 10:11:41 Cache entry deserialization failed, entry ignored 10:11:41 Cache entry deserialization failed, entry ignored 10:11:41 Cache entry deserialization failed, entry ignored 10:11:41 Cache entry deserialization failed, entry ignored 10:11:41 Cache entry deserialization failed, entry ignored 10:11:41 Cache entry deserialization failed, entry ignored 10:11:41 Cache entry deserialization failed, entry ignored 10:11:41 Cache entry deserialization failed, entry ignored 10:11:42 Cache entry deserialization failed, entry ignored 10:11:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:12:13 lf-activate-venv(): INFO: Adding /tmp/venv-Ij4z/bin to PATH 10:12:13 INFO: No Stack... 10:12:13 INFO: Retrieving Pricing Info for: v1-standard-2 10:12:13 INFO: Archiving Costs [Pipeline] echo 10:12:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:12:14 ---> logs-deploy.sh 10:12:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/14 10:12:14 INFO: archiving workspace using pattern(s): 10:12:16 Archives upload complete. 10:12:16 INFO: archiving logs to Nexus