Branch indexing 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 5d943473fe8cb7b2263b29163a15a9eda06ca963 rather than 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd Obtained Jenkinsfile from 5d943473fe8cb7b2263b29163a15a9eda06ca963 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2965 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [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-595 # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd Merge succeeded, producing 0f961d1745574fd78ea5265a8c6a2827eb98d466 Checking out Revision 0f961d1745574fd78ea5265a8c6a2827eb98d466 (PR-595) > 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/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f961d1745574fd78ea5265a8c6a2827eb98d466 # timeout=10 Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 4c239c565a541293b80eec60416db80ec9ad37f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:51 ========================================================= 02:43:51 EdgeX Global Pipelines Version Info 02:43:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:54 ------------------- 02:43:54 stable info: 02:43:54 ------------------- 02:43:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:54 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:43:54 Message: update stable to v1.0.131 02:43:55 ------------------- 02:43:55 experimental info: 02:43:55 ------------------- 02:43:55 Commited By: Emilio Reyes emilio.reyes@intel.com 02:43:55 Commit SHA: 037048ec40675a742bbe4f4e63335516fc22ae8d 02:43:55 Message: update experimental to v1.0.133 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo 02:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo 02:43:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo 02:43:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f961d1745574fd78ea5265a8c6a2827eb98d466 [Pipeline] echo 02:43:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f961d1 [Pipeline] echo 02:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:59 + git log --format=format:%s -1 0f961d1745574fd78ea5265a8c6a2827eb98d466 [Pipeline] echo 02:43:59 GIT_COMMIT: 0f961d1745574fd78ea5265a8c6a2827eb98d466, Commit Message: Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD [Pipeline] echo 02:43:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:44:00 02:44:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:44:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:44:00 latest: Pulling from edgex-devops/git-semver 02:44:00 31603596830f: Pulling fs layer 02:44:00 2a8b12db71e7: Pulling fs layer 02:44:00 6ca5941a6612: Pulling fs layer 02:44:00 ecc8261a40a4: Pulling fs layer 02:44:00 ecc8261a40a4: Waiting 02:44:00 2a8b12db71e7: Verifying Checksum 02:44:00 2a8b12db71e7: Download complete 02:44:00 31603596830f: Verifying Checksum 02:44:00 31603596830f: Download complete 02:44:01 ecc8261a40a4: Verifying Checksum 02:44:01 ecc8261a40a4: Download complete 02:44:01 6ca5941a6612: Download complete 02:44:01 31603596830f: Pull complete 02:44:01 2a8b12db71e7: Pull complete 02:44:03 6ca5941a6612: Pull complete 02:44:03 ecc8261a40a4: Pull complete 02:44:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:44:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:44:03 prd-centos7-docker-4c-2g-2965 does not seem to be running inside a container 02:44:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-595 -v /w/workspace/dgexfoundry_device-sdk-go_PR-595:/w/workspace/dgexfoundry_device-sdk-go_PR-595:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-595@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:44:05 $ docker top 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:06 [ssh-agent] Looking for ssh-agent implementation... 02:44:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:06 $ docker exec 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb ssh-agent 02:44:06 SSH_AUTH_SOCK=/tmp/ssh-LgDH1DFZZUbL/agent.11 02:44:06 SSH_AGENT_PID=17 02:44:06 Running ssh-add (command line suppressed) 02:44:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_232425699862452671.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_232425699862452671.key) 02:44:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:07 + git describe --exact-match --tags HEAD 02:44:07 fatal: no tag exactly matches '0f961d1745574fd78ea5265a8c6a2827eb98d466' [Pipeline] } 02:44:07 $ docker exec --env ******** --env ******** 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb ssh-agent -k 02:44:07 unset SSH_AUTH_SOCK; 02:44:07 unset SSH_AGENT_PID; 02:44:07 echo Agent pid 17 killed; 02:44:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:44:07 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:44:07 This usually means this commit has not been tagged. [Pipeline] sshagent 02:44:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:07 [ssh-agent] Looking for ssh-agent implementation... 02:44:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:08 $ docker exec 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb ssh-agent 02:44:08 SSH_AUTH_SOCK=/tmp/ssh-uXFRLcFDdbot/agent.46 02:44:08 SSH_AGENT_PID=51 02:44:08 Running ssh-add (command line suppressed) 02:44:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_8135953669099115625.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_8135953669099115625.key) 02:44:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:08 + git semver init 02:44:08 # -> Open(): unable to determine branch for HEAD 02:44:08 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.git 02:44:08 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-595 02:44:08 # $SEMVER_REMOTE_NAME = origin 02:44:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:44:08 # $SEMVER_USER_NAME = edgex-jenkins 02:44:08 # $SEMVER_BRANCH = PR-595 02:44:08 # $SEMVER_TEMP = /tmp/semver-037026882 02:44:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:44:09 # '/tmp/semver-037026882' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver' 02:44:09 # -> Force: false 02:44:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver [Pipeline] } 02:44:09 $ docker exec --env ******** --env ******** 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb ssh-agent -k 02:44:10 unset SSH_AUTH_SOCK; 02:44:10 unset SSH_AGENT_PID; 02:44:10 echo Agent pid 51 killed; 02:44:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:10 + git semver [Pipeline] } 02:44:10 $ docker stop --time=1 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb 02:44:12 $ docker rm -f 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:44:13 Stashed 41 file(s) [Pipeline] echo 02:44:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:44:14 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:44:29 Still waiting to schedule task 02:44:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:44:29 Still waiting to schedule task 02:44:29 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:45:39 Running on prd-centos7-docker-4c-2g-2968 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws 02:45:39 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:45:41 using credential edgex-jenkins-ssh 02:45:41 Cloning the remote Git repository 02:45:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:42 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:45:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:42 > git --version # timeout=10 02:45:42 > git --version # 'git version 2.16.5' 02:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:43 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd 02:45:43 Merge succeeded, producing deeb878201e046cca9a7dcfbec66f53e8e52aa0e 02:45:43 Checking out Revision deeb878201e046cca9a7dcfbec66f53e8e52aa0e (PR-595) 02:45:43 > git config core.sparsecheckout # timeout=10 02:45:43 > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 02:45:43 > git remote # timeout=10 02:45:43 > git config --get remote.origin.url # timeout=10 02:45:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:43 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 02:45:43 > git rev-parse HEAD^{commit} # timeout=10 02:45:43 > git config core.sparsecheckout # timeout=10 02:45:43 > git checkout -f deeb878201e046cca9a7dcfbec66f53e8e52aa0e # timeout=10 02:45:47 Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" 02:45:47 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 02:45:47 > git rev-list --no-walk 4c239c565a541293b80eec60416db80ec9ad37f0 # timeout=10 [Pipeline] echo 02:45:48 ========================================================= 02:45:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:48 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:45:49 Sending build context to Docker daemon 3.458MB 02:45:49 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:49 Step 2/8 : FROM ${BASE} 02:45:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:49 df20fa9351a1: Pulling fs layer 02:45:49 ed8968b2872e: Pulling fs layer 02:45:49 a92cc7c5fd73: Pulling fs layer 02:45:49 e871e8e8d7a9: Pulling fs layer 02:45:49 e73272ec9a57: Pulling fs layer 02:45:49 1e910a182e73: Pulling fs layer 02:45:49 4e634b169226: Pulling fs layer 02:45:49 e73272ec9a57: Waiting 02:45:49 1e910a182e73: Waiting 02:45:49 4e634b169226: Waiting 02:45:49 e871e8e8d7a9: Waiting 02:45:49 a92cc7c5fd73: Verifying Checksum 02:45:49 a92cc7c5fd73: Download complete 02:45:49 ed8968b2872e: Download complete 02:45:49 e73272ec9a57: Verifying Checksum 02:45:49 e73272ec9a57: Download complete 02:45:49 1e910a182e73: Verifying Checksum 02:45:49 1e910a182e73: Download complete 02:45:49 df20fa9351a1: Verifying Checksum 02:45:49 df20fa9351a1: Download complete 02:45:49 df20fa9351a1: Pull complete 02:45:49 ed8968b2872e: Pull complete 02:45:49 a92cc7c5fd73: Pull complete 02:45:51 4e634b169226: Verifying Checksum 02:45:51 4e634b169226: Download complete 02:45:51 e871e8e8d7a9: Verifying Checksum 02:45:51 e871e8e8d7a9: Download complete 02:45:57 e871e8e8d7a9: Pull complete 02:45:57 e73272ec9a57: Pull complete 02:45:57 1e910a182e73: Pull complete 02:46:05 4e634b169226: Pull complete 02:46:05 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:05 ---> f7629b54cfaa 02:46:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:05 ---> Running in 3e8afb0dcf42 02:46:05 Removing intermediate container 3e8afb0dcf42 02:46:05 ---> 6495bb94c4e2 02:46:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:05 ---> Running in 27f2fc2cad24 02:46:07 Removing intermediate container 27f2fc2cad24 02:46:07 ---> 605a39245350 02:46:07 Step 5/8 : RUN apk add --no-cache make git 02:46:07 ---> Running in c17daf34b9c5 02:46:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:09 OK: 166 MiB in 39 packages 02:46:09 Removing intermediate container c17daf34b9c5 02:46:09 ---> 799b5a58aaad 02:46:09 Step 6/8 : WORKDIR /device-sdk-go 02:46:10 ---> Running in a1326e4af740 02:46:10 Removing intermediate container a1326e4af740 02:46:10 ---> b66a5976347c 02:46:10 Step 7/8 : COPY . . 02:46:11 ---> 35cad1b01f06 02:46:11 Step 8/8 : RUN go mod download 02:46:11 ---> Running in 631bc423a0d3 02:46:29 Removing intermediate container 631bc423a0d3 02:46:29 ---> eae2ee155ce2 02:46:29 Successfully built eae2ee155ce2 02:46:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:30 + docker inspect -f . ci-base-image-x86_64 02:46:30 . [Pipeline] withDockerContainer 02:46:30 prd-centos7-docker-4c-2g-2968 does not seem to be running inside a container 02:46:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:31 $ docker top 84a8e9f3bbaf51a1aa9579f3d13ec57a45fcb061a7b3d69a756dd9a32a8fca52 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:31 + go version 02:46:31 go version go1.15.2 linux/amd64 [Pipeline] } 02:46:31 $ docker stop --time=1 84a8e9f3bbaf51a1aa9579f3d13ec57a45fcb061a7b3d69a756dd9a32a8fca52 02:46:32 $ docker rm -f 84a8e9f3bbaf51a1aa9579f3d13ec57a45fcb061a7b3d69a756dd9a32a8fca52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:33 + docker inspect -f . ci-base-image-x86_64 02:46:33 . [Pipeline] withDockerContainer 02:46:34 prd-centos7-docker-4c-2g-2968 does not seem to be running inside a container 02:46:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:34 $ docker top 5dae14170cd5a50f50b76705db416c929749331617f62e7f339965ce9e0077a4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:35 + make test 02:46:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:56 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:56 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:56 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 21.6% of statements 02:46:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements 02:47:29 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements 02:47:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements 02:47:29 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:29 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.204s coverage: 39.5% of statements 02:47:29 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 65.4% of statements 02:47:29 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:29 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:29 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:29 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements 02:47:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.516s coverage: 68.9% of statements 02:47:29 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:47:29 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:29 GO111MODULE=on go vet ./... 02:47:35 gofmt -l . 02:47:35 [ "`gofmt -l .`" = "" ] 02:47:35 ./bin/test-attribution-txt.sh 02:47:35 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:47:36 Stashed 1 file(s) [Pipeline] } 02:47:36 $ docker stop --time=1 5dae14170cd5a50f50b76705db416c929749331617f62e7f339965ce9e0077a4 02:47:37 $ docker rm -f 5dae14170cd5a50f50b76705db416c929749331617f62e7f339965ce9e0077a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:39 + ls -al . 02:47:39 total 192 02:47:39 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 2 02:47 . 02:47:39 drwxrwxr-x. 4 jenkins jenkins 28 Oct 2 02:45 .. 02:47:39 drwxrwxr-x. 2 jenkins jenkins 64 Oct 2 02:45 bin 02:47:39 -rw-r--r--. 1 jenkins jenkins 111041 Oct 2 02:47 coverage.out 02:47:39 -rw-rw-r--. 1 jenkins jenkins 936 Oct 2 02:45 Dockerfile.build 02:47:39 -rw-rw-r--. 1 jenkins jenkins 140 Oct 2 02:45 .dockerignore 02:47:39 drwxrwxr-x. 4 jenkins jenkins 48 Oct 2 02:45 example 02:47:39 drwxrwxr-x. 8 jenkins jenkins 179 Oct 2 02:45 .git 02:47:39 drwxrwxr-x. 2 jenkins jenkins 60 Oct 2 02:45 .github 02:47:39 -rw-rw-r--. 1 jenkins jenkins 138 Oct 2 02:45 .gitignore 02:47:39 -rw-r--r--. 1 jenkins jenkins 517 Oct 2 02:47 go.mod 02:47:39 -rw-r--r--. 1 jenkins jenkins 13567 Oct 2 02:47 go.sum 02:47:39 drwxrwxr-x. 15 jenkins jenkins 211 Oct 2 02:45 internal 02:47:39 -rw-rw-r--. 1 jenkins jenkins 785 Oct 2 02:45 Jenkinsfile 02:47:39 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 2 02:45 LICENSE 02:47:39 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 2 02:45 Makefile 02:47:39 drwxrwxr-x. 4 jenkins jenkins 26 Oct 2 02:45 openapi 02:47:39 drwxrwxr-x. 5 jenkins jenkins 50 Oct 2 02:45 pkg 02:47:39 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 2 02:45 README.md 02:47:39 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 2 02:45 RELEASE-NOTES.txt 02:47:39 drwxrwxr-x. 3 jenkins jenkins 58 Oct 2 02:45 .semver 02:47:39 drwxrwxr-x. 4 jenkins jenkins 54 Oct 2 02:45 snap 02:47:39 -rw-rw-r--. 1 jenkins jenkins 5 Oct 2 02:44 VERSION 02:47:39 -rw-rw-r--. 1 jenkins jenkins 222 Oct 2 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:40 + 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=0f961d1745574fd78ea5265a8c6a2827eb98d466 --label arch=amd64 --label version=0.0.0 . 02:47:40 Sending build context to Docker daemon 3.569MB 02:47:40 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:40 Step 2/24 : FROM ${BASE} AS builder 02:47:40 ---> eae2ee155ce2 02:47:40 Step 3/24 : ARG MAKE='make build' 02:47:41 ---> Running in c1baaa167141 02:47:41 Removing intermediate container c1baaa167141 02:47:41 ---> 3d9274770381 02:47:41 Step 4/24 : WORKDIR /device-sdk-go 02:47:41 ---> Running in a31d5ce52e45 02:47:41 Removing intermediate container a31d5ce52e45 02:47:41 ---> 3bcaccb401d7 02:47:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:41 ---> Running in 92a1836858cf 02:47:41 Removing intermediate container 92a1836858cf 02:47:41 ---> 6c5e09701204 02:47:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:41 ---> Running in 5251493eec35 02:47:42 Removing intermediate container 5251493eec35 02:47:42 ---> 69234de438e6 02:47:42 Step 7/24 : RUN apk add --update --no-cache make git 02:47:42 ---> Running in 9dad7f5390b3 02:47:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:44 OK: 166 MiB in 39 packages 02:47:45 Removing intermediate container 9dad7f5390b3 02:47:45 ---> 9121ca8cc24b 02:47:45 Step 8/24 : COPY . . 02:47:46 ---> 6fad3fbbafd7 02:47:46 Step 9/24 : RUN ${MAKE} 02:47:46 ---> Running in 1b48411ae746 02:47:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:47:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:56 Removing intermediate container 1b48411ae746 02:47:56 ---> 3203b6441625 02:47:56 Step 10/24 : FROM scratch 02:47:56 ---> 02:47:56 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:56 ---> Running in 0e8251f677c9 02:47:56 Removing intermediate container 0e8251f677c9 02:47:56 ---> 91cf23350fa1 02:47:56 Step 12/24 : ENV APP_PORT=49990 02:47:56 ---> Running in 06eb98d036c7 02:47:56 Removing intermediate container 06eb98d036c7 02:47:56 ---> 9886eeda9ddd 02:47:56 Step 13/24 : EXPOSE $APP_PORT 02:47:57 ---> Running in cd89abff8368 02:47:57 Removing intermediate container cd89abff8368 02:47:57 ---> a727cf6c0ee7 02:47:57 Step 14/24 : WORKDIR / 02:47:57 ---> Running in 49ec641adab8 02:47:57 Removing intermediate container 49ec641adab8 02:47:57 ---> a4a3a5885cc3 02:47:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:57 ---> 4dde5a00ea29 02:47:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:58 ---> 8fc87f1ed368 02:47:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:58 ---> bd3aa76f1de9 02:47:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:58 ---> a5c7205eb070 02:47:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:58 ---> 81afcca00e11 02:47:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:59 ---> Running in c18e8386f7e4 02:47:59 Removing intermediate container c18e8386f7e4 02:47:59 ---> 5f78e1f47ee0 02:47:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:59 ---> Running in 983ad118b0ae 02:47:59 Removing intermediate container 983ad118b0ae 02:47:59 ---> 7c7ab6e1f493 02:47:59 Step 22/24 : LABEL arch=amd64 02:47:59 ---> Running in 8fcb77ddebc6 02:47:59 Removing intermediate container 8fcb77ddebc6 02:47:59 ---> f9e9d5f7307a 02:47:59 Step 23/24 : LABEL git_sha=0f961d1745574fd78ea5265a8c6a2827eb98d466 02:47:59 ---> Running in 090d674d6eb9 02:47:59 Removing intermediate container 090d674d6eb9 02:47:59 ---> 1a6cbbb98a56 02:47:59 Step 24/24 : LABEL version=0.0.0 02:47:59 ---> Running in cc7a45a812e6 02:48:00 Removing intermediate container cc7a45a812e6 02:48:00 ---> 4246ca314057 02:48:00 [Warning] One or more build-args [ARCH] were not consumed 02:48:00 Successfully built 4246ca314057 02:48: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] } 02:49:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2970 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws 02:49:05 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:49:10 using credential edgex-jenkins-ssh 02:49:10 Cloning the remote Git repository 02:49:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:49:11 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:49:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:49:11 > git --version # timeout=10 02:49:11 > git --version # 'git version 2.17.1' 02:49:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:12 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd 02:49:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:49:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:49:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:49:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:49:13 > git config core.sparsecheckout # timeout=10 02:49:13 > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 02:49:13 Merge succeeded, producing 976985332a6b286867cd7e57a9224cf52e35b04f 02:49:13 Checking out Revision 976985332a6b286867cd7e57a9224cf52e35b04f (PR-595) 02:49:13 > git remote # timeout=10 02:49:13 > git config --get remote.origin.url # timeout=10 02:49:13 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:13 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 02:49:13 > git rev-parse HEAD^{commit} # timeout=10 02:49:13 > git config core.sparsecheckout # timeout=10 02:49:13 > git checkout -f 976985332a6b286867cd7e57a9224cf52e35b04f # timeout=10 02:49:17 Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" 02:49:17 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 02:49:17 > git rev-list --no-walk 4c239c565a541293b80eec60416db80ec9ad37f0 # timeout=10 [Pipeline] echo 02:49:19 ========================================================= 02:49:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:49:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:49:20 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:49:21 Sending build context to Docker daemon 3.458MB 02:49:21 Step 1/8 : ARG BASE=golang:1.15-alpine 02:49:21 Step 2/8 : FROM ${BASE} 02:49:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:49:21 b538f80385f9: Pulling fs layer 02:49:21 74f711af9a0d: Pulling fs layer 02:49:21 99f96fe45779: Pulling fs layer 02:49:21 8529a6b9a6be: Pulling fs layer 02:49:21 45590311c82a: Pulling fs layer 02:49:21 69ca0ff8b7b3: Pulling fs layer 02:49:21 209524e5b208: Pulling fs layer 02:49:21 45590311c82a: Waiting 02:49:21 8529a6b9a6be: Waiting 02:49:21 209524e5b208: Waiting 02:49:21 99f96fe45779: Verifying Checksum 02:49:21 99f96fe45779: Download complete 02:49:21 74f711af9a0d: Verifying Checksum 02:49:21 74f711af9a0d: Download complete 02:49:21 45590311c82a: Verifying Checksum 02:49:21 45590311c82a: Download complete 02:49:21 69ca0ff8b7b3: Verifying Checksum 02:49:21 69ca0ff8b7b3: Download complete 02:49:21 b538f80385f9: Verifying Checksum 02:49:21 b538f80385f9: Download complete 02:49:22 b538f80385f9: Pull complete 02:49:23 74f711af9a0d: Pull complete 02:49:23 99f96fe45779: Pull complete 02:49:24 209524e5b208: Verifying Checksum 02:49:24 209524e5b208: Download complete 02:49:25 8529a6b9a6be: Verifying Checksum 02:49:25 8529a6b9a6be: Download complete 02:49:35 8529a6b9a6be: Pull complete 02:49:35 45590311c82a: Pull complete 02:49:36 69ca0ff8b7b3: Pull complete 02:49:39 209524e5b208: Pull complete 02:49:39 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:49:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:49:39 ---> 5bddaf1c2fca 02:49:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:42 ---> Running in 4932ebe080be 02:49:42 Removing intermediate container 4932ebe080be 02:49:42 ---> 7905ae03691b 02:49:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:42 ---> Running in 6f3594e942ab 02:49:45 Removing intermediate container 6f3594e942ab 02:49:45 ---> a4d7ace20bdb 02:49:45 Step 5/8 : RUN apk add --no-cache make git 02:49:45 ---> Running in 2a9250e15a14 02:49:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:48 OK: 142 MiB in 39 packages 02:49:49 Removing intermediate container 2a9250e15a14 02:49:49 ---> e44f6c109c9b 02:49:49 Step 6/8 : WORKDIR /device-sdk-go 02:49:49 ---> Running in fadbbae596ff 02:49:50 Removing intermediate container fadbbae596ff 02:49:50 ---> b7b7db15fa5e 02:49:50 Step 7/8 : COPY . . 02:49:51 ---> 4eb53fb6843d 02:49:51 Step 8/8 : RUN go mod download 02:49:52 ---> Running in 5aa546a42fb7 02:50:14 Removing intermediate container 5aa546a42fb7 02:50:14 ---> 1916788d436b 02:50:14 Successfully built 1916788d436b 02:50:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:50:14 + docker inspect -f . ci-base-image-arm64 02:50:14 . [Pipeline] withDockerContainer 02:50:15 prd-ubuntu18.04-docker-arm64-4c-16g-2970 does not seem to be running inside a container 02:50:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:50:17 $ docker top beaeb997ab51e1f1f0b735d44af76c528a0e61738b774e7c84611c21ab8477b7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:18 + go version 02:50:18 go version go1.15.2 linux/arm64 [Pipeline] } 02:50:18 $ docker stop --time=1 beaeb997ab51e1f1f0b735d44af76c528a0e61738b774e7c84611c21ab8477b7 02:50:20 $ docker rm -f beaeb997ab51e1f1f0b735d44af76c528a0e61738b774e7c84611c21ab8477b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:50:21 + docker inspect -f . ci-base-image-arm64 02:50:21 . [Pipeline] withDockerContainer 02:50:21 prd-ubuntu18.04-docker-arm64-4c-16g-2970 does not seem to be running inside a container 02:50:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:50:23 $ docker top 09394ddace3fc4aefb2117e96b33597373bafb851917b6099f0d5874e797cafe -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:24 + make test 02:50:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:50:47 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:51:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:51:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:51:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:51:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.165s coverage: 21.6% of statements 02:51:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.179s coverage: 97.1% of statements 02:51:57 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.119s coverage: 9.4% of statements 02:51:57 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements 02:51:57 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:51:57 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.548s coverage: 39.5% of statements 02:51:57 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:51:57 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.782s coverage: 65.4% of statements 02:51:57 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:51:57 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:51:57 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:51:57 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:51:57 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements 02:51:57 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:51:57 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.883s coverage: 68.9% of statements 02:51:57 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:51:57 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:51:58 GO111MODULE=on go vet ./... 02:52:30 gofmt -l . 02:52:30 [ "`gofmt -l .`" = "" ] 02:52:30 ./bin/test-attribution-txt.sh 02:52:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:52:30 Warning: overwriting stash ‘coverage-report’ 02:52:31 Stashed 1 file(s) [Pipeline] } 02:52:31 $ docker stop --time=1 09394ddace3fc4aefb2117e96b33597373bafb851917b6099f0d5874e797cafe 02:52:33 $ docker rm -f 09394ddace3fc4aefb2117e96b33597373bafb851917b6099f0d5874e797cafe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:35 + ls -al . 02:52:35 total 232 02:52:35 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 02:52 . 02:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:49 .. 02:52:35 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:49 .dockerignore 02:52:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:49 .git 02:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:49 .github 02:52:35 -rw-rw-r-- 1 jenkins jenkins 138 Oct 2 02:49 .gitignore 02:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:49 .semver 02:52:35 -rw-rw-r-- 1 jenkins jenkins 936 Oct 2 02:49 Dockerfile.build 02:52:35 -rw-rw-r-- 1 jenkins jenkins 785 Oct 2 02:49 Jenkinsfile 02:52:35 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:49 LICENSE 02:52:35 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 2 02:49 Makefile 02:52:35 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 2 02:49 README.md 02:52:35 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 2 02:49 RELEASE-NOTES.txt 02:52:35 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 02:44 VERSION 02:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:49 bin 02:52:35 -rw-r--r-- 1 jenkins jenkins 111041 Oct 2 02:51 coverage.out 02:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:49 example 02:52:35 -rw-r--r-- 1 jenkins jenkins 517 Oct 2 02:52 go.mod 02:52:35 -rw-r--r-- 1 jenkins jenkins 13567 Oct 2 02:52 go.sum 02:52:35 drwxrwxr-x 15 jenkins jenkins 4096 Oct 2 02:49 internal 02:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:49 openapi 02:52:35 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:49 pkg 02:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:49 snap 02:52:35 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:49 version.go [Pipeline] isUnix [Pipeline] sh 02:52:35 + 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=0f961d1745574fd78ea5265a8c6a2827eb98d466 --label arch=arm64 --label version=0.0.0 . 02:52:36 Sending build context to Docker daemon 3.569MB 02:52:36 Step 1/24 : ARG BASE=golang:1.15-alpine 02:52:36 Step 2/24 : FROM ${BASE} AS builder 02:52:36 ---> 1916788d436b 02:52:36 Step 3/24 : ARG MAKE='make build' 02:52:36 ---> Running in 4db962f0345c 02:52:37 Removing intermediate container 4db962f0345c 02:52:37 ---> 7738ae315415 02:52:37 Step 4/24 : WORKDIR /device-sdk-go 02:52:37 ---> Running in bcdf225f13b0 02:52:37 Removing intermediate container bcdf225f13b0 02:52:37 ---> 150ff7aa88da 02:52:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:37 ---> Running in 21052df8852e 02:52:38 Removing intermediate container 21052df8852e 02:52:38 ---> 8c10fa78dc39 02:52:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:38 ---> Running in 230a2890484d 02:52:41 Removing intermediate container 230a2890484d 02:52:41 ---> b1538b28a658 02:52:41 Step 7/24 : RUN apk add --update --no-cache make git 02:52:41 ---> Running in 87238afd27ae 02:52:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:52:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:52:43 OK: 142 MiB in 39 packages 02:52:45 Removing intermediate container 87238afd27ae 02:52:45 ---> 94cb50b3b0f9 02:52:45 Step 8/24 : COPY . . 02:52:46 ---> df09b4cd5cde 02:52:46 Step 9/24 : RUN ${MAKE} 02:52:46 ---> Running in 8bd2d2cf18c9 02:52:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:53:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:53:14 Removing intermediate container 8bd2d2cf18c9 02:53:14 ---> 4987851b43b2 02:53:14 Step 10/24 : FROM scratch 02:53:14 ---> 02:53:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:14 ---> Running in 7de340f1a144 02:53:14 Removing intermediate container 7de340f1a144 02:53:14 ---> 56ae3505f1e3 02:53:14 Step 12/24 : ENV APP_PORT=49990 02:53:14 ---> Running in 6778a853fea2 02:53:14 Removing intermediate container 6778a853fea2 02:53:14 ---> 0b9c2492c5b6 02:53:14 Step 13/24 : EXPOSE $APP_PORT 02:53:15 ---> Running in c7574a065999 02:53:15 Removing intermediate container c7574a065999 02:53:15 ---> 38c353a2fbce 02:53:15 Step 14/24 : WORKDIR / 02:53:15 ---> Running in 944a0abcd119 02:53:15 Removing intermediate container 944a0abcd119 02:53:15 ---> 09151cb215f8 02:53:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:53:17 ---> ea68d0837a48 02:53:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:53:17 ---> f9a1fed387f7 02:53:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:53:18 ---> d5046b222c9c 02:53:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:53:19 ---> b6115e76ff2f 02:53:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:53:20 ---> df88e8317c51 02:53:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:53:20 ---> Running in e7f23ac20517 02:53:20 Removing intermediate container e7f23ac20517 02:53:20 ---> d7379e43079c 02:53:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:53:20 ---> Running in 30d2634c30af 02:53:21 Removing intermediate container 30d2634c30af 02:53:21 ---> 6d31689937d0 02:53:21 Step 22/24 : LABEL arch=arm64 02:53:21 ---> Running in d1bd71f6cae3 02:53:22 Removing intermediate container d1bd71f6cae3 02:53:22 ---> bcd32a53b8f3 02:53:22 Step 23/24 : LABEL git_sha=0f961d1745574fd78ea5265a8c6a2827eb98d466 02:53:22 ---> Running in 7f3bd94a40ea 02:53:22 Removing intermediate container 7f3bd94a40ea 02:53:22 ---> 9b0a403c3b4f 02:53:22 Step 24/24 : LABEL version=0.0.0 02:53:22 ---> Running in 5a32f6829d07 02:53:23 Removing intermediate container 5a32f6829d07 02:53:23 ---> 5c7c961336d9 02:53:23 [Warning] One or more build-args [ARCH] were not consumed 02:53:23 Successfully built 5c7c961336d9 02:53:23 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:53:25 provisioning config files... 02:53:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config836595570664586644tmp [Pipeline] { [Pipeline] sh 02:53:25 + set +x 02:53:25 + curl -s https://codecov.io/bash 02:53:25 + bash -s -- 02:53:26 02:53:26 _____ _ 02:53:26 / ____| | | 02:53:26 | | ___ __| | ___ ___ _____ __ 02:53:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:53:26 | |___| (_) | (_| | __/ (_| (_) \ V / 02:53:26 \_____\___/ \__,_|\___|\___\___/ \_/ 02:53:26 Bash-20200917-4e8f14b 02:53:26 02:53:26 02:53:26 ==> Jenkins CI detected. 02:53:26 project root: . 02:53:26 Fixing merge commit SHA 02:53:26 --> token set from env 02:53:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:53:26 ==> Running gcov in . (disable via -X gcov) 02:53:26 ==> Python coveragepy not found 02:53:26 ==> Searching for coverage reports in: 02:53:26 + . 02:53:26 -> Found 1 reports 02:53:26 ==> Detecting git/mercurial file structure 02:53:26 ==> Reading reports 02:53:26 + ./coverage.out bytes=111041 02:53:26 ==> Appending adjustments 02:53:26 https://docs.codecov.io/docs/fixing-reports 02:53:27 + Found adjustments 02:53:27 ==> Gzipping contents 02:53:27 ==> Uploading reports 02:53:27 url: https://codecov.io 02:53:27 query: branch=PR-595&commit=5d943473fe8cb7b2263b29163a15a9eda06ca963&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-595%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=595&job=&cmd_args= 02:53:27 -> Pinging Codecov 02:53:27 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-595&commit=5d943473fe8cb7b2263b29163a15a9eda06ca963&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-595%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=595&job=&cmd_args= 02:53:27 -> Uploading to 02:53:27 https://storage.googleapis.com/codecov/v4/raw/2020-10-02/7E55EF52A471D76F132DFD9A03CDDE97/5d943473fe8cb7b2263b29163a15a9eda06ca963/65e761dd-e81e-4c8b-8a35-4167fd301e79.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201002%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201002T025327Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=596eba1f93c9992b471f30411a36f7d46bc0d31a959745837e93a6281e5b6252 02:53:27 % Total % Received % Xferd Average Speed Time Time Time Current 02:53:27 Dload Upload Total Spent Left Speed 02:53:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18315 0 0 100 18315 0 37548 --:--:-- --:--:-- --:--:-- 37607 02:53:27 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5d943473fe8cb7b2263b29163a15a9eda06ca963 [Pipeline] } 02:53:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:53:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:53:31 ---> package-listing.sh 02:53:31 ++ facter osfamily 02:53:31 ++ tr '[:upper:]' '[:lower:]' 02:53:31 + OS_FAMILY=redhat 02:53:31 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-595 02:53:31 + START_PACKAGES=/tmp/packages_start.txt 02:53:31 + END_PACKAGES=/tmp/packages_end.txt 02:53:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:53:31 + PACKAGES=/tmp/packages_start.txt 02:53:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' 02:53:31 + PACKAGES=/tmp/packages_end.txt 02:53:31 + case "${OS_FAMILY}" in 02:53:31 + rpm -qa 02:53:31 + sort 02:53:35 + '[' -f /tmp/packages_start.txt ']' 02:53:35 + '[' -f /tmp/packages_end.txt ']' 02:53:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:53:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' 02:53:35 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ 02:53:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:36 provisioning config files... 02:53:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config4792909249865783402tmp [Pipeline] { [Pipeline] echo 02:53:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:36 ---> create-netrc.sh [Pipeline] } 02:53:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:53:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:53:36 ---> python-tools-install.sh 02:53:36 Generating Requirements File 02:55:13 Python 3.6.8 02:55:13 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:55:13 aiohttp==3.6.2 02:55:13 appdirs==1.4.3 02:55:13 argcomplete==1.12.1 02:55:13 aspy.yaml==1.3.0 02:55:13 async-timeout==3.0.1 02:55:13 attrs==19.3.0 02:55:13 Babel==2.8.0 02:55:13 beautifulsoup4==4.8.2 02:55:13 boto3==1.11.6 02:55:13 botocore==1.14.6 02:55:13 bs4==0.0.1 02:55:13 cachetools==4.1.1 02:55:13 certifi==2019.11.28 02:55:13 cffi==1.14.3 02:55:13 cfgv==2.0.1 02:55:13 chardet==3.0.4 02:55:13 click==7.1 02:55:13 cliff==3.4.0 02:55:13 cmd2==1.3.11 02:55:13 colorama==0.4.3 02:55:13 cryptography==3.1.1 02:55:13 debtcollector==2.2.0 02:55:13 decorator==4.4.2 02:55:13 defusedxml==0.6.0 02:55:13 Deprecated==1.2.7 02:55:13 distlib==0.3.1 02:55:13 distro==1.2.0 02:55:13 dnspython==1.16.0 02:55:13 docker==4.2.0 02:55:13 docutils==0.15.2 02:55:13 dogpile.cache==1.0.2 02:55:13 email-validator==1.0.5 02:55:13 filelock==3.0.12 02:55:13 future==0.18.2 02:55:13 google-auth==1.22.0 02:55:13 httplib2==0.17.0 02:55:13 identify==1.4.11 02:55:13 idna==2.9 02:55:13 idna-ssl==1.1.0 02:55:13 importlib-metadata==1.7.0 02:55:13 importlib-resources==1.5.0 02:55:13 iso8601==0.1.13 02:55:13 Jinja2==2.11.1 02:55:13 jmespath==0.10.0 02:55:13 jsonpatch==1.26 02:55:13 jsonpointer==2.0 02:55:13 jsonschema==3.2.0 02:55:13 keystoneauth1==4.2.1 02:55:13 kubernetes==11.0.0 02:55:13 lftools==0.34.2 02:55:13 lxml==4.5.0 02:55:13 MarkupSafe==0.23 02:55:13 msgpack==1.0.0 02:55:13 multi-key-dict==2.0.3 02:55:13 multidict==4.7.6 02:55:13 munch==2.5.0 02:55:13 netaddr==0.8.0 02:55:13 netifaces==0.10.9 02:55:13 niet==1.4.2 02:55:13 nodeenv==1.3.5 02:55:13 oauth2client==4.1.3 02:55:13 oauthlib==3.1.0 02:55:13 openstacksdk==0.50.0 02:55:13 os-client-config==2.1.0 02:55:13 os-service-types==1.7.0 02:55:13 osc-lib==2.2.1 02:55:13 oslo.config==8.3.2 02:55:13 oslo.context==3.1.1 02:55:13 oslo.i18n==5.0.1 02:55:13 oslo.log==4.4.0 02:55:13 oslo.serialization==4.0.1 02:55:13 oslo.utils==4.6.0 02:55:13 packaging==20.4 02:55:13 pbr==5.4.4 02:55:13 pluggy==0.13.1 02:55:13 prettytable==0.7.2 02:55:13 py==1.9.0 02:55:13 pyasn1==0.4.8 02:55:13 pyasn1-modules==0.2.8 02:55:13 pycparser==2.20 02:55:13 pygerrit2==2.0.10 02:55:13 PyGithub==1.46 02:55:13 pyinotify==0.9.6 02:55:13 PyJWT==1.7.1 02:55:13 pyparsing==2.4.7 02:55:13 pyperclip==1.8.0 02:55:13 pyroute2==0.4.13 02:55:13 pyrsistent==0.15.7 02:55:13 PySocks==1.6.8 02:55:13 python-cinderclient==7.2.0 02:55:13 python-dateutil==2.8.1 02:55:13 python-heatclient==2.2.1 02:55:13 python-jenkins==1.7.0 02:55:13 python-keystoneclient==4.1.1 02:55:13 python-magnumclient==3.2.1 02:55:13 python-novaclient==17.2.1 02:55:13 python-openstackclient==5.3.1 02:55:13 python-swiftclient==3.10.1 02:55:13 pytz==2020.1 02:55:13 PyYAML==5.3 02:55:13 requests==2.23.0 02:55:13 requests-oauthlib==1.3.0 02:55:13 requestsexceptions==1.4.0 02:55:13 rfc3986==1.4.0 02:55:13 rpm==4.11.3 02:55:13 rsa==4.0 02:55:13 ruamel.yaml==0.16.10 02:55:13 ruamel.yaml.clib==0.2.0 02:55:13 s3transfer==0.3.3 02:55:13 shade==1.27.2 02:55:13 simplejson==3.17.2 02:55:13 six==1.14.0 02:55:13 soupsieve==2.0 02:55:13 stevedore==3.2.2 02:55:13 tabulate==0.8.6 02:55:13 toml==0.10.0 02:55:13 tox==3.20.0 02:55:13 tqdm==4.43.0 02:55:13 typing-extensions==3.7.4.3 02:55:13 urllib3==1.25.8 02:55:13 virtualenv==20.0.32 02:55:13 wcwidth==0.2.5 02:55:13 websocket-client==0.57.0 02:55:13 wrapt==1.12.1 02:55:13 xdg==3.0.2 02:55:13 xmltodict==0.12.0 02:55:13 yarl==1.6.0 02:55:13 yq==2.11.1 02:55:13 zipp==3.2.0 02:55:13 Cache entry deserialization failed, entry ignored 02:55: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. 02:55:15 Python 2.7.5 02:55:15 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:55:16 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 02:55:16 ansible==2.9.7 02:55:16 Babel==0.9.6 02:55:16 backports.ssl-match-hostname==3.5.0.1 02:55:16 beautifulsoup4==4.4.1 02:55:16 bodhi==2.11.0 02:55:16 bodhi-client==2.11.0 02:55:16 CCColUtils==1.4 02:55:16 cffi==1.6.0 02:55:16 chardet==2.2.1 02:55:16 click==6.7 02:55:16 cloud-init==18.5 02:55:16 configobj==4.7.2 02:55:16 cryptography==1.7.2 02:55:16 decorator==3.4.0 02:55:16 distro==1.2.0 02:55:16 enum34==1.0.4 02:55:16 fedpkg==1.38 02:55:16 futures==3.1.1 02:55:16 gitdb==0.6.4 02:55:16 GitPython==1.0.1 02:55:16 html5lib==0.999 02:55:16 httplib2==0.9.2 02:55:16 idna==2.4 02:55:16 iniparse==0.4 02:55:16 ipaddress==1.0.16 02:55:16 IPy==0.75 02:55:16 javapackages==1.0.0 02:55:16 Jinja2==2.7.2 02:55:16 jmespath==0.9.4 02:55:16 jsonpatch==1.2 02:55:16 jsonpointer==1.9 02:55:16 kerberos==1.1 02:55:16 kitchen==1.1.1 02:55:16 langtable==0.0.31 02:55:16 lockfile==0.9.1 02:55:16 lxml==3.2.1 02:55:16 MarkupSafe==0.11 02:55:16 munch==2.0.2 02:55:16 offtrac==0.1.0 02:55:16 openidc-client==0.6.0 02:55:16 packagedb-cli==2.14.1 02:55:16 paramiko==2.1.1 02:55:16 perf==0.1 02:55:16 ply==3.4 02:55:16 policycoreutils-default-encoding==0.1 02:55:16 prettytable==0.7.2 02:55:16 pyasn1==0.1.9 02:55:16 pycparser==2.14 02:55:16 pycurl==7.19.0 02:55:16 pygobject==3.22.0 02:55:16 pygpgme==0.3 02:55:16 pyliblzma==0.5.3 02:55:16 pyOpenSSL==0.13.1 02:55:16 pyparsing==1.5.6 02:55:16 pyserial==2.6 02:55:16 python-augeas==0.5.0 02:55:16 python-bugzilla==2.3.0 02:55:16 python-dateutil==1.5 02:55:16 python-fedora==0.10.0 02:55:16 python-linux-procfs==0.4.9 02:55:16 python-yubico==1.2.3 02:55:16 pyudev==0.15 02:55:16 pyusb==1.0.0b1 02:55:16 pyxattr==0.5.1 02:55:16 PyYAML==3.10 02:55:16 requests==2.6.0 02:55:16 requests-kerberos==0.7.0 02:55:16 rpkg==1.60 02:55:16 schedutils==0.4 02:55:16 seobject==0.1 02:55:16 sepolicy==1.1 02:55:16 six==1.9.0 02:55:16 smmap==0.9.0 02:55:16 urlgrabber==3.10 02:55:16 urllib3==1.10.2 02:55:16 virtualenv==15.1.0 02:55:16 yum-langpacks==0.4.2 02:55:16 yum-metadata-parser==1.1.4 [Pipeline] echo 02:55:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:55:16 ---> sudo-logs.sh 02:55:16 Archiving 'sudo' log.. [Pipeline] echo 02:55:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:55:17 ---> job-cost.sh 02:55:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qlPS 02:55:29 Cache entry deserialization failed, entry ignored 02:55:29 Cache entry deserialization failed, entry ignored 02:55:30 Cache entry deserialization failed, entry ignored 02:55:30 Cache entry deserialization failed, entry ignored 02:55:30 Cache entry deserialization failed, entry ignored 02:55:30 Cache entry deserialization failed, entry ignored 02:55:30 Cache entry deserialization failed, entry ignored 02:55:30 Cache entry deserialization failed, entry ignored 02:55:31 Cache entry deserialization failed, entry ignored 02:55:31 Cache entry deserialization failed, entry ignored 02:55:31 Cache entry deserialization failed, entry ignored 02:55:31 Cache entry deserialization failed, entry ignored 02:55:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:56:13 lf-activate-venv(): INFO: Adding /tmp/venv-qlPS/bin to PATH 02:56:13 INFO: No Stack... 02:56:13 INFO: Retrieving Pricing Info for: v1-standard-2 02:56:13 INFO: Archiving Costs [Pipeline] echo 02:56:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:56:14 ---> logs-deploy.sh 02:56:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-595/5 02:56:14 INFO: archiving workspace using pattern(s): 02:56:16 Archives upload complete. 02:56:16 INFO: archiving logs to Nexus