Pull request #600 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad+4a1412fe3679be6652f13296ba45411ccc085237 (2e30c4a1200382ac56ef33f54e2dcfcfa5ad748b) 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-2185 in /w/workspace/dgexfoundry_device-sdk-go_PR-600 [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-600 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad Merge succeeded, producing a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad Checking out Revision a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad (PR-600) > git config core.sparsecheckout # timeout=10 > git checkout -f a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad # 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 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:31:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:31:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk dc954164ebb5d503321f0d6678cc193a22677244 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:31:30 ========================================================= 06:31:30 EdgeX Global Pipelines Version Info 06:31:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:31:33 ------------------- 06:31:33 stable info: 06:31:33 ------------------- 06:31:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:31:33 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:31:33 Message: update stable to v1.0.131 06:31:34 ------------------- 06:31:34 experimental info: 06:31:34 ------------------- 06:31:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:31:34 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:31:34 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:31:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:31:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:31:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:31:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:31:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a563bd0 [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:38 + git log --format=format:%s -1 a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad [Pipeline] echo 06:31:38 GIT_COMMIT: a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo 06:31:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:31:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:40 06:31:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:31:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:40 latest: Pulling from edgex-devops/git-semver 06:31:40 31603596830f: Pulling fs layer 06:31:40 2a8b12db71e7: Pulling fs layer 06:31:40 6ca5941a6612: Pulling fs layer 06:31:40 ecc8261a40a4: Pulling fs layer 06:31:40 ecc8261a40a4: Waiting 06:31:40 2a8b12db71e7: Verifying Checksum 06:31:40 2a8b12db71e7: Download complete 06:31:40 31603596830f: Download complete 06:31:41 ecc8261a40a4: Verifying Checksum 06:31:41 ecc8261a40a4: Download complete 06:31:41 6ca5941a6612: Verifying Checksum 06:31:41 6ca5941a6612: Download complete 06:31:41 31603596830f: Pull complete 06:31:41 2a8b12db71e7: Pull complete 06:31:43 6ca5941a6612: Pull complete 06:31:44 ecc8261a40a4: Pull complete 06:31:44 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:31:44 prd-centos7-docker-4c-2g-2185 does not seem to be running inside a container 06:31:44 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-600 -v /w/workspace/dgexfoundry_device-sdk-go_PR-600:/w/workspace/dgexfoundry_device-sdk-go_PR-600:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-600@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 06:31:47 $ docker top 65a1e6f73e041c9543e1c0682bce8f124bd42c08205004c18efcccb5ba6a9f9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:31:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:47 [ssh-agent] Looking for ssh-agent implementation... 06:31:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:47 $ docker exec 65a1e6f73e041c9543e1c0682bce8f124bd42c08205004c18efcccb5ba6a9f9f ssh-agent 06:31:48 SSH_AUTH_SOCK=/tmp/ssh-0oZPnyzH5nZ2/agent.11 06:31:48 SSH_AGENT_PID=17 06:31:48 Running ssh-add (command line suppressed) 06:31:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/private_key_6141112187654552963.key (/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/private_key_6141112187654552963.key) 06:31:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:48 + git describe --exact-match --tags HEAD 06:31:48 fatal: no tag exactly matches 'a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad' [Pipeline] } 06:31:48 $ docker exec --env ******** --env ******** 65a1e6f73e041c9543e1c0682bce8f124bd42c08205004c18efcccb5ba6a9f9f ssh-agent -k 06:31:49 unset SSH_AUTH_SOCK; 06:31:49 unset SSH_AGENT_PID; 06:31:49 echo Agent pid 17 killed; 06:31:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:31:49 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:31:49 This usually means this commit has not been tagged. [Pipeline] sshagent 06:31:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:49 [ssh-agent] Looking for ssh-agent implementation... 06:31:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:49 $ docker exec 65a1e6f73e041c9543e1c0682bce8f124bd42c08205004c18efcccb5ba6a9f9f ssh-agent 06:31:49 SSH_AUTH_SOCK=/tmp/ssh-VgyXazjfrPuq/agent.47 06:31:49 SSH_AGENT_PID=52 06:31:49 Running ssh-add (command line suppressed) 06:31:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/private_key_8287061383753577332.key (/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/private_key_8287061383753577332.key) 06:31:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:50 + git semver init 06:31:50 # -> Open(): unable to determine branch for HEAD 06:31:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-600/.git 06:31:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-600 06:31:50 # $SEMVER_REMOTE_NAME = origin 06:31:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:31:50 # $SEMVER_USER_NAME = edgex-jenkins 06:31:50 # $SEMVER_BRANCH = PR-600 06:31:50 # $SEMVER_TEMP = /tmp/semver-625216910 06:31:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:31:51 # '/tmp/semver-625216910' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-600/.semver' 06:31:51 # -> Force: false 06:31:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-600/.semver [Pipeline] } 06:31:51 $ docker exec --env ******** --env ******** 65a1e6f73e041c9543e1c0682bce8f124bd42c08205004c18efcccb5ba6a9f9f ssh-agent -k 06:31:51 unset SSH_AUTH_SOCK; 06:31:51 unset SSH_AGENT_PID; 06:31:51 echo Agent pid 52 killed; 06:31:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:52 + git semver [Pipeline] } 06:31:52 $ docker stop --time=1 65a1e6f73e041c9543e1c0682bce8f124bd42c08205004c18efcccb5ba6a9f9f 06:31:53 $ docker rm -f 65a1e6f73e041c9543e1c0682bce8f124bd42c08205004c18efcccb5ba6a9f9f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:31:55 Stashed 40 file(s) [Pipeline] echo 06:31:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:31:55 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 06:32:10 Still waiting to schedule task 06:32:10 ‘prd-centos7-docker-4c-2g-2177’ is offline; ‘prd-centos7-docker-4c-2g-2182’ is offline; ‘prd-centos7-docker-4c-2g-2188’ is offline; ‘prd-centos7-docker-4c-2g-2189’ is offline; ‘prd-centos7-docker-8c-8g-2175’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2169’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2176’ doesn’t have label ‘centos7-docker-4c-2g’ 06:32:10 Still waiting to schedule task 06:32:10 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:35:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2193 in /w/workspace/dgexfoundry_device-sdk-go_PR-600 [Pipeline] { [Pipeline] ws 06:35:35 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:35:41 using credential edgex-jenkins-ssh 06:35:41 Cloning the remote Git repository 06:35:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:35:41 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:35:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:42 > git --version # timeout=10 06:35:42 > git --version # 'git version 2.17.1' 06:35:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:44 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad 06:35:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:35:44 > git config core.sparsecheckout # timeout=10 06:35:44 > git checkout -f a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad # timeout=10 06:35:44 > git remote # timeout=10 06:35:44 > git config --get remote.origin.url # timeout=10 06:35:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:44 > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 06:35:44 Merge succeeded, producing a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad 06:35:44 Checking out Revision a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad (PR-600) 06:35:44 > git rev-parse HEAD^{commit} # timeout=10 06:35:44 > git config core.sparsecheckout # timeout=10 06:35:44 > git checkout -f a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad # timeout=10 06:35:49 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:35:50 ========================================================= 06:35:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:35:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:35:52 + 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 . 06:35:53 Sending build context to Docker daemon 3.421MB 06:35:53 Step 1/8 : ARG BASE=golang:1.15-alpine 06:35:53 Step 2/8 : FROM ${BASE} 06:35:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:35:53 b538f80385f9: Pulling fs layer 06:35:53 74f711af9a0d: Pulling fs layer 06:35:53 99f96fe45779: Pulling fs layer 06:35:53 8529a6b9a6be: Pulling fs layer 06:35:53 45590311c82a: Pulling fs layer 06:35:53 69ca0ff8b7b3: Pulling fs layer 06:35:53 209524e5b208: Pulling fs layer 06:35:53 45590311c82a: Waiting 06:35:53 69ca0ff8b7b3: Waiting 06:35:53 209524e5b208: Waiting 06:35:53 8529a6b9a6be: Waiting 06:35:53 99f96fe45779: Verifying Checksum 06:35:53 99f96fe45779: Download complete 06:35:53 74f711af9a0d: Verifying Checksum 06:35:53 74f711af9a0d: Download complete 06:35:53 45590311c82a: Download complete 06:35:53 69ca0ff8b7b3: Download complete 06:35:53 b538f80385f9: Verifying Checksum 06:35:53 b538f80385f9: Download complete 06:35:54 b538f80385f9: Pull complete 06:35:55 74f711af9a0d: Pull complete 06:35:55 99f96fe45779: Pull complete 06:35:56 209524e5b208: Verifying Checksum 06:35:57 8529a6b9a6be: Verifying Checksum 06:35:57 8529a6b9a6be: Download complete 06:36:07 8529a6b9a6be: Pull complete 06:36:07 45590311c82a: Pull complete 06:36:08 69ca0ff8b7b3: Pull complete 06:36:11 209524e5b208: Pull complete 06:36:11 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:36:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:36:11 ---> 5bddaf1c2fca 06:36:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:36:14 ---> Running in 77fd85b52de3 06:36:15 Removing intermediate container 77fd85b52de3 06:36:15 ---> 787c539103ab 06:36:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:15 ---> Running in c23afed61b4b 06:36:18 Removing intermediate container c23afed61b4b 06:36:18 ---> 266fac032d1d 06:36:18 Step 5/8 : RUN apk add --no-cache make git 06:36:18 ---> Running in fb491d4ec898 06:36:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:36:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:36:23 OK: 142 MiB in 39 packages 06:36:24 Removing intermediate container fb491d4ec898 06:36:24 ---> 8a232aa0a058 06:36:24 Step 6/8 : WORKDIR /device-sdk-go 06:36:24 ---> Running in c38c430605c5 06:36:25 Removing intermediate container c38c430605c5 06:36:25 ---> e66ce2b3ed5a 06:36:25 Step 7/8 : COPY . . 06:36:26 ---> 131f01ba7e98 06:36:26 Step 8/8 : RUN go mod download 06:36:27 ---> Running in 7abcb47e67dc 06:36:54 Removing intermediate container 7abcb47e67dc 06:36:54 ---> f4e9e302d2fe 06:36:54 Successfully built f4e9e302d2fe 06:36:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:36:54 + docker inspect -f . ci-base-image-arm64 06:36:54 . [Pipeline] withDockerContainer 06:36:54 prd-ubuntu18.04-docker-arm64-4c-16g-2193 does not seem to be running inside a container 06:36:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:36:56 $ docker top 9373824443b44c9b65f7c7b8296b52425f3b4a52cafa0d9c50a894c65aa0e61e -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:58 + go version 06:36:58 go version go1.15.2 linux/arm64 [Pipeline] } 06:36:58 $ docker stop --time=1 9373824443b44c9b65f7c7b8296b52425f3b4a52cafa0d9c50a894c65aa0e61e 06:37:00 $ docker rm -f 9373824443b44c9b65f7c7b8296b52425f3b4a52cafa0d9c50a894c65aa0e61e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:37:01 + docker inspect -f . ci-base-image-arm64 06:37:01 . [Pipeline] withDockerContainer 06:37:01 prd-ubuntu18.04-docker-arm64-4c-16g-2193 does not seem to be running inside a container 06:37:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:37:04 $ docker top d896e5cd27077f3971df003a6d8834aa474d4a506d6540d13c3c82d8b35dae6b -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:05 + make test 06:37:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:37:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:38:19 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:38:19 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.156s coverage: 21.6% of statements 06:38:22 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.339s coverage: 97.1% of statements 06:38:27 Running on prd-centos7-docker-4c-2g-2197 in /w/workspace/dgexfoundry_device-sdk-go_PR-600 [Pipeline] { [Pipeline] ws 06:38:27 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:38:31 using credential edgex-jenkins-ssh 06:38:31 Cloning the remote Git repository 06:38:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:38:31 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:38:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:38:31 > git --version # timeout=10 06:38:31 > git --version # 'git version 2.16.5' 06:38:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:38:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:38:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:38:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:38:32 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad 06:38:32 Merge succeeded, producing a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad 06:38:32 Checking out Revision a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad (PR-600) 06:38:32 > git config core.sparsecheckout # timeout=10 06:38:32 > git checkout -f a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad # timeout=10 06:38:32 > git remote # timeout=10 06:38:32 > git config --get remote.origin.url # timeout=10 06:38:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:32 > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 06:38:32 > git rev-parse HEAD^{commit} # timeout=10 06:38:32 > git config core.sparsecheckout # timeout=10 06:38:32 > git checkout -f a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad # timeout=10 06:38:36 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:38:37 ========================================================= 06:38:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:38:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:38:37 + 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 . 06:38:38 Sending build context to Docker daemon 3.423MB 06:38:38 Step 1/8 : ARG BASE=golang:1.15-alpine 06:38:38 Step 2/8 : FROM ${BASE} 06:38:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:38:38 df20fa9351a1: Pulling fs layer 06:38:38 ed8968b2872e: Pulling fs layer 06:38:38 a92cc7c5fd73: Pulling fs layer 06:38:38 e871e8e8d7a9: Pulling fs layer 06:38:38 e73272ec9a57: Pulling fs layer 06:38:38 1e910a182e73: Pulling fs layer 06:38:38 4e634b169226: Pulling fs layer 06:38:38 e73272ec9a57: Waiting 06:38:38 1e910a182e73: Waiting 06:38:38 4e634b169226: Waiting 06:38:38 e871e8e8d7a9: Waiting 06:38:38 a92cc7c5fd73: Verifying Checksum 06:38:38 a92cc7c5fd73: Download complete 06:38:38 ed8968b2872e: Download complete 06:38:38 e73272ec9a57: Verifying Checksum 06:38:38 e73272ec9a57: Download complete 06:38:38 1e910a182e73: Verifying Checksum 06:38:38 1e910a182e73: Download complete 06:38:38 df20fa9351a1: Verifying Checksum 06:38:38 df20fa9351a1: Download complete 06:38:38 df20fa9351a1: Pull complete 06:38:38 ed8968b2872e: Pull complete 06:38:39 a92cc7c5fd73: Pull complete 06:38:41 4e634b169226: Verifying Checksum 06:38:41 4e634b169226: Download complete 06:38:41 e871e8e8d7a9: Verifying Checksum 06:38:41 e871e8e8d7a9: Download complete 06:38:45 e871e8e8d7a9: Pull complete 06:38:45 e73272ec9a57: Pull complete 06:38:46 1e910a182e73: Pull complete 06:38:49 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.177s coverage: 9.4% of statements 06:38:49 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.132s coverage: 21.9% of statements 06:38:49 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:38:49 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.596s coverage: 39.5% of statements 06:38:49 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:38:49 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.819s coverage: 65.4% of statements 06:38:49 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:38:49 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:38:49 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:38:49 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:38:49 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 52.6% of statements 06:38:49 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:38:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.151s coverage: 68.9% of statements 06:38:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:38:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:38:49 GO111MODULE=on go vet ./... 06:38:56 4e634b169226: Pull complete 06:38:56 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:38:56 ---> f7629b54cfaa 06:38:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:38:56 ---> Running in ebeae7bd9512 06:38:56 Removing intermediate container ebeae7bd9512 06:38:56 ---> 640d24df9b71 06:38:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:56 ---> Running in 2dbf56dd4251 06:38:57 Removing intermediate container 2dbf56dd4251 06:38:57 ---> 61204d787fa8 06:38:57 Step 5/8 : RUN apk add --no-cache make git 06:38:57 ---> Running in f3d3b418a654 06:38:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:38:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:38:59 OK: 166 MiB in 39 packages 06:38:59 Removing intermediate container f3d3b418a654 06:38:59 ---> c1674639000b 06:38:59 Step 6/8 : WORKDIR /device-sdk-go 06:38:59 ---> Running in 041159b5b7e3 06:38:59 Removing intermediate container 041159b5b7e3 06:38:59 ---> 54addc9258e4 06:38:59 Step 7/8 : COPY . . 06:39:01 ---> 56d1821400ad 06:39:01 Step 8/8 : RUN go mod download 06:39:01 ---> Running in 4693e1606c43 06:39:19 Removing intermediate container 4693e1606c43 06:39:19 ---> d63aca626dc7 06:39:19 Successfully built d63aca626dc7 06:39:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:39:19 + docker inspect -f . ci-base-image-x86_64 06:39:19 . [Pipeline] withDockerContainer 06:39:19 prd-centos7-docker-4c-2g-2197 does not seem to be running inside a container 06:39:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 06:39:20 $ docker top d004a18633870a1e998e44b96ec485339c01178ba54b635b4e2fafacc1ff3fa1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:21 + go version 06:39:21 go version go1.15.2 linux/amd64 [Pipeline] } 06:39:21 $ docker stop --time=1 d004a18633870a1e998e44b96ec485339c01178ba54b635b4e2fafacc1ff3fa1 06:39:22 gofmt -l . 06:39:22 [ "`gofmt -l .`" = "" ] 06:39:22 $ docker rm -f d004a18633870a1e998e44b96ec485339c01178ba54b635b4e2fafacc1ff3fa1 [Pipeline] // withDockerContainer [Pipeline] } 06:39:22 ./bin/test-attribution-txt.sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:39:23 + docker inspect -f . ci-base-image-x86_64 06:39:23 . [Pipeline] withDockerContainer 06:39:23 prd-centos7-docker-4c-2g-2197 does not seem to be running inside a container 06:39:23 ./bin/test-go-mod-tidy.sh 06:39:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 06:39:24 $ docker top dfe7042bbed03a2601968299c28c9b286facc3ede86980816e8dfb09ee86bb72 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 06:39:24 + make test 06:39:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:39:25 Stashed 1 file(s) [Pipeline] } 06:39:25 $ docker stop --time=1 d896e5cd27077f3971df003a6d8834aa474d4a506d6540d13c3c82d8b35dae6b 06:39:28 $ docker rm -f d896e5cd27077f3971df003a6d8834aa474d4a506d6540d13c3c82d8b35dae6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:39:30 + ls -al . 06:39:30 total 232 06:39:30 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 06:39 . 06:39:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 .. 06:39:30 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 06:35 .dockerignore 06:39:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 06:35 .git 06:39:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 06:35 .github 06:39:30 -rw-rw-r-- 1 jenkins jenkins 138 Sep 30 06:35 .gitignore 06:39:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 06:35 .semver 06:39:30 -rw-rw-r-- 1 jenkins jenkins 936 Sep 30 06:35 Dockerfile.build 06:39:30 -rw-rw-r-- 1 jenkins jenkins 785 Sep 30 06:35 Jenkinsfile 06:39:30 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 06:35 LICENSE 06:39:30 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 30 06:35 Makefile 06:39:30 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 30 06:35 README.md 06:39:30 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 30 06:35 RELEASE-NOTES.txt 06:39:30 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 06:31 VERSION 06:39:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 06:35 bin 06:39:30 -rw-r--r-- 1 jenkins jenkins 111041 Sep 30 06:38 coverage.out 06:39:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 example 06:39:30 -rw-r--r-- 1 jenkins jenkins 517 Sep 30 06:39 go.mod 06:39:30 -rw-r--r-- 1 jenkins jenkins 13567 Sep 30 06:39 go.sum 06:39:30 drwxrwxr-x 15 jenkins jenkins 4096 Sep 30 06:35 internal 06:39:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 openapi 06:39:30 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 06:35 pkg 06:39:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 snap 06:39:30 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 06:35 version.go [Pipeline] isUnix [Pipeline] sh 06:39:31 + 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=a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad --label arch=arm64 --label version=0.0.0 . 06:39:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:39:31 Sending build context to Docker daemon 3.533MB 06:39:31 Step 1/24 : ARG BASE=golang:1.15-alpine 06:39:31 Step 2/24 : FROM ${BASE} AS builder 06:39:31 ---> f4e9e302d2fe 06:39:31 Step 3/24 : ARG MAKE='make build' 06:39:31 ---> Running in 9a08df88ed52 06:39:32 Removing intermediate container 9a08df88ed52 06:39:32 ---> 170c4ea7a2cf 06:39:32 Step 4/24 : WORKDIR /device-sdk-go 06:39:32 ---> Running in e968e16c3cef 06:39:33 Removing intermediate container e968e16c3cef 06:39:33 ---> 8d12c155d481 06:39:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:33 ---> Running in b05159f76ac9 06:39:33 Removing intermediate container b05159f76ac9 06:39:33 ---> 0b374f403a57 06:39:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:33 ---> Running in 89aaa8047223 06:39:36 Removing intermediate container 89aaa8047223 06:39:36 ---> 0fef13f33b9d 06:39:36 Step 7/24 : RUN apk add --update --no-cache make git 06:39:36 ---> Running in 19c6f0245a34 06:39:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:39:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:39:39 OK: 142 MiB in 39 packages 06:39:41 Removing intermediate container 19c6f0245a34 06:39:41 ---> 4e99daba67f1 06:39:41 Step 8/24 : COPY . . 06:39:42 ---> decbad8c46ca 06:39:42 Step 9/24 : RUN ${MAKE} 06:39:42 ---> Running in 25f54f85fda9 06:39:43 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 06:39:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:39:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:39:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:39:46 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 21.6% of statements 06:39:46 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.423s coverage: 97.1% of statements 06:40:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:40:12 Removing intermediate container 25f54f85fda9 06:40:12 ---> f5037dec8a0c 06:40:12 Step 10/24 : FROM scratch 06:40:12 ---> 06:40:12 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:12 ---> Running in 2830e08d2b85 06:40:13 Removing intermediate container 2830e08d2b85 06:40:13 ---> 3a0a87c79664 06:40:13 Step 12/24 : ENV APP_PORT=49990 06:40:13 ---> Running in 9d5a1acd6c22 06:40:13 Removing intermediate container 9d5a1acd6c22 06:40:13 ---> 843051379a1e 06:40:13 Step 13/24 : EXPOSE $APP_PORT 06:40:13 ---> Running in 0787120824a2 06:40:14 Removing intermediate container 0787120824a2 06:40:14 ---> b856aafbeff1 06:40:14 Step 14/24 : WORKDIR / 06:40:14 ---> Running in 6c81d5586e8f 06:40:14 Removing intermediate container 6c81d5586e8f 06:40:14 ---> 728534b73927 06:40:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:40:16 ---> 99aa3557e20b 06:40:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:40:16 ---> 49492338c2b5 06:40:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:40:17 ---> a172b7eadb23 06:40:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:40:18 ---> ad86ac969f8b 06:40:18 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements 06:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements 06:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.194s coverage: 39.5% of statements 06:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.284s coverage: 65.4% of statements 06:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 06:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:40:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.726s coverage: 68.9% of statements 06:40:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:40:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:40:18 GO111MODULE=on go vet ./... 06:40:19 ---> 05b7533af852 06:40:19 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:40:19 ---> Running in 769dbd071e80 06:40:20 Removing intermediate container 769dbd071e80 06:40:20 ---> 42dc29adc341 06:40:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:40:20 ---> Running in da9f557c56b8 06:40:20 Removing intermediate container da9f557c56b8 06:40:20 ---> c8d89649c4e0 06:40:20 Step 22/24 : LABEL arch=arm64 06:40:20 ---> Running in 275e6778ddaf 06:40:21 Removing intermediate container 275e6778ddaf 06:40:21 ---> 62dc71086b37 06:40:21 Step 23/24 : LABEL git_sha=a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad 06:40:21 ---> Running in 6743ac26278f 06:40:21 Removing intermediate container 6743ac26278f 06:40:21 ---> ca3989543dfb 06:40:21 Step 24/24 : LABEL version=0.0.0 06:40:21 ---> Running in 1b144adacb14 06:40:22 Removing intermediate container 1b144adacb14 06:40:22 ---> 39e37c66a2f4 06:40:22 [Warning] One or more build-args [ARCH] were not consumed 06:40:22 Successfully built 39e37c66a2f4 06:40:22 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] } 06:40:24 gofmt -l . 06:40:24 [ "`gofmt -l .`" = "" ] 06:40:24 ./bin/test-attribution-txt.sh 06:40:24 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:40:25 Warning: overwriting stash ‘coverage-report’ 06:40:25 Stashed 1 file(s) [Pipeline] } 06:40:25 $ docker stop --time=1 dfe7042bbed03a2601968299c28c9b286facc3ede86980816e8dfb09ee86bb72 06:40:27 $ docker rm -f dfe7042bbed03a2601968299c28c9b286facc3ede86980816e8dfb09ee86bb72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:40:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:40:28 + ls -al . 06:40:28 total 192 06:40:28 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 30 06:40 . 06:40:28 drwxrwxr-x. 4 jenkins jenkins 28 Sep 30 06:38 .. 06:40:28 drwxrwxr-x. 2 jenkins jenkins 64 Sep 30 06:38 bin 06:40:28 -rw-r--r--. 1 jenkins jenkins 111041 Sep 30 06:40 coverage.out 06:40:28 -rw-rw-r--. 1 jenkins jenkins 936 Sep 30 06:38 Dockerfile.build 06:40:28 -rw-rw-r--. 1 jenkins jenkins 140 Sep 30 06:38 .dockerignore 06:40:28 drwxrwxr-x. 4 jenkins jenkins 48 Sep 30 06:38 example 06:40:28 drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 06:38 .git 06:40:28 drwxrwxr-x. 2 jenkins jenkins 60 Sep 30 06:38 .github 06:40:28 -rw-rw-r--. 1 jenkins jenkins 138 Sep 30 06:38 .gitignore 06:40:28 -rw-r--r--. 1 jenkins jenkins 517 Sep 30 06:40 go.mod 06:40:28 -rw-r--r--. 1 jenkins jenkins 13567 Sep 30 06:40 go.sum 06:40:28 drwxrwxr-x. 15 jenkins jenkins 211 Sep 30 06:38 internal 06:40:28 -rw-rw-r--. 1 jenkins jenkins 785 Sep 30 06:38 Jenkinsfile 06:40:28 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 30 06:38 LICENSE 06:40:28 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 30 06:38 Makefile 06:40:28 drwxrwxr-x. 4 jenkins jenkins 26 Sep 30 06:38 openapi 06:40:28 drwxrwxr-x. 5 jenkins jenkins 50 Sep 30 06:38 pkg 06:40:28 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 30 06:38 README.md 06:40:28 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 30 06:38 RELEASE-NOTES.txt 06:40:28 drwxrwxr-x. 3 jenkins jenkins 58 Sep 30 06:38 .semver 06:40:28 drwxrwxr-x. 4 jenkins jenkins 54 Sep 30 06:38 snap 06:40:28 -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 06:31 VERSION 06:40:28 -rw-rw-r--. 1 jenkins jenkins 222 Sep 30 06:38 version.go [Pipeline] isUnix [Pipeline] sh 06:40:28 + 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=a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad --label arch=amd64 --label version=0.0.0 . 06:40:29 Sending build context to Docker daemon 3.534MB 06:40:29 Step 1/24 : ARG BASE=golang:1.15-alpine 06:40:29 Step 2/24 : FROM ${BASE} AS builder 06:40:29 ---> d63aca626dc7 06:40:29 Step 3/24 : ARG MAKE='make build' 06:40:29 ---> Running in 17abe9e1becb 06:40:29 Removing intermediate container 17abe9e1becb 06:40:29 ---> 461203620029 06:40:29 Step 4/24 : WORKDIR /device-sdk-go 06:40:29 ---> Running in 20449945a627 06:40:29 Removing intermediate container 20449945a627 06:40:29 ---> 08e76e894479 06:40:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:30 ---> Running in adaac681237f 06:40:30 Removing intermediate container adaac681237f 06:40:30 ---> dab811f111f4 06:40:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:30 ---> Running in f50b6b7e19a0 06:40:31 Removing intermediate container f50b6b7e19a0 06:40:31 ---> 580e28e9bbca 06:40:31 Step 7/24 : RUN apk add --update --no-cache make git 06:40:31 ---> Running in b607583d8d4a 06:40:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:40:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:40:32 OK: 166 MiB in 39 packages 06:40:33 Removing intermediate container b607583d8d4a 06:40:33 ---> 8cf2ce8dd313 06:40:33 Step 8/24 : COPY . . 06:40:34 ---> cb66dc6b3363 06:40:34 Step 9/24 : RUN ${MAKE} 06:40:34 ---> Running in 7d7c01d580e9 06:40:34 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 06:40:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:40:43 Removing intermediate container 7d7c01d580e9 06:40:43 ---> f29c50f62fdf 06:40:43 Step 10/24 : FROM scratch 06:40:43 ---> 06:40:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:43 ---> Running in 725f486bce2c 06:40:43 Removing intermediate container 725f486bce2c 06:40:43 ---> 685d89f4c8c4 06:40:43 Step 12/24 : ENV APP_PORT=49990 06:40:43 ---> Running in 45d024ac28cf 06:40:44 Removing intermediate container 45d024ac28cf 06:40:44 ---> 43f26902826c 06:40:44 Step 13/24 : EXPOSE $APP_PORT 06:40:44 ---> Running in 2dec8c958c45 06:40:44 Removing intermediate container 2dec8c958c45 06:40:44 ---> 8156416ee803 06:40:44 Step 14/24 : WORKDIR / 06:40:44 ---> Running in 18f223319050 06:40:44 Removing intermediate container 18f223319050 06:40:44 ---> 81d7ac0c43fd 06:40:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:40:45 ---> 397353928797 06:40:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:40:45 ---> 2e92f7a92af1 06:40:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:40:45 ---> 95709e606469 06:40:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:40:45 ---> cf5efc1fce7c 06:40:45 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:40:46 ---> 048b8e9c4990 06:40:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:40:46 ---> Running in be98b2582416 06:40:46 Removing intermediate container be98b2582416 06:40:46 ---> 55d507aa5689 06:40:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:40:46 ---> Running in cf4872f4398f 06:40:46 Removing intermediate container cf4872f4398f 06:40:46 ---> ee8268fcbfd1 06:40:46 Step 22/24 : LABEL arch=amd64 06:40:46 ---> Running in dc164f8d9499 06:40:47 Removing intermediate container dc164f8d9499 06:40:47 ---> 3592c866aa08 06:40:47 Step 23/24 : LABEL git_sha=a563bd0f243a8da7a6f8cb9bdcf15792c44e13ad 06:40:47 ---> Running in 77d25ef30820 06:40:47 Removing intermediate container 77d25ef30820 06:40:47 ---> 70f80e9dceba 06:40:47 Step 24/24 : LABEL version=0.0.0 06:40:47 ---> Running in 1268a5796958 06:40:47 Removing intermediate container 1268a5796958 06:40:47 ---> 50cf2067820f 06:40:47 [Warning] One or more build-args [ARCH] were not consumed 06:40:47 Successfully built 50cf2067820f 06:40:47 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:40:49 provisioning config files... 06:40:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/config9149548046547522907tmp [Pipeline] { [Pipeline] sh 06:40:49 + set +x 06:40:49 + curl -s https://codecov.io/bash 06:40:49 + bash -s -- [Pipeline] } 06:43:11 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 06:43:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:43:14 ---> package-listing.sh 06:43:14 ++ facter osfamily 06:43:14 ++ tr '[:upper:]' '[:lower:]' 06:43:15 + OS_FAMILY=redhat 06:43:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-600 06:43:15 + START_PACKAGES=/tmp/packages_start.txt 06:43:15 + END_PACKAGES=/tmp/packages_end.txt 06:43:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:43:15 + PACKAGES=/tmp/packages_start.txt 06:43:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-600 ']' 06:43:15 + PACKAGES=/tmp/packages_end.txt 06:43:15 + case "${OS_FAMILY}" in 06:43:15 + rpm -qa 06:43:15 + sort 06:43:19 + '[' -f /tmp/packages_start.txt ']' 06:43:19 + '[' -f /tmp/packages_end.txt ']' 06:43:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:43:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-600 ']' 06:43:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-600/archives/ 06:43:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-600/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:19 provisioning config files... 06:43:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/config401849048784550355tmp [Pipeline] { [Pipeline] echo 06:43:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:43:20 ---> create-netrc.sh [Pipeline] } 06:43:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:43:20 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:43:20 ---> python-tools-install.sh 06:43:20 Generating Requirements File 06:45:12 Python 3.6.8 06:45:12 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:45:12 aiohttp==3.6.2 06:45:12 appdirs==1.4.3 06:45:12 argcomplete==1.12.1 06:45:12 aspy.yaml==1.3.0 06:45:12 async-timeout==3.0.1 06:45:12 attrs==19.3.0 06:45:12 Babel==2.8.0 06:45:12 beautifulsoup4==4.8.2 06:45:12 boto3==1.11.6 06:45:12 botocore==1.14.6 06:45:12 bs4==0.0.1 06:45:12 cachetools==4.1.1 06:45:12 certifi==2019.11.28 06:45:12 cffi==1.14.3 06:45:12 cfgv==2.0.1 06:45:12 chardet==3.0.4 06:45:12 click==7.1 06:45:12 cliff==3.4.0 06:45:12 cmd2==1.3.10 06:45:12 colorama==0.4.3 06:45:12 cryptography==3.1.1 06:45:12 debtcollector==2.2.0 06:45:12 decorator==4.4.2 06:45:12 defusedxml==0.6.0 06:45:12 Deprecated==1.2.7 06:45:12 distlib==0.3.1 06:45:12 distro==1.2.0 06:45:12 dnspython==1.16.0 06:45:12 docker==4.2.0 06:45:12 docutils==0.15.2 06:45:12 dogpile.cache==1.0.2 06:45:12 email-validator==1.0.5 06:45:12 filelock==3.0.12 06:45:12 future==0.18.2 06:45:12 google-auth==1.22.0 06:45:12 httplib2==0.17.0 06:45:12 identify==1.4.11 06:45:12 idna==2.9 06:45:12 idna-ssl==1.1.0 06:45:12 importlib-metadata==1.7.0 06:45:12 importlib-resources==1.5.0 06:45:12 iso8601==0.1.13 06:45:12 Jinja2==2.11.1 06:45:12 jmespath==0.10.0 06:45:12 jsonpatch==1.26 06:45:12 jsonpointer==2.0 06:45:12 jsonschema==3.2.0 06:45:12 keystoneauth1==4.2.1 06:45:12 kubernetes==11.0.0 06:45:12 lftools==0.34.2 06:45:12 lxml==4.5.0 06:45:12 MarkupSafe==0.23 06:45:12 msgpack==1.0.0 06:45:12 multi-key-dict==2.0.3 06:45:12 multidict==4.7.6 06:45:12 munch==2.5.0 06:45:12 netaddr==0.8.0 06:45:12 netifaces==0.10.9 06:45:12 niet==1.4.2 06:45:12 nodeenv==1.3.5 06:45:12 oauth2client==4.1.3 06:45:12 oauthlib==3.1.0 06:45:12 openstacksdk==0.50.0 06:45:12 os-client-config==2.1.0 06:45:12 os-service-types==1.7.0 06:45:12 osc-lib==2.2.1 06:45:12 oslo.config==8.3.2 06:45:12 oslo.context==3.1.1 06:45:12 oslo.i18n==5.0.1 06:45:12 oslo.log==4.4.0 06:45:12 oslo.serialization==4.0.1 06:45:12 oslo.utils==4.6.0 06:45:12 packaging==20.4 06:45:12 pbr==5.4.4 06:45:12 pluggy==0.13.1 06:45:12 prettytable==0.7.2 06:45:12 py==1.9.0 06:45:12 pyasn1==0.4.8 06:45:12 pyasn1-modules==0.2.8 06:45:12 pycparser==2.20 06:45:12 pygerrit2==2.0.10 06:45:12 PyGithub==1.46 06:45:12 pyinotify==0.9.6 06:45:12 PyJWT==1.7.1 06:45:12 pyparsing==2.4.7 06:45:12 pyperclip==1.8.0 06:45:12 pyroute2==0.4.13 06:45:12 pyrsistent==0.15.7 06:45:12 PySocks==1.6.8 06:45:12 python-cinderclient==7.2.0 06:45:12 python-dateutil==2.8.1 06:45:12 python-heatclient==2.2.1 06:45:12 python-jenkins==1.7.0 06:45:12 python-keystoneclient==4.1.1 06:45:12 python-magnumclient==3.2.1 06:45:12 python-novaclient==17.2.1 06:45:12 python-openstackclient==5.3.1 06:45:12 python-swiftclient==3.10.1 06:45:12 pytz==2020.1 06:45:12 PyYAML==5.3 06:45:12 requests==2.23.0 06:45:12 requests-oauthlib==1.3.0 06:45:12 requestsexceptions==1.4.0 06:45:12 rfc3986==1.4.0 06:45:12 rpm==4.11.3 06:45:12 rsa==4.0 06:45:12 ruamel.yaml==0.16.10 06:45:12 ruamel.yaml.clib==0.2.0 06:45:12 s3transfer==0.3.3 06:45:12 shade==1.27.2 06:45:12 simplejson==3.17.2 06:45:12 six==1.14.0 06:45:12 soupsieve==2.0 06:45:12 stevedore==3.2.2 06:45:12 tabulate==0.8.6 06:45:12 toml==0.10.0 06:45:12 tox==3.20.0 06:45:12 tqdm==4.43.0 06:45:12 typing-extensions==3.7.4.3 06:45:12 urllib3==1.25.8 06:45:12 virtualenv==20.0.31 06:45:12 wcwidth==0.2.5 06:45:12 websocket-client==0.57.0 06:45:12 wrapt==1.12.1 06:45:12 xdg==3.0.2 06:45:12 xmltodict==0.12.0 06:45:12 yarl==1.6.0 06:45:12 yq==2.11.1 06:45:12 zipp==3.2.0 06:45:12 Cache entry deserialization failed, entry ignored 06:45:15 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. 06:45:20 Python 2.7.5 06:45:20 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:45:21 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. 06:45:21 ansible==2.9.7 06:45:21 Babel==0.9.6 06:45:21 backports.ssl-match-hostname==3.5.0.1 06:45:21 beautifulsoup4==4.4.1 06:45:21 bodhi==2.11.0 06:45:21 bodhi-client==2.11.0 06:45:21 CCColUtils==1.4 06:45:21 cffi==1.6.0 06:45:21 chardet==2.2.1 06:45:21 click==6.7 06:45:21 cloud-init==18.5 06:45:21 configobj==4.7.2 06:45:21 cryptography==1.7.2 06:45:21 decorator==3.4.0 06:45:21 distro==1.2.0 06:45:21 enum34==1.0.4 06:45:21 fedpkg==1.38 06:45:21 futures==3.1.1 06:45:21 gitdb==0.6.4 06:45:21 GitPython==1.0.1 06:45:21 html5lib==0.999 06:45:21 httplib2==0.9.2 06:45:21 idna==2.4 06:45:21 iniparse==0.4 06:45:21 ipaddress==1.0.16 06:45:21 IPy==0.75 06:45:21 javapackages==1.0.0 06:45:21 Jinja2==2.7.2 06:45:21 jmespath==0.9.4 06:45:21 jsonpatch==1.2 06:45:21 jsonpointer==1.9 06:45:21 kerberos==1.1 06:45:21 kitchen==1.1.1 06:45:21 langtable==0.0.31 06:45:21 lockfile==0.9.1 06:45:21 lxml==3.2.1 06:45:21 MarkupSafe==0.11 06:45:21 munch==2.0.2 06:45:21 offtrac==0.1.0 06:45:21 openidc-client==0.6.0 06:45:21 packagedb-cli==2.14.1 06:45:21 paramiko==2.1.1 06:45:21 perf==0.1 06:45:21 ply==3.4 06:45:21 policycoreutils-default-encoding==0.1 06:45:21 prettytable==0.7.2 06:45:21 pyasn1==0.1.9 06:45:21 pycparser==2.14 06:45:21 pycurl==7.19.0 06:45:21 pygobject==3.22.0 06:45:21 pygpgme==0.3 06:45:21 pyliblzma==0.5.3 06:45:21 pyOpenSSL==0.13.1 06:45:21 pyparsing==1.5.6 06:45:21 pyserial==2.6 06:45:21 python-augeas==0.5.0 06:45:21 python-bugzilla==2.3.0 06:45:21 python-dateutil==1.5 06:45:21 python-fedora==0.10.0 06:45:21 python-linux-procfs==0.4.9 06:45:21 python-yubico==1.2.3 06:45:21 pyudev==0.15 06:45:21 pyusb==1.0.0b1 06:45:21 pyxattr==0.5.1 06:45:21 PyYAML==3.10 06:45:21 requests==2.6.0 06:45:21 requests-kerberos==0.7.0 06:45:21 rpkg==1.60 06:45:21 schedutils==0.4 06:45:21 seobject==0.1 06:45:21 sepolicy==1.1 06:45:21 six==1.9.0 06:45:21 smmap==0.9.0 06:45:21 urlgrabber==3.10 06:45:21 urllib3==1.10.2 06:45:21 virtualenv==15.1.0 06:45:21 yum-langpacks==0.4.2 06:45:21 yum-metadata-parser==1.1.4 [Pipeline] echo 06:45:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:45:22 ---> sudo-logs.sh 06:45:22 Archiving 'sudo' log.. [Pipeline] echo 06:45:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:45:23 ---> job-cost.sh 06:45:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xI1w 06:45:35 Cache entry deserialization failed, entry ignored 06:45:35 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:36 Cache entry deserialization failed, entry ignored 06:45:37 Cache entry deserialization failed, entry ignored 06:45:37 Cache entry deserialization failed, entry ignored 06:45:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:46:28 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 06:46:28 06:46:28 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 06:46:28 06:46:28 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 06:46:28 lf-activate-venv(): INFO: Adding /tmp/venv-xI1w/bin to PATH 06:46:28 INFO: No Stack... 06:46:28 INFO: Retrieving Pricing Info for: v1-standard-2 06:46:28 INFO: Archiving Costs [Pipeline] echo 06:46:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:46:29 ---> logs-deploy.sh 06:46:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-600/2 06:46:29 INFO: archiving workspace using pattern(s): 06:46:31 Archives upload complete. 06:46:31 INFO: archiving logs to Nexus