Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480+6a644f195f70d064d428f19fecf7196d621efa3d (0b3a2a99bb3929c899f86a76058478605b00f544) 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 ‘prd-centos7-docker-4c-2g-3215’ is offline Running on prd-centos7-docker-4c-2g-3223 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 Merge succeeded, producing 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 Checking out Revision 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 (PR-582) > git config core.sparsecheckout # timeout=10 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # 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 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:56:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:56:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:56:06 ========================================================= 11:56:06 EdgeX Global Pipelines Version Info 11:56:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:56:08 ------------------- 11:56:08 stable info: 11:56:08 ------------------- 11:56:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:56:08 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 11:56:08 Message: update stable to v1.0.131 11:56:08 ------------------- 11:56:08 experimental info: 11:56:08 ------------------- 11:56:08 Commited By: **** collab-it+edgex@linuxfoundation.org 11:56:08 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 11:56:08 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 11:56:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:56:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:56:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:56:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:56:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:56:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 11:56:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:56:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 11:56:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 11:56:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 11:56:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [Pipeline] echo 11:56:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9375b7f [Pipeline] echo 11:56:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:56:12 + git log --format=format:%s -1 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [Pipeline] echo 11:56:13 GIT_COMMIT: 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo 11:56:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:56:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:56:13 11:56:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:56:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:56:14 latest: Pulling from edgex-devops/git-semver 11:56:14 31603596830f: Pulling fs layer 11:56:14 2a8b12db71e7: Pulling fs layer 11:56:14 6ca5941a6612: Pulling fs layer 11:56:14 ecc8261a40a4: Pulling fs layer 11:56:14 ecc8261a40a4: Waiting 11:56:14 2a8b12db71e7: Verifying Checksum 11:56:14 2a8b12db71e7: Download complete 11:56:14 31603596830f: Verifying Checksum 11:56:14 31603596830f: Download complete 11:56:14 6ca5941a6612: Verifying Checksum 11:56:14 6ca5941a6612: Download complete 11:56:14 ecc8261a40a4: Verifying Checksum 11:56:14 ecc8261a40a4: Download complete 11:56:14 31603596830f: Pull complete 11:56:15 2a8b12db71e7: Pull complete 11:56:15 6ca5941a6612: Pull complete 11:56:15 ecc8261a40a4: Pull complete 11:56:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 11:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:56:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:56:16 prd-centos7-docker-4c-2g-3223 does not seem to be running inside a container 11:56:16 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:56:18 $ docker top 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:56:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:19 [ssh-agent] Looking for ssh-agent implementation... 11:56:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:19 $ docker exec 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 ssh-agent 11:56:19 SSH_AUTH_SOCK=/tmp/ssh-cbrAWtJmWYUN/agent.11 11:56:19 SSH_AGENT_PID=16 11:56:19 Running ssh-add (command line suppressed) 11:56:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5354802305207289479.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5354802305207289479.key) 11:56:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:19 + git describe --exact-match --tags HEAD 11:56:19 fatal: no tag exactly matches '9375b7f525fed189b1e4f3d517ca2f0a3bc3a480' [Pipeline] } 11:56:20 $ docker exec --env ******** --env ******** 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 ssh-agent -k 11:56:20 unset SSH_AUTH_SOCK; 11:56:20 unset SSH_AGENT_PID; 11:56:20 echo Agent pid 16 killed; 11:56:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:56:20 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:56:20 This usually means this commit has not been tagged. [Pipeline] sshagent 11:56:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:20 [ssh-agent] Looking for ssh-agent implementation... 11:56:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:20 $ docker exec 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 ssh-agent 11:56:20 SSH_AUTH_SOCK=/tmp/ssh-L6jcyF1gO3GH/agent.47 11:56:20 SSH_AGENT_PID=53 11:56:20 Running ssh-add (command line suppressed) 11:56:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3897435818958422829.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3897435818958422829.key) 11:56:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:21 + git semver init 11:56:21 # -> Open(): unable to determine branch for HEAD 11:56:21 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 11:56:21 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 11:56:21 # $SEMVER_REMOTE_NAME = origin 11:56:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:56:21 # $SEMVER_USER_NAME = edgex-jenkins 11:56:21 # $SEMVER_BRANCH = PR-582 11:56:21 # $SEMVER_TEMP = /tmp/semver-990359621 11:56:21 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 11:56:21 # '/tmp/semver-990359621' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 11:56:21 # -> Force: false 11:56:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 11:56:21 $ docker exec --env ******** --env ******** 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 ssh-agent -k 11:56:22 unset SSH_AUTH_SOCK; 11:56:22 unset SSH_AGENT_PID; 11:56:22 echo Agent pid 53 killed; 11:56:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:56:22 + git semver [Pipeline] } 11:56:22 $ docker stop --time=1 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 11:56:24 $ docker rm -f 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:56:25 Stashed 41 file(s) [Pipeline] echo 11:56:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 11:56:25 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 11:56:40 Still waiting to schedule task 11:56:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:56:40 Still waiting to schedule task 11:56:40 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3221’ 11:58:12 Running on prd-centos7-docker-4c-2g-3228 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 11:58:12 Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout 11:58:16 using credential edgex-jenkins-ssh 11:58:16 Cloning the remote Git repository 11:58:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:58:16 > git init /w/workspace/device-sdk-go/15 # timeout=10 11:58:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:58:16 > git --version # timeout=10 11:58:16 > git --version # 'git version 2.16.5' 11:58:16 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:58:17 Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 11:58:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:58:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:58:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:58:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:58:16 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:58:17 > git config core.sparsecheckout # timeout=10 11:58:17 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 11:58:17 Merge succeeded, producing 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 11:58:17 Checking out Revision 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 (PR-582) 11:58:17 > git remote # timeout=10 11:58:17 > git config --get remote.origin.url # timeout=10 11:58:17 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:17 > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 11:58:17 > git rev-parse HEAD^{commit} # timeout=10 11:58:17 > git config core.sparsecheckout # timeout=10 11:58:17 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 11:58:21 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:58:22 ========================================================= 11:58:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 11:58:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:58:22 + 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 . 11:58:23 Sending build context to Docker daemon 3.45MB 11:58:23 Step 1/8 : ARG BASE=golang:1.15-alpine 11:58:23 Step 2/8 : FROM ${BASE} 11:58:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 11:58:23 df20fa9351a1: Pulling fs layer 11:58:23 ed8968b2872e: Pulling fs layer 11:58:23 a92cc7c5fd73: Pulling fs layer 11:58:23 e871e8e8d7a9: Pulling fs layer 11:58:23 e73272ec9a57: Pulling fs layer 11:58:23 1e910a182e73: Pulling fs layer 11:58:23 4e634b169226: Pulling fs layer 11:58:23 e871e8e8d7a9: Waiting 11:58:23 e73272ec9a57: Waiting 11:58:23 1e910a182e73: Waiting 11:58:23 4e634b169226: Waiting 11:58:23 a92cc7c5fd73: Verifying Checksum 11:58:23 a92cc7c5fd73: Download complete 11:58:23 ed8968b2872e: Verifying Checksum 11:58:23 ed8968b2872e: Download complete 11:58:23 e73272ec9a57: Verifying Checksum 11:58:23 e73272ec9a57: Download complete 11:58:23 1e910a182e73: Verifying Checksum 11:58:23 1e910a182e73: Download complete 11:58:23 df20fa9351a1: Download complete 11:58:23 df20fa9351a1: Pull complete 11:58:23 ed8968b2872e: Pull complete 11:58:23 a92cc7c5fd73: Pull complete 11:58:25 4e634b169226: Verifying Checksum 11:58:25 4e634b169226: Download complete 11:58:25 e871e8e8d7a9: Download complete 11:58:31 e871e8e8d7a9: Pull complete 11:58:31 e73272ec9a57: Pull complete 11:58:31 1e910a182e73: Pull complete 11:58:39 4e634b169226: Pull complete 11:58:39 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 11:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 11:58:39 ---> f7629b54cfaa 11:58:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:58:39 ---> Running in fc92d48560e7 11:58:39 Removing intermediate container fc92d48560e7 11:58:39 ---> 6e615550dc21 11:58:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:58:39 ---> Running in e2bb480649e3 11:58:40 Removing intermediate container e2bb480649e3 11:58:40 ---> 81813a60ec89 11:58:40 Step 5/8 : RUN apk add --no-cache make git 11:58:40 ---> Running in 23f33757c4e7 11:58:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:58:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:58:42 OK: 166 MiB in 39 packages 11:58:42 Removing intermediate container 23f33757c4e7 11:58:42 ---> 48f2494dd3e7 11:58:42 Step 6/8 : WORKDIR /device-sdk-go 11:58:42 ---> Running in 12789678ef0f 11:58:42 Removing intermediate container 12789678ef0f 11:58:42 ---> 3e12c1cfbc21 11:58:42 Step 7/8 : COPY . . 11:58:44 ---> 4a3b3650dc57 11:58:44 Step 8/8 : RUN go mod download 11:58:44 ---> Running in fe0df9687715 11:59:02 Removing intermediate container fe0df9687715 11:59:02 ---> 5b8255fb042b 11:59:02 Successfully built 5b8255fb042b 11:59:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:59:02 + docker inspect -f . ci-base-image-x86_64 11:59:02 . [Pipeline] withDockerContainer 11:59:02 prd-centos7-docker-4c-2g-3228 does not seem to be running inside a container 11:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:59:03 $ docker top 6ff4f6e37de8c3078b758e2b953c17e9bff3ddadb8a8c1d4b5964406cfb004b8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:04 + go version 11:59:04 go version go1.15.2 linux/amd64 [Pipeline] } 11:59:04 $ docker stop --time=1 6ff4f6e37de8c3078b758e2b953c17e9bff3ddadb8a8c1d4b5964406cfb004b8 11:59:05 $ docker rm -f 6ff4f6e37de8c3078b758e2b953c17e9bff3ddadb8a8c1d4b5964406cfb004b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:59:06 + docker inspect -f . ci-base-image-x86_64 11:59:06 . [Pipeline] withDockerContainer 11:59:06 prd-centos7-docker-4c-2g-3228 does not seem to be running inside a container 11:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:59:07 $ docker top 880ac3b23e9796e323e2bffd5d2a823b774bacbb2643fdafb95db63bff32e9a6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:07 + make test 11:59:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 11:59:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 11:59:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 11:59:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 11:59:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 11:59:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 21.6% of statements 11:59:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.436s coverage: 97.1% of statements 11:59:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3231 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 11:59:58 Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout 12:00:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements 12:00:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements 12:00:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 12:00:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.195s coverage: 39.9% of statements 12:00:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 12:00:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 65.4% of statements 12:00:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 12:00:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 12:00:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 12:00:02 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 12:00:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 12:00:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 12:00:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.253s coverage: 68.9% of statements 12:00:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 12:00:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 12:00:02 GO111MODULE=on go vet ./... 12:00:03 using credential edgex-jenkins-ssh 12:00:03 Cloning the remote Git repository 12:00:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:00:03 > git init /w/workspace/device-sdk-go/15 # timeout=10 12:00:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:00:03 > git --version # timeout=10 12:00:03 > git --version # 'git version 2.17.1' 12:00:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:00:06 Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 12:00:06 Merge succeeded, producing 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 12:00:06 Checking out Revision 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 (PR-582) 12:00:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:00:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:00:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:00:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:00:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:00:06 > git config core.sparsecheckout # timeout=10 12:00:06 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 12:00:06 > git remote # timeout=10 12:00:06 > git config --get remote.origin.url # timeout=10 12:00:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:06 > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 12:00:06 > git rev-parse HEAD^{commit} # timeout=10 12:00:06 > git config core.sparsecheckout # timeout=10 12:00:06 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 12:00:09 gofmt -l . 12:00:09 [ "`gofmt -l .`" = "" ] 12:00:09 ./bin/test-attribution-txt.sh 12:00:09 ./bin/test-go-mod-tidy.sh [Pipeline] stash 12:00:09 Stashed 1 file(s) [Pipeline] } 12:00:09 $ docker stop --time=1 880ac3b23e9796e323e2bffd5d2a823b774bacbb2643fdafb95db63bff32e9a6 12:00:11 $ docker rm -f 880ac3b23e9796e323e2bffd5d2a823b774bacbb2643fdafb95db63bff32e9a6 12:00:11 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash 12:00:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:00:13 + ls -al . 12:00:13 total 192 12:00:13 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 3 12:00 . 12:00:13 drwxrwxr-x. 4 jenkins jenkins 30 Oct 3 11:58 .. 12:00:13 drwxrwxr-x. 2 jenkins jenkins 64 Oct 3 11:58 bin 12:00:13 -rw-r--r--. 1 jenkins jenkins 111040 Oct 3 11:59 coverage.out 12:00:13 -rw-rw-r--. 1 jenkins jenkins 936 Oct 3 11:58 Dockerfile.build 12:00:13 -rw-rw-r--. 1 jenkins jenkins 140 Oct 3 11:58 .dockerignore 12:00:13 drwxrwxr-x. 4 jenkins jenkins 48 Oct 3 11:58 example 12:00:13 drwxrwxr-x. 8 jenkins jenkins 179 Oct 3 11:58 .git 12:00:13 drwxrwxr-x. 2 jenkins jenkins 60 Oct 3 11:58 .github 12:00:13 -rw-rw-r--. 1 jenkins jenkins 138 Oct 3 11:58 .gitignore 12:00:13 -rw-r--r--. 1 jenkins jenkins 517 Oct 3 12:00 go.mod 12:00:13 -rw-r--r--. 1 jenkins jenkins 13731 Oct 3 12:00 go.sum 12:00:13 drwxrwxr-x. 15 jenkins jenkins 211 Oct 3 11:58 internal 12:00:13 -rw-rw-r--. 1 jenkins jenkins 785 Oct 3 11:58 Jenkinsfile 12:00:13 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 3 11:58 LICENSE 12:00:13 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 3 11:58 Makefile 12:00:13 drwxrwxr-x. 4 jenkins jenkins 26 Oct 3 11:58 openapi 12:00:13 drwxrwxr-x. 5 jenkins jenkins 50 Oct 3 11:58 pkg 12:00:13 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 3 11:58 README.md 12:00:13 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 3 11:58 RELEASE-NOTES.txt 12:00:13 drwxrwxr-x. 3 jenkins jenkins 58 Oct 3 11:58 .semver 12:00:13 drwxrwxr-x. 4 jenkins jenkins 54 Oct 3 11:58 snap 12:00:13 -rw-rw-r--. 1 jenkins jenkins 5 Oct 3 11:56 VERSION 12:00:13 -rw-rw-r--. 1 jenkins jenkins 222 Oct 3 11:58 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 12:00:13 ========================================================= 12:00:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 12:00:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:00:13 + 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=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 --label arch=amd64 --label version=0.0.0 . 12:00:13 Sending build context to Docker daemon 3.562MB 12:00:13 Step 1/24 : ARG BASE=golang:1.15-alpine 12:00:13 Step 2/24 : FROM ${BASE} AS builder 12:00:13 ---> 5b8255fb042b 12:00:13 Step 3/24 : ARG MAKE='make build' 12:00:14 ---> Running in 034b235975a1 12:00:14 Removing intermediate container 034b235975a1 12:00:14 ---> 117d497434d7 12:00:14 Step 4/24 : WORKDIR /device-sdk-go 12:00:14 ---> Running in 15921f7d8e21 12:00:14 + 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 . 12:00:14 Removing intermediate container 15921f7d8e21 12:00:14 ---> 393ebf9d08ea 12:00:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:00:14 ---> Running in 66074f6768bd 12:00:15 Removing intermediate container 66074f6768bd 12:00:15 ---> c54fa3cf933f 12:00:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:00:15 ---> Running in f417463962a5 12:00:15 Sending build context to Docker daemon 3.45MB 12:00:15 Step 1/8 : ARG BASE=golang:1.15-alpine 12:00:15 Step 2/8 : FROM ${BASE} 12:00:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:00:16 b538f80385f9: Pulling fs layer 12:00:16 74f711af9a0d: Pulling fs layer 12:00:16 99f96fe45779: Pulling fs layer 12:00:16 8529a6b9a6be: Pulling fs layer 12:00:16 45590311c82a: Pulling fs layer 12:00:16 69ca0ff8b7b3: Pulling fs layer 12:00:16 209524e5b208: Pulling fs layer 12:00:16 45590311c82a: Waiting 12:00:16 69ca0ff8b7b3: Waiting 12:00:16 209524e5b208: Waiting 12:00:16 8529a6b9a6be: Waiting 12:00:16 99f96fe45779: Verifying Checksum 12:00:16 99f96fe45779: Download complete 12:00:16 74f711af9a0d: Verifying Checksum 12:00:16 74f711af9a0d: Download complete 12:00:16 45590311c82a: Verifying Checksum 12:00:16 45590311c82a: Download complete 12:00:16 69ca0ff8b7b3: Verifying Checksum 12:00:16 69ca0ff8b7b3: Download complete 12:00:16 Removing intermediate container f417463962a5 12:00:16 ---> ac4db55e28a0 12:00:16 Step 7/24 : RUN apk add --update --no-cache make git 12:00:16 ---> Running in 81be785f7e6e 12:00:16 b538f80385f9: Verifying Checksum 12:00:16 b538f80385f9: Download complete 12:00:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:00:16 b538f80385f9: Pull complete 12:00:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:00:18 OK: 166 MiB in 39 packages 12:00:18 Removing intermediate container 81be785f7e6e 12:00:18 ---> 1220dd6e3a6e 12:00:18 Step 8/24 : COPY . . 12:00:18 209524e5b208: Verifying Checksum 12:00:18 209524e5b208: Download complete 12:00:19 ---> 1f7166ac9e72 12:00:19 Step 9/24 : RUN ${MAKE} 12:00:19 ---> Running in dea93c046bd7 12:00:19 8529a6b9a6be: Verifying Checksum 12:00:19 8529a6b9a6be: Download complete 12:00:20 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 12:00:20 74f711af9a0d: Pull complete 12:00:20 99f96fe45779: Pull complete 12:00:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 12:00:29 Removing intermediate container dea93c046bd7 12:00:29 ---> 3198f2c5f5a3 12:00:29 Step 10/24 : FROM scratch 12:00:29 ---> 12:00:29 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:00:29 ---> Running in 19105e67203d 12:00:29 Removing intermediate container 19105e67203d 12:00:29 ---> dd2d08a22d7e 12:00:29 Step 12/24 : ENV APP_PORT=49990 12:00:29 ---> Running in 599a15c9cd16 12:00:29 Removing intermediate container 599a15c9cd16 12:00:29 ---> 840ca9fa25d9 12:00:29 Step 13/24 : EXPOSE $APP_PORT 12:00:29 ---> Running in 802429112da6 12:00:30 Removing intermediate container 802429112da6 12:00:30 ---> 70ebe7ae592d 12:00:30 Step 14/24 : WORKDIR / 12:00:30 ---> Running in 099f196330a4 12:00:30 Removing intermediate container 099f196330a4 12:00:30 ---> 3f09e24e326d 12:00:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 12:00:30 ---> 60d0d8d1646d 12:00:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 12:00:30 ---> 99eef27e3911 12:00:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 12:00:31 ---> a49f603e3de8 12:00:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 12:00:31 ---> c89584a4684e 12:00:31 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 12:00:31 ---> 2371aa38ff6d 12:00:31 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 12:00:31 ---> Running in 9f34fd1fe302 12:00:31 Removing intermediate container 9f34fd1fe302 12:00:31 ---> f64e1f2ed7f3 12:00:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:00:31 ---> Running in e1b6535fc8ea 12:00:31 Removing intermediate container e1b6535fc8ea 12:00:31 ---> 4f678fb72b7e 12:00:31 Step 22/24 : LABEL arch=amd64 12:00:31 ---> Running in a55d675499d5 12:00:32 Removing intermediate container a55d675499d5 12:00:32 ---> 51e311552460 12:00:32 Step 23/24 : LABEL git_sha=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 12:00:32 ---> Running in f7b20e4def3d 12:00:32 Removing intermediate container f7b20e4def3d 12:00:32 ---> 78159ae508c8 12:00:32 Step 24/24 : LABEL version=0.0.0 12:00:32 ---> Running in 096dff0bd478 12:00:32 Removing intermediate container 096dff0bd478 12:00:32 ---> 752bd2945876 12:00:32 [Warning] One or more build-args [ARCH] were not consumed 12:00:32 Successfully built 752bd2945876 12:00:32 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) 12:00:33 8529a6b9a6be: Pull complete 12:00:33 45590311c82a: Pull complete 12:00:33 69ca0ff8b7b3: Pull complete 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] } 12:00:35 209524e5b208: Pull complete 12:00:35 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 12:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 12:00:35 ---> 5bddaf1c2fca 12:00:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:00:38 ---> Running in bd0e4e4c373e 12:00:38 Removing intermediate container bd0e4e4c373e 12:00:38 ---> b9f4b6825f20 12:00:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:00:38 ---> Running in ea881ec0baef 12:00:41 Removing intermediate container ea881ec0baef 12:00:41 ---> e2e58dc062e1 12:00:41 Step 5/8 : RUN apk add --no-cache make git 12:00:41 ---> Running in 57d76a8bc4a7 12:00:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:00:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:00:45 OK: 142 MiB in 39 packages 12:00:46 Removing intermediate container 57d76a8bc4a7 12:00:46 ---> d2f2fd4725e5 12:00:46 Step 6/8 : WORKDIR /device-sdk-go 12:00:46 ---> Running in 22b908662823 12:00:46 Removing intermediate container 22b908662823 12:00:46 ---> 2674e1877f83 12:00:46 Step 7/8 : COPY . . 12:00:48 ---> eea3905e4e29 12:00:48 Step 8/8 : RUN go mod download 12:00:48 ---> Running in e11ceb51bff8 12:01:10 Removing intermediate container e11ceb51bff8 12:01:10 ---> 3f015133c14d 12:01:10 Successfully built 3f015133c14d 12:01:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:01:11 + docker inspect -f . ci-base-image-arm64 12:01:11 . [Pipeline] withDockerContainer 12:01:11 prd-ubuntu18.04-docker-arm64-4c-16g-3231 does not seem to be running inside a container 12:01:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:01:13 $ docker top 16faed6ef585b513d11015aa4709db8708bdd291521077e4131174180a8bae7a -eo pid,comm [Pipeline] { [Pipeline] sh 12:01:15 + go version 12:01:15 go version go1.15.2 linux/arm64 [Pipeline] } 12:01:15 $ docker stop --time=1 16faed6ef585b513d11015aa4709db8708bdd291521077e4131174180a8bae7a 12:01:17 $ docker rm -f 16faed6ef585b513d11015aa4709db8708bdd291521077e4131174180a8bae7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:01:18 + docker inspect -f . ci-base-image-arm64 12:01:18 . [Pipeline] withDockerContainer 12:01:18 prd-ubuntu18.04-docker-arm64-4c-16g-3231 does not seem to be running inside a container 12:01:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:01:20 $ docker top db92588885789d89eba262e4f57f6ed3da3bd762772ae68e5e133b4f54f5adee -eo pid,comm [Pipeline] { [Pipeline] sh 12:01:22 + make test 12:01:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:01:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 12:02:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 12:02:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 12:02:23 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 12:02:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.148s coverage: 21.6% of statements 12:02:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.268s coverage: 97.1% of statements 12:02:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.120s coverage: 9.4% of statements 12:02:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.145s coverage: 21.9% of statements 12:02:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 12:02:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.623s coverage: 39.9% of statements 12:02:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 12:02:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.746s coverage: 65.4% of statements 12:02:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 12:02:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 12:02:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 12:02:56 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 12:02:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements 12:02:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 12:02:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.632s coverage: 68.9% of statements 12:02:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 12:02:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 12:02:56 GO111MODULE=on go vet ./... 12:03:23 gofmt -l . 12:03:23 [ "`gofmt -l .`" = "" ] 12:03:23 ./bin/test-attribution-txt.sh 12:03:24 ./bin/test-go-mod-tidy.sh [Pipeline] stash 12:03:25 Warning: overwriting stash ‘coverage-report’ 12:03:25 Stashed 1 file(s) [Pipeline] } 12:03:25 $ docker stop --time=1 db92588885789d89eba262e4f57f6ed3da3bd762772ae68e5e133b4f54f5adee 12:03:28 $ docker rm -f db92588885789d89eba262e4f57f6ed3da3bd762772ae68e5e133b4f54f5adee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:03:30 + ls -al . 12:03:30 total 232 12:03:30 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 12:03 . 12:03:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:00 .. 12:03:30 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 12:00 .dockerignore 12:03:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 12:00 .git 12:03:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 12:00 .github 12:03:30 -rw-rw-r-- 1 jenkins jenkins 138 Oct 3 12:00 .gitignore 12:03:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 12:00 .semver 12:03:30 -rw-rw-r-- 1 jenkins jenkins 936 Oct 3 12:00 Dockerfile.build 12:03:30 -rw-rw-r-- 1 jenkins jenkins 785 Oct 3 12:00 Jenkinsfile 12:03:30 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 12:00 LICENSE 12:03:30 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 3 12:00 Makefile 12:03:30 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 3 12:00 README.md 12:03:30 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 3 12:00 RELEASE-NOTES.txt 12:03:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 11:56 VERSION 12:03:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 12:00 bin 12:03:30 -rw-r--r-- 1 jenkins jenkins 111040 Oct 3 12:02 coverage.out 12:03:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:00 example 12:03:30 -rw-r--r-- 1 jenkins jenkins 517 Oct 3 12:03 go.mod 12:03:30 -rw-r--r-- 1 jenkins jenkins 13731 Oct 3 12:03 go.sum 12:03:30 drwxrwxr-x 15 jenkins jenkins 4096 Oct 3 12:00 internal 12:03:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:00 openapi 12:03:30 drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 12:00 pkg 12:03:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:00 snap 12:03:30 -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 12:00 version.go [Pipeline] isUnix [Pipeline] sh 12:03:30 + 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=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 --label arch=arm64 --label version=0.0.0 . 12:03:31 Sending build context to Docker daemon 3.561MB 12:03:31 Step 1/24 : ARG BASE=golang:1.15-alpine 12:03:31 Step 2/24 : FROM ${BASE} AS builder 12:03:31 ---> 3f015133c14d 12:03:31 Step 3/24 : ARG MAKE='make build' 12:03:31 ---> Running in fdcf73e0d306 12:03:32 Removing intermediate container fdcf73e0d306 12:03:32 ---> c8e9e9f112ef 12:03:32 Step 4/24 : WORKDIR /device-sdk-go 12:03:32 ---> Running in 0970b9241969 12:03:32 Removing intermediate container 0970b9241969 12:03:32 ---> 206a4e425400 12:03:32 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:03:32 ---> Running in ce6525309cb4 12:03:32 Removing intermediate container ce6525309cb4 12:03:32 ---> e6d7909730d9 12:03:32 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:03:33 ---> Running in 02d1e8489bf3 12:03:35 Removing intermediate container 02d1e8489bf3 12:03:35 ---> 494b302638ce 12:03:35 Step 7/24 : RUN apk add --update --no-cache make git 12:03:35 ---> Running in b76393be1b42 12:03:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:03:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:03:38 OK: 142 MiB in 39 packages 12:03:39 Removing intermediate container b76393be1b42 12:03:39 ---> c22aa4009994 12:03:39 Step 8/24 : COPY . . 12:03:41 ---> 124c02492266 12:03:41 Step 9/24 : RUN ${MAKE} 12:03:41 ---> Running in dc8af54e4a83 12:03:42 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 12:04:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 12:04:09 Removing intermediate container dc8af54e4a83 12:04:09 ---> 1408b85e718b 12:04:09 Step 10/24 : FROM scratch 12:04:09 ---> 12:04:09 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:04:09 ---> Running in 3bc572977878 12:04:09 Removing intermediate container 3bc572977878 12:04:09 ---> 987b7a78fc7d 12:04:09 Step 12/24 : ENV APP_PORT=49990 12:04:09 ---> Running in b4950806e5ed 12:04:09 Removing intermediate container b4950806e5ed 12:04:09 ---> 4a539d7af924 12:04:09 Step 13/24 : EXPOSE $APP_PORT 12:04:09 ---> Running in 13ea8065dbc7 12:04:09 Removing intermediate container 13ea8065dbc7 12:04:09 ---> 2eff1f95c81b 12:04:09 Step 14/24 : WORKDIR / 12:04:09 ---> Running in 625606d07d54 12:04:10 Removing intermediate container 625606d07d54 12:04:10 ---> 526746635848 12:04:10 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 12:04:11 ---> ff48b0fd7796 12:04:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 12:04:12 ---> f641050ad104 12:04:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 12:04:13 ---> 842fe90140f1 12:04:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 12:04:13 ---> 72b82de0ffef 12:04:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 12:04:14 ---> 562ef3016777 12:04:14 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 12:04:14 ---> Running in 141b3ed54f1d 12:04:15 Removing intermediate container 141b3ed54f1d 12:04:15 ---> 0246a04c9be1 12:04:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:04:15 ---> Running in e29dff70f86d 12:04:15 Removing intermediate container e29dff70f86d 12:04:15 ---> 426109204663 12:04:15 Step 22/24 : LABEL arch=arm64 12:04:15 ---> Running in dc902e042e41 12:04:16 Removing intermediate container dc902e042e41 12:04:16 ---> 2b7d46829503 12:04:16 Step 23/24 : LABEL git_sha=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 12:04:16 ---> Running in b85e7ba8c968 12:04:16 Removing intermediate container b85e7ba8c968 12:04:16 ---> c6eacc87abdf 12:04:16 Step 24/24 : LABEL version=0.0.0 12:04:16 ---> Running in 62d0a3417a49 12:04:17 Removing intermediate container 62d0a3417a49 12:04:17 ---> 15bd1fe93f2a 12:04:17 [Warning] One or more build-args [ARCH] were not consumed 12:04:17 Successfully built 15bd1fe93f2a 12:04:17 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 12:04:19 provisioning config files... 12:04:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config6786513606863353099tmp [Pipeline] { [Pipeline] sh 12:04:19 + set +x 12:04:19 + curl -s https://codecov.io/bash 12:04:19 + bash -s -- 12:04:19 12:04:19 _____ _ 12:04:19 / ____| | | 12:04:19 | | ___ __| | ___ ___ _____ __ 12:04:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:04:19 | |___| (_) | (_| | __/ (_| (_) \ V / 12:04:19 \_____\___/ \__,_|\___|\___\___/ \_/ 12:04:19 Bash-20200917-4e8f14b 12:04:19 12:04:19 12:04:19 ==> Jenkins CI detected. 12:04:19 project root: . 12:04:19 --> token set from env 12:04:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:04:19 ==> Running gcov in . (disable via -X gcov) 12:04:19 ==> Python coveragepy not found 12:04:19 ==> Searching for coverage reports in: 12:04:19 + . 12:04:19 -> Found 1 reports 12:04:19 ==> Detecting git/mercurial file structure 12:04:19 ==> Reading reports 12:04:19 + ./coverage.out bytes=111040 12:04:19 ==> Appending adjustments 12:04:19 https://docs.codecov.io/docs/fixing-reports 12:04:20 + Found adjustments 12:04:20 ==> Gzipping contents 12:04:20 ==> Uploading reports 12:04:20 url: https://codecov.io 12:04:20 query: branch=PR-582&commit=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 12:04:20 -> Pinging Codecov 12:04:20 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 12:04:20 -> Uploading to 12:04:20 https://storage.googleapis.com/codecov/v4/raw/2020-10-03/7E55EF52A471D76F132DFD9A03CDDE97/9375b7f525fed189b1e4f3d517ca2f0a3bc3a480/12c1d135-48a5-4249-86da-f19650707dfb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201003T120420Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c951a1af8703bf7d4711ebdb33431fcd0bd51b1fdfd1a85c962569cdc029d3a 12:04:20 % Total % Received % Xferd Average Speed Time Time Time Current 12:04:20 Dload Upload Total Spent Left Speed 12:04:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18309 0 0 100 18309 0 46935 --:--:-- --:--:-- --:--:-- 46946 12:04:21 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [Pipeline] } 12:04:21 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 12:04:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:04:24 ---> package-listing.sh 12:04:24 ++ facter osfamily 12:04:24 ++ tr '[:upper:]' '[:lower:]' 12:04:24 + OS_FAMILY=redhat 12:04:24 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 12:04:24 + START_PACKAGES=/tmp/packages_start.txt 12:04:24 + END_PACKAGES=/tmp/packages_end.txt 12:04:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:04:24 + PACKAGES=/tmp/packages_start.txt 12:04:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 12:04:24 + PACKAGES=/tmp/packages_end.txt 12:04:24 + case "${OS_FAMILY}" in 12:04:24 + rpm -qa 12:04:24 + sort 12:04:29 + '[' -f /tmp/packages_start.txt ']' 12:04:29 + '[' -f /tmp/packages_end.txt ']' 12:04:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:04:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 12:04:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 12:04:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:29 provisioning config files... 12:04:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config364994477479355234tmp [Pipeline] { [Pipeline] echo 12:04:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:04:29 ---> create-netrc.sh [Pipeline] } 12:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:04:29 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:04:30 ---> python-tools-install.sh 12:04:30 Generating Requirements File 12:05:51 Python 3.6.8 12:05:51 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 12:05:51 aiohttp==3.6.2 12:05:51 appdirs==1.4.3 12:05:51 argcomplete==1.12.1 12:05:51 aspy.yaml==1.3.0 12:05:51 async-timeout==3.0.1 12:05:51 attrs==19.3.0 12:05:51 Babel==2.8.0 12:05:51 beautifulsoup4==4.8.2 12:05:51 boto3==1.11.6 12:05:51 botocore==1.14.6 12:05:51 bs4==0.0.1 12:05:51 cachetools==4.1.1 12:05:51 certifi==2019.11.28 12:05:51 cffi==1.14.3 12:05:51 cfgv==2.0.1 12:05:51 chardet==3.0.4 12:05:51 click==7.1 12:05:51 cliff==3.4.0 12:05:51 cmd2==1.3.11 12:05:51 colorama==0.4.3 12:05:51 cryptography==3.1.1 12:05:51 debtcollector==2.2.0 12:05:51 decorator==4.4.2 12:05:51 defusedxml==0.6.0 12:05:51 Deprecated==1.2.7 12:05:51 distlib==0.3.1 12:05:51 distro==1.2.0 12:05:51 dnspython==1.16.0 12:05:51 docker==4.2.0 12:05:51 docutils==0.15.2 12:05:51 dogpile.cache==1.0.2 12:05:51 email-validator==1.0.5 12:05:51 filelock==3.0.12 12:05:51 future==0.18.2 12:05:51 google-auth==1.22.0 12:05:51 httplib2==0.17.0 12:05:51 identify==1.4.11 12:05:51 idna==2.9 12:05:51 idna-ssl==1.1.0 12:05:51 importlib-metadata==1.7.0 12:05:51 importlib-resources==1.5.0 12:05:51 iso8601==0.1.13 12:05:51 Jinja2==2.11.1 12:05:51 jmespath==0.10.0 12:05:51 jsonpatch==1.26 12:05:51 jsonpointer==2.0 12:05:51 jsonschema==3.2.0 12:05:51 keystoneauth1==4.2.1 12:05:51 kubernetes==11.0.0 12:05:51 lftools==0.34.2 12:05:51 lxml==4.5.0 12:05:51 MarkupSafe==0.23 12:05:51 msgpack==1.0.0 12:05:51 multi-key-dict==2.0.3 12:05:51 multidict==4.7.6 12:05:51 munch==2.5.0 12:05:51 netaddr==0.8.0 12:05:51 netifaces==0.10.9 12:05:51 niet==1.4.2 12:05:51 nodeenv==1.3.5 12:05:51 oauth2client==4.1.3 12:05:51 oauthlib==3.1.0 12:05:51 openstacksdk==0.50.0 12:05:51 os-client-config==2.1.0 12:05:51 os-service-types==1.7.0 12:05:51 osc-lib==2.2.1 12:05:51 oslo.config==8.3.2 12:05:51 oslo.context==3.1.1 12:05:51 oslo.i18n==5.0.1 12:05:51 oslo.log==4.4.0 12:05:51 oslo.serialization==4.0.1 12:05:51 oslo.utils==4.6.0 12:05:51 packaging==20.4 12:05:51 pbr==5.4.4 12:05:51 pluggy==0.13.1 12:05:51 prettytable==0.7.2 12:05:51 py==1.9.0 12:05:51 pyasn1==0.4.8 12:05:51 pyasn1-modules==0.2.8 12:05:51 pycparser==2.20 12:05:51 pygerrit2==2.0.10 12:05:51 PyGithub==1.46 12:05:51 pyinotify==0.9.6 12:05:51 PyJWT==1.7.1 12:05:51 pyparsing==2.4.7 12:05:51 pyperclip==1.8.0 12:05:51 pyroute2==0.4.13 12:05:51 pyrsistent==0.15.7 12:05:51 PySocks==1.6.8 12:05:51 python-cinderclient==7.2.0 12:05:51 python-dateutil==2.8.1 12:05:51 python-heatclient==2.2.1 12:05:51 python-jenkins==1.7.0 12:05:51 python-keystoneclient==4.1.1 12:05:51 python-magnumclient==3.2.1 12:05:51 python-novaclient==17.2.1 12:05:51 python-openstackclient==5.4.0 12:05:51 python-swiftclient==3.10.1 12:05:51 pytz==2020.1 12:05:51 PyYAML==5.3 12:05:51 requests==2.23.0 12:05:51 requests-oauthlib==1.3.0 12:05:51 requestsexceptions==1.4.0 12:05:51 rfc3986==1.4.0 12:05:51 rpm==4.11.3 12:05:51 rsa==4.0 12:05:51 ruamel.yaml==0.16.10 12:05:51 ruamel.yaml.clib==0.2.0 12:05:51 s3transfer==0.3.3 12:05:51 shade==1.27.2 12:05:51 simplejson==3.17.2 12:05:51 six==1.14.0 12:05:51 soupsieve==2.0 12:05:51 stevedore==3.2.2 12:05:51 tabulate==0.8.6 12:05:51 toml==0.10.0 12:05:51 tox==3.20.0 12:05:51 tqdm==4.43.0 12:05:51 typing-extensions==3.7.4.3 12:05:51 urllib3==1.25.8 12:05:51 virtualenv==20.0.32 12:05:51 wcwidth==0.2.5 12:05:51 websocket-client==0.57.0 12:05:51 wrapt==1.12.1 12:05:51 xdg==3.0.2 12:05:51 xmltodict==0.12.0 12:05:51 yarl==1.6.0 12:05:51 yq==2.11.1 12:05:51 zipp==3.2.0 12:05:51 Cache entry deserialization failed, entry ignored 12:05:51 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. 12:05:51 Python 2.7.5 12:05:51 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 12:05:52 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. 12:05:52 ansible==2.9.7 12:05:52 Babel==0.9.6 12:05:52 backports.ssl-match-hostname==3.5.0.1 12:05:52 beautifulsoup4==4.4.1 12:05:52 bodhi==2.11.0 12:05:52 bodhi-client==2.11.0 12:05:52 CCColUtils==1.4 12:05:52 cffi==1.6.0 12:05:52 chardet==2.2.1 12:05:52 click==6.7 12:05:52 cloud-init==18.5 12:05:52 configobj==4.7.2 12:05:52 cryptography==1.7.2 12:05:52 decorator==3.4.0 12:05:52 distro==1.2.0 12:05:52 enum34==1.0.4 12:05:52 fedpkg==1.38 12:05:52 futures==3.1.1 12:05:52 gitdb==0.6.4 12:05:52 GitPython==1.0.1 12:05:52 html5lib==0.999 12:05:52 httplib2==0.9.2 12:05:52 idna==2.4 12:05:52 iniparse==0.4 12:05:52 ipaddress==1.0.16 12:05:52 IPy==0.75 12:05:52 javapackages==1.0.0 12:05:52 Jinja2==2.7.2 12:05:52 jmespath==0.9.4 12:05:52 jsonpatch==1.2 12:05:52 jsonpointer==1.9 12:05:52 kerberos==1.1 12:05:52 kitchen==1.1.1 12:05:52 langtable==0.0.31 12:05:52 lockfile==0.9.1 12:05:52 lxml==3.2.1 12:05:52 MarkupSafe==0.11 12:05:52 munch==2.0.2 12:05:52 offtrac==0.1.0 12:05:52 openidc-client==0.6.0 12:05:52 packagedb-cli==2.14.1 12:05:52 paramiko==2.1.1 12:05:52 perf==0.1 12:05:52 ply==3.4 12:05:52 policycoreutils-default-encoding==0.1 12:05:52 prettytable==0.7.2 12:05:52 pyasn1==0.1.9 12:05:52 pycparser==2.14 12:05:52 pycurl==7.19.0 12:05:52 pygobject==3.22.0 12:05:52 pygpgme==0.3 12:05:52 pyliblzma==0.5.3 12:05:52 pyOpenSSL==0.13.1 12:05:52 pyparsing==1.5.6 12:05:52 pyserial==2.6 12:05:52 python-augeas==0.5.0 12:05:52 python-bugzilla==2.3.0 12:05:52 python-dateutil==1.5 12:05:52 python-fedora==0.10.0 12:05:52 python-linux-procfs==0.4.9 12:05:52 python-yubico==1.2.3 12:05:52 pyudev==0.15 12:05:52 pyusb==1.0.0b1 12:05:52 pyxattr==0.5.1 12:05:52 PyYAML==3.10 12:05:52 requests==2.6.0 12:05:52 requests-kerberos==0.7.0 12:05:52 rpkg==1.60 12:05:52 schedutils==0.4 12:05:52 seobject==0.1 12:05:52 sepolicy==1.1 12:05:52 six==1.9.0 12:05:52 smmap==0.9.0 12:05:52 urlgrabber==3.10 12:05:52 urllib3==1.10.2 12:05:52 virtualenv==15.1.0 12:05:52 yum-langpacks==0.4.2 12:05:52 yum-metadata-parser==1.1.4 [Pipeline] echo 12:05:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:05:52 ---> sudo-logs.sh 12:05:52 Archiving 'sudo' log.. [Pipeline] echo 12:05:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:05:53 ---> job-cost.sh 12:05:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0nYB 12:06:03 Cache entry deserialization failed, entry ignored 12:06:03 Cache entry deserialization failed, entry ignored 12:06:04 Cache entry deserialization failed, entry ignored 12:06:04 Cache entry deserialization failed, entry ignored 12:06:04 Cache entry deserialization failed, entry ignored 12:06:04 Cache entry deserialization failed, entry ignored 12:06:04 Cache entry deserialization failed, entry ignored 12:06:05 Cache entry deserialization failed, entry ignored 12:06:05 Cache entry deserialization failed, entry ignored 12:06:05 Cache entry deserialization failed, entry ignored 12:06:05 Cache entry deserialization failed, entry ignored 12:06:05 Cache entry deserialization failed, entry ignored 12:06:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 12:06:40 lf-activate-venv(): INFO: Adding /tmp/venv-0nYB/bin to PATH 12:06:40 INFO: No Stack... 12:06:40 INFO: Retrieving Pricing Info for: v1-standard-2 12:06:40 INFO: Archiving Costs [Pipeline] echo 12:06:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:06:40 ---> logs-deploy.sh 12:06:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/15 12:06:40 INFO: archiving workspace using pattern(s): 12:06:41 Archives upload complete. 12:06:42 INFO: archiving logs to Nexus