Pull request #617 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 rather than b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 Obtained Jenkinsfile from 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 ‘Jenkinsfile’ has been modified in an untrusted revision 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-617/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-617/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3451 in /w/workspace/dgexfoundry_device-sdk-go_PR-617 [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-617 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 > 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/617/head:refs/remotes/origin/PR-617 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 Checking out Revision b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 (PR-617) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 # timeout=10 Commit message: "Add Publish Swagger Parameters to Jenkinsfile" 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 10:09:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:09:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:09:37 ========================================================= 10:09:37 EdgeX Global Pipelines Version Info 10:09:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:09:39 ------------------- 10:09:39 stable info: 10:09:39 ------------------- 10:09:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:09:39 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 10:09:39 Message: update stable to v1.0.131 10:09:40 ------------------- 10:09:40 experimental info: 10:09:40 ------------------- 10:09:40 Commited By: **** collab-it+edgex@linuxfoundation.org 10:09:40 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 10:09:40 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 10:09:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:09:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:09:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:09:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:09:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:09:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:09:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:09:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:09:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:09:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:09:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:09:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:09:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:09:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:09:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:09:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:09:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:09:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:09:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-617 [Pipeline] echo 10:09:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-617 [Pipeline] echo 10:09:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-617 [Pipeline] echo 10:09:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 [Pipeline] echo 10:09:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1b3c4e [Pipeline] echo 10:09:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:45 + git log --format=format:%s -1 b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 [Pipeline] echo 10:09:46 GIT_COMMIT: b1b3c4e7068416f3f22748a0638b4ed7f17d61e7, Commit Message: Add Publish Swagger Parameters to Jenkinsfile [Pipeline] echo 10:09:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:09:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:09:46 10:09:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:09:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:09:47 latest: Pulling from edgex-devops/git-semver 10:09:47 31603596830f: Pulling fs layer 10:09:47 2a8b12db71e7: Pulling fs layer 10:09:47 6ca5941a6612: Pulling fs layer 10:09:47 ecc8261a40a4: Pulling fs layer 10:09:47 ecc8261a40a4: Waiting 10:09:47 2a8b12db71e7: Verifying Checksum 10:09:47 2a8b12db71e7: Download complete 10:09:47 31603596830f: Verifying Checksum 10:09:47 31603596830f: Download complete 10:09:47 ecc8261a40a4: Verifying Checksum 10:09:47 ecc8261a40a4: Download complete 10:09:48 6ca5941a6612: Verifying Checksum 10:09:48 6ca5941a6612: Download complete 10:09:48 31603596830f: Pull complete 10:09:48 2a8b12db71e7: Pull complete 10:09:49 6ca5941a6612: Pull complete 10:09:49 ecc8261a40a4: Pull complete 10:09:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:09:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:09:49 prd-centos7-docker-4c-2g-3451 does not seem to be running inside a container 10:09:49 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-617 -v /w/workspace/dgexfoundry_device-sdk-go_PR-617:/w/workspace/dgexfoundry_device-sdk-go_PR-617:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-617@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-617@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:09:51 $ docker top 4a66c90924bb562b8e43c32e62708d61fcf17b121ad9edd32e81c02bfd92a442 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:09:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:51 [ssh-agent] Looking for ssh-agent implementation... 10:09:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:52 $ docker exec 4a66c90924bb562b8e43c32e62708d61fcf17b121ad9edd32e81c02bfd92a442 ssh-agent 10:09:52 SSH_AUTH_SOCK=/tmp/ssh-pjjvOuzc2oJO/agent.11 10:09:52 SSH_AGENT_PID=16 10:09:52 Running ssh-add (command line suppressed) 10:09:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-617@tmp/private_key_1105590693426689262.key (/w/workspace/dgexfoundry_device-sdk-go_PR-617@tmp/private_key_1105590693426689262.key) 10:09:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:52 + git describe --exact-match --tags HEAD 10:09:52 fatal: no tag exactly matches 'b1b3c4e7068416f3f22748a0638b4ed7f17d61e7' [Pipeline] } 10:09:52 $ docker exec --env ******** --env ******** 4a66c90924bb562b8e43c32e62708d61fcf17b121ad9edd32e81c02bfd92a442 ssh-agent -k 10:09:53 unset SSH_AUTH_SOCK; 10:09:53 unset SSH_AGENT_PID; 10:09:53 echo Agent pid 16 killed; 10:09:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:09:53 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:09:53 This usually means this commit has not been tagged. [Pipeline] sshagent 10:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:53 [ssh-agent] Looking for ssh-agent implementation... 10:09:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:53 $ docker exec 4a66c90924bb562b8e43c32e62708d61fcf17b121ad9edd32e81c02bfd92a442 ssh-agent 10:09:53 SSH_AUTH_SOCK=/tmp/ssh-fD9M5E23duh3/agent.46 10:09:53 SSH_AGENT_PID=51 10:09:53 Running ssh-add (command line suppressed) 10:09:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-617@tmp/private_key_8872212440878722264.key (/w/workspace/dgexfoundry_device-sdk-go_PR-617@tmp/private_key_8872212440878722264.key) 10:09:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:54 + git semver init 10:09:54 # -> Open(): unable to determine branch for HEAD 10:09:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-617/.git 10:09:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-617 10:09:54 # $SEMVER_REMOTE_NAME = origin 10:09:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:09:54 # $SEMVER_USER_NAME = edgex-jenkins 10:09:54 # $SEMVER_BRANCH = PR-617 10:09:54 # $SEMVER_TEMP = /tmp/semver-247551324 10:09:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:09:55 # '/tmp/semver-247551324' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-617/.semver' 10:09:55 # -> Force: false 10:09:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-617/.semver [Pipeline] } 10:09:55 $ docker exec --env ******** --env ******** 4a66c90924bb562b8e43c32e62708d61fcf17b121ad9edd32e81c02bfd92a442 ssh-agent -k 10:09:55 unset SSH_AUTH_SOCK; 10:09:55 unset SSH_AGENT_PID; 10:09:55 echo Agent pid 51 killed; 10:09:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:09:56 + git semver [Pipeline] } 10:09:56 $ docker stop --time=1 4a66c90924bb562b8e43c32e62708d61fcf17b121ad9edd32e81c02bfd92a442 10:09:57 $ docker rm -f 4a66c90924bb562b8e43c32e62708d61fcf17b121ad9edd32e81c02bfd92a442 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:09:58 Stashed 43 file(s) [Pipeline] echo 10:09:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 10:09:58 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 10:10:14 Still waiting to schedule task 10:10:14 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3451’ 10:10:14 Still waiting to schedule task 10:10:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:12:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3452 in /w/workspace/dgexfoundry_device-sdk-go_PR-617 [Pipeline] { [Pipeline] ws 10:12:21 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 10:12:26 using credential edgex-jenkins-ssh 10:12:26 Cloning the remote Git repository 10:12:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:12:26 > git init /w/workspace/device-sdk-go/1 # timeout=10 10:12:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:12:26 > git --version # timeout=10 10:12:26 > git --version # 'git version 2.17.1' 10:12:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:28 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 10:12:28 Merge succeeded, producing b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 10:12:28 Checking out Revision b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 (PR-617) 10:12:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:12:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:12:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:12:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/617/head:refs/remotes/origin/PR-617 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:12:28 > git config core.sparsecheckout # timeout=10 10:12:28 > git checkout -f b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 # timeout=10 10:12:28 > git remote # timeout=10 10:12:28 > git config --get remote.origin.url # timeout=10 10:12:28 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:28 > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 10:12:28 > git rev-parse HEAD^{commit} # timeout=10 10:12:28 > git config core.sparsecheckout # timeout=10 10:12:28 > git checkout -f b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 # timeout=10 10:12:33 Commit message: "Add Publish Swagger Parameters to Jenkinsfile" 10:12:33 > git --version # timeout=10 10:12:33 > git --version # 'git version 2.17.1' 10:12:33 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:12:34 ========================================================= 10:12:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:12:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:12:36 + 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 . 10:12:37 Sending build context to Docker daemon 3.507MB 10:12:37 Step 1/8 : ARG BASE=golang:1.15-alpine 10:12:37 Step 2/8 : FROM ${BASE} 10:12:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:12:37 b538f80385f9: Pulling fs layer 10:12:37 74f711af9a0d: Pulling fs layer 10:12:37 99f96fe45779: Pulling fs layer 10:12:37 8529a6b9a6be: Pulling fs layer 10:12:37 45590311c82a: Pulling fs layer 10:12:37 69ca0ff8b7b3: Pulling fs layer 10:12:37 209524e5b208: Pulling fs layer 10:12:37 8529a6b9a6be: Waiting 10:12:37 45590311c82a: Waiting 10:12:37 69ca0ff8b7b3: Waiting 10:12:37 209524e5b208: Waiting 10:12:37 99f96fe45779: Verifying Checksum 10:12:37 99f96fe45779: Download complete 10:12:37 74f711af9a0d: Verifying Checksum 10:12:37 74f711af9a0d: Download complete 10:12:37 45590311c82a: Verifying Checksum 10:12:37 45590311c82a: Download complete 10:12:37 69ca0ff8b7b3: Verifying Checksum 10:12:37 69ca0ff8b7b3: Download complete 10:12:37 b538f80385f9: Download complete 10:12:38 b538f80385f9: Pull complete 10:12:38 74f711af9a0d: Pull complete 10:12:39 99f96fe45779: Pull complete 10:12:40 209524e5b208: Verifying Checksum 10:12:40 209524e5b208: Download complete 10:12:41 8529a6b9a6be: Verifying Checksum 10:12:41 8529a6b9a6be: Download complete 10:12:43 Running on prd-centos7-docker-4c-2g-3453 in /w/workspace/dgexfoundry_device-sdk-go_PR-617 [Pipeline] { [Pipeline] ws 10:12:43 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 10:12:46 using credential edgex-jenkins-ssh 10:12:47 Cloning the remote Git repository 10:12:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:12:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 10:12:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:12:47 > git --version # timeout=10 10:12:47 > git --version # 'git version 2.16.5' 10:12:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:12:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:12:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:12:49 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/617/head:refs/remotes/origin/PR-617 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:12:49 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 10:12:49 Merge succeeded, producing b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 10:12:49 Checking out Revision b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 (PR-617) 10:12:49 > git config core.sparsecheckout # timeout=10 10:12:49 > git checkout -f b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 # timeout=10 10:12:49 > git remote # timeout=10 10:12:49 > git config --get remote.origin.url # timeout=10 10:12:49 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:49 > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 10:12:49 > git rev-parse HEAD^{commit} # timeout=10 10:12:50 > git config core.sparsecheckout # timeout=10 10:12:50 > git checkout -f b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 # timeout=10 10:12:51 8529a6b9a6be: Pull complete 10:12:51 45590311c82a: Pull complete 10:12:52 69ca0ff8b7b3: Pull complete 10:12:53 Commit message: "Add Publish Swagger Parameters to Jenkinsfile" 10:12:53 > git --version # timeout=10 10:12:53 > git --version # 'git version 2.16.5' 10:12:53 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:12:54 ========================================================= 10:12:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:12:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:12:55 + 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 . 10:12:56 Sending build context to Docker daemon 3.507MB 10:12:56 Step 1/8 : ARG BASE=golang:1.15-alpine 10:12:56 Step 2/8 : FROM ${BASE} 10:12:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:12:56 df20fa9351a1: Pulling fs layer 10:12:56 ed8968b2872e: Pulling fs layer 10:12:56 a92cc7c5fd73: Pulling fs layer 10:12:56 e871e8e8d7a9: Pulling fs layer 10:12:56 e73272ec9a57: Pulling fs layer 10:12:56 1e910a182e73: Pulling fs layer 10:12:56 4e634b169226: Pulling fs layer 10:12:56 e871e8e8d7a9: Waiting 10:12:56 e73272ec9a57: Waiting 10:12:56 1e910a182e73: Waiting 10:12:56 4e634b169226: Waiting 10:12:56 a92cc7c5fd73: Download complete 10:12:56 ed8968b2872e: Verifying Checksum 10:12:56 ed8968b2872e: Download complete 10:12:56 e73272ec9a57: Verifying Checksum 10:12:56 e73272ec9a57: Download complete 10:12:56 1e910a182e73: Verifying Checksum 10:12:56 1e910a182e73: Download complete 10:12:56 df20fa9351a1: Verifying Checksum 10:12:56 df20fa9351a1: Download complete 10:12:56 209524e5b208: Pull complete 10:12:56 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 10:12:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:12:56 ---> 5bddaf1c2fca 10:12:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:12:56 df20fa9351a1: Pull complete 10:12:56 ed8968b2872e: Pull complete 10:12:57 a92cc7c5fd73: Pull complete 10:12:58 4e634b169226: Verifying Checksum 10:12:58 4e634b169226: Download complete 10:12:58 ---> Running in a89f401f7d0f 10:12:58 e871e8e8d7a9: Verifying Checksum 10:12:58 e871e8e8d7a9: Download complete 10:12:58 Removing intermediate container a89f401f7d0f 10:12:58 ---> 66de6cd3c11c 10:12:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:59 ---> Running in 9be0b399367e 10:13:01 Removing intermediate container 9be0b399367e 10:13:01 ---> 8f731189dbea 10:13:01 Step 5/8 : RUN apk add --no-cache make git 10:13:01 ---> Running in d5fd2218567a 10:13:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:13:04 e871e8e8d7a9: Pull complete 10:13:04 e73272ec9a57: Pull complete 10:13:04 1e910a182e73: Pull complete 10:13:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:13:05 OK: 142 MiB in 39 packages 10:13:06 Removing intermediate container d5fd2218567a 10:13:06 ---> 7189dfc8552f 10:13:06 Step 6/8 : WORKDIR /device-sdk-go 10:13:06 ---> Running in c907801a9295 10:13:06 Removing intermediate container c907801a9295 10:13:06 ---> a1ca73a84920 10:13:06 Step 7/8 : COPY . . 10:13:08 ---> 3b91c83b674a 10:13:08 Step 8/8 : RUN go mod download 10:13:08 ---> Running in f85a9ecb6ab4 10:13:09 4e634b169226: Pull complete 10:13:09 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 10:13:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:13:09 ---> f7629b54cfaa 10:13:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:13:09 ---> Running in f360868ef0b9 10:13:09 Removing intermediate container f360868ef0b9 10:13:09 ---> 9dabbd160616 10:13:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:09 ---> Running in ca90b2d5812a 10:13:11 Removing intermediate container ca90b2d5812a 10:13:11 ---> 911889a766c5 10:13:11 Step 5/8 : RUN apk add --no-cache make git 10:13:11 ---> Running in 17adda89dba7 10:13:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:13:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:13:12 OK: 166 MiB in 39 packages 10:13:13 Removing intermediate container 17adda89dba7 10:13:13 ---> e17aeeb93fc5 10:13:13 Step 6/8 : WORKDIR /device-sdk-go 10:13:13 ---> Running in cdad4b5ac2c4 10:13:13 Removing intermediate container cdad4b5ac2c4 10:13:13 ---> 6868e85ccbd7 10:13:13 Step 7/8 : COPY . . 10:13:14 ---> db08367bf12b 10:13:14 Step 8/8 : RUN go mod download 10:13:14 ---> Running in cf3887963dcd 10:13:33 Removing intermediate container cf3887963dcd 10:13:33 ---> 8b4989c9cf13 10:13:33 Successfully built 8b4989c9cf13 10:13:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:13:33 + docker inspect -f . ci-base-image-x86_64 10:13:33 . [Pipeline] withDockerContainer 10:13:33 prd-centos7-docker-4c-2g-3453 does not seem to be running inside a container 10:13:33 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:13:34 $ docker top dfbdd1c1755ccb2dc30482cd9e41a2d85ab76fdbc251847f0dc1e1563027919f -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:34 + go version 10:13:34 go version go1.15.2 linux/amd64 [Pipeline] } 10:13:35 $ docker stop --time=1 dfbdd1c1755ccb2dc30482cd9e41a2d85ab76fdbc251847f0dc1e1563027919f 10:13:35 Removing intermediate container f85a9ecb6ab4 10:13:35 ---> ebe7b4f53405 10:13:35 Successfully built ebe7b4f53405 10:13:35 Successfully tagged ci-base-image-arm64:latest 10:13:36 $ docker rm -f dfbdd1c1755ccb2dc30482cd9e41a2d85ab76fdbc251847f0dc1e1563027919f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:13:37 + docker inspect -f . ci-base-image-arm64 10:13:37 . [Pipeline] withDockerContainer 10:13:37 + docker inspect -f . ci-base-image-x86_64 10:13:37 . 10:13:37 prd-ubuntu18.04-docker-arm64-4c-16g-3452 does not seem to be running inside a container 10:13:37 $ 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 ******** -e ******** ci-base-image-arm64 cat 10:13:39 $ docker top bc3150555ba022e9fd1ba40dbd229e8cae48031c0445b33cb7fa0233efcc3ad3 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 10:13:40 prd-centos7-docker-4c-2g-3453 does not seem to be running inside a container 10:13:40 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:13:40 $ docker top 813f2efcd3b4c495fc02bdfaeb841c3f124844974cb411b402e00010607200cf -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 10:13:41 + make test 10:13:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:13:42 + go version 10:13:42 go version go1.15.2 linux/arm64 [Pipeline] } 10:13:42 $ docker stop --time=1 bc3150555ba022e9fd1ba40dbd229e8cae48031c0445b33cb7fa0233efcc3ad3 10:13:44 $ docker rm -f bc3150555ba022e9fd1ba40dbd229e8cae48031c0445b33cb7fa0233efcc3ad3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:13:45 + docker inspect -f . ci-base-image-arm64 10:13:45 . [Pipeline] withDockerContainer 10:13:45 prd-ubuntu18.04-docker-arm64-4c-16g-3452 does not seem to be running inside a container 10:13:45 $ 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 ******** -e ******** ci-base-image-arm64 cat 10:13:47 $ docker top 7dd452221c0d8c7878c3c6162a4a6f15d09319565e1a24acaa7f2ae5f93a5674 -eo pid,comm 10:13:48 ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] { [Pipeline] sh 10:13:49 + make test 10:13:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:14:03 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:14:03 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:14:03 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:14:03 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 21.6% of statements 10:14:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.415s coverage: 97.1% of statements 10:14:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:14:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements 10:14:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 10:14:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:14:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.200s coverage: 39.9% of statements 10:14:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:14:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.285s coverage: 65.4% of statements 10:14:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:14:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:14:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:14:35 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:14:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.062s coverage: 52.6% of statements 10:14:35 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:14:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.261s coverage: 68.9% of statements 10:14:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:14:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:14:35 GO111MODULE=on go vet ./... 10:14:40 gofmt -l . 10:14:40 [ "`gofmt -l .`" = "" ] 10:14:41 ./bin/test-attribution-txt.sh 10:14:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:14:42 Stashed 1 file(s) [Pipeline] } 10:14:42 $ docker stop --time=1 813f2efcd3b4c495fc02bdfaeb841c3f124844974cb411b402e00010607200cf 10:14:44 $ docker rm -f 813f2efcd3b4c495fc02bdfaeb841c3f124844974cb411b402e00010607200cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:47 + ls -al . 10:14:47 total 192 10:14:47 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 5 10:14 . 10:14:47 drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 10:12 .. 10:14:47 drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 10:12 bin 10:14:47 -rw-r--r--. 1 jenkins jenkins 111040 Oct 5 10:14 coverage.out 10:14:47 -rw-rw-r--. 1 jenkins jenkins 936 Oct 5 10:12 Dockerfile.build 10:14:47 -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 10:12 .dockerignore 10:14:47 drwxrwxr-x. 4 jenkins jenkins 48 Oct 5 10:12 example 10:14:47 drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 10:12 .git 10:14:47 drwxrwxr-x. 2 jenkins jenkins 60 Oct 5 10:12 .github 10:14:47 -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 10:12 .gitignore 10:14:47 -rw-r--r--. 1 jenkins jenkins 517 Oct 5 10:14 go.mod 10:14:47 -rw-r--r--. 1 jenkins jenkins 13652 Oct 5 10:14 go.sum 10:14:47 drwxrwxr-x. 15 jenkins jenkins 211 Oct 5 10:12 internal 10:14:47 -rw-rw-r--. 1 jenkins jenkins 901 Oct 5 10:12 Jenkinsfile 10:14:47 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 10:12 LICENSE 10:14:47 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 5 10:12 Makefile 10:14:47 drwxrwxr-x. 4 jenkins jenkins 26 Oct 5 10:12 openapi 10:14:47 drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 10:12 pkg 10:14:47 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 5 10:12 README.md 10:14:47 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 5 10:12 RELEASE-NOTES.txt 10:14:47 drwxrwxr-x. 3 jenkins jenkins 58 Oct 5 10:12 .semver 10:14:47 drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 10:12 snap 10:14:47 -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 10:09 VERSION 10:14:47 -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 10:12 version.go [Pipeline] isUnix [Pipeline] sh 10:14:48 + 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=b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 --label arch=amd64 --label version=0.0.0 . 10:14:48 Sending build context to Docker daemon 3.618MB 10:14:48 Step 1/24 : ARG BASE=golang:1.15-alpine 10:14:48 Step 2/24 : FROM ${BASE} AS builder 10:14:48 ---> 8b4989c9cf13 10:14:48 Step 3/24 : ARG MAKE='make build' 10:14:48 ---> Running in fff535939de1 10:14:48 Removing intermediate container fff535939de1 10:14:48 ---> 6c33213006f3 10:14:48 Step 4/24 : WORKDIR /device-sdk-go 10:14:48 ---> Running in bb477e5af5db 10:14:49 Removing intermediate container bb477e5af5db 10:14:49 ---> ca09dc00cbb4 10:14:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:14:49 ---> Running in cb625f46ac4c 10:14:49 Removing intermediate container cb625f46ac4c 10:14:49 ---> c8a27ae60955 10:14:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:49 ---> Running in b57533846c3d 10:14:50 Removing intermediate container b57533846c3d 10:14:50 ---> d113d22961d1 10:14:50 Step 7/24 : RUN apk add --update --no-cache make git 10:14:50 ---> Running in ef1b8cb04f0e 10:14:50 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:14:50 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:14:50 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:14:50 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.158s coverage: 21.6% of statements 10:14:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:14:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:14:52 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.347s coverage: 97.1% of statements 10:14:52 OK: 166 MiB in 39 packages 10:14:52 Removing intermediate container ef1b8cb04f0e 10:14:52 ---> c27d38a81e3f 10:14:52 Step 8/24 : COPY . . 10:14:53 ---> 706f60f3d1bb 10:14:53 Step 9/24 : RUN ${MAKE} 10:14:53 ---> Running in 14fa9bbe008a 10:14:54 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 10:15:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:15:04 Removing intermediate container 14fa9bbe008a 10:15:04 ---> e0e3efa20e2e 10:15:04 Step 10/24 : FROM scratch 10:15:04 ---> 10:15:04 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:15:04 ---> Running in 9f0508be0af3 10:15:04 Removing intermediate container 9f0508be0af3 10:15:04 ---> 5cccb4af1699 10:15:04 Step 12/24 : ENV APP_PORT=49990 10:15:04 ---> Running in d795fffb94dd 10:15:04 Removing intermediate container d795fffb94dd 10:15:04 ---> db669aff7051 10:15:04 Step 13/24 : EXPOSE $APP_PORT 10:15:04 ---> Running in 28e5ef3b0e2c 10:15:04 Removing intermediate container 28e5ef3b0e2c 10:15:04 ---> 04281da72cb3 10:15:04 Step 14/24 : WORKDIR / 10:15:04 ---> Running in da2cf708b192 10:15:04 Removing intermediate container da2cf708b192 10:15:04 ---> d91c1e1121f0 10:15:04 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:15:05 ---> 18e84b1e181e 10:15:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:15:05 ---> 7eb59529a4bc 10:15:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:15:05 ---> 9a4faabf2f6d 10:15:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:15:06 ---> 00fdefb51f3c 10:15:06 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:15:06 ---> 0896d42b8343 10:15:06 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:15:06 ---> Running in ba00ec87ef20 10:15:06 Removing intermediate container ba00ec87ef20 10:15:06 ---> 74089481d9d1 10:15:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:15:06 ---> Running in 4f5767564f38 10:15:06 Removing intermediate container 4f5767564f38 10:15:06 ---> 19a2a96c36a9 10:15:06 Step 22/24 : LABEL arch=amd64 10:15:06 ---> Running in a001ebec2fb0 10:15:06 Removing intermediate container a001ebec2fb0 10:15:06 ---> a5ac4498df64 10:15:06 Step 23/24 : LABEL git_sha=b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 10:15:07 ---> Running in 70b1e5bb0b7a 10:15:07 Removing intermediate container 70b1e5bb0b7a 10:15:07 ---> 4b05d5a52048 10:15:07 Step 24/24 : LABEL version=0.0.0 10:15:07 ---> Running in d6e414ca1a83 10:15:07 Removing intermediate container d6e414ca1a83 10:15:07 ---> 0aa5cbac173a 10:15:07 [Warning] One or more build-args [ARCH] were not consumed 10:15:07 Successfully built 0aa5cbac173a 10:15: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] } 10:15:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements 10:15:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.109s coverage: 21.9% of statements 10:15:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:15:24 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.552s coverage: 39.9% of statements 10:15:24 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:15:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.785s coverage: 65.4% of statements 10:15:24 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:15:24 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:15:24 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:15:24 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:15:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 52.6% of statements 10:15:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:15:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.639s coverage: 68.9% of statements 10:15:24 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:15:24 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:15:24 GO111MODULE=on go vet ./... 10:15:51 gofmt -l . 10:15:51 [ "`gofmt -l .`" = "" ] 10:15:51 ./bin/test-attribution-txt.sh 10:15:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:15:52 Warning: overwriting stash ‘coverage-report’ 10:15:53 Stashed 1 file(s) [Pipeline] } 10:15:53 $ docker stop --time=1 7dd452221c0d8c7878c3c6162a4a6f15d09319565e1a24acaa7f2ae5f93a5674 10:15:56 $ docker rm -f 7dd452221c0d8c7878c3c6162a4a6f15d09319565e1a24acaa7f2ae5f93a5674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:15:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:15:58 + ls -al . 10:15:58 total 232 10:15:58 drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 10:15 . 10:15:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 10:12 .. 10:15:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 10:12 .dockerignore 10:15:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 10:12 .git 10:15:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 10:12 .github 10:15:58 -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 10:12 .gitignore 10:15:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 10:12 .semver 10:15:58 -rw-rw-r-- 1 jenkins jenkins 936 Oct 5 10:12 Dockerfile.build 10:15:58 -rw-rw-r-- 1 jenkins jenkins 901 Oct 5 10:12 Jenkinsfile 10:15:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 10:12 LICENSE 10:15:58 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 5 10:12 Makefile 10:15:58 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 5 10:12 README.md 10:15:58 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 5 10:12 RELEASE-NOTES.txt 10:15:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 10:09 VERSION 10:15:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 10:12 bin 10:15:58 -rw-r--r-- 1 jenkins jenkins 111040 Oct 5 10:15 coverage.out 10:15:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 10:12 example 10:15:58 -rw-r--r-- 1 jenkins jenkins 517 Oct 5 10:15 go.mod 10:15:58 -rw-r--r-- 1 jenkins jenkins 13652 Oct 5 10:15 go.sum 10:15:58 drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 10:12 internal 10:15:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 10:12 openapi 10:15:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 10:12 pkg 10:15:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 10:12 snap 10:15:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 10:12 version.go [Pipeline] isUnix [Pipeline] sh 10:15:58 + 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=b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 --label arch=arm64 --label version=0.0.0 . 10:15:59 Sending build context to Docker daemon 3.618MB 10:15:59 Step 1/24 : ARG BASE=golang:1.15-alpine 10:15:59 Step 2/24 : FROM ${BASE} AS builder 10:15:59 ---> ebe7b4f53405 10:15:59 Step 3/24 : ARG MAKE='make build' 10:15:59 ---> Running in 5a1545e4c299 10:16:00 Removing intermediate container 5a1545e4c299 10:16:00 ---> b0c654b3cef6 10:16:00 Step 4/24 : WORKDIR /device-sdk-go 10:16:00 ---> Running in f5b3825caf12 10:16:00 Removing intermediate container f5b3825caf12 10:16:00 ---> 5c2219bbcc27 10:16:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:16:00 ---> Running in 28c96bbac9ce 10:16:01 Removing intermediate container 28c96bbac9ce 10:16:01 ---> 46defcb5f69a 10:16:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:16:01 ---> Running in 3573612d3af1 10:16:03 Removing intermediate container 3573612d3af1 10:16:03 ---> 8b258226fd34 10:16:03 Step 7/24 : RUN apk add --update --no-cache make git 10:16:03 ---> Running in 07e8827eb607 10:16:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:16:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:16:07 OK: 142 MiB in 39 packages 10:16:08 Removing intermediate container 07e8827eb607 10:16:08 ---> fb5ecf6a5379 10:16:08 Step 8/24 : COPY . . 10:16:10 ---> c9c2c432e713 10:16:10 Step 9/24 : RUN ${MAKE} 10:16:10 ---> Running in d73d02b91073 10:16:11 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 10:16:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:16:38 Removing intermediate container d73d02b91073 10:16:38 ---> 64fe32ce0136 10:16:38 Step 10/24 : FROM scratch 10:16:38 ---> 10:16:38 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:16:38 ---> Running in 40b5f7e4db7b 10:16:38 Removing intermediate container 40b5f7e4db7b 10:16:38 ---> 8fd5f3f8d52d 10:16:38 Step 12/24 : ENV APP_PORT=49990 10:16:38 ---> Running in bb2803ffff34 10:16:39 Removing intermediate container bb2803ffff34 10:16:39 ---> c084df5c45c0 10:16:39 Step 13/24 : EXPOSE $APP_PORT 10:16:39 ---> Running in 0ee8f4228406 10:16:39 Removing intermediate container 0ee8f4228406 10:16:39 ---> 73fc5b0ffcd5 10:16:39 Step 14/24 : WORKDIR / 10:16:39 ---> Running in 6a987fabc1c7 10:16:40 Removing intermediate container 6a987fabc1c7 10:16:40 ---> 53cd5513f71a 10:16:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:16:41 ---> ec6bc4321430 10:16:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:16:42 ---> 16a81cf43216 10:16:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:16:42 ---> 6f4982f4721c 10:16:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:16:43 ---> dff6b015b9c1 10:16:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:16:44 ---> ded1e2a8441a 10:16:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:16:44 ---> Running in 96705b71dc1e 10:16:45 Removing intermediate container 96705b71dc1e 10:16:45 ---> e9a206b2cc1f 10:16:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:16:45 ---> Running in d8447125630b 10:16:45 Removing intermediate container d8447125630b 10:16:45 ---> 8d74537ca92b 10:16:45 Step 22/24 : LABEL arch=arm64 10:16:45 ---> Running in e16416f03df4 10:16:46 Removing intermediate container e16416f03df4 10:16:46 ---> 36c625b21bda 10:16:46 Step 23/24 : LABEL git_sha=b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 10:16:46 ---> Running in b6ab0175b36e 10:16:46 Removing intermediate container b6ab0175b36e 10:16:46 ---> be27df430b73 10:16:46 Step 24/24 : LABEL version=0.0.0 10:16:46 ---> Running in 53985832446b 10:16:47 Removing intermediate container 53985832446b 10:16:47 ---> 736d9497b17e 10:16:47 [Warning] One or more build-args [ARCH] were not consumed 10:16:47 Successfully built 736d9497b17e 10:16:47 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 10:16:50 provisioning config files... 10:16:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-617@tmp/config6216609116992267929tmp [Pipeline] { [Pipeline] sh 10:16:50 + set +x 10:16:50 + curl -s https://codecov.io/bash 10:16:50 + bash -s -- 10:16:51 10:16:51 _____ _ 10:16:51 / ____| | | 10:16:51 | | ___ __| | ___ ___ _____ __ 10:16:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:16:51 | |___| (_) | (_| | __/ (_| (_) \ V / 10:16:51 \_____\___/ \__,_|\___|\___\___/ \_/ 10:16:51 Bash-20200917-4e8f14b 10:16:51 10:16:51 10:16:51 ==> Jenkins CI detected. 10:16:51 project root: . 10:16:51 --> token set from env 10:16:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:16:51 ==> Running gcov in . (disable via -X gcov) 10:16:51 ==> Python coveragepy not found 10:16:51 ==> Searching for coverage reports in: 10:16:51 + . 10:16:51 -> Found 1 reports 10:16:51 ==> Detecting git/mercurial file structure 10:16:51 ==> Reading reports 10:16:51 + ./coverage.out bytes=111040 10:16:51 ==> Appending adjustments 10:16:51 https://docs.codecov.io/docs/fixing-reports 10:16:51 + Found adjustments 10:16:51 ==> Gzipping contents 10:16:51 ==> Uploading reports 10:16:51 url: https://codecov.io 10:16:51 query: branch=PR-617&commit=b1b3c4e7068416f3f22748a0638b4ed7f17d61e7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-617%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=617&job=&cmd_args= 10:16:51 -> Pinging Codecov 10:16:51 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-617&commit=b1b3c4e7068416f3f22748a0638b4ed7f17d61e7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-617%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=617&job=&cmd_args= 10:16:52 -> Uploading to 10:16:52 https://storage.googleapis.com/codecov/v4/raw/2020-10-05/7E55EF52A471D76F132DFD9A03CDDE97/b1b3c4e7068416f3f22748a0638b4ed7f17d61e7/e638e87e-6a81-4699-9f0a-ceddadc343d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201005T101652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af56b11049511c8510f7a9fd131aac87b98d880e91b2600fb0713d15091dc6df 10:16:52 % Total % Received % Xferd Average Speed Time Time Time Current 10:16:52 Dload Upload Total Spent Left Speed 10:16:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18327 0 0 100 18327 0 47209 --:--:-- --:--:-- --:--:-- 47234 10:16:52 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b1b3c4e7068416f3f22748a0638b4ed7f17d61e7 [Pipeline] } 10:16:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:16:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:16:56 ---> package-listing.sh 10:16:56 ++ facter osfamily 10:16:56 ++ tr '[:upper:]' '[:lower:]' 10:16:56 + OS_FAMILY=redhat 10:16:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-617 10:16:56 + START_PACKAGES=/tmp/packages_start.txt 10:16:56 + END_PACKAGES=/tmp/packages_end.txt 10:16:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:16:56 + PACKAGES=/tmp/packages_start.txt 10:16:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-617 ']' 10:16:56 + PACKAGES=/tmp/packages_end.txt 10:16:56 + case "${OS_FAMILY}" in 10:16:56 + rpm -qa 10:16:56 + sort 10:17:01 + '[' -f /tmp/packages_start.txt ']' 10:17:01 + '[' -f /tmp/packages_end.txt ']' 10:17:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:17:01 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-617 ']' 10:17:01 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-617/archives/ 10:17:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-617/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:01 provisioning config files... 10:17:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-617@tmp/config2049545927647685038tmp [Pipeline] { [Pipeline] echo 10:17:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:17:02 ---> create-netrc.sh [Pipeline] } 10:17:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:17:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:17:03 ---> python-tools-install.sh 10:17:03 Generating Requirements File 10:18:24 Python 3.6.8 10:18:24 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 10:18:24 aiohttp==3.6.2 10:18:24 appdirs==1.4.3 10:18:24 argcomplete==1.12.1 10:18:24 aspy.yaml==1.3.0 10:18:24 async-timeout==3.0.1 10:18:24 attrs==19.3.0 10:18:24 Babel==2.8.0 10:18:24 beautifulsoup4==4.8.2 10:18:24 boto3==1.11.6 10:18:24 botocore==1.14.6 10:18:24 bs4==0.0.1 10:18:24 cachetools==4.1.1 10:18:24 certifi==2019.11.28 10:18:24 cffi==1.14.3 10:18:24 cfgv==2.0.1 10:18:24 chardet==3.0.4 10:18:24 click==7.1 10:18:24 cliff==3.4.0 10:18:24 cmd2==1.3.11 10:18:24 colorama==0.4.3 10:18:24 cryptography==3.1.1 10:18:24 debtcollector==2.2.0 10:18:24 decorator==4.4.2 10:18:24 defusedxml==0.6.0 10:18:24 Deprecated==1.2.7 10:18:24 distlib==0.3.1 10:18:24 distro==1.2.0 10:18:24 dnspython==1.16.0 10:18:24 docker==4.2.0 10:18:24 docutils==0.15.2 10:18:24 dogpile.cache==1.0.2 10:18:24 email-validator==1.0.5 10:18:24 filelock==3.0.12 10:18:24 future==0.18.2 10:18:24 google-auth==1.22.0 10:18:24 httplib2==0.17.0 10:18:24 identify==1.4.11 10:18:24 idna==2.9 10:18:24 idna-ssl==1.1.0 10:18:24 importlib-metadata==1.7.0 10:18:24 importlib-resources==1.5.0 10:18:24 iso8601==0.1.13 10:18:24 Jinja2==2.11.1 10:18:24 jmespath==0.10.0 10:18:24 jsonpatch==1.26 10:18:24 jsonpointer==2.0 10:18:24 jsonschema==3.2.0 10:18:24 keystoneauth1==4.2.1 10:18:24 kubernetes==11.0.0 10:18:24 lftools==0.34.2 10:18:24 lxml==4.5.0 10:18:24 MarkupSafe==0.23 10:18:24 msgpack==1.0.0 10:18:24 multi-key-dict==2.0.3 10:18:24 multidict==4.7.6 10:18:24 munch==2.5.0 10:18:24 netaddr==0.8.0 10:18:24 netifaces==0.10.9 10:18:24 niet==1.4.2 10:18:24 nodeenv==1.3.5 10:18:24 oauth2client==4.1.3 10:18:24 oauthlib==3.1.0 10:18:24 openstacksdk==0.50.0 10:18:24 os-client-config==2.1.0 10:18:24 os-service-types==1.7.0 10:18:24 osc-lib==2.2.1 10:18:24 oslo.config==8.3.2 10:18:24 oslo.context==3.1.1 10:18:24 oslo.i18n==5.0.1 10:18:24 oslo.log==4.4.0 10:18:24 oslo.serialization==4.0.1 10:18:24 oslo.utils==4.6.0 10:18:24 packaging==20.4 10:18:24 pbr==5.4.4 10:18:24 pluggy==0.13.1 10:18:24 prettytable==0.7.2 10:18:24 py==1.9.0 10:18:24 pyasn1==0.4.8 10:18:24 pyasn1-modules==0.2.8 10:18:24 pycparser==2.20 10:18:24 pygerrit2==2.0.10 10:18:24 PyGithub==1.46 10:18:24 pyinotify==0.9.6 10:18:24 PyJWT==1.7.1 10:18:24 pyparsing==2.4.7 10:18:24 pyperclip==1.8.0 10:18:24 pyroute2==0.4.13 10:18:24 pyrsistent==0.15.7 10:18:24 PySocks==1.6.8 10:18:24 python-cinderclient==7.2.0 10:18:24 python-dateutil==2.8.1 10:18:24 python-heatclient==2.2.1 10:18:24 python-jenkins==1.7.0 10:18:24 python-keystoneclient==4.1.1 10:18:24 python-magnumclient==3.2.1 10:18:24 python-novaclient==17.2.1 10:18:24 python-openstackclient==5.4.0 10:18:24 python-swiftclient==3.10.1 10:18:24 pytz==2020.1 10:18:24 PyYAML==5.3 10:18:24 requests==2.23.0 10:18:24 requests-oauthlib==1.3.0 10:18:24 requestsexceptions==1.4.0 10:18:24 rfc3986==1.4.0 10:18:24 rpm==4.11.3 10:18:24 rsa==4.0 10:18:24 ruamel.yaml==0.16.10 10:18:24 ruamel.yaml.clib==0.2.0 10:18:24 s3transfer==0.3.3 10:18:24 shade==1.27.2 10:18:24 simplejson==3.17.2 10:18:24 six==1.14.0 10:18:24 soupsieve==2.0 10:18:24 stevedore==3.2.2 10:18:24 tabulate==0.8.6 10:18:24 toml==0.10.0 10:18:24 tox==3.20.0 10:18:24 tqdm==4.43.0 10:18:24 typing-extensions==3.7.4.3 10:18:24 urllib3==1.25.8 10:18:24 virtualenv==20.0.33 10:18:24 wcwidth==0.2.5 10:18:24 websocket-client==0.57.0 10:18:24 wrapt==1.12.1 10:18:24 xdg==3.0.2 10:18:24 xmltodict==0.12.0 10:18:24 yarl==1.6.0 10:18:24 yq==2.11.1 10:18:24 zipp==3.3.0 10:18:24 Cache entry deserialization failed, entry ignored 10:18:24 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 10:18:24 Python 2.7.5 10:18:24 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 10:18:24 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 10:18:24 ansible==2.9.7 10:18:24 Babel==0.9.6 10:18:24 backports.ssl-match-hostname==3.5.0.1 10:18:24 beautifulsoup4==4.4.1 10:18:24 bodhi==2.11.0 10:18:24 bodhi-client==2.11.0 10:18:24 CCColUtils==1.4 10:18:24 cffi==1.6.0 10:18:24 chardet==2.2.1 10:18:24 click==6.7 10:18:24 cloud-init==18.5 10:18:24 configobj==4.7.2 10:18:24 cryptography==1.7.2 10:18:24 decorator==3.4.0 10:18:24 distro==1.2.0 10:18:24 enum34==1.0.4 10:18:24 fedpkg==1.38 10:18:24 futures==3.1.1 10:18:24 gitdb==0.6.4 10:18:24 GitPython==1.0.1 10:18:24 html5lib==0.999 10:18:24 httplib2==0.9.2 10:18:24 idna==2.4 10:18:24 iniparse==0.4 10:18:24 ipaddress==1.0.16 10:18:24 IPy==0.75 10:18:24 javapackages==1.0.0 10:18:24 Jinja2==2.7.2 10:18:24 jmespath==0.9.4 10:18:24 jsonpatch==1.2 10:18:24 jsonpointer==1.9 10:18:24 kerberos==1.1 10:18:24 kitchen==1.1.1 10:18:24 langtable==0.0.31 10:18:24 lockfile==0.9.1 10:18:24 lxml==3.2.1 10:18:24 MarkupSafe==0.11 10:18:24 munch==2.0.2 10:18:24 offtrac==0.1.0 10:18:24 openidc-client==0.6.0 10:18:24 packagedb-cli==2.14.1 10:18:24 paramiko==2.1.1 10:18:24 perf==0.1 10:18:24 ply==3.4 10:18:24 policycoreutils-default-encoding==0.1 10:18:24 prettytable==0.7.2 10:18:24 pyasn1==0.1.9 10:18:24 pycparser==2.14 10:18:24 pycurl==7.19.0 10:18:24 pygobject==3.22.0 10:18:24 pygpgme==0.3 10:18:24 pyliblzma==0.5.3 10:18:24 pyOpenSSL==0.13.1 10:18:24 pyparsing==1.5.6 10:18:24 pyserial==2.6 10:18:24 python-augeas==0.5.0 10:18:24 python-bugzilla==2.3.0 10:18:24 python-dateutil==1.5 10:18:24 python-fedora==0.10.0 10:18:24 python-linux-procfs==0.4.9 10:18:24 python-yubico==1.2.3 10:18:24 pyudev==0.15 10:18:24 pyusb==1.0.0b1 10:18:24 pyxattr==0.5.1 10:18:24 PyYAML==3.10 10:18:24 requests==2.6.0 10:18:24 requests-kerberos==0.7.0 10:18:24 rpkg==1.60 10:18:24 schedutils==0.4 10:18:24 seobject==0.1 10:18:24 sepolicy==1.1 10:18:24 six==1.9.0 10:18:24 smmap==0.9.0 10:18:24 urlgrabber==3.10 10:18:24 urllib3==1.10.2 10:18:24 virtualenv==15.1.0 10:18:24 yum-langpacks==0.4.2 10:18:24 yum-metadata-parser==1.1.4 [Pipeline] echo 10:18:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:18:24 ---> sudo-logs.sh 10:18:24 Archiving 'sudo' log.. [Pipeline] echo 10:18:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:18:25 ---> job-cost.sh 10:18:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-szaA 10:18:35 Cache entry deserialization failed, entry ignored 10:18:35 Cache entry deserialization failed, entry ignored 10:18:36 Cache entry deserialization failed, entry ignored 10:18:36 Cache entry deserialization failed, entry ignored 10:18:36 Cache entry deserialization failed, entry ignored 10:18:37 Cache entry deserialization failed, entry ignored 10:18:37 Cache entry deserialization failed, entry ignored 10:18:37 Cache entry deserialization failed, entry ignored 10:18:37 Cache entry deserialization failed, entry ignored 10:18:37 Cache entry deserialization failed, entry ignored 10:18:37 Cache entry deserialization failed, entry ignored 10:18:37 Cache entry deserialization failed, entry ignored 10:18:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:19:07 lf-activate-venv(): INFO: Adding /tmp/venv-szaA/bin to PATH 10:19:07 INFO: No Stack... 10:19:07 INFO: Retrieving Pricing Info for: v1-standard-2 10:19:07 INFO: Archiving Costs [Pipeline] echo 10:19:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:19:09 ---> logs-deploy.sh 10:19:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-617/1 10:19:09 INFO: archiving workspace using pattern(s): 10:19:11 Archives upload complete. 10:19:11 INFO: archiving logs to Nexus