Pull request #571 updated 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 143b14416392d16fa7a8408427205f784dd11e5f+7ebf8157bed3f29606eb8346b104e57a74818c1e (d7c81a020b089724d32d6d874ac543f865e498cd) 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-959 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [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 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # 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/571/head:refs/remotes/origin/PR-571 +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/571/head:refs/remotes/origin/PR-571 # 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 without tags Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f Merge succeeded, producing 143b14416392d16fa7a8408427205f784dd11e5f Checking out Revision 143b14416392d16fa7a8408427205f784dd11e5f (PR-571) 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # 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 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. > git rev-list --no-walk 1f0fdcd0db69a365fe11bc4799141d9561aa0deb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:24:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:24:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:24:43 ========================================================= 01:24:43 EdgeX Global Pipelines Version Info 01:24:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:24:45 ------------------- 01:24:45 stable info: 01:24:45 ------------------- 01:24:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:45 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 01:24:45 Message: update stable to v1.0.115 01:24:46 ------------------- 01:24:46 experimental info: 01:24:46 ------------------- 01:24:46 Commited By: **** collab-it+edgex@linuxfoundation.org 01:24:46 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 01:24:46 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:24:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:24:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:24:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:24:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:24:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 143b14416392d16fa7a8408427205f784dd11e5f [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 143b144 [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:49 + git log --format=format:%s -1 143b14416392d16fa7a8408427205f784dd11e5f [Pipeline] echo 01:24:49 GIT_COMMIT: 143b14416392d16fa7a8408427205f784dd11e5f, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo 01:24:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:24:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:50 01:24:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:24:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:50 latest: Pulling from edgex-devops/git-semver 01:24:50 31603596830f: Pulling fs layer 01:24:50 2a8b12db71e7: Pulling fs layer 01:24:50 6ca5941a6612: Pulling fs layer 01:24:50 ecc8261a40a4: Pulling fs layer 01:24:50 ecc8261a40a4: Waiting 01:24:50 2a8b12db71e7: Verifying Checksum 01:24:50 2a8b12db71e7: Download complete 01:24:51 31603596830f: Verifying Checksum 01:24:51 31603596830f: Download complete 01:24:51 6ca5941a6612: Verifying Checksum 01:24:51 6ca5941a6612: Download complete 01:24:51 ecc8261a40a4: Verifying Checksum 01:24:51 ecc8261a40a4: Download complete 01:24:51 31603596830f: Pull complete 01:24:51 2a8b12db71e7: Pull complete 01:24:52 6ca5941a6612: Pull complete 01:24:52 ecc8261a40a4: Pull complete 01:24:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:24:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:24:52 prd-centos7-docker-4c-2g-959 does not seem to be running inside a container 01:24:52 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:24:55 $ docker top 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:55 [ssh-agent] Looking for ssh-agent implementation... 01:24:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:56 $ docker exec 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 ssh-agent 01:24:56 SSH_AUTH_SOCK=/tmp/ssh-5oyZFmglBy3x/agent.12 01:24:56 SSH_AGENT_PID=17 01:24:56 Running ssh-add (command line suppressed) 01:24:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7007354425649953868.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7007354425649953868.key) 01:24:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:56 + git describe --exact-match --tags HEAD 01:24:56 fatal: No names found, cannot describe anything. [Pipeline] } 01:24:56 $ docker exec --env ******** --env ******** 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 ssh-agent -k 01:24:56 unset SSH_AUTH_SOCK; 01:24:56 unset SSH_AGENT_PID; 01:24:56 echo Agent pid 17 killed; 01:24:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:24:56 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:24:56 This usually means this commit has not been tagged. [Pipeline] sshagent 01:24:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:57 [ssh-agent] Looking for ssh-agent implementation... 01:24:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:57 $ docker exec 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 ssh-agent 01:24:57 SSH_AUTH_SOCK=/tmp/ssh-idRWmWDsr70m/agent.47 01:24:57 SSH_AGENT_PID=52 01:24:57 Running ssh-add (command line suppressed) 01:24:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7040072312087685939.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7040072312087685939.key) 01:24:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:57 + git semver init 01:24:57 # -> Open(): unable to determine branch for HEAD 01:24:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git 01:24:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 01:24:57 # $SEMVER_REMOTE_NAME = origin 01:24:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:24:57 # $SEMVER_USER_NAME = edgex-jenkins 01:24:57 # $SEMVER_BRANCH = PR-571 01:24:57 # $SEMVER_TEMP = /tmp/semver-882292803 01:24:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 01:24:58 # '/tmp/semver-882292803' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' 01:24:58 # -> Force: false 01:24:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } 01:24:58 $ docker exec --env ******** --env ******** 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 ssh-agent -k 01:24:58 unset SSH_AUTH_SOCK; 01:24:58 unset SSH_AGENT_PID; 01:24:58 echo Agent pid 52 killed; 01:24:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:24:59 + git semver [Pipeline] } 01:24:59 $ docker stop --time=1 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 01:25:00 $ docker rm -f 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:25:01 Stashed 32 file(s) [Pipeline] echo 01:25:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 01:25:01 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 01:25:16 Still waiting to schedule task 01:25:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:25:16 Still waiting to schedule task 01:25:16 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 01:26:59 Running on prd-centos7-docker-4c-2g-961 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 01:26:59 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 01:27:03 using credential edgex-jenkins-ssh 01:27:03 Cloning the remote Git repository 01:27:03 Cloning with configured refspecs honoured and without tags 01:27:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:27:03 > git init /w/workspace/device-sdk-go/6 # timeout=10 01:27:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:27:04 > git --version # timeout=10 01:27:04 > git --version # 'git version 2.16.5' 01:27:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:27:04 Fetching without tags 01:27:05 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f 01:27:05 Merge succeeded, producing 143b14416392d16fa7a8408427205f784dd11e5f 01:27:05 Checking out Revision 143b14416392d16fa7a8408427205f784dd11e5f (PR-571) 01:27:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:27:04 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 01:27:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:27:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:27:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:27:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:27:05 > git config core.sparsecheckout # timeout=10 01:27:05 > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 01:27:05 > git remote # timeout=10 01:27:05 > git config --get remote.origin.url # timeout=10 01:27:05 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:05 > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 01:27:05 > git rev-parse HEAD^{commit} # timeout=10 01:27:05 > git config core.sparsecheckout # timeout=10 01:27:05 > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 01:27:09 Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:27:10 ========================================================= 01:27:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 01:27:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:27:12 + 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 . 01:27:12 Sending build context to Docker daemon 3.178MB 01:27:12 Step 1/8 : ARG BASE=golang:1.13-alpine 01:27:12 Step 2/8 : FROM ${BASE} 01:27:12 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 01:27:12 df20fa9351a1: Pulling fs layer 01:27:12 ed8968b2872e: Pulling fs layer 01:27:12 a92cc7c5fd73: Pulling fs layer 01:27:12 2dd03ba5bac4: Pulling fs layer 01:27:12 1e091d79d1de: Pulling fs layer 01:27:12 481702a1767f: Pulling fs layer 01:27:12 f64a6f60c768: Pulling fs layer 01:27:12 e78d2573fc39: Pulling fs layer 01:27:12 e876d2f968b6: Pulling fs layer 01:27:12 ce8a83651883: Pulling fs layer 01:27:12 07967f4d0e4b: Pulling fs layer 01:27:12 1e091d79d1de: Waiting 01:27:12 481702a1767f: Waiting 01:27:12 f64a6f60c768: Waiting 01:27:12 e78d2573fc39: Waiting 01:27:12 e876d2f968b6: Waiting 01:27:12 ce8a83651883: Waiting 01:27:12 07967f4d0e4b: Waiting 01:27:12 2dd03ba5bac4: Waiting 01:27:12 a92cc7c5fd73: Verifying Checksum 01:27:12 a92cc7c5fd73: Download complete 01:27:12 ed8968b2872e: Download complete 01:27:13 df20fa9351a1: Verifying Checksum 01:27:13 df20fa9351a1: Download complete 01:27:13 1e091d79d1de: Verifying Checksum 01:27:13 1e091d79d1de: Download complete 01:27:13 481702a1767f: Verifying Checksum 01:27:13 481702a1767f: Download complete 01:27:13 df20fa9351a1: Pull complete 01:27:13 ed8968b2872e: Pull complete 01:27:13 a92cc7c5fd73: Pull complete 01:27:15 f64a6f60c768: Verifying Checksum 01:27:15 f64a6f60c768: Download complete 01:27:15 e876d2f968b6: Verifying Checksum 01:27:15 e876d2f968b6: Download complete 01:27:16 ce8a83651883: Verifying Checksum 01:27:16 ce8a83651883: Download complete 01:27:16 2dd03ba5bac4: Verifying Checksum 01:27:16 2dd03ba5bac4: Download complete 01:27:16 07967f4d0e4b: Verifying Checksum 01:27:16 07967f4d0e4b: Download complete 01:27:16 e78d2573fc39: Verifying Checksum 01:27:16 e78d2573fc39: Download complete 01:27:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-960 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 01:27:20 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 01:27:23 2dd03ba5bac4: Pull complete 01:27:23 1e091d79d1de: Pull complete 01:27:23 481702a1767f: Pull complete 01:27:25 using credential edgex-jenkins-ssh 01:27:25 Cloning the remote Git repository 01:27:25 Cloning with configured refspecs honoured and without tags 01:27:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:27:25 > git init /w/workspace/device-sdk-go/6 # timeout=10 01:27:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:27:25 > git --version # timeout=10 01:27:25 > git --version # 'git version 2.17.1' 01:27:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:27:27 Fetching without tags 01:27:27 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f 01:27:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:27:27 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 01:27:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:27:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:27:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:27:27 > git config core.sparsecheckout # timeout=10 01:27:27 > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 01:27:28 Merge succeeded, producing 143b14416392d16fa7a8408427205f784dd11e5f 01:27:28 Checking out Revision 143b14416392d16fa7a8408427205f784dd11e5f (PR-571) 01:27:27 > git remote # timeout=10 01:27:27 > git config --get remote.origin.url # timeout=10 01:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:27 > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 01:27:28 > git rev-parse HEAD^{commit} # timeout=10 01:27:28 > git config core.sparsecheckout # timeout=10 01:27:28 > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 01:27:32 f64a6f60c768: Pull complete 01:27:32 Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:27:33 ========================================================= 01:27:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 01:27:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:27:34 + 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 . 01:27:35 e78d2573fc39: Pull complete 01:27:35 e876d2f968b6: Pull complete 01:27:35 Sending build context to Docker daemon 3.178MB 01:27:35 Step 1/8 : ARG BASE=golang:1.13-alpine 01:27:35 Step 2/8 : FROM ${BASE} 01:27:35 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:27:35 b538f80385f9: Pulling fs layer 01:27:35 74f711af9a0d: Pulling fs layer 01:27:35 99f96fe45779: Pulling fs layer 01:27:35 fd7a069fd194: Pulling fs layer 01:27:35 66aa3694b03b: Pulling fs layer 01:27:35 170f70906a0f: Pulling fs layer 01:27:35 ad7c5574e4b9: Pulling fs layer 01:27:35 e772456be8f7: Pulling fs layer 01:27:35 c890913d741a: Pulling fs layer 01:27:35 2480fcc9aa5a: Pulling fs layer 01:27:35 09adf4765672: Pulling fs layer 01:27:35 fd7a069fd194: Waiting 01:27:35 66aa3694b03b: Waiting 01:27:35 170f70906a0f: Waiting 01:27:35 ad7c5574e4b9: Waiting 01:27:35 e772456be8f7: Waiting 01:27:35 c890913d741a: Waiting 01:27:35 2480fcc9aa5a: Waiting 01:27:35 09adf4765672: Waiting 01:27:35 99f96fe45779: Download complete 01:27:35 74f711af9a0d: Verifying Checksum 01:27:35 74f711af9a0d: Download complete 01:27:35 66aa3694b03b: Verifying Checksum 01:27:35 66aa3694b03b: Download complete 01:27:36 170f70906a0f: Verifying Checksum 01:27:36 170f70906a0f: Download complete 01:27:36 b538f80385f9: Download complete 01:27:36 ce8a83651883: Pull complete 01:27:36 07967f4d0e4b: Pull complete 01:27:36 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 01:27:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 01:27:36 ---> 5d7c900382c6 01:27:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:27:37 b538f80385f9: Pull complete 01:27:37 74f711af9a0d: Pull complete 01:27:38 99f96fe45779: Pull complete 01:27:38 ---> Running in da2e13d5f155 01:27:38 Removing intermediate container da2e13d5f155 01:27:38 ---> 077cd559a00b 01:27:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:38 ---> Running in 137e969e6983 01:27:40 Removing intermediate container 137e969e6983 01:27:40 ---> 5088518ce30d 01:27:40 Step 5/8 : RUN apk add --no-cache make git 01:27:40 ---> Running in 7069f6c9cbba 01:27:40 ad7c5574e4b9: Verifying Checksum 01:27:40 ad7c5574e4b9: Download complete 01:27:40 c890913d741a: Download complete 01:27:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:27:42 2480fcc9aa5a: Verifying Checksum 01:27:42 2480fcc9aa5a: Download complete 01:27:42 09adf4765672: Verifying Checksum 01:27:42 09adf4765672: Download complete 01:27:42 e772456be8f7: Verifying Checksum 01:27:42 e772456be8f7: Download complete 01:27:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:27:42 fd7a069fd194: Verifying Checksum 01:27:42 fd7a069fd194: Download complete 01:27:44 OK: 166 MiB in 39 packages 01:27:44 Removing intermediate container 7069f6c9cbba 01:27:44 ---> 5c5dd42a8596 01:27:44 Step 6/8 : WORKDIR /device-sdk-go 01:27:44 ---> Running in bcaea6f5caba 01:27:44 Removing intermediate container bcaea6f5caba 01:27:44 ---> c0bdadd76298 01:27:44 Step 7/8 : COPY . . 01:27:46 ---> 087377af69e2 01:27:46 Step 8/8 : RUN go mod download 01:27:46 ---> Running in d63ffe81caed 01:27:48 go: finding github.com/BurntSushi/toml v0.3.1 01:27:48 go: finding github.com/OneOfOne/xxhash v1.2.6 01:27:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:27:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:27:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:27:48 go: finding github.com/bgentry/speakeasy v0.1.0 01:27:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:27:48 go: finding github.com/davecgh/go-spew v1.1.1 01:27:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 01:27:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:27:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:27:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:27:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:27:48 go: finding github.com/fatih/color v1.7.0 01:27:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:27:49 go: finding github.com/go-kit/kit v0.8.0 01:27:49 go: finding github.com/go-logfmt/logfmt v0.4.0 01:27:49 go: finding github.com/go-stack/stack v1.8.0 01:27:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:27:49 go: finding github.com/google/uuid v1.1.0 01:27:49 go: finding github.com/gorilla/mux v1.7.1 01:27:49 go: finding github.com/hashicorp/consul/api v1.1.0 01:27:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:27:49 go: finding github.com/hashicorp/errwrap v1.0.0 01:27:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:27:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:27:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:27:49 go: finding github.com/hashicorp/go-multierror v1.0.0 01:27:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:27:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 01:27:49 go: finding github.com/hashicorp/go-syslog v1.0.0 01:27:49 go: finding github.com/hashicorp/go-uuid v1.0.1 01:27:49 go: finding github.com/hashicorp/go.net v0.0.1 01:27:49 go: finding github.com/hashicorp/golang-lru v0.5.0 01:27:49 go: finding github.com/hashicorp/logutils v1.0.0 01:27:49 go: finding github.com/hashicorp/mdns v1.0.0 01:27:49 go: finding github.com/hashicorp/memberlist v0.1.3 01:27:49 go: finding github.com/hashicorp/serf v0.8.2 01:27:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:27:49 go: finding github.com/mattn/go-colorable v0.0.9 01:27:49 go: finding github.com/mattn/go-isatty v0.0.3 01:27:49 go: finding github.com/miekg/dns v1.0.14 01:27:50 go: finding github.com/mitchellh/cli v1.0.0 01:27:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:27:50 go: finding github.com/mitchellh/copystructure v1.0.0 01:27:50 go: finding github.com/mitchellh/go-homedir v1.0.0 01:27:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:27:50 go: finding github.com/mitchellh/gox v0.4.0 01:27:50 go: finding github.com/mitchellh/iochan v1.0.0 01:27:50 go: finding github.com/mitchellh/mapstructure v1.1.2 01:27:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:27:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:27:50 go: finding github.com/pelletier/go-toml v1.2.0 01:27:50 go: finding github.com/pkg/errors v0.8.1 01:27:50 go: finding github.com/pmezard/go-difflib v1.0.0 01:27:50 go: finding github.com/posener/complete v1.1.1 01:27:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 01:27:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:27:50 go: finding github.com/stretchr/objx v0.1.0 01:27:50 go: finding github.com/stretchr/testify v1.5.1 01:27:50 go: finding github.com/ugorji/go v1.1.4 01:27:50 go: finding github.com/x448/float16 v0.8.4 01:27:51 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:27:51 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 01:27:51 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:27:51 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:27:51 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:27:51 go: finding gopkg.in/yaml.v2 v2.2.8 01:27:55 fd7a069fd194: Pull complete 01:27:55 66aa3694b03b: Pull complete 01:27:55 170f70906a0f: Pull complete 01:27:58 ad7c5574e4b9: Pull complete 01:27:59 Removing intermediate container d63ffe81caed 01:27:59 ---> 655364affdcb 01:27:59 Successfully built 655364affdcb 01:27:59 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 01:27:59 + docker inspect -f . ci-base-image-x86_64 01:27:59 . [Pipeline] withDockerContainer 01:28:00 prd-centos7-docker-4c-2g-961 does not seem to be running inside a container 01:28:00 $ 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 ******** ci-base-image-x86_64 cat 01:28:01 $ docker top 3dbf9e005e29b3f87574e7a3c15da5897760255ed5cca07e31080eb4eac47da1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:02 + go version 01:28:02 go version go1.13.13 linux/amd64 [Pipeline] sh 01:28:02 + make test 01:28:02 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:28:02 e772456be8f7: Pull complete 01:28:03 c890913d741a: Pull complete 01:28:04 ? github.com/edgexfoundry/device-sdk-go [no test files] 01:28:05 2480fcc9aa5a: Pull complete 01:28:05 09adf4765672: Pull complete 01:28:05 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 01:28:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 01:28:06 ---> 2248a725d1cf 01:28:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:28:10 ---> Running in 6dd97cab793c 01:28:10 Removing intermediate container 6dd97cab793c 01:28:10 ---> 19dd81b61290 01:28:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:10 ---> Running in 3f7c6dbbeb17 01:28:13 Removing intermediate container 3f7c6dbbeb17 01:28:13 ---> c5232a83405e 01:28:13 Step 5/8 : RUN apk add --no-cache make git 01:28:13 ---> Running in 62ab9dfb065a 01:28:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:28:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:28:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 01:28:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 01:28:16 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 01:28:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 20.8% of statements 01:28:17 OK: 142 MiB in 39 packages 01:28:18 Removing intermediate container 62ab9dfb065a 01:28:18 ---> 0cae9de5ff89 01:28:18 Step 6/8 : WORKDIR /device-sdk-go 01:28:18 ---> Running in f891009d5215 01:28:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 97.1% of statements 01:28:19 Removing intermediate container f891009d5215 01:28:19 ---> 50877b7c8275 01:28:19 Step 7/8 : COPY . . 01:28:20 ---> a15d3e1892c6 01:28:20 Step 8/8 : RUN go mod download 01:28:20 ---> Running in 77334fb2e3a7 01:28:23 go: finding github.com/BurntSushi/toml v0.3.1 01:28:23 go: finding github.com/OneOfOne/xxhash v1.2.6 01:28:23 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:28:23 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:28:23 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:28:23 go: finding github.com/bgentry/speakeasy v0.1.0 01:28:23 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:28:23 go: finding github.com/davecgh/go-spew v1.1.1 01:28:23 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 01:28:23 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:28:23 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:28:23 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:28:23 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:28:23 go: finding github.com/fatih/color v1.7.0 01:28:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:28:23 go: finding github.com/go-kit/kit v0.8.0 01:28:23 go: finding github.com/go-logfmt/logfmt v0.4.0 01:28:23 go: finding github.com/go-stack/stack v1.8.0 01:28:23 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:28:23 go: finding github.com/google/uuid v1.1.0 01:28:24 go: finding github.com/gorilla/mux v1.7.1 01:28:24 go: finding github.com/hashicorp/consul/api v1.1.0 01:28:24 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:28:24 go: finding github.com/hashicorp/errwrap v1.0.0 01:28:24 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:28:24 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:28:24 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:28:24 go: finding github.com/hashicorp/go-multierror v1.0.0 01:28:24 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:28:24 go: finding github.com/hashicorp/go-sockaddr v1.0.0 01:28:24 go: finding github.com/hashicorp/go-syslog v1.0.0 01:28:24 go: finding github.com/hashicorp/go-uuid v1.0.1 01:28:24 go: finding github.com/hashicorp/go.net v0.0.1 01:28:24 go: finding github.com/hashicorp/golang-lru v0.5.0 01:28:24 go: finding github.com/hashicorp/logutils v1.0.0 01:28:24 go: finding github.com/hashicorp/mdns v1.0.0 01:28:24 go: finding github.com/hashicorp/memberlist v0.1.3 01:28:24 go: finding github.com/hashicorp/serf v0.8.2 01:28:24 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:28:24 go: finding github.com/mattn/go-colorable v0.0.9 01:28:24 go: finding github.com/mattn/go-isatty v0.0.3 01:28:24 go: finding github.com/miekg/dns v1.0.14 01:28:24 go: finding github.com/mitchellh/cli v1.0.0 01:28:24 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:28:24 go: finding github.com/mitchellh/copystructure v1.0.0 01:28:24 go: finding github.com/mitchellh/go-homedir v1.0.0 01:28:24 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:28:24 go: finding github.com/mitchellh/gox v0.4.0 01:28:25 go: finding github.com/mitchellh/iochan v1.0.0 01:28:25 go: finding github.com/mitchellh/mapstructure v1.1.2 01:28:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:28:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:28:25 go: finding github.com/pelletier/go-toml v1.2.0 01:28:25 go: finding github.com/pkg/errors v0.8.1 01:28:25 go: finding github.com/pmezard/go-difflib v1.0.0 01:28:25 go: finding github.com/posener/complete v1.1.1 01:28:25 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 01:28:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:28:25 go: finding github.com/stretchr/objx v0.1.0 01:28:25 go: finding github.com/stretchr/testify v1.5.1 01:28:25 go: finding github.com/ugorji/go v1.1.4 01:28:25 go: finding github.com/x448/float16 v0.8.4 01:28:25 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:28:25 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 01:28:25 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:28:25 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:28:25 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:28:25 go: finding gopkg.in/yaml.v2 v2.2.8 01:28:35 Removing intermediate container 77334fb2e3a7 01:28:35 ---> 6cb39ff1d095 01:28:35 Successfully built 6cb39ff1d095 01:28:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:28:36 + docker inspect -f . ci-base-image-arm64 01:28:36 . [Pipeline] withDockerContainer 01:28:36 prd-ubuntu18.04-docker-arm64-4c-16g-960 does not seem to be running inside a container 01:28:36 $ 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 ******** ci-base-image-arm64 cat 01:28:38 $ docker top 08489bb783e6508c010a34bf5c021efca678e9a788e0f0be1f3e072c98b20b1b -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:39 + go version 01:28:39 go version go1.13.13 linux/arm64 [Pipeline] sh 01:28:40 + make test 01:28:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:28:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 01:28:51 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 9.4% of statements 01:28:51 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 21.9% of statements 01:28:51 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 01:28:51 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.028s coverage: 37.0% of statements 01:28:51 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 01:28:51 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.061s coverage: 65.4% of statements 01:28:51 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 01:28:51 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 01:28:51 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 01:28:51 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.054s coverage: 52.6% of statements 01:28:51 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.111s coverage: 68.9% of statements 01:28:51 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 01:28:51 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 01:28:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:28:52 gofmt -l . 01:28:52 [ "`gofmt -l .`" = "" ] 01:28:52 ./bin/test-attribution-txt.sh 01:28:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:28:54 Stashed 1 file(s) [Pipeline] } 01:28:54 $ docker stop --time=1 3dbf9e005e29b3f87574e7a3c15da5897760255ed5cca07e31080eb4eac47da1 01:28:56 $ docker rm -f 3dbf9e005e29b3f87574e7a3c15da5897760255ed5cca07e31080eb4eac47da1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:59 + ls -al . 01:28:59 total 188 01:28:59 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 1 01:28 . 01:28:59 drwxrwxr-x. 4 jenkins jenkins 28 Sep 1 01:27 .. 01:28:59 drwxrwxr-x. 2 jenkins jenkins 64 Sep 1 01:27 bin 01:28:59 -rw-r--r--. 1 jenkins jenkins 110898 Sep 1 01:28 coverage.out 01:28:59 -rw-rw-r--. 1 jenkins jenkins 936 Sep 1 01:27 Dockerfile.build 01:28:59 -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 01:27 .dockerignore 01:28:59 drwxrwxr-x. 4 jenkins jenkins 48 Sep 1 01:27 example 01:28:59 drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 01:27 .git 01:28:59 drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 01:27 .github 01:28:59 -rw-rw-r--. 1 jenkins jenkins 138 Sep 1 01:27 .gitignore 01:28:59 -rw-r--r--. 1 jenkins jenkins 446 Sep 1 01:28 go.mod 01:28:59 -rw-r--r--. 1 jenkins jenkins 12179 Sep 1 01:28 go.sum 01:28:59 drwxrwxr-x. 13 jenkins jenkins 184 Sep 1 01:27 internal 01:28:59 -rw-rw-r--. 1 jenkins jenkins 808 Sep 1 01:27 Jenkinsfile 01:28:59 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 1 01:27 LICENSE 01:28:59 -rw-rw-r--. 1 jenkins jenkins 892 Sep 1 01:27 Makefile 01:28:59 drwxrwxr-x. 4 jenkins jenkins 26 Sep 1 01:27 openapi 01:28:59 drwxrwxr-x. 5 jenkins jenkins 50 Sep 1 01:27 pkg 01:28:59 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 1 01:27 README.md 01:28:59 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 1 01:27 RELEASE-NOTES.txt 01:28:59 drwxrwxr-x. 3 jenkins jenkins 58 Sep 1 01:27 .semver 01:28:59 drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 01:27 snap 01:28:59 -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 01:25 VERSION 01:28:59 -rw-rw-r--. 1 jenkins jenkins 222 Sep 1 01:27 version.go [Pipeline] isUnix [Pipeline] sh 01:28:59 + 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=143b14416392d16fa7a8408427205f784dd11e5f --label arch=amd64 --label version=0.0.0 . 01:29:00 Sending build context to Docker daemon 3.29MB 01:29:00 Step 1/24 : ARG BASE=golang:1.13-alpine 01:29:00 Step 2/24 : FROM ${BASE} AS builder 01:29:00 ---> 655364affdcb 01:29:00 Step 3/24 : ARG MAKE='make build' 01:29:00 ---> Running in 98b1edc537b7 01:29:01 Removing intermediate container 98b1edc537b7 01:29:01 ---> fedccef0e472 01:29:01 Step 4/24 : WORKDIR /device-sdk-go 01:29:01 ---> Running in 6a5d92ecf549 01:29:01 Removing intermediate container 6a5d92ecf549 01:29:01 ---> 4db9752bd163 01:29:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:29:01 ---> Running in c3cc2275fd58 01:29:01 Removing intermediate container c3cc2275fd58 01:29:01 ---> de17e8cdab66 01:29:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:29:01 ---> Running in b1e95c62d3f9 01:29:03 Removing intermediate container b1e95c62d3f9 01:29:03 ---> d02f16d5e467 01:29:03 Step 7/24 : RUN apk add --update --no-cache make git 01:29:03 ---> Running in 8c07a1a277ea 01:29:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:29:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:29:05 OK: 166 MiB in 39 packages 01:29:06 Removing intermediate container 8c07a1a277ea 01:29:06 ---> 291bca45b5ac 01:29:06 Step 8/24 : COPY . . 01:29:07 ---> 930cfbb211d9 01:29:07 Step 9/24 : RUN ${MAKE} 01:29:07 ---> Running in 99ba95539b71 01:29:08 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 01:29:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 01:29:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 01:29:14 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 01:29:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 20.8% of statements 01:29:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.223s coverage: 97.1% of statements 01:29:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 01:29:20 Removing intermediate container 99ba95539b71 01:29:20 ---> 7970bb50eb37 01:29:20 Step 10/24 : FROM scratch 01:29:20 ---> 01:29:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:29:20 ---> Running in e1ea07af30f9 01:29:20 Removing intermediate container e1ea07af30f9 01:29:20 ---> 7254c483b7dd 01:29:20 Step 12/24 : ENV APP_PORT=49990 01:29:20 ---> Running in 2bd32335b87f 01:29:20 Removing intermediate container 2bd32335b87f 01:29:20 ---> cdeb386bedf6 01:29:20 Step 13/24 : EXPOSE $APP_PORT 01:29:20 ---> Running in a9d03d5f7c67 01:29:21 Removing intermediate container a9d03d5f7c67 01:29:21 ---> 87e2e4911e17 01:29:21 Step 14/24 : WORKDIR / 01:29:21 ---> Running in 03e1738c7c84 01:29:21 Removing intermediate container 03e1738c7c84 01:29:21 ---> 12de092a9758 01:29:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 01:29:22 ---> 839c02a2c5e8 01:29:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 01:29:22 ---> 1d86c58d42ee 01:29:22 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 01:29:22 ---> 610098114cb9 01:29:22 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 01:29:23 ---> 8dce4afba440 01:29:23 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 01:29:23 ---> 1f9f48855eca 01:29:23 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 01:29:23 ---> Running in f63d65dc71da 01:29:23 Removing intermediate container f63d65dc71da 01:29:23 ---> 7e2942051d10 01:29:23 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:29:23 ---> Running in 67155fc0959b 01:29:23 Removing intermediate container 67155fc0959b 01:29:23 ---> fb77cb93a3a8 01:29:23 Step 22/24 : LABEL arch=amd64 01:29:23 ---> Running in efcf8afc6cee 01:29:24 Removing intermediate container efcf8afc6cee 01:29:24 ---> 9a02e81e607d 01:29:24 Step 23/24 : LABEL git_sha=143b14416392d16fa7a8408427205f784dd11e5f 01:29:24 ---> Running in 3d5160ce11de 01:29:24 Removing intermediate container 3d5160ce11de 01:29:24 ---> d90f00a5bf92 01:29:24 Step 24/24 : LABEL version=0.0.0 01:29:24 ---> Running in 1c807f6e0103 01:29:24 Removing intermediate container 1c807f6e0103 01:29:24 ---> 44057b6e4886 01:29:24 [Warning] One or more build-args [ARCH] were not consumed 01:29:24 Successfully built 44057b6e4886 01:29:24 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] } 01:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.020s coverage: 9.4% of statements 01:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.9% of statements 01:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 01:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.092s coverage: 37.0% of statements 01:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 01:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.127s coverage: 65.4% of statements 01:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 01:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 01:29:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 01:29:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.033s coverage: 52.6% of statements 01:29:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.354s coverage: 68.9% of statements 01:29:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 01:29:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 01:29:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:29:50 gofmt -l . 01:29:50 [ "`gofmt -l .`" = "" ] 01:29:50 ./bin/test-attribution-txt.sh 01:29:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:29:52 Warning: overwriting stash ‘coverage-report’ 01:29:52 Stashed 1 file(s) [Pipeline] } 01:29:53 $ docker stop --time=1 08489bb783e6508c010a34bf5c021efca678e9a788e0f0be1f3e072c98b20b1b 01:29:55 $ docker rm -f 08489bb783e6508c010a34bf5c021efca678e9a788e0f0be1f3e072c98b20b1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:29:56 + ls -al . 01:29:56 total 228 01:29:56 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 01:29 . 01:29:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:27 .. 01:29:56 -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 01:27 .dockerignore 01:29:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:27 .git 01:29:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:27 .github 01:29:56 -rw-rw-r-- 1 jenkins jenkins 138 Sep 1 01:27 .gitignore 01:29:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:27 .semver 01:29:56 -rw-rw-r-- 1 jenkins jenkins 936 Sep 1 01:27 Dockerfile.build 01:29:56 -rw-rw-r-- 1 jenkins jenkins 808 Sep 1 01:27 Jenkinsfile 01:29:56 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 1 01:27 LICENSE 01:29:56 -rw-rw-r-- 1 jenkins jenkins 892 Sep 1 01:27 Makefile 01:29:56 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 1 01:27 README.md 01:29:56 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 1 01:27 RELEASE-NOTES.txt 01:29:56 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 01:25 VERSION 01:29:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:27 bin 01:29:56 -rw-r--r-- 1 jenkins jenkins 110898 Sep 1 01:29 coverage.out 01:29:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:27 example 01:29:56 -rw-r--r-- 1 jenkins jenkins 446 Sep 1 01:29 go.mod 01:29:56 -rw-r--r-- 1 jenkins jenkins 12179 Sep 1 01:29 go.sum 01:29:56 drwxrwxr-x 13 jenkins jenkins 4096 Sep 1 01:27 internal 01:29:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:27 openapi 01:29:56 drwxrwxr-x 5 jenkins jenkins 4096 Sep 1 01:27 pkg 01:29:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:27 snap 01:29:56 -rw-rw-r-- 1 jenkins jenkins 222 Sep 1 01:27 version.go [Pipeline] isUnix [Pipeline] sh 01:29:57 + 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=143b14416392d16fa7a8408427205f784dd11e5f --label arch=arm64 --label version=0.0.0 . 01:29:57 Sending build context to Docker daemon 3.29MB 01:29:57 Step 1/24 : ARG BASE=golang:1.13-alpine 01:29:57 Step 2/24 : FROM ${BASE} AS builder 01:29:57 ---> 6cb39ff1d095 01:29:57 Step 3/24 : ARG MAKE='make build' 01:29:57 ---> Running in c44f0691b0f1 01:29:58 Removing intermediate container c44f0691b0f1 01:29:58 ---> 4783e73f3fde 01:29:58 Step 4/24 : WORKDIR /device-sdk-go 01:29:58 ---> Running in 4c3594ecc7c0 01:29:58 Removing intermediate container 4c3594ecc7c0 01:29:58 ---> e53b95ad5a93 01:29:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:29:58 ---> Running in 78369500d51a 01:29:59 Removing intermediate container 78369500d51a 01:29:59 ---> 851111063d9c 01:29:59 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:29:59 ---> Running in 5682ad93cdc2 01:30:02 Removing intermediate container 5682ad93cdc2 01:30:02 ---> 428dede1cb2d 01:30:02 Step 7/24 : RUN apk add --update --no-cache make git 01:30:02 ---> Running in 15b97501516f 01:30:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:30:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:30:05 OK: 142 MiB in 39 packages 01:30:06 Removing intermediate container 15b97501516f 01:30:06 ---> b1e31635a534 01:30:06 Step 8/24 : COPY . . 01:30:07 ---> 951a5d8f9c87 01:30:07 Step 9/24 : RUN ${MAKE} 01:30:07 ---> Running in 42d22e54e614 01:30:09 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 01:30:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 01:30:34 Removing intermediate container 42d22e54e614 01:30:34 ---> 12a1959c356c 01:30:34 Step 10/24 : FROM scratch 01:30:34 ---> 01:30:34 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:30:34 ---> Running in 798d853643d9 01:30:34 Removing intermediate container 798d853643d9 01:30:34 ---> 58a1681a3f84 01:30:34 Step 12/24 : ENV APP_PORT=49990 01:30:34 ---> Running in 80696e6474e8 01:30:35 Removing intermediate container 80696e6474e8 01:30:35 ---> 4ea43980ce55 01:30:35 Step 13/24 : EXPOSE $APP_PORT 01:30:35 ---> Running in 64914ff142cb 01:30:35 Removing intermediate container 64914ff142cb 01:30:35 ---> fdea0404199e 01:30:35 Step 14/24 : WORKDIR / 01:30:35 ---> Running in 0b4a7d14c639 01:30:36 Removing intermediate container 0b4a7d14c639 01:30:36 ---> 964c1bf98946 01:30:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 01:30:37 ---> 07e6705f9721 01:30:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 01:30:38 ---> 4db4efdab968 01:30:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 01:30:38 ---> 9ac6a65d4f4d 01:30:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 01:30:39 ---> f721a6214e89 01:30:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 01:30:40 ---> 8bf48b9c1cb4 01:30:40 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 01:30:40 ---> Running in 68a768b4d343 01:30:40 Removing intermediate container 68a768b4d343 01:30:40 ---> 83b49828c50b 01:30:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:30:40 ---> Running in 343eea40e614 01:30:41 Removing intermediate container 343eea40e614 01:30:41 ---> f7a64a52e66b 01:30:41 Step 22/24 : LABEL arch=arm64 01:30:41 ---> Running in 50598f805bcf 01:30:42 Removing intermediate container 50598f805bcf 01:30:42 ---> f7e3f9892c54 01:30:42 Step 23/24 : LABEL git_sha=143b14416392d16fa7a8408427205f784dd11e5f 01:30:42 ---> Running in 7160e771c2d1 01:30:42 Removing intermediate container 7160e771c2d1 01:30:42 ---> 58142bcac3be 01:30:42 Step 24/24 : LABEL version=0.0.0 01:30:42 ---> Running in 4072482c14d2 01:30:43 Removing intermediate container 4072482c14d2 01:30:43 ---> 9485a70a8346 01:30:43 [Warning] One or more build-args [ARCH] were not consumed 01:30:43 Successfully built 9485a70a8346 01:30:43 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 01:30:44 provisioning config files... 01:30:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config1094423603573300093tmp [Pipeline] { [Pipeline] sh 01:30:45 + curl -s https://codecov.io/bash 01:30:45 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config1094423603573300093tmp [Pipeline] } 01:30:45 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 01:30:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:30:47 ---> package-listing.sh 01:30:47 ++ facter osfamily 01:30:47 ++ tr '[:upper:]' '[:lower:]' 01:30:47 + OS_FAMILY=redhat 01:30:47 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 01:30:47 + START_PACKAGES=/tmp/packages_start.txt 01:30:47 + END_PACKAGES=/tmp/packages_end.txt 01:30:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:30:47 + PACKAGES=/tmp/packages_start.txt 01:30:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 01:30:47 + PACKAGES=/tmp/packages_end.txt 01:30:47 + case "${OS_FAMILY}" in 01:30:47 + rpm -qa 01:30:47 + sort 01:30:52 + '[' -f /tmp/packages_start.txt ']' 01:30:52 + '[' -f /tmp/packages_end.txt ']' 01:30:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:30:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 01:30:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ 01:30:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh 01:30:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:30:53 01:30:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:30:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:30:53 alpine: Pulling from edgex-lftools-log-publisher 01:30:53 c9b1b535fdd9: Pulling fs layer 01:30:53 2cc5ad85d9ab: Pulling fs layer 01:30:53 756a868c4378: Pulling fs layer 01:30:53 444b2fc9a129: Pulling fs layer 01:30:53 ea15f1150254: Pulling fs layer 01:30:53 41b27a9f41bf: Pulling fs layer 01:30:53 28c525ee5125: Pulling fs layer 01:30:53 094b1ea09ed8: Pulling fs layer 01:30:53 138eaada9080: Pulling fs layer 01:30:53 0622d0fa9048: Pulling fs layer 01:30:53 444b2fc9a129: Waiting 01:30:53 ea15f1150254: Waiting 01:30:53 41b27a9f41bf: Waiting 01:30:53 28c525ee5125: Waiting 01:30:53 094b1ea09ed8: Waiting 01:30:53 138eaada9080: Waiting 01:30:53 0622d0fa9048: Waiting 01:30:53 2cc5ad85d9ab: Download complete 01:30:53 444b2fc9a129: Verifying Checksum 01:30:53 444b2fc9a129: Download complete 01:30:53 c9b1b535fdd9: Verifying Checksum 01:30:53 c9b1b535fdd9: Download complete 01:30:53 ea15f1150254: Verifying Checksum 01:30:53 ea15f1150254: Download complete 01:30:53 28c525ee5125: Verifying Checksum 01:30:53 28c525ee5125: Download complete 01:30:54 756a868c4378: Verifying Checksum 01:30:54 756a868c4378: Download complete 01:30:54 c9b1b535fdd9: Pull complete 01:30:54 138eaada9080: Verifying Checksum 01:30:54 138eaada9080: Download complete 01:30:54 0622d0fa9048: Verifying Checksum 01:30:54 0622d0fa9048: Download complete 01:30:54 094b1ea09ed8: Verifying Checksum 01:30:54 094b1ea09ed8: Download complete 01:30:54 2cc5ad85d9ab: Pull complete 01:30:54 41b27a9f41bf: Verifying Checksum 01:30:54 41b27a9f41bf: Download complete 01:30:55 756a868c4378: Pull complete 01:30:55 444b2fc9a129: Pull complete 01:30:56 ea15f1150254: Pull complete 01:31:00 41b27a9f41bf: Pull complete 01:31:00 28c525ee5125: Pull complete 01:31:03 094b1ea09ed8: Pull complete 01:31:03 138eaada9080: Pull complete 01:31:03 0622d0fa9048: Pull complete 01:31:03 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 01:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:31:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:31:03 prd-centos7-docker-4c-2g-959 does not seem to be running inside a container 01:31:03 $ 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-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:31:06 $ docker top 66b14fb5144cd7b1016af3c02fc13a66fa3fff6e727c50fa8092f07e4ff550f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:07 provisioning config files... 01:31:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config4851481325658216845tmp [Pipeline] { [Pipeline] echo 01:31:07 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:31:07 ---> create-netrc.sh [Pipeline] echo 01:31:07 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:31:07 ---> logs-deploy.sh 01:31:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/6 01:31:07 INFO: archiving workspace using pattern(s): 01:31:09 Archives upload complete. 01:31:09 INFO: archiving logs to Nexus