Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480+51b10ba24d09b5e22132647652f16c288a0af487 (ac2411d94fd78242459d894c6214eb7c45f0f969) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-3650 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 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 Merge succeeded, producing 05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 Checking out Revision 05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 (PR-582) > 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 > 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 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 # timeout=10 Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:18:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 02e2254e3913a7a837b7d8237e7273c3339b1274 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:18:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:18:36 ========================================================= 05:18:36 EdgeX Global Pipelines Version Info 05:18:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:18:38 ------------------- 05:18:38 stable info: 05:18:38 ------------------- 05:18:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:18:38 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:18:38 Message: update stable to v1.0.131 05:18:39 ------------------- 05:18:39 experimental info: 05:18:39 ------------------- 05:18:39 Commited By: **** collab-it+edgex@linuxfoundation.org 05:18:39 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 05:18:39 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:18:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:18:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:18:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:18:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:18:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:18:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:18:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:18:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:18:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:18:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:18:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:18:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:18:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:18:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:18:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:18:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:18:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 05:18:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 05:18:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 05:18:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 [Pipeline] echo 05:18:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05b56d0 [Pipeline] echo 05:18:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:43 + git log --format=format:%s -1 05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 [Pipeline] echo 05:18:43 GIT_COMMIT: 05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045, Commit Message: Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD [Pipeline] echo 05:18:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:18:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:18:44 05:18:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:18:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:18:44 latest: Pulling from edgex-devops/git-semver 05:18:44 31603596830f: Pulling fs layer 05:18:44 2a8b12db71e7: Pulling fs layer 05:18:44 6ca5941a6612: Pulling fs layer 05:18:44 ecc8261a40a4: Pulling fs layer 05:18:44 2a8b12db71e7: Verifying Checksum 05:18:44 2a8b12db71e7: Download complete 05:18:44 31603596830f: Verifying Checksum 05:18:44 31603596830f: Download complete 05:18:44 ecc8261a40a4: Verifying Checksum 05:18:44 ecc8261a40a4: Download complete 05:18:44 6ca5941a6612: Verifying Checksum 05:18:44 6ca5941a6612: Download complete 05:18:44 31603596830f: Pull complete 05:18:44 2a8b12db71e7: Pull complete 05:18:45 6ca5941a6612: Pull complete 05:18:45 ecc8261a40a4: Pull complete 05:18:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:18:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:18:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:18:46 prd-centos7-docker-4c-2g-3650 does not seem to be running inside a container 05:18:46 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:18:47 $ docker top a15fb910f23f4455057b25fbfa0e9f72c2e34b67f1862ae384bc3b4a8c4dfc22 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:18:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:48 [ssh-agent] Looking for ssh-agent implementation... 05:18:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:48 $ docker exec a15fb910f23f4455057b25fbfa0e9f72c2e34b67f1862ae384bc3b4a8c4dfc22 ssh-agent 05:18:48 SSH_AUTH_SOCK=/tmp/ssh-Hshpc4cx08so/agent.11 05:18:48 SSH_AGENT_PID=16 05:18:48 Running ssh-add (command line suppressed) 05:18:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5231665450697104402.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5231665450697104402.key) 05:18:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:49 + git describe --exact-match --tags HEAD 05:18:49 fatal: no tag exactly matches '05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045' [Pipeline] } 05:18:49 $ docker exec --env ******** --env ******** a15fb910f23f4455057b25fbfa0e9f72c2e34b67f1862ae384bc3b4a8c4dfc22 ssh-agent -k 05:18:49 unset SSH_AUTH_SOCK; 05:18:49 unset SSH_AGENT_PID; 05:18:49 echo Agent pid 16 killed; 05:18:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:18:49 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:18:49 This usually means this commit has not been tagged. [Pipeline] sshagent 05:18:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:49 [ssh-agent] Looking for ssh-agent implementation... 05:18:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:49 $ docker exec a15fb910f23f4455057b25fbfa0e9f72c2e34b67f1862ae384bc3b4a8c4dfc22 ssh-agent 05:18:49 SSH_AUTH_SOCK=/tmp/ssh-jYRdA2yFKVDI/agent.44 05:18:49 SSH_AGENT_PID=50 05:18:49 Running ssh-add (command line suppressed) 05:18:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_8872512889724334169.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_8872512889724334169.key) 05:18:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:50 + git semver init 05:18:50 # -> Open(): unable to determine branch for HEAD 05:18:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 05:18:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 05:18:50 # $SEMVER_REMOTE_NAME = origin 05:18:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:18:50 # $SEMVER_USER_NAME = edgex-jenkins 05:18:50 # $SEMVER_BRANCH = PR-582 05:18:50 # $SEMVER_TEMP = /tmp/semver-542126769 05:18:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:18:51 # '/tmp/semver-542126769' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 05:18:51 # -> Force: false 05:18:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 05:18:51 $ docker exec --env ******** --env ******** a15fb910f23f4455057b25fbfa0e9f72c2e34b67f1862ae384bc3b4a8c4dfc22 ssh-agent -k 05:18:51 unset SSH_AUTH_SOCK; 05:18:51 unset SSH_AGENT_PID; 05:18:51 echo Agent pid 50 killed; 05:18:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:18:51 + git semver [Pipeline] } 05:18:51 $ docker stop --time=1 a15fb910f23f4455057b25fbfa0e9f72c2e34b67f1862ae384bc3b4a8c4dfc22 05:18:53 $ docker rm -f a15fb910f23f4455057b25fbfa0e9f72c2e34b67f1862ae384bc3b4a8c4dfc22 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:18:54 Stashed 44 file(s) [Pipeline] echo 05:18:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:18:54 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:19:09 Still waiting to schedule task 05:19:09 ‘prd-centos7-docker-4c-2g-3640’ is offline; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3653’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3652’ doesn’t have label ‘centos7-docker-4c-2g’ 05:19:09 Still waiting to schedule task 05:19:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3652’ is offline 05:21:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3662 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 05:21:56 Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout 05:22:02 using credential edgex-jenkins-ssh 05:22:02 Cloning the remote Git repository 05:22:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:22:02 > git init /w/workspace/device-sdk-go/17 # timeout=10 05:22:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:22:02 > git --version # timeout=10 05:22:02 > git --version # 'git version 2.17.1' 05:22:02 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:04 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 05:22:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:22:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:22:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:22:03 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:03 > 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 05:22:04 > git config core.sparsecheckout # timeout=10 05:22:04 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 05:22:04 > git remote # timeout=10 05:22:04 > git config --get remote.origin.url # timeout=10 05:22:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:04 > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 05:22:04 Merge succeeded, producing d05db9bbdac24a5b17bc8b087c868fe8caea6ead 05:22:04 Checking out Revision d05db9bbdac24a5b17bc8b087c868fe8caea6ead (PR-582) 05:22:05 Running on prd-centos7-docker-4c-2g-3665 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 05:22:05 Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout 05:22:04 > git rev-parse HEAD^{commit} # timeout=10 05:22:04 > git config core.sparsecheckout # timeout=10 05:22:04 > git checkout -f d05db9bbdac24a5b17bc8b087c868fe8caea6ead # timeout=10 05:22:08 using credential edgex-jenkins-ssh 05:22:08 Cloning the remote Git repository 05:22:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:22:08 > git init /w/workspace/device-sdk-go/17 # timeout=10 05:22:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:22:09 > git --version # timeout=10 05:22:09 > git --version # 'git version 2.16.5' 05:22:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:09 Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" 05:22:09 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 05:22:10 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 05:22:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:22:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:22:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:22:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:09 > 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 05:22:10 > git config core.sparsecheckout # timeout=10 05:22:09 > git rev-list --no-walk 02e2254e3913a7a837b7d8237e7273c3339b1274 # timeout=10 05:22:10 Merge succeeded, producing 3f937881e1dab473e389b4c22341823cb19d9d14 05:22:10 Checking out Revision 3f937881e1dab473e389b4c22341823cb19d9d14 (PR-582) [Pipeline] echo 05:22:10 ========================================================= 05:22:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:22:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:22:10 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 05:22:10 > git remote # timeout=10 05:22:10 > git config --get remote.origin.url # timeout=10 05:22:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:10 > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 05:22:10 > git rev-parse HEAD^{commit} # timeout=10 05:22:10 > git config core.sparsecheckout # timeout=10 05:22:10 > git checkout -f 3f937881e1dab473e389b4c22341823cb19d9d14 # timeout=10 05:22:11 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:22:12 Sending build context to Docker daemon 3.516MB 05:22:12 Step 1/8 : ARG BASE=golang:1.15-alpine 05:22:12 Step 2/8 : FROM ${BASE} 05:22:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:22:13 b538f80385f9: Pulling fs layer 05:22:13 74f711af9a0d: Pulling fs layer 05:22:13 99f96fe45779: Pulling fs layer 05:22:13 8529a6b9a6be: Pulling fs layer 05:22:13 45590311c82a: Pulling fs layer 05:22:13 69ca0ff8b7b3: Pulling fs layer 05:22:13 209524e5b208: Pulling fs layer 05:22:13 8529a6b9a6be: Waiting 05:22:13 45590311c82a: Waiting 05:22:13 69ca0ff8b7b3: Waiting 05:22:13 209524e5b208: Waiting 05:22:13 99f96fe45779: Verifying Checksum 05:22:13 99f96fe45779: Download complete 05:22:13 74f711af9a0d: Verifying Checksum 05:22:13 74f711af9a0d: Download complete 05:22:13 45590311c82a: Verifying Checksum 05:22:13 45590311c82a: Download complete 05:22:13 69ca0ff8b7b3: Verifying Checksum 05:22:13 b538f80385f9: Verifying Checksum 05:22:13 b538f80385f9: Download complete 05:22:14 b538f80385f9: Pull complete 05:22:14 Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" 05:22:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:22:14 74f711af9a0d: Pull complete [Pipeline] script [Pipeline] { [Pipeline] unstash 05:22:15 99f96fe45779: Pull complete [Pipeline] echo 05:22:15 ========================================================= 05:22:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:22:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:22:14 > git rev-list --no-walk 02e2254e3913a7a837b7d8237e7273c3339b1274 # timeout=10 05:22:15 209524e5b208: Verifying Checksum 05:22:15 209524e5b208: Download complete 05:22:16 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:22:16 Sending build context to Docker daemon 3.516MB 05:22:16 Step 1/8 : ARG BASE=golang:1.15-alpine 05:22:16 Step 2/8 : FROM ${BASE} 05:22:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:22:16 df20fa9351a1: Pulling fs layer 05:22:16 ed8968b2872e: Pulling fs layer 05:22:16 a92cc7c5fd73: Pulling fs layer 05:22:16 e871e8e8d7a9: Pulling fs layer 05:22:16 e73272ec9a57: Pulling fs layer 05:22:16 1e910a182e73: Pulling fs layer 05:22:16 4e634b169226: Pulling fs layer 05:22:16 e73272ec9a57: Waiting 05:22:16 1e910a182e73: Waiting 05:22:16 4e634b169226: Waiting 05:22:16 e871e8e8d7a9: Waiting 05:22:16 a92cc7c5fd73: Verifying Checksum 05:22:16 a92cc7c5fd73: Download complete 05:22:16 ed8968b2872e: Verifying Checksum 05:22:16 ed8968b2872e: Download complete 05:22:16 e73272ec9a57: Verifying Checksum 05:22:16 e73272ec9a57: Download complete 05:22:16 1e910a182e73: Download complete 05:22:16 df20fa9351a1: Verifying Checksum 05:22:16 df20fa9351a1: Download complete 05:22:17 df20fa9351a1: Pull complete 05:22:17 ed8968b2872e: Pull complete 05:22:17 a92cc7c5fd73: Pull complete 05:22:17 8529a6b9a6be: Verifying Checksum 05:22:17 8529a6b9a6be: Download complete 05:22:18 4e634b169226: Verifying Checksum 05:22:18 4e634b169226: Download complete 05:22:19 e871e8e8d7a9: Verifying Checksum 05:22:19 e871e8e8d7a9: Download complete 05:22:24 e871e8e8d7a9: Pull complete 05:22:25 e73272ec9a57: Pull complete 05:22:25 1e910a182e73: Pull complete 05:22:27 8529a6b9a6be: Pull complete 05:22:27 45590311c82a: Pull complete 05:22:27 69ca0ff8b7b3: Pull complete 05:22:31 209524e5b208: Pull complete 05:22:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:22:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:22:31 ---> 5bddaf1c2fca 05:22:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:22:33 4e634b169226: Pull complete 05:22:33 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:22:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:22:33 ---> f7629b54cfaa 05:22:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:22:33 ---> Running in d4ea05260b7d 05:22:33 Removing intermediate container d4ea05260b7d 05:22:33 ---> 9d42c46bcd40 05:22:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:33 ---> Running in c8e8cf804df8 05:22:34 ---> Running in 4424ab9b44a9 05:22:34 Removing intermediate container 4424ab9b44a9 05:22:34 ---> 5bc8fb60a904 05:22:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:34 ---> Running in 8d5171f134a3 05:22:34 Removing intermediate container c8e8cf804df8 05:22:34 ---> e38e1d44bb20 05:22:34 Step 5/8 : RUN apk add --no-cache make git 05:22:34 ---> Running in d733d2c4eaf3 05:22:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:22:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:22:37 Removing intermediate container 8d5171f134a3 05:22:37 ---> fe9f3b35626d 05:22:37 Step 5/8 : RUN apk add --no-cache make git 05:22:37 ---> Running in f2192010b493 05:22:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:22:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:22:41 OK: 166 MiB in 39 packages 05:22:41 Removing intermediate container d733d2c4eaf3 05:22:41 ---> bc608eeb4bfb 05:22:41 Step 6/8 : WORKDIR /device-sdk-go 05:22:41 ---> Running in 089ced97ebf1 05:22:41 Removing intermediate container 089ced97ebf1 05:22:41 ---> 6e7f5fa5fa37 05:22:41 Step 7/8 : COPY . . 05:22:42 ---> e28fd624907c 05:22:42 Step 8/8 : RUN go mod download 05:22:42 ---> Running in b59f20a6eece 05:22:43 OK: 142 MiB in 39 packages 05:22:44 Removing intermediate container f2192010b493 05:22:44 ---> fba7cd53d8c3 05:22:44 Step 6/8 : WORKDIR /device-sdk-go 05:22:44 ---> Running in ab02e5aabf20 05:22:45 Removing intermediate container ab02e5aabf20 05:22:45 ---> 704bf73fdbf3 05:22:45 Step 7/8 : COPY . . 05:22:46 ---> b6f7bf0b6812 05:22:46 Step 8/8 : RUN go mod download 05:22:46 ---> Running in eb2fa2e09790 05:23:00 Removing intermediate container b59f20a6eece 05:23:00 ---> 383f6d92dc6b 05:23:00 Successfully built 383f6d92dc6b 05:23:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:23:01 + docker inspect -f . ci-base-image-x86_64 05:23:01 . [Pipeline] withDockerContainer 05:23:01 prd-centos7-docker-4c-2g-3665 does not seem to be running inside a container 05:23:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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-x86_64 cat 05:23:02 $ docker top 55937180f9ca4de671fdd44626e50852ebe890bbd860eedc55a1d7a33fe89d27 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:03 + go version 05:23:03 go version go1.15.2 linux/amd64 [Pipeline] } 05:23:03 $ docker stop --time=1 55937180f9ca4de671fdd44626e50852ebe890bbd860eedc55a1d7a33fe89d27 05:23:04 $ docker rm -f 55937180f9ca4de671fdd44626e50852ebe890bbd860eedc55a1d7a33fe89d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:23:05 + docker inspect -f . ci-base-image-x86_64 05:23:05 . [Pipeline] withDockerContainer 05:23:05 prd-centos7-docker-4c-2g-3665 does not seem to be running inside a container 05:23:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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-x86_64 cat 05:23:06 $ docker top f456a897a9552fb2155c13f4c5203ad6c30c4540b003c799ef46c8e102b29660 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:06 + make test 05:23:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:23:08 Removing intermediate container eb2fa2e09790 05:23:08 ---> a366e18e612b 05:23:08 Successfully built a366e18e612b 05:23:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:23:09 + docker inspect -f . ci-base-image-arm64 05:23:09 . [Pipeline] withDockerContainer 05:23:09 prd-ubuntu18.04-docker-arm64-4c-16g-3662 does not seem to be running inside a container 05:23:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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-arm64 cat 05:23:11 $ docker top 5e336017b17b086a3adf02212861c5861e08f47b34f1c2c0bdfc2c3e32c8a87d -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:13 + go version 05:23:13 go version go1.15.2 linux/arm64 [Pipeline] } 05:23:13 $ docker stop --time=1 5e336017b17b086a3adf02212861c5861e08f47b34f1c2c0bdfc2c3e32c8a87d 05:23:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:23:15 $ docker rm -f 5e336017b17b086a3adf02212861c5861e08f47b34f1c2c0bdfc2c3e32c8a87d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:23:16 + docker inspect -f . ci-base-image-arm64 05:23:16 . [Pipeline] withDockerContainer 05:23:16 prd-ubuntu18.04-docker-arm64-4c-16g-3662 does not seem to be running inside a container 05:23:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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-arm64 cat 05:23:18 $ docker top 51acd8ebfbc4884a112550bd731feedcd2cd54b17d5ac9514b4cd8460eef40b2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:19 + make test 05:23:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:23:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:23:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:23:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:23:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 21.6% of statements 05:23:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.446s coverage: 97.1% of statements 05:23:46 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:24:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements 05:24:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.9% of statements 05:24:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:24:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.218s coverage: 39.9% of statements 05:24:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:24:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 65.4% of statements 05:24:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:24:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:24:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:24:02 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:24:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements 05:24:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:24:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.378s coverage: 68.9% of statements 05:24:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:24:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:24:02 GO111MODULE=on go vet ./... 05:24:09 gofmt -l . 05:24:09 [ "`gofmt -l .`" = "" ] 05:24:09 ./bin/test-attribution-txt.sh 05:24:09 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:24:09 Stashed 1 file(s) [Pipeline] } 05:24:09 $ docker stop --time=1 f456a897a9552fb2155c13f4c5203ad6c30c4540b003c799ef46c8e102b29660 05:24:11 $ docker rm -f f456a897a9552fb2155c13f4c5203ad6c30c4540b003c799ef46c8e102b29660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:24:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:24:13 + ls -al . 05:24:13 total 192 05:24:13 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 05:24 . 05:24:13 drwxrwxr-x. 4 jenkins jenkins 30 Oct 6 05:22 .. 05:24:13 drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 05:22 bin 05:24:13 -rw-r--r--. 1 jenkins jenkins 111040 Oct 6 05:23 coverage.out 05:24:13 -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 05:22 Dockerfile.build 05:24:13 -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 05:22 .dockerignore 05:24:13 drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 05:22 example 05:24:13 drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 05:22 .git 05:24:13 drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 05:22 .github 05:24:13 -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 05:22 .gitignore 05:24:13 -rw-r--r--. 1 jenkins jenkins 517 Oct 6 05:24 go.mod 05:24:13 -rw-r--r--. 1 jenkins jenkins 13731 Oct 6 05:24 go.sum 05:24:13 drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 05:22 internal 05:24:13 -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 05:22 Jenkinsfile 05:24:13 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 05:22 LICENSE 05:24:13 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 05:22 Makefile 05:24:13 drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 05:22 openapi 05:24:13 drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 05:22 pkg 05:24:13 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 05:22 README.md 05:24:13 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 05:22 RELEASE-NOTES.txt 05:24:13 drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 05:22 .semver 05:24:13 drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 05:22 snap 05:24:13 -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 05:18 VERSION 05:24:13 -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 05:22 version.go [Pipeline] isUnix [Pipeline] sh 05:24: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=05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 --label arch=amd64 --label version=0.0.0 . 05:24:13 Sending build context to Docker daemon 3.628MB 05:24:13 Step 1/24 : ARG BASE=golang:1.15-alpine 05:24:13 Step 2/24 : FROM ${BASE} AS builder 05:24:13 ---> 383f6d92dc6b 05:24:13 Step 3/24 : ARG MAKE='make build' 05:24:14 ---> Running in f388d292c1ac 05:24:14 Removing intermediate container f388d292c1ac 05:24:14 ---> 42fc6bf292fd 05:24:14 Step 4/24 : WORKDIR /device-sdk-go 05:24:14 ---> Running in 7eb100065b2b 05:24:14 Removing intermediate container 7eb100065b2b 05:24:14 ---> 4814a6794f02 05:24:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:24:14 ---> Running in 4a19d6fa6aa6 05:24:15 Removing intermediate container 4a19d6fa6aa6 05:24:15 ---> 53bd278380be 05:24:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:24:15 ---> Running in d920ce85e9be 05:24:15 Removing intermediate container d920ce85e9be 05:24:15 ---> bef9657f5248 05:24:15 Step 7/24 : RUN apk add --update --no-cache make git 05:24:15 ---> Running in 7aa6f03bbbd8 05:24:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:24:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:24:18 OK: 166 MiB in 39 packages 05:24:19 Removing intermediate container 7aa6f03bbbd8 05:24:19 ---> be07c9976da1 05:24:19 Step 8/24 : COPY . . 05:24:19 ---> a304ba45916b 05:24:19 Step 9/24 : RUN ${MAKE} 05:24:19 ---> Running in 47ff7efddfd1 05:24: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 05:24:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:24:30 Removing intermediate container 47ff7efddfd1 05:24:30 ---> 8798f6137164 05:24:30 Step 10/24 : FROM scratch 05:24:30 ---> 05:24:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:24:30 ---> Running in e60974a3eb41 05:24:30 Removing intermediate container e60974a3eb41 05:24:30 ---> 1e13bae50ac0 05:24:30 Step 12/24 : ENV APP_PORT=49990 05:24:30 ---> Running in 2cad66fc0f40 05:24:30 Removing intermediate container 2cad66fc0f40 05:24:30 ---> ae96892e8db6 05:24:30 Step 13/24 : EXPOSE $APP_PORT 05:24:30 ---> Running in 9226a814b154 05:24:30 Removing intermediate container 9226a814b154 05:24:30 ---> 5e044dba2493 05:24:30 Step 14/24 : WORKDIR / 05:24:30 ---> Running in 09e77b3f078c 05:24:30 Removing intermediate container 09e77b3f078c 05:24:30 ---> 28b5e2fb0097 05:24:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:24:31 ---> 9f0a70289a99 05:24:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:24:31 ---> 29e22c0ad7fa 05:24:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:24:31 ---> aae17fc24bf5 05:24:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:24:31 ---> ce475553e811 05:24:31 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:24:32 ---> c2d445ef1226 05:24:32 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:24:32 ---> Running in e9c4293f56ee 05:24:32 Removing intermediate container e9c4293f56ee 05:24:32 ---> 776c7c86c275 05:24:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:24:32 ---> Running in ef493e7d867b 05:24:32 Removing intermediate container ef493e7d867b 05:24:32 ---> 348626ddfae3 05:24:32 Step 22/24 : LABEL arch=amd64 05:24:32 ---> Running in 03286d7497bc 05:24:32 Removing intermediate container 03286d7497bc 05:24:32 ---> 447463d7abc5 05:24:32 Step 23/24 : LABEL git_sha=05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 05:24:32 ---> Running in 4c048dc1e4a9 05:24:33 Removing intermediate container 4c048dc1e4a9 05:24:33 ---> 7538aee5649d 05:24:33 Step 24/24 : LABEL version=0.0.0 05:24:33 ---> Running in e15240d21b1e 05:24:33 Removing intermediate container e15240d21b1e 05:24:33 ---> 4028d2a59435 05:24:33 [Warning] One or more build-args [ARCH] were not consumed 05:24:33 Successfully built 4028d2a59435 05:24:33 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 05:24:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:24:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:24:33 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:24:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.152s coverage: 21.6% of statements 05:24:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.353s coverage: 97.1% of statements [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:25:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.156s coverage: 9.4% of statements 05:25:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.9% of statements 05:25:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:25:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.624s coverage: 39.9% of statements 05:25:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:25:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.788s coverage: 65.4% of statements 05:25:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:25:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:25:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:25:06 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:25:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.178s coverage: 52.6% of statements 05:25:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:25:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.088s coverage: 68.9% of statements 05:25:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:25:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:25:06 GO111MODULE=on go vet ./... 05:25:33 gofmt -l . 05:25:33 [ "`gofmt -l .`" = "" ] 05:25:33 ./bin/test-attribution-txt.sh 05:25:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:25:34 Warning: overwriting stash ‘coverage-report’ 05:25:35 Stashed 1 file(s) [Pipeline] } 05:25:35 $ docker stop --time=1 51acd8ebfbc4884a112550bd731feedcd2cd54b17d5ac9514b4cd8460eef40b2 05:25:37 $ docker rm -f 51acd8ebfbc4884a112550bd731feedcd2cd54b17d5ac9514b4cd8460eef40b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:25:39 + ls -al . 05:25:39 total 232 05:25:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 05:25 . 05:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 .. 05:25:39 -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 05:22 .dockerignore 05:25:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 05:22 .git 05:25:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:22 .github 05:25:39 -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 05:22 .gitignore 05:25:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 05:22 .semver 05:25:39 -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 05:22 Dockerfile.build 05:25:39 -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 05:22 Jenkinsfile 05:25:39 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 05:22 LICENSE 05:25:39 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 05:22 Makefile 05:25:39 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 05:22 README.md 05:25:39 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 05:22 RELEASE-NOTES.txt 05:25:39 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 05:18 VERSION 05:25:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:22 bin 05:25:39 -rw-r--r-- 1 jenkins jenkins 111040 Oct 6 05:25 coverage.out 05:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 example 05:25:39 -rw-r--r-- 1 jenkins jenkins 517 Oct 6 05:25 go.mod 05:25:39 -rw-r--r-- 1 jenkins jenkins 13731 Oct 6 05:25 go.sum 05:25:39 drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 05:22 internal 05:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 openapi 05:25:39 drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 05:22 pkg 05:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 snap 05:25:39 -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 05:22 version.go [Pipeline] isUnix [Pipeline] sh 05:25:40 + 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=05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 --label arch=arm64 --label version=0.0.0 . 05:25:40 Sending build context to Docker daemon 3.628MB 05:25:40 Step 1/24 : ARG BASE=golang:1.15-alpine 05:25:40 Step 2/24 : FROM ${BASE} AS builder 05:25:40 ---> a366e18e612b 05:25:40 Step 3/24 : ARG MAKE='make build' 05:25:40 ---> Running in 38ca995f406f 05:25:41 Removing intermediate container 38ca995f406f 05:25:41 ---> aa14c913d64b 05:25:41 Step 4/24 : WORKDIR /device-sdk-go 05:25:41 ---> Running in e09197abb4c3 05:25:42 Removing intermediate container e09197abb4c3 05:25:42 ---> bc37c2080674 05:25:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:25:42 ---> Running in d5ca7b0a9f7c 05:25:42 Removing intermediate container d5ca7b0a9f7c 05:25:42 ---> 1e4ab3d707c0 05:25:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:25:42 ---> Running in 6a4486699b42 05:25:45 Removing intermediate container 6a4486699b42 05:25:45 ---> 4276b0c12bb3 05:25:45 Step 7/24 : RUN apk add --update --no-cache make git 05:25:45 ---> Running in f2768ce47914 05:25:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:25:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:25:48 OK: 142 MiB in 39 packages 05:25:49 Removing intermediate container f2768ce47914 05:25:49 ---> 9ddcd29f6c24 05:25:49 Step 8/24 : COPY . . 05:25:50 ---> f1c2c1525521 05:25:50 Step 9/24 : RUN ${MAKE} 05:25:50 ---> Running in 014a55061009 05:25:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:26:19 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:26:20 Removing intermediate container 014a55061009 05:26:20 ---> 25b69784f951 05:26:20 Step 10/24 : FROM scratch 05:26:20 ---> 05:26:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:26:20 ---> Running in 9a7c64367cfa 05:26:20 Removing intermediate container 9a7c64367cfa 05:26:20 ---> 17209fdf5f2d 05:26:20 Step 12/24 : ENV APP_PORT=49990 05:26:20 ---> Running in f2e796c167de 05:26:21 Removing intermediate container f2e796c167de 05:26:21 ---> f6a94fb21f73 05:26:21 Step 13/24 : EXPOSE $APP_PORT 05:26:21 ---> Running in f9e0d8559404 05:26:21 Removing intermediate container f9e0d8559404 05:26:21 ---> 8ccc43e24c4d 05:26:21 Step 14/24 : WORKDIR / 05:26:21 ---> Running in f78043aa0676 05:26:22 Removing intermediate container f78043aa0676 05:26:22 ---> 7351f92bd957 05:26:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:26:23 ---> 2bca9af251af 05:26:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:26:24 ---> eeb056744fa5 05:26:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:26:25 ---> f49e13a668af 05:26:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:26:25 ---> 7df194146445 05:26:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:26:26 ---> b69ea8d5059f 05:26:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:26:26 ---> Running in 0307bda71868 05:26:27 Removing intermediate container 0307bda71868 05:26:27 ---> 4d6e34ab2899 05:26:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:26:27 ---> Running in ffff00d01344 05:26:27 Removing intermediate container ffff00d01344 05:26:27 ---> faab05d455a3 05:26:27 Step 22/24 : LABEL arch=arm64 05:26:27 ---> Running in 2b53a74466ac 05:26:28 Removing intermediate container 2b53a74466ac 05:26:28 ---> f421562277e3 05:26:28 Step 23/24 : LABEL git_sha=05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 05:26:28 ---> Running in 9a65c39b7029 05:26:29 Removing intermediate container 9a65c39b7029 05:26:29 ---> 411d8ef6c53f 05:26:29 Step 24/24 : LABEL version=0.0.0 05:26:29 ---> Running in 97b5b080394b 05:26:29 Removing intermediate container 97b5b080394b 05:26:29 ---> f0e4d3d28809 05:26:29 [Warning] One or more build-args [ARCH] were not consumed 05:26:29 Successfully built f0e4d3d28809 05:26:29 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:26:31 provisioning config files... 05:26:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config4547374090994400804tmp [Pipeline] { [Pipeline] sh 05:26:32 + set +x 05:26:32 + curl -s https://codecov.io/bash 05:26:32 + bash -s -- 05:26:32 05:26:32 _____ _ 05:26:32 / ____| | | 05:26:32 | | ___ __| | ___ ___ _____ __ 05:26:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:26:32 | |___| (_) | (_| | __/ (_| (_) \ V / 05:26:32 \_____\___/ \__,_|\___|\___\___/ \_/ 05:26:32 Bash-20200917-4e8f14b 05:26:32 05:26:32 05:26:32 ==> Jenkins CI detected. 05:26:32 project root: . 05:26:32 Fixing merge commit SHA 05:26:32 --> token set from env 05:26:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:26:32 ==> Running gcov in . (disable via -X gcov) 05:26:32 ==> Python coveragepy not found 05:26:32 ==> Searching for coverage reports in: 05:26:32 + . 05:26:32 -> Found 1 reports 05:26:32 ==> Detecting git/mercurial file structure 05:26:32 ==> Reading reports 05:26:32 + ./coverage.out bytes=111040 05:26:32 ==> Appending adjustments 05:26:32 https://docs.codecov.io/docs/fixing-reports 05:26:32 + Found adjustments 05:26:32 ==> Gzipping contents 05:26:32 ==> Uploading reports 05:26:32 url: https://codecov.io 05:26:32 query: branch=PR-582&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 05:26:32 -> Pinging Codecov 05:26:32 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 05:26:33 -> Uploading to 05:26:33 https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/51b10ba24d09b5e22132647652f16c288a0af487/24401e70-1b5b-4f85-ac83-30e4b6315cfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T052633Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fac1a6c31d6ed2bbc915950e3c5ae653e78f66494e5e6537c4b65a4462977973 05:26:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:26:33 Dload Upload Total Spent Left Speed 05:26:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18318 0 0 100 18318 0 47199 --:--:-- --:--:-- --:--:-- 47333 05:26:33 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/51b10ba24d09b5e22132647652f16c288a0af487 [Pipeline] } 05:26:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:26:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:26:36 ---> package-listing.sh 05:26:36 ++ facter osfamily 05:26:36 ++ tr '[:upper:]' '[:lower:]' 05:26:36 + OS_FAMILY=redhat 05:26:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 05:26:36 + START_PACKAGES=/tmp/packages_start.txt 05:26:36 + END_PACKAGES=/tmp/packages_end.txt 05:26:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:26:36 + PACKAGES=/tmp/packages_start.txt 05:26:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 05:26:36 + PACKAGES=/tmp/packages_end.txt 05:26:36 + case "${OS_FAMILY}" in 05:26:36 + rpm -qa 05:26:36 + sort 05:26:40 + '[' -f /tmp/packages_start.txt ']' 05:26:40 + '[' -f /tmp/packages_end.txt ']' 05:26:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:26:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 05:26:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 05:26:40 + 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 05:26:40 provisioning config files... 05:26:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config7977673814760907969tmp [Pipeline] { [Pipeline] echo 05:26:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:26:41 ---> create-netrc.sh [Pipeline] } 05:26:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:26:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:26:41 ---> python-tools-install.sh 05:26:41 Generating Requirements File 05:27:49 Python 3.6.8 05:27:49 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 05:27:49 appdirs==1.4.3 05:27:49 argcomplete==1.12.1 05:27:49 aspy.yaml==1.3.0 05:27:49 attrs==19.3.0 05:27:49 Babel==2.8.0 05:27:49 beautifulsoup4==4.8.2 05:27:49 boto3==1.11.6 05:27:49 botocore==1.14.6 05:27:49 bs4==0.0.1 05:27:49 cachetools==4.1.1 05:27:49 certifi==2019.11.28 05:27:49 cffi==1.14.3 05:27:49 cfgv==2.0.1 05:27:49 chardet==3.0.4 05:27:49 click==7.1 05:27:49 cliff==3.4.0 05:27:49 cmd2==1.3.11 05:27:49 colorama==0.4.3 05:27:49 cryptography==3.1.1 05:27:49 debtcollector==2.2.0 05:27:49 decorator==4.4.2 05:27:49 defusedxml==0.6.0 05:27:49 Deprecated==1.2.7 05:27:49 distlib==0.3.1 05:27:49 distro==1.2.0 05:27:49 dnspython==1.16.0 05:27:49 docker==4.2.0 05:27:49 docutils==0.15.2 05:27:49 dogpile.cache==1.0.2 05:27:49 email-validator==1.0.5 05:27:49 filelock==3.0.12 05:27:49 future==0.18.2 05:27:49 google-auth==1.22.1 05:27:49 httplib2==0.17.0 05:27:49 identify==1.4.11 05:27:49 idna==2.9 05:27:49 importlib-metadata==1.7.0 05:27:49 importlib-resources==1.5.0 05:27:49 iso8601==0.1.13 05:27:49 Jinja2==2.11.1 05:27:49 jmespath==0.10.0 05:27:49 jsonpatch==1.26 05:27:49 jsonpointer==2.0 05:27:49 jsonschema==3.2.0 05:27:49 keystoneauth1==4.2.1 05:27:49 kubernetes==11.0.0 05:27:49 lftools==0.34.2 05:27:49 lxml==4.5.0 05:27:49 MarkupSafe==0.23 05:27:49 msgpack==1.0.0 05:27:49 multi-key-dict==2.0.3 05:27:49 munch==2.5.0 05:27:49 netaddr==0.8.0 05:27:49 netifaces==0.10.9 05:27:49 niet==1.4.2 05:27:49 nodeenv==1.3.5 05:27:49 oauth2client==4.1.3 05:27:49 oauthlib==3.1.0 05:27:49 openstacksdk==0.50.0 05:27:49 os-client-config==2.1.0 05:27:49 os-service-types==1.7.0 05:27:49 osc-lib==2.2.1 05:27:49 oslo.config==8.3.2 05:27:49 oslo.context==3.1.1 05:27:49 oslo.i18n==5.0.1 05:27:49 oslo.log==4.4.0 05:27:49 oslo.serialization==4.0.1 05:27:49 oslo.utils==4.6.0 05:27:49 packaging==20.4 05:27:49 pbr==5.4.4 05:27:49 pluggy==0.13.1 05:27:49 prettytable==0.7.2 05:27:49 py==1.9.0 05:27:49 pyasn1==0.4.8 05:27:49 pyasn1-modules==0.2.8 05:27:49 pycparser==2.20 05:27:49 pygerrit2==2.0.10 05:27:49 PyGithub==1.46 05:27:49 pyinotify==0.9.6 05:27:49 PyJWT==1.7.1 05:27:49 pyparsing==2.4.7 05:27:49 pyperclip==1.8.0 05:27:49 pyroute2==0.4.13 05:27:49 pyrsistent==0.15.7 05:27:49 PySocks==1.6.8 05:27:49 python-cinderclient==7.2.0 05:27:49 python-dateutil==2.8.1 05:27:49 python-heatclient==2.2.1 05:27:49 python-jenkins==1.7.0 05:27:49 python-keystoneclient==4.1.1 05:27:49 python-magnumclient==3.2.1 05:27:49 python-novaclient==17.2.1 05:27:49 python-openstackclient==5.4.0 05:27:49 python-swiftclient==3.10.1 05:27:49 pytz==2020.1 05:27:49 PyYAML==5.3 05:27:49 requests==2.23.0 05:27:49 requests-oauthlib==1.3.0 05:27:49 requestsexceptions==1.4.0 05:27:49 rfc3986==1.4.0 05:27:49 rpm==4.11.3 05:27:49 rsa==4.0 05:27:49 ruamel.yaml==0.16.10 05:27:49 ruamel.yaml.clib==0.2.0 05:27:49 s3transfer==0.3.3 05:27:49 shade==1.27.2 05:27:49 simplejson==3.17.2 05:27:49 six==1.14.0 05:27:49 soupsieve==2.0 05:27:49 stevedore==3.2.2 05:27:49 tabulate==0.8.6 05:27:49 toml==0.10.0 05:27:49 tox==3.20.0 05:27:49 tqdm==4.43.0 05:27:49 urllib3==1.25.8 05:27:49 virtualenv==20.0.33 05:27:49 wcwidth==0.2.5 05:27:49 websocket-client==0.57.0 05:27:49 wrapt==1.12.1 05:27:49 xdg==3.0.2 05:27:49 xmltodict==0.12.0 05:27:49 yq==2.11.1 05:27:49 zipp==3.3.0 05:27:49 Cache entry deserialization failed, entry ignored 05:27:50 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 05:27:53 Python 2.7.5 05:27:53 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 05:27:53 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 05:27:53 ansible==2.9.7 05:27:53 Babel==0.9.6 05:27:53 backports.ssl-match-hostname==3.5.0.1 05:27:53 beautifulsoup4==4.4.1 05:27:53 bodhi==2.11.0 05:27:53 bodhi-client==2.11.0 05:27:53 CCColUtils==1.4 05:27:53 cffi==1.6.0 05:27:53 chardet==2.2.1 05:27:53 click==6.7 05:27:53 cloud-init==18.5 05:27:53 configobj==4.7.2 05:27:53 cryptography==1.7.2 05:27:53 decorator==3.4.0 05:27:53 distro==1.2.0 05:27:53 enum34==1.0.4 05:27:53 fedpkg==1.38 05:27:53 futures==3.1.1 05:27:53 gitdb==0.6.4 05:27:53 GitPython==1.0.1 05:27:53 html5lib==0.999 05:27:53 httplib2==0.9.2 05:27:53 idna==2.4 05:27:53 iniparse==0.4 05:27:53 ipaddress==1.0.16 05:27:53 IPy==0.75 05:27:53 javapackages==1.0.0 05:27:53 Jinja2==2.7.2 05:27:53 jmespath==0.9.4 05:27:53 jsonpatch==1.2 05:27:53 jsonpointer==1.9 05:27:53 kerberos==1.1 05:27:53 kitchen==1.1.1 05:27:53 langtable==0.0.31 05:27:53 lockfile==0.9.1 05:27:53 lxml==3.2.1 05:27:53 MarkupSafe==0.11 05:27:53 munch==2.0.2 05:27:53 offtrac==0.1.0 05:27:53 openidc-client==0.6.0 05:27:53 packagedb-cli==2.14.1 05:27:53 paramiko==2.1.1 05:27:53 perf==0.1 05:27:53 ply==3.4 05:27:53 policycoreutils-default-encoding==0.1 05:27:53 prettytable==0.7.2 05:27:53 pyasn1==0.1.9 05:27:53 pycparser==2.14 05:27:53 pycurl==7.19.0 05:27:53 pygobject==3.22.0 05:27:53 pygpgme==0.3 05:27:53 pyliblzma==0.5.3 05:27:53 pyOpenSSL==0.13.1 05:27:53 pyparsing==1.5.6 05:27:53 pyserial==2.6 05:27:53 python-augeas==0.5.0 05:27:53 python-bugzilla==2.3.0 05:27:53 python-dateutil==1.5 05:27:53 python-fedora==0.10.0 05:27:53 python-linux-procfs==0.4.9 05:27:53 python-yubico==1.2.3 05:27:53 pyudev==0.15 05:27:53 pyusb==1.0.0b1 05:27:53 pyxattr==0.5.1 05:27:53 PyYAML==3.10 05:27:53 requests==2.6.0 05:27:53 requests-kerberos==0.7.0 05:27:53 rpkg==1.60 05:27:53 schedutils==0.4 05:27:53 seobject==0.1 05:27:53 sepolicy==1.1 05:27:53 six==1.9.0 05:27:53 smmap==0.9.0 05:27:53 urlgrabber==3.10 05:27:53 urllib3==1.10.2 05:27:53 virtualenv==15.1.0 05:27:53 yum-langpacks==0.4.2 05:27:53 yum-metadata-parser==1.1.4 [Pipeline] echo 05:27:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:27:54 ---> sudo-logs.sh 05:27:54 Archiving 'sudo' log.. [Pipeline] echo 05:27:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:27:54 ---> job-cost.sh 05:27:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bJVN 05:28:04 Cache entry deserialization failed, entry ignored 05:28:04 Cache entry deserialization failed, entry ignored 05:28:04 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:05 Cache entry deserialization failed, entry ignored 05:28:08 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:28:35 lf-activate-venv(): INFO: Adding /tmp/venv-bJVN/bin to PATH 05:28:35 INFO: No Stack... 05:28:35 INFO: Retrieving Pricing Info for: v1-standard-2 05:28:35 INFO: Archiving Costs [Pipeline] echo 05:28:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:28:35 ---> logs-deploy.sh 05:28:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/17 05:28:35 INFO: archiving workspace using pattern(s): 05:28:37 Archives upload complete. 05:28:37 INFO: archiving logs to Nexus