Pull request #605 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7362c5a394dc75f394f886bec3dc4856d1c01bde+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (908e6785ec233a9c570594724cc748cb76baeea7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5373 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 7362c5a394dc75f394f886bec3dc4856d1c01bde > 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7362c5a394dc75f394f886bec3dc4856d1c01bde # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 7362c5a394dc75f394f886bec3dc4856d1c01bde Checking out Revision 7362c5a394dc75f394f886bec3dc4856d1c01bde (PR-605) > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7362c5a394dc75f394f886bec3dc4856d1c01bde # timeout=10 Commit message: "feat(sdk): delete unused profile in callback" > git rev-list --no-walk 454e627786fe47feacdf0b88105356060870c5cb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:38:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:38:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:38:55 ========================================================= 09:38:55 EdgeX Global Pipelines Version Info 09:38:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:38:57 ------------------- 09:38:57 stable info: 09:38:57 ------------------- 09:38:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:38:57 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 09:38:57 Message: update stable to v1.0.131 09:38:57 ------------------- 09:38:57 experimental info: 09:38:57 ------------------- 09:38:57 Commited By: **** collab-it+edgex@linuxfoundation.org 09:38:57 Commit SHA: a2275391807e67b7600a554c2b5f26031cb9c010 09:38:57 Message: update experimental to v1.0.141 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:38:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:38:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:38:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:38:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:38:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:38:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:38:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:38:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:38:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:39:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:39:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:39:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:39:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:39:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:39:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:39:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:39:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo 09:39:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo 09:39:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo 09:39:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7362c5a394dc75f394f886bec3dc4856d1c01bde [Pipeline] echo 09:39:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7362c5a [Pipeline] echo 09:39:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:39:02 + git log --format=format:%s -1 7362c5a394dc75f394f886bec3dc4856d1c01bde [Pipeline] echo 09:39:02 GIT_COMMIT: 7362c5a394dc75f394f886bec3dc4856d1c01bde, Commit Message: feat(sdk): delete unused profile in callback [Pipeline] echo 09:39:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:39:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:39:03 09:39:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:39:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:39:03 latest: Pulling from edgex-devops/git-semver 09:39:03 31603596830f: Pulling fs layer 09:39:03 2a8b12db71e7: Pulling fs layer 09:39:03 6ca5941a6612: Pulling fs layer 09:39:03 ecc8261a40a4: Pulling fs layer 09:39:03 ecc8261a40a4: Waiting 09:39:03 2a8b12db71e7: Download complete 09:39:04 31603596830f: Verifying Checksum 09:39:04 31603596830f: Download complete 09:39:04 ecc8261a40a4: Verifying Checksum 09:39:04 ecc8261a40a4: Download complete 09:39:04 6ca5941a6612: Verifying Checksum 09:39:04 6ca5941a6612: Download complete 09:39:04 31603596830f: Pull complete 09:39:04 2a8b12db71e7: Pull complete 09:39:05 6ca5941a6612: Pull complete 09:39:05 ecc8261a40a4: Pull complete 09:39:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:39:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:39:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:39:05 prd-centos7-docker-4c-2g-5373 does not seem to be running inside a container 09:39:05 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:39:07 $ docker top 9008ba872df6e8b95839095bd9447a883b508b46f61090150fdc0ea1b87f4553 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:39:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:39:07 [ssh-agent] Looking for ssh-agent implementation... 09:39:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:39:08 $ docker exec 9008ba872df6e8b95839095bd9447a883b508b46f61090150fdc0ea1b87f4553 ssh-agent 09:39:08 SSH_AUTH_SOCK=/tmp/ssh-RXecRWTQ5a9K/agent.11 09:39:08 SSH_AGENT_PID=16 09:39:08 Running ssh-add (command line suppressed) 09:39:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_1208102481437507403.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_1208102481437507403.key) 09:39:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:39:08 + git describe --exact-match --tags HEAD 09:39:08 fatal: no tag exactly matches '7362c5a394dc75f394f886bec3dc4856d1c01bde' [Pipeline] } 09:39:08 $ docker exec --env ******** --env ******** 9008ba872df6e8b95839095bd9447a883b508b46f61090150fdc0ea1b87f4553 ssh-agent -k 09:39:08 unset SSH_AUTH_SOCK; 09:39:08 unset SSH_AGENT_PID; 09:39:08 echo Agent pid 16 killed; 09:39:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:39:09 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:39:09 This usually means this commit has not been tagged. [Pipeline] sshagent 09:39:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:39:09 [ssh-agent] Looking for ssh-agent implementation... 09:39:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:39:09 $ docker exec 9008ba872df6e8b95839095bd9447a883b508b46f61090150fdc0ea1b87f4553 ssh-agent 09:39:09 SSH_AUTH_SOCK=/tmp/ssh-kEsEE4h3T7d4/agent.44 09:39:09 SSH_AGENT_PID=49 09:39:09 Running ssh-add (command line suppressed) 09:39:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_7765853438459909526.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_7765853438459909526.key) 09:39:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:39:10 + git semver init 09:39:10 # -> Open(): unable to determine branch for HEAD 09:39:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git 09:39:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 09:39:10 # $SEMVER_REMOTE_NAME = origin 09:39:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:39:10 # $SEMVER_USER_NAME = edgex-jenkins 09:39:10 # $SEMVER_BRANCH = PR-605 09:39:10 # $SEMVER_TEMP = /tmp/semver-704980715 09:39:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:39:10 # '/tmp/semver-704980715' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' 09:39:10 # -> Force: false 09:39:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } 09:39:10 $ docker exec --env ******** --env ******** 9008ba872df6e8b95839095bd9447a883b508b46f61090150fdc0ea1b87f4553 ssh-agent -k 09:39:10 unset SSH_AUTH_SOCK; 09:39:10 unset SSH_AGENT_PID; 09:39:10 echo Agent pid 49 killed; 09:39:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:39:11 + git semver [Pipeline] } 09:39:11 $ docker stop --time=1 9008ba872df6e8b95839095bd9447a883b508b46f61090150fdc0ea1b87f4553 09:39:12 $ docker rm -f 9008ba872df6e8b95839095bd9447a883b508b46f61090150fdc0ea1b87f4553 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:39:13 Stashed 49 file(s) [Pipeline] echo 09:39:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 09:39:13 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 09:39:29 Still waiting to schedule task 09:39:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:39:29 Still waiting to schedule task 09:39:29 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:43:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5375 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 09:43:07 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 09:43:12 using credential edgex-jenkins-ssh 09:43:12 Cloning the remote Git repository 09:43:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:43:12 > git init /w/workspace/device-sdk-go/13 # timeout=10 09:43:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:43:12 > git --version # timeout=10 09:43:12 > git --version # 'git version 2.17.1' 09:43:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:14 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 7362c5a394dc75f394f886bec3dc4856d1c01bde 09:43:14 Merge succeeded, producing 7362c5a394dc75f394f886bec3dc4856d1c01bde 09:43:14 Checking out Revision 7362c5a394dc75f394f886bec3dc4856d1c01bde (PR-605) 09:43:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:43:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:43:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:43:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:43:14 > git config core.sparsecheckout # timeout=10 09:43:14 > git checkout -f 7362c5a394dc75f394f886bec3dc4856d1c01bde # timeout=10 09:43:14 > git remote # timeout=10 09:43:14 > git config --get remote.origin.url # timeout=10 09:43:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:14 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 09:43:14 > git rev-parse HEAD^{commit} # timeout=10 09:43:14 > git config core.sparsecheckout # timeout=10 09:43:14 > git checkout -f 7362c5a394dc75f394f886bec3dc4856d1c01bde # timeout=10 09:43:19 Commit message: "feat(sdk): delete unused profile in callback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:43:20 ========================================================= 09:43:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:43:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:43:22 + 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 . 09:43:23 Sending build context to Docker daemon 3.653MB 09:43:23 Step 1/8 : ARG BASE=golang:1.15-alpine 09:43:23 Step 2/8 : FROM ${BASE} 09:43:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:43:23 b538f80385f9: Pulling fs layer 09:43:23 74f711af9a0d: Pulling fs layer 09:43:23 99f96fe45779: Pulling fs layer 09:43:23 8529a6b9a6be: Pulling fs layer 09:43:23 45590311c82a: Pulling fs layer 09:43:23 69ca0ff8b7b3: Pulling fs layer 09:43:23 209524e5b208: Pulling fs layer 09:43:23 45590311c82a: Waiting 09:43:23 69ca0ff8b7b3: Waiting 09:43:23 209524e5b208: Waiting 09:43:23 8529a6b9a6be: Waiting 09:43:23 99f96fe45779: Verifying Checksum 09:43:23 99f96fe45779: Download complete 09:43:23 74f711af9a0d: Verifying Checksum 09:43:23 74f711af9a0d: Download complete 09:43:23 45590311c82a: Download complete 09:43:23 69ca0ff8b7b3: Verifying Checksum 09:43:23 69ca0ff8b7b3: Download complete 09:43:23 b538f80385f9: Verifying Checksum 09:43:23 b538f80385f9: Download complete 09:43:24 b538f80385f9: Pull complete 09:43:24 74f711af9a0d: Pull complete 09:43:25 99f96fe45779: Pull complete 09:43:26 209524e5b208: Verifying Checksum 09:43:26 209524e5b208: Download complete 09:43:27 Running on prd-centos7-docker-4c-2g-5374 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 09:43:27 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 09:43:27 8529a6b9a6be: Verifying Checksum 09:43:27 8529a6b9a6be: Download complete 09:43:34 using credential edgex-jenkins-ssh 09:43:34 Cloning the remote Git repository 09:43:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:43:34 > git init /w/workspace/device-sdk-go/13 # timeout=10 09:43:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:43:35 > git --version # timeout=10 09:43:35 > git --version # 'git version 2.16.5' 09:43:35 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:36 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 7362c5a394dc75f394f886bec3dc4856d1c01bde 09:43:37 Merge succeeded, producing 7362c5a394dc75f394f886bec3dc4856d1c01bde 09:43:37 Checking out Revision 7362c5a394dc75f394f886bec3dc4856d1c01bde (PR-605) 09:43:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:43:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:43:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:43:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:43:36 > git config core.sparsecheckout # timeout=10 09:43:36 > git checkout -f 7362c5a394dc75f394f886bec3dc4856d1c01bde # timeout=10 09:43:37 > git remote # timeout=10 09:43:37 > git config --get remote.origin.url # timeout=10 09:43:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:37 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 09:43:37 > git rev-parse HEAD^{commit} # timeout=10 09:43:37 > git config core.sparsecheckout # timeout=10 09:43:37 > git checkout -f 7362c5a394dc75f394f886bec3dc4856d1c01bde # timeout=10 09:43:37 8529a6b9a6be: Pull complete 09:43:37 45590311c82a: Pull complete 09:43:38 69ca0ff8b7b3: Pull complete 09:43:41 Commit message: "feat(sdk): delete unused profile in callback" [Pipeline] withEnv [Pipeline] { 09:43:42 209524e5b208: Pull complete 09:43:42 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:43:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:43:42 ---> 5bddaf1c2fca 09:43:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:43:43 ========================================================= 09:43:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:43:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:43:44 + 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 . 09:43:45 ---> Running in fe4491c260d1 09:43:45 Removing intermediate container fe4491c260d1 09:43:45 ---> b06ca23064fd 09:43:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:43:45 ---> Running in 5e69e8baa8d7 09:43:45 Sending build context to Docker daemon 3.655MB 09:43:45 Step 1/8 : ARG BASE=golang:1.15-alpine 09:43:45 Step 2/8 : FROM ${BASE} 09:43:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:43:45 df20fa9351a1: Pulling fs layer 09:43:45 ed8968b2872e: Pulling fs layer 09:43:45 a92cc7c5fd73: Pulling fs layer 09:43:45 e871e8e8d7a9: Pulling fs layer 09:43:45 e73272ec9a57: Pulling fs layer 09:43:45 1e910a182e73: Pulling fs layer 09:43:45 4e634b169226: Pulling fs layer 09:43:45 e871e8e8d7a9: Waiting 09:43:45 1e910a182e73: Waiting 09:43:45 4e634b169226: Waiting 09:43:45 e73272ec9a57: Waiting 09:43:45 a92cc7c5fd73: Verifying Checksum 09:43:45 a92cc7c5fd73: Download complete 09:43:45 ed8968b2872e: Verifying Checksum 09:43:45 ed8968b2872e: Download complete 09:43:45 e73272ec9a57: Verifying Checksum 09:43:45 e73272ec9a57: Download complete 09:43:45 1e910a182e73: Verifying Checksum 09:43:45 1e910a182e73: Download complete 09:43:45 df20fa9351a1: Download complete 09:43:46 df20fa9351a1: Pull complete 09:43:46 ed8968b2872e: Pull complete 09:43:47 a92cc7c5fd73: Pull complete 09:43:47 Removing intermediate container 5e69e8baa8d7 09:43:47 ---> ab2318a082e7 09:43:47 Step 5/8 : RUN apk add --no-cache make git 09:43:47 ---> Running in a820857846d0 09:43:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:43:49 4e634b169226: Verifying Checksum 09:43:49 4e634b169226: Download complete 09:43:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:43:50 OK: 142 MiB in 39 packages 09:43:50 e871e8e8d7a9: Verifying Checksum 09:43:50 e871e8e8d7a9: Download complete 09:43:52 Removing intermediate container a820857846d0 09:43:52 ---> 97f7512cb4ca 09:43:52 Step 6/8 : WORKDIR /device-sdk-go 09:43:52 ---> Running in 60b95167b37a 09:43:52 Removing intermediate container 60b95167b37a 09:43:52 ---> 4f6f7fb8b496 09:43:52 Step 7/8 : COPY . . 09:43:54 ---> 5abc6b40f2d1 09:43:54 Step 8/8 : RUN go mod download 09:43:54 ---> Running in 6c9e8a831cce 09:43:59 e871e8e8d7a9: Pull complete 09:43:59 e73272ec9a57: Pull complete 09:43:59 1e910a182e73: Pull complete 09:44:05 4e634b169226: Pull complete 09:44:05 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:44:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:44:05 ---> f7629b54cfaa 09:44:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:44:05 ---> Running in ee4029fe741b 09:44:05 Removing intermediate container ee4029fe741b 09:44:05 ---> 19580bac8a02 09:44:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:44:05 ---> Running in 85bec08dd72a 09:44:07 Removing intermediate container 85bec08dd72a 09:44:07 ---> 0abeb9a508f6 09:44:07 Step 5/8 : RUN apk add --no-cache make git 09:44:07 ---> Running in 3438c9759764 09:44:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:44:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:44:09 OK: 166 MiB in 39 packages 09:44:10 Removing intermediate container 3438c9759764 09:44:10 ---> 0a53f77d70d4 09:44:10 Step 6/8 : WORKDIR /device-sdk-go 09:44:10 ---> Running in 1ec564ea7093 09:44:10 Removing intermediate container 1ec564ea7093 09:44:10 ---> 1737f87370f5 09:44:10 Step 7/8 : COPY . . 09:44:11 ---> 02eb0b1ac208 09:44:11 Step 8/8 : RUN go mod download 09:44:11 ---> Running in dcbd5a369c4d 09:44:16 Removing intermediate container 6c9e8a831cce 09:44:16 ---> 0222befb3894 09:44:16 Successfully built 0222befb3894 09:44:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:44:17 + docker inspect -f . ci-base-image-arm64 09:44:17 . [Pipeline] withDockerContainer 09:44:17 prd-ubuntu18.04-docker-arm64-4c-16g-5375 does not seem to be running inside a container 09:44:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:44:19 $ docker top f15b38ca20e5f1b6f4192e0928d0b493fbfbc8790b49430b66d442301d4f5634 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:20 + go version 09:44:20 go version go1.15.2 linux/arm64 [Pipeline] } 09:44:20 $ docker stop --time=1 f15b38ca20e5f1b6f4192e0928d0b493fbfbc8790b49430b66d442301d4f5634 09:44:22 $ docker rm -f f15b38ca20e5f1b6f4192e0928d0b493fbfbc8790b49430b66d442301d4f5634 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:44:23 + docker inspect -f . ci-base-image-arm64 09:44:23 . [Pipeline] withDockerContainer 09:44:24 prd-ubuntu18.04-docker-arm64-4c-16g-5375 does not seem to be running inside a container 09:44:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:44:26 $ docker top cbbe85239e389baab643b1ac3fbcbd8000b52841337c64a0574a73a6b9407447 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:27 + make test 09:44:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:44:34 Removing intermediate container dcbd5a369c4d 09:44:34 ---> 46f74aedd3c8 09:44:34 Successfully built 46f74aedd3c8 09:44:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:44:34 + docker inspect -f . ci-base-image-x86_64 09:44:34 . [Pipeline] withDockerContainer 09:44:34 prd-centos7-docker-4c-2g-5374 does not seem to be running inside a container 09:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:44:36 $ docker top 34e5469a05c4085eccc56df82c2767b1b341b60dd9165af985c910880ccbc04f -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:37 + go version 09:44:37 go version go1.15.2 linux/amd64 [Pipeline] } 09:44:37 $ docker stop --time=1 34e5469a05c4085eccc56df82c2767b1b341b60dd9165af985c910880ccbc04f 09:44:38 $ docker rm -f 34e5469a05c4085eccc56df82c2767b1b341b60dd9165af985c910880ccbc04f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:44:39 + docker inspect -f . ci-base-image-x86_64 09:44:39 . [Pipeline] withDockerContainer 09:44:39 prd-centos7-docker-4c-2g-5374 does not seem to be running inside a container 09:44:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:44:41 $ docker top 9e32947532159a8e1eae9adbe9a3e8d13154885793342bdcdeee96edd964a87f -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:41 + make test 09:44:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:44:49 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:44:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:45:22 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:45:22 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:45:22 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:45:22 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.150s coverage: 21.6% of statements 09:45:22 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.799s coverage: 97.1% of statements 09:45:28 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:45:28 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:45:28 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:45:28 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.146s coverage: 21.6% of statements 09:45:29 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.294s coverage: 97.1% of statements 09:45:54 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.129s coverage: 9.4% of statements 09:45:54 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.097s coverage: 21.9% of statements 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:45:54 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.307s coverage: 41.5% of statements 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:45:54 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.428s coverage: 68.9% of statements 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:45:54 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.117s coverage: 52.6% of statements 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:45:54 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.478s coverage: 68.9% of statements 09:45:54 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:45:54 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:45:54 GO111MODULE=on go vet ./... 09:46:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.156s coverage: 9.4% of statements 09:46:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.9% of statements 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:46:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.573s coverage: 41.5% of statements 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:46:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.785s coverage: 68.9% of statements 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:46:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.166s coverage: 52.6% of statements 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:46:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:46:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.633s coverage: 68.9% of statements 09:46:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:46:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:46:02 GO111MODULE=on go vet ./... 09:46:07 gofmt -l . 09:46:07 [ "`gofmt -l .`" = "" ] 09:46:07 ./bin/test-attribution-txt.sh 09:46:08 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:46:09 Stashed 1 file(s) [Pipeline] } 09:46:09 $ docker stop --time=1 9e32947532159a8e1eae9adbe9a3e8d13154885793342bdcdeee96edd964a87f 09:46:11 $ docker rm -f 9e32947532159a8e1eae9adbe9a3e8d13154885793342bdcdeee96edd964a87f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:46:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:46:15 + ls -al . 09:46:15 total 188 09:46:15 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 14 09:46 . 09:46:15 drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 09:43 .. 09:46:15 drwxrwxr-x. 2 jenkins jenkins 64 Oct 14 09:43 bin 09:46:15 -rw-r--r--. 1 jenkins jenkins 110397 Oct 14 09:45 coverage.out 09:46:15 -rw-rw-r--. 1 jenkins jenkins 936 Oct 14 09:43 Dockerfile.build 09:46:15 -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 09:43 .dockerignore 09:46:15 drwxrwxr-x. 4 jenkins jenkins 48 Oct 14 09:43 example 09:46:15 drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 09:43 .git 09:46:15 drwxrwxr-x. 2 jenkins jenkins 60 Oct 14 09:43 .github 09:46:15 -rw-rw-r--. 1 jenkins jenkins 138 Oct 14 09:43 .gitignore 09:46:15 -rw-r--r--. 1 jenkins jenkins 517 Oct 14 09:46 go.mod 09:46:15 -rw-r--r--. 1 jenkins jenkins 13652 Oct 14 09:46 go.sum 09:46:15 drwxrwxr-x. 15 jenkins jenkins 211 Oct 14 09:43 internal 09:46:15 -rw-rw-r--. 1 jenkins jenkins 901 Oct 14 09:43 Jenkinsfile 09:46:15 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 09:43 LICENSE 09:46:15 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 14 09:43 Makefile 09:46:15 drwxrwxr-x. 4 jenkins jenkins 26 Oct 14 09:43 openapi 09:46:15 drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 09:43 pkg 09:46:15 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 14 09:43 README.md 09:46:15 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 14 09:43 RELEASE-NOTES.txt 09:46:15 drwxrwxr-x. 3 jenkins jenkins 58 Oct 14 09:43 .semver 09:46:15 drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 09:43 snap 09:46:15 -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 09:39 VERSION 09:46:15 -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 09:43 version.go [Pipeline] isUnix [Pipeline] sh 09:46:15 + 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=7362c5a394dc75f394f886bec3dc4856d1c01bde --label arch=amd64 --label version=0.0.0 . 09:46:16 Sending build context to Docker daemon 3.766MB 09:46:16 Step 1/24 : ARG BASE=golang:1.15-alpine 09:46:16 Step 2/24 : FROM ${BASE} AS builder 09:46:16 ---> 46f74aedd3c8 09:46:16 Step 3/24 : ARG MAKE='make build' 09:46:17 ---> Running in bd76087e3185 09:46:17 Removing intermediate container bd76087e3185 09:46:17 ---> b29210b3d102 09:46:17 Step 4/24 : WORKDIR /device-sdk-go 09:46:17 ---> Running in 9180703797ba 09:46:17 Removing intermediate container 9180703797ba 09:46:17 ---> c430d8600ef2 09:46:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:46:17 ---> Running in b4c53a4aafbc 09:46:17 Removing intermediate container b4c53a4aafbc 09:46:17 ---> b9a76fd4b2f2 09:46:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:46:17 ---> Running in b8b757488224 09:46:19 Removing intermediate container b8b757488224 09:46:19 ---> da580866b320 09:46:19 Step 7/24 : RUN apk add --update --no-cache make git 09:46:19 ---> Running in aab65ef9dbb1 09:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:46:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:46:20 OK: 166 MiB in 39 packages 09:46:21 Removing intermediate container aab65ef9dbb1 09:46:21 ---> 4f710f3bf62b 09:46:21 Step 8/24 : COPY . . 09:46:23 ---> 560017a902b9 09:46:23 Step 9/24 : RUN ${MAKE} 09:46:23 ---> Running in 8e7036c4fead 09:46:23 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 09:46:28 gofmt -l . 09:46:28 [ "`gofmt -l .`" = "" ] 09:46:28 ./bin/test-attribution-txt.sh 09:46:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:46:30 Warning: overwriting stash ‘coverage-report’ 09:46:31 Stashed 1 file(s) [Pipeline] } 09:46:31 $ docker stop --time=1 cbbe85239e389baab643b1ac3fbcbd8000b52841337c64a0574a73a6b9407447 09:46:33 $ docker rm -f cbbe85239e389baab643b1ac3fbcbd8000b52841337c64a0574a73a6b9407447 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:46:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:46:35 + ls -al . 09:46:35 total 228 09:46:35 drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 09:46 . 09:46:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 09:43 .. 09:46:35 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 09:43 .dockerignore 09:46:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 09:43 .git 09:46:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 09:43 .github 09:46:35 -rw-rw-r-- 1 jenkins jenkins 138 Oct 14 09:43 .gitignore 09:46:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 09:43 .semver 09:46:35 -rw-rw-r-- 1 jenkins jenkins 936 Oct 14 09:43 Dockerfile.build 09:46:35 -rw-rw-r-- 1 jenkins jenkins 901 Oct 14 09:43 Jenkinsfile 09:46:35 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 09:43 LICENSE 09:46:35 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 14 09:43 Makefile 09:46:35 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 14 09:43 README.md 09:46:35 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 14 09:43 RELEASE-NOTES.txt 09:46:35 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 09:39 VERSION 09:46:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 09:43 bin 09:46:35 -rw-r--r-- 1 jenkins jenkins 110397 Oct 14 09:45 coverage.out 09:46:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 09:43 example 09:46:35 -rw-r--r-- 1 jenkins jenkins 517 Oct 14 09:46 go.mod 09:46:35 -rw-r--r-- 1 jenkins jenkins 13652 Oct 14 09:46 go.sum 09:46:35 drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 09:43 internal 09:46:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 09:43 openapi 09:46:35 drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 09:43 pkg 09:46:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 09:43 snap 09:46:35 -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 09:43 version.go [Pipeline] isUnix [Pipeline] sh 09:46:35 + 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=7362c5a394dc75f394f886bec3dc4856d1c01bde --label arch=arm64 --label version=0.0.0 . 09:46:36 Sending build context to Docker daemon 3.764MB 09:46:36 Step 1/24 : ARG BASE=golang:1.15-alpine 09:46:36 Step 2/24 : FROM ${BASE} AS builder 09:46:36 ---> 0222befb3894 09:46:36 Step 3/24 : ARG MAKE='make build' 09:46:36 ---> Running in c3891711737c 09:46:36 Removing intermediate container c3891711737c 09:46:36 ---> 6ff1f956be35 09:46:36 Step 4/24 : WORKDIR /device-sdk-go 09:46:37 ---> Running in 7f50f04e8265 09:46:37 Removing intermediate container 7f50f04e8265 09:46:37 ---> 587222cc11f4 09:46:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:46:37 ---> Running in 372547a714bb 09:46:38 Removing intermediate container 372547a714bb 09:46:38 ---> 696cb3d4dbd2 09:46:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:46:38 ---> Running in 81982b8ea882 09:46:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:46:39 Removing intermediate container 8e7036c4fead 09:46:39 ---> f972aa3995f2 09:46:39 Step 10/24 : FROM scratch 09:46:39 ---> 09:46:39 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:46:40 ---> Running in 61fedb590121 09:46:40 Removing intermediate container 61fedb590121 09:46:40 ---> 991fef8cb187 09:46:40 Step 12/24 : ENV APP_PORT=49990 09:46:40 ---> Running in 7ab845a657b7 09:46:40 Removing intermediate container 7ab845a657b7 09:46:40 ---> e55ea126a0b8 09:46:40 Step 13/24 : EXPOSE $APP_PORT 09:46:40 ---> Running in c196b45a84aa 09:46:40 Removing intermediate container c196b45a84aa 09:46:40 ---> ff600e5d4c90 09:46:40 Step 14/24 : WORKDIR / 09:46:40 ---> Running in c2df881682db 09:46:40 Removing intermediate container 81982b8ea882 09:46:40 ---> 50c2686cf2f1 09:46:40 Step 7/24 : RUN apk add --update --no-cache make git 09:46:40 ---> Running in d981fbe91190 09:46:41 Removing intermediate container c2df881682db 09:46:41 ---> 8ff63f9983af 09:46:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:46:42 ---> b797cda05cba 09:46:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:46:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:46:42 ---> 92f8e11a99bc 09:46:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:46:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:46:43 ---> 3c53e82032a5 09:46:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:46:43 ---> c59f7d582f2c 09:46:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:46:43 OK: 142 MiB in 39 packages 09:46:44 ---> e0d92e3a929e 09:46:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:46:44 ---> Running in aa6fcdc12c54 09:46:44 Removing intermediate container aa6fcdc12c54 09:46:44 ---> 465dcd5615bd 09:46:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:46:44 ---> Running in 40544a19dafc 09:46:44 Removing intermediate container 40544a19dafc 09:46:44 ---> b6e96c929cca 09:46:44 Step 22/24 : LABEL arch=amd64 09:46:44 ---> Running in 30ce17d25e18 09:46:44 Removing intermediate container d981fbe91190 09:46:44 ---> ae969161b1a2 09:46:44 Step 8/24 : COPY . . 09:46:44 Removing intermediate container 30ce17d25e18 09:46:44 ---> 79289710d7ec 09:46:44 Step 23/24 : LABEL git_sha=7362c5a394dc75f394f886bec3dc4856d1c01bde 09:46:44 ---> Running in 8828c42eaacc 09:46:45 Removing intermediate container 8828c42eaacc 09:46:45 ---> 339e0bfe569e 09:46:45 Step 24/24 : LABEL version=0.0.0 09:46:45 ---> Running in 5973375cdf05 09:46:45 Removing intermediate container 5973375cdf05 09:46:45 ---> c147632031b3 09:46:45 [Warning] One or more build-args [ARCH] were not consumed 09:46:45 Successfully built c147632031b3 09:46:45 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 09:46:46 ---> bd2eb1808dfc 09:46:46 Step 9/24 : RUN ${MAKE} [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:46:46 ---> Running in 54ea30bf8c41 09:46:48 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 09:47:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:47:14 Removing intermediate container 54ea30bf8c41 09:47:14 ---> d925ebc00b54 09:47:14 Step 10/24 : FROM scratch 09:47:14 ---> 09:47:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:47:14 ---> Running in 4fe062529f72 09:47:14 Removing intermediate container 4fe062529f72 09:47:14 ---> 276661ac1bc2 09:47:14 Step 12/24 : ENV APP_PORT=49990 09:47:14 ---> Running in 65344e8b7cd3 09:47:15 Removing intermediate container 65344e8b7cd3 09:47:15 ---> c8a08197b2eb 09:47:15 Step 13/24 : EXPOSE $APP_PORT 09:47:15 ---> Running in e3bb60063051 09:47:15 Removing intermediate container e3bb60063051 09:47:15 ---> ec7e9c3286ec 09:47:15 Step 14/24 : WORKDIR / 09:47:15 ---> Running in 87d659933ffb 09:47:16 Removing intermediate container 87d659933ffb 09:47:16 ---> 85a404531a8a 09:47:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:47:17 ---> 54403ce0f637 09:47:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:47:18 ---> 7d72ae635c61 09:47:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:47:18 ---> ac6da85b3225 09:47:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:47:19 ---> 33f778dcf065 09:47:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:47:20 ---> de0b2486b333 09:47:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:47:20 ---> Running in 70e4729c8f58 09:47:20 Removing intermediate container 70e4729c8f58 09:47:20 ---> f48f51760899 09:47:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:47:21 ---> Running in c9306e72b4e8 09:47:21 Removing intermediate container c9306e72b4e8 09:47:21 ---> e707aaa832a8 09:47:21 Step 22/24 : LABEL arch=arm64 09:47:21 ---> Running in 9702f9b2450d 09:47:21 Removing intermediate container 9702f9b2450d 09:47:21 ---> 10dab8dc051f 09:47:21 Step 23/24 : LABEL git_sha=7362c5a394dc75f394f886bec3dc4856d1c01bde 09:47:22 ---> Running in fb8a5d15e566 09:47:22 Removing intermediate container fb8a5d15e566 09:47:22 ---> c3629a79ae4f 09:47:22 Step 24/24 : LABEL version=0.0.0 09:47:22 ---> Running in 250c6ebe6387 09:47:22 Removing intermediate container 250c6ebe6387 09:47:22 ---> add3c5d7992a 09:47:22 [Warning] One or more build-args [ARCH] were not consumed 09:47:23 Successfully built add3c5d7992a 09:47:23 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 09:47:25 provisioning config files... 09:47:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config3766368955639251453tmp [Pipeline] { [Pipeline] sh 09:47:25 + set +x 09:47:25 + curl -s https://codecov.io/bash 09:47:25 + bash -s -- 09:47:26 09:47:26 _____ _ 09:47:26 / ____| | | 09:47:26 | | ___ __| | ___ ___ _____ __ 09:47:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:47:26 | |___| (_) | (_| | __/ (_| (_) \ V / 09:47:26 \_____\___/ \__,_|\___|\___\___/ \_/ 09:47:26 Bash-20201009-048fee3 09:47:26 09:47:26 09:47:26 ==> Jenkins CI detected. 09:47:26 project root: . 09:47:26 --> token set from env 09:47:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:47:26 ==> Running gcov in . (disable via -X gcov) 09:47:26 ==> Python coveragepy not found 09:47:26 ==> Searching for coverage reports in: 09:47:26 + . 09:47:26 -> Found 1 reports 09:47:26 ==> Detecting git/mercurial file structure 09:47:26 ==> Reading reports 09:47:26 + ./coverage.out bytes=110397 09:47:26 ==> Appending adjustments 09:47:26 https://docs.codecov.io/docs/fixing-reports 09:47:26 + Found adjustments 09:47:26 ==> Gzipping contents 09:47:26 ==> Uploading reports 09:47:26 url: https://codecov.io 09:47:26 query: branch=PR-605&commit=7362c5a394dc75f394f886bec3dc4856d1c01bde&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 09:47:26 -> Pinging Codecov 09:47:26 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-605&commit=7362c5a394dc75f394f886bec3dc4856d1c01bde&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 09:47:26 -> Uploading to 09:47:26 09:47:26 % Total % Received % Xferd Average Speed Time Time Time Current 09:47:26 Dload Upload Total Spent Left Speed 09:47:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 09:47:26 X> Failed to upload 09:47:26 ==> Uploading to Codecov 09:47:26 % Total % Received % Xferd Average Speed Time Time Time Current 09:47:26 Dload Upload Total Spent Left Speed 09:47:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18801 100 110 100 18691 230 39127 --:--:-- --:--:-- --:--:-- 39102 09:47:27 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7362c5a394dc75f394f886bec3dc4856d1c01bde [Pipeline] } 09:47:27 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 09:47:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:47:30 ---> package-listing.sh 09:47:30 ++ facter osfamily 09:47:30 ++ tr '[:upper:]' '[:lower:]' 09:47:30 + OS_FAMILY=redhat 09:47:30 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 09:47:30 + START_PACKAGES=/tmp/packages_start.txt 09:47:30 + END_PACKAGES=/tmp/packages_end.txt 09:47:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:47:30 + PACKAGES=/tmp/packages_start.txt 09:47:30 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 09:47:30 + PACKAGES=/tmp/packages_end.txt 09:47:30 + case "${OS_FAMILY}" in 09:47:30 + rpm -qa 09:47:30 + sort 09:47:34 + '[' -f /tmp/packages_start.txt ']' 09:47:34 + '[' -f /tmp/packages_end.txt ']' 09:47:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:47:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 09:47:34 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ 09:47:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:47:34 provisioning config files... 09:47:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config5722358403797790068tmp [Pipeline] { [Pipeline] echo 09:47:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:47:35 ---> create-netrc.sh [Pipeline] } 09:47:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:47:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:47:35 ---> python-tools-install.sh 09:47:35 Generating Requirements File 09:48:57 Python 3.6.8 09:48:57 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 09:48:57 appdirs==1.4.3 09:48:57 argcomplete==1.12.1 09:48:57 aspy.yaml==1.3.0 09:48:57 attrs==19.3.0 09:48:57 Babel==2.8.0 09:48:57 beautifulsoup4==4.8.2 09:48:57 boto3==1.11.6 09:48:57 botocore==1.14.6 09:48:57 bs4==0.0.1 09:48:57 cachetools==4.1.1 09:48:57 certifi==2019.11.28 09:48:57 cffi==1.14.3 09:48:57 cfgv==2.0.1 09:48:57 chardet==3.0.4 09:48:57 click==7.1 09:48:57 cliff==3.4.0 09:48:57 cmd2==1.3.11 09:48:57 colorama==0.4.4 09:48:57 cryptography==3.1.1 09:48:57 debtcollector==2.2.0 09:48:57 decorator==4.4.2 09:48:57 defusedxml==0.6.0 09:48:57 Deprecated==1.2.7 09:48:57 distlib==0.3.1 09:48:57 distro==1.2.0 09:48:57 dnspython==1.16.0 09:48:57 docker==4.2.0 09:48:57 docutils==0.15.2 09:48:57 dogpile.cache==1.0.2 09:48:57 email-validator==1.0.5 09:48:57 filelock==3.0.12 09:48:57 future==0.18.2 09:48:57 google-auth==1.22.1 09:48:57 httplib2==0.17.0 09:48:57 identify==1.4.11 09:48:57 idna==2.9 09:48:57 importlib-metadata==2.0.0 09:48:57 importlib-resources==1.5.0 09:48:57 iso8601==0.1.13 09:48:57 Jinja2==2.11.1 09:48:57 jmespath==0.10.0 09:48:57 jsonpatch==1.26 09:48:57 jsonpointer==2.0 09:48:57 jsonschema==3.2.0 09:48:57 keystoneauth1==4.2.1 09:48:57 kubernetes==11.0.0 09:48:57 lftools==0.34.2 09:48:57 lxml==4.5.0 09:48:57 MarkupSafe==0.23 09:48:57 msgpack==1.0.0 09:48:57 multi-key-dict==2.0.3 09:48:57 munch==2.5.0 09:48:57 netaddr==0.8.0 09:48:57 netifaces==0.10.9 09:48:57 niet==1.4.2 09:48:57 nodeenv==1.3.5 09:48:57 oauth2client==4.1.3 09:48:57 oauthlib==3.1.0 09:48:57 openstacksdk==0.50.0 09:48:57 os-client-config==2.1.0 09:48:57 os-service-types==1.7.0 09:48:57 osc-lib==2.2.1 09:48:57 oslo.config==8.3.2 09:48:57 oslo.context==3.1.1 09:48:57 oslo.i18n==5.0.1 09:48:57 oslo.log==4.4.0 09:48:57 oslo.serialization==4.0.1 09:48:57 oslo.utils==4.6.0 09:48:57 packaging==20.4 09:48:57 pbr==5.4.4 09:48:57 pluggy==0.13.1 09:48:57 prettytable==0.7.2 09:48:57 py==1.9.0 09:48:57 pyasn1==0.4.8 09:48:57 pyasn1-modules==0.2.8 09:48:57 pycparser==2.20 09:48:57 pygerrit2==2.0.10 09:48:57 PyGithub==1.46 09:48:57 pyinotify==0.9.6 09:48:57 PyJWT==1.7.1 09:48:57 pyparsing==2.4.7 09:48:57 pyperclip==1.8.1 09:48:57 pyroute2==0.4.13 09:48:57 pyrsistent==0.15.7 09:48:57 PySocks==1.6.8 09:48:57 python-cinderclient==7.2.0 09:48:57 python-dateutil==2.8.1 09:48:57 python-heatclient==2.2.1 09:48:57 python-jenkins==1.7.0 09:48:57 python-keystoneclient==4.1.1 09:48:57 python-magnumclient==3.2.1 09:48:57 python-novaclient==17.2.1 09:48:57 python-openstackclient==5.4.0 09:48:57 python-swiftclient==3.10.1 09:48:57 pytz==2020.1 09:48:57 PyYAML==5.3 09:48:57 requests==2.23.0 09:48:57 requests-oauthlib==1.3.0 09:48:57 requestsexceptions==1.4.0 09:48:57 rfc3986==1.4.0 09:48:57 rpm==4.11.3 09:48:57 rsa==4.0 09:48:57 ruamel.yaml==0.16.10 09:48:57 ruamel.yaml.clib==0.2.0 09:48:57 s3transfer==0.3.3 09:48:57 shade==1.27.2 09:48:57 simplejson==3.17.2 09:48:57 six==1.14.0 09:48:57 soupsieve==2.0 09:48:57 stevedore==3.2.2 09:48:57 tabulate==0.8.6 09:48:57 toml==0.10.0 09:48:57 tox==3.20.1 09:48:57 tqdm==4.43.0 09:48:57 urllib3==1.25.8 09:48:57 virtualenv==20.0.34 09:48:57 wcwidth==0.2.5 09:48:57 websocket-client==0.57.0 09:48:57 wrapt==1.12.1 09:48:57 xdg==3.0.2 09:48:57 xmltodict==0.12.0 09:48:57 yq==2.11.1 09:48:57 zipp==3.3.0 09:48:57 Cache entry deserialization failed, entry ignored 09:48:57 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. 09:48:57 Python 2.7.5 09:48:57 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 09:48:57 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. 09:48:57 ansible==2.9.7 09:48:57 Babel==0.9.6 09:48:57 backports.ssl-match-hostname==3.5.0.1 09:48:57 beautifulsoup4==4.4.1 09:48:57 bodhi==2.11.0 09:48:57 bodhi-client==2.11.0 09:48:57 CCColUtils==1.4 09:48:57 cffi==1.6.0 09:48:57 chardet==2.2.1 09:48:57 click==6.7 09:48:57 cloud-init==18.5 09:48:57 configobj==4.7.2 09:48:57 cryptography==1.7.2 09:48:57 decorator==3.4.0 09:48:57 distro==1.2.0 09:48:57 enum34==1.0.4 09:48:57 fedpkg==1.38 09:48:57 futures==3.1.1 09:48:57 gitdb==0.6.4 09:48:57 GitPython==1.0.1 09:48:57 html5lib==0.999 09:48:57 httplib2==0.9.2 09:48:57 idna==2.4 09:48:57 iniparse==0.4 09:48:57 ipaddress==1.0.16 09:48:57 IPy==0.75 09:48:57 javapackages==1.0.0 09:48:57 Jinja2==2.7.2 09:48:57 jmespath==0.9.4 09:48:57 jsonpatch==1.2 09:48:57 jsonpointer==1.9 09:48:57 kerberos==1.1 09:48:57 kitchen==1.1.1 09:48:57 langtable==0.0.31 09:48:57 lockfile==0.9.1 09:48:57 lxml==3.2.1 09:48:57 MarkupSafe==0.11 09:48:57 munch==2.0.2 09:48:57 offtrac==0.1.0 09:48:57 openidc-client==0.6.0 09:48:57 packagedb-cli==2.14.1 09:48:57 paramiko==2.1.1 09:48:57 perf==0.1 09:48:57 ply==3.4 09:48:57 policycoreutils-default-encoding==0.1 09:48:57 prettytable==0.7.2 09:48:57 pyasn1==0.1.9 09:48:57 pycparser==2.14 09:48:57 pycurl==7.19.0 09:48:57 pygobject==3.22.0 09:48:57 pygpgme==0.3 09:48:57 pyliblzma==0.5.3 09:48:57 pyOpenSSL==0.13.1 09:48:57 pyparsing==1.5.6 09:48:57 pyserial==2.6 09:48:57 python-augeas==0.5.0 09:48:57 python-bugzilla==2.3.0 09:48:57 python-dateutil==1.5 09:48:57 python-fedora==0.10.0 09:48:57 python-linux-procfs==0.4.9 09:48:57 python-yubico==1.2.3 09:48:57 pyudev==0.15 09:48:57 pyusb==1.0.0b1 09:48:57 pyxattr==0.5.1 09:48:57 PyYAML==3.10 09:48:57 requests==2.6.0 09:48:57 requests-kerberos==0.7.0 09:48:57 rpkg==1.60 09:48:57 schedutils==0.4 09:48:57 seobject==0.1 09:48:57 sepolicy==1.1 09:48:57 six==1.9.0 09:48:57 smmap==0.9.0 09:48:57 urlgrabber==3.10 09:48:57 urllib3==1.10.2 09:48:57 virtualenv==15.1.0 09:48:57 yum-langpacks==0.4.2 09:48:57 yum-metadata-parser==1.1.4 [Pipeline] echo 09:48:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:48:57 ---> sudo-logs.sh 09:48:57 Archiving 'sudo' log.. [Pipeline] echo 09:48:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:48:58 ---> job-cost.sh 09:48:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-woSs 09:49:08 Cache entry deserialization failed, entry ignored 09:49:08 Cache entry deserialization failed, entry ignored 09:49:08 Cache entry deserialization failed, entry ignored 09:49:08 Cache entry deserialization failed, entry ignored 09:49:08 Cache entry deserialization failed, entry ignored 09:49:08 Cache entry deserialization failed, entry ignored 09:49:08 Cache entry deserialization failed, entry ignored 09:49:09 Cache entry deserialization failed, entry ignored 09:49:09 Cache entry deserialization failed, entry ignored 09:49:09 Cache entry deserialization failed, entry ignored 09:49:09 Cache entry deserialization failed, entry ignored 09:49:09 Cache entry deserialization failed, entry ignored 09:49:09 Cache entry deserialization failed, entry ignored 09:49:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:49:41 lf-activate-venv(): INFO: Adding /tmp/venv-woSs/bin to PATH 09:49:41 INFO: No Stack... 09:49:42 INFO: Retrieving Pricing Info for: v1-standard-2 09:49:43 INFO: Archiving Costs [Pipeline] echo 09:49:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:49:43 ---> logs-deploy.sh 09:49:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/13 09:49:43 INFO: archiving workspace using pattern(s): 09:49:46 Archives upload complete. 09:49:46 INFO: archiving logs to Nexus 09:49:47 ---> uname -a: 09:49:47 Linux prd-centos7-docker-4c-2g-5373.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 09:49:47 09:49:47 09:49:47 ---> lscpu: 09:49:47 Architecture: x86_64 09:49:47 CPU op-mode(s): 32-bit, 64-bit 09:49:47 Byte Order: Little Endian 09:49:47 CPU(s): 4 09:49:47 On-line CPU(s) list: 0-3 09:49:47 Thread(s) per core: 1 09:49:47 Core(s) per socket: 1 09:49:47 Socket(s): 4 09:49:47 NUMA node(s): 1 09:49:47 Vendor ID: GenuineIntel 09:49:47 CPU family: 6 09:49:47 Model: 44 09:49:47 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:49:47 Stepping: 1 09:49:47 CPU MHz: 2933.442 09:49:47 BogoMIPS: 5866.88 09:49:47 Virtualization: VT-x 09:49:47 Hypervisor vendor: KVM 09:49:47 Virtualization type: full 09:49:47 L1d cache: 32K 09:49:47 L1i cache: 32K 09:49:47 L2 cache: 4096K 09:49:47 L3 cache: 16384K 09:49:47 NUMA node0 CPU(s): 0-3 09:49:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 09:49:47 09:49:47 09:49:47 ---> nproc: 09:49:47 4 09:49:47 09:49:47