Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 069809ce141705ee6c7736dfa7a0da157719a99a+153a43e7e060228c1df4c616c423a5b384e52518 (b18ded909662d6f36c6735cd6a2d9e67ac123b95) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4667 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # 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 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a Merge succeeded, producing 5d0c504eae50a1668b527b6ad2bb363c764e8a11 Checking out Revision 5d0c504eae50a1668b527b6ad2bb363c764e8a11 (PR-619) > 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # 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 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d0c504eae50a1668b527b6ad2bb363c764e8a11 # timeout=10 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" > git rev-list --no-walk 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:26 ========================================================= 02:42:26 EdgeX Global Pipelines Version Info 02:42:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:27 ------------------- 02:42:27 stable info: 02:42:27 ------------------- 02:42:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:27 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:42:27 Message: update stable to v1.0.131 02:42:28 ------------------- 02:42:28 experimental info: 02:42:28 ------------------- 02:42:28 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:28 Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af 02:42:28 Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:42:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d0c504eae50a1668b527b6ad2bb363c764e8a11 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d0c504 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:32 + git log --format=format:%s -1 5d0c504eae50a1668b527b6ad2bb363c764e8a11 [Pipeline] echo 02:42:32 GIT_COMMIT: 5d0c504eae50a1668b527b6ad2bb363c764e8a11, Commit Message: Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD [Pipeline] echo 02:42:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:33 02:42:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:34 latest: Pulling from edgex-devops/git-semver 02:42:34 31603596830f: Pulling fs layer 02:42:34 2a8b12db71e7: Pulling fs layer 02:42:34 6ca5941a6612: Pulling fs layer 02:42:34 ecc8261a40a4: Pulling fs layer 02:42:34 ecc8261a40a4: Waiting 02:42:34 2a8b12db71e7: Verifying Checksum 02:42:34 2a8b12db71e7: Download complete 02:42:34 31603596830f: Download complete 02:42:34 ecc8261a40a4: Verifying Checksum 02:42:34 ecc8261a40a4: Download complete 02:42:34 6ca5941a6612: Verifying Checksum 02:42:34 6ca5941a6612: Download complete 02:42:34 31603596830f: Pull complete 02:42:34 2a8b12db71e7: Pull complete 02:42:35 6ca5941a6612: Pull complete 02:42:35 ecc8261a40a4: Pull complete 02:42:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:35 prd-centos7-docker-4c-2g-4667 does not seem to be running inside a container 02:42:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:38 $ docker top 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:38 [ssh-agent] Looking for ssh-agent implementation... 02:42:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:39 $ docker exec 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 ssh-agent 02:42:39 SSH_AUTH_SOCK=/tmp/ssh-Z4fe4zTiaRne/agent.11 02:42:39 SSH_AGENT_PID=16 02:42:39 Running ssh-add (command line suppressed) 02:42:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7229322748765886502.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7229322748765886502.key) 02:42:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:39 + git describe --exact-match --tags HEAD 02:42:39 fatal: no tag exactly matches '5d0c504eae50a1668b527b6ad2bb363c764e8a11' [Pipeline] } 02:42:39 $ docker exec --env ******** --env ******** 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 ssh-agent -k 02:42:40 unset SSH_AUTH_SOCK; 02:42:40 unset SSH_AGENT_PID; 02:42:40 echo Agent pid 16 killed; 02:42:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:42:40 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:42:40 This usually means this commit has not been tagged. [Pipeline] sshagent 02:42:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:40 [ssh-agent] Looking for ssh-agent implementation... 02:42:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:40 $ docker exec 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 ssh-agent 02:42:40 SSH_AUTH_SOCK=/tmp/ssh-2UJ5uKZXamHa/agent.44 02:42:40 SSH_AGENT_PID=50 02:42:40 Running ssh-add (command line suppressed) 02:42:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_5034432456677019776.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_5034432456677019776.key) 02:42:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:41 + git semver init 02:42:41 # -> Open(): unable to determine branch for HEAD 02:42:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git 02:42:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 02:42:41 # $SEMVER_REMOTE_NAME = origin 02:42:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:41 # $SEMVER_USER_NAME = edgex-jenkins 02:42:41 # $SEMVER_BRANCH = PR-619 02:42:41 # $SEMVER_TEMP = /tmp/semver-329466509 02:42:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:41 # '/tmp/semver-329466509' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' 02:42:41 # -> Force: false 02:42:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } 02:42:41 $ docker exec --env ******** --env ******** 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 ssh-agent -k 02:42:41 unset SSH_AUTH_SOCK; 02:42:41 unset SSH_AGENT_PID; 02:42:41 echo Agent pid 50 killed; 02:42:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:42 + git semver [Pipeline] } 02:42:42 $ docker stop --time=1 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 02:42:44 $ docker rm -f 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:42:45 Stashed 48 file(s) [Pipeline] echo 02:42:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:42:45 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 02:43:00 Still waiting to schedule task 02:43:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:00 Still waiting to schedule task 02:43:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:43:59 Running on prd-centos7-docker-4c-2g-4676 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 02:44:00 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:44:03 using credential edgex-jenkins-ssh 02:44:03 Cloning the remote Git repository 02:44:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:03 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:44:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:03 > git --version # timeout=10 02:44:03 > git --version # 'git version 2.16.5' 02:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:04 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a 02:44:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:04 > git config core.sparsecheckout # timeout=10 02:44:04 > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 02:44:04 > git remote # timeout=10 02:44:04 > git config --get remote.origin.url # timeout=10 02:44:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:04 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 02:44:04 Merge succeeded, producing eb94137880189c98aab003928c35a322ea320ff5 02:44:04 Checking out Revision eb94137880189c98aab003928c35a322ea320ff5 (PR-619) 02:44:04 > git rev-parse HEAD^{commit} # timeout=10 02:44:04 > git config core.sparsecheckout # timeout=10 02:44:04 > git checkout -f eb94137880189c98aab003928c35a322ea320ff5 # timeout=10 02:44:08 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" 02:44:08 > git rev-list --no-walk 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:44:09 ========================================================= 02:44:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:10 + 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 . 02:44:12 Sending build context to Docker daemon 3.646MB 02:44:12 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:12 Step 2/8 : FROM ${BASE} 02:44:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:12 df20fa9351a1: Pulling fs layer 02:44:12 ed8968b2872e: Pulling fs layer 02:44:12 a92cc7c5fd73: Pulling fs layer 02:44:12 e871e8e8d7a9: Pulling fs layer 02:44:12 e73272ec9a57: Pulling fs layer 02:44:12 1e910a182e73: Pulling fs layer 02:44:12 4e634b169226: Pulling fs layer 02:44:12 e871e8e8d7a9: Waiting 02:44:12 e73272ec9a57: Waiting 02:44:12 1e910a182e73: Waiting 02:44:12 4e634b169226: Waiting 02:44:12 a92cc7c5fd73: Verifying Checksum 02:44:12 a92cc7c5fd73: Download complete 02:44:12 ed8968b2872e: Download complete 02:44:12 e73272ec9a57: Verifying Checksum 02:44:12 e73272ec9a57: Download complete 02:44:12 1e910a182e73: Verifying Checksum 02:44:12 1e910a182e73: Download complete 02:44:12 df20fa9351a1: Verifying Checksum 02:44:12 df20fa9351a1: Download complete 02:44:12 df20fa9351a1: Pull complete 02:44:12 ed8968b2872e: Pull complete 02:44:12 a92cc7c5fd73: Pull complete 02:44:13 4e634b169226: Verifying Checksum 02:44:13 4e634b169226: Download complete 02:44:14 e871e8e8d7a9: Verifying Checksum 02:44:14 e871e8e8d7a9: Download complete 02:44:21 e871e8e8d7a9: Pull complete 02:44:21 e73272ec9a57: Pull complete 02:44:21 1e910a182e73: Pull complete 02:44:29 4e634b169226: Pull complete 02:44:29 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:44:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:29 ---> f7629b54cfaa 02:44:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:29 ---> Running in 2b5d0926524c 02:44:29 Removing intermediate container 2b5d0926524c 02:44:29 ---> 300f6a979b16 02:44:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:29 ---> Running in ebf3c5c27f6c 02:44:31 Removing intermediate container ebf3c5c27f6c 02:44:31 ---> c7d9759eb971 02:44:31 Step 5/8 : RUN apk add --no-cache make git 02:44:31 ---> Running in 1be8ac615214 02:44:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:33 OK: 166 MiB in 39 packages 02:44:33 Removing intermediate container 1be8ac615214 02:44:33 ---> 04664a50f375 02:44:33 Step 6/8 : WORKDIR /device-sdk-go 02:44:33 ---> Running in 467cd65c4627 02:44:34 Removing intermediate container 467cd65c4627 02:44:34 ---> f8060f7f29d1 02:44:34 Step 7/8 : COPY . . 02:44:35 ---> 316d275c1999 02:44:35 Step 8/8 : RUN go mod download 02:44:35 ---> Running in b7c2dfee6978 02:44:57 Removing intermediate container b7c2dfee6978 02:44:57 ---> 301f2109f914 02:44:57 Successfully built 301f2109f914 02:44:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:57 + docker inspect -f . ci-base-image-x86_64 02:44:57 . [Pipeline] withDockerContainer 02:44:58 prd-centos7-docker-4c-2g-4676 does not seem to be running inside a container 02:44:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:59 $ docker top 08bfbc9b6b8e9f7fb553419d077c3258141f7c173e6d90bd46b3874f91caf03c -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:59 + go version 02:44:59 go version go1.15.2 linux/amd64 [Pipeline] } 02:44:59 $ docker stop --time=1 08bfbc9b6b8e9f7fb553419d077c3258141f7c173e6d90bd46b3874f91caf03c 02:45:00 $ docker rm -f 08bfbc9b6b8e9f7fb553419d077c3258141f7c173e6d90bd46b3874f91caf03c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:01 + docker inspect -f . ci-base-image-x86_64 02:45:01 . [Pipeline] withDockerContainer 02:45:01 prd-centos7-docker-4c-2g-4676 does not seem to be running inside a container 02:45:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:02 $ docker top 37110c5613703546a52677a39da886698afba4623e3ef975c9823181884a4aa3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:03 + make test 02:45:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.067s coverage: 21.6% of statements 02:45:28 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.501s coverage: 97.1% of statements 02:45:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4678 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 02:45:34 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:45:40 using credential edgex-jenkins-ssh 02:45:40 Cloning the remote Git repository 02:45:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:40 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:45:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:40 > git --version # timeout=10 02:45:40 > git --version # 'git version 2.17.1' 02:45:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:42 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a 02:45:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:42 > git config core.sparsecheckout # timeout=10 02:45:42 > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 02:45:43 Merge succeeded, producing 4f32becbde710ccd70bfaa3375b4ef3c29bed442 02:45:43 Checking out Revision 4f32becbde710ccd70bfaa3375b4ef3c29bed442 (PR-619) 02:45:43 > git remote # timeout=10 02:45:43 > git config --get remote.origin.url # timeout=10 02:45:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:43 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 02:45:43 > git rev-parse HEAD^{commit} # timeout=10 02:45:43 > git config core.sparsecheckout # timeout=10 02:45:43 > git checkout -f 4f32becbde710ccd70bfaa3375b4ef3c29bed442 # timeout=10 02:45:47 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" 02:45:47 > git rev-list --no-walk 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:45:49 ========================================================= 02:45:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:50 + 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 . 02:45:51 Sending build context to Docker daemon 3.646MB 02:45:51 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:51 Step 2/8 : FROM ${BASE} 02:45:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:51 b538f80385f9: Pulling fs layer 02:45:51 74f711af9a0d: Pulling fs layer 02:45:51 99f96fe45779: Pulling fs layer 02:45:51 8529a6b9a6be: Pulling fs layer 02:45:51 45590311c82a: Pulling fs layer 02:45:51 69ca0ff8b7b3: Pulling fs layer 02:45:51 209524e5b208: Pulling fs layer 02:45:51 45590311c82a: Waiting 02:45:51 69ca0ff8b7b3: Waiting 02:45:51 209524e5b208: Waiting 02:45:51 8529a6b9a6be: Waiting 02:45:51 99f96fe45779: Verifying Checksum 02:45:51 99f96fe45779: Download complete 02:45:51 74f711af9a0d: Verifying Checksum 02:45:51 74f711af9a0d: Download complete 02:45:51 45590311c82a: Verifying Checksum 02:45:51 45590311c82a: Download complete 02:45:51 69ca0ff8b7b3: Download complete 02:45:52 b538f80385f9: Download complete 02:45:52 b538f80385f9: Pull complete 02:45:53 74f711af9a0d: Pull complete 02:45:53 99f96fe45779: Pull complete 02:45:54 209524e5b208: Verifying Checksum 02:45:54 209524e5b208: Download complete 02:45:56 8529a6b9a6be: Verifying Checksum 02:45:56 8529a6b9a6be: Download complete 02:46:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements 02:46:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 40.8% of statements 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 68.9% of statements 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.062s coverage: 52.6% of statements 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.374s coverage: 68.9% of statements 02:46:00 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:46:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:00 GO111MODULE=on go vet ./... 02:46:06 8529a6b9a6be: Pull complete 02:46:06 45590311c82a: Pull complete 02:46:07 69ca0ff8b7b3: Pull complete 02:46:08 gofmt -l . 02:46:08 [ "`gofmt -l .`" = "" ] 02:46:08 ./bin/test-attribution-txt.sh 02:46:08 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:46:09 Stashed 1 file(s) [Pipeline] } 02:46:09 $ docker stop --time=1 37110c5613703546a52677a39da886698afba4623e3ef975c9823181884a4aa3 02:46:10 209524e5b208: Pull complete 02:46:10 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:46:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:10 ---> 5bddaf1c2fca 02:46:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:11 $ docker rm -f 37110c5613703546a52677a39da886698afba4623e3ef975c9823181884a4aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:13 + ls -al . 02:46:13 total 188 02:46:13 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 02:46 . 02:46:13 drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 02:44 .. 02:46:13 drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 02:44 bin 02:46:13 -rw-r--r--. 1 jenkins jenkins 110396 Oct 12 02:45 coverage.out 02:46:13 -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 02:44 Dockerfile.build 02:46:13 -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 02:44 .dockerignore 02:46:13 drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 02:44 example 02:46:13 drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 02:44 .git 02:46:13 drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 02:44 .github 02:46:13 -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 02:44 .gitignore 02:46:13 -rw-r--r--. 1 jenkins jenkins 517 Oct 12 02:46 go.mod 02:46:13 -rw-r--r--. 1 jenkins jenkins 13652 Oct 12 02:46 go.sum 02:46:13 drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 02:44 internal 02:46:13 -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 02:44 Jenkinsfile 02:46:13 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 02:44 LICENSE 02:46:13 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 02:44 Makefile 02:46:13 drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 02:44 openapi 02:46:13 drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 02:44 pkg 02:46:13 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 02:44 README.md 02:46:13 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 02:44 RELEASE-NOTES.txt 02:46:13 drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 02:44 .semver 02:46:13 drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 02:44 snap 02:46:13 -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 02:42 VERSION 02:46:13 -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:13 ---> Running in 6d9c657fee16 02:46:13 + 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=5d0c504eae50a1668b527b6ad2bb363c764e8a11 --label arch=amd64 --label version=0.0.0 . 02:46:13 Removing intermediate container 6d9c657fee16 02:46:13 ---> 8c17278f9b5d 02:46:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:13 Sending build context to Docker daemon 3.758MB 02:46:13 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:13 Step 2/24 : FROM ${BASE} AS builder 02:46:13 ---> 301f2109f914 02:46:13 Step 3/24 : ARG MAKE='make build' 02:46:13 ---> Running in 78766230cdf2 02:46:14 ---> Running in decc59bf35f5 02:46:14 Removing intermediate container decc59bf35f5 02:46:14 ---> 047692986aa2 02:46:14 Step 4/24 : WORKDIR /device-sdk-go 02:46:14 ---> Running in f52181874d4d 02:46:14 Removing intermediate container f52181874d4d 02:46:14 ---> 2973c8b30df7 02:46:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:14 ---> Running in a2d9cf721417 02:46:15 Removing intermediate container a2d9cf721417 02:46:15 ---> 8e9910d7d8ed 02:46:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:15 ---> Running in f0cff0dfb322 02:46:15 Removing intermediate container f0cff0dfb322 02:46:15 ---> 9cb54266ad20 02:46:15 Step 7/24 : RUN apk add --update --no-cache make git 02:46:15 ---> Running in fb963f58f1aa 02:46:16 Removing intermediate container 78766230cdf2 02:46:16 ---> ab3657c3f4bc 02:46:16 Step 5/8 : RUN apk add --no-cache make git 02:46:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:16 ---> Running in 4195b942b4ef 02:46:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:18 OK: 166 MiB in 39 packages 02:46:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:18 Removing intermediate container fb963f58f1aa 02:46:18 ---> b7295a507ef5 02:46:18 Step 8/24 : COPY . . 02:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:19 OK: 142 MiB in 39 packages 02:46:20 ---> bada99c5d943 02:46:20 Step 9/24 : RUN ${MAKE} 02:46:20 ---> Running in c0c4428cd39f 02:46:20 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 02:46:21 Removing intermediate container 4195b942b4ef 02:46:21 ---> 51947c4eaaeb 02:46:21 Step 6/8 : WORKDIR /device-sdk-go 02:46:21 ---> Running in 130d7c0f6347 02:46:21 Removing intermediate container 130d7c0f6347 02:46:21 ---> cabc65996b04 02:46:21 Step 7/8 : COPY . . 02:46:23 ---> d176fa45ecf6 02:46:23 Step 8/8 : RUN go mod download 02:46:23 ---> Running in d8218dc384a5 02:46:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:32 Removing intermediate container c0c4428cd39f 02:46:32 ---> 8535afd49f52 02:46:32 Step 10/24 : FROM scratch 02:46:32 ---> 02:46:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:32 ---> Running in 1b7d8291d524 02:46:32 Removing intermediate container 1b7d8291d524 02:46:32 ---> 032f1ee5d198 02:46:32 Step 12/24 : ENV APP_PORT=49990 02:46:32 ---> Running in bd66a20e9190 02:46:32 Removing intermediate container bd66a20e9190 02:46:32 ---> ab13036f89bc 02:46:32 Step 13/24 : EXPOSE $APP_PORT 02:46:32 ---> Running in 79dc476522e0 02:46:32 Removing intermediate container 79dc476522e0 02:46:32 ---> c9ffe199a054 02:46:32 Step 14/24 : WORKDIR / 02:46:32 ---> Running in 5490d1268d8d 02:46:32 Removing intermediate container 5490d1268d8d 02:46:32 ---> 41077e7b083f 02:46:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:33 ---> 6d3ae29be547 02:46:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:33 ---> ed47f1f91b3a 02:46:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:33 ---> 5c07918943db 02:46:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:34 ---> 4762646c2855 02:46:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:34 ---> 8c765d151380 02:46:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:34 ---> Running in ae24101978ca 02:46:34 Removing intermediate container ae24101978ca 02:46:34 ---> 3768d12c1a91 02:46:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:34 ---> Running in 3df0143233b0 02:46:34 Removing intermediate container 3df0143233b0 02:46:34 ---> b9f6690e5fa7 02:46:34 Step 22/24 : LABEL arch=amd64 02:46:34 ---> Running in b82037ac1c5a 02:46:35 Removing intermediate container b82037ac1c5a 02:46:35 ---> 8c120e8c16ba 02:46:35 Step 23/24 : LABEL git_sha=5d0c504eae50a1668b527b6ad2bb363c764e8a11 02:46:35 ---> Running in 4d5cd72e3a03 02:46:35 Removing intermediate container 4d5cd72e3a03 02:46:35 ---> 0423723b02f7 02:46:35 Step 24/24 : LABEL version=0.0.0 02:46:35 ---> Running in 0bfa7a9cab07 02:46:35 Removing intermediate container 0bfa7a9cab07 02:46:35 ---> b7b31d09bcd1 02:46:35 [Warning] One or more build-args [ARCH] were not consumed 02:46:35 Successfully built b7b31d09bcd1 02:46:35 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] } 02:46:50 Removing intermediate container d8218dc384a5 02:46:50 ---> a7d086ee9752 02:46:50 Successfully built a7d086ee9752 02:46:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:51 + docker inspect -f . ci-base-image-arm64 02:46:51 . [Pipeline] withDockerContainer 02:46:51 prd-ubuntu18.04-docker-arm64-4c-16g-4678 does not seem to be running inside a container 02:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:53 $ docker top 4c9a39a68000799310f2e97d4d4bfd5a5371122851f4157082e7b1e40f871fef -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:54 + go version 02:46:54 go version go1.15.2 linux/arm64 [Pipeline] } 02:46:54 $ docker stop --time=1 4c9a39a68000799310f2e97d4d4bfd5a5371122851f4157082e7b1e40f871fef 02:46:56 $ docker rm -f 4c9a39a68000799310f2e97d4d4bfd5a5371122851f4157082e7b1e40f871fef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:57 + docker inspect -f . ci-base-image-arm64 02:46:57 . [Pipeline] withDockerContainer 02:46:58 prd-ubuntu18.04-docker-arm64-4c-16g-4678 does not seem to be running inside a container 02:46:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:00 $ docker top 19acba1923b89e7faf4c31dff56d1be5b1fea65256ea6e89437f1e36613b91c5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:02 + make test 02:47:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:28 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:16 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.149s coverage: 21.6% of statements 02:48:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.439s coverage: 97.1% of statements 02:48:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements 02:48:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements 02:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.588s coverage: 40.8% of statements 02:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.861s coverage: 68.9% of statements 02:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.231s coverage: 52.6% of statements 02:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.042s coverage: 68.9% of statements 02:48:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:48 GO111MODULE=on go vet ./... 02:49:20 gofmt -l . 02:49:20 [ "`gofmt -l .`" = "" ] 02:49:20 ./bin/test-attribution-txt.sh 02:49:20 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:49:20 Warning: overwriting stash ‘coverage-report’ 02:49:22 Stashed 1 file(s) [Pipeline] } 02:49:22 $ docker stop --time=1 19acba1923b89e7faf4c31dff56d1be5b1fea65256ea6e89437f1e36613b91c5 02:49:24 $ docker rm -f 19acba1923b89e7faf4c31dff56d1be5b1fea65256ea6e89437f1e36613b91c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:26 + ls -al . 02:49:26 total 228 02:49:26 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:49 . 02:49:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:45 .. 02:49:26 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 02:45 .dockerignore 02:49:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:45 .git 02:49:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:45 .github 02:49:26 -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 02:45 .gitignore 02:49:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:45 .semver 02:49:26 -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 02:45 Dockerfile.build 02:49:26 -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 02:45 Jenkinsfile 02:49:26 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 02:45 LICENSE 02:49:26 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 02:45 Makefile 02:49:26 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 02:45 README.md 02:49:26 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 02:45 RELEASE-NOTES.txt 02:49:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:42 VERSION 02:49:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:45 bin 02:49:26 -rw-r--r-- 1 jenkins jenkins 110396 Oct 12 02:48 coverage.out 02:49:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:45 example 02:49:26 -rw-r--r-- 1 jenkins jenkins 517 Oct 12 02:49 go.mod 02:49:26 -rw-r--r-- 1 jenkins jenkins 13652 Oct 12 02:49 go.sum 02:49:26 drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 02:45 internal 02:49:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:45 openapi 02:49:26 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 02:45 pkg 02:49:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:45 snap 02:49:26 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:26 + 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=5d0c504eae50a1668b527b6ad2bb363c764e8a11 --label arch=arm64 --label version=0.0.0 . 02:49:27 Sending build context to Docker daemon 3.758MB 02:49:27 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:27 Step 2/24 : FROM ${BASE} AS builder 02:49:27 ---> a7d086ee9752 02:49:27 Step 3/24 : ARG MAKE='make build' 02:49:28 ---> Running in 46e64b0fc263 02:49:28 Removing intermediate container 46e64b0fc263 02:49:28 ---> cc47701c8d9e 02:49:28 Step 4/24 : WORKDIR /device-sdk-go 02:49:28 ---> Running in 85b70b8785b3 02:49:29 Removing intermediate container 85b70b8785b3 02:49:29 ---> 1f50890aca30 02:49:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:29 ---> Running in ec56ada8c525 02:49:29 Removing intermediate container ec56ada8c525 02:49:29 ---> f3c1eda27ef8 02:49:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:29 ---> Running in 69b2bcac9325 02:49:33 Removing intermediate container 69b2bcac9325 02:49:33 ---> 91ac0acf5bf1 02:49:33 Step 7/24 : RUN apk add --update --no-cache make git 02:49:33 ---> Running in 1566635c3204 02:49:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:36 OK: 142 MiB in 39 packages 02:49:37 Removing intermediate container 1566635c3204 02:49:37 ---> 4c329eb3d025 02:49:37 Step 8/24 : COPY . . 02:49:39 ---> da78a9949ea4 02:49:39 Step 9/24 : RUN ${MAKE} 02:49:39 ---> Running in 5177478900f5 02:49:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:13 Removing intermediate container 5177478900f5 02:50:13 ---> 553a93ae3544 02:50:13 Step 10/24 : FROM scratch 02:50:13 ---> 02:50:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:13 ---> Running in 3e9ab9436a04 02:50:13 Removing intermediate container 3e9ab9436a04 02:50:13 ---> d443c900bbae 02:50:13 Step 12/24 : ENV APP_PORT=49990 02:50:13 ---> Running in 33bd350d4441 02:50:13 Removing intermediate container 33bd350d4441 02:50:13 ---> 9c8819fc6187 02:50:13 Step 13/24 : EXPOSE $APP_PORT 02:50:13 ---> Running in ba79b5c57059 02:50:13 Removing intermediate container ba79b5c57059 02:50:13 ---> 6fc8d87fc7db 02:50:13 Step 14/24 : WORKDIR / 02:50:13 ---> Running in 6113412238a3 02:50:13 Removing intermediate container 6113412238a3 02:50:13 ---> ab90b1742489 02:50:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:15 ---> 75aa4c5e6760 02:50:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:15 ---> f9042482b30c 02:50:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:16 ---> 0f9e99b54c87 02:50:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:17 ---> 27f5818e31aa 02:50:17 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:18 ---> 71fc45fd9833 02:50:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:18 ---> Running in 41950477b092 02:50:18 Removing intermediate container 41950477b092 02:50:18 ---> b72a9220f3ee 02:50:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:18 ---> Running in 6a97d4e59c00 02:50:19 Removing intermediate container 6a97d4e59c00 02:50:19 ---> 5c3a1cef819c 02:50:19 Step 22/24 : LABEL arch=arm64 02:50:19 ---> Running in 233545dd19eb 02:50:19 Removing intermediate container 233545dd19eb 02:50:19 ---> f39fec40b7b7 02:50:19 Step 23/24 : LABEL git_sha=5d0c504eae50a1668b527b6ad2bb363c764e8a11 02:50:20 ---> Running in ea258fa441cc 02:50:20 Removing intermediate container ea258fa441cc 02:50:20 ---> 67005fc0a9c7 02:50:20 Step 24/24 : LABEL version=0.0.0 02:50:20 ---> Running in 3908315ca97b 02:50:21 Removing intermediate container 3908315ca97b 02:50:21 ---> 2ed03cd95567 02:50:21 [Warning] One or more build-args [ARCH] were not consumed 02:50:21 Successfully built 2ed03cd95567 02:50:21 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 02:50:23 provisioning config files... 02:50:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config5984998955709285233tmp [Pipeline] { [Pipeline] sh 02:50:23 + set +x 02:50:23 + curl -s https://codecov.io/bash 02:50:23 + bash -s -- 02:50:24 02:50:24 _____ _ 02:50:24 / ____| | | 02:50:24 | | ___ __| | ___ ___ _____ __ 02:50:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:24 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:24 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:24 Bash-20201009-048fee3 02:50:24 02:50:24 02:50:24 ==> Jenkins CI detected. 02:50:24 project root: . 02:50:24 Fixing merge commit SHA 02:50:24 --> token set from env 02:50:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:24 ==> Running gcov in . (disable via -X gcov) 02:50:24 ==> Python coveragepy not found 02:50:24 ==> Searching for coverage reports in: 02:50:24 + . 02:50:24 -> Found 1 reports 02:50:24 ==> Detecting git/mercurial file structure 02:50:24 ==> Reading reports 02:50:24 + ./coverage.out bytes=110396 02:50:24 ==> Appending adjustments 02:50:24 https://docs.codecov.io/docs/fixing-reports 02:50:24 + Found adjustments 02:50:24 ==> Gzipping contents 02:50:24 ==> Uploading reports 02:50:24 url: https://codecov.io 02:50:24 query: branch=PR-619&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 02:50:24 -> Pinging Codecov 02:50:24 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 02:50:24 -> Uploading to 02:50:24 02:50:24 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:24 Dload Upload Total Spent Left Speed 02:50:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:50:24 X> Failed to upload 02:50:24 ==> Uploading to Codecov 02:50:24 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:24 Dload Upload Total Spent Left Speed 02:50:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18787 100 110 100 18677 233 39684 --:--:-- --:--:-- --:--:-- 39653 02:50:25 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/153a43e7e060228c1df4c616c423a5b384e52518 [Pipeline] } 02:50:25 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 02:50:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:28 ---> package-listing.sh 02:50:28 ++ facter osfamily 02:50:28 ++ tr '[:upper:]' '[:lower:]' 02:50:28 + OS_FAMILY=redhat 02:50:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 02:50:28 + START_PACKAGES=/tmp/packages_start.txt 02:50:28 + END_PACKAGES=/tmp/packages_end.txt 02:50:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:28 + PACKAGES=/tmp/packages_start.txt 02:50:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 02:50:28 + PACKAGES=/tmp/packages_end.txt 02:50:28 + case "${OS_FAMILY}" in 02:50:28 + rpm -qa 02:50:28 + sort 02:50:32 + '[' -f /tmp/packages_start.txt ']' 02:50:32 + '[' -f /tmp/packages_end.txt ']' 02:50:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 02:50:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ 02:50:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:32 provisioning config files... 02:50:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config8208386397710293663tmp [Pipeline] { [Pipeline] echo 02:50:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:33 ---> create-netrc.sh [Pipeline] } 02:50:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:33 ---> python-tools-install.sh 02:50:33 Generating Requirements File 02:51:54 Python 3.6.8 02:51:54 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:51:54 appdirs==1.4.3 02:51:54 argcomplete==1.12.1 02:51:54 aspy.yaml==1.3.0 02:51:54 attrs==19.3.0 02:51:54 Babel==2.8.0 02:51:54 beautifulsoup4==4.8.2 02:51:54 boto3==1.11.6 02:51:54 botocore==1.14.6 02:51:54 bs4==0.0.1 02:51:54 cachetools==4.1.1 02:51:54 certifi==2019.11.28 02:51:54 cffi==1.14.3 02:51:54 cfgv==2.0.1 02:51:54 chardet==3.0.4 02:51:54 click==7.1 02:51:54 cliff==3.4.0 02:51:54 cmd2==1.3.11 02:51:54 colorama==0.4.3 02:51:54 cryptography==3.1.1 02:51:54 debtcollector==2.2.0 02:51:54 decorator==4.4.2 02:51:54 defusedxml==0.6.0 02:51:54 Deprecated==1.2.7 02:51:54 distlib==0.3.1 02:51:54 distro==1.2.0 02:51:54 dnspython==1.16.0 02:51:54 docker==4.2.0 02:51:54 docutils==0.15.2 02:51:54 dogpile.cache==1.0.2 02:51:54 email-validator==1.0.5 02:51:54 filelock==3.0.12 02:51:54 future==0.18.2 02:51:54 google-auth==1.22.1 02:51:54 httplib2==0.17.0 02:51:54 identify==1.4.11 02:51:54 idna==2.9 02:51:54 importlib-metadata==2.0.0 02:51:54 importlib-resources==1.5.0 02:51:54 iso8601==0.1.13 02:51:54 Jinja2==2.11.1 02:51:54 jmespath==0.10.0 02:51:54 jsonpatch==1.26 02:51:54 jsonpointer==2.0 02:51:54 jsonschema==3.2.0 02:51:54 keystoneauth1==4.2.1 02:51:54 kubernetes==11.0.0 02:51:54 lftools==0.34.2 02:51:54 lxml==4.5.0 02:51:54 MarkupSafe==0.23 02:51:54 msgpack==1.0.0 02:51:54 multi-key-dict==2.0.3 02:51:54 munch==2.5.0 02:51:54 netaddr==0.8.0 02:51:54 netifaces==0.10.9 02:51:54 niet==1.4.2 02:51:54 nodeenv==1.3.5 02:51:54 oauth2client==4.1.3 02:51:54 oauthlib==3.1.0 02:51:54 openstacksdk==0.50.0 02:51:54 os-client-config==2.1.0 02:51:54 os-service-types==1.7.0 02:51:54 osc-lib==2.2.1 02:51:54 oslo.config==8.3.2 02:51:54 oslo.context==3.1.1 02:51:54 oslo.i18n==5.0.1 02:51:54 oslo.log==4.4.0 02:51:54 oslo.serialization==4.0.1 02:51:54 oslo.utils==4.6.0 02:51:54 packaging==20.4 02:51:54 pbr==5.4.4 02:51:54 pluggy==0.13.1 02:51:54 prettytable==0.7.2 02:51:54 py==1.9.0 02:51:54 pyasn1==0.4.8 02:51:54 pyasn1-modules==0.2.8 02:51:54 pycparser==2.20 02:51:54 pygerrit2==2.0.10 02:51:54 PyGithub==1.46 02:51:54 pyinotify==0.9.6 02:51:54 PyJWT==1.7.1 02:51:54 pyparsing==2.4.7 02:51:54 pyperclip==1.8.1 02:51:54 pyroute2==0.4.13 02:51:54 pyrsistent==0.15.7 02:51:54 PySocks==1.6.8 02:51:54 python-cinderclient==7.2.0 02:51:54 python-dateutil==2.8.1 02:51:54 python-heatclient==2.2.1 02:51:54 python-jenkins==1.7.0 02:51:54 python-keystoneclient==4.1.1 02:51:54 python-magnumclient==3.2.1 02:51:54 python-novaclient==17.2.1 02:51:54 python-openstackclient==5.4.0 02:51:54 python-swiftclient==3.10.1 02:51:54 pytz==2020.1 02:51:54 PyYAML==5.3 02:51:54 requests==2.23.0 02:51:54 requests-oauthlib==1.3.0 02:51:54 requestsexceptions==1.4.0 02:51:54 rfc3986==1.4.0 02:51:54 rpm==4.11.3 02:51:54 rsa==4.0 02:51:54 ruamel.yaml==0.16.10 02:51:54 ruamel.yaml.clib==0.2.0 02:51:54 s3transfer==0.3.3 02:51:54 shade==1.27.2 02:51:54 simplejson==3.17.2 02:51:54 six==1.14.0 02:51:54 soupsieve==2.0 02:51:54 stevedore==3.2.2 02:51:54 tabulate==0.8.6 02:51:54 toml==0.10.0 02:51:54 tox==3.20.1 02:51:54 tqdm==4.43.0 02:51:54 urllib3==1.25.8 02:51:54 virtualenv==20.0.33 02:51:54 wcwidth==0.2.5 02:51:54 websocket-client==0.57.0 02:51:54 wrapt==1.12.1 02:51:54 xdg==3.0.2 02:51:54 xmltodict==0.12.0 02:51:54 yq==2.11.1 02:51:54 zipp==3.3.0 02:51:54 Cache entry deserialization failed, entry ignored 02:51:54 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. 02:51:54 Python 2.7.5 02:51:54 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:51:54 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. 02:51:54 ansible==2.9.7 02:51:54 Babel==0.9.6 02:51:54 backports.ssl-match-hostname==3.5.0.1 02:51:54 beautifulsoup4==4.4.1 02:51:54 bodhi==2.11.0 02:51:54 bodhi-client==2.11.0 02:51:54 CCColUtils==1.4 02:51:54 cffi==1.6.0 02:51:54 chardet==2.2.1 02:51:54 click==6.7 02:51:54 cloud-init==18.5 02:51:54 configobj==4.7.2 02:51:54 cryptography==1.7.2 02:51:54 decorator==3.4.0 02:51:54 distro==1.2.0 02:51:54 enum34==1.0.4 02:51:54 fedpkg==1.38 02:51:54 futures==3.1.1 02:51:54 gitdb==0.6.4 02:51:54 GitPython==1.0.1 02:51:54 html5lib==0.999 02:51:54 httplib2==0.9.2 02:51:54 idna==2.4 02:51:54 iniparse==0.4 02:51:54 ipaddress==1.0.16 02:51:54 IPy==0.75 02:51:54 javapackages==1.0.0 02:51:54 Jinja2==2.7.2 02:51:54 jmespath==0.9.4 02:51:54 jsonpatch==1.2 02:51:54 jsonpointer==1.9 02:51:54 kerberos==1.1 02:51:54 kitchen==1.1.1 02:51:54 langtable==0.0.31 02:51:54 lockfile==0.9.1 02:51:54 lxml==3.2.1 02:51:54 MarkupSafe==0.11 02:51:54 munch==2.0.2 02:51:54 offtrac==0.1.0 02:51:54 openidc-client==0.6.0 02:51:54 packagedb-cli==2.14.1 02:51:54 paramiko==2.1.1 02:51:54 perf==0.1 02:51:54 ply==3.4 02:51:54 policycoreutils-default-encoding==0.1 02:51:54 prettytable==0.7.2 02:51:54 pyasn1==0.1.9 02:51:54 pycparser==2.14 02:51:54 pycurl==7.19.0 02:51:54 pygobject==3.22.0 02:51:54 pygpgme==0.3 02:51:54 pyliblzma==0.5.3 02:51:54 pyOpenSSL==0.13.1 02:51:54 pyparsing==1.5.6 02:51:54 pyserial==2.6 02:51:54 python-augeas==0.5.0 02:51:54 python-bugzilla==2.3.0 02:51:54 python-dateutil==1.5 02:51:54 python-fedora==0.10.0 02:51:54 python-linux-procfs==0.4.9 02:51:54 python-yubico==1.2.3 02:51:54 pyudev==0.15 02:51:54 pyusb==1.0.0b1 02:51:54 pyxattr==0.5.1 02:51:54 PyYAML==3.10 02:51:54 requests==2.6.0 02:51:54 requests-kerberos==0.7.0 02:51:54 rpkg==1.60 02:51:54 schedutils==0.4 02:51:54 seobject==0.1 02:51:54 sepolicy==1.1 02:51:54 six==1.9.0 02:51:54 smmap==0.9.0 02:51:54 urlgrabber==3.10 02:51:54 urllib3==1.10.2 02:51:54 virtualenv==15.1.0 02:51:54 yum-langpacks==0.4.2 02:51:54 yum-metadata-parser==1.1.4 [Pipeline] echo 02:51:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:55 ---> sudo-logs.sh 02:51:55 Archiving 'sudo' log.. [Pipeline] echo 02:51:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:55 ---> job-cost.sh 02:51:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MKE8 02:52:08 Cache entry deserialization failed, entry ignored 02:52:08 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:09 Cache entry deserialization failed, entry ignored 02:52:10 Cache entry deserialization failed, entry ignored 02:52:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:52:39 lf-activate-venv(): INFO: Adding /tmp/venv-MKE8/bin to PATH 02:52:39 INFO: No Stack... 02:52:39 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:41 INFO: Archiving Costs [Pipeline] echo 02:52:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:42 ---> logs-deploy.sh 02:52:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/6 02:52:42 INFO: archiving workspace using pattern(s): 02:52:43 Archives upload complete. 02:52:43 INFO: archiving logs to Nexus