Pull request #595 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 6a644f195f70d064d428f19fecf7196d621efa3d rather than 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 Obtained Jenkinsfile from 6a644f195f70d064d428f19fecf7196d621efa3d 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-3355 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 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 Merge succeeded, producing 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 Checking out Revision 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 (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 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # 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 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 Commit message: "Update V2 Swagger file callback API status code" First time build. Skipping changelog. > git rev-list --no-walk 2b6ab6c3102fb4c0ce85907a4de0815987b4bca6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:50:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:50:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:50:22 ========================================================= 01:50:22 EdgeX Global Pipelines Version Info 01:50:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:50:23 ------------------- 01:50:23 stable info: 01:50:23 ------------------- 01:50:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:50:23 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 01:50:23 Message: update stable to v1.0.131 01:50:24 ------------------- 01:50:24 experimental info: 01:50:24 ------------------- 01:50:24 Commited By: **** collab-it+edgex@linuxfoundation.org 01:50:24 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 01:50:24 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:50:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:50:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:50:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:50:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:50:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:50:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:50:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:50:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo 01:50:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [Pipeline] echo 01:50:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dc4d2d [Pipeline] echo 01:50:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:28 + git log --format=format:%s -1 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [Pipeline] echo 01:50:28 GIT_COMMIT: 0dc4d2d1e043e31bd397e0f9b0e73245f1554204, Commit Message: Update V2 Swagger file callback API status code [Pipeline] echo 01:50:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:50:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:50:29 01:50:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:50:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:50:29 latest: Pulling from edgex-devops/git-semver 01:50:29 31603596830f: Pulling fs layer 01:50:29 2a8b12db71e7: Pulling fs layer 01:50:29 6ca5941a6612: Pulling fs layer 01:50:29 ecc8261a40a4: Pulling fs layer 01:50:29 ecc8261a40a4: Waiting 01:50:29 2a8b12db71e7: Download complete 01:50:29 31603596830f: Verifying Checksum 01:50:29 31603596830f: Download complete 01:50:30 ecc8261a40a4: Verifying Checksum 01:50:30 ecc8261a40a4: Download complete 01:50:30 6ca5941a6612: Verifying Checksum 01:50:30 6ca5941a6612: Download complete 01:50:30 31603596830f: Pull complete 01:50:30 2a8b12db71e7: Pull complete 01:50:30 6ca5941a6612: Pull complete 01:50:31 ecc8261a40a4: Pull complete 01:50:31 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:50:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:50:31 prd-centos7-docker-4c-2g-3355 does not seem to be running inside a container 01:50:31 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:50:33 $ docker top 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:50:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:50:33 [ssh-agent] Looking for ssh-agent implementation... 01:50:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:50:34 $ docker exec 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 ssh-agent 01:50:34 SSH_AUTH_SOCK=/tmp/ssh-epyq7wrLFuQ5/agent.12 01:50:34 SSH_AGENT_PID=17 01:50:34 Running ssh-add (command line suppressed) 01:50:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_2319769144441618968.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_2319769144441618968.key) 01:50:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:50:34 + git describe --exact-match --tags HEAD 01:50:34 fatal: no tag exactly matches '0dc4d2d1e043e31bd397e0f9b0e73245f1554204' [Pipeline] } 01:50:34 $ docker exec --env ******** --env ******** 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 ssh-agent -k 01:50:34 unset SSH_AUTH_SOCK; 01:50:34 unset SSH_AGENT_PID; 01:50:34 echo Agent pid 17 killed; 01:50:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:50:34 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:50:34 This usually means this commit has not been tagged. [Pipeline] sshagent 01:50:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:50:35 [ssh-agent] Looking for ssh-agent implementation... 01:50:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:50:35 $ docker exec 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 ssh-agent 01:50:35 SSH_AUTH_SOCK=/tmp/ssh-BMfY6BqaZHbu/agent.46 01:50:35 SSH_AGENT_PID=51 01:50:35 Running ssh-add (command line suppressed) 01:50:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_6411959156471428701.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_6411959156471428701.key) 01:50:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:50:35 + git semver init 01:50:35 # -> Open(): unable to determine branch for HEAD 01:50:35 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.git 01:50:35 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-595 01:50:35 # $SEMVER_REMOTE_NAME = origin 01:50:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:50:35 # $SEMVER_USER_NAME = edgex-jenkins 01:50:35 # $SEMVER_BRANCH = PR-595 01:50:35 # $SEMVER_TEMP = /tmp/semver-191846785 01:50:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 01:50:36 # '/tmp/semver-191846785' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver' 01:50:36 # -> Force: false 01:50:36 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver [Pipeline] } 01:50:36 $ docker exec --env ******** --env ******** 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 ssh-agent -k 01:50:36 unset SSH_AUTH_SOCK; 01:50:36 unset SSH_AGENT_PID; 01:50:36 echo Agent pid 51 killed; 01:50:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:50:37 + git semver [Pipeline] } 01:50:37 $ docker stop --time=1 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 01:50:38 $ docker rm -f 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:50:39 Stashed 42 file(s) [Pipeline] echo 01:50:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 01:50:39 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 01:50:55 Still waiting to schedule task 01:50:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:50:55 Still waiting to schedule task 01:50:55 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3353’ 01:53:25 Running on prd-centos7-docker-4c-2g-3357 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws 01:53:25 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 01:53:29 using credential edgex-jenkins-ssh 01:53:29 Cloning the remote Git repository 01:53:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:53:29 > git init /w/workspace/device-sdk-go/7 # timeout=10 01:53:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:53:29 > git --version # timeout=10 01:53:29 > git --version # 'git version 2.16.5' 01:53:29 using GIT_SSH to set credentials SSH Credentials for GitHub 01:53:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:53:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:53:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:53:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:53:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:53:30 using GIT_SSH to set credentials SSH Credentials for GitHub 01:53:30 > 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 01:53:30 Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 01:53:30 Merge succeeded, producing 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 01:53:30 Checking out Revision 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 (PR-595) 01:53:30 > git config core.sparsecheckout # timeout=10 01:53:30 > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 01:53:30 > git remote # timeout=10 01:53:30 > git config --get remote.origin.url # timeout=10 01:53:30 using GIT_SSH to set credentials SSH Credentials for GitHub 01:53:30 > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 01:53:30 > git rev-parse HEAD^{commit} # timeout=10 01:53:30 > git config core.sparsecheckout # timeout=10 01:53:30 > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 01:53:34 Commit message: "Update V2 Swagger file callback API status code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:53:36 ========================================================= 01:53:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:53:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:53:39 + 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 . 01:53:39 Sending build context to Docker daemon 3.486MB 01:53:39 Step 1/8 : ARG BASE=golang:1.15-alpine 01:53:39 Step 2/8 : FROM ${BASE} 01:53:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:53:39 df20fa9351a1: Pulling fs layer 01:53:39 ed8968b2872e: Pulling fs layer 01:53:39 a92cc7c5fd73: Pulling fs layer 01:53:39 e871e8e8d7a9: Pulling fs layer 01:53:39 e73272ec9a57: Pulling fs layer 01:53:39 1e910a182e73: Pulling fs layer 01:53:39 4e634b169226: Pulling fs layer 01:53:39 e871e8e8d7a9: Waiting 01:53:39 e73272ec9a57: Waiting 01:53:39 1e910a182e73: Waiting 01:53:39 4e634b169226: Waiting 01:53:39 a92cc7c5fd73: Verifying Checksum 01:53:39 a92cc7c5fd73: Download complete 01:53:39 ed8968b2872e: Verifying Checksum 01:53:39 ed8968b2872e: Download complete 01:53:39 e73272ec9a57: Verifying Checksum 01:53:39 e73272ec9a57: Download complete 01:53:39 1e910a182e73: Verifying Checksum 01:53:39 1e910a182e73: Download complete 01:53:39 df20fa9351a1: Verifying Checksum 01:53:39 df20fa9351a1: Download complete 01:53:40 df20fa9351a1: Pull complete 01:53:40 ed8968b2872e: Pull complete 01:53:40 a92cc7c5fd73: Pull complete 01:53:42 4e634b169226: Verifying Checksum 01:53:42 4e634b169226: Download complete 01:53:42 e871e8e8d7a9: Verifying Checksum 01:53:42 e871e8e8d7a9: Download complete 01:53:48 e871e8e8d7a9: Pull complete 01:53:48 e73272ec9a57: Pull complete 01:53:48 1e910a182e73: Pull complete 01:53:53 4e634b169226: Pull complete 01:53:53 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:53:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:53:53 ---> f7629b54cfaa 01:53:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:53:53 ---> Running in 9e597184d6d2 01:53:53 Removing intermediate container 9e597184d6d2 01:53:53 ---> cfe9aadd48b7 01:53:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:53:53 ---> Running in 6040918d55c9 01:53:55 Removing intermediate container 6040918d55c9 01:53:55 ---> bbd1b3a45677 01:53:55 Step 5/8 : RUN apk add --no-cache make git 01:53:55 ---> Running in e7dfc00b4fb6 01:53:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:53:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:53:56 OK: 166 MiB in 39 packages 01:53:57 Removing intermediate container e7dfc00b4fb6 01:53:57 ---> 6ee5a1832a4e 01:53:57 Step 6/8 : WORKDIR /device-sdk-go 01:53:57 ---> Running in 7a666398395a 01:53:57 Removing intermediate container 7a666398395a 01:53:57 ---> 445478e01988 01:53:57 Step 7/8 : COPY . . 01:53:58 ---> f398233535ed 01:53:58 Step 8/8 : RUN go mod download 01:53:58 ---> Running in 3dbccb150c57 01:54:17 Removing intermediate container 3dbccb150c57 01:54:17 ---> ad6dce2c6d30 01:54:17 Successfully built ad6dce2c6d30 01:54:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:54:17 + docker inspect -f . ci-base-image-x86_64 01:54:17 . [Pipeline] withDockerContainer 01:54:17 prd-centos7-docker-4c-2g-3357 does not seem to be running inside a container 01:54:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:54:18 $ docker top 69d84ec0952c23074a167c89aed201f68fb0d53e144419bfde00c8b6bbc08d43 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:18 + go version 01:54:18 go version go1.15.2 linux/amd64 [Pipeline] } 01:54:18 $ docker stop --time=1 69d84ec0952c23074a167c89aed201f68fb0d53e144419bfde00c8b6bbc08d43 01:54:20 $ docker rm -f 69d84ec0952c23074a167c89aed201f68fb0d53e144419bfde00c8b6bbc08d43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:54:21 + docker inspect -f . ci-base-image-x86_64 01:54:21 . [Pipeline] withDockerContainer 01:54:21 prd-centos7-docker-4c-2g-3357 does not seem to be running inside a container 01:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:54:22 $ docker top f31fe35b0c38ceee2cd8a260554d6805369c78bb75a5f71ad7de2e3e9dfb0586 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:22 + make test 01:54:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:54:30 ? github.com/edgexfoundry/device-sdk-go [no test files] 01:54:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3358 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws 01:54:32 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 01:54:37 using credential edgex-jenkins-ssh 01:54:37 Cloning the remote Git repository 01:54:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:54:37 > git init /w/workspace/device-sdk-go/7 # timeout=10 01:54:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:54:37 > git --version # timeout=10 01:54:37 > git --version # 'git version 2.17.1' 01:54:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:54:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:54:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:54:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:54:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:54:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:54:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:54:38 > 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 01:54:39 Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 01:54:39 Merge succeeded, producing 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 01:54:39 Checking out Revision 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 (PR-595) 01:54:39 > git config core.sparsecheckout # timeout=10 01:54:39 > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 01:54:39 > git remote # timeout=10 01:54:39 > git config --get remote.origin.url # timeout=10 01:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:54:39 > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 01:54:39 > git rev-parse HEAD^{commit} # timeout=10 01:54:39 > git config core.sparsecheckout # timeout=10 01:54:39 > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 01:54:44 Commit message: "Update V2 Swagger file callback API status code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:54:45 ========================================================= 01:54:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:54:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:54:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 01:54:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 01:54:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 01:54:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 21.6% of statements 01:54:46 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.436s coverage: 97.1% of statements 01:54:46 + 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 . 01:54:47 Sending build context to Docker daemon 3.484MB 01:54:47 Step 1/8 : ARG BASE=golang:1.15-alpine 01:54:47 Step 2/8 : FROM ${BASE} 01:54:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:54:48 b538f80385f9: Pulling fs layer 01:54:48 74f711af9a0d: Pulling fs layer 01:54:48 99f96fe45779: Pulling fs layer 01:54:48 8529a6b9a6be: Pulling fs layer 01:54:48 45590311c82a: Pulling fs layer 01:54:48 69ca0ff8b7b3: Pulling fs layer 01:54:48 209524e5b208: Pulling fs layer 01:54:48 45590311c82a: Waiting 01:54:48 69ca0ff8b7b3: Waiting 01:54:48 209524e5b208: Waiting 01:54:48 8529a6b9a6be: Waiting 01:54:48 99f96fe45779: Download complete 01:54:48 74f711af9a0d: Verifying Checksum 01:54:48 74f711af9a0d: Download complete 01:54:48 45590311c82a: Verifying Checksum 01:54:48 45590311c82a: Download complete 01:54:48 69ca0ff8b7b3: Verifying Checksum 01:54:48 69ca0ff8b7b3: Download complete 01:54:48 b538f80385f9: Verifying Checksum 01:54:48 b538f80385f9: Download complete 01:54:48 b538f80385f9: Pull complete 01:54:49 74f711af9a0d: Pull complete 01:54:49 99f96fe45779: Pull complete 01:54:50 209524e5b208: Verifying Checksum 01:54:50 209524e5b208: Download complete 01:54:51 8529a6b9a6be: Verifying Checksum 01:54:51 8529a6b9a6be: Download complete 01:55:01 8529a6b9a6be: Pull complete 01:55:01 45590311c82a: Pull complete 01:55:01 69ca0ff8b7b3: Pull complete 01:55:05 209524e5b208: Pull complete 01:55:05 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:55:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:55:05 ---> 5bddaf1c2fca 01:55:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:55:08 ---> Running in 437b4fe3cdb0 01:55:08 Removing intermediate container 437b4fe3cdb0 01:55:08 ---> 09e56af83b00 01:55:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:55:08 ---> Running in 1290926d5005 01:55:11 Removing intermediate container 1290926d5005 01:55:11 ---> f186b983f138 01:55:11 Step 5/8 : RUN apk add --no-cache make git 01:55:11 ---> Running in 1ff480fa33f6 01:55:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:55:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:55:16 OK: 142 MiB in 39 packages 01:55:17 Removing intermediate container 1ff480fa33f6 01:55:17 ---> 2a716af23222 01:55:17 Step 6/8 : WORKDIR /device-sdk-go 01:55:17 ---> Running in 2406aed442cf 01:55:18 Removing intermediate container 2406aed442cf 01:55:18 ---> 6bbc8fbb7836 01:55:18 Step 7/8 : COPY . . 01:55:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements 01:55:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 21.9% of statements 01:55:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 01:55:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.207s coverage: 39.9% of statements 01:55:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 01:55:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.288s coverage: 65.4% of statements 01:55:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 01:55:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 01:55:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 01:55:18 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 01:55:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 01:55:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 01:55:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.301s coverage: 68.9% of statements 01:55:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 01:55:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 01:55:18 GO111MODULE=on go vet ./... 01:55:19 ---> 0e613130c83d 01:55:19 Step 8/8 : RUN go mod download 01:55:19 ---> Running in 6bbf8fe12798 01:55:25 gofmt -l . 01:55:25 [ "`gofmt -l .`" = "" ] 01:55:25 ./bin/test-attribution-txt.sh 01:55:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:55:26 Stashed 1 file(s) [Pipeline] } 01:55:26 $ docker stop --time=1 f31fe35b0c38ceee2cd8a260554d6805369c78bb75a5f71ad7de2e3e9dfb0586 01:55:28 $ docker rm -f f31fe35b0c38ceee2cd8a260554d6805369c78bb75a5f71ad7de2e3e9dfb0586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:55:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:55:31 + ls -al . 01:55:31 total 192 01:55:31 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 5 01:55 . 01:55:31 drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 01:53 .. 01:55:31 drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 01:53 bin 01:55:31 -rw-r--r--. 1 jenkins jenkins 111040 Oct 5 01:55 coverage.out 01:55:31 -rw-rw-r--. 1 jenkins jenkins 936 Oct 5 01:53 Dockerfile.build 01:55:31 -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 01:53 .dockerignore 01:55:31 drwxrwxr-x. 4 jenkins jenkins 48 Oct 5 01:53 example 01:55:31 drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 01:53 .git 01:55:31 drwxrwxr-x. 2 jenkins jenkins 60 Oct 5 01:53 .github 01:55:31 -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 01:53 .gitignore 01:55:31 -rw-r--r--. 1 jenkins jenkins 517 Oct 5 01:55 go.mod 01:55:31 -rw-r--r--. 1 jenkins jenkins 13652 Oct 5 01:55 go.sum 01:55:31 drwxrwxr-x. 15 jenkins jenkins 211 Oct 5 01:53 internal 01:55:31 -rw-rw-r--. 1 jenkins jenkins 785 Oct 5 01:53 Jenkinsfile 01:55:31 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 01:53 LICENSE 01:55:31 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 5 01:53 Makefile 01:55:31 drwxrwxr-x. 4 jenkins jenkins 26 Oct 5 01:53 openapi 01:55:31 drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 01:53 pkg 01:55:31 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 5 01:53 README.md 01:55:31 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 5 01:53 RELEASE-NOTES.txt 01:55:31 drwxrwxr-x. 3 jenkins jenkins 58 Oct 5 01:53 .semver 01:55:31 drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 01:53 snap 01:55:31 -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 01:50 VERSION 01:55:31 -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 01:53 version.go [Pipeline] isUnix [Pipeline] sh 01:55:32 + 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=0dc4d2d1e043e31bd397e0f9b0e73245f1554204 --label arch=amd64 --label version=0.0.0 . 01:55:32 Sending build context to Docker daemon 3.598MB 01:55:32 Step 1/24 : ARG BASE=golang:1.15-alpine 01:55:32 Step 2/24 : FROM ${BASE} AS builder 01:55:32 ---> ad6dce2c6d30 01:55:32 Step 3/24 : ARG MAKE='make build' 01:55:33 ---> Running in de009f5789f4 01:55:33 Removing intermediate container de009f5789f4 01:55:33 ---> 9a47c2b221d2 01:55:33 Step 4/24 : WORKDIR /device-sdk-go 01:55:33 ---> Running in 67d464069f3c 01:55:33 Removing intermediate container 67d464069f3c 01:55:33 ---> d39ea5d7291c 01:55:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:55:33 ---> Running in 2b93da5a3807 01:55:33 Removing intermediate container 2b93da5a3807 01:55:33 ---> b5428f56d8d4 01:55:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:55:33 ---> Running in 5d49fc31968e 01:55:34 Removing intermediate container 5d49fc31968e 01:55:34 ---> f22f0d440687 01:55:34 Step 7/24 : RUN apk add --update --no-cache make git 01:55:34 ---> Running in ffb522c1f5c2 01:55:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:55:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:55:36 OK: 166 MiB in 39 packages 01:55:37 Removing intermediate container ffb522c1f5c2 01:55:37 ---> 205c347d5bd3 01:55:37 Step 8/24 : COPY . . 01:55:38 ---> e84bccc441e3 01:55:38 Step 9/24 : RUN ${MAKE} 01:55:38 ---> Running in 4fd8f29f25fc 01:55:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:55:46 Removing intermediate container 6bbf8fe12798 01:55:46 ---> 4d7bbd06f08f 01:55:46 Successfully built 4d7bbd06f08f 01:55:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:55:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 01:55:47 + docker inspect -f . ci-base-image-arm64 01:55:47 . [Pipeline] withDockerContainer 01:55:47 prd-ubuntu18.04-docker-arm64-4c-16g-3358 does not seem to be running inside a container 01:55:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 01:55:48 Removing intermediate container 4fd8f29f25fc 01:55:48 ---> 40f9f517f22f 01:55:48 Step 10/24 : FROM scratch 01:55:48 ---> 01:55:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:55:48 ---> Running in 14e65a7d7de7 01:55:48 Removing intermediate container 14e65a7d7de7 01:55:48 ---> 4a376df63c16 01:55:48 Step 12/24 : ENV APP_PORT=49990 01:55:48 ---> Running in 3b7a477413b1 01:55:49 Removing intermediate container 3b7a477413b1 01:55:49 ---> 4cb4dd1551a8 01:55:49 Step 13/24 : EXPOSE $APP_PORT 01:55:49 ---> Running in becc5d7a721e 01:55:49 Removing intermediate container becc5d7a721e 01:55:49 ---> dc556c7be41f 01:55:49 Step 14/24 : WORKDIR / 01:55:49 ---> Running in d1b83d43582c 01:55:49 $ docker top ed43c7b708068858cfcdde661771d47d3110a6e8c5ce80d6013615b0cd341164 -eo pid,comm 01:55:49 Removing intermediate container d1b83d43582c 01:55:49 ---> 1068f225da56 01:55:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 01:55:49 ---> 74233db530dd 01:55:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] { [Pipeline] sh 01:55:50 ---> f35ec3dface9 01:55:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 01:55:50 ---> 15709fc73f65 01:55:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 01:55:50 ---> 83db92059d30 01:55:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 01:55:50 ---> 5a8586d4adb5 01:55:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 01:55:50 ---> Running in 811e6a6d22da 01:55:51 + go version 01:55:51 go version go1.15.2 linux/arm64 [Pipeline] } 01:55:51 $ docker stop --time=1 ed43c7b708068858cfcdde661771d47d3110a6e8c5ce80d6013615b0cd341164 01:55:51 Removing intermediate container 811e6a6d22da 01:55:51 ---> 2f3d8e583e38 01:55:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:55:51 ---> Running in 6cbb77a19c36 01:55:51 Removing intermediate container 6cbb77a19c36 01:55:51 ---> 2a50451b47ca 01:55:51 Step 22/24 : LABEL arch=amd64 01:55:51 ---> Running in e2aa3056ca42 01:55:51 Removing intermediate container e2aa3056ca42 01:55:51 ---> d788c2765371 01:55:51 Step 23/24 : LABEL git_sha=0dc4d2d1e043e31bd397e0f9b0e73245f1554204 01:55:51 ---> Running in 850ee9c9943a 01:55:52 Removing intermediate container 850ee9c9943a 01:55:52 ---> dda3b69d18ba 01:55:52 Step 24/24 : LABEL version=0.0.0 01:55:52 ---> Running in 6442a8e4088c 01:55:52 Removing intermediate container 6442a8e4088c 01:55:52 ---> bf1e4355803b 01:55:52 [Warning] One or more build-args [ARCH] were not consumed 01:55:52 Successfully built bf1e4355803b 01:55:52 Successfully tagged docker-device-sdk-simple:latest 01:55:53 $ docker rm -f ed43c7b708068858cfcdde661771d47d3110a6e8c5ce80d6013615b0cd341164 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:55:54 + docker inspect -f . ci-base-image-arm64 01:55:54 . [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer 01:55:54 prd-ubuntu18.04-docker-arm64-4c-16g-3358 does not seem to be running inside a container 01:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 01:55:56 $ docker top 84b0d257d6dac6dd60582e4bbbe5838aac1dcec6db3ffc8b206b7f3af2ff90b7 -eo pid,comm [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:55:58 + make test 01:55:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:56:20 ? github.com/edgexfoundry/device-sdk-go [no test files] 01:57:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 01:57:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 01:57:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 01:57:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.130s coverage: 21.6% of statements 01:57:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.193s coverage: 97.1% of statements 01:57:34 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.134s coverage: 9.4% of statements 01:57:34 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements 01:57:34 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 01:57:34 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.548s coverage: 39.9% of statements 01:57:34 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 01:57:34 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.878s coverage: 65.4% of statements 01:57:34 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 01:57:34 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 01:57:34 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 01:57:34 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 01:57:34 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.171s coverage: 52.6% of statements 01:57:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 01:57:34 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.027s coverage: 68.9% of statements 01:57:34 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 01:57:34 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 01:57:34 GO111MODULE=on go vet ./... 01:58:06 gofmt -l . 01:58:06 [ "`gofmt -l .`" = "" ] 01:58:06 ./bin/test-attribution-txt.sh 01:58:06 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:58:06 Warning: overwriting stash ‘coverage-report’ 01:58:07 Stashed 1 file(s) [Pipeline] } 01:58:07 $ docker stop --time=1 84b0d257d6dac6dd60582e4bbbe5838aac1dcec6db3ffc8b206b7f3af2ff90b7 01:58:10 $ docker rm -f 84b0d257d6dac6dd60582e4bbbe5838aac1dcec6db3ffc8b206b7f3af2ff90b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:58:12 + ls -al . 01:58:12 total 232 01:58:12 drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 01:58 . 01:58:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:54 .. 01:58:12 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 01:54 .dockerignore 01:58:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 01:54 .git 01:58:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 01:54 .github 01:58:12 -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 01:54 .gitignore 01:58:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 01:54 .semver 01:58:12 -rw-rw-r-- 1 jenkins jenkins 936 Oct 5 01:54 Dockerfile.build 01:58:12 -rw-rw-r-- 1 jenkins jenkins 785 Oct 5 01:54 Jenkinsfile 01:58:12 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 01:54 LICENSE 01:58:12 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 5 01:54 Makefile 01:58:12 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 5 01:54 README.md 01:58:12 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 5 01:54 RELEASE-NOTES.txt 01:58:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 01:50 VERSION 01:58:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 01:54 bin 01:58:12 -rw-r--r-- 1 jenkins jenkins 111040 Oct 5 01:57 coverage.out 01:58:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:54 example 01:58:12 -rw-r--r-- 1 jenkins jenkins 517 Oct 5 01:58 go.mod 01:58:12 -rw-r--r-- 1 jenkins jenkins 13652 Oct 5 01:58 go.sum 01:58:12 drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 01:54 internal 01:58:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:54 openapi 01:58:12 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 01:54 pkg 01:58:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:54 snap 01:58:12 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 01:54 version.go [Pipeline] isUnix [Pipeline] sh 01:58:12 + 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=0dc4d2d1e043e31bd397e0f9b0e73245f1554204 --label arch=arm64 --label version=0.0.0 . 01:58:12 Sending build context to Docker daemon 3.596MB 01:58:12 Step 1/24 : ARG BASE=golang:1.15-alpine 01:58:12 Step 2/24 : FROM ${BASE} AS builder 01:58:12 ---> 4d7bbd06f08f 01:58:12 Step 3/24 : ARG MAKE='make build' 01:58:13 ---> Running in 6ff7f3219f1a 01:58:13 Removing intermediate container 6ff7f3219f1a 01:58:13 ---> 06a05871fe63 01:58:13 Step 4/24 : WORKDIR /device-sdk-go 01:58:13 ---> Running in 9f5ee0d22788 01:58:14 Removing intermediate container 9f5ee0d22788 01:58:14 ---> 7b41692b226e 01:58:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:58:14 ---> Running in cbf9defb7543 01:58:14 Removing intermediate container cbf9defb7543 01:58:14 ---> 4465dc34ce85 01:58:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:58:14 ---> Running in 3dd303526f84 01:58:17 Removing intermediate container 3dd303526f84 01:58:17 ---> bc69ecadc90a 01:58:17 Step 7/24 : RUN apk add --update --no-cache make git 01:58:17 ---> Running in c92fd1ac6eb6 01:58:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:58:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:58:20 OK: 142 MiB in 39 packages 01:58:21 Removing intermediate container c92fd1ac6eb6 01:58:21 ---> c3555979566a 01:58:21 Step 8/24 : COPY . . 01:58:23 ---> 53b3309f91e2 01:58:23 Step 9/24 : RUN ${MAKE} 01:58:23 ---> Running in dbc723ad73b2 01:58:24 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 01:58:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 01:58:51 Removing intermediate container dbc723ad73b2 01:58:51 ---> f625753c2bef 01:58:51 Step 10/24 : FROM scratch 01:58:51 ---> 01:58:51 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:58:51 ---> Running in c16c1df886ce 01:58:51 Removing intermediate container c16c1df886ce 01:58:51 ---> a5685f7ca767 01:58:51 Step 12/24 : ENV APP_PORT=49990 01:58:51 ---> Running in 00e515120742 01:58:51 Removing intermediate container 00e515120742 01:58:51 ---> 6f8b4ab776d4 01:58:51 Step 13/24 : EXPOSE $APP_PORT 01:58:51 ---> Running in d8ada2304e2b 01:58:51 Removing intermediate container d8ada2304e2b 01:58:51 ---> ebd578cc631f 01:58:51 Step 14/24 : WORKDIR / 01:58:51 ---> Running in fd4255a3b84f 01:58:51 Removing intermediate container fd4255a3b84f 01:58:51 ---> 51a557053b43 01:58:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 01:58:52 ---> ae85ec34b979 01:58:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 01:58:53 ---> fe8751e11cb6 01:58:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 01:58:54 ---> 99fac35a94f5 01:58:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 01:58:55 ---> 5d639d1280bb 01:58:55 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 01:58:56 ---> b126ebb21895 01:58:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 01:58:56 ---> Running in 0f83c105584b 01:58:56 Removing intermediate container 0f83c105584b 01:58:56 ---> 17ebfeae97a4 01:58:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:58:56 ---> Running in dcb08c604b83 01:58:56 Removing intermediate container dcb08c604b83 01:58:56 ---> da4e32bc8ede 01:58:56 Step 22/24 : LABEL arch=arm64 01:58:57 ---> Running in 7f1c3b94aa61 01:58:57 Removing intermediate container 7f1c3b94aa61 01:58:57 ---> d7542be50bd4 01:58:57 Step 23/24 : LABEL git_sha=0dc4d2d1e043e31bd397e0f9b0e73245f1554204 01:58:57 ---> Running in 23a8042b79e8 01:58:58 Removing intermediate container 23a8042b79e8 01:58:58 ---> 7d5d6a7c9e7e 01:58:58 Step 24/24 : LABEL version=0.0.0 01:58:58 ---> Running in ec42ad384d9c 01:58:58 Removing intermediate container ec42ad384d9c 01:58:58 ---> 353d29dee759 01:58:58 [Warning] One or more build-args [ARCH] were not consumed 01:58:58 Successfully built 353d29dee759 01:58:58 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 01:59:01 provisioning config files... 01:59:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config7834017213788651060tmp [Pipeline] { [Pipeline] sh 01:59:01 + set +x 01:59:01 + curl -s https://codecov.io/bash 01:59:01 + bash -s -- 01:59:02 01:59:02 _____ _ 01:59:02 / ____| | | 01:59:02 | | ___ __| | ___ ___ _____ __ 01:59:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:59:02 | |___| (_) | (_| | __/ (_| (_) \ V / 01:59:02 \_____\___/ \__,_|\___|\___\___/ \_/ 01:59:02 Bash-20200917-4e8f14b 01:59:02 01:59:02 01:59:02 ==> Jenkins CI detected. 01:59:02 project root: . 01:59:02 --> token set from env 01:59:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:59:02 ==> Running gcov in . (disable via -X gcov) 01:59:02 ==> Python coveragepy not found 01:59:02 ==> Searching for coverage reports in: 01:59:02 + . 01:59:02 -> Found 1 reports 01:59:02 ==> Detecting git/mercurial file structure 01:59:02 ==> Reading reports 01:59:02 + ./coverage.out bytes=111040 01:59:02 ==> Appending adjustments 01:59:02 https://docs.codecov.io/docs/fixing-reports 01:59:02 + Found adjustments 01:59:02 ==> Gzipping contents 01:59:02 ==> Uploading reports 01:59:02 url: https://codecov.io 01:59:02 query: branch=PR-595&commit=0dc4d2d1e043e31bd397e0f9b0e73245f1554204&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-595%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=595&job=&cmd_args= 01:59:02 -> Pinging Codecov 01:59:02 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-595&commit=0dc4d2d1e043e31bd397e0f9b0e73245f1554204&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-595%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=595&job=&cmd_args= 01:59:03 -> Uploading to 01:59:03 https://storage.googleapis.com/codecov/v4/raw/2020-10-05/7E55EF52A471D76F132DFD9A03CDDE97/0dc4d2d1e043e31bd397e0f9b0e73245f1554204/946c4dfb-ec2b-4fc7-9af5-f4fb275f2b3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201005T015902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67700c24f8e67220ef637ff666676629913aa7eedb81bca25fc964e5ef3bfeac 01:59:03 % Total % Received % Xferd Average Speed Time Time Time Current 01:59:03 Dload Upload Total Spent Left Speed 01:59:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18337 0 0 100 18337 0 42871 --:--:-- --:--:-- --:--:-- 42943 01:59:03 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [Pipeline] } 01:59:03 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 01:59:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:06 ---> package-listing.sh 01:59:06 ++ facter osfamily 01:59:06 ++ tr '[:upper:]' '[:lower:]' 01:59:06 + OS_FAMILY=redhat 01:59:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-595 01:59:06 + START_PACKAGES=/tmp/packages_start.txt 01:59:06 + END_PACKAGES=/tmp/packages_end.txt 01:59:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:06 + PACKAGES=/tmp/packages_start.txt 01:59:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' 01:59:06 + PACKAGES=/tmp/packages_end.txt 01:59:06 + case "${OS_FAMILY}" in 01:59:06 + rpm -qa 01:59:06 + sort 01:59:11 + '[' -f /tmp/packages_start.txt ']' 01:59:11 + '[' -f /tmp/packages_end.txt ']' 01:59:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' 01:59:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ 01:59:11 + 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 01:59:11 provisioning config files... 01:59:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config5477781865283756295tmp [Pipeline] { [Pipeline] echo 01:59:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:11 ---> create-netrc.sh [Pipeline] } 01:59:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:59:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:59:12 ---> python-tools-install.sh 01:59:12 Generating Requirements File 02:00:33 Python 3.6.8 02:00:33 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:00:33 aiohttp==3.6.2 02:00:33 appdirs==1.4.3 02:00:33 argcomplete==1.12.1 02:00:33 aspy.yaml==1.3.0 02:00:33 async-timeout==3.0.1 02:00:33 attrs==19.3.0 02:00:33 Babel==2.8.0 02:00:33 beautifulsoup4==4.8.2 02:00:33 boto3==1.11.6 02:00:33 botocore==1.14.6 02:00:33 bs4==0.0.1 02:00:33 cachetools==4.1.1 02:00:33 certifi==2019.11.28 02:00:33 cffi==1.14.3 02:00:33 cfgv==2.0.1 02:00:33 chardet==3.0.4 02:00:33 click==7.1 02:00:33 cliff==3.4.0 02:00:33 cmd2==1.3.11 02:00:33 colorama==0.4.3 02:00:33 cryptography==3.1.1 02:00:33 debtcollector==2.2.0 02:00:33 decorator==4.4.2 02:00:33 defusedxml==0.6.0 02:00:33 Deprecated==1.2.7 02:00:33 distlib==0.3.1 02:00:33 distro==1.2.0 02:00:33 dnspython==1.16.0 02:00:33 docker==4.2.0 02:00:33 docutils==0.15.2 02:00:33 dogpile.cache==1.0.2 02:00:33 email-validator==1.0.5 02:00:33 filelock==3.0.12 02:00:33 future==0.18.2 02:00:33 google-auth==1.22.0 02:00:33 httplib2==0.17.0 02:00:33 identify==1.4.11 02:00:33 idna==2.9 02:00:33 idna-ssl==1.1.0 02:00:33 importlib-metadata==1.7.0 02:00:33 importlib-resources==1.5.0 02:00:33 iso8601==0.1.13 02:00:33 Jinja2==2.11.1 02:00:33 jmespath==0.10.0 02:00:33 jsonpatch==1.26 02:00:33 jsonpointer==2.0 02:00:33 jsonschema==3.2.0 02:00:33 keystoneauth1==4.2.1 02:00:33 kubernetes==11.0.0 02:00:33 lftools==0.34.2 02:00:33 lxml==4.5.0 02:00:33 MarkupSafe==0.23 02:00:33 msgpack==1.0.0 02:00:33 multi-key-dict==2.0.3 02:00:33 multidict==4.7.6 02:00:33 munch==2.5.0 02:00:33 netaddr==0.8.0 02:00:33 netifaces==0.10.9 02:00:33 niet==1.4.2 02:00:33 nodeenv==1.3.5 02:00:33 oauth2client==4.1.3 02:00:33 oauthlib==3.1.0 02:00:33 openstacksdk==0.50.0 02:00:33 os-client-config==2.1.0 02:00:33 os-service-types==1.7.0 02:00:33 osc-lib==2.2.1 02:00:33 oslo.config==8.3.2 02:00:33 oslo.context==3.1.1 02:00:33 oslo.i18n==5.0.1 02:00:33 oslo.log==4.4.0 02:00:33 oslo.serialization==4.0.1 02:00:33 oslo.utils==4.6.0 02:00:33 packaging==20.4 02:00:33 pbr==5.4.4 02:00:33 pluggy==0.13.1 02:00:33 prettytable==0.7.2 02:00:33 py==1.9.0 02:00:33 pyasn1==0.4.8 02:00:33 pyasn1-modules==0.2.8 02:00:33 pycparser==2.20 02:00:33 pygerrit2==2.0.10 02:00:33 PyGithub==1.46 02:00:33 pyinotify==0.9.6 02:00:33 PyJWT==1.7.1 02:00:33 pyparsing==2.4.7 02:00:33 pyperclip==1.8.0 02:00:33 pyroute2==0.4.13 02:00:33 pyrsistent==0.15.7 02:00:33 PySocks==1.6.8 02:00:33 python-cinderclient==7.2.0 02:00:33 python-dateutil==2.8.1 02:00:33 python-heatclient==2.2.1 02:00:33 python-jenkins==1.7.0 02:00:33 python-keystoneclient==4.1.1 02:00:33 python-magnumclient==3.2.1 02:00:33 python-novaclient==17.2.1 02:00:33 python-openstackclient==5.4.0 02:00:33 python-swiftclient==3.10.1 02:00:33 pytz==2020.1 02:00:33 PyYAML==5.3 02:00:33 requests==2.23.0 02:00:33 requests-oauthlib==1.3.0 02:00:33 requestsexceptions==1.4.0 02:00:33 rfc3986==1.4.0 02:00:33 rpm==4.11.3 02:00:33 rsa==4.0 02:00:33 ruamel.yaml==0.16.10 02:00:33 ruamel.yaml.clib==0.2.0 02:00:33 s3transfer==0.3.3 02:00:33 shade==1.27.2 02:00:33 simplejson==3.17.2 02:00:33 six==1.14.0 02:00:33 soupsieve==2.0 02:00:33 stevedore==3.2.2 02:00:33 tabulate==0.8.6 02:00:33 toml==0.10.0 02:00:33 tox==3.20.0 02:00:33 tqdm==4.43.0 02:00:33 typing-extensions==3.7.4.3 02:00:33 urllib3==1.25.8 02:00:33 virtualenv==20.0.33 02:00:33 wcwidth==0.2.5 02:00:33 websocket-client==0.57.0 02:00:33 wrapt==1.12.1 02:00:33 xdg==3.0.2 02:00:33 xmltodict==0.12.0 02:00:33 yarl==1.6.0 02:00:33 yq==2.11.1 02:00:33 zipp==3.3.0 02:00:33 Cache entry deserialization failed, entry ignored 02:00:33 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:00:33 Python 2.7.5 02:00:33 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:00:33 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:00:33 ansible==2.9.7 02:00:33 Babel==0.9.6 02:00:33 backports.ssl-match-hostname==3.5.0.1 02:00:33 beautifulsoup4==4.4.1 02:00:33 bodhi==2.11.0 02:00:33 bodhi-client==2.11.0 02:00:33 CCColUtils==1.4 02:00:33 cffi==1.6.0 02:00:33 chardet==2.2.1 02:00:33 click==6.7 02:00:33 cloud-init==18.5 02:00:33 configobj==4.7.2 02:00:33 cryptography==1.7.2 02:00:33 decorator==3.4.0 02:00:33 distro==1.2.0 02:00:33 enum34==1.0.4 02:00:33 fedpkg==1.38 02:00:33 futures==3.1.1 02:00:33 gitdb==0.6.4 02:00:33 GitPython==1.0.1 02:00:33 html5lib==0.999 02:00:33 httplib2==0.9.2 02:00:33 idna==2.4 02:00:33 iniparse==0.4 02:00:33 ipaddress==1.0.16 02:00:33 IPy==0.75 02:00:33 javapackages==1.0.0 02:00:33 Jinja2==2.7.2 02:00:33 jmespath==0.9.4 02:00:33 jsonpatch==1.2 02:00:33 jsonpointer==1.9 02:00:33 kerberos==1.1 02:00:33 kitchen==1.1.1 02:00:33 langtable==0.0.31 02:00:33 lockfile==0.9.1 02:00:33 lxml==3.2.1 02:00:33 MarkupSafe==0.11 02:00:33 munch==2.0.2 02:00:33 offtrac==0.1.0 02:00:33 openidc-client==0.6.0 02:00:33 packagedb-cli==2.14.1 02:00:33 paramiko==2.1.1 02:00:33 perf==0.1 02:00:33 ply==3.4 02:00:33 policycoreutils-default-encoding==0.1 02:00:33 prettytable==0.7.2 02:00:33 pyasn1==0.1.9 02:00:33 pycparser==2.14 02:00:33 pycurl==7.19.0 02:00:33 pygobject==3.22.0 02:00:33 pygpgme==0.3 02:00:33 pyliblzma==0.5.3 02:00:33 pyOpenSSL==0.13.1 02:00:33 pyparsing==1.5.6 02:00:33 pyserial==2.6 02:00:33 python-augeas==0.5.0 02:00:33 python-bugzilla==2.3.0 02:00:33 python-dateutil==1.5 02:00:33 python-fedora==0.10.0 02:00:33 python-linux-procfs==0.4.9 02:00:33 python-yubico==1.2.3 02:00:33 pyudev==0.15 02:00:33 pyusb==1.0.0b1 02:00:33 pyxattr==0.5.1 02:00:33 PyYAML==3.10 02:00:33 requests==2.6.0 02:00:33 requests-kerberos==0.7.0 02:00:33 rpkg==1.60 02:00:33 schedutils==0.4 02:00:33 seobject==0.1 02:00:33 sepolicy==1.1 02:00:33 six==1.9.0 02:00:33 smmap==0.9.0 02:00:33 urlgrabber==3.10 02:00:33 urllib3==1.10.2 02:00:33 virtualenv==15.1.0 02:00:33 yum-langpacks==0.4.2 02:00:33 yum-metadata-parser==1.1.4 [Pipeline] echo 02:00:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:00:34 ---> sudo-logs.sh 02:00:34 Archiving 'sudo' log.. [Pipeline] echo 02:00:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:00:34 ---> job-cost.sh 02:00:34 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eLw6 02:00:46 Cache entry deserialization failed, entry ignored 02:00:46 Cache entry deserialization failed, entry ignored 02:00:46 Cache entry deserialization failed, entry ignored 02:00:46 Cache entry deserialization failed, entry ignored 02:00:46 Cache entry deserialization failed, entry ignored 02:00:46 Cache entry deserialization failed, entry ignored 02:00:46 Cache entry deserialization failed, entry ignored 02:00:47 Cache entry deserialization failed, entry ignored 02:00:47 Cache entry deserialization failed, entry ignored 02:00:47 Cache entry deserialization failed, entry ignored 02:00:47 Cache entry deserialization failed, entry ignored 02:00:47 Cache entry deserialization failed, entry ignored 02:00:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:01:23 lf-activate-venv(): INFO: Adding /tmp/venv-eLw6/bin to PATH 02:01:23 INFO: No Stack... 02:01:23 INFO: Retrieving Pricing Info for: v1-standard-2 02:01:23 INFO: Archiving Costs [Pipeline] echo 02:01:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:01:24 ---> logs-deploy.sh 02:01:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-595/7 02:01:24 INFO: archiving workspace using pattern(s): 02:01:25 Archives upload complete. 02:01:25 INFO: archiving logs to Nexus