Pull request #623 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b78e5cf9de3cc6fa28de1827cbb2be8560d972a2+833c05b782f270c396ee40879762f076aaf9331e (3b68e56a458fd214b5ba7e96899ac469b796e3b7) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-623/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-623/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-4143 in /w/workspace/dgexfoundry_device-sdk-go_PR-623 [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-623 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/623/head:refs/remotes/origin/PR-623 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 Merge succeeded, producing b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 Checking out Revision b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 (PR-623) > git config core.sparsecheckout # timeout=10 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # 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 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:21:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:21:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:21:28 ========================================================= 06:21:28 EdgeX Global Pipelines Version Info 06:21:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:21:29 ------------------- 06:21:29 stable info: 06:21:29 ------------------- 06:21:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:21:29 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:21:29 Message: update stable to v1.0.131 06:21:30 ------------------- 06:21:30 experimental info: 06:21:30 ------------------- 06:21:30 Commited By: **** collab-it+edgex@linuxfoundation.org 06:21:30 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 06:21:30 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:21:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:21:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:21:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:21:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:21:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:21:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:21:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:21:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:21:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:21:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:21:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:21:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:21:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:21:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:21:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:21:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:21:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:21:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:21:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:21:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:21:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:21:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-623 [Pipeline] echo 06:21:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-623 [Pipeline] echo 06:21:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-623 [Pipeline] echo 06:21:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 [Pipeline] echo 06:21:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b78e5cf [Pipeline] echo 06:21:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:21:36 + git log --format=format:%s -1 b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 [Pipeline] echo 06:21:36 GIT_COMMIT: b78e5cf9de3cc6fa28de1827cbb2be8560d972a2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 06:21:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:21:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:21:37 06:21:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:21:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:21:37 latest: Pulling from edgex-devops/git-semver 06:21:37 31603596830f: Pulling fs layer 06:21:37 2a8b12db71e7: Pulling fs layer 06:21:37 6ca5941a6612: Pulling fs layer 06:21:37 ecc8261a40a4: Pulling fs layer 06:21:37 ecc8261a40a4: Waiting 06:21:37 2a8b12db71e7: Verifying Checksum 06:21:37 2a8b12db71e7: Download complete 06:21:37 31603596830f: Verifying Checksum 06:21:37 31603596830f: Download complete 06:21:37 ecc8261a40a4: Verifying Checksum 06:21:37 ecc8261a40a4: Download complete 06:21:37 6ca5941a6612: Verifying Checksum 06:21:37 6ca5941a6612: Download complete 06:21:38 31603596830f: Pull complete 06:21:38 2a8b12db71e7: Pull complete 06:21:39 6ca5941a6612: Pull complete 06:21:39 ecc8261a40a4: Pull complete 06:21:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:21:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:21:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:21:39 prd-centos7-docker-4c-2g-4143 does not seem to be running inside a container 06:21:39 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-623 -v /w/workspace/dgexfoundry_device-sdk-go_PR-623:/w/workspace/dgexfoundry_device-sdk-go_PR-623:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-623@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:21:42 $ docker top 6ed91f90906baee6f25a38f2d5945bff276c484fea13af84de6216d482107661 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:21:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:42 [ssh-agent] Looking for ssh-agent implementation... 06:21:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:42 $ docker exec 6ed91f90906baee6f25a38f2d5945bff276c484fea13af84de6216d482107661 ssh-agent 06:21:43 SSH_AUTH_SOCK=/tmp/ssh-qWs7GTDkuywf/agent.12 06:21:43 SSH_AGENT_PID=18 06:21:43 Running ssh-add (command line suppressed) 06:21:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/private_key_8060633989010076647.key (/w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/private_key_8060633989010076647.key) 06:21:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:43 + git describe --exact-match --tags HEAD 06:21:43 fatal: no tag exactly matches 'b78e5cf9de3cc6fa28de1827cbb2be8560d972a2' [Pipeline] } 06:21:43 $ docker exec --env ******** --env ******** 6ed91f90906baee6f25a38f2d5945bff276c484fea13af84de6216d482107661 ssh-agent -k 06:21:44 unset SSH_AUTH_SOCK; 06:21:44 unset SSH_AGENT_PID; 06:21:44 echo Agent pid 18 killed; 06:21:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:21:44 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:21:44 This usually means this commit has not been tagged. [Pipeline] sshagent 06:21:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:44 [ssh-agent] Looking for ssh-agent implementation... 06:21:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:44 $ docker exec 6ed91f90906baee6f25a38f2d5945bff276c484fea13af84de6216d482107661 ssh-agent 06:21:44 SSH_AUTH_SOCK=/tmp/ssh-MmWHfCvqgftE/agent.46 06:21:44 SSH_AGENT_PID=51 06:21:44 Running ssh-add (command line suppressed) 06:21:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/private_key_834364678918867903.key (/w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/private_key_834364678918867903.key) 06:21:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:45 + git semver init 06:21:45 # -> Open(): unable to determine branch for HEAD 06:21:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-623/.git 06:21:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-623 06:21:45 # $SEMVER_REMOTE_NAME = origin 06:21:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:21:45 # $SEMVER_USER_NAME = edgex-jenkins 06:21:45 # $SEMVER_BRANCH = PR-623 06:21:45 # $SEMVER_TEMP = /tmp/semver-798046987 06:21:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:21:45 # '/tmp/semver-798046987' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-623/.semver' 06:21:45 # -> Force: false 06:21:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-623/.semver [Pipeline] } 06:21:45 $ docker exec --env ******** --env ******** 6ed91f90906baee6f25a38f2d5945bff276c484fea13af84de6216d482107661 ssh-agent -k 06:21:46 unset SSH_AUTH_SOCK; 06:21:46 unset SSH_AGENT_PID; 06:21:46 echo Agent pid 51 killed; 06:21:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:46 + git semver [Pipeline] } 06:21:46 $ docker stop --time=1 6ed91f90906baee6f25a38f2d5945bff276c484fea13af84de6216d482107661 06:21:48 $ docker rm -f 6ed91f90906baee6f25a38f2d5945bff276c484fea13af84de6216d482107661 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:21:48 Stashed 46 file(s) [Pipeline] echo 06:21:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:21: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:22:04 Still waiting to schedule task 06:22:04 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:22:04 Still waiting to schedule task 06:22:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:24:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4146 in /w/workspace/dgexfoundry_device-sdk-go_PR-623 [Pipeline] { [Pipeline] ws 06:24:49 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:24:56 using credential edgex-jenkins-ssh 06:24:56 Cloning the remote Git repository 06:24:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:24:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:24:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:24:56 > git --version # timeout=10 06:24:56 > git --version # 'git version 2.17.1' 06:24:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:24:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:24:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:24:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:24:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:24:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:24:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:24:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/623/head:refs/remotes/origin/PR-623 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:24:58 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 06:24:58 Merge succeeded, producing b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 06:24:58 Checking out Revision b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 (PR-623) 06:24:58 > git config core.sparsecheckout # timeout=10 06:24:58 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 06:24:58 > git remote # timeout=10 06:24:58 > git config --get remote.origin.url # timeout=10 06:24:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:24:58 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:24:58 > git rev-parse HEAD^{commit} # timeout=10 06:24:58 > git config core.sparsecheckout # timeout=10 06:24:58 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 06:25:03 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:25:03 > git --version # timeout=10 06:25:03 > git --version # 'git version 2.17.1' 06:25:03 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:25:05 ========================================================= 06:25:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:25:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:25:06 + 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:25:07 Sending build context to Docker daemon 3.489MB 06:25:07 Step 1/8 : ARG BASE=golang:1.15-alpine 06:25:07 Step 2/8 : FROM ${BASE} 06:25:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:25:08 b538f80385f9: Pulling fs layer 06:25:08 74f711af9a0d: Pulling fs layer 06:25:08 99f96fe45779: Pulling fs layer 06:25:08 8529a6b9a6be: Pulling fs layer 06:25:08 45590311c82a: Pulling fs layer 06:25:08 69ca0ff8b7b3: Pulling fs layer 06:25:08 209524e5b208: Pulling fs layer 06:25:08 8529a6b9a6be: Waiting 06:25:08 45590311c82a: Waiting 06:25:08 69ca0ff8b7b3: Waiting 06:25:08 209524e5b208: Waiting 06:25:08 99f96fe45779: Verifying Checksum 06:25:08 99f96fe45779: Download complete 06:25:08 74f711af9a0d: Verifying Checksum 06:25:08 74f711af9a0d: Download complete 06:25:08 45590311c82a: Verifying Checksum 06:25:08 45590311c82a: Download complete 06:25:09 69ca0ff8b7b3: Download complete 06:25:09 b538f80385f9: Verifying Checksum 06:25:09 b538f80385f9: Download complete 06:25:10 b538f80385f9: Pull complete 06:25:11 74f711af9a0d: Pull complete 06:25:11 209524e5b208: Verifying Checksum 06:25:11 209524e5b208: Download complete 06:25:11 99f96fe45779: Pull complete 06:25:12 8529a6b9a6be: Verifying Checksum 06:25:12 8529a6b9a6be: Download complete 06:25:22 8529a6b9a6be: Pull complete 06:25:22 45590311c82a: Pull complete 06:25:23 69ca0ff8b7b3: Pull complete 06:25:26 209524e5b208: Pull complete 06:25:26 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:25:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:25:26 ---> 5bddaf1c2fca 06:25:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:25:29 ---> Running in 9fa275e74af5 06:25:29 Removing intermediate container 9fa275e74af5 06:25:29 ---> 26662212f843 06:25:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:25:30 ---> Running in 9143df914a56 06:25:32 Removing intermediate container 9143df914a56 06:25:32 ---> 0594e6bae45f 06:25:32 Step 5/8 : RUN apk add --no-cache make git 06:25:32 ---> Running in 587b57499cf4 06:25:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:25:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:25:35 OK: 142 MiB in 39 packages 06:25:36 Removing intermediate container 587b57499cf4 06:25:36 ---> fe894a5563c8 06:25:36 Step 6/8 : WORKDIR /device-sdk-go 06:25:37 ---> Running in f2b85c4aa2c3 06:25:37 Removing intermediate container f2b85c4aa2c3 06:25:37 ---> e6a5efaeef9e 06:25:37 Step 7/8 : COPY . . 06:25:39 ---> 841f3c164d59 06:25:39 Step 8/8 : RUN go mod download 06:25:39 ---> Running in 44328d2ad75f 06:26:11 Removing intermediate container 44328d2ad75f 06:26:11 ---> 94d716ff3b48 06:26:11 Successfully built 94d716ff3b48 06:26:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:26:12 + docker inspect -f . ci-base-image-arm64 06:26:12 . [Pipeline] withDockerContainer 06:26:12 prd-ubuntu18.04-docker-arm64-4c-16g-4146 does not seem to be running inside a container 06:26:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 06:26:14 $ docker top 3fb1802bcb3f2c7abebd3fdac8e5b12718ebbfd0aab75032dcdaa6a13c03b113 -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:16 + go version 06:26:16 go version go1.15.2 linux/arm64 [Pipeline] } 06:26:16 $ docker stop --time=1 3fb1802bcb3f2c7abebd3fdac8e5b12718ebbfd0aab75032dcdaa6a13c03b113 06:26:18 $ docker rm -f 3fb1802bcb3f2c7abebd3fdac8e5b12718ebbfd0aab75032dcdaa6a13c03b113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:26:19 + docker inspect -f . ci-base-image-arm64 06:26:19 . [Pipeline] withDockerContainer 06:26:19 prd-ubuntu18.04-docker-arm64-4c-16g-4146 does not seem to be running inside a container 06:26:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 06:26:21 $ docker top 9ab274101d59c32c51a1c724bdecb58d277b8468e7819b7f8314a5a2d24b9edc -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:23 + make test 06:26:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:26:38 Running on prd-centos7-docker-4c-2g-4147 in /w/workspace/dgexfoundry_device-sdk-go_PR-623 [Pipeline] { [Pipeline] ws 06:26:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:26:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:26:46 using credential edgex-jenkins-ssh 06:26:46 Cloning the remote Git repository 06:26:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:26:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:26:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:26:46 > git --version # timeout=10 06:26:46 > git --version # 'git version 2.16.5' 06:26:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:48 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 06:26:48 Merge succeeded, producing b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 06:26:48 Checking out Revision b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 (PR-623) 06:26:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:26:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:26:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:26:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/623/head:refs/remotes/origin/PR-623 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:26:48 > git config core.sparsecheckout # timeout=10 06:26:48 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 06:26:48 > git remote # timeout=10 06:26:48 > git config --get remote.origin.url # timeout=10 06:26:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:48 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:26:48 > git rev-parse HEAD^{commit} # timeout=10 06:26:48 > git config core.sparsecheckout # timeout=10 06:26:48 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 06:26:53 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:26:53 > git --version # timeout=10 06:26:53 > git --version # 'git version 2.16.5' 06:26:53 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:26:54 ========================================================= 06:26:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:26:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:26:56 + 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:26:57 Sending build context to Docker daemon 3.489MB 06:26:57 Step 1/8 : ARG BASE=golang:1.15-alpine 06:26:57 Step 2/8 : FROM ${BASE} 06:26:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:26:57 df20fa9351a1: Pulling fs layer 06:26:57 ed8968b2872e: Pulling fs layer 06:26:57 a92cc7c5fd73: Pulling fs layer 06:26:57 e871e8e8d7a9: Pulling fs layer 06:26:57 e73272ec9a57: Pulling fs layer 06:26:57 1e910a182e73: Pulling fs layer 06:26:57 4e634b169226: Pulling fs layer 06:26:57 e871e8e8d7a9: Waiting 06:26:57 e73272ec9a57: Waiting 06:26:57 1e910a182e73: Waiting 06:26:57 4e634b169226: Waiting 06:26:57 a92cc7c5fd73: Verifying Checksum 06:26:57 a92cc7c5fd73: Download complete 06:26:57 ed8968b2872e: Verifying Checksum 06:26:57 ed8968b2872e: Download complete 06:26:57 e73272ec9a57: Download complete 06:26:57 1e910a182e73: Download complete 06:26:57 df20fa9351a1: Verifying Checksum 06:26:57 df20fa9351a1: Download complete 06:26:57 df20fa9351a1: Pull complete 06:26:57 ed8968b2872e: Pull complete 06:26:58 a92cc7c5fd73: Pull complete 06:27:01 4e634b169226: Verifying Checksum 06:27:01 4e634b169226: Download complete 06:27:03 e871e8e8d7a9: Verifying Checksum 06:27:03 e871e8e8d7a9: Download complete 06:27:11 e871e8e8d7a9: Pull complete 06:27:11 e73272ec9a57: Pull complete 06:27:12 1e910a182e73: Pull complete 06:27:16 4e634b169226: Pull complete 06:27:16 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:27:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:27:16 ---> f7629b54cfaa 06:27:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:27:16 ---> Running in d704b23d4788 06:27:17 Removing intermediate container d704b23d4788 06:27:17 ---> 143287887f3f 06:27:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:27:17 ---> Running in 7f5118a9c6ef 06:27:18 Removing intermediate container 7f5118a9c6ef 06:27:18 ---> 545b19fee060 06:27:18 Step 5/8 : RUN apk add --no-cache make git 06:27:18 ---> Running in 99e1c8e563e1 06:27:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:27:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:27:20 OK: 166 MiB in 39 packages 06:27:21 Removing intermediate container 99e1c8e563e1 06:27:21 ---> 3f6ad701d956 06:27:21 Step 6/8 : WORKDIR /device-sdk-go 06:27:21 ---> Running in 9109a3c837e9 06:27:21 Removing intermediate container 9109a3c837e9 06:27:21 ---> 54a8bae7f3c2 06:27:21 Step 7/8 : COPY . . 06:27:23 ---> 154ff6320a3d 06:27:23 Step 8/8 : RUN go mod download 06:27:23 ---> Running in 88f533679a78 06:27:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:27:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:27:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:27:24 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.156s coverage: 21.6% of statements 06:27:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.296s coverage: 97.1% of statements 06:27:56 Removing intermediate container 88f533679a78 06:27:56 ---> 386984103391 06:27:56 Successfully built 386984103391 06:27:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:27:56 + docker inspect -f . ci-base-image-x86_64 06:27:56 . [Pipeline] withDockerContainer 06:27:56 prd-centos7-docker-4c-2g-4147 does not seem to be running inside a container 06:27:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 06:27:57 $ docker top 8daf209e9bdd852465b7188d7407ec67423125633ca5efc2aaa7ed4fbe8334eb -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:58 + go version 06:27:58 go version go1.15.2 linux/amd64 [Pipeline] } 06:27:58 $ docker stop --time=1 8daf209e9bdd852465b7188d7407ec67423125633ca5efc2aaa7ed4fbe8334eb 06:27:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.143s coverage: 9.4% of statements 06:27:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements 06:27:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:27:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.568s coverage: 40.3% of statements 06:27:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:27:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.781s coverage: 65.4% of statements 06:27:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:27:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:27:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:27:58 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:27:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 52.6% of statements 06:27:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:27:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.850s coverage: 68.9% of statements 06:27:58 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:27:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:27:58 GO111MODULE=on go vet ./... 06:28:00 $ docker rm -f 8daf209e9bdd852465b7188d7407ec67423125633ca5efc2aaa7ed4fbe8334eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:28:01 + docker inspect -f . ci-base-image-x86_64 06:28:01 . [Pipeline] withDockerContainer 06:28:01 prd-centos7-docker-4c-2g-4147 does not seem to be running inside a container 06:28:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 06:28:02 $ docker top f25a7ab2604425b3cfda856bd4011a3eb47510e746224c7e873be0af7d869cf8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:03 + make test 06:28:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:28:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:28:25 gofmt -l . 06:28:25 [ "`gofmt -l .`" = "" ] 06:28:25 ./bin/test-attribution-txt.sh 06:28:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:28:27 Stashed 1 file(s) [Pipeline] } 06:28:27 $ docker stop --time=1 9ab274101d59c32c51a1c724bdecb58d277b8468e7819b7f8314a5a2d24b9edc 06:28:29 $ docker rm -f 9ab274101d59c32c51a1c724bdecb58d277b8468e7819b7f8314a5a2d24b9edc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:28:32 + ls -al . 06:28:32 total 232 06:28:32 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 06:28 . 06:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 06:24 .. 06:28:32 -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 06:24 .dockerignore 06:28:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 06:25 .git 06:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 06:24 .github 06:28:32 -rw-rw-r-- 1 jenkins jenkins 138 Oct 8 06:24 .gitignore 06:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 06:25 .semver 06:28:32 -rw-rw-r-- 1 jenkins jenkins 936 Oct 8 06:24 Dockerfile.build 06:28:32 -rw-rw-r-- 1 jenkins jenkins 901 Oct 8 06:24 Jenkinsfile 06:28:32 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 06:24 LICENSE 06:28:32 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 8 06:24 Makefile 06:28:32 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 8 06:24 README.md 06:28:32 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 8 06:24 RELEASE-NOTES.txt 06:28:32 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 06:21 VERSION 06:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 06:24 bin 06:28:32 -rw-r--r-- 1 jenkins jenkins 111041 Oct 8 06:27 coverage.out 06:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 06:24 example 06:28:32 -rw-r--r-- 1 jenkins jenkins 517 Oct 8 06:28 go.mod 06:28:32 -rw-r--r-- 1 jenkins jenkins 13549 Oct 8 06:28 go.sum 06:28:32 drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 06:24 internal 06:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 06:24 openapi 06:28:32 drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 06:24 pkg 06:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 06:24 snap 06:28:32 -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 06:24 version.go [Pipeline] isUnix [Pipeline] sh 06:28:32 + 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=b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 --label arch=arm64 --label version=0.0.0 . 06:28:33 Sending build context to Docker daemon 3.601MB 06:28:33 Step 1/24 : ARG BASE=golang:1.15-alpine 06:28:33 Step 2/24 : FROM ${BASE} AS builder 06:28:33 ---> 94d716ff3b48 06:28:33 Step 3/24 : ARG MAKE='make build' 06:28:33 ---> Running in 47f8decdb1b4 06:28:34 Removing intermediate container 47f8decdb1b4 06:28:34 ---> 712ad65cdf56 06:28:34 Step 4/24 : WORKDIR /device-sdk-go 06:28:34 ---> Running in ad15b4c5b2a6 06:28:34 Removing intermediate container ad15b4c5b2a6 06:28:34 ---> 4e76ec020ed2 06:28:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:28:34 ---> Running in 91aa295975d5 06:28:35 Removing intermediate container 91aa295975d5 06:28:35 ---> 1d132a4ad23c 06:28:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:28:35 ---> Running in eae4cad35d82 06:28:38 Removing intermediate container eae4cad35d82 06:28:38 ---> 37d0c74dd50a 06:28:38 Step 7/24 : RUN apk add --update --no-cache make git 06:28:38 ---> Running in 805469e50a20 06:28:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:28:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:28:41 OK: 142 MiB in 39 packages 06:28:42 Removing intermediate container 805469e50a20 06:28:42 ---> a15b89c57211 06:28:42 Step 8/24 : COPY . . 06:28:43 ---> 962a5b3b9802 06:28:43 Step 9/24 : RUN ${MAKE} 06:28:43 ---> Running in dcdc4124fcdd 06:28:44 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:29:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:29:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:29:04 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:29:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.374s coverage: 21.6% of statements 06:29:11 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:29:11 Removing intermediate container dcdc4124fcdd 06:29:11 ---> c6ce6f9fa309 06:29:11 Step 10/24 : FROM scratch 06:29:11 ---> 06:29:11 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:29:11 ---> Running in 44eb29d7a8e5 06:29:11 Removing intermediate container 44eb29d7a8e5 06:29:11 ---> 69bcd2ae84cc 06:29:11 Step 12/24 : ENV APP_PORT=49990 06:29:11 ---> Running in dbec8cadf78b 06:29:11 Removing intermediate container dbec8cadf78b 06:29:11 ---> 9c41426e565c 06:29:11 Step 13/24 : EXPOSE $APP_PORT 06:29:11 ---> Running in ff3d9d8956c0 06:29:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.140s coverage: 97.1% of statements 06:29:12 Removing intermediate container ff3d9d8956c0 06:29:12 ---> 844d0077961c 06:29:12 Step 14/24 : WORKDIR / 06:29:12 ---> Running in 7accfd85d1ce 06:29:12 Removing intermediate container 7accfd85d1ce 06:29:12 ---> 273fd89a29a7 06:29:12 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:29:14 ---> 8f3e82b7cc74 06:29:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:29:14 ---> 019d104b76d6 06:29:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:29:15 ---> ca7c00009b38 06:29:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:29:16 ---> d5bdbc3e1b68 06:29:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:29:16 ---> 3e7d88db98b2 06:29:16 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:29:16 ---> Running in 5b2d17869e74 06:29:17 Removing intermediate container 5b2d17869e74 06:29:17 ---> 02038fc6927c 06:29:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:29:17 ---> Running in 00ed38d8d75f 06:29:18 Removing intermediate container 00ed38d8d75f 06:29:18 ---> 43690942f5cd 06:29:18 Step 22/24 : LABEL arch=arm64 06:29:18 ---> Running in 27d2a802b7ad 06:29:18 Removing intermediate container 27d2a802b7ad 06:29:18 ---> 3d30431623e9 06:29:18 Step 23/24 : LABEL git_sha=b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 06:29:18 ---> Running in c92bbfd6ff31 06:29:19 Removing intermediate container c92bbfd6ff31 06:29:19 ---> 060726550ec2 06:29:19 Step 24/24 : LABEL version=0.0.0 06:29:19 ---> Running in b7de5eab297c 06:29:19 Removing intermediate container b7de5eab297c 06:29:19 ---> d6f57736a16e 06:29:19 [Warning] One or more build-args [ARCH] were not consumed 06:29:19 Successfully built d6f57736a16e 06:29:19 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:29:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.449s coverage: 9.4% of statements 06:29:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.319s coverage: 21.9% of statements 06:29:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:29:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.326s coverage: 40.3% of statements 06:29:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:29:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.667s coverage: 65.4% of statements 06:29:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:29:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:29:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:29:39 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:29:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.255s coverage: 52.6% of statements 06:29:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:29:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.558s coverage: 68.9% of statements 06:29:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:29:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:29:39 GO111MODULE=on go vet ./... 06:30:12 gofmt -l . 06:30:12 [ "`gofmt -l .`" = "" ] 06:30:12 ./bin/test-attribution-txt.sh 06:30:12 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:30:13 Warning: overwriting stash ‘coverage-report’ 06:30:14 Stashed 1 file(s) [Pipeline] } 06:30:14 $ docker stop --time=1 f25a7ab2604425b3cfda856bd4011a3eb47510e746224c7e873be0af7d869cf8 06:30:17 $ docker rm -f f25a7ab2604425b3cfda856bd4011a3eb47510e746224c7e873be0af7d869cf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:30:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:30:25 + ls -al . 06:30:25 total 192 06:30:25 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 8 06:30 . 06:30:25 drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 06:26 .. 06:30:25 drwxrwxr-x. 2 jenkins jenkins 64 Oct 8 06:26 bin 06:30:25 -rw-r--r--. 1 jenkins jenkins 111041 Oct 8 06:29 coverage.out 06:30:25 -rw-rw-r--. 1 jenkins jenkins 936 Oct 8 06:26 Dockerfile.build 06:30:25 -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 06:26 .dockerignore 06:30:25 drwxrwxr-x. 4 jenkins jenkins 48 Oct 8 06:26 example 06:30:25 drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 06:26 .git 06:30:25 drwxrwxr-x. 2 jenkins jenkins 60 Oct 8 06:26 .github 06:30:25 -rw-rw-r--. 1 jenkins jenkins 138 Oct 8 06:26 .gitignore 06:30:25 -rw-r--r--. 1 jenkins jenkins 517 Oct 8 06:30 go.mod 06:30:25 -rw-r--r--. 1 jenkins jenkins 13549 Oct 8 06:30 go.sum 06:30:25 drwxrwxr-x. 15 jenkins jenkins 211 Oct 8 06:26 internal 06:30:25 -rw-rw-r--. 1 jenkins jenkins 901 Oct 8 06:26 Jenkinsfile 06:30:25 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 06:26 LICENSE 06:30:25 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 8 06:26 Makefile 06:30:25 drwxrwxr-x. 4 jenkins jenkins 26 Oct 8 06:26 openapi 06:30:25 drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 06:26 pkg 06:30:25 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 8 06:26 README.md 06:30:25 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 8 06:26 RELEASE-NOTES.txt 06:30:25 drwxrwxr-x. 3 jenkins jenkins 58 Oct 8 06:26 .semver 06:30:25 drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 06:26 snap 06:30:25 -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 06:21 VERSION 06:30:25 -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 06:26 version.go [Pipeline] isUnix [Pipeline] sh 06:30:26 + 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=b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 --label arch=amd64 --label version=0.0.0 . 06:30:26 Sending build context to Docker daemon 3.601MB 06:30:26 Step 1/24 : ARG BASE=golang:1.15-alpine 06:30:26 Step 2/24 : FROM ${BASE} AS builder 06:30:26 ---> 386984103391 06:30:26 Step 3/24 : ARG MAKE='make build' 06:30:27 ---> Running in 411582a0cec9 06:30:27 Removing intermediate container 411582a0cec9 06:30:27 ---> 4599cc4604e7 06:30:27 Step 4/24 : WORKDIR /device-sdk-go 06:30:27 ---> Running in 105f1a2f982b 06:30:27 Removing intermediate container 105f1a2f982b 06:30:27 ---> 7871daca9d59 06:30:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:30:28 ---> Running in 8396479e07b8 06:30:28 Removing intermediate container 8396479e07b8 06:30:28 ---> 82ca272d9311 06:30:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:28 ---> Running in 43b1b3f3318f 06:30:30 Removing intermediate container 43b1b3f3318f 06:30:30 ---> 4f5ae0c6f166 06:30:30 Step 7/24 : RUN apk add --update --no-cache make git 06:30:30 ---> Running in e377b8ff6133 06:30:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:30:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:30:33 OK: 166 MiB in 39 packages 06:30:34 Removing intermediate container e377b8ff6133 06:30:34 ---> 745a7c2c64f9 06:30:34 Step 8/24 : COPY . . 06:30:35 ---> 7a3309e8ccac 06:30:35 Step 9/24 : RUN ${MAKE} 06:30:35 ---> Running in fd849ea70a24 06:30:35 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:30:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:31:02 Removing intermediate container fd849ea70a24 06:31:02 ---> e2152c4b6254 06:31:02 Step 10/24 : FROM scratch 06:31:02 ---> 06:31:02 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:02 ---> Running in 353c7ed9c4ab 06:31:02 Removing intermediate container 353c7ed9c4ab 06:31:02 ---> 9a9ebd92c355 06:31:02 Step 12/24 : ENV APP_PORT=49990 06:31:02 ---> Running in b9c029c5116f 06:31:02 Removing intermediate container b9c029c5116f 06:31:02 ---> 4933dbeacc4c 06:31:02 Step 13/24 : EXPOSE $APP_PORT 06:31:02 ---> Running in 695cb3edbb9c 06:31:02 Removing intermediate container 695cb3edbb9c 06:31:02 ---> 63d4ddcf7f42 06:31:02 Step 14/24 : WORKDIR / 06:31:02 ---> Running in f2d8aea38bc5 06:31:02 Removing intermediate container f2d8aea38bc5 06:31:02 ---> 969dc23dab34 06:31:02 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:31:03 ---> 3fcdc9d7121d 06:31:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:31:03 ---> d289a1380024 06:31:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:31:03 ---> 824ac5ee22a5 06:31:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:31:04 ---> 03e4a8aaef3f 06:31:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:31:05 ---> 7f30819ee57e 06:31:05 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:31:05 ---> Running in 7a2b4aa154cc 06:31:05 Removing intermediate container 7a2b4aa154cc 06:31:05 ---> cd1182b65810 06:31:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:31:05 ---> Running in 1c3837a8be39 06:31:06 Removing intermediate container 1c3837a8be39 06:31:06 ---> 1c17f38f4901 06:31:06 Step 22/24 : LABEL arch=amd64 06:31:06 ---> Running in 3b281a0e45b3 06:31:06 Removing intermediate container 3b281a0e45b3 06:31:06 ---> 90e0d8705366 06:31:06 Step 23/24 : LABEL git_sha=b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 06:31:06 ---> Running in 32d2870fae1b 06:31:06 Removing intermediate container 32d2870fae1b 06:31:06 ---> 6d74b85a65d1 06:31:06 Step 24/24 : LABEL version=0.0.0 06:31:06 ---> Running in 7ac6cdc6d0bf 06:31:07 Removing intermediate container 7ac6cdc6d0bf 06:31:07 ---> 7b125a476021 06:31:07 [Warning] One or more build-args [ARCH] were not consumed 06:31:07 Successfully built 7b125a476021 06:31:07 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:31:10 provisioning config files... 06:31:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/config1027225174528275823tmp [Pipeline] { [Pipeline] sh 06:31:11 + set +x 06:31:11 + curl -s https://codecov.io/bash 06:31:11 + bash -s -- 06:31:11 06:31:11 _____ _ 06:31:11 / ____| | | 06:31:11 | | ___ __| | ___ ___ _____ __ 06:31:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:31:11 | |___| (_) | (_| | __/ (_| (_) \ V / 06:31:11 \_____\___/ \__,_|\___|\___\___/ \_/ 06:31:11 Bash-20201007-7e25d0a 06:31:11 06:31:11 06:31:11 ==> Jenkins CI detected. 06:31:11 project root: . 06:31:11 --> token set from env 06:31:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:31:11 ==> Running gcov in . (disable via -X gcov) 06:31:11 ==> Python coveragepy not found 06:31:11 ==> Searching for coverage reports in: 06:31:11 + . 06:31:11 -> Found 1 reports 06:31:11 ==> Detecting git/mercurial file structure 06:31:11 ==> Reading reports 06:31:11 + ./coverage.out bytes=111041 06:31:11 ==> Appending adjustments 06:31:11 https://docs.codecov.io/docs/fixing-reports 06:31:12 + Found adjustments 06:31:12 ==> Gzipping contents 06:31:12 ==> Uploading reports 06:31:12 url: https://codecov.io 06:31:12 query: branch=PR-623&commit=b78e5cf9de3cc6fa28de1827cbb2be8560d972a2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-623%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=623&job=&cmd_args= 06:31:12 -> Pinging Codecov 06:31:12 https://codecov.io/upload/v4?package=bash-20201007-7e25d0a&token=secret&branch=PR-623&commit=b78e5cf9de3cc6fa28de1827cbb2be8560d972a2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-623%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=623&job=&cmd_args= 06:31:12 -> Uploading to 06:31:12 06:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:12 Dload Upload Total Spent Left Speed 06:31:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:31:12 X> Failed to upload 06:31:12 ==> Uploading to Codecov 06:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:12 Dload Upload Total Spent Left Speed 06:31:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19336 0 0 100 19226 0 32120 --:--:-- --:--:-- --:--:-- 32096 100 19336 100 110 100 19226 183 32107 --:--:-- --:--:-- --:--:-- 32096 06:31:12 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 [Pipeline] } 06:31:12 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:31:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:31:18 ---> package-listing.sh 06:31:18 ++ facter osfamily 06:31:18 ++ tr '[:upper:]' '[:lower:]' 06:31:18 + OS_FAMILY=redhat 06:31:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-623 06:31:18 + START_PACKAGES=/tmp/packages_start.txt 06:31:18 + END_PACKAGES=/tmp/packages_end.txt 06:31:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:31:18 + PACKAGES=/tmp/packages_start.txt 06:31:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-623 ']' 06:31:18 + PACKAGES=/tmp/packages_end.txt 06:31:18 + case "${OS_FAMILY}" in 06:31:18 + rpm -qa 06:31:18 + sort 06:31:23 + '[' -f /tmp/packages_start.txt ']' 06:31:23 + '[' -f /tmp/packages_end.txt ']' 06:31:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:31:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-623 ']' 06:31:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-623/archives/ 06:31:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-623/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:31:23 provisioning config files... 06:31:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/config2675949166532152108tmp [Pipeline] { [Pipeline] echo 06:31:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:31:25 ---> create-netrc.sh [Pipeline] } 06:31:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:31:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:31:25 ---> python-tools-install.sh 06:31:25 Generating Requirements File 06:32:47 Python 3.6.8 06:32:47 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:32:47 appdirs==1.4.3 06:32:47 argcomplete==1.12.1 06:32:47 aspy.yaml==1.3.0 06:32:47 attrs==19.3.0 06:32:47 Babel==2.8.0 06:32:47 beautifulsoup4==4.8.2 06:32:47 boto3==1.11.6 06:32:47 botocore==1.14.6 06:32:47 bs4==0.0.1 06:32:47 cachetools==4.1.1 06:32:47 certifi==2019.11.28 06:32:47 cffi==1.14.3 06:32:47 cfgv==2.0.1 06:32:47 chardet==3.0.4 06:32:47 click==7.1 06:32:47 cliff==3.4.0 06:32:47 cmd2==1.3.11 06:32:47 colorama==0.4.3 06:32:47 cryptography==3.1.1 06:32:47 debtcollector==2.2.0 06:32:47 decorator==4.4.2 06:32:47 defusedxml==0.6.0 06:32:47 Deprecated==1.2.7 06:32:47 distlib==0.3.1 06:32:47 distro==1.2.0 06:32:47 dnspython==1.16.0 06:32:47 docker==4.2.0 06:32:47 docutils==0.15.2 06:32:47 dogpile.cache==1.0.2 06:32:47 email-validator==1.0.5 06:32:47 filelock==3.0.12 06:32:47 future==0.18.2 06:32:47 google-auth==1.22.1 06:32:47 httplib2==0.17.0 06:32:47 identify==1.4.11 06:32:47 idna==2.9 06:32:47 importlib-metadata==1.7.0 06:32:47 importlib-resources==1.5.0 06:32:47 iso8601==0.1.13 06:32:47 Jinja2==2.11.1 06:32:47 jmespath==0.10.0 06:32:47 jsonpatch==1.26 06:32:47 jsonpointer==2.0 06:32:47 jsonschema==3.2.0 06:32:47 keystoneauth1==4.2.1 06:32:47 kubernetes==11.0.0 06:32:47 lftools==0.34.2 06:32:47 lxml==4.5.0 06:32:47 MarkupSafe==0.23 06:32:47 msgpack==1.0.0 06:32:47 multi-key-dict==2.0.3 06:32:47 munch==2.5.0 06:32:47 netaddr==0.8.0 06:32:47 netifaces==0.10.9 06:32:47 niet==1.4.2 06:32:47 nodeenv==1.3.5 06:32:47 oauth2client==4.1.3 06:32:47 oauthlib==3.1.0 06:32:47 openstacksdk==0.50.0 06:32:47 os-client-config==2.1.0 06:32:47 os-service-types==1.7.0 06:32:47 osc-lib==2.2.1 06:32:47 oslo.config==8.3.2 06:32:47 oslo.context==3.1.1 06:32:47 oslo.i18n==5.0.1 06:32:47 oslo.log==4.4.0 06:32:47 oslo.serialization==4.0.1 06:32:47 oslo.utils==4.6.0 06:32:47 packaging==20.4 06:32:47 pbr==5.4.4 06:32:47 pluggy==0.13.1 06:32:47 prettytable==0.7.2 06:32:47 py==1.9.0 06:32:47 pyasn1==0.4.8 06:32:47 pyasn1-modules==0.2.8 06:32:47 pycparser==2.20 06:32:47 pygerrit2==2.0.10 06:32:47 PyGithub==1.46 06:32:47 pyinotify==0.9.6 06:32:47 PyJWT==1.7.1 06:32:47 pyparsing==2.4.7 06:32:47 pyperclip==1.8.0 06:32:47 pyroute2==0.4.13 06:32:47 pyrsistent==0.15.7 06:32:47 PySocks==1.6.8 06:32:47 python-cinderclient==7.2.0 06:32:47 python-dateutil==2.8.1 06:32:47 python-heatclient==2.2.1 06:32:47 python-jenkins==1.7.0 06:32:47 python-keystoneclient==4.1.1 06:32:47 python-magnumclient==3.2.1 06:32:47 python-novaclient==17.2.1 06:32:47 python-openstackclient==5.4.0 06:32:47 python-swiftclient==3.10.1 06:32:47 pytz==2020.1 06:32:47 PyYAML==5.3 06:32:47 requests==2.23.0 06:32:47 requests-oauthlib==1.3.0 06:32:47 requestsexceptions==1.4.0 06:32:47 rfc3986==1.4.0 06:32:47 rpm==4.11.3 06:32:47 rsa==4.0 06:32:47 ruamel.yaml==0.16.10 06:32:47 ruamel.yaml.clib==0.2.0 06:32:47 s3transfer==0.3.3 06:32:47 shade==1.27.2 06:32:47 simplejson==3.17.2 06:32:47 six==1.14.0 06:32:47 soupsieve==2.0 06:32:47 stevedore==3.2.2 06:32:47 tabulate==0.8.6 06:32:47 toml==0.10.0 06:32:47 tox==3.20.0 06:32:47 tqdm==4.43.0 06:32:47 urllib3==1.25.8 06:32:47 virtualenv==20.0.33 06:32:47 wcwidth==0.2.5 06:32:47 websocket-client==0.57.0 06:32:47 wrapt==1.12.1 06:32:47 xdg==3.0.2 06:32:47 xmltodict==0.12.0 06:32:47 yq==2.11.1 06:32:47 zipp==3.3.0 06:32:47 Cache entry deserialization failed, entry ignored 06:32:47 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:32:50 Python 2.7.5 06:32:50 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:32:50 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 06:32:51 ansible==2.9.7 06:32:51 Babel==0.9.6 06:32:51 backports.ssl-match-hostname==3.5.0.1 06:32:51 beautifulsoup4==4.4.1 06:32:51 bodhi==2.11.0 06:32:51 bodhi-client==2.11.0 06:32:51 CCColUtils==1.4 06:32:51 cffi==1.6.0 06:32:51 chardet==2.2.1 06:32:51 click==6.7 06:32:51 cloud-init==18.5 06:32:51 configobj==4.7.2 06:32:51 cryptography==1.7.2 06:32:51 decorator==3.4.0 06:32:51 distro==1.2.0 06:32:51 enum34==1.0.4 06:32:51 fedpkg==1.38 06:32:51 futures==3.1.1 06:32:51 gitdb==0.6.4 06:32:51 GitPython==1.0.1 06:32:51 html5lib==0.999 06:32:51 httplib2==0.9.2 06:32:51 idna==2.4 06:32:51 iniparse==0.4 06:32:51 ipaddress==1.0.16 06:32:51 IPy==0.75 06:32:51 javapackages==1.0.0 06:32:51 Jinja2==2.7.2 06:32:51 jmespath==0.9.4 06:32:51 jsonpatch==1.2 06:32:51 jsonpointer==1.9 06:32:51 kerberos==1.1 06:32:51 kitchen==1.1.1 06:32:51 langtable==0.0.31 06:32:51 lockfile==0.9.1 06:32:51 lxml==3.2.1 06:32:51 MarkupSafe==0.11 06:32:51 munch==2.0.2 06:32:51 offtrac==0.1.0 06:32:51 openidc-client==0.6.0 06:32:51 packagedb-cli==2.14.1 06:32:51 paramiko==2.1.1 06:32:51 perf==0.1 06:32:51 ply==3.4 06:32:51 policycoreutils-default-encoding==0.1 06:32:51 prettytable==0.7.2 06:32:51 pyasn1==0.1.9 06:32:51 pycparser==2.14 06:32:51 pycurl==7.19.0 06:32:51 pygobject==3.22.0 06:32:51 pygpgme==0.3 06:32:51 pyliblzma==0.5.3 06:32:51 pyOpenSSL==0.13.1 06:32:51 pyparsing==1.5.6 06:32:51 pyserial==2.6 06:32:51 python-augeas==0.5.0 06:32:51 python-bugzilla==2.3.0 06:32:51 python-dateutil==1.5 06:32:51 python-fedora==0.10.0 06:32:51 python-linux-procfs==0.4.9 06:32:51 python-yubico==1.2.3 06:32:51 pyudev==0.15 06:32:51 pyusb==1.0.0b1 06:32:51 pyxattr==0.5.1 06:32:51 PyYAML==3.10 06:32:51 requests==2.6.0 06:32:51 requests-kerberos==0.7.0 06:32:51 rpkg==1.60 06:32:51 schedutils==0.4 06:32:51 seobject==0.1 06:32:51 sepolicy==1.1 06:32:51 six==1.9.0 06:32:51 smmap==0.9.0 06:32:51 urlgrabber==3.10 06:32:51 urllib3==1.10.2 06:32:51 virtualenv==15.1.0 06:32:51 yum-langpacks==0.4.2 06:32:51 yum-metadata-parser==1.1.4 [Pipeline] echo 06:32:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:32:51 ---> sudo-logs.sh 06:32:51 Archiving 'sudo' log.. [Pipeline] echo 06:32:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:32:52 ---> job-cost.sh 06:32:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cusQ 06:33:02 Cache entry deserialization failed, entry ignored 06:33:02 Cache entry deserialization failed, entry ignored 06:33:02 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:04 Cache entry deserialization failed, entry ignored 06:33:10 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:33:36 lf-activate-venv(): INFO: Adding /tmp/venv-cusQ/bin to PATH 06:33:36 INFO: No Stack... 06:33:37 INFO: Retrieving Pricing Info for: v1-standard-2 06:33:38 INFO: Archiving Costs [Pipeline] echo 06:33:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:33:38 ---> logs-deploy.sh 06:33:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-623/1 06:33:38 INFO: archiving workspace using pattern(s): 06:33:40 Archives upload complete. 06:33:40 INFO: archiving logs to Nexus