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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 7ebf8157bed3f29606eb8346b104e57a74818c1e rather than 23e68ec4d026f4ef737f9632a434efc0d1339c0e Obtained Jenkinsfile from 7ebf8157bed3f29606eb8346b104e57a74818c1e 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, 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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1053 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-553 # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 23e68ec4d026f4ef737f9632a434efc0d1339c0e Merge succeeded, producing 1ef1e751dc980b640aac115d7835b7c4bd89469a Checking out Revision 1ef1e751dc980b640aac115d7835b7c4bd89469a (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f 23e68ec4d026f4ef737f9632a434efc0d1339c0e # 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 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ef1e751dc980b640aac115d7835b7c4bd89469a # timeout=10 Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" > git rev-list --no-walk 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:34 ========================================================= 18:42:34 EdgeX Global Pipelines Version Info 18:42:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:36 ------------------- 18:42:36 stable info: 18:42:36 ------------------- 18:42:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:36 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 18:42:36 Message: update stable to v1.0.115 18:42:36 ------------------- 18:42:36 experimental info: 18:42:36 ------------------- 18:42:36 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:36 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 18:42:36 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 18:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:42:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:42:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo 18:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo 18:42:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo 18:42:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ef1e751dc980b640aac115d7835b7c4bd89469a [Pipeline] echo 18:42:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ef1e75 [Pipeline] echo 18:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:40 + git log --format=format:%s -1 1ef1e751dc980b640aac115d7835b7c4bd89469a [Pipeline] echo 18:42:40 GIT_COMMIT: 1ef1e751dc980b640aac115d7835b7c4bd89469a, Commit Message: Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD [Pipeline] echo 18:42:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:42:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:41 18:42:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:42:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:41 latest: Pulling from edgex-devops/git-semver 18:42:41 31603596830f: Pulling fs layer 18:42:41 2a8b12db71e7: Pulling fs layer 18:42:41 6ca5941a6612: Pulling fs layer 18:42:41 ecc8261a40a4: Pulling fs layer 18:42:41 ecc8261a40a4: Waiting 18:42:41 2a8b12db71e7: Download complete 18:42:42 31603596830f: Verifying Checksum 18:42:42 31603596830f: Download complete 18:42:42 ecc8261a40a4: Verifying Checksum 18:42:42 ecc8261a40a4: Download complete 18:42:42 6ca5941a6612: Verifying Checksum 18:42:42 6ca5941a6612: Download complete 18:42:42 31603596830f: Pull complete 18:42:42 2a8b12db71e7: Pull complete 18:42:43 6ca5941a6612: Pull complete 18:42:43 ecc8261a40a4: Pull complete 18:42:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:42:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:42:43 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 18:42:43 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:42:45 $ docker top 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:45 [ssh-agent] Looking for ssh-agent implementation... 18:42:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:45 $ docker exec 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 ssh-agent 18:42:46 SSH_AUTH_SOCK=/tmp/ssh-onOKnj82fHyn/agent.11 18:42:46 SSH_AGENT_PID=16 18:42:46 Running ssh-add (command line suppressed) 18:42:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_8898381270089545193.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_8898381270089545193.key) 18:42:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:46 + git describe --exact-match --tags HEAD 18:42:46 fatal: No names found, cannot describe anything. [Pipeline] } 18:42:46 $ docker exec --env ******** --env ******** 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 ssh-agent -k 18:42:46 unset SSH_AUTH_SOCK; 18:42:46 unset SSH_AGENT_PID; 18:42:46 echo Agent pid 16 killed; 18:42:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:42:46 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:42:46 This usually means this commit has not been tagged. [Pipeline] sshagent 18:42:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:46 [ssh-agent] Looking for ssh-agent implementation... 18:42:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:47 $ docker exec 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 ssh-agent 18:42:47 SSH_AUTH_SOCK=/tmp/ssh-6VvL2CdeDBLa/agent.44 18:42:47 SSH_AGENT_PID=49 18:42:47 Running ssh-add (command line suppressed) 18:42:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3637808295345171488.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3637808295345171488.key) 18:42:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:47 + git semver init 18:42:47 # -> Open(): unable to determine branch for HEAD 18:42:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 18:42:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 18:42:47 # $SEMVER_REMOTE_NAME = origin 18:42:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:47 # $SEMVER_USER_NAME = edgex-jenkins 18:42:47 # $SEMVER_BRANCH = PR-553 18:42:47 # $SEMVER_TEMP = /tmp/semver-646299028 18:42:47 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:42:48 # '/tmp/semver-646299028' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 18:42:48 # -> Force: false 18:42:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 18:42:48 $ docker exec --env ******** --env ******** 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 ssh-agent -k 18:42:48 unset SSH_AUTH_SOCK; 18:42:48 unset SSH_AGENT_PID; 18:42:48 echo Agent pid 49 killed; 18:42:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:49 + git semver [Pipeline] } 18:42:49 $ docker stop --time=1 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 18:42:50 $ docker rm -f 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:42:51 Stashed 32 file(s) [Pipeline] echo 18:42:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:42:51 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 18:43:06 Still waiting to schedule task 18:43:06 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:43:06 Still waiting to schedule task 18:43:06 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1051’ is offline 18:44:28 Running on prd-centos7-docker-4c-2g-1056 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 18:44:28 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 18:44:31 using credential edgex-jenkins-ssh 18:44:31 Cloning the remote Git repository 18:44:31 Cloning with configured refspecs honoured and without tags 18:44:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:31 > git init /w/workspace/device-sdk-go/14 # timeout=10 18:44:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:31 > git --version # timeout=10 18:44:31 > git --version # 'git version 2.16.5' 18:44:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:32 Fetching without tags 18:44:32 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 23e68ec4d026f4ef737f9632a434efc0d1339c0e 18:44:33 Merge succeeded, producing 37ff820409ee23abf7febc9de1177e03f382e2c0 18:44:33 Checking out Revision 37ff820409ee23abf7febc9de1177e03f382e2c0 (PR-553) 18:44:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:32 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 18:44:32 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:32 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:32 > git config core.sparsecheckout # timeout=10 18:44:32 > git checkout -f 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 18:44:33 > git remote # timeout=10 18:44:33 > git config --get remote.origin.url # timeout=10 18:44:33 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:33 > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 18:44:33 > git rev-parse HEAD^{commit} # timeout=10 18:44:33 > git config core.sparsecheckout # timeout=10 18:44:33 > git checkout -f 37ff820409ee23abf7febc9de1177e03f382e2c0 # timeout=10 18:44:36 Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" 18:44:36 > git rev-list --no-walk 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:44:37 ========================================================= 18:44:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:44:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:38 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 18:44:39 Sending build context to Docker daemon 3.149MB 18:44:39 Step 1/8 : ARG BASE=golang:1.13-alpine 18:44:39 Step 2/8 : FROM ${BASE} 18:44:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:39 df20fa9351a1: Pulling fs layer 18:44:39 ed8968b2872e: Pulling fs layer 18:44:39 a92cc7c5fd73: Pulling fs layer 18:44:39 2dd03ba5bac4: Pulling fs layer 18:44:39 1e091d79d1de: Pulling fs layer 18:44:39 481702a1767f: Pulling fs layer 18:44:39 f64a6f60c768: Pulling fs layer 18:44:39 e78d2573fc39: Pulling fs layer 18:44:39 e876d2f968b6: Pulling fs layer 18:44:39 ce8a83651883: Pulling fs layer 18:44:39 07967f4d0e4b: Pulling fs layer 18:44:39 f64a6f60c768: Waiting 18:44:39 e78d2573fc39: Waiting 18:44:39 e876d2f968b6: Waiting 18:44:39 ce8a83651883: Waiting 18:44:39 07967f4d0e4b: Waiting 18:44:39 2dd03ba5bac4: Waiting 18:44:39 1e091d79d1de: Waiting 18:44:39 481702a1767f: Waiting 18:44:39 a92cc7c5fd73: Verifying Checksum 18:44:39 a92cc7c5fd73: Download complete 18:44:39 ed8968b2872e: Verifying Checksum 18:44:39 ed8968b2872e: Download complete 18:44:39 1e091d79d1de: Verifying Checksum 18:44:39 1e091d79d1de: Download complete 18:44:39 481702a1767f: Download complete 18:44:39 df20fa9351a1: Verifying Checksum 18:44:39 df20fa9351a1: Download complete 18:44:39 df20fa9351a1: Pull complete 18:44:39 f64a6f60c768: Verifying Checksum 18:44:39 f64a6f60c768: Download complete 18:44:39 e876d2f968b6: Verifying Checksum 18:44:39 e876d2f968b6: Download complete 18:44:40 2dd03ba5bac4: Verifying Checksum 18:44:40 2dd03ba5bac4: Download complete 18:44:40 e78d2573fc39: Verifying Checksum 18:44:40 e78d2573fc39: Download complete 18:44:40 ce8a83651883: Verifying Checksum 18:44:40 ce8a83651883: Download complete 18:44:40 07967f4d0e4b: Verifying Checksum 18:44:41 ed8968b2872e: Pull complete 18:44:42 a92cc7c5fd73: Pull complete 18:44:47 2dd03ba5bac4: Pull complete 18:44:47 1e091d79d1de: Pull complete 18:44:47 481702a1767f: Pull complete 18:44:54 f64a6f60c768: Pull complete 18:44:56 e78d2573fc39: Pull complete 18:44:56 e876d2f968b6: Pull complete 18:44:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1055 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 18:44:58 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 18:44:58 ce8a83651883: Pull complete 18:44:58 07967f4d0e4b: Pull complete 18:44:58 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 18:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:44:58 ---> 5d7c900382c6 18:44:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:59 ---> Running in f15f1c4229e9 18:44:59 Removing intermediate container f15f1c4229e9 18:44:59 ---> 9bd14f49c9da 18:44:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:59 ---> Running in 1affadd65d34 18:45:00 Removing intermediate container 1affadd65d34 18:45:00 ---> 3cbdb82eea36 18:45:00 Step 5/8 : RUN apk add --no-cache make git 18:45:00 ---> Running in 6c6749334f10 18:45:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:45:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:45:03 OK: 166 MiB in 39 packages 18:45:03 using credential edgex-jenkins-ssh 18:45:03 Removing intermediate container 6c6749334f10 18:45:03 ---> 1fab14f294a0 18:45:03 Step 6/8 : WORKDIR /device-sdk-go 18:45:03 ---> Running in b57ce54c5ad7 18:45:03 Cloning the remote Git repository 18:45:03 Cloning with configured refspecs honoured and without tags 18:45:03 Removing intermediate container b57ce54c5ad7 18:45:03 ---> 6762df1c0252 18:45:03 Step 7/8 : COPY . . 18:45:04 ---> ee32ff72157e 18:45:04 Step 8/8 : RUN go mod download 18:45:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:45:03 > git init /w/workspace/device-sdk-go/14 # timeout=10 18:45:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:03 > git --version # timeout=10 18:45:03 > git --version # 'git version 2.17.1' 18:45:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:45:04 ---> Running in 75457405c389 18:45:05 Fetching without tags 18:45:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:05 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 18:45:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:45:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:45:06 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 23e68ec4d026f4ef737f9632a434efc0d1339c0e 18:45:06 Merge succeeded, producing 373135874f1200cd9f7c7d6ef2105f410c064681 18:45:06 Checking out Revision 373135874f1200cd9f7c7d6ef2105f410c064681 (PR-553) 18:45:06 go: finding github.com/BurntSushi/toml v0.3.1 18:45:06 go: finding github.com/OneOfOne/xxhash v1.2.6 18:45:06 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:45:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:45:06 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:45:06 go: finding github.com/bgentry/speakeasy v0.1.0 18:45:06 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:45:06 go: finding github.com/davecgh/go-spew v1.1.1 18:45:06 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 18:45:06 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:45:06 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:45:06 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:45:06 > git config core.sparsecheckout # timeout=10 18:45:06 > git checkout -f 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 18:45:06 > git remote # timeout=10 18:45:06 > git config --get remote.origin.url # timeout=10 18:45:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:06 > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 18:45:06 > git rev-parse HEAD^{commit} # timeout=10 18:45:06 > git config core.sparsecheckout # timeout=10 18:45:06 > git checkout -f 373135874f1200cd9f7c7d6ef2105f410c064681 # timeout=10 18:45:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:45:07 go: finding github.com/fatih/color v1.7.0 18:45:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:45:07 go: finding github.com/go-kit/kit v0.8.0 18:45:07 go: finding github.com/go-logfmt/logfmt v0.4.0 18:45:07 go: finding github.com/go-stack/stack v1.8.0 18:45:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:45:07 go: finding github.com/google/uuid v1.1.0 18:45:07 go: finding github.com/gorilla/mux v1.7.1 18:45:07 go: finding github.com/hashicorp/consul/api v1.1.0 18:45:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:45:07 go: finding github.com/hashicorp/errwrap v1.0.0 18:45:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:45:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:45:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:45:07 go: finding github.com/hashicorp/go-multierror v1.0.0 18:45:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:45:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:45:07 go: finding github.com/hashicorp/go-syslog v1.0.0 18:45:07 go: finding github.com/hashicorp/go-uuid v1.0.1 18:45:07 go: finding github.com/hashicorp/go.net v0.0.1 18:45:08 go: finding github.com/hashicorp/golang-lru v0.5.0 18:45:08 go: finding github.com/hashicorp/logutils v1.0.0 18:45:08 go: finding github.com/hashicorp/mdns v1.0.0 18:45:08 go: finding github.com/hashicorp/memberlist v0.1.3 18:45:08 go: finding github.com/hashicorp/serf v0.8.2 18:45:08 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:45:08 go: finding github.com/mattn/go-colorable v0.0.9 18:45:08 go: finding github.com/mattn/go-isatty v0.0.3 18:45:08 go: finding github.com/miekg/dns v1.0.14 18:45:08 go: finding github.com/mitchellh/cli v1.0.0 18:45:08 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:45:08 go: finding github.com/mitchellh/copystructure v1.0.0 18:45:08 go: finding github.com/mitchellh/go-homedir v1.0.0 18:45:08 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:45:08 go: finding github.com/mitchellh/gox v0.4.0 18:45:08 go: finding github.com/mitchellh/iochan v1.0.0 18:45:08 go: finding github.com/mitchellh/mapstructure v1.1.2 18:45:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:45:08 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:45:08 go: finding github.com/pelletier/go-toml v1.2.0 18:45:08 go: finding github.com/pkg/errors v0.8.1 18:45:08 go: finding github.com/pmezard/go-difflib v1.0.0 18:45:08 go: finding github.com/posener/complete v1.1.1 18:45:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:45:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:45:08 go: finding github.com/stretchr/objx v0.1.0 18:45:08 go: finding github.com/stretchr/testify v1.5.1 18:45:08 go: finding github.com/ugorji/go v1.1.4 18:45:09 go: finding github.com/x448/float16 v0.8.4 18:45:09 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:45:09 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:45:09 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:45:09 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:45:09 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:45:09 go: finding gopkg.in/yaml.v2 v2.2.8 18:45:10 Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" 18:45:10 > git rev-list --no-walk 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:45:12 ========================================================= 18:45:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:45:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:45:13 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 18:45:14 Sending build context to Docker daemon 3.151MB 18:45:14 Step 1/8 : ARG BASE=golang:1.13-alpine 18:45:14 Step 2/8 : FROM ${BASE} 18:45:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:14 b538f80385f9: Pulling fs layer 18:45:14 74f711af9a0d: Pulling fs layer 18:45:14 99f96fe45779: Pulling fs layer 18:45:14 fd7a069fd194: Pulling fs layer 18:45:14 66aa3694b03b: Pulling fs layer 18:45:14 170f70906a0f: Pulling fs layer 18:45:14 ad7c5574e4b9: Pulling fs layer 18:45:14 e772456be8f7: Pulling fs layer 18:45:14 c890913d741a: Pulling fs layer 18:45:14 2480fcc9aa5a: Pulling fs layer 18:45:14 09adf4765672: Pulling fs layer 18:45:14 66aa3694b03b: Waiting 18:45:14 170f70906a0f: Waiting 18:45:14 ad7c5574e4b9: Waiting 18:45:14 e772456be8f7: Waiting 18:45:14 c890913d741a: Waiting 18:45:14 2480fcc9aa5a: Waiting 18:45:14 09adf4765672: Waiting 18:45:14 fd7a069fd194: Waiting 18:45:14 99f96fe45779: Verifying Checksum 18:45:14 99f96fe45779: Download complete 18:45:14 74f711af9a0d: Verifying Checksum 18:45:14 74f711af9a0d: Download complete 18:45:14 66aa3694b03b: Verifying Checksum 18:45:14 66aa3694b03b: Download complete 18:45:14 170f70906a0f: Verifying Checksum 18:45:14 170f70906a0f: Download complete 18:45:14 b538f80385f9: Verifying Checksum 18:45:14 b538f80385f9: Download complete 18:45:15 b538f80385f9: Pull complete 18:45:16 74f711af9a0d: Pull complete 18:45:16 99f96fe45779: Pull complete 18:45:17 Removing intermediate container 75457405c389 18:45:17 ---> 22e5af0e43ca 18:45:17 Successfully built 22e5af0e43ca 18:45:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:18 + docker inspect -f . ci-base-image-x86_64 18:45:18 . [Pipeline] withDockerContainer 18:45:18 prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container 18:45:18 ad7c5574e4b9: Verifying Checksum 18:45:18 ad7c5574e4b9: Download complete 18:45:18 c890913d741a: Download complete 18:45:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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-x86_64 cat 18:45:19 $ docker top 7cace25887e51910e3e948a1fc8d17ee70b0749ccf4abd67545436e91e7ed623 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:20 + go version 18:45:20 go version go1.13.13 linux/amd64 [Pipeline] sh 18:45:20 2480fcc9aa5a: Verifying Checksum 18:45:20 2480fcc9aa5a: Download complete 18:45:20 + make test 18:45:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:45:20 e772456be8f7: Verifying Checksum 18:45:20 e772456be8f7: Download complete 18:45:20 09adf4765672: Verifying Checksum 18:45:20 09adf4765672: Download complete 18:45:20 fd7a069fd194: Download complete 18:45:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:45:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:45:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:45:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:45:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 21.0% of statements 18:45:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.7% of statements 18:45:33 fd7a069fd194: Pull complete 18:45:33 66aa3694b03b: Pull complete 18:45:33 170f70906a0f: Pull complete 18:45:36 ad7c5574e4b9: Pull complete 18:45:40 e772456be8f7: Pull complete 18:45:40 c890913d741a: Pull complete 18:45:43 2480fcc9aa5a: Pull complete 18:45:43 09adf4765672: Pull complete 18:45:43 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 18:45:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:45:43 ---> 2248a725d1cf 18:45:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:45:47 ---> Running in 375549bc8135 18:45:47 Removing intermediate container 375549bc8135 18:45:47 ---> 7349087b4ec7 18:45:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:47 ---> Running in 7cc19cf304ab 18:45:50 Removing intermediate container 7cc19cf304ab 18:45:50 ---> bb2e59075fe5 18:45:50 Step 5/8 : RUN apk add --no-cache make git 18:45:50 ---> Running in a8e77ae18fd1 18:45:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:45:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:45:53 OK: 142 MiB in 39 packages 18:45:54 Removing intermediate container a8e77ae18fd1 18:45:54 ---> c5819a3070ad 18:45:54 Step 6/8 : WORKDIR /device-sdk-go 18:45:54 ---> Running in ebe714a6706d 18:45:55 Removing intermediate container ebe714a6706d 18:45:55 ---> 21b52e170033 18:45:55 Step 7/8 : COPY . . 18:45:56 ---> 0af7413fc745 18:45:56 Step 8/8 : RUN go mod download 18:45:56 ---> Running in b3ebe8dbeb2b 18:45:59 go: finding github.com/BurntSushi/toml v0.3.1 18:45:59 go: finding github.com/OneOfOne/xxhash v1.2.6 18:45:59 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:45:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:45:59 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:45:59 go: finding github.com/bgentry/speakeasy v0.1.0 18:45:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:45:59 go: finding github.com/davecgh/go-spew v1.1.1 18:45:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 18:45:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:45:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:45:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:45:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:45:59 go: finding github.com/fatih/color v1.7.0 18:45:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:45:59 go: finding github.com/go-kit/kit v0.8.0 18:45:59 go: finding github.com/go-logfmt/logfmt v0.4.0 18:45:59 go: finding github.com/go-stack/stack v1.8.0 18:46:00 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:46:00 go: finding github.com/google/uuid v1.1.0 18:46:00 go: finding github.com/gorilla/mux v1.7.1 18:46:00 go: finding github.com/hashicorp/consul/api v1.1.0 18:46:00 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:46:00 go: finding github.com/hashicorp/errwrap v1.0.0 18:46:00 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:46:00 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:46:00 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:46:00 go: finding github.com/hashicorp/go-multierror v1.0.0 18:46:00 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:46:00 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:46:00 go: finding github.com/hashicorp/go-syslog v1.0.0 18:46:00 go: finding github.com/hashicorp/go-uuid v1.0.1 18:46:00 go: finding github.com/hashicorp/go.net v0.0.1 18:46:00 go: finding github.com/hashicorp/golang-lru v0.5.0 18:46:00 go: finding github.com/hashicorp/logutils v1.0.0 18:46:00 go: finding github.com/hashicorp/mdns v1.0.0 18:46:00 go: finding github.com/hashicorp/memberlist v0.1.3 18:46:00 go: finding github.com/hashicorp/serf v0.8.2 18:46:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:46:00 go: finding github.com/mattn/go-colorable v0.0.9 18:46:00 go: finding github.com/mattn/go-isatty v0.0.3 18:46:00 go: finding github.com/miekg/dns v1.0.14 18:46:00 go: finding github.com/mitchellh/cli v1.0.0 18:46:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:46:00 go: finding github.com/mitchellh/copystructure v1.0.0 18:46:00 go: finding github.com/mitchellh/go-homedir v1.0.0 18:46:01 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:46:01 go: finding github.com/mitchellh/gox v0.4.0 18:46:01 go: finding github.com/mitchellh/iochan v1.0.0 18:46:01 go: finding github.com/mitchellh/mapstructure v1.1.2 18:46:01 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:46:01 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:46:01 go: finding github.com/pelletier/go-toml v1.2.0 18:46:01 go: finding github.com/pkg/errors v0.8.1 18:46:01 go: finding github.com/pmezard/go-difflib v1.0.0 18:46:01 go: finding github.com/posener/complete v1.1.1 18:46:01 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:46:01 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:46:01 go: finding github.com/stretchr/objx v0.1.0 18:46:01 go: finding github.com/stretchr/testify v1.5.1 18:46:01 go: finding github.com/ugorji/go v1.1.4 18:46:01 go: finding github.com/x448/float16 v0.8.4 18:46:01 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:46:01 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:46:01 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:46:01 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:46:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:46:02 go: finding gopkg.in/yaml.v2 v2.2.8 18:46:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.008s coverage: 8.6% of statements 18:46:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.028s coverage: 21.7% of statements 18:46:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:46:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.020s coverage: 37.0% of statements 18:46:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:46:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.029s coverage: 65.4% of statements 18:46:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:46:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:46:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:46:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements 18:46:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.106s coverage: 68.9% of statements 18:46:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:46:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:46:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:46:04 gofmt -l . 18:46:04 [ "`gofmt -l .`" = "" ] 18:46:04 ./bin/test-attribution-txt.sh 18:46:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:46:05 Stashed 1 file(s) [Pipeline] } 18:46:05 $ docker stop --time=1 7cace25887e51910e3e948a1fc8d17ee70b0749ccf4abd67545436e91e7ed623 18:46:07 $ docker rm -f 7cace25887e51910e3e948a1fc8d17ee70b0749ccf4abd67545436e91e7ed623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:46:10 + ls -al . 18:46:10 total 188 18:46:10 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 1 18:46 . 18:46:10 drwxrwxr-x. 4 jenkins jenkins 30 Sep 1 18:44 .. 18:46:10 drwxrwxr-x. 2 jenkins jenkins 64 Sep 1 18:44 bin 18:46:10 -rw-r--r--. 1 jenkins jenkins 111650 Sep 1 18:46 coverage.out 18:46:10 -rw-rw-r--. 1 jenkins jenkins 936 Sep 1 18:44 Dockerfile.build 18:46:10 -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 18:44 .dockerignore 18:46:10 drwxrwxr-x. 4 jenkins jenkins 48 Sep 1 18:44 example 18:46:10 drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 18:44 .git 18:46:10 drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 18:44 .github 18:46:10 -rw-rw-r--. 1 jenkins jenkins 138 Sep 1 18:44 .gitignore 18:46:10 -rw-r--r--. 1 jenkins jenkins 446 Sep 1 18:46 go.mod 18:46:10 -rw-r--r--. 1 jenkins jenkins 12179 Sep 1 18:46 go.sum 18:46:10 drwxrwxr-x. 13 jenkins jenkins 184 Sep 1 18:44 internal 18:46:10 -rw-rw-r--. 1 jenkins jenkins 808 Sep 1 18:44 Jenkinsfile 18:46:10 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 1 18:44 LICENSE 18:46:10 -rw-rw-r--. 1 jenkins jenkins 892 Sep 1 18:44 Makefile 18:46:10 drwxrwxr-x. 4 jenkins jenkins 26 Sep 1 18:44 openapi 18:46:10 drwxrwxr-x. 5 jenkins jenkins 50 Sep 1 18:44 pkg 18:46:10 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 1 18:44 README.md 18:46:10 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 1 18:44 RELEASE-NOTES.txt 18:46:10 drwxrwxr-x. 3 jenkins jenkins 58 Sep 1 18:44 .semver 18:46:10 drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 18:44 snap 18:46:10 -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 18:42 VERSION 18:46:10 -rw-rw-r--. 1 jenkins jenkins 222 Sep 1 18:44 version.go [Pipeline] isUnix [Pipeline] sh 18:46:10 + 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=1ef1e751dc980b640aac115d7835b7c4bd89469a --label arch=amd64 --label version=0.0.0 . 18:46:10 Sending build context to Docker daemon 3.262MB 18:46:10 Step 1/24 : ARG BASE=golang:1.13-alpine 18:46:10 Step 2/24 : FROM ${BASE} AS builder 18:46:10 ---> 22e5af0e43ca 18:46:10 Step 3/24 : ARG MAKE='make build' 18:46:10 ---> Running in 107bab5aa053 18:46:11 Removing intermediate container 107bab5aa053 18:46:11 ---> 08c83ca51cee 18:46:11 Step 4/24 : WORKDIR /device-sdk-go 18:46:11 ---> Running in 4b70dc75bed9 18:46:11 Removing intermediate container 4b70dc75bed9 18:46:11 ---> f520f059e5e1 18:46:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:11 ---> Running in 60e19d350148 18:46:11 Removing intermediate container 60e19d350148 18:46:11 ---> 3f77082a3314 18:46:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:11 ---> Running in 0730219fd6d9 18:46:12 Removing intermediate container b3ebe8dbeb2b 18:46:12 ---> 43591c7cc369 18:46:12 Successfully built 43591c7cc369 18:46:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 18:46:12 Removing intermediate container 0730219fd6d9 18:46:12 ---> dc39ac61685e 18:46:12 Step 7/24 : RUN apk add --update --no-cache make git 18:46:12 ---> Running in c79dcc4f2f9d [Pipeline] isUnix [Pipeline] sh 18:46:12 + docker inspect -f . ci-base-image-arm64 18:46:12 . [Pipeline] withDockerContainer 18:46:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:46:13 prd-ubuntu18.04-docker-arm64-4c-16g-1055 does not seem to be running inside a container 18:46:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 18:46:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:46:14 OK: 166 MiB in 39 packages 18:46:14 Removing intermediate container c79dcc4f2f9d 18:46:14 ---> 1decc9ece924 18:46:14 Step 8/24 : COPY . . 18:46:15 $ docker top 19c1e833e6e2fe23693c34535062461ddf5055978da89e3adef3aa4f88c2282e -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:15 ---> f5072cb2b452 18:46:15 Step 9/24 : RUN ${MAKE} 18:46:15 ---> Running in 24651b687835 18:46:16 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 18:46:16 + go version 18:46:16 go version go1.13.13 linux/arm64 [Pipeline] sh 18:46:17 + make test 18:46:17 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:46:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:46:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:46:26 Removing intermediate container 24651b687835 18:46:26 ---> c257ca5a447f 18:46:26 Step 10/24 : FROM scratch 18:46:26 ---> 18:46:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:26 ---> Running in 9b673e674124 18:46:26 Removing intermediate container 9b673e674124 18:46:26 ---> 8e68eb90f0a0 18:46:26 Step 12/24 : ENV APP_PORT=49990 18:46:26 ---> Running in cd52754599c6 18:46:26 Removing intermediate container cd52754599c6 18:46:26 ---> 4a352f87e07b 18:46:26 Step 13/24 : EXPOSE $APP_PORT 18:46:26 ---> Running in ab8f455eaf12 18:46:26 Removing intermediate container ab8f455eaf12 18:46:26 ---> a975b7b54fc2 18:46:26 Step 14/24 : WORKDIR / 18:46:26 ---> Running in ea814338fe26 18:46:26 Removing intermediate container ea814338fe26 18:46:26 ---> 9fd63ed07659 18:46:26 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:46:27 ---> b7c5e39d6d6a 18:46:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:46:27 ---> ba6bf83079fc 18:46:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:46:27 ---> 44f9485f0537 18:46:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:46:28 ---> 53a9d51b751f 18:46:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:46:28 ---> b6ad60644523 18:46:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:46:28 ---> Running in 9558371717c5 18:46:28 Removing intermediate container 9558371717c5 18:46:28 ---> 2baa72a6c003 18:46:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:46:28 ---> Running in 21bbb426a90a 18:46:28 Removing intermediate container 21bbb426a90a 18:46:28 ---> f9fdf16b85aa 18:46:28 Step 22/24 : LABEL arch=amd64 18:46:28 ---> Running in b2482510f7bc 18:46:29 Removing intermediate container b2482510f7bc 18:46:29 ---> d48810a08964 18:46:29 Step 23/24 : LABEL git_sha=1ef1e751dc980b640aac115d7835b7c4bd89469a 18:46:29 ---> Running in c0b8667d9a57 18:46:29 Removing intermediate container c0b8667d9a57 18:46:29 ---> 49154742b5b3 18:46:29 Step 24/24 : LABEL version=0.0.0 18:46:29 ---> Running in e1b709a22101 18:46:29 Removing intermediate container e1b709a22101 18:46:29 ---> 68a043dabd18 18:46:29 [Warning] One or more build-args [ARCH] were not consumed 18:46:29 Successfully built 68a043dabd18 18:46:29 Successfully tagged docker-device-sdk-simple: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] } 18:46:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:46:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:46:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:46:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.024s coverage: 21.0% of statements 18:46:50 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.147s coverage: 95.7% of statements 18:47:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.019s coverage: 8.6% of statements 18:47:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements 18:47:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:47:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.099s coverage: 37.0% of statements 18:47:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:47:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.121s coverage: 65.4% of statements 18:47:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:47:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:47:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:47:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements 18:47:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.350s coverage: 68.9% of statements 18:47:22 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:47:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:47:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:47:24 gofmt -l . 18:47:25 [ "`gofmt -l .`" = "" ] 18:47:25 ./bin/test-attribution-txt.sh 18:47:26 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:47:27 Warning: overwriting stash ‘coverage-report’ 18:47:27 Stashed 1 file(s) [Pipeline] } 18:47:27 $ docker stop --time=1 19c1e833e6e2fe23693c34535062461ddf5055978da89e3adef3aa4f88c2282e 18:47:30 $ docker rm -f 19c1e833e6e2fe23693c34535062461ddf5055978da89e3adef3aa4f88c2282e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:47:31 + ls -al . 18:47:31 total 228 18:47:31 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 18:47 . 18:47:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 18:45 .. 18:47:31 -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 18:45 .dockerignore 18:47:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 18:45 .git 18:47:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 18:45 .github 18:47:31 -rw-rw-r-- 1 jenkins jenkins 138 Sep 1 18:45 .gitignore 18:47:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 18:45 .semver 18:47:31 -rw-rw-r-- 1 jenkins jenkins 936 Sep 1 18:45 Dockerfile.build 18:47:31 -rw-rw-r-- 1 jenkins jenkins 808 Sep 1 18:45 Jenkinsfile 18:47:31 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 1 18:45 LICENSE 18:47:31 -rw-rw-r-- 1 jenkins jenkins 892 Sep 1 18:45 Makefile 18:47:31 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 1 18:45 README.md 18:47:31 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 1 18:45 RELEASE-NOTES.txt 18:47:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 18:42 VERSION 18:47:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 18:45 bin 18:47:31 -rw-r--r-- 1 jenkins jenkins 111650 Sep 1 18:47 coverage.out 18:47:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 18:45 example 18:47:31 -rw-r--r-- 1 jenkins jenkins 446 Sep 1 18:47 go.mod 18:47:31 -rw-r--r-- 1 jenkins jenkins 12179 Sep 1 18:47 go.sum 18:47:31 drwxrwxr-x 13 jenkins jenkins 4096 Sep 1 18:45 internal 18:47:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 18:45 openapi 18:47:31 drwxrwxr-x 5 jenkins jenkins 4096 Sep 1 18:45 pkg 18:47:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 18:45 snap 18:47:31 -rw-rw-r-- 1 jenkins jenkins 222 Sep 1 18:45 version.go [Pipeline] isUnix [Pipeline] sh 18:47:32 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1ef1e751dc980b640aac115d7835b7c4bd89469a --label arch=arm64 --label version=0.0.0 . 18:47:32 Sending build context to Docker daemon 3.265MB 18:47:32 Step 1/24 : ARG BASE=golang:1.13-alpine 18:47:32 Step 2/24 : FROM ${BASE} AS builder 18:47:32 ---> 43591c7cc369 18:47:32 Step 3/24 : ARG MAKE='make build' 18:47:32 ---> Running in 71ed81c9e8f5 18:47:33 Removing intermediate container 71ed81c9e8f5 18:47:33 ---> 6369567195bd 18:47:33 Step 4/24 : WORKDIR /device-sdk-go 18:47:33 ---> Running in 5e331a4b87cd 18:47:33 Removing intermediate container 5e331a4b87cd 18:47:33 ---> 301dc1f6a475 18:47:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:47:33 ---> Running in fa375eb96904 18:47:34 Removing intermediate container fa375eb96904 18:47:34 ---> 108ac6f3c418 18:47:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:47:34 ---> Running in 740ee7e8d91d 18:47:37 Removing intermediate container 740ee7e8d91d 18:47:37 ---> daa9f64d5cc8 18:47:37 Step 7/24 : RUN apk add --update --no-cache make git 18:47:37 ---> Running in b80cd95d5bda 18:47:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:47:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:47:40 OK: 142 MiB in 39 packages 18:47:41 Removing intermediate container b80cd95d5bda 18:47:41 ---> b55d9421817b 18:47:41 Step 8/24 : COPY . . 18:47:42 ---> 998425f6fd78 18:47:42 Step 9/24 : RUN ${MAKE} 18:47:42 ---> Running in 806ad588a091 18:47:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:48:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:48:09 Removing intermediate container 806ad588a091 18:48:09 ---> acaa24de1e2b 18:48:09 Step 10/24 : FROM scratch 18:48:09 ---> 18:48:09 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:48:09 ---> Running in 52a4cf7d3598 18:48:09 Removing intermediate container 52a4cf7d3598 18:48:09 ---> 02387af8acf0 18:48:09 Step 12/24 : ENV APP_PORT=49990 18:48:09 ---> Running in ba05e291613f 18:48:10 Removing intermediate container ba05e291613f 18:48:10 ---> 7d3b3d2e5eec 18:48:10 Step 13/24 : EXPOSE $APP_PORT 18:48:10 ---> Running in 676f43433201 18:48:10 Removing intermediate container 676f43433201 18:48:10 ---> 7357c2e9902f 18:48:10 Step 14/24 : WORKDIR / 18:48:10 ---> Running in ba8889ea00a4 18:48:11 Removing intermediate container ba8889ea00a4 18:48:11 ---> 292ae1e4e17f 18:48:11 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:48:12 ---> 3bb6967d5d94 18:48:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:48:13 ---> 0b1544fde067 18:48:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:48:13 ---> f451bb5c0446 18:48:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:48:14 ---> 0704685f6158 18:48:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:48:15 ---> 2b92de276621 18:48:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:48:15 ---> Running in e4fc66d0d8e5 18:48:15 Removing intermediate container e4fc66d0d8e5 18:48:15 ---> 69f3a4e4e422 18:48:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:48:15 ---> Running in f0c5c4c738c0 18:48:16 Removing intermediate container f0c5c4c738c0 18:48:16 ---> eef07313e7e9 18:48:16 Step 22/24 : LABEL arch=arm64 18:48:16 ---> Running in 3dee57c260b5 18:48:16 Removing intermediate container 3dee57c260b5 18:48:16 ---> b1ed2310a8b7 18:48:16 Step 23/24 : LABEL git_sha=1ef1e751dc980b640aac115d7835b7c4bd89469a 18:48:17 ---> Running in 4e1a419511e8 18:48:17 Removing intermediate container 4e1a419511e8 18:48:17 ---> 4d03d6f555ad 18:48:17 Step 24/24 : LABEL version=0.0.0 18:48:17 ---> Running in 8af71f473f66 18:48:17 Removing intermediate container 8af71f473f66 18:48:17 ---> d1658f0206ae 18:48:17 [Warning] One or more build-args [ARCH] were not consumed 18:48:17 Successfully built d1658f0206ae 18:48:17 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 18:48:19 provisioning config files... 18:48:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config3315352947425872813tmp [Pipeline] { [Pipeline] sh 18:48:19 + curl -s https://codecov.io/bash 18:48:19 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config3315352947425872813tmp [Pipeline] } 18:48:20 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] { (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 18:48:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:48:23 ---> package-listing.sh 18:48:23 ++ facter osfamily 18:48:23 ++ tr '[:upper:]' '[:lower:]' 18:48:23 + OS_FAMILY=redhat 18:48:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 18:48:23 + START_PACKAGES=/tmp/packages_start.txt 18:48:23 + END_PACKAGES=/tmp/packages_end.txt 18:48:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:48:23 + PACKAGES=/tmp/packages_start.txt 18:48:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 18:48:23 + PACKAGES=/tmp/packages_end.txt 18:48:23 + case "${OS_FAMILY}" in 18:48:23 + rpm -qa 18:48:23 + sort 18:48:27 + '[' -f /tmp/packages_start.txt ']' 18:48:27 + '[' -f /tmp/packages_end.txt ']' 18:48:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:48:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 18:48:27 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 18:48:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh 18:48:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:27 18:48:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:48:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:28 alpine: Pulling from edgex-lftools-log-publisher 18:48:28 c9b1b535fdd9: Pulling fs layer 18:48:28 2cc5ad85d9ab: Pulling fs layer 18:48:28 756a868c4378: Pulling fs layer 18:48:28 444b2fc9a129: Pulling fs layer 18:48:28 ea15f1150254: Pulling fs layer 18:48:28 41b27a9f41bf: Pulling fs layer 18:48:28 28c525ee5125: Pulling fs layer 18:48:28 094b1ea09ed8: Pulling fs layer 18:48:28 138eaada9080: Pulling fs layer 18:48:28 0622d0fa9048: Pulling fs layer 18:48:28 41b27a9f41bf: Waiting 18:48:28 28c525ee5125: Waiting 18:48:28 094b1ea09ed8: Waiting 18:48:28 138eaada9080: Waiting 18:48:28 0622d0fa9048: Waiting 18:48:28 444b2fc9a129: Waiting 18:48:28 ea15f1150254: Waiting 18:48:28 2cc5ad85d9ab: Download complete 18:48:28 444b2fc9a129: Verifying Checksum 18:48:28 444b2fc9a129: Download complete 18:48:28 c9b1b535fdd9: Verifying Checksum 18:48:28 c9b1b535fdd9: Download complete 18:48:28 ea15f1150254: Verifying Checksum 18:48:28 ea15f1150254: Download complete 18:48:28 28c525ee5125: Verifying Checksum 18:48:28 28c525ee5125: Download complete 18:48:28 c9b1b535fdd9: Pull complete 18:48:28 756a868c4378: Verifying Checksum 18:48:28 756a868c4378: Download complete 18:48:28 2cc5ad85d9ab: Pull complete 18:48:29 138eaada9080: Verifying Checksum 18:48:29 138eaada9080: Download complete 18:48:29 0622d0fa9048: Verifying Checksum 18:48:29 0622d0fa9048: Download complete 18:48:29 094b1ea09ed8: Verifying Checksum 18:48:29 094b1ea09ed8: Download complete 18:48:29 41b27a9f41bf: Verifying Checksum 18:48:29 41b27a9f41bf: Download complete 18:48:30 756a868c4378: Pull complete 18:48:30 444b2fc9a129: Pull complete 18:48:30 ea15f1150254: Pull complete 18:48:35 41b27a9f41bf: Pull complete 18:48:35 28c525ee5125: Pull complete 18:48:37 094b1ea09ed8: Pull complete 18:48:37 138eaada9080: Pull complete 18:48:37 0622d0fa9048: Pull complete 18:48:37 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:48:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:48:38 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 18:48:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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:10003/edgex-lftools-log-publisher:alpine cat 18:48:41 $ docker top 245c5a3861b8cc864e5c068412793388f234e45a4b1340cd77945eded7dc410b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:42 provisioning config files... 18:48:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config8251204458324972068tmp [Pipeline] { [Pipeline] echo 18:48:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:48:42 ---> create-netrc.sh [Pipeline] echo 18:48:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:48:42 ---> logs-deploy.sh 18:48:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/14 18:48:42 INFO: archiving workspace using pattern(s): 18:48:44 Archives upload complete. 18:48:44 INFO: archiving logs to Nexus