Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from aac36b3916e75134e0bc274a629980a5801eb67d+4a1412fe3679be6652f13296ba45411ccc085237 (a9c88ab414c76f2ce90a6b3e54ead0050d02bc59) 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-2187 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 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit aac36b3916e75134e0bc274a629980a5801eb67d Merge succeeded, producing aac36b3916e75134e0bc274a629980a5801eb67d Checking out Revision aac36b3916e75134e0bc274a629980a5801eb67d (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 aac36b3916e75134e0bc274a629980a5801eb67d # 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 aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:31:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:31:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:31:31 ========================================================= 06:31:31 EdgeX Global Pipelines Version Info 06:31:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4bdbb9adb96e09f506774f7ea2e77baab7449e26 # timeout=10 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:35 [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:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:31:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:31:36 [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:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:31:37 [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-582 [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aac36b3916e75134e0bc274a629980a5801eb67d [Pipeline] echo 06:31:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aac36b3 [Pipeline] echo 06:31:38 [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 aac36b3916e75134e0bc274a629980a5801eb67d [Pipeline] echo 06:31:38 GIT_COMMIT: aac36b3916e75134e0bc274a629980a5801eb67d, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [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:39 06:31:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:31:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:39 latest: Pulling from edgex-devops/git-semver 06:31:39 31603596830f: Pulling fs layer 06:31:39 2a8b12db71e7: Pulling fs layer 06:31:39 6ca5941a6612: Pulling fs layer 06:31:39 ecc8261a40a4: Pulling fs layer 06:31:39 ecc8261a40a4: Waiting 06:31:39 2a8b12db71e7: Verifying Checksum 06:31:39 2a8b12db71e7: Download complete 06:31:40 31603596830f: Verifying Checksum 06:31:40 31603596830f: Download complete 06:31:40 ecc8261a40a4: Verifying Checksum 06:31:40 ecc8261a40a4: Download complete 06:31:40 6ca5941a6612: Verifying Checksum 06:31:40 6ca5941a6612: Download complete 06:31:40 31603596830f: Pull complete 06:31:40 2a8b12db71e7: Pull complete 06:31:41 6ca5941a6612: Pull complete 06:31:42 ecc8261a40a4: Pull complete 06:31:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:31:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:31:42 prd-centos7-docker-4c-2g-2187 does not seem to be running inside a container 06:31:42 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:31:43 $ docker top bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:31:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:43 [ssh-agent] Looking for ssh-agent implementation... 06:31:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:44 $ docker exec bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 ssh-agent 06:31:44 SSH_AUTH_SOCK=/tmp/ssh-75rastRBCqcz/agent.13 06:31:44 SSH_AGENT_PID=19 06:31:44 Running ssh-add (command line suppressed) 06:31:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3371014348270372210.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3371014348270372210.key) 06:31:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:44 + git describe --exact-match --tags HEAD 06:31:44 fatal: no tag exactly matches 'aac36b3916e75134e0bc274a629980a5801eb67d' [Pipeline] } 06:31:44 $ docker exec --env ******** --env ******** bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 ssh-agent -k 06:31:44 unset SSH_AUTH_SOCK; 06:31:44 unset SSH_AGENT_PID; 06:31:44 echo Agent pid 19 killed; 06:31:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:31:45 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:31:45 This usually means this commit has not been tagged. [Pipeline] sshagent 06:31:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:45 [ssh-agent] Looking for ssh-agent implementation... 06:31:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:45 $ docker exec bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 ssh-agent 06:31:45 SSH_AUTH_SOCK=/tmp/ssh-K13LVoQsgPsb/agent.48 06:31:45 SSH_AGENT_PID=54 06:31:45 Running ssh-add (command line suppressed) 06:31:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_2167730787887409660.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_2167730787887409660.key) 06:31:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:45 + git semver init 06:31:45 # -> Open(): unable to determine branch for HEAD 06:31:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 06:31:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 06:31:45 # $SEMVER_REMOTE_NAME = origin 06:31:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:31:45 # $SEMVER_USER_NAME = edgex-jenkins 06:31:45 # $SEMVER_BRANCH = PR-582 06:31:45 # $SEMVER_TEMP = /tmp/semver-087075113 06:31:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:31:46 # '/tmp/semver-087075113' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 06:31:46 # -> Force: false 06:31:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 06:31:46 $ docker exec --env ******** --env ******** bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 ssh-agent -k 06:31:46 unset SSH_AUTH_SOCK; 06:31:46 unset SSH_AGENT_PID; 06:31:46 echo Agent pid 54 killed; 06:31:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:47 + git semver [Pipeline] } 06:31:47 $ docker stop --time=1 bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 06:31:48 $ docker rm -f bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:31:49 Stashed 40 file(s) [Pipeline] echo 06:31:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:31:49 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:05 Still waiting to schedule task 06:32:05 ‘prd-centos7-docker-4c-2g-2177’ is offline; ‘prd-centos7-docker-4c-2g-2188’ 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:05 Still waiting to schedule task 06:32:05 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:33:26 Running on prd-centos7-docker-4c-2g-2192 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 06:33:26 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 06:33:30 using credential edgex-jenkins-ssh 06:33:30 Cloning the remote Git repository 06:33:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:33:30 > git init /w/workspace/device-sdk-go/11 # timeout=10 06:33:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:33:30 > git --version # timeout=10 06:33:30 > git --version # 'git version 2.16.5' 06:33:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:33:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:33:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:33:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:31 > 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 06:33:31 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit aac36b3916e75134e0bc274a629980a5801eb67d 06:33:32 Merge succeeded, producing aac36b3916e75134e0bc274a629980a5801eb67d 06:33:32 Checking out Revision aac36b3916e75134e0bc274a629980a5801eb67d (PR-582) 06:33:31 > git config core.sparsecheckout # timeout=10 06:33:31 > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 06:33:32 > git remote # timeout=10 06:33:32 > git config --get remote.origin.url # timeout=10 06:33:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:32 > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 06:33:32 > git rev-parse HEAD^{commit} # timeout=10 06:33:32 > git config core.sparsecheckout # timeout=10 06:33:32 > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 06:33:36 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:33:37 ========================================================= 06:33:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:33:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:33: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:33:39 Sending build context to Docker daemon 3.421MB 06:33:39 Step 1/8 : ARG BASE=golang:1.15-alpine 06:33:39 Step 2/8 : FROM ${BASE} 06:33:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:33:39 df20fa9351a1: Pulling fs layer 06:33:39 ed8968b2872e: Pulling fs layer 06:33:39 a92cc7c5fd73: Pulling fs layer 06:33:39 e871e8e8d7a9: Pulling fs layer 06:33:39 e73272ec9a57: Pulling fs layer 06:33:39 1e910a182e73: Pulling fs layer 06:33:39 4e634b169226: Pulling fs layer 06:33:39 e871e8e8d7a9: Waiting 06:33:39 e73272ec9a57: Waiting 06:33:39 1e910a182e73: Waiting 06:33:39 4e634b169226: Waiting 06:33:39 a92cc7c5fd73: Verifying Checksum 06:33:39 a92cc7c5fd73: Download complete 06:33:39 ed8968b2872e: Verifying Checksum 06:33:39 ed8968b2872e: Download complete 06:33:39 e73272ec9a57: Verifying Checksum 06:33:39 e73272ec9a57: Download complete 06:33:40 1e910a182e73: Verifying Checksum 06:33:40 1e910a182e73: Download complete 06:33:40 df20fa9351a1: Verifying Checksum 06:33:40 df20fa9351a1: Download complete 06:33:40 df20fa9351a1: Pull complete 06:33:40 ed8968b2872e: Pull complete 06:33:40 a92cc7c5fd73: Pull complete 06:33:42 4e634b169226: Verifying Checksum 06:33:42 4e634b169226: Download complete 06:33:42 e871e8e8d7a9: Verifying Checksum 06:33:42 e871e8e8d7a9: Download complete 06:33:48 e871e8e8d7a9: Pull complete 06:33:48 e73272ec9a57: Pull complete 06:33:48 1e910a182e73: Pull complete 06:33:56 4e634b169226: Pull complete 06:33:56 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:33:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:33:56 ---> f7629b54cfaa 06:33:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:56 ---> Running in 551d70a92071 06:33:56 Removing intermediate container 551d70a92071 06:33:56 ---> f3eb1992f1e2 06:33:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:56 ---> Running in 040f68692ed3 06:33:57 Removing intermediate container 040f68692ed3 06:33:57 ---> e65e7a41cbcf 06:33:57 Step 5/8 : RUN apk add --no-cache make git 06:33:57 ---> Running in 9a8a657a1c5d 06:33:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:33:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:33:59 OK: 166 MiB in 39 packages 06:34:00 Removing intermediate container 9a8a657a1c5d 06:34:00 ---> b0ea8cb9317d 06:34:00 Step 6/8 : WORKDIR /device-sdk-go 06:34:00 ---> Running in 9c876bb06b8c 06:34:00 Removing intermediate container 9c876bb06b8c 06:34:00 ---> 19a9bc781b7f 06:34:00 Step 7/8 : COPY . . 06:34:01 ---> 723f54305c00 06:34:01 Step 8/8 : RUN go mod download 06:34:01 ---> Running in 78de50d18996 06:34:20 Removing intermediate container 78de50d18996 06:34:20 ---> bc7ed03430d2 06:34:20 Successfully built bc7ed03430d2 06:34:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:34:20 + docker inspect -f . ci-base-image-x86_64 06:34:20 . [Pipeline] withDockerContainer 06:34:20 prd-centos7-docker-4c-2g-2192 does not seem to be running inside a container 06:34:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:21 $ docker top bb57ce3ba35c547e0b8829e5120bf49699292c7953dc98b9f42dec722ca77b24 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:22 + go version 06:34:22 go version go1.15.2 linux/amd64 [Pipeline] } 06:34:22 $ docker stop --time=1 bb57ce3ba35c547e0b8829e5120bf49699292c7953dc98b9f42dec722ca77b24 06:34:23 $ docker rm -f bb57ce3ba35c547e0b8829e5120bf49699292c7953dc98b9f42dec722ca77b24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:34:24 + docker inspect -f . ci-base-image-x86_64 06:34:24 . [Pipeline] withDockerContainer 06:34:24 prd-centos7-docker-4c-2g-2192 does not seem to be running inside a container 06:34:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:25 $ docker top 2ad38b16e06980d1c77c1d852138c098835410f0d4ab61fb26730d0914e50d9a -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:25 + make test 06:34:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:34:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:34:49 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:34:49 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:34:49 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:34:49 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.065s coverage: 21.6% of statements 06:34:50 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.474s coverage: 97.1% of statements 06:35:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 06:35:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements 06:35:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:35:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 39.5% of statements 06:35:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:35:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.4% of statements 06:35:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:35:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:35:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:35:22 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:35:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 06:35:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:35:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.533s coverage: 68.9% of statements 06:35:22 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:35:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:35:22 GO111MODULE=on go vet ./... 06:35:29 gofmt -l . 06:35:29 [ "`gofmt -l .`" = "" ] 06:35:29 ./bin/test-attribution-txt.sh 06:35:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:35:29 Stashed 1 file(s) [Pipeline] } 06:35:29 $ docker stop --time=1 2ad38b16e06980d1c77c1d852138c098835410f0d4ab61fb26730d0914e50d9a 06:35:31 $ docker rm -f 2ad38b16e06980d1c77c1d852138c098835410f0d4ab61fb26730d0914e50d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:35:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2195 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] sh [Pipeline] ws 06:35:33 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 06:35:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:33 + ls -al . 06:35:33 total 192 06:35:33 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 30 06:35 . 06:35:33 drwxrwxr-x. 4 jenkins jenkins 30 Sep 30 06:33 .. 06:35:33 drwxrwxr-x. 2 jenkins jenkins 64 Sep 30 06:33 bin 06:35:33 -rw-r--r--. 1 jenkins jenkins 111041 Sep 30 06:35 coverage.out 06:35:33 -rw-rw-r--. 1 jenkins jenkins 936 Sep 30 06:33 Dockerfile.build 06:35:33 -rw-rw-r--. 1 jenkins jenkins 140 Sep 30 06:33 .dockerignore 06:35:33 drwxrwxr-x. 4 jenkins jenkins 48 Sep 30 06:33 example 06:35:33 drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 06:33 .git 06:35:33 drwxrwxr-x. 2 jenkins jenkins 60 Sep 30 06:33 .github 06:35:33 -rw-rw-r--. 1 jenkins jenkins 138 Sep 30 06:33 .gitignore 06:35:33 -rw-r--r--. 1 jenkins jenkins 517 Sep 30 06:35 go.mod 06:35:33 -rw-r--r--. 1 jenkins jenkins 13543 Sep 30 06:35 go.sum 06:35:33 drwxrwxr-x. 15 jenkins jenkins 211 Sep 30 06:33 internal 06:35:33 -rw-rw-r--. 1 jenkins jenkins 785 Sep 30 06:33 Jenkinsfile 06:35:33 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 30 06:33 LICENSE 06:35:33 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 30 06:33 Makefile 06:35:33 drwxrwxr-x. 4 jenkins jenkins 26 Sep 30 06:33 openapi 06:35:33 drwxrwxr-x. 5 jenkins jenkins 50 Sep 30 06:33 pkg 06:35:33 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 30 06:33 README.md 06:35:33 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 30 06:33 RELEASE-NOTES.txt 06:35:33 drwxrwxr-x. 3 jenkins jenkins 58 Sep 30 06:33 .semver 06:35:33 drwxrwxr-x. 4 jenkins jenkins 54 Sep 30 06:33 snap 06:35:33 -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 06:31 VERSION 06:35:33 -rw-rw-r--. 1 jenkins jenkins 222 Sep 30 06:33 version.go [Pipeline] isUnix [Pipeline] sh 06:35:33 + 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=aac36b3916e75134e0bc274a629980a5801eb67d --label arch=amd64 --label version=0.0.0 . 06:35:34 Sending build context to Docker daemon 3.533MB 06:35:34 Step 1/24 : ARG BASE=golang:1.15-alpine 06:35:34 Step 2/24 : FROM ${BASE} AS builder 06:35:34 ---> bc7ed03430d2 06:35:34 Step 3/24 : ARG MAKE='make build' 06:35:34 ---> Running in b9bf6a60b69b 06:35:35 Removing intermediate container b9bf6a60b69b 06:35:35 ---> 24d60b5ccd91 06:35:35 Step 4/24 : WORKDIR /device-sdk-go 06:35:35 ---> Running in 64bfae56c7f8 06:35:35 Removing intermediate container 64bfae56c7f8 06:35:35 ---> 42e5e970d98e 06:35:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:35 ---> Running in 6f1defb78545 06:35:35 Removing intermediate container 6f1defb78545 06:35:35 ---> ee8eeee8ec8a 06:35:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:35 ---> Running in 985e0898dc57 06:35:36 Removing intermediate container 985e0898dc57 06:35:36 ---> 2232d313d760 06:35:36 Step 7/24 : RUN apk add --update --no-cache make git 06:35:36 ---> Running in 415b5d951fc3 06:35:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:35:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:35:37 using credential edgex-jenkins-ssh 06:35:37 OK: 166 MiB in 39 packages 06:35:38 Cloning the remote Git repository 06:35:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:35:38 > git init /w/workspace/device-sdk-go/11 # timeout=10 06:35:38 Removing intermediate container 415b5d951fc3 06:35:38 ---> 332617f2bc6b 06:35:38 Step 8/24 : COPY . . 06:35:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:38 > git --version # timeout=10 06:35:38 > git --version # 'git version 2.17.1' 06:35:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:39 ---> 840daa6e4831 06:35:39 Step 9/24 : RUN ${MAKE} 06:35:39 ---> Running in a1cf1ac536a7 06:35:40 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:35:40 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit aac36b3916e75134e0bc274a629980a5801eb67d 06:35:40 Merge succeeded, producing aac36b3916e75134e0bc274a629980a5801eb67d 06:35:40 Checking out Revision aac36b3916e75134e0bc274a629980a5801eb67d (PR-582) 06:35:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:39 > 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 06:35:40 > git config core.sparsecheckout # timeout=10 06:35:40 > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 06:35:40 > git remote # timeout=10 06:35:40 > git config --get remote.origin.url # timeout=10 06:35:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:40 > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 06:35:40 > git rev-parse HEAD^{commit} # timeout=10 06:35:40 > git config core.sparsecheckout # timeout=10 06:35:40 > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 06:35:44 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:35:46 ========================================================= 06:35:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:35:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:35:47 + 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:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:35:48 Sending build context to Docker daemon 3.421MB 06:35:48 Step 1/8 : ARG BASE=golang:1.15-alpine 06:35:48 Step 2/8 : FROM ${BASE} 06:35:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:35:48 b538f80385f9: Pulling fs layer 06:35:48 74f711af9a0d: Pulling fs layer 06:35:48 99f96fe45779: Pulling fs layer 06:35:48 8529a6b9a6be: Pulling fs layer 06:35:48 45590311c82a: Pulling fs layer 06:35:48 69ca0ff8b7b3: Pulling fs layer 06:35:48 209524e5b208: Pulling fs layer 06:35:48 8529a6b9a6be: Waiting 06:35:48 45590311c82a: Waiting 06:35:48 209524e5b208: Waiting 06:35:48 69ca0ff8b7b3: Waiting 06:35:48 99f96fe45779: Verifying Checksum 06:35:48 99f96fe45779: Download complete 06:35:48 74f711af9a0d: Verifying Checksum 06:35:48 74f711af9a0d: Download complete 06:35:48 45590311c82a: Verifying Checksum 06:35:48 45590311c82a: Download complete 06:35:48 69ca0ff8b7b3: Download complete 06:35:48 b538f80385f9: Verifying Checksum 06:35:48 b538f80385f9: Download complete 06:35:49 b538f80385f9: Pull complete 06:35:50 Removing intermediate container a1cf1ac536a7 06:35:50 ---> d3f4360fa439 06:35:50 Step 10/24 : FROM scratch 06:35:50 ---> 06:35:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:50 ---> Running in 5f5033057702 06:35:50 Removing intermediate container 5f5033057702 06:35:50 ---> 16dca8026cf3 06:35:50 Step 12/24 : ENV APP_PORT=49990 06:35:50 ---> Running in aa48377a64fb 06:35:50 74f711af9a0d: Pull complete 06:35:50 Removing intermediate container aa48377a64fb 06:35:50 ---> 43d964c38c27 06:35:50 Step 13/24 : EXPOSE $APP_PORT 06:35:50 ---> Running in 11a2c5a0d015 06:35:50 99f96fe45779: Pull complete 06:35:50 Removing intermediate container 11a2c5a0d015 06:35:50 ---> 5d26cc92168f 06:35:50 Step 14/24 : WORKDIR / 06:35:50 ---> Running in a4ff49065be6 06:35:51 Removing intermediate container a4ff49065be6 06:35:51 ---> 174c7703d891 06:35:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:35:51 ---> 90351c22291d 06:35:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:35:51 209524e5b208: Verifying Checksum 06:35:51 209524e5b208: Download complete 06:35:51 ---> 80b9d68fc3a1 06:35:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:35:51 ---> 244ebf1bb91b 06:35:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:35:52 ---> 1aa445aa363a 06:35:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:35:52 ---> 24d8f53ec176 06:35:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:35:52 ---> Running in 6a892d7b0aed 06:35:52 8529a6b9a6be: Verifying Checksum 06:35:52 8529a6b9a6be: Download complete 06:35:52 Removing intermediate container 6a892d7b0aed 06:35:52 ---> f8105738a8ab 06:35:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:35:52 ---> Running in 88c8bd8c662b 06:35:52 Removing intermediate container 88c8bd8c662b 06:35:52 ---> 15ad9d844fa4 06:35:52 Step 22/24 : LABEL arch=amd64 06:35:52 ---> Running in 20b43e0ad7df 06:35:52 Removing intermediate container 20b43e0ad7df 06:35:52 ---> a3b9e44f7a5e 06:35:52 Step 23/24 : LABEL git_sha=aac36b3916e75134e0bc274a629980a5801eb67d 06:35:53 ---> Running in e81286a500af 06:35:53 Removing intermediate container e81286a500af 06:35:53 ---> 58e352cf1384 06:35:53 Step 24/24 : LABEL version=0.0.0 06:35:53 ---> Running in dc1347a45c66 06:35:53 Removing intermediate container dc1347a45c66 06:35:53 ---> cee815674536 06:35:53 [Warning] One or more build-args [ARCH] were not consumed 06:35:53 Successfully built cee815674536 06:35:53 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] } 06:36:02 8529a6b9a6be: Pull complete 06:36:02 45590311c82a: Pull complete 06:36:03 69ca0ff8b7b3: Pull complete 06:36:06 209524e5b208: Pull complete 06:36:06 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:36:06 ---> 5bddaf1c2fca 06:36:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:36:09 ---> Running in bcee9ff585f8 06:36:10 Removing intermediate container bcee9ff585f8 06:36:10 ---> 00127d0e614b 06:36:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:10 ---> Running in 86d69f178271 06:36:12 Removing intermediate container 86d69f178271 06:36:12 ---> 5f8170dc6940 06:36:12 Step 5/8 : RUN apk add --no-cache make git 06:36:12 ---> Running in f9266291271a 06:36:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:36:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:36:15 OK: 142 MiB in 39 packages 06:36:17 Removing intermediate container f9266291271a 06:36:17 ---> d856aee7cec2 06:36:17 Step 6/8 : WORKDIR /device-sdk-go 06:36:17 ---> Running in e4da53872fbe 06:36:17 Removing intermediate container e4da53872fbe 06:36:17 ---> 2032309270d0 06:36:17 Step 7/8 : COPY . . 06:36:18 ---> 4d1686b75444 06:36:18 Step 8/8 : RUN go mod download 06:36:19 ---> Running in 838b07a716ba 06:36:41 Removing intermediate container 838b07a716ba 06:36:41 ---> 831d9f21a1ba 06:36:41 Successfully built 831d9f21a1ba 06:36:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:36:41 + docker inspect -f . ci-base-image-arm64 06:36:41 . [Pipeline] withDockerContainer 06:36:41 prd-ubuntu18.04-docker-arm64-4c-16g-2195 does not seem to be running inside a container 06:36:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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:43 $ docker top b74853372d882dbb796592b2597598a31faac08e2af26c3a69cc798ad5e3bf62 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:45 + go version 06:36:45 go version go1.15.2 linux/arm64 [Pipeline] } 06:36:45 $ docker stop --time=1 b74853372d882dbb796592b2597598a31faac08e2af26c3a69cc798ad5e3bf62 06:36:47 $ docker rm -f b74853372d882dbb796592b2597598a31faac08e2af26c3a69cc798ad5e3bf62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:36:48 + docker inspect -f . ci-base-image-arm64 06:36:48 . [Pipeline] withDockerContainer 06:36:48 prd-ubuntu18.04-docker-arm64-4c-16g-2195 does not seem to be running inside a container 06:36:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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:50 $ docker top ec5044495bc28487b9f3e21753d882e0b4e3e8dfebc059a1bb6a16ea85631fea -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:51 + make test 06:36:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:37:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:37:53 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:37:53 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:37:53 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:37:53 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.127s coverage: 21.6% of statements 06:37:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.204s coverage: 97.1% of statements 06:38:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements 06:38:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements 06:38:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:38:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.595s coverage: 39.5% of statements 06:38:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:38:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.781s coverage: 65.4% of statements 06:38:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:38:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:38:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:38:22 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:38:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.192s coverage: 52.6% of statements 06:38:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:38:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.867s coverage: 68.9% of statements 06:38:22 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:38:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:38:23 GO111MODULE=on go vet ./... 06:38:56 gofmt -l . 06:38:56 [ "`gofmt -l .`" = "" ] 06:38:56 ./bin/test-attribution-txt.sh 06:38:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:38:56 Warning: overwriting stash ‘coverage-report’ 06:38:56 Stashed 1 file(s) [Pipeline] } 06:38:56 $ docker stop --time=1 ec5044495bc28487b9f3e21753d882e0b4e3e8dfebc059a1bb6a16ea85631fea 06:38:58 $ docker rm -f ec5044495bc28487b9f3e21753d882e0b4e3e8dfebc059a1bb6a16ea85631fea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:39:00 + ls -al . 06:39:00 total 232 06:39:00 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 06:38 . 06:39:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 .. 06:39:00 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 06:35 .dockerignore 06:39:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 06:35 .git 06:39:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 06:35 .github 06:39:00 -rw-rw-r-- 1 jenkins jenkins 138 Sep 30 06:35 .gitignore 06:39:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 06:35 .semver 06:39:00 -rw-rw-r-- 1 jenkins jenkins 936 Sep 30 06:35 Dockerfile.build 06:39:00 -rw-rw-r-- 1 jenkins jenkins 785 Sep 30 06:35 Jenkinsfile 06:39:00 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 06:35 LICENSE 06:39:00 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 30 06:35 Makefile 06:39:00 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 30 06:35 README.md 06:39:00 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 30 06:35 RELEASE-NOTES.txt 06:39:00 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 06:31 VERSION 06:39:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 06:35 bin 06:39:00 -rw-r--r-- 1 jenkins jenkins 111041 Sep 30 06:38 coverage.out 06:39:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 example 06:39:00 -rw-r--r-- 1 jenkins jenkins 517 Sep 30 06:38 go.mod 06:39:00 -rw-r--r-- 1 jenkins jenkins 13543 Sep 30 06:38 go.sum 06:39:00 drwxrwxr-x 15 jenkins jenkins 4096 Sep 30 06:35 internal 06:39:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 openapi 06:39:00 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 06:35 pkg 06:39:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 snap 06:39:00 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 06:35 version.go [Pipeline] isUnix [Pipeline] sh 06:39:01 + 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=aac36b3916e75134e0bc274a629980a5801eb67d --label arch=arm64 --label version=0.0.0 . 06:39:01 Sending build context to Docker daemon 3.533MB 06:39:01 Step 1/24 : ARG BASE=golang:1.15-alpine 06:39:01 Step 2/24 : FROM ${BASE} AS builder 06:39:01 ---> 831d9f21a1ba 06:39:01 Step 3/24 : ARG MAKE='make build' 06:39:01 ---> Running in 31b418bd3195 06:39:02 Removing intermediate container 31b418bd3195 06:39:02 ---> e5aa5fb40363 06:39:02 Step 4/24 : WORKDIR /device-sdk-go 06:39:02 ---> Running in 66029113e35d 06:39:02 Removing intermediate container 66029113e35d 06:39:02 ---> 2693b27b3606 06:39:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:03 ---> Running in c30b7392be04 06:39:03 Removing intermediate container c30b7392be04 06:39:03 ---> 1603e3cf2ad7 06:39:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:03 ---> Running in 26062362c473 06:39:06 Removing intermediate container 26062362c473 06:39:06 ---> 6b4d2d3e1998 06:39:06 Step 7/24 : RUN apk add --update --no-cache make git 06:39:06 ---> Running in a477a3877d22 06:39:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:39:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:39:09 OK: 142 MiB in 39 packages 06:39:10 Removing intermediate container a477a3877d22 06:39:10 ---> 97e22539fd94 06:39:10 Step 8/24 : COPY . . 06:39:11 ---> 125fbe19a4ea 06:39:11 Step 9/24 : RUN ${MAKE} 06:39:11 ---> Running in 86442d7bfa75 06:39:13 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:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:39:40 Removing intermediate container 86442d7bfa75 06:39:40 ---> 6f587e90e41a 06:39:40 Step 10/24 : FROM scratch 06:39:40 ---> 06:39:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:40 ---> Running in 6644d018af5c 06:39:40 Removing intermediate container 6644d018af5c 06:39:40 ---> de14338ce2ce 06:39:40 Step 12/24 : ENV APP_PORT=49990 06:39:40 ---> Running in c4942fbae210 06:39:40 Removing intermediate container c4942fbae210 06:39:40 ---> 08f99c6517e1 06:39:40 Step 13/24 : EXPOSE $APP_PORT 06:39:40 ---> Running in b22aec6759cc 06:39:40 Removing intermediate container b22aec6759cc 06:39:40 ---> 3c630cd72a17 06:39:40 Step 14/24 : WORKDIR / 06:39:40 ---> Running in 53949a378d71 06:39:41 Removing intermediate container 53949a378d71 06:39:41 ---> 432e65d3b8c2 06:39:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:39:42 ---> 2bb174d3b1af 06:39:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:39:43 ---> d4d090ed68d9 06:39:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:39:43 ---> d66546835978 06:39:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:39:44 ---> 4186b2aab48e 06:39:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:39:45 ---> c7474e7a5d45 06:39:45 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:39:45 ---> Running in bf04a47e7bd7 06:39:46 Removing intermediate container bf04a47e7bd7 06:39:46 ---> e58658c4a550 06:39:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:39:46 ---> Running in e2aac21fdd42 06:39:46 Removing intermediate container e2aac21fdd42 06:39:46 ---> ce3220685b77 06:39:46 Step 22/24 : LABEL arch=arm64 06:39:46 ---> Running in a21f0cfacd36 06:39:47 Removing intermediate container a21f0cfacd36 06:39:47 ---> b8621cbd4305 06:39:47 Step 23/24 : LABEL git_sha=aac36b3916e75134e0bc274a629980a5801eb67d 06:39:47 ---> Running in 68096602391d 06:39:47 Removing intermediate container 68096602391d 06:39:47 ---> d3ecb445b744 06:39:47 Step 24/24 : LABEL version=0.0.0 06:39:47 ---> Running in c73ef0506752 06:39:48 Removing intermediate container c73ef0506752 06:39:48 ---> 71a29822f47f 06:39:48 [Warning] One or more build-args [ARCH] were not consumed 06:39:48 Successfully built 71a29822f47f 06:39:48 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 06:39:50 provisioning config files... 06:39:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config5431850704764908459tmp [Pipeline] { [Pipeline] sh 06:39:50 + set +x 06:39:50 + curl -s https://codecov.io/bash 06:39:50 + bash -s -- 06:39:51 06:39:51 _____ _ 06:39:51 / ____| | | 06:39:51 | | ___ __| | ___ ___ _____ __ 06:39:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:39:51 | |___| (_) | (_| | __/ (_| (_) \ V / 06:39:51 \_____\___/ \__,_|\___|\___\___/ \_/ 06:39:51 Bash-20200917-4e8f14b 06:39:51 06:39:51 06:39:51 ==> Jenkins CI detected. 06:39:51 project root: . 06:39:51 --> token set from env 06:39:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:39:51 ==> Running gcov in . (disable via -X gcov) 06:39:51 ==> Python coveragepy not found 06:39:51 ==> Searching for coverage reports in: 06:39:51 + . 06:39:51 -> Found 1 reports 06:39:51 ==> Detecting git/mercurial file structure 06:39:51 ==> Reading reports 06:39:51 + ./coverage.out bytes=111041 06:39:51 ==> Appending adjustments 06:39:51 https://docs.codecov.io/docs/fixing-reports 06:39:51 + Found adjustments 06:39:51 ==> Gzipping contents 06:39:51 ==> Uploading reports 06:39:51 url: https://codecov.io 06:39:51 query: branch=PR-582&commit=aac36b3916e75134e0bc274a629980a5801eb67d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 06:39:51 -> Pinging Codecov 06:39:51 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=aac36b3916e75134e0bc274a629980a5801eb67d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 06:39:51 -> Uploading to 06:39:51 https://storage.googleapis.com/codecov/v4/raw/2020-09-30/7E55EF52A471D76F132DFD9A03CDDE97/aac36b3916e75134e0bc274a629980a5801eb67d/7f1001fc-efe2-4abc-8cb4-72a2f9cc0cd4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200930T063951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87e03e071517b16591caeeeeb6b92c2d563e570cd07c8f501ef77d1ebb8df160 06:39:51 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:51 Dload Upload Total Spent Left Speed 06:39:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18383 0 0 100 18383 0 48573 --:--:-- --:--:-- --:--:-- 48632 06:39:52 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/aac36b3916e75134e0bc274a629980a5801eb67d [Pipeline] } 06:39:52 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:39:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:39:56 ---> package-listing.sh 06:39:56 ++ tr '[:upper:]' '[:lower:]' 06:39:56 ++ facter osfamily 06:39:56 + OS_FAMILY=redhat 06:39:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 06:39:56 + START_PACKAGES=/tmp/packages_start.txt 06:39:56 + END_PACKAGES=/tmp/packages_end.txt 06:39:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:39:56 + PACKAGES=/tmp/packages_start.txt 06:39:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 06:39:56 + PACKAGES=/tmp/packages_end.txt 06:39:56 + case "${OS_FAMILY}" in 06:39:56 + rpm -qa 06:39:56 + sort 06:40:01 + '[' -f /tmp/packages_start.txt ']' 06:40:01 + '[' -f /tmp/packages_end.txt ']' 06:40:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:40:01 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 06:40:01 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 06:40:01 + 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 06:40:01 provisioning config files... 06:40:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config6678232492483641686tmp [Pipeline] { [Pipeline] echo 06:40:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:40:02 ---> create-netrc.sh [Pipeline] } 06:40:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:40:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:40:02 ---> python-tools-install.sh 06:40:02 Generating Requirements File 06:41:24 Python 3.6.8 06:41:24 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:41:24 aiohttp==3.6.2 06:41:24 appdirs==1.4.3 06:41:24 argcomplete==1.12.1 06:41:24 aspy.yaml==1.3.0 06:41:24 async-timeout==3.0.1 06:41:24 attrs==19.3.0 06:41:24 Babel==2.8.0 06:41:24 beautifulsoup4==4.8.2 06:41:24 boto3==1.11.6 06:41:24 botocore==1.14.6 06:41:24 bs4==0.0.1 06:41:24 cachetools==4.1.1 06:41:24 certifi==2019.11.28 06:41:24 cffi==1.14.3 06:41:24 cfgv==2.0.1 06:41:24 chardet==3.0.4 06:41:24 click==7.1 06:41:24 cliff==3.4.0 06:41:24 cmd2==1.3.10 06:41:24 colorama==0.4.3 06:41:24 cryptography==3.1.1 06:41:24 debtcollector==2.2.0 06:41:24 decorator==4.4.2 06:41:24 defusedxml==0.6.0 06:41:24 Deprecated==1.2.7 06:41:24 distlib==0.3.1 06:41:24 distro==1.2.0 06:41:24 dnspython==1.16.0 06:41:24 docker==4.2.0 06:41:24 docutils==0.15.2 06:41:24 dogpile.cache==1.0.2 06:41:24 email-validator==1.0.5 06:41:24 filelock==3.0.12 06:41:24 future==0.18.2 06:41:24 google-auth==1.22.0 06:41:24 httplib2==0.17.0 06:41:24 identify==1.4.11 06:41:24 idna==2.9 06:41:24 idna-ssl==1.1.0 06:41:24 importlib-metadata==1.7.0 06:41:24 importlib-resources==1.5.0 06:41:24 iso8601==0.1.13 06:41:24 Jinja2==2.11.1 06:41:24 jmespath==0.10.0 06:41:24 jsonpatch==1.26 06:41:24 jsonpointer==2.0 06:41:24 jsonschema==3.2.0 06:41:24 keystoneauth1==4.2.1 06:41:24 kubernetes==11.0.0 06:41:24 lftools==0.34.2 06:41:24 lxml==4.5.0 06:41:24 MarkupSafe==0.23 06:41:24 msgpack==1.0.0 06:41:24 multi-key-dict==2.0.3 06:41:24 multidict==4.7.6 06:41:24 munch==2.5.0 06:41:24 netaddr==0.8.0 06:41:24 netifaces==0.10.9 06:41:24 niet==1.4.2 06:41:24 nodeenv==1.3.5 06:41:24 oauth2client==4.1.3 06:41:24 oauthlib==3.1.0 06:41:24 openstacksdk==0.50.0 06:41:24 os-client-config==2.1.0 06:41:24 os-service-types==1.7.0 06:41:24 osc-lib==2.2.1 06:41:24 oslo.config==8.3.2 06:41:24 oslo.context==3.1.1 06:41:24 oslo.i18n==5.0.1 06:41:24 oslo.log==4.4.0 06:41:24 oslo.serialization==4.0.1 06:41:24 oslo.utils==4.6.0 06:41:24 packaging==20.4 06:41:24 pbr==5.4.4 06:41:24 pluggy==0.13.1 06:41:24 prettytable==0.7.2 06:41:24 py==1.9.0 06:41:24 pyasn1==0.4.8 06:41:24 pyasn1-modules==0.2.8 06:41:24 pycparser==2.20 06:41:24 pygerrit2==2.0.10 06:41:24 PyGithub==1.46 06:41:24 pyinotify==0.9.6 06:41:24 PyJWT==1.7.1 06:41:24 pyparsing==2.4.7 06:41:24 pyperclip==1.8.0 06:41:24 pyroute2==0.4.13 06:41:24 pyrsistent==0.15.7 06:41:24 PySocks==1.6.8 06:41:24 python-cinderclient==7.2.0 06:41:24 python-dateutil==2.8.1 06:41:24 python-heatclient==2.2.1 06:41:24 python-jenkins==1.7.0 06:41:24 python-keystoneclient==4.1.1 06:41:24 python-magnumclient==3.2.1 06:41:24 python-novaclient==17.2.1 06:41:24 python-openstackclient==5.3.1 06:41:24 python-swiftclient==3.10.1 06:41:24 pytz==2020.1 06:41:24 PyYAML==5.3 06:41:24 requests==2.23.0 06:41:24 requests-oauthlib==1.3.0 06:41:24 requestsexceptions==1.4.0 06:41:24 rfc3986==1.4.0 06:41:24 rpm==4.11.3 06:41:24 rsa==4.0 06:41:24 ruamel.yaml==0.16.10 06:41:24 ruamel.yaml.clib==0.2.0 06:41:24 s3transfer==0.3.3 06:41:24 shade==1.27.2 06:41:24 simplejson==3.17.2 06:41:24 six==1.14.0 06:41:24 soupsieve==2.0 06:41:24 stevedore==3.2.2 06:41:24 tabulate==0.8.6 06:41:24 toml==0.10.0 06:41:24 tox==3.20.0 06:41:24 tqdm==4.43.0 06:41:24 typing-extensions==3.7.4.3 06:41:24 urllib3==1.25.8 06:41:24 virtualenv==20.0.31 06:41:24 wcwidth==0.2.5 06:41:24 websocket-client==0.57.0 06:41:24 wrapt==1.12.1 06:41:24 xdg==3.0.2 06:41:24 xmltodict==0.12.0 06:41:24 yarl==1.6.0 06:41:24 yq==2.11.1 06:41:24 zipp==3.2.0 06:41:24 Cache entry deserialization failed, entry ignored 06:41:24 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:41:24 Python 2.7.5 06:41:24 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:41:24 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:41:24 ansible==2.9.7 06:41:24 Babel==0.9.6 06:41:24 backports.ssl-match-hostname==3.5.0.1 06:41:24 beautifulsoup4==4.4.1 06:41:24 bodhi==2.11.0 06:41:24 bodhi-client==2.11.0 06:41:24 CCColUtils==1.4 06:41:24 cffi==1.6.0 06:41:24 chardet==2.2.1 06:41:24 click==6.7 06:41:24 cloud-init==18.5 06:41:24 configobj==4.7.2 06:41:24 cryptography==1.7.2 06:41:24 decorator==3.4.0 06:41:24 distro==1.2.0 06:41:24 enum34==1.0.4 06:41:24 fedpkg==1.38 06:41:24 futures==3.1.1 06:41:24 gitdb==0.6.4 06:41:24 GitPython==1.0.1 06:41:24 html5lib==0.999 06:41:24 httplib2==0.9.2 06:41:24 idna==2.4 06:41:24 iniparse==0.4 06:41:24 ipaddress==1.0.16 06:41:24 IPy==0.75 06:41:24 javapackages==1.0.0 06:41:24 Jinja2==2.7.2 06:41:24 jmespath==0.9.4 06:41:24 jsonpatch==1.2 06:41:24 jsonpointer==1.9 06:41:24 kerberos==1.1 06:41:24 kitchen==1.1.1 06:41:24 langtable==0.0.31 06:41:24 lockfile==0.9.1 06:41:24 lxml==3.2.1 06:41:24 MarkupSafe==0.11 06:41:24 munch==2.0.2 06:41:24 offtrac==0.1.0 06:41:24 openidc-client==0.6.0 06:41:24 packagedb-cli==2.14.1 06:41:24 paramiko==2.1.1 06:41:24 perf==0.1 06:41:24 ply==3.4 06:41:24 policycoreutils-default-encoding==0.1 06:41:24 prettytable==0.7.2 06:41:24 pyasn1==0.1.9 06:41:24 pycparser==2.14 06:41:24 pycurl==7.19.0 06:41:24 pygobject==3.22.0 06:41:24 pygpgme==0.3 06:41:24 pyliblzma==0.5.3 06:41:24 pyOpenSSL==0.13.1 06:41:24 pyparsing==1.5.6 06:41:24 pyserial==2.6 06:41:24 python-augeas==0.5.0 06:41:24 python-bugzilla==2.3.0 06:41:24 python-dateutil==1.5 06:41:24 python-fedora==0.10.0 06:41:24 python-linux-procfs==0.4.9 06:41:24 python-yubico==1.2.3 06:41:24 pyudev==0.15 06:41:24 pyusb==1.0.0b1 06:41:24 pyxattr==0.5.1 06:41:24 PyYAML==3.10 06:41:24 requests==2.6.0 06:41:24 requests-kerberos==0.7.0 06:41:24 rpkg==1.60 06:41:24 schedutils==0.4 06:41:24 seobject==0.1 06:41:24 sepolicy==1.1 06:41:24 six==1.9.0 06:41:24 smmap==0.9.0 06:41:24 urlgrabber==3.10 06:41:24 urllib3==1.10.2 06:41:24 virtualenv==15.1.0 06:41:24 yum-langpacks==0.4.2 06:41:24 yum-metadata-parser==1.1.4 [Pipeline] echo 06:41:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:41:24 ---> sudo-logs.sh 06:41:24 Archiving 'sudo' log.. [Pipeline] echo 06:41:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:41:25 ---> job-cost.sh 06:41:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-e46L 06:41:35 Cache entry deserialization failed, entry ignored 06:41:35 Cache entry deserialization failed, entry ignored 06:41:35 Cache entry deserialization failed, entry ignored 06:41:35 Cache entry deserialization failed, entry ignored 06:41:35 Cache entry deserialization failed, entry ignored 06:41:35 Cache entry deserialization failed, entry ignored 06:41:35 Cache entry deserialization failed, entry ignored 06:41:35 Cache entry deserialization failed, entry ignored 06:41:35 Cache entry deserialization failed, entry ignored 06:41:36 Cache entry deserialization failed, entry ignored 06:41:36 Cache entry deserialization failed, entry ignored 06:41:36 Cache entry deserialization failed, entry ignored 06:41:36 Cache entry deserialization failed, entry ignored 06:41:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:42:08 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:42:08 06:42:08 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 06:42:08 06:42:08 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:42:08 lf-activate-venv(): INFO: Adding /tmp/venv-e46L/bin to PATH 06:42:08 INFO: No Stack... 06:42:08 INFO: Retrieving Pricing Info for: v1-standard-2 06:42:09 INFO: Archiving Costs [Pipeline] echo 06:42:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:42:09 ---> logs-deploy.sh 06:42:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/11 06:42:09 INFO: archiving workspace using pattern(s): 06:42:10 Archives upload complete. 06:42:11 INFO: archiving logs to Nexus