Pull request #582 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8+4000e27a9f725d20d01bd2b86b2182ef891199d8 (b04adee32d9e03334738c6980909e92e554594c1) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-582/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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-1897 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 Merge succeeded, producing 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 Checking out Revision 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 (PR-582) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # 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 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:34:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:34:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:34:04 ========================================================= 03:34:04 EdgeX Global Pipelines Version Info 03:34:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:34:05 ------------------- 03:34:05 stable info: 03:34:05 ------------------- 03:34:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:34:05 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 03:34:05 Message: update stable to v1.0.119 03:34:06 ------------------- 03:34:06 experimental info: 03:34:06 ------------------- 03:34:06 Commited By: **** collab-it+edgex@linuxfoundation.org 03:34:06 Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d 03:34:06 Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:34:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:34:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:34:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:34:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:34:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:34:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 03:34:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 03:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:34:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:34:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 03:34:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 03:34:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [Pipeline] echo 03:34:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84f9d2a [Pipeline] echo 03:34:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:34:11 + git log --format=format:%s -1 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [Pipeline] echo 03:34:11 GIT_COMMIT: 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo 03:34:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:34:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:34:12 03:34:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:34:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:34:12 latest: Pulling from edgex-devops/git-semver 03:34:12 31603596830f: Pulling fs layer 03:34:12 2a8b12db71e7: Pulling fs layer 03:34:12 6ca5941a6612: Pulling fs layer 03:34:12 ecc8261a40a4: Pulling fs layer 03:34:12 ecc8261a40a4: Waiting 03:34:12 2a8b12db71e7: Download complete 03:34:12 31603596830f: Verifying Checksum 03:34:12 31603596830f: Download complete 03:34:12 ecc8261a40a4: Verifying Checksum 03:34:12 ecc8261a40a4: Download complete 03:34:12 6ca5941a6612: Verifying Checksum 03:34:12 6ca5941a6612: Download complete 03:34:13 31603596830f: Pull complete 03:34:13 2a8b12db71e7: Pull complete 03:34:14 6ca5941a6612: Pull complete 03:34:14 ecc8261a40a4: Pull complete 03:34:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:34:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:34:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:34:14 prd-centos7-docker-4c-2g-1897 does not seem to be running inside a container 03:34:14 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:34:16 $ docker top 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:34:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:34:16 [ssh-agent] Looking for ssh-agent implementation... 03:34:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:34:17 $ docker exec 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc ssh-agent 03:34:17 SSH_AUTH_SOCK=/tmp/ssh-zHkVQjXoKhc1/agent.12 03:34:17 SSH_AGENT_PID=17 03:34:17 Running ssh-add (command line suppressed) 03:34:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_389993419966834100.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_389993419966834100.key) 03:34:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:34:17 + git describe --exact-match --tags HEAD 03:34:17 fatal: No names found, cannot describe anything. [Pipeline] } 03:34:17 $ docker exec --env ******** --env ******** 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc ssh-agent -k 03:34:18 unset SSH_AUTH_SOCK; 03:34:18 unset SSH_AGENT_PID; 03:34:18 echo Agent pid 17 killed; 03:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:34:18 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:34:18 This usually means this commit has not been tagged. [Pipeline] sshagent 03:34:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:34:18 [ssh-agent] Looking for ssh-agent implementation... 03:34:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:34:18 $ docker exec 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc ssh-agent 03:34:18 SSH_AUTH_SOCK=/tmp/ssh-OXr13aOHlZDL/agent.46 03:34:18 SSH_AGENT_PID=51 03:34:18 Running ssh-add (command line suppressed) 03:34:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1723044118717873978.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1723044118717873978.key) 03:34:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:34:19 + git semver init 03:34:19 # -> Open(): unable to determine branch for HEAD 03:34:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 03:34:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 03:34:19 # $SEMVER_REMOTE_NAME = origin 03:34:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:34:19 # $SEMVER_USER_NAME = edgex-jenkins 03:34:19 # $SEMVER_BRANCH = PR-582 03:34:19 # $SEMVER_TEMP = /tmp/semver-718232975 03:34:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:34:19 # '/tmp/semver-718232975' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 03:34:19 # -> Force: false 03:34:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 03:34:19 $ docker exec --env ******** --env ******** 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc ssh-agent -k 03:34:20 unset SSH_AUTH_SOCK; 03:34:20 unset SSH_AGENT_PID; 03:34:20 echo Agent pid 51 killed; 03:34:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:34:20 + git semver [Pipeline] } 03:34:20 $ docker stop --time=1 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc 03:34:22 $ docker rm -f 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:34:22 Stashed 32 file(s) [Pipeline] echo 03:34:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 03:34:23 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 03:34:38 Still waiting to schedule task 03:34:38 ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1899’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline 03:34:38 Still waiting to schedule task 03:34:38 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1896’ 03:36:30 Running on prd-centos7-docker-4c-2g-1906 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 03:36:30 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:36:33 using credential edgex-jenkins-ssh 03:36:33 Cloning the remote Git repository 03:36:33 Cloning with configured refspecs honoured and without tags 03:36:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:36:33 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:36:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:36:33 > git --version # timeout=10 03:36:33 > git --version # 'git version 2.16.5' 03:36:33 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:35 Fetching without tags 03:36:36 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 03:36:36 Merge succeeded, producing 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 03:36:36 Checking out Revision 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 (PR-582) 03:36:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:36:35 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 03:36:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:36:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:36:35 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:36 > git config core.sparsecheckout # timeout=10 03:36:36 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 03:36:36 > git remote # timeout=10 03:36:36 > git config --get remote.origin.url # timeout=10 03:36:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:36 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 03:36:36 > git rev-parse HEAD^{commit} # timeout=10 03:36:36 > git config core.sparsecheckout # timeout=10 03:36:36 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 03:36:39 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" 03:36:39 > git --version # timeout=10 03:36:39 > git --version # 'git version 2.16.5' 03:36:39 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:36:41 ========================================================= 03:36:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:36:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:36:41 + 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 . 03:36:42 Sending build context to Docker daemon 3.141MB 03:36:42 Step 1/8 : ARG BASE=golang:1.13-alpine 03:36:42 Step 2/8 : FROM ${BASE} 03:36:42 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:36:42 df20fa9351a1: Pulling fs layer 03:36:42 ed8968b2872e: Pulling fs layer 03:36:42 a92cc7c5fd73: Pulling fs layer 03:36:42 2dd03ba5bac4: Pulling fs layer 03:36:42 1e091d79d1de: Pulling fs layer 03:36:42 481702a1767f: Pulling fs layer 03:36:42 f64a6f60c768: Pulling fs layer 03:36:42 e78d2573fc39: Pulling fs layer 03:36:42 e876d2f968b6: Pulling fs layer 03:36:42 ce8a83651883: Pulling fs layer 03:36:42 07967f4d0e4b: Pulling fs layer 03:36:42 f64a6f60c768: Waiting 03:36:42 e78d2573fc39: Waiting 03:36:42 e876d2f968b6: Waiting 03:36:42 ce8a83651883: Waiting 03:36:42 07967f4d0e4b: Waiting 03:36:42 2dd03ba5bac4: Waiting 03:36:42 1e091d79d1de: Waiting 03:36:42 481702a1767f: Waiting 03:36:42 a92cc7c5fd73: Verifying Checksum 03:36:42 a92cc7c5fd73: Download complete 03:36:42 ed8968b2872e: Download complete 03:36:42 1e091d79d1de: Verifying Checksum 03:36:42 1e091d79d1de: Download complete 03:36:42 481702a1767f: Verifying Checksum 03:36:42 481702a1767f: Download complete 03:36:42 df20fa9351a1: Verifying Checksum 03:36:42 df20fa9351a1: Download complete 03:36:43 df20fa9351a1: Pull complete 03:36:43 ed8968b2872e: Pull complete 03:36:43 a92cc7c5fd73: Pull complete 03:36:47 f64a6f60c768: Verifying Checksum 03:36:47 f64a6f60c768: Download complete 03:36:47 e876d2f968b6: Verifying Checksum 03:36:47 e876d2f968b6: Download complete 03:36:49 e78d2573fc39: Verifying Checksum 03:36:49 e78d2573fc39: Download complete 03:36:49 07967f4d0e4b: Verifying Checksum 03:36:49 07967f4d0e4b: Download complete 03:36:49 ce8a83651883: Verifying Checksum 03:36:49 ce8a83651883: Download complete 03:36:51 2dd03ba5bac4: Verifying Checksum 03:36:51 2dd03ba5bac4: Download complete 03:36:56 2dd03ba5bac4: Pull complete 03:36:56 1e091d79d1de: Pull complete 03:36:57 481702a1767f: Pull complete 03:37:05 f64a6f60c768: Pull complete 03:37:07 e78d2573fc39: Pull complete 03:37:07 e876d2f968b6: Pull complete 03:37:08 ce8a83651883: Pull complete 03:37:09 07967f4d0e4b: Pull complete 03:37:09 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 03:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:37:09 ---> 5d7c900382c6 03:37:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:37:11 ---> Running in a25b2cf636a6 03:37:11 Removing intermediate container a25b2cf636a6 03:37:11 ---> b7aa6688b848 03:37:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:37:11 ---> Running in 9d806588d4d9 03:37:12 Removing intermediate container 9d806588d4d9 03:37:12 ---> 65850d30337d 03:37:12 Step 5/8 : RUN apk add --no-cache make git 03:37:12 ---> Running in 73fa67766086 03:37:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:37:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:37:14 OK: 166 MiB in 39 packages 03:37:14 Removing intermediate container 73fa67766086 03:37:14 ---> 74693babe4aa 03:37:14 Step 6/8 : WORKDIR /device-sdk-go 03:37:14 ---> Running in 7c7862aabc6e 03:37:14 Removing intermediate container 7c7862aabc6e 03:37:14 ---> 9a7c851976e2 03:37:14 Step 7/8 : COPY . . 03:37:16 ---> 3145925a90ac 03:37:16 Step 8/8 : RUN go mod download 03:37:16 ---> Running in 82947b0dce2f 03:37:17 go: finding github.com/BurntSushi/toml v0.3.1 03:37:17 go: finding github.com/OneOfOne/xxhash v1.2.6 03:37:17 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:37:17 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:37:17 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:37:17 go: finding github.com/bgentry/speakeasy v0.1.0 03:37:17 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:37:17 go: finding github.com/davecgh/go-spew v1.1.1 03:37:17 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 03:37:17 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:37:17 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:37:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:37:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:37:18 go: finding github.com/fatih/color v1.7.0 03:37:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:37:18 go: finding github.com/go-kit/kit v0.8.0 03:37:18 go: finding github.com/go-logfmt/logfmt v0.4.0 03:37:18 go: finding github.com/go-stack/stack v1.8.0 03:37:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:37:18 go: finding github.com/google/uuid v1.1.0 03:37:18 go: finding github.com/gorilla/mux v1.7.1 03:37:18 go: finding github.com/hashicorp/consul/api v1.1.0 03:37:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:37:18 go: finding github.com/hashicorp/errwrap v1.0.0 03:37:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:37:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:37:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:37:18 go: finding github.com/hashicorp/go-multierror v1.0.0 03:37:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:37:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:37:18 go: finding github.com/hashicorp/go-syslog v1.0.0 03:37:18 go: finding github.com/hashicorp/go-uuid v1.0.1 03:37:18 go: finding github.com/hashicorp/go.net v0.0.1 03:37:18 go: finding github.com/hashicorp/golang-lru v0.5.0 03:37:18 go: finding github.com/hashicorp/logutils v1.0.0 03:37:18 go: finding github.com/hashicorp/mdns v1.0.0 03:37:18 go: finding github.com/hashicorp/memberlist v0.1.3 03:37:18 go: finding github.com/hashicorp/serf v0.8.2 03:37:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:37:18 go: finding github.com/mattn/go-colorable v0.0.9 03:37:18 go: finding github.com/mattn/go-isatty v0.0.3 03:37:18 go: finding github.com/miekg/dns v1.0.14 03:37:18 go: finding github.com/mitchellh/cli v1.0.0 03:37:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:37:18 go: finding github.com/mitchellh/copystructure v1.0.0 03:37:19 go: finding github.com/mitchellh/go-homedir v1.0.0 03:37:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:37:19 go: finding github.com/mitchellh/gox v0.4.0 03:37:19 go: finding github.com/mitchellh/iochan v1.0.0 03:37:19 go: finding github.com/mitchellh/mapstructure v1.1.2 03:37:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:37:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:37:19 go: finding github.com/pelletier/go-toml v1.2.0 03:37:19 go: finding github.com/pkg/errors v0.8.1 03:37:19 go: finding github.com/pmezard/go-difflib v1.0.0 03:37:19 go: finding github.com/posener/complete v1.1.1 03:37:19 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:37:19 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:37:19 go: finding github.com/stretchr/objx v0.1.0 03:37:19 go: finding github.com/stretchr/testify v1.5.1 03:37:19 go: finding github.com/ugorji/go v1.1.4 03:37:19 go: finding github.com/x448/float16 v0.8.4 03:37:19 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:37:19 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:37:19 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:37:19 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:37:19 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:37:19 go: finding gopkg.in/yaml.v2 v2.3.0 03:37:27 Removing intermediate container 82947b0dce2f 03:37:27 ---> 8e49ddd8ed46 03:37:27 Successfully built 8e49ddd8ed46 03:37:27 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 03:37:28 + docker inspect -f . ci-base-image-x86_64 03:37:28 . [Pipeline] withDockerContainer 03:37:28 prd-centos7-docker-4c-2g-1906 does not seem to be running inside a container 03:37:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:37:29 $ docker top 5bb3acd41968d7accd5fe136a0f26b063f0a8a7366bb0b5e008e4fdc4cc29182 -eo pid,comm [Pipeline] { [Pipeline] sh 03:37:30 + go version 03:37:30 go version go1.13.13 linux/amd64 [Pipeline] sh 03:37:30 + make test 03:37:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:37:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:37:41 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:37:41 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:37:41 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:37:41 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.028s coverage: 21.0% of statements 03:37:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.051s coverage: 95.7% of statements 03:37:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1909 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 03:37:44 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:37:49 using credential edgex-jenkins-ssh 03:37:49 Cloning the remote Git repository 03:37:49 Cloning with configured refspecs honoured and without tags 03:37:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:37:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:37:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:37:50 > git --version # timeout=10 03:37:50 > git --version # 'git version 2.17.1' 03:37:50 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:37:51 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 03:37:51 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:51 Fetching without tags 03:37:51 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 03:37:52 Merge succeeded, producing 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 03:37:52 Checking out Revision 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 (PR-582) 03:37:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:37:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:37:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:51 > git config core.sparsecheckout # timeout=10 03:37:51 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 03:37:52 > git remote # timeout=10 03:37:52 > git config --get remote.origin.url # timeout=10 03:37:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:52 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 03:37:52 > git rev-parse HEAD^{commit} # timeout=10 03:37:52 > git config core.sparsecheckout # timeout=10 03:37:52 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 03:37:56 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" 03:37:56 > git --version # timeout=10 03:37:56 > git --version # 'git version 2.17.1' 03:37:56 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:37:57 ========================================================= 03:37:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:37:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:37:59 + 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 . 03:38:00 Sending build context to Docker daemon 3.139MB 03:38:00 Step 1/8 : ARG BASE=golang:1.13-alpine 03:38:00 Step 2/8 : FROM ${BASE} 03:38:00 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:38:00 b538f80385f9: Pulling fs layer 03:38:00 74f711af9a0d: Pulling fs layer 03:38:00 99f96fe45779: Pulling fs layer 03:38:00 fd7a069fd194: Pulling fs layer 03:38:00 66aa3694b03b: Pulling fs layer 03:38:00 170f70906a0f: Pulling fs layer 03:38:00 ad7c5574e4b9: Pulling fs layer 03:38:00 e772456be8f7: Pulling fs layer 03:38:00 c890913d741a: Pulling fs layer 03:38:00 2480fcc9aa5a: Pulling fs layer 03:38:00 09adf4765672: Pulling fs layer 03:38:00 66aa3694b03b: Waiting 03:38:00 170f70906a0f: Waiting 03:38:00 ad7c5574e4b9: Waiting 03:38:00 e772456be8f7: Waiting 03:38:00 c890913d741a: Waiting 03:38:00 2480fcc9aa5a: Waiting 03:38:00 09adf4765672: Waiting 03:38:00 fd7a069fd194: Waiting 03:38:00 99f96fe45779: Download complete 03:38:00 74f711af9a0d: Download complete 03:38:00 66aa3694b03b: Verifying Checksum 03:38:00 66aa3694b03b: Download complete 03:38:00 b538f80385f9: Verifying Checksum 03:38:00 b538f80385f9: Download complete 03:38:00 170f70906a0f: Verifying Checksum 03:38:00 170f70906a0f: Download complete 03:38:01 b538f80385f9: Pull complete 03:38:01 74f711af9a0d: Pull complete 03:38:02 99f96fe45779: Pull complete 03:38:03 ad7c5574e4b9: Verifying Checksum 03:38:03 ad7c5574e4b9: Download complete 03:38:03 c890913d741a: Verifying Checksum 03:38:03 c890913d741a: Download complete 03:38:05 2480fcc9aa5a: Verifying Checksum 03:38:05 2480fcc9aa5a: Download complete 03:38:05 09adf4765672: Verifying Checksum 03:38:05 09adf4765672: Download complete 03:38:05 e772456be8f7: Verifying Checksum 03:38:05 e772456be8f7: Download complete 03:38:06 fd7a069fd194: Verifying Checksum 03:38:06 fd7a069fd194: Download complete 03:38:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.009s coverage: 8.6% of statements 03:38:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements 03:38:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:38:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.022s coverage: 37.0% of statements 03:38:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:38:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.027s coverage: 65.4% of statements 03:38:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:38:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:38:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:38:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.034s coverage: 52.6% of statements 03:38:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 68.9% of statements 03:38:14 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:38:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:38:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:38:14 gofmt -l . 03:38:14 [ "`gofmt -l .`" = "" ] 03:38:14 ./bin/test-attribution-txt.sh 03:38:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:38:16 Stashed 1 file(s) [Pipeline] } 03:38:16 $ docker stop --time=1 5bb3acd41968d7accd5fe136a0f26b063f0a8a7366bb0b5e008e4fdc4cc29182 03:38:16 fd7a069fd194: Pull complete 03:38:16 66aa3694b03b: Pull complete 03:38:17 170f70906a0f: Pull complete 03:38:17 $ docker rm -f 5bb3acd41968d7accd5fe136a0f26b063f0a8a7366bb0b5e008e4fdc4cc29182 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:38:19 + ls -al . 03:38:19 total 188 03:38:19 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 9 03:38 . 03:38:19 drwxrwxr-x. 4 jenkins jenkins 28 Sep 9 03:36 .. 03:38:19 drwxrwxr-x. 2 jenkins jenkins 64 Sep 9 03:36 bin 03:38:19 -rw-r--r--. 1 jenkins jenkins 111650 Sep 9 03:38 coverage.out 03:38:19 -rw-rw-r--. 1 jenkins jenkins 936 Sep 9 03:36 Dockerfile.build 03:38:19 -rw-rw-r--. 1 jenkins jenkins 140 Sep 9 03:36 .dockerignore 03:38:19 drwxrwxr-x. 4 jenkins jenkins 48 Sep 9 03:36 example 03:38:19 drwxrwxr-x. 8 jenkins jenkins 179 Sep 9 03:36 .git 03:38:19 drwxrwxr-x. 2 jenkins jenkins 60 Sep 9 03:36 .github 03:38:19 -rw-rw-r--. 1 jenkins jenkins 138 Sep 9 03:36 .gitignore 03:38:19 -rw-r--r--. 1 jenkins jenkins 446 Sep 9 03:38 go.mod 03:38:19 -rw-r--r--. 1 jenkins jenkins 12258 Sep 9 03:38 go.sum 03:38:19 drwxrwxr-x. 13 jenkins jenkins 184 Sep 9 03:36 internal 03:38:19 -rw-rw-r--. 1 jenkins jenkins 808 Sep 9 03:36 Jenkinsfile 03:38:19 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 9 03:36 LICENSE 03:38:19 -rw-rw-r--. 1 jenkins jenkins 892 Sep 9 03:36 Makefile 03:38:19 drwxrwxr-x. 4 jenkins jenkins 26 Sep 9 03:36 openapi 03:38:19 drwxrwxr-x. 5 jenkins jenkins 50 Sep 9 03:36 pkg 03:38:19 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 9 03:36 README.md 03:38:19 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 9 03:36 RELEASE-NOTES.txt 03:38:19 drwxrwxr-x. 3 jenkins jenkins 58 Sep 9 03:36 .semver 03:38:19 drwxrwxr-x. 4 jenkins jenkins 54 Sep 9 03:36 snap 03:38:19 -rw-rw-r--. 1 jenkins jenkins 5 Sep 9 03:34 VERSION 03:38:19 -rw-rw-r--. 1 jenkins jenkins 222 Sep 9 03:36 version.go [Pipeline] isUnix [Pipeline] sh 03:38:20 + 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=84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 --label arch=amd64 --label version=0.0.0 . 03:38:20 Sending build context to Docker daemon 3.255MB 03:38:20 Step 1/24 : ARG BASE=golang:1.13-alpine 03:38:20 Step 2/24 : FROM ${BASE} AS builder 03:38:20 ---> 8e49ddd8ed46 03:38:20 Step 3/24 : ARG MAKE='make build' 03:38:20 ---> Running in 8c7152ed55da 03:38:20 ad7c5574e4b9: Pull complete 03:38:20 Removing intermediate container 8c7152ed55da 03:38:20 ---> 76b5e821a7a0 03:38:20 Step 4/24 : WORKDIR /device-sdk-go 03:38:20 ---> Running in 1265031d7790 03:38:21 Removing intermediate container 1265031d7790 03:38:21 ---> 52809b45ed23 03:38:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:38:21 ---> Running in 3405937ad601 03:38:21 Removing intermediate container 3405937ad601 03:38:21 ---> 00881602c3b4 03:38:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:38:21 ---> Running in 303e25eaf32f 03:38:22 Removing intermediate container 303e25eaf32f 03:38:22 ---> 31c6a0159b1d 03:38:22 Step 7/24 : RUN apk add --update --no-cache make git 03:38:22 ---> Running in f921e84ad9f1 03:38:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:38:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:38:26 e772456be8f7: Pull complete 03:38:26 c890913d741a: Pull complete 03:38:26 OK: 166 MiB in 39 packages 03:38:26 Removing intermediate container f921e84ad9f1 03:38:26 ---> 554d87036e50 03:38:26 Step 8/24 : COPY . . 03:38:27 ---> 88760fa3ec19 03:38:27 Step 9/24 : RUN ${MAKE} 03:38:27 ---> Running in 21d2e4080473 03:38:27 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 03:38:28 2480fcc9aa5a: Pull complete 03:38:28 09adf4765672: Pull complete 03:38:28 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 03:38:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:38:28 ---> 2248a725d1cf 03:38:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:38:33 ---> Running in 834fd12fa0d8 03:38:33 Removing intermediate container 834fd12fa0d8 03:38:33 ---> bfd4a89f2fe4 03:38:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:38:33 ---> Running in 9ad615331206 03:38:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:38:36 Removing intermediate container 9ad615331206 03:38:36 ---> fad50dce6279 03:38:36 Step 5/8 : RUN apk add --no-cache make git 03:38:36 ---> Running in 655a626e18c6 03:38:37 Removing intermediate container 21d2e4080473 03:38:37 ---> 817bcc17ffbc 03:38:37 Step 10/24 : FROM scratch 03:38:37 ---> 03:38:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:38:37 ---> Running in fcebf9dcdb3d 03:38:37 Removing intermediate container fcebf9dcdb3d 03:38:37 ---> 11a7de5b96bd 03:38:37 Step 12/24 : ENV APP_PORT=49990 03:38:37 ---> Running in 90a6a8757f7f 03:38:37 Removing intermediate container 90a6a8757f7f 03:38:37 ---> 4f7a239b1a09 03:38:37 Step 13/24 : EXPOSE $APP_PORT 03:38:37 ---> Running in e02e53129754 03:38:37 Removing intermediate container e02e53129754 03:38:37 ---> cfbe8c4c9d71 03:38:37 Step 14/24 : WORKDIR / 03:38:37 ---> Running in c9a84261b721 03:38:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:38:37 Removing intermediate container c9a84261b721 03:38:37 ---> 4c6bc6405ca5 03:38:37 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:38:38 ---> f9289035187c 03:38:38 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:38:38 ---> 871e9391ee29 03:38:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:38:38 ---> 1be780cba394 03:38:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:38:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:38:39 ---> 18de872d9acc 03:38:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:38:39 ---> 7577f72c07ba 03:38:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:38:39 ---> Running in 5978d88dc221 03:38:39 Removing intermediate container 5978d88dc221 03:38:39 ---> d152604c65b9 03:38:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:38:39 ---> Running in 5f3cb58bab7d 03:38:39 Removing intermediate container 5f3cb58bab7d 03:38:39 ---> 4e36ee2ac0db 03:38:39 Step 22/24 : LABEL arch=amd64 03:38:39 ---> Running in 62a176d5e9da 03:38:39 Removing intermediate container 62a176d5e9da 03:38:39 ---> 8a3713c54f97 03:38:39 Step 23/24 : LABEL git_sha=84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 03:38:40 ---> Running in 8357e40bc0e5 03:38:40 Removing intermediate container 8357e40bc0e5 03:38:40 ---> d04d10219db8 03:38:40 Step 24/24 : LABEL version=0.0.0 03:38:40 ---> Running in 4d6059c441f3 03:38:40 Removing intermediate container 4d6059c441f3 03:38:40 ---> e1a1b33a2ba8 03:38:40 [Warning] One or more build-args [ARCH] were not consumed 03:38:40 Successfully built e1a1b33a2ba8 03:38:40 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } 03:38:40 OK: 142 MiB in 39 packages [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 03:38:41 Removing intermediate container 655a626e18c6 03:38:41 ---> 5fd14f4e0be2 03:38:41 Step 6/8 : WORKDIR /device-sdk-go 03:38:41 ---> Running in bd71ea966f9e [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 03:38:42 Removing intermediate container bd71ea966f9e 03:38:42 ---> 71a5c6cb600d 03:38:42 Step 7/8 : COPY . . [Pipeline] // stage [Pipeline] } 03:38:43 ---> 0cb446c14a54 03:38:43 Step 8/8 : RUN go mod download 03:38:43 ---> Running in 78cd2a342bcf 03:38:46 go: finding github.com/BurntSushi/toml v0.3.1 03:38:46 go: finding github.com/OneOfOne/xxhash v1.2.6 03:38:46 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:38:46 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:38:46 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:38:46 go: finding github.com/bgentry/speakeasy v0.1.0 03:38:46 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:38:46 go: finding github.com/davecgh/go-spew v1.1.1 03:38:46 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 03:38:46 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:38:46 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:38:46 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:38:46 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:38:46 go: finding github.com/fatih/color v1.7.0 03:38:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:38:47 go: finding github.com/go-kit/kit v0.8.0 03:38:47 go: finding github.com/go-logfmt/logfmt v0.4.0 03:38:47 go: finding github.com/go-stack/stack v1.8.0 03:38:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:38:47 go: finding github.com/google/uuid v1.1.0 03:38:47 go: finding github.com/gorilla/mux v1.7.1 03:38:47 go: finding github.com/hashicorp/consul/api v1.1.0 03:38:47 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:38:47 go: finding github.com/hashicorp/errwrap v1.0.0 03:38:47 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:38:47 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:38:47 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:38:47 go: finding github.com/hashicorp/go-multierror v1.0.0 03:38:47 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:38:47 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:38:47 go: finding github.com/hashicorp/go-syslog v1.0.0 03:38:47 go: finding github.com/hashicorp/go-uuid v1.0.1 03:38:47 go: finding github.com/hashicorp/go.net v0.0.1 03:38:47 go: finding github.com/hashicorp/golang-lru v0.5.0 03:38:47 go: finding github.com/hashicorp/logutils v1.0.0 03:38:47 go: finding github.com/hashicorp/mdns v1.0.0 03:38:47 go: finding github.com/hashicorp/memberlist v0.1.3 03:38:47 go: finding github.com/hashicorp/serf v0.8.2 03:38:47 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:38:47 go: finding github.com/mattn/go-colorable v0.0.9 03:38:47 go: finding github.com/mattn/go-isatty v0.0.3 03:38:47 go: finding github.com/miekg/dns v1.0.14 03:38:47 go: finding github.com/mitchellh/cli v1.0.0 03:38:47 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:38:47 go: finding github.com/mitchellh/copystructure v1.0.0 03:38:47 go: finding github.com/mitchellh/go-homedir v1.0.0 03:38:47 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:38:47 go: finding github.com/mitchellh/gox v0.4.0 03:38:47 go: finding github.com/mitchellh/iochan v1.0.0 03:38:47 go: finding github.com/mitchellh/mapstructure v1.1.2 03:38:47 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:38:47 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:38:47 go: finding github.com/pelletier/go-toml v1.2.0 03:38:48 go: finding github.com/pkg/errors v0.8.1 03:38:48 go: finding github.com/pmezard/go-difflib v1.0.0 03:38:48 go: finding github.com/posener/complete v1.1.1 03:38:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:38:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:38:48 go: finding github.com/stretchr/objx v0.1.0 03:38:48 go: finding github.com/stretchr/testify v1.5.1 03:38:48 go: finding github.com/ugorji/go v1.1.4 03:38:48 go: finding github.com/x448/float16 v0.8.4 03:38:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:38:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:38:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:38:48 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:38:48 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:38:48 go: finding gopkg.in/yaml.v2 v2.3.0 03:38:58 Removing intermediate container 78cd2a342bcf 03:38:58 ---> 39fb758b92dc 03:38:58 Successfully built 39fb758b92dc 03:38:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:38:59 + docker inspect -f . ci-base-image-arm64 03:38:59 . [Pipeline] withDockerContainer 03:38:59 prd-ubuntu18.04-docker-arm64-4c-16g-1909 does not seem to be running inside a container 03:39:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:39:01 $ docker top e0f707e33dc36cbec66d0a607e18aca9902b9e30d81a0cdea7456f5a56206216 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:03 + go version 03:39:03 go version go1.13.13 linux/arm64 [Pipeline] sh 03:39:04 + make test 03:39:04 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:39:05 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:39:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:39:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:39:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:39:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.017s coverage: 21.0% of statements 03:39:38 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.193s coverage: 95.7% of statements 03:40:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 8.6% of statements 03:40:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 03:40:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:40:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.079s coverage: 37.0% of statements 03:40:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:40:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.144s coverage: 65.4% of statements 03:40:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:40:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:40:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:40:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements 03:40:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.368s coverage: 68.9% of statements 03:40:10 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:40:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:40:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:40:15 gofmt -l . 03:40:15 [ "`gofmt -l .`" = "" ] 03:40:15 ./bin/test-attribution-txt.sh 03:40:16 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:40:17 Warning: overwriting stash ‘coverage-report’ 03:40:18 Stashed 1 file(s) [Pipeline] } 03:40:18 $ docker stop --time=1 e0f707e33dc36cbec66d0a607e18aca9902b9e30d81a0cdea7456f5a56206216 03:40:20 $ docker rm -f e0f707e33dc36cbec66d0a607e18aca9902b9e30d81a0cdea7456f5a56206216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:40:22 + ls -al . 03:40:22 total 228 03:40:22 drwxrwxr-x 11 jenkins jenkins 4096 Sep 9 03:40 . 03:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 .. 03:40:22 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 03:37 .dockerignore 03:40:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 03:37 .git 03:40:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:37 .github 03:40:22 -rw-rw-r-- 1 jenkins jenkins 138 Sep 9 03:37 .gitignore 03:40:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 03:37 .semver 03:40:22 -rw-rw-r-- 1 jenkins jenkins 936 Sep 9 03:37 Dockerfile.build 03:40:22 -rw-rw-r-- 1 jenkins jenkins 808 Sep 9 03:37 Jenkinsfile 03:40:22 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 9 03:37 LICENSE 03:40:22 -rw-rw-r-- 1 jenkins jenkins 892 Sep 9 03:37 Makefile 03:40:22 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 9 03:37 README.md 03:40:22 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 9 03:37 RELEASE-NOTES.txt 03:40:22 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 03:34 VERSION 03:40:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:37 bin 03:40:22 -rw-r--r-- 1 jenkins jenkins 111650 Sep 9 03:40 coverage.out 03:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 example 03:40:22 -rw-r--r-- 1 jenkins jenkins 446 Sep 9 03:40 go.mod 03:40:22 -rw-r--r-- 1 jenkins jenkins 12258 Sep 9 03:40 go.sum 03:40:22 drwxrwxr-x 13 jenkins jenkins 4096 Sep 9 03:37 internal 03:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 openapi 03:40:22 drwxrwxr-x 5 jenkins jenkins 4096 Sep 9 03:37 pkg 03:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 snap 03:40:22 -rw-rw-r-- 1 jenkins jenkins 222 Sep 9 03:37 version.go [Pipeline] isUnix [Pipeline] sh 03:40:22 + 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=84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 --label arch=arm64 --label version=0.0.0 . 03:40:22 Sending build context to Docker daemon 3.253MB 03:40:23 Step 1/24 : ARG BASE=golang:1.13-alpine 03:40:23 Step 2/24 : FROM ${BASE} AS builder 03:40:23 ---> 39fb758b92dc 03:40:23 Step 3/24 : ARG MAKE='make build' 03:40:23 ---> Running in a6352eaab61e 03:40:23 Removing intermediate container a6352eaab61e 03:40:23 ---> c399634b5606 03:40:23 Step 4/24 : WORKDIR /device-sdk-go 03:40:23 ---> Running in 9276878db8dd 03:40:24 Removing intermediate container 9276878db8dd 03:40:24 ---> 575b4971a6cd 03:40:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:40:24 ---> Running in e6d80940b28d 03:40:25 Removing intermediate container e6d80940b28d 03:40:25 ---> 41f22f5dae7d 03:40:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:40:25 ---> Running in 42e101620f52 03:40:27 Removing intermediate container 42e101620f52 03:40:27 ---> 591934aa19b5 03:40:27 Step 7/24 : RUN apk add --update --no-cache make git 03:40:27 ---> Running in ec055abe12a5 03:40:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:40:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:40:30 OK: 142 MiB in 39 packages 03:40:32 Removing intermediate container ec055abe12a5 03:40:32 ---> f6d03edaecdf 03:40:32 Step 8/24 : COPY . . 03:40:33 ---> 79bbcc77d6f2 03:40:33 Step 9/24 : RUN ${MAKE} 03:40:33 ---> Running in 94ae239e84d2 03:40:34 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 03:41:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:41:01 Removing intermediate container 94ae239e84d2 03:41:01 ---> 02eb31bbe286 03:41:01 Step 10/24 : FROM scratch 03:41:01 ---> 03:41:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:41:01 ---> Running in f56821be5d69 03:41:02 Removing intermediate container f56821be5d69 03:41:02 ---> 4db49829e98f 03:41:02 Step 12/24 : ENV APP_PORT=49990 03:41:02 ---> Running in 67e946003c75 03:41:02 Removing intermediate container 67e946003c75 03:41:02 ---> 6632bf04215e 03:41:02 Step 13/24 : EXPOSE $APP_PORT 03:41:02 ---> Running in 745f8bb1e34f 03:41:03 Removing intermediate container 745f8bb1e34f 03:41:03 ---> c5bf847203db 03:41:03 Step 14/24 : WORKDIR / 03:41:03 ---> Running in 55913b33021e 03:41:03 Removing intermediate container 55913b33021e 03:41:03 ---> 9bb8d8301003 03:41:03 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:41:04 ---> a9e9f8635127 03:41:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:41:05 ---> d01a472444d7 03:41:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:41:06 ---> 4e07ea17b9d4 03:41:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:41:07 ---> 2281972bcf8c 03:41:07 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:41:07 ---> 7fb30bd75898 03:41:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:41:07 ---> Running in 21246d9e4a95 03:41:08 Removing intermediate container 21246d9e4a95 03:41:08 ---> 629de1cad4d9 03:41:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:41:08 ---> Running in 84b4f51c3636 03:41:09 Removing intermediate container 84b4f51c3636 03:41:09 ---> f0b86834d974 03:41:09 Step 22/24 : LABEL arch=arm64 03:41:09 ---> Running in f4b8e065156b 03:41:09 Removing intermediate container f4b8e065156b 03:41:09 ---> df63250e3bbb 03:41:09 Step 23/24 : LABEL git_sha=84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 03:41:09 ---> Running in b71b68589da7 03:41:10 Removing intermediate container b71b68589da7 03:41:10 ---> 00c66bbaf219 03:41:10 Step 24/24 : LABEL version=0.0.0 03:41:10 ---> Running in b979bd5bbdf5 03:41:10 Removing intermediate container b979bd5bbdf5 03:41:10 ---> 3d9c72889e7f 03:41:10 [Warning] One or more build-args [ARCH] were not consumed 03:41:10 Successfully built 3d9c72889e7f 03:41:10 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 03:41:13 provisioning config files... 03:41:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config3471672705351511382tmp [Pipeline] { [Pipeline] sh 03:41:13 + curl -s https://codecov.io/bash 03:41:13 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config3471672705351511382tmp [Pipeline] } 03:41:13 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 03:41:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:41:17 ---> package-listing.sh 03:41:17 ++ facter osfamily 03:41:17 ++ tr '[:upper:]' '[:lower:]' 03:41:17 + OS_FAMILY=redhat 03:41:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 03:41:17 + START_PACKAGES=/tmp/packages_start.txt 03:41:17 + END_PACKAGES=/tmp/packages_end.txt 03:41:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:41:17 + PACKAGES=/tmp/packages_start.txt 03:41:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 03:41:17 + PACKAGES=/tmp/packages_end.txt 03:41:17 + case "${OS_FAMILY}" in 03:41:17 + rpm -qa 03:41:17 + sort 03:41:21 + '[' -f /tmp/packages_start.txt ']' 03:41:21 + '[' -f /tmp/packages_end.txt ']' 03:41:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:41:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 03:41:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 03:41:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] isUnix [Pipeline] sh 03:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:22 03:41:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:41:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:22 alpine: Pulling from edgex-lftools-log-publisher 03:41:22 df20fa9351a1: Pulling fs layer 03:41:22 36b3adc4ff6f: Pulling fs layer 03:41:22 8ad3a11d3b57: Pulling fs layer 03:41:22 46f8f816bc3b: Pulling fs layer 03:41:22 0dadc02b9964: Pulling fs layer 03:41:22 ce6a7cf60c04: Pulling fs layer 03:41:22 7a184a31f384: Pulling fs layer 03:41:22 0879bd2ef858: Pulling fs layer 03:41:22 ce6a7cf60c04: Waiting 03:41:22 46f8f816bc3b: Waiting 03:41:22 7a184a31f384: Waiting 03:41:22 0879bd2ef858: Waiting 03:41:22 0dadc02b9964: Waiting 03:41:22 36b3adc4ff6f: Verifying Checksum 03:41:22 36b3adc4ff6f: Download complete 03:41:22 46f8f816bc3b: Verifying Checksum 03:41:22 46f8f816bc3b: Download complete 03:41:22 0dadc02b9964: Verifying Checksum 03:41:22 0dadc02b9964: Download complete 03:41:22 ce6a7cf60c04: Verifying Checksum 03:41:22 ce6a7cf60c04: Download complete 03:41:22 7a184a31f384: Verifying Checksum 03:41:22 7a184a31f384: Download complete 03:41:22 df20fa9351a1: Verifying Checksum 03:41:22 df20fa9351a1: Download complete 03:41:22 8ad3a11d3b57: Verifying Checksum 03:41:22 8ad3a11d3b57: Download complete 03:41:23 df20fa9351a1: Pull complete 03:41:23 36b3adc4ff6f: Pull complete 03:41:23 0879bd2ef858: Verifying Checksum 03:41:23 0879bd2ef858: Download complete 03:41:23 8ad3a11d3b57: Pull complete 03:41:23 46f8f816bc3b: Pull complete 03:41:24 0dadc02b9964: Pull complete 03:41:24 ce6a7cf60c04: Pull complete 03:41:24 7a184a31f384: Pull complete 03:41:27 0879bd2ef858: Pull complete 03:41:27 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 03:41:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:41:27 prd-centos7-docker-4c-2g-1897 does not seem to be running inside a container 03:41:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:41:32 $ docker top 04b3fbb6a2bf8b6c93126b8d738459ce5604c69ca3eb2cea2cba5b5c85960396 -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:33 + mkdir -p /var/log/sa [Pipeline] sh 03:41:33 + ls /var/log/sa-host 03:41:33 + sadf -c /var/log/sa-host/sa05 03:41:33 file_magic: OK 03:41:33 HZ: Using current value: 100 03:41:33 file_header: OK 03:41:33 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 03:41:33 Statistics: 03:41:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:41:33 File successfully converted to sysstat format version 12.2.1 03:41:33 + sadf -c /var/log/sa-host/sa09 03:41:33 file_magic: OK 03:41:33 HZ: Using current value: 100 03:41:33 file_header: OK 03:41:33 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 03:41:33 Statistics: 03:41:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:41:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:41:33 provisioning config files... 03:41:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config4595292686548465928tmp [Pipeline] { [Pipeline] echo 03:41:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:41:34 ---> create-netrc.sh [Pipeline] echo 03:41:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:41:34 ---> logs-deploy.sh 03:41:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/1 03:41:34 INFO: archiving workspace using pattern(s): 03:41:36 Archives upload complete. 03:41:36 INFO: archiving logs to Nexus