Pull request #608 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 94304f60d05e6aa515e63258bee0722fc87847b4+5d943473fe8cb7b2263b29163a15a9eda06ca963 (e036e91fc7da29d03be6e82d963f2f8799e81f3d) 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-608/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-608/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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-2978’ is offline Running on prd-centos7-docker-4c-2g-2980 in /w/workspace/dgexfoundry_device-sdk-go_PR-608 [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-608 # 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/608/head:refs/remotes/origin/PR-608 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 94304f60d05e6aa515e63258bee0722fc87847b4 Merge succeeded, producing 94304f60d05e6aa515e63258bee0722fc87847b4 Checking out Revision 94304f60d05e6aa515e63258bee0722fc87847b4 (PR-608) > git config core.sparsecheckout # timeout=10 > git checkout -f 94304f60d05e6aa515e63258bee0722fc87847b4 # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94304f60d05e6aa515e63258bee0722fc87847b4 # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.0 to 1.1.2" 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:17:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:17:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:17:58 ========================================================= 06:17:58 EdgeX Global Pipelines Version Info 06:17:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:18:01 ------------------- 06:18:01 stable info: 06:18:01 ------------------- 06:18:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:18:01 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:18:01 Message: update stable to v1.0.131 06:18:02 ------------------- 06:18:02 experimental info: 06:18:02 ------------------- 06:18:02 Commited By: Emilio Reyes emilio.reyes@intel.com 06:18:02 Commit SHA: 037048ec40675a742bbe4f4e63335516fc22ae8d 06:18:02 Message: update experimental to v1.0.133 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:18:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:18:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:18:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:18:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:18:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:18:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:18:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:18:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:18:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:18:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:18:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:18:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:18:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:18:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:18:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:18:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:18:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:18:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:18:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:18:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:18:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:18:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:18:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-608 [Pipeline] echo 06:18:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-608 [Pipeline] echo 06:18:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-608 [Pipeline] echo 06:18:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94304f60d05e6aa515e63258bee0722fc87847b4 [Pipeline] echo 06:18:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94304f6 [Pipeline] echo 06:18:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:07 + git log --format=format:%s -1 94304f60d05e6aa515e63258bee0722fc87847b4 [Pipeline] echo 06:18:07 GIT_COMMIT: 94304f60d05e6aa515e63258bee0722fc87847b4, Commit Message: build(deps): bump github.com/google/uuid from 1.1.0 to 1.1.2 [Pipeline] echo 06:18:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:18:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:18:08 06:18:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:18:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:18:09 latest: Pulling from edgex-devops/git-semver 06:18:09 31603596830f: Pulling fs layer 06:18:09 2a8b12db71e7: Pulling fs layer 06:18:09 6ca5941a6612: Pulling fs layer 06:18:09 ecc8261a40a4: Pulling fs layer 06:18:09 ecc8261a40a4: Waiting 06:18:09 2a8b12db71e7: Verifying Checksum 06:18:09 2a8b12db71e7: Download complete 06:18:09 31603596830f: Verifying Checksum 06:18:09 31603596830f: Download complete 06:18:09 6ca5941a6612: Verifying Checksum 06:18:09 6ca5941a6612: Download complete 06:18:09 ecc8261a40a4: Verifying Checksum 06:18:09 ecc8261a40a4: Download complete 06:18:09 31603596830f: Pull complete 06:18:09 2a8b12db71e7: Pull complete 06:18:11 6ca5941a6612: Pull complete 06:18:11 ecc8261a40a4: Pull complete 06:18:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:18:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:18:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:18:11 prd-centos7-docker-4c-2g-2980 does not seem to be running inside a container 06:18:11 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-608 -v /w/workspace/dgexfoundry_device-sdk-go_PR-608:/w/workspace/dgexfoundry_device-sdk-go_PR-608:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-608@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-608@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:18:13 $ docker top 251ee0677b7b27901f87f4953d5f5d7e3d4c4fd1111a5bb3ecfa2c127d267858 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:14 [ssh-agent] Looking for ssh-agent implementation... 06:18:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:14 $ docker exec 251ee0677b7b27901f87f4953d5f5d7e3d4c4fd1111a5bb3ecfa2c127d267858 ssh-agent 06:18:14 SSH_AUTH_SOCK=/tmp/ssh-S4ym9p3cvTte/agent.11 06:18:14 SSH_AGENT_PID=16 06:18:14 Running ssh-add (command line suppressed) 06:18:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-608@tmp/private_key_1345554616488536317.key (/w/workspace/dgexfoundry_device-sdk-go_PR-608@tmp/private_key_1345554616488536317.key) 06:18:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:15 + git describe --exact-match --tags HEAD 06:18:15 fatal: no tag exactly matches '94304f60d05e6aa515e63258bee0722fc87847b4' [Pipeline] } 06:18:15 $ docker exec --env ******** --env ******** 251ee0677b7b27901f87f4953d5f5d7e3d4c4fd1111a5bb3ecfa2c127d267858 ssh-agent -k 06:18:15 unset SSH_AUTH_SOCK; 06:18:15 unset SSH_AGENT_PID; 06:18:15 echo Agent pid 16 killed; 06:18:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:18:16 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:18:16 This usually means this commit has not been tagged. [Pipeline] sshagent 06:18:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:16 [ssh-agent] Looking for ssh-agent implementation... 06:18:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:16 $ docker exec 251ee0677b7b27901f87f4953d5f5d7e3d4c4fd1111a5bb3ecfa2c127d267858 ssh-agent 06:18:17 SSH_AUTH_SOCK=/tmp/ssh-HROJGeKiTQnH/agent.45 06:18:17 SSH_AGENT_PID=50 06:18:17 Running ssh-add (command line suppressed) 06:18:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-608@tmp/private_key_1276515456620046113.key (/w/workspace/dgexfoundry_device-sdk-go_PR-608@tmp/private_key_1276515456620046113.key) 06:18:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:17 + git semver init 06:18:17 # -> Open(): unable to determine branch for HEAD 06:18:17 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-608/.git 06:18:17 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-608 06:18:17 # $SEMVER_REMOTE_NAME = origin 06:18:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:18:17 # $SEMVER_USER_NAME = edgex-jenkins 06:18:17 # $SEMVER_BRANCH = PR-608 06:18:17 # $SEMVER_TEMP = /tmp/semver-892593919 06:18:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:18:18 # '/tmp/semver-892593919' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-608/.semver' 06:18:18 # -> Force: false 06:18:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-608/.semver [Pipeline] } 06:18:18 $ docker exec --env ******** --env ******** 251ee0677b7b27901f87f4953d5f5d7e3d4c4fd1111a5bb3ecfa2c127d267858 ssh-agent -k 06:18:18 unset SSH_AUTH_SOCK; 06:18:18 unset SSH_AGENT_PID; 06:18:18 echo Agent pid 50 killed; 06:18:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:19 + git semver [Pipeline] } 06:18:19 $ docker stop --time=1 251ee0677b7b27901f87f4953d5f5d7e3d4c4fd1111a5bb3ecfa2c127d267858 06:18:21 $ docker rm -f 251ee0677b7b27901f87f4953d5f5d7e3d4c4fd1111a5bb3ecfa2c127d267858 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:18:22 Stashed 41 file(s) [Pipeline] echo 06:18:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:18:22 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:18:38 Still waiting to schedule task 06:18:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:18:38 Still waiting to schedule task 06:18:38 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2971’ 06:21:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2983 in /w/workspace/dgexfoundry_device-sdk-go_PR-608 [Pipeline] { [Pipeline] ws 06:21:14 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:21:19 using credential edgex-jenkins-ssh 06:21:19 Cloning the remote Git repository 06:21:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:21:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:21:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:21:19 > git --version # timeout=10 06:21:20 > git --version # 'git version 2.17.1' 06:21:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:21:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:21:21 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 94304f60d05e6aa515e63258bee0722fc87847b4 06:21:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:21:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:21:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:21:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:21:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:21:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/608/head:refs/remotes/origin/PR-608 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:21:22 Merge succeeded, producing 94304f60d05e6aa515e63258bee0722fc87847b4 06:21:22 Checking out Revision 94304f60d05e6aa515e63258bee0722fc87847b4 (PR-608) 06:21:21 > git config core.sparsecheckout # timeout=10 06:21:21 > git checkout -f 94304f60d05e6aa515e63258bee0722fc87847b4 # timeout=10 06:21:21 > git remote # timeout=10 06:21:21 > git config --get remote.origin.url # timeout=10 06:21:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:21:22 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 06:21:22 > git rev-parse HEAD^{commit} # timeout=10 06:21:22 > git config core.sparsecheckout # timeout=10 06:21:22 > git checkout -f 94304f60d05e6aa515e63258bee0722fc87847b4 # timeout=10 06:21:26 Commit message: "build(deps): bump github.com/google/uuid from 1.1.0 to 1.1.2" 06:21:26 > git --version # timeout=10 06:21:26 > git --version # 'git version 2.17.1' 06:21:26 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:21:28 ========================================================= 06:21:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:21:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:21:29 + 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:21:30 Sending build context to Docker daemon 3.437MB 06:21:30 Step 1/8 : ARG BASE=golang:1.15-alpine 06:21:30 Step 2/8 : FROM ${BASE} 06:21:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:21:30 b538f80385f9: Pulling fs layer 06:21:30 74f711af9a0d: Pulling fs layer 06:21:30 99f96fe45779: Pulling fs layer 06:21:30 8529a6b9a6be: Pulling fs layer 06:21:30 45590311c82a: Pulling fs layer 06:21:30 69ca0ff8b7b3: Pulling fs layer 06:21:30 209524e5b208: Pulling fs layer 06:21:30 45590311c82a: Waiting 06:21:30 69ca0ff8b7b3: Waiting 06:21:30 209524e5b208: Waiting 06:21:30 8529a6b9a6be: Waiting 06:21:30 99f96fe45779: Verifying Checksum 06:21:30 99f96fe45779: Download complete 06:21:30 74f711af9a0d: Verifying Checksum 06:21:30 74f711af9a0d: Download complete 06:21:30 45590311c82a: Verifying Checksum 06:21:30 45590311c82a: Download complete 06:21:31 69ca0ff8b7b3: Verifying Checksum 06:21:31 69ca0ff8b7b3: Download complete 06:21:31 b538f80385f9: Verifying Checksum 06:21:31 b538f80385f9: Download complete 06:21:32 b538f80385f9: Pull complete 06:21:32 74f711af9a0d: Pull complete 06:21:32 99f96fe45779: Pull complete 06:21:33 209524e5b208: Verifying Checksum 06:21:33 209524e5b208: Download complete 06:21:34 8529a6b9a6be: Verifying Checksum 06:21:34 8529a6b9a6be: Download complete 06:21:45 8529a6b9a6be: Pull complete 06:21:45 45590311c82a: Pull complete 06:21:45 69ca0ff8b7b3: Pull complete 06:21:48 209524e5b208: Pull complete 06:21:48 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:21:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:21:48 ---> 5bddaf1c2fca 06:21:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:21:52 ---> Running in db5ec5d31d47 06:21:52 Removing intermediate container db5ec5d31d47 06:21:52 ---> 3f62e2f8ad6a 06:21:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:21:52 ---> Running in 63f19ea0acdf 06:21:54 Removing intermediate container 63f19ea0acdf 06:21:54 ---> 5dd44dd40f9c 06:21:54 Step 5/8 : RUN apk add --no-cache make git 06:21:55 ---> Running in 9bc63e1b22f6 06:21:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:21:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:21:57 OK: 142 MiB in 39 packages 06:21:58 Removing intermediate container 9bc63e1b22f6 06:21:58 ---> e39d800010bc 06:21:58 Step 6/8 : WORKDIR /device-sdk-go 06:21:59 ---> Running in d3ed834bc212 06:21:59 Removing intermediate container d3ed834bc212 06:21:59 ---> c64e8b471423 06:21:59 Step 7/8 : COPY . . 06:22:01 ---> d9a01a6337ea 06:22:01 Step 8/8 : RUN go mod download 06:22:01 ---> Running in ba1196615f33 06:22:23 Removing intermediate container ba1196615f33 06:22:23 ---> 9e1f2f16649a 06:22:23 Successfully built 9e1f2f16649a 06:22:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:22:23 + docker inspect -f . ci-base-image-arm64 06:22:23 . [Pipeline] withDockerContainer 06:22:24 prd-ubuntu18.04-docker-arm64-4c-16g-2983 does not seem to be running inside a container 06:22:24 $ 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:22:26 $ docker top 11e1c1fe1c452f3fe8d7e4f6877044b995044415104bb2b9e40ff87701e74054 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:27 + go version 06:22:27 go version go1.15.2 linux/arm64 [Pipeline] } 06:22:27 $ docker stop --time=1 11e1c1fe1c452f3fe8d7e4f6877044b995044415104bb2b9e40ff87701e74054 06:22:29 $ docker rm -f 11e1c1fe1c452f3fe8d7e4f6877044b995044415104bb2b9e40ff87701e74054 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:22:31 + docker inspect -f . ci-base-image-arm64 06:22:31 . [Pipeline] withDockerContainer 06:22:31 prd-ubuntu18.04-docker-arm64-4c-16g-2983 does not seem to be running inside a container 06:22:31 $ 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:22:33 $ docker top 8024597b7df90aba21ea20a59ebdbb66b8d9895ca02b44decdadcd8f86b00bcd -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:34 + make test 06:22:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:22:37 Running on prd-centos7-docker-4c-2g-2984 in /w/workspace/dgexfoundry_device-sdk-go_PR-608 [Pipeline] { [Pipeline] ws 06:22:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:22:40 using credential edgex-jenkins-ssh 06:22:40 Cloning the remote Git repository 06:22:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:22:40 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:22:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:22:41 > git --version # timeout=10 06:22:41 > git --version # 'git version 2.16.5' 06:22:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:22:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:22:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:22:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/608/head:refs/remotes/origin/PR-608 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:22:42 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 94304f60d05e6aa515e63258bee0722fc87847b4 06:22:42 Merge succeeded, producing 94304f60d05e6aa515e63258bee0722fc87847b4 06:22:42 Checking out Revision 94304f60d05e6aa515e63258bee0722fc87847b4 (PR-608) 06:22:42 > git config core.sparsecheckout # timeout=10 06:22:42 > git checkout -f 94304f60d05e6aa515e63258bee0722fc87847b4 # timeout=10 06:22:42 > git remote # timeout=10 06:22:42 > git config --get remote.origin.url # timeout=10 06:22:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:42 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 06:22:42 > git rev-parse HEAD^{commit} # timeout=10 06:22:42 > git config core.sparsecheckout # timeout=10 06:22:42 > git checkout -f 94304f60d05e6aa515e63258bee0722fc87847b4 # timeout=10 06:22:46 Commit message: "build(deps): bump github.com/google/uuid from 1.1.0 to 1.1.2" 06:22:46 > git --version # timeout=10 06:22:46 > git --version # 'git version 2.16.5' 06:22:46 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:22:47 ========================================================= 06:22:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:22:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:22:48 + 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:22:48 Sending build context to Docker daemon 3.439MB 06:22:48 Step 1/8 : ARG BASE=golang:1.15-alpine 06:22:48 Step 2/8 : FROM ${BASE} 06:22:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:22:48 df20fa9351a1: Pulling fs layer 06:22:48 ed8968b2872e: Pulling fs layer 06:22:48 a92cc7c5fd73: Pulling fs layer 06:22:48 e871e8e8d7a9: Pulling fs layer 06:22:48 e73272ec9a57: Pulling fs layer 06:22:48 1e910a182e73: Pulling fs layer 06:22:48 4e634b169226: Pulling fs layer 06:22:48 e871e8e8d7a9: Waiting 06:22:48 e73272ec9a57: Waiting 06:22:48 1e910a182e73: Waiting 06:22:48 4e634b169226: Waiting 06:22:48 a92cc7c5fd73: Verifying Checksum 06:22:48 a92cc7c5fd73: Download complete 06:22:48 ed8968b2872e: Verifying Checksum 06:22:48 ed8968b2872e: Download complete 06:22:48 e73272ec9a57: Verifying Checksum 06:22:48 e73272ec9a57: Download complete 06:22:48 1e910a182e73: Verifying Checksum 06:22:48 1e910a182e73: Download complete 06:22:48 df20fa9351a1: Verifying Checksum 06:22:48 df20fa9351a1: Download complete 06:22:49 df20fa9351a1: Pull complete 06:22:49 ed8968b2872e: Pull complete 06:22:49 a92cc7c5fd73: Pull complete 06:22:50 4e634b169226: Verifying Checksum 06:22:50 4e634b169226: Download complete 06:22:51 e871e8e8d7a9: Verifying Checksum 06:22:51 e871e8e8d7a9: Download complete 06:22:56 e871e8e8d7a9: Pull complete 06:22:56 e73272ec9a57: Pull complete 06:22:56 1e910a182e73: Pull complete 06:22:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:23:00 4e634b169226: Pull complete 06:23:00 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:23:00 ---> f7629b54cfaa 06:23:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:23:01 ---> Running in 45d05c32bcff 06:23:01 Removing intermediate container 45d05c32bcff 06:23:01 ---> 404a3b597c8c 06:23:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:01 ---> Running in ee6973b10b93 06:23:02 Removing intermediate container ee6973b10b93 06:23:02 ---> 1af75fd8d814 06:23:02 Step 5/8 : RUN apk add --no-cache make git 06:23:02 ---> Running in 50cb3c959006 06:23:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:23:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:23:05 OK: 166 MiB in 39 packages 06:23:05 Removing intermediate container 50cb3c959006 06:23:05 ---> fe3021ad26d9 06:23:05 Step 6/8 : WORKDIR /device-sdk-go 06:23:05 ---> Running in 553460b3f6f4 06:23:06 Removing intermediate container 553460b3f6f4 06:23:06 ---> 7ea3da3f1e2e 06:23:06 Step 7/8 : COPY . . 06:23:07 ---> d42bd1d41c40 06:23:07 Step 8/8 : RUN go mod download 06:23:07 ---> Running in 0733b9eda05b 06:23:26 Removing intermediate container 0733b9eda05b 06:23:26 ---> 6bda4f97c606 06:23:26 Successfully built 6bda4f97c606 06:23:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:23:26 + docker inspect -f . ci-base-image-x86_64 06:23:26 . [Pipeline] withDockerContainer 06:23:26 prd-centos7-docker-4c-2g-2984 does not seem to be running inside a container 06:23:27 $ 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:23:27 $ docker top fa2439d14f3b73887c550d19e60e9dcdac95ad25f7b85fa909f95b51b00327e1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:28 + go version 06:23:28 go version go1.15.2 linux/amd64 [Pipeline] } 06:23:28 $ docker stop --time=1 fa2439d14f3b73887c550d19e60e9dcdac95ad25f7b85fa909f95b51b00327e1 06:23:29 $ docker rm -f fa2439d14f3b73887c550d19e60e9dcdac95ad25f7b85fa909f95b51b00327e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:23:31 + docker inspect -f . ci-base-image-x86_64 06:23:31 . [Pipeline] withDockerContainer 06:23:31 prd-centos7-docker-4c-2g-2984 does not seem to be running inside a container 06:23:31 $ 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:23:31 $ docker top 0433ec0e0bab32dec2a6bc55d54741baa83bc45edae1822d87f102d6e84af858 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:32 + make test 06:23:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:23:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:23:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:23:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:23:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 21.6% of statements 06:23:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:23:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.125s coverage: 97.1% of statements 06:23:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:23:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:23:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:23:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 21.6% of statements 06:23:54 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.437s coverage: 97.1% of statements 06:24:08 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.115s coverage: 9.4% of statements 06:24:08 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.128s coverage: 21.9% of statements 06:24:08 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:24:08 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.583s coverage: 39.5% of statements 06:24:08 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:24:08 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.795s coverage: 65.4% of statements 06:24:08 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:24:08 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:24:08 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:24:08 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:24:08 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.178s coverage: 52.6% of statements 06:24:08 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:24:08 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.767s coverage: 68.9% of statements 06:24:08 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:24:08 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:24:08 GO111MODULE=on go vet ./... 06:24:26 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements 06:24:26 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements 06:24:26 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:24:26 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.197s coverage: 39.5% of statements 06:24:26 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:24:26 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.282s coverage: 65.4% of statements 06:24:26 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:24:26 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:24:26 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:24:26 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:24:26 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements 06:24:26 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:24:26 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.355s coverage: 68.9% of statements 06:24:26 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:24:26 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:24:26 GO111MODULE=on go vet ./... 06:24:33 gofmt -l . 06:24:33 [ "`gofmt -l .`" = "" ] 06:24:33 ./bin/test-attribution-txt.sh 06:24:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:24:34 Stashed 1 file(s) [Pipeline] } 06:24:34 $ docker stop --time=1 0433ec0e0bab32dec2a6bc55d54741baa83bc45edae1822d87f102d6e84af858 06:24:36 $ docker rm -f 0433ec0e0bab32dec2a6bc55d54741baa83bc45edae1822d87f102d6e84af858 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:24:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:24:38 + ls -al . 06:24:38 total 192 06:24:38 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 2 06:24 . 06:24:38 drwxrwxr-x. 4 jenkins jenkins 28 Oct 2 06:22 .. 06:24:38 drwxrwxr-x. 2 jenkins jenkins 64 Oct 2 06:22 bin 06:24:38 -rw-r--r--. 1 jenkins jenkins 111041 Oct 2 06:24 coverage.out 06:24:38 -rw-rw-r--. 1 jenkins jenkins 936 Oct 2 06:22 Dockerfile.build 06:24:38 -rw-rw-r--. 1 jenkins jenkins 140 Oct 2 06:22 .dockerignore 06:24:38 drwxrwxr-x. 4 jenkins jenkins 48 Oct 2 06:22 example 06:24:38 drwxrwxr-x. 8 jenkins jenkins 179 Oct 2 06:22 .git 06:24:38 drwxrwxr-x. 2 jenkins jenkins 60 Oct 2 06:22 .github 06:24:38 -rw-rw-r--. 1 jenkins jenkins 138 Oct 2 06:22 .gitignore 06:24:38 -rw-r--r--. 1 jenkins jenkins 517 Oct 2 06:24 go.mod 06:24:38 -rw-r--r--. 1 jenkins jenkins 13652 Oct 2 06:24 go.sum 06:24:38 drwxrwxr-x. 15 jenkins jenkins 211 Oct 2 06:22 internal 06:24:38 -rw-rw-r--. 1 jenkins jenkins 785 Oct 2 06:22 Jenkinsfile 06:24:38 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 2 06:22 LICENSE 06:24:38 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 2 06:22 Makefile 06:24:38 drwxrwxr-x. 4 jenkins jenkins 26 Oct 2 06:22 openapi 06:24:38 drwxrwxr-x. 5 jenkins jenkins 50 Oct 2 06:22 pkg 06:24:38 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 2 06:22 README.md 06:24:38 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 2 06:22 RELEASE-NOTES.txt 06:24:38 drwxrwxr-x. 3 jenkins jenkins 58 Oct 2 06:22 .semver 06:24:38 drwxrwxr-x. 4 jenkins jenkins 54 Oct 2 06:22 snap 06:24:38 -rw-rw-r--. 1 jenkins jenkins 5 Oct 2 06:18 VERSION 06:24:38 -rw-rw-r--. 1 jenkins jenkins 222 Oct 2 06:22 version.go [Pipeline] isUnix [Pipeline] sh 06:24:38 + 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=94304f60d05e6aa515e63258bee0722fc87847b4 --label arch=amd64 --label version=0.0.0 . 06:24:38 Sending build context to Docker daemon 3.551MB 06:24:38 Step 1/24 : ARG BASE=golang:1.15-alpine 06:24:38 Step 2/24 : FROM ${BASE} AS builder 06:24:38 ---> 6bda4f97c606 06:24:38 Step 3/24 : ARG MAKE='make build' 06:24:39 ---> Running in be57957c78ff 06:24:39 Removing intermediate container be57957c78ff 06:24:39 ---> cedb9d23fe83 06:24:39 Step 4/24 : WORKDIR /device-sdk-go 06:24:39 ---> Running in 1b94cbeb816a 06:24:39 Removing intermediate container 1b94cbeb816a 06:24:39 ---> e59d144f8b1b 06:24:39 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:24:40 ---> Running in a56be8b6c249 06:24:40 Removing intermediate container a56be8b6c249 06:24:40 ---> 61cda418b56a 06:24:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:24:40 ---> Running in 206fdc0a88de 06:24:40 gofmt -l . 06:24:40 [ "`gofmt -l .`" = "" ] 06:24:40 ./bin/test-attribution-txt.sh 06:24:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:24:40 Warning: overwriting stash ‘coverage-report’ 06:24:41 Removing intermediate container 206fdc0a88de 06:24:41 ---> 0dee183a4e08 06:24:41 Step 7/24 : RUN apk add --update --no-cache make git 06:24:41 ---> Running in 11dbc5710a28 06:24:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:24:41 Stashed 1 file(s) [Pipeline] } 06:24:41 $ docker stop --time=1 8024597b7df90aba21ea20a59ebdbb66b8d9895ca02b44decdadcd8f86b00bcd 06:24:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:24:42 OK: 166 MiB in 39 packages 06:24:43 Removing intermediate container 11dbc5710a28 06:24:43 ---> e4df05e0b73f 06:24:43 Step 8/24 : COPY . . 06:24:44 $ docker rm -f 8024597b7df90aba21ea20a59ebdbb66b8d9895ca02b44decdadcd8f86b00bcd 06:24:44 ---> d99249512947 06:24:44 Step 9/24 : RUN ${MAKE} 06:24:44 ---> Running in 974a305fc79d 06:24: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 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:24:46 + ls -al . 06:24:46 total 232 06:24:46 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 06:24 . 06:24:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 06:21 .. 06:24:46 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 06:21 .dockerignore 06:24:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 06:21 .git 06:24:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 06:21 .github 06:24:46 -rw-rw-r-- 1 jenkins jenkins 138 Oct 2 06:21 .gitignore 06:24:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 06:21 .semver 06:24:46 -rw-rw-r-- 1 jenkins jenkins 936 Oct 2 06:21 Dockerfile.build 06:24:46 -rw-rw-r-- 1 jenkins jenkins 785 Oct 2 06:21 Jenkinsfile 06:24:46 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 06:21 LICENSE 06:24:46 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 2 06:21 Makefile 06:24:46 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 2 06:21 README.md 06:24:46 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 2 06:21 RELEASE-NOTES.txt 06:24:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 06:18 VERSION 06:24:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 06:21 bin 06:24:46 -rw-r--r-- 1 jenkins jenkins 111041 Oct 2 06:24 coverage.out 06:24:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 06:21 example 06:24:46 -rw-r--r-- 1 jenkins jenkins 517 Oct 2 06:24 go.mod 06:24:46 -rw-r--r-- 1 jenkins jenkins 13652 Oct 2 06:24 go.sum 06:24:46 drwxrwxr-x 15 jenkins jenkins 4096 Oct 2 06:21 internal 06:24:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 06:21 openapi 06:24:46 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 06:21 pkg 06:24:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 06:21 snap 06:24:46 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 06:21 version.go [Pipeline] isUnix [Pipeline] sh 06:24:46 + 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=94304f60d05e6aa515e63258bee0722fc87847b4 --label arch=arm64 --label version=0.0.0 . 06:24:47 Sending build context to Docker daemon 3.549MB 06:24:47 Step 1/24 : ARG BASE=golang:1.15-alpine 06:24:47 Step 2/24 : FROM ${BASE} AS builder 06:24:47 ---> 9e1f2f16649a 06:24:47 Step 3/24 : ARG MAKE='make build' 06:24:47 ---> Running in 564f53d317ae 06:24:48 Removing intermediate container 564f53d317ae 06:24:48 ---> 6a94267325bd 06:24:48 Step 4/24 : WORKDIR /device-sdk-go 06:24:48 ---> Running in fbdfb32e4c17 06:24:48 Removing intermediate container fbdfb32e4c17 06:24:48 ---> 0abc627a406e 06:24:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:24:48 ---> Running in a01f43cc43de 06:24:49 Removing intermediate container a01f43cc43de 06:24:49 ---> c48a407995e2 06:24:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:24:49 ---> Running in 1cfcc6eb5ee1 06:24:52 Removing intermediate container 1cfcc6eb5ee1 06:24:52 ---> 63e674937608 06:24:52 Step 7/24 : RUN apk add --update --no-cache make git 06:24:52 ---> Running in 46b2b1391d19 06:24:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:24:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:24:54 Removing intermediate container 974a305fc79d 06:24:54 ---> 44c80ea1cb41 06:24:54 Step 10/24 : FROM scratch 06:24:54 ---> 06:24:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:24:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:24:54 ---> Running in 260206ad1362 06:24:54 Removing intermediate container 260206ad1362 06:24:54 ---> dbf021848b36 06:24:54 Step 12/24 : ENV APP_PORT=49990 06:24:54 ---> Running in f26c903a5a2f 06:24:54 Removing intermediate container f26c903a5a2f 06:24:54 ---> 45aa78116907 06:24:54 Step 13/24 : EXPOSE $APP_PORT 06:24:54 ---> Running in 4b29c4a39167 06:24:54 Removing intermediate container 4b29c4a39167 06:24:54 ---> 9927fce926f9 06:24:54 Step 14/24 : WORKDIR / 06:24:54 ---> Running in a4493fe4d68f 06:24:55 OK: 142 MiB in 39 packages 06:24:55 Removing intermediate container a4493fe4d68f 06:24:55 ---> b9b012eb2e5f 06:24:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:24:56 ---> dcbad226d0b9 06:24:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:24:56 ---> 6d1f9ba9a5e5 06:24:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:24:56 Removing intermediate container 46b2b1391d19 06:24:56 ---> b6338464b566 06:24:56 Step 8/24 : COPY . . 06:24:56 ---> b7afac9c874a 06:24:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:24:56 ---> d57cd5acabca 06:24:56 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:24:56 ---> 923c9afb5a8f 06:24:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:24:57 ---> Running in 77dcfd1efa30 06:24:57 Removing intermediate container 77dcfd1efa30 06:24:57 ---> bdbb526c8c9e 06:24:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:24:57 ---> Running in 81ecba4c56fd 06:24:57 Removing intermediate container 81ecba4c56fd 06:24:57 ---> 91934b071b08 06:24:57 Step 22/24 : LABEL arch=amd64 06:24:57 ---> Running in 22073a129ded 06:24:57 Removing intermediate container 22073a129ded 06:24:57 ---> 6afe52988bfd 06:24:57 Step 23/24 : LABEL git_sha=94304f60d05e6aa515e63258bee0722fc87847b4 06:24:57 ---> Running in 4055b5315a7e 06:24:57 Removing intermediate container 4055b5315a7e 06:24:57 ---> 5b94f3b17679 06:24:57 Step 24/24 : LABEL version=0.0.0 06:24:57 ---> Running in bd0fa75ac857 06:24:57 ---> 56d9baf8fb2c 06:24:57 Step 9/24 : RUN ${MAKE} 06:24:57 ---> Running in 53e9d3fec695 06:24:58 Removing intermediate container bd0fa75ac857 06:24:58 ---> 991b18a06171 06:24:58 [Warning] One or more build-args [ARCH] were not consumed 06:24:58 Successfully built 991b18a06171 06:24:58 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] } 06:24:59 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 [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:25:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:25:26 Removing intermediate container 53e9d3fec695 06:25:26 ---> cf0281b3e5a8 06:25:26 Step 10/24 : FROM scratch 06:25:26 ---> 06:25:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:25:26 ---> Running in 3ace847414e0 06:25:27 Removing intermediate container 3ace847414e0 06:25:27 ---> 71f9af77ddbc 06:25:27 Step 12/24 : ENV APP_PORT=49990 06:25:27 ---> Running in 838f321533ab 06:25:28 Removing intermediate container 838f321533ab 06:25:28 ---> 552b13395c6f 06:25:28 Step 13/24 : EXPOSE $APP_PORT 06:25:28 ---> Running in cc06f9b70ab6 06:25:28 Removing intermediate container cc06f9b70ab6 06:25:28 ---> e2393c6ae1cb 06:25:28 Step 14/24 : WORKDIR / 06:25:28 ---> Running in b90ca58796b9 06:25:28 Removing intermediate container b90ca58796b9 06:25:28 ---> 2b2fdd0d2b7c 06:25:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:25:30 ---> e3e84a5d4feb 06:25:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:25:30 ---> 5fdda1281b6c 06:25:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:25:31 ---> 2f4dd6f73e50 06:25:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:25:32 ---> d84886cac619 06:25:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:25:33 ---> 3cf1697107bc 06:25:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:25:33 ---> Running in ebeee029aacf 06:25:33 Removing intermediate container ebeee029aacf 06:25:33 ---> cb37acbea871 06:25:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:25:33 ---> Running in eb0f20ed4938 06:25:34 Removing intermediate container eb0f20ed4938 06:25:34 ---> b67bf902f1fc 06:25:34 Step 22/24 : LABEL arch=arm64 06:25:34 ---> Running in dffb74cb54fc 06:25:34 Removing intermediate container dffb74cb54fc 06:25:34 ---> c15c04ad21d4 06:25:34 Step 23/24 : LABEL git_sha=94304f60d05e6aa515e63258bee0722fc87847b4 06:25:34 ---> Running in 01f66e81ab2d 06:25:35 Removing intermediate container 01f66e81ab2d 06:25:35 ---> f0a39afdd3ee 06:25:35 Step 24/24 : LABEL version=0.0.0 06:25:35 ---> Running in c737d76862c5 06:25:36 Removing intermediate container c737d76862c5 06:25:36 ---> 37c0992a0c21 06:25:36 [Warning] One or more build-args [ARCH] were not consumed 06:25:36 Successfully built 37c0992a0c21 06:25:36 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:25:38 provisioning config files... 06:25:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-608@tmp/config2130455207418965439tmp [Pipeline] { [Pipeline] sh 06:25:39 + set +x 06:25:39 + curl -s https://codecov.io/bash 06:25:39 + bash -s -- 06:25:39 06:25:39 _____ _ 06:25:39 / ____| | | 06:25:39 | | ___ __| | ___ ___ _____ __ 06:25:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:25:39 | |___| (_) | (_| | __/ (_| (_) \ V / 06:25:39 \_____\___/ \__,_|\___|\___\___/ \_/ 06:25:39 Bash-20200917-4e8f14b 06:25:39 06:25:39 06:25:39 ==> Jenkins CI detected. 06:25:39 project root: . 06:25:39 --> token set from env 06:25:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:25:39 ==> Running gcov in . (disable via -X gcov) 06:25:39 ==> Python coveragepy not found 06:25:39 ==> Searching for coverage reports in: 06:25:39 + . 06:25:39 -> Found 1 reports 06:25:39 ==> Detecting git/mercurial file structure 06:25:39 ==> Reading reports 06:25:39 + ./coverage.out bytes=111041 06:25:39 ==> Appending adjustments 06:25:39 https://docs.codecov.io/docs/fixing-reports 06:25:40 + Found adjustments 06:25:40 ==> Gzipping contents 06:25:40 ==> Uploading reports 06:25:40 url: https://codecov.io 06:25:40 query: branch=PR-608&commit=94304f60d05e6aa515e63258bee0722fc87847b4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-608%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=608&job=&cmd_args= 06:25:40 -> Pinging Codecov 06:25:40 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-608&commit=94304f60d05e6aa515e63258bee0722fc87847b4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-608%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=608&job=&cmd_args= 06:25:40 -> Uploading to 06:25:40 https://storage.googleapis.com/codecov/v4/raw/2020-10-02/7E55EF52A471D76F132DFD9A03CDDE97/94304f60d05e6aa515e63258bee0722fc87847b4/a794d9d7-ce20-405e-b090-24df738bb665.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201002%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201002T062540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ae46bd92cadf3e33cd32768c49ce246488a362010853fe09c2b24a150e9f68a 06:25:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:25:40 Dload Upload Total Spent Left Speed 06:25:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18329 0 0 100 18329 0 34821 --:--:-- --:--:-- --:--:-- 34846 06:25:41 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/94304f60d05e6aa515e63258bee0722fc87847b4 [Pipeline] } 06:25:41 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:25:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:25:45 ---> package-listing.sh 06:25:45 ++ facter osfamily 06:25:45 ++ tr '[:upper:]' '[:lower:]' 06:25:45 + OS_FAMILY=redhat 06:25:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-608 06:25:45 + START_PACKAGES=/tmp/packages_start.txt 06:25:45 + END_PACKAGES=/tmp/packages_end.txt 06:25:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:25:45 + PACKAGES=/tmp/packages_start.txt 06:25:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-608 ']' 06:25:45 + PACKAGES=/tmp/packages_end.txt 06:25:45 + case "${OS_FAMILY}" in 06:25:45 + rpm -qa 06:25:45 + sort 06:25:49 + '[' -f /tmp/packages_start.txt ']' 06:25:49 + '[' -f /tmp/packages_end.txt ']' 06:25:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:25:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-608 ']' 06:25:49 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-608/archives/ 06:25:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-608/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:25:50 provisioning config files... 06:25:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-608@tmp/config1418132519838713669tmp [Pipeline] { [Pipeline] echo 06:25:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:25:50 ---> create-netrc.sh [Pipeline] } 06:25:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:25:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:25:51 ---> python-tools-install.sh 06:25:51 Generating Requirements File 06:27:43 Python 3.6.8 06:27:43 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:27:43 aiohttp==3.6.2 06:27:43 appdirs==1.4.3 06:27:43 argcomplete==1.12.1 06:27:43 aspy.yaml==1.3.0 06:27:43 async-timeout==3.0.1 06:27:43 attrs==19.3.0 06:27:43 Babel==2.8.0 06:27:43 beautifulsoup4==4.8.2 06:27:43 boto3==1.11.6 06:27:43 botocore==1.14.6 06:27:43 bs4==0.0.1 06:27:43 cachetools==4.1.1 06:27:43 certifi==2019.11.28 06:27:43 cffi==1.14.3 06:27:43 cfgv==2.0.1 06:27:43 chardet==3.0.4 06:27:43 click==7.1 06:27:43 cliff==3.4.0 06:27:43 cmd2==1.3.11 06:27:43 colorama==0.4.3 06:27:43 cryptography==3.1.1 06:27:43 debtcollector==2.2.0 06:27:43 decorator==4.4.2 06:27:43 defusedxml==0.6.0 06:27:43 Deprecated==1.2.7 06:27:43 distlib==0.3.1 06:27:43 distro==1.2.0 06:27:43 dnspython==1.16.0 06:27:43 docker==4.2.0 06:27:43 docutils==0.15.2 06:27:43 dogpile.cache==1.0.2 06:27:43 email-validator==1.0.5 06:27:43 filelock==3.0.12 06:27:43 future==0.18.2 06:27:43 google-auth==1.22.0 06:27:43 httplib2==0.17.0 06:27:43 identify==1.4.11 06:27:43 idna==2.9 06:27:43 idna-ssl==1.1.0 06:27:43 importlib-metadata==1.7.0 06:27:43 importlib-resources==1.5.0 06:27:43 iso8601==0.1.13 06:27:43 Jinja2==2.11.1 06:27:43 jmespath==0.10.0 06:27:43 jsonpatch==1.26 06:27:43 jsonpointer==2.0 06:27:43 jsonschema==3.2.0 06:27:43 keystoneauth1==4.2.1 06:27:43 kubernetes==11.0.0 06:27:43 lftools==0.34.2 06:27:43 lxml==4.5.0 06:27:43 MarkupSafe==0.23 06:27:43 msgpack==1.0.0 06:27:43 multi-key-dict==2.0.3 06:27:43 multidict==4.7.6 06:27:43 munch==2.5.0 06:27:43 netaddr==0.8.0 06:27:43 netifaces==0.10.9 06:27:43 niet==1.4.2 06:27:43 nodeenv==1.3.5 06:27:43 oauth2client==4.1.3 06:27:43 oauthlib==3.1.0 06:27:43 openstacksdk==0.50.0 06:27:43 os-client-config==2.1.0 06:27:43 os-service-types==1.7.0 06:27:43 osc-lib==2.2.1 06:27:43 oslo.config==8.3.2 06:27:43 oslo.context==3.1.1 06:27:43 oslo.i18n==5.0.1 06:27:43 oslo.log==4.4.0 06:27:43 oslo.serialization==4.0.1 06:27:43 oslo.utils==4.6.0 06:27:43 packaging==20.4 06:27:43 pbr==5.4.4 06:27:43 pluggy==0.13.1 06:27:43 prettytable==0.7.2 06:27:43 py==1.9.0 06:27:43 pyasn1==0.4.8 06:27:43 pyasn1-modules==0.2.8 06:27:43 pycparser==2.20 06:27:43 pygerrit2==2.0.10 06:27:43 PyGithub==1.46 06:27:43 pyinotify==0.9.6 06:27:43 PyJWT==1.7.1 06:27:43 pyparsing==2.4.7 06:27:43 pyperclip==1.8.0 06:27:43 pyroute2==0.4.13 06:27:43 pyrsistent==0.15.7 06:27:43 PySocks==1.6.8 06:27:43 python-cinderclient==7.2.0 06:27:43 python-dateutil==2.8.1 06:27:43 python-heatclient==2.2.1 06:27:43 python-jenkins==1.7.0 06:27:43 python-keystoneclient==4.1.1 06:27:43 python-magnumclient==3.2.1 06:27:43 python-novaclient==17.2.1 06:27:43 python-openstackclient==5.3.1 06:27:43 python-swiftclient==3.10.1 06:27:43 pytz==2020.1 06:27:43 PyYAML==5.3 06:27:43 requests==2.23.0 06:27:43 requests-oauthlib==1.3.0 06:27:43 requestsexceptions==1.4.0 06:27:43 rfc3986==1.4.0 06:27:43 rpm==4.11.3 06:27:43 rsa==4.0 06:27:43 ruamel.yaml==0.16.10 06:27:43 ruamel.yaml.clib==0.2.0 06:27:43 s3transfer==0.3.3 06:27:43 shade==1.27.2 06:27:43 simplejson==3.17.2 06:27:43 six==1.14.0 06:27:43 soupsieve==2.0 06:27:43 stevedore==3.2.2 06:27:43 tabulate==0.8.6 06:27:43 toml==0.10.0 06:27:43 tox==3.20.0 06:27:43 tqdm==4.43.0 06:27:43 typing-extensions==3.7.4.3 06:27:43 urllib3==1.25.8 06:27:43 virtualenv==20.0.32 06:27:43 wcwidth==0.2.5 06:27:43 websocket-client==0.57.0 06:27:43 wrapt==1.12.1 06:27:43 xdg==3.0.2 06:27:43 xmltodict==0.12.0 06:27:43 yarl==1.6.0 06:27:43 yq==2.11.1 06:27:43 zipp==3.2.0 06:27:43 Cache entry deserialization failed, entry ignored 06:27:43 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:27:43 Python 2.7.5 06:27:43 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:27:43 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:27:43 ansible==2.9.7 06:27:43 Babel==0.9.6 06:27:43 backports.ssl-match-hostname==3.5.0.1 06:27:43 beautifulsoup4==4.4.1 06:27:43 bodhi==2.11.0 06:27:43 bodhi-client==2.11.0 06:27:43 CCColUtils==1.4 06:27:43 cffi==1.6.0 06:27:43 chardet==2.2.1 06:27:43 click==6.7 06:27:43 cloud-init==18.5 06:27:43 configobj==4.7.2 06:27:43 cryptography==1.7.2 06:27:43 decorator==3.4.0 06:27:43 distro==1.2.0 06:27:43 enum34==1.0.4 06:27:43 fedpkg==1.38 06:27:43 futures==3.1.1 06:27:43 gitdb==0.6.4 06:27:43 GitPython==1.0.1 06:27:43 html5lib==0.999 06:27:43 httplib2==0.9.2 06:27:43 idna==2.4 06:27:43 iniparse==0.4 06:27:43 ipaddress==1.0.16 06:27:43 IPy==0.75 06:27:43 javapackages==1.0.0 06:27:43 Jinja2==2.7.2 06:27:43 jmespath==0.9.4 06:27:43 jsonpatch==1.2 06:27:43 jsonpointer==1.9 06:27:43 kerberos==1.1 06:27:43 kitchen==1.1.1 06:27:43 langtable==0.0.31 06:27:43 lockfile==0.9.1 06:27:43 lxml==3.2.1 06:27:43 MarkupSafe==0.11 06:27:43 munch==2.0.2 06:27:43 offtrac==0.1.0 06:27:43 openidc-client==0.6.0 06:27:43 packagedb-cli==2.14.1 06:27:43 paramiko==2.1.1 06:27:43 perf==0.1 06:27:43 ply==3.4 06:27:43 policycoreutils-default-encoding==0.1 06:27:43 prettytable==0.7.2 06:27:43 pyasn1==0.1.9 06:27:43 pycparser==2.14 06:27:43 pycurl==7.19.0 06:27:43 pygobject==3.22.0 06:27:43 pygpgme==0.3 06:27:43 pyliblzma==0.5.3 06:27:43 pyOpenSSL==0.13.1 06:27:43 pyparsing==1.5.6 06:27:43 pyserial==2.6 06:27:43 python-augeas==0.5.0 06:27:43 python-bugzilla==2.3.0 06:27:43 python-dateutil==1.5 06:27:43 python-fedora==0.10.0 06:27:43 python-linux-procfs==0.4.9 06:27:43 python-yubico==1.2.3 06:27:43 pyudev==0.15 06:27:43 pyusb==1.0.0b1 06:27:43 pyxattr==0.5.1 06:27:43 PyYAML==3.10 06:27:43 requests==2.6.0 06:27:43 requests-kerberos==0.7.0 06:27:43 rpkg==1.60 06:27:43 schedutils==0.4 06:27:43 seobject==0.1 06:27:43 sepolicy==1.1 06:27:43 six==1.9.0 06:27:43 smmap==0.9.0 06:27:43 urlgrabber==3.10 06:27:43 urllib3==1.10.2 06:27:43 virtualenv==15.1.0 06:27:43 yum-langpacks==0.4.2 06:27:43 yum-metadata-parser==1.1.4 [Pipeline] echo 06:27:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:27:43 ---> sudo-logs.sh 06:27:43 Archiving 'sudo' log.. [Pipeline] echo 06:27:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:27:44 ---> job-cost.sh 06:27:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9nF1 06:27:56 Cache entry deserialization failed, entry ignored 06:27:56 Cache entry deserialization failed, entry ignored 06:27:57 Cache entry deserialization failed, entry ignored 06:27:58 Cache entry deserialization failed, entry ignored 06:27:58 Cache entry deserialization failed, entry ignored 06:27:59 Cache entry deserialization failed, entry ignored 06:27:59 Cache entry deserialization failed, entry ignored 06:27:59 Cache entry deserialization failed, entry ignored 06:27:59 Cache entry deserialization failed, entry ignored 06:27:59 Cache entry deserialization failed, entry ignored 06:27:59 Cache entry deserialization failed, entry ignored 06:27:59 Cache entry deserialization failed, entry ignored 06:28:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:28:42 lf-activate-venv(): INFO: Adding /tmp/venv-9nF1/bin to PATH 06:28:42 INFO: No Stack... 06:28:42 INFO: Retrieving Pricing Info for: v1-standard-2 06:28:42 INFO: Archiving Costs [Pipeline] echo 06:28:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:28:42 ---> logs-deploy.sh 06:28:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-608/1 06:28:42 INFO: archiving workspace using pattern(s): 06:28:45 Archives upload complete. 06:28:45 INFO: archiving logs to Nexus