Pull request #579 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 623c4a4b904299f2cc4efa6c125a0b3af12a3257+7ebf8157bed3f29606eb8346b104e57a74818c1e (b9ec76d2418e4de5a5af2aea641752657e236dd3) 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 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 > 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 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1878 in /w/workspace/dgexfoundry_device-sdk-go_PR-579 [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-579 # 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/579/head:refs/remotes/origin/PR-579 +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/579/head:refs/remotes/origin/PR-579 # 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/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 623c4a4b904299f2cc4efa6c125a0b3af12a3257 Merge succeeded, producing 623c4a4b904299f2cc4efa6c125a0b3af12a3257 Checking out Revision 623c4a4b904299f2cc4efa6c125a0b3af12a3257 (PR-579) > git config core.sparsecheckout # timeout=10 > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # 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 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 Commit message: "build: add dependabot.yml" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:52:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 1feafe2f8fee5d3912a2d19c174a0a1b1f297ec6 # timeout=10 00:52:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:52:22 ========================================================= 00:52:22 EdgeX Global Pipelines Version Info 00:52:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:52:24 ------------------- 00:52:24 stable info: 00:52:24 ------------------- 00:52:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:52:24 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 00:52:24 Message: update stable to v1.0.119 00:52:26 ------------------- 00:52:26 experimental info: 00:52:26 ------------------- 00:52:26 Commited By: **** collab-it+edgex@linuxfoundation.org 00:52:26 Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d 00:52:26 Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 00:52:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:52:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:52:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:52:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:52:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:52:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:52:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-579 [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-579 [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-579 [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 623c4a4b904299f2cc4efa6c125a0b3af12a3257 [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 623c4a4 [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:29 + git log --format=format:%s -1 623c4a4b904299f2cc4efa6c125a0b3af12a3257 [Pipeline] echo 00:52:29 GIT_COMMIT: 623c4a4b904299f2cc4efa6c125a0b3af12a3257, Commit Message: build: add dependabot.yml [Pipeline] echo 00:52:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:52:30 00:52:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:52:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:52:31 latest: Pulling from edgex-devops/git-semver 00:52:31 31603596830f: Pulling fs layer 00:52:31 2a8b12db71e7: Pulling fs layer 00:52:31 6ca5941a6612: Pulling fs layer 00:52:31 ecc8261a40a4: Pulling fs layer 00:52:31 ecc8261a40a4: Waiting 00:52:31 2a8b12db71e7: Verifying Checksum 00:52:31 2a8b12db71e7: Download complete 00:52:31 31603596830f: Download complete 00:52:32 31603596830f: Pull complete 00:52:32 ecc8261a40a4: Verifying Checksum 00:52:32 ecc8261a40a4: Download complete 00:52:32 2a8b12db71e7: Pull complete 00:52:32 6ca5941a6612: Verifying Checksum 00:52:32 6ca5941a6612: Download complete 00:52:33 6ca5941a6612: Pull complete 00:52:34 ecc8261a40a4: Pull complete 00:52:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:52:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:52:34 prd-centos7-docker-4c-2g-1878 does not seem to be running inside a container 00:52:34 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-579 -v /w/workspace/dgexfoundry_device-sdk-go_PR-579:/w/workspace/dgexfoundry_device-sdk-go_PR-579:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:52:37 $ docker top 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:52:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:52:37 [ssh-agent] Looking for ssh-agent implementation... 00:52:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:52:37 $ docker exec 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d ssh-agent 00:52:38 SSH_AUTH_SOCK=/tmp/ssh-63HJLZn3zr3d/agent.11 00:52:38 SSH_AGENT_PID=17 00:52:38 Running ssh-add (command line suppressed) 00:52:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/private_key_3391655282225123477.key (/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/private_key_3391655282225123477.key) 00:52:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:52:38 + git describe --exact-match --tags HEAD 00:52:38 fatal: No names found, cannot describe anything. [Pipeline] } 00:52:38 $ docker exec --env ******** --env ******** 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d ssh-agent -k 00:52:39 unset SSH_AUTH_SOCK; 00:52:39 unset SSH_AGENT_PID; 00:52:39 echo Agent pid 17 killed; 00:52:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:52:39 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 00:52:39 This usually means this commit has not been tagged. [Pipeline] sshagent 00:52:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:52:39 [ssh-agent] Looking for ssh-agent implementation... 00:52:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:52:39 $ docker exec 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d ssh-agent 00:52:40 SSH_AUTH_SOCK=/tmp/ssh-Ewh4501P7Sn9/agent.47 00:52:40 SSH_AGENT_PID=52 00:52:40 Running ssh-add (command line suppressed) 00:52:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/private_key_2351361917441634547.key (/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/private_key_2351361917441634547.key) 00:52:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:52:41 + git semver init 00:52:41 # -> Open(): unable to determine branch for HEAD 00:52:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-579/.git 00:52:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-579 00:52:41 # $SEMVER_REMOTE_NAME = origin 00:52:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:52:41 # $SEMVER_USER_NAME = edgex-jenkins 00:52:41 # $SEMVER_BRANCH = PR-579 00:52:41 # $SEMVER_TEMP = /tmp/semver-167771466 00:52:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 00:52:42 # '/tmp/semver-167771466' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-579/.semver' 00:52:42 # -> Force: false 00:52:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-579/.semver [Pipeline] } 00:52:42 $ docker exec --env ******** --env ******** 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d ssh-agent -k 00:52:42 unset SSH_AUTH_SOCK; 00:52:42 unset SSH_AGENT_PID; 00:52:42 echo Agent pid 52 killed; 00:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:52:42 + git semver [Pipeline] } 00:52:42 $ docker stop --time=1 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d 00:52:44 $ docker rm -f 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 00:52:45 Stashed 32 file(s) [Pipeline] echo 00:52:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 00:52:45 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 00:53:01 Still waiting to schedule task 00:53:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:53:01 Still waiting to schedule task 00:53:01 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1876’ is offline 00:54:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1879 in /w/workspace/dgexfoundry_device-sdk-go_PR-579 [Pipeline] { [Pipeline] ws 00:54:51 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 00:54:56 using credential edgex-jenkins-ssh 00:54:56 Cloning the remote Git repository 00:54:56 Cloning with configured refspecs honoured and without tags 00:54:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:54:56 > git init /w/workspace/device-sdk-go/2 # timeout=10 00:54:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:54:56 > git --version # timeout=10 00:54:56 > git --version # 'git version 2.17.1' 00:54:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:54:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:54:57 > git config --add remote.origin.fetch +refs/pull/579/head:refs/remotes/origin/PR-579 # timeout=10 00:54:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 00:54:57 Fetching without tags 00:54:58 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 623c4a4b904299f2cc4efa6c125a0b3af12a3257 00:54:58 Merge succeeded, producing 623c4a4b904299f2cc4efa6c125a0b3af12a3257 00:54:58 Checking out Revision 623c4a4b904299f2cc4efa6c125a0b3af12a3257 (PR-579) 00:54:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:54:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:54:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:54:58 > git config core.sparsecheckout # timeout=10 00:54:58 > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 00:54:58 > git remote # timeout=10 00:54:58 > git config --get remote.origin.url # timeout=10 00:54:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:58 > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 00:54:58 > git rev-parse HEAD^{commit} # timeout=10 00:54:58 > git config core.sparsecheckout # timeout=10 00:54:58 > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 00:55:02 Commit message: "build: add dependabot.yml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:55:04 ========================================================= 00:55:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 00:55:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:55:05 + 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 . 00:55:06 Sending build context to Docker daemon 3.138MB 00:55:06 Step 1/8 : ARG BASE=golang:1.13-alpine 00:55:06 Step 2/8 : FROM ${BASE} 00:55:07 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:55:07 b538f80385f9: Pulling fs layer 00:55:07 74f711af9a0d: Pulling fs layer 00:55:07 99f96fe45779: Pulling fs layer 00:55:07 fd7a069fd194: Pulling fs layer 00:55:07 66aa3694b03b: Pulling fs layer 00:55:07 170f70906a0f: Pulling fs layer 00:55:07 ad7c5574e4b9: Pulling fs layer 00:55:07 e772456be8f7: Pulling fs layer 00:55:07 c890913d741a: Pulling fs layer 00:55:07 2480fcc9aa5a: Pulling fs layer 00:55:07 09adf4765672: Pulling fs layer 00:55:07 fd7a069fd194: Waiting 00:55:07 66aa3694b03b: Waiting 00:55:07 170f70906a0f: Waiting 00:55:07 ad7c5574e4b9: Waiting 00:55:07 e772456be8f7: Waiting 00:55:07 c890913d741a: Waiting 00:55:07 2480fcc9aa5a: Waiting 00:55:07 09adf4765672: Waiting 00:55:07 99f96fe45779: Verifying Checksum 00:55:07 99f96fe45779: Download complete 00:55:07 74f711af9a0d: Verifying Checksum 00:55:07 74f711af9a0d: Download complete 00:55:07 66aa3694b03b: Verifying Checksum 00:55:07 66aa3694b03b: Download complete 00:55:07 170f70906a0f: Verifying Checksum 00:55:07 170f70906a0f: Download complete 00:55:07 b538f80385f9: Download complete 00:55:08 b538f80385f9: Pull complete 00:55:08 74f711af9a0d: Pull complete 00:55:09 99f96fe45779: Pull complete 00:55:10 ad7c5574e4b9: Verifying Checksum 00:55:10 ad7c5574e4b9: Download complete 00:55:10 c890913d741a: Verifying Checksum 00:55:10 c890913d741a: Download complete 00:55:12 e772456be8f7: Verifying Checksum 00:55:12 e772456be8f7: Download complete 00:55:12 09adf4765672: Download complete 00:55:12 2480fcc9aa5a: Verifying Checksum 00:55:12 2480fcc9aa5a: Download complete 00:55:12 fd7a069fd194: Verifying Checksum 00:55:12 fd7a069fd194: Download complete 00:55:25 fd7a069fd194: Pull complete 00:55:25 66aa3694b03b: Pull complete 00:55:25 170f70906a0f: Pull complete 00:55:28 ad7c5574e4b9: Pull complete 00:55:33 e772456be8f7: Pull complete 00:55:33 c890913d741a: Pull complete 00:55:35 2480fcc9aa5a: Pull complete 00:55:35 09adf4765672: Pull complete 00:55:35 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 00:55:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 00:55:35 ---> 2248a725d1cf 00:55:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:55:40 ---> Running in 49c90da7f35f 00:55:40 Removing intermediate container 49c90da7f35f 00:55:40 ---> 4a283a3aaf39 00:55:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:55:40 ---> Running in 9016332c3bce 00:55:43 Removing intermediate container 9016332c3bce 00:55:43 ---> 74b6f6d18903 00:55:43 Step 5/8 : RUN apk add --no-cache make git 00:55:43 ---> Running in 179495e660ce 00:55:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:55:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:55:46 OK: 142 MiB in 39 packages 00:55:47 Removing intermediate container 179495e660ce 00:55:47 ---> 5289b178c38d 00:55:47 Step 6/8 : WORKDIR /device-sdk-go 00:55:47 ---> Running in 16129f8f0e63 00:55:47 Removing intermediate container 16129f8f0e63 00:55:47 ---> 840eecf26177 00:55:47 Step 7/8 : COPY . . 00:55:49 ---> 391fddabca97 00:55:49 Step 8/8 : RUN go mod download 00:55:49 ---> Running in 5c5bd7d06da4 00:55:51 go: finding github.com/BurntSushi/toml v0.3.1 00:55:51 go: finding github.com/OneOfOne/xxhash v1.2.6 00:55:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:55:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:55:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:55:51 go: finding github.com/bgentry/speakeasy v0.1.0 00:55:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 00:55:52 go: finding github.com/davecgh/go-spew v1.1.1 00:55:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 00:55:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 00:55:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 00:55:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 00:55:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 00:55:52 go: finding github.com/fatih/color v1.7.0 00:55:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 00:55:52 go: finding github.com/go-kit/kit v0.8.0 00:55:52 go: finding github.com/go-logfmt/logfmt v0.4.0 00:55:52 go: finding github.com/go-stack/stack v1.8.0 00:55:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:55:52 go: finding github.com/google/uuid v1.1.0 00:55:52 go: finding github.com/gorilla/mux v1.7.1 00:55:52 go: finding github.com/hashicorp/consul/api v1.1.0 00:55:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 00:55:52 go: finding github.com/hashicorp/errwrap v1.0.0 00:55:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 00:55:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:55:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:55:52 go: finding github.com/hashicorp/go-multierror v1.0.0 00:55:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:55:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:55:52 go: finding github.com/hashicorp/go-syslog v1.0.0 00:55:52 go: finding github.com/hashicorp/go-uuid v1.0.1 00:55:52 go: finding github.com/hashicorp/go.net v0.0.1 00:55:52 go: finding github.com/hashicorp/golang-lru v0.5.0 00:55:52 go: finding github.com/hashicorp/logutils v1.0.0 00:55:52 go: finding github.com/hashicorp/mdns v1.0.0 00:55:52 go: finding github.com/hashicorp/memberlist v0.1.3 00:55:52 go: finding github.com/hashicorp/serf v0.8.2 00:55:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:55:52 go: finding github.com/mattn/go-colorable v0.0.9 00:55:52 go: finding github.com/mattn/go-isatty v0.0.3 00:55:52 go: finding github.com/miekg/dns v1.0.14 00:55:52 go: finding github.com/mitchellh/cli v1.0.0 00:55:52 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:55:52 go: finding github.com/mitchellh/copystructure v1.0.0 00:55:52 go: finding github.com/mitchellh/go-homedir v1.0.0 00:55:52 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:55:53 go: finding github.com/mitchellh/gox v0.4.0 00:55:53 go: finding github.com/mitchellh/iochan v1.0.0 00:55:53 go: finding github.com/mitchellh/mapstructure v1.1.2 00:55:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:55:53 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:55:53 go: finding github.com/pelletier/go-toml v1.2.0 00:55:53 go: finding github.com/pkg/errors v0.8.1 00:55:53 go: finding github.com/pmezard/go-difflib v1.0.0 00:55:53 go: finding github.com/posener/complete v1.1.1 00:55:53 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:55:53 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:55:53 go: finding github.com/stretchr/objx v0.1.0 00:55:53 go: finding github.com/stretchr/testify v1.5.1 00:55:53 go: finding github.com/ugorji/go v1.1.4 00:55:53 go: finding github.com/x448/float16 v0.8.4 00:55:53 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:55:53 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 00:55:53 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:55:53 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:55:53 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 00:55:53 go: finding gopkg.in/yaml.v2 v2.2.8 00:55:56 Running on prd-centos7-docker-4c-2g-1880 in /w/workspace/dgexfoundry_device-sdk-go_PR-579 [Pipeline] { [Pipeline] ws 00:55:56 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 00:56:03 Removing intermediate container 5c5bd7d06da4 00:56:03 ---> 328e4e1a7ca6 00:56:03 Successfully built 328e4e1a7ca6 00:56:03 Successfully tagged ci-base-image-arm64:latest 00:56:03 using credential edgex-jenkins-ssh [Pipeline] } 00:56:03 Cloning the remote Git repository 00:56:03 Cloning with configured refspecs honoured and without tags [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:56:04 + docker inspect -f . ci-base-image-arm64 00:56:04 . [Pipeline] withDockerContainer 00:56:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:56:03 > git init /w/workspace/device-sdk-go/2 # timeout=10 00:56:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:56:03 > git --version # timeout=10 00:56:03 > git --version # 'git version 2.16.5' 00:56:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:56:04 prd-ubuntu18.04-docker-arm64-4c-16g-1879 does not seem to be running inside a container 00:56:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 00:56:04 Fetching without tags 00:56:05 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 623c4a4b904299f2cc4efa6c125a0b3af12a3257 00:56:05 Merge succeeded, producing 623c4a4b904299f2cc4efa6c125a0b3af12a3257 00:56:05 Checking out Revision 623c4a4b904299f2cc4efa6c125a0b3af12a3257 (PR-579) 00:56:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:56:04 > git config --add remote.origin.fetch +refs/pull/579/head:refs/remotes/origin/PR-579 # timeout=10 00:56:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 00:56:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:56:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:56:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:56:05 > git config core.sparsecheckout # timeout=10 00:56:05 > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 00:56:05 > git remote # timeout=10 00:56:05 > git config --get remote.origin.url # timeout=10 00:56:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:05 > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 00:56:05 > git rev-parse HEAD^{commit} # timeout=10 00:56:05 > git config core.sparsecheckout # timeout=10 00:56:05 > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 00:56:06 $ docker top 1e475c7f923ac1efa19a029147c1026c38acf43beb9cd97ddaaeca5a2fd1b3db -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:08 + go version 00:56:08 go version go1.13.13 linux/arm64 [Pipeline] sh 00:56:09 + make test 00:56:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:56:09 Commit message: "build: add dependabot.yml" 00:56:10 ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:56:11 ========================================================= 00:56:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 00:56:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:56: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 . 00:56:13 Sending build context to Docker daemon 3.139MB 00:56:13 Step 1/8 : ARG BASE=golang:1.13-alpine 00:56:13 Step 2/8 : FROM ${BASE} 00:56:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 00:56:13 df20fa9351a1: Pulling fs layer 00:56:13 ed8968b2872e: Pulling fs layer 00:56:13 a92cc7c5fd73: Pulling fs layer 00:56:13 2dd03ba5bac4: Pulling fs layer 00:56:13 1e091d79d1de: Pulling fs layer 00:56:13 481702a1767f: Pulling fs layer 00:56:13 f64a6f60c768: Pulling fs layer 00:56:13 e78d2573fc39: Pulling fs layer 00:56:13 e876d2f968b6: Pulling fs layer 00:56:13 ce8a83651883: Pulling fs layer 00:56:13 07967f4d0e4b: Pulling fs layer 00:56:13 f64a6f60c768: Waiting 00:56:13 e78d2573fc39: Waiting 00:56:13 e876d2f968b6: Waiting 00:56:13 ce8a83651883: Waiting 00:56:13 07967f4d0e4b: Waiting 00:56:13 2dd03ba5bac4: Waiting 00:56:13 1e091d79d1de: Waiting 00:56:13 481702a1767f: Waiting 00:56:13 a92cc7c5fd73: Verifying Checksum 00:56:13 a92cc7c5fd73: Download complete 00:56:13 df20fa9351a1: Verifying Checksum 00:56:13 df20fa9351a1: Download complete 00:56:13 1e091d79d1de: Verifying Checksum 00:56:13 1e091d79d1de: Download complete 00:56:13 481702a1767f: Verifying Checksum 00:56:13 481702a1767f: Download complete 00:56:13 ed8968b2872e: Verifying Checksum 00:56:13 ed8968b2872e: Download complete 00:56:14 df20fa9351a1: Pull complete 00:56:14 ed8968b2872e: Pull complete 00:56:15 a92cc7c5fd73: Pull complete 00:56:17 f64a6f60c768: Verifying Checksum 00:56:17 e876d2f968b6: Verifying Checksum 00:56:17 e876d2f968b6: Download complete 00:56:19 ce8a83651883: Verifying Checksum 00:56:19 ce8a83651883: Download complete 00:56:20 07967f4d0e4b: Verifying Checksum 00:56:20 07967f4d0e4b: Download complete 00:56:20 e78d2573fc39: Verifying Checksum 00:56:20 e78d2573fc39: Download complete 00:56:21 2dd03ba5bac4: Verifying Checksum 00:56:21 2dd03ba5bac4: Download complete 00:56:31 2dd03ba5bac4: Pull complete 00:56:31 1e091d79d1de: Pull complete 00:56:31 481702a1767f: Pull complete 00:56:36 f64a6f60c768: Pull complete 00:56:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 00:56:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 00:56:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 00:56:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 21.0% of statements 00:56:40 e78d2573fc39: Pull complete 00:56:40 e876d2f968b6: Pull complete 00:56:41 ce8a83651883: Pull complete 00:56:41 07967f4d0e4b: Pull complete 00:56:41 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 00:56:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 00:56:42 ---> 5d7c900382c6 00:56:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:56:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.165s coverage: 95.7% of statements 00:56:43 ---> Running in f81f8ee5817a 00:56:43 Removing intermediate container f81f8ee5817a 00:56:43 ---> 48515e5420da 00:56:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:56:43 ---> Running in 13bd154a9fda 00:56:44 Removing intermediate container 13bd154a9fda 00:56:44 ---> 31e16306c378 00:56:44 Step 5/8 : RUN apk add --no-cache make git 00:56:44 ---> Running in 92fcd326d931 00:56:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:56:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:56:47 OK: 166 MiB in 39 packages 00:56:47 Removing intermediate container 92fcd326d931 00:56:47 ---> c5b2f3327ea1 00:56:47 Step 6/8 : WORKDIR /device-sdk-go 00:56:47 ---> Running in fe1a6cb7ca01 00:56:48 Removing intermediate container fe1a6cb7ca01 00:56:48 ---> 626c7b56fa52 00:56:48 Step 7/8 : COPY . . 00:56:48 ---> 5c394da12e27 00:56:48 Step 8/8 : RUN go mod download 00:56:48 ---> Running in 9bb294a9311e 00:56:50 go: finding github.com/BurntSushi/toml v0.3.1 00:56:50 go: finding github.com/OneOfOne/xxhash v1.2.6 00:56:50 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:56:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:56:50 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:56:50 go: finding github.com/bgentry/speakeasy v0.1.0 00:56:50 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 00:56:50 go: finding github.com/davecgh/go-spew v1.1.1 00:56:50 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 00:56:50 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 00:56:50 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 00:56:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 00:56:50 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 00:56:50 go: finding github.com/fatih/color v1.7.0 00:56:50 go: finding github.com/fxamacker/cbor/v2 v2.2.0 00:56:51 go: finding github.com/go-kit/kit v0.8.0 00:56:51 go: finding github.com/go-logfmt/logfmt v0.4.0 00:56:51 go: finding github.com/go-stack/stack v1.8.0 00:56:51 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:56:51 go: finding github.com/google/uuid v1.1.0 00:56:51 go: finding github.com/gorilla/mux v1.7.1 00:56:51 go: finding github.com/hashicorp/consul/api v1.1.0 00:56:51 go: finding github.com/hashicorp/consul/sdk v0.1.1 00:56:51 go: finding github.com/hashicorp/errwrap v1.0.0 00:56:51 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 00:56:51 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:56:51 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:56:51 go: finding github.com/hashicorp/go-multierror v1.0.0 00:56:51 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:56:51 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:56:51 go: finding github.com/hashicorp/go-syslog v1.0.0 00:56:51 go: finding github.com/hashicorp/go-uuid v1.0.1 00:56:51 go: finding github.com/hashicorp/go.net v0.0.1 00:56:51 go: finding github.com/hashicorp/golang-lru v0.5.0 00:56:51 go: finding github.com/hashicorp/logutils v1.0.0 00:56:51 go: finding github.com/hashicorp/mdns v1.0.0 00:56:51 go: finding github.com/hashicorp/memberlist v0.1.3 00:56:51 go: finding github.com/hashicorp/serf v0.8.2 00:56:51 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:56:51 go: finding github.com/mattn/go-colorable v0.0.9 00:56:51 go: finding github.com/mattn/go-isatty v0.0.3 00:56:51 go: finding github.com/miekg/dns v1.0.14 00:56:51 go: finding github.com/mitchellh/cli v1.0.0 00:56:51 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:56:51 go: finding github.com/mitchellh/copystructure v1.0.0 00:56:51 go: finding github.com/mitchellh/go-homedir v1.0.0 00:56:51 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:56:52 go: finding github.com/mitchellh/gox v0.4.0 00:56:52 go: finding github.com/mitchellh/iochan v1.0.0 00:56:52 go: finding github.com/mitchellh/mapstructure v1.1.2 00:56:52 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:56:52 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:56:52 go: finding github.com/pelletier/go-toml v1.2.0 00:56:52 go: finding github.com/pkg/errors v0.8.1 00:56:52 go: finding github.com/pmezard/go-difflib v1.0.0 00:56:52 go: finding github.com/posener/complete v1.1.1 00:56:52 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:56:52 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:56:52 go: finding github.com/stretchr/objx v0.1.0 00:56:52 go: finding github.com/stretchr/testify v1.5.1 00:56:52 go: finding github.com/ugorji/go v1.1.4 00:56:52 go: finding github.com/x448/float16 v0.8.4 00:56:52 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:56:52 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 00:56:52 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:56:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:56:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 00:56:52 go: finding gopkg.in/yaml.v2 v2.2.8 00:57:00 Removing intermediate container 9bb294a9311e 00:57:00 ---> 5de5118ea767 00:57:00 Successfully built 5de5118ea767 00:57:00 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 00:57:01 + docker inspect -f . ci-base-image-x86_64 00:57:01 . [Pipeline] withDockerContainer 00:57:02 prd-centos7-docker-4c-2g-1880 does not seem to be running inside a container 00:57:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat 00:57:04 $ docker top 8b2cc09168bc460f4f2dbb10be5d28486e977d9b6de7d59265fae3262a01b1ef -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:05 + go version 00:57:05 go version go1.13.13 linux/amd64 [Pipeline] sh 00:57:05 + make test 00:57:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:57:07 ? github.com/edgexfoundry/device-sdk-go [no test files] 00:57:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.020s coverage: 8.6% of statements 00:57:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 00:57:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 00:57:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.081s coverage: 37.0% of statements 00:57:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 00:57:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.146s coverage: 65.4% of statements 00:57:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 00:57:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 00:57:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 00:57:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.087s coverage: 52.6% of statements 00:57:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements 00:57:14 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 00:57:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 00:57:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:57:18 gofmt -l . 00:57:18 [ "`gofmt -l .`" = "" ] 00:57:19 ./bin/test-attribution-txt.sh 00:57:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 00:57:20 Stashed 1 file(s) [Pipeline] } 00:57:20 $ docker stop --time=1 1e475c7f923ac1efa19a029147c1026c38acf43beb9cd97ddaaeca5a2fd1b3db 00:57:22 $ docker rm -f 1e475c7f923ac1efa19a029147c1026c38acf43beb9cd97ddaaeca5a2fd1b3db [Pipeline] // withDockerContainer 00:57:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 00:57:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 00:57:23 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 00:57:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 21.0% of statements [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 00:57:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.070s coverage: 95.7% of statements [Pipeline] sh 00:57:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:26 + ls -al . 00:57:26 total 228 00:57:26 drwxrwxr-x 11 jenkins jenkins 4096 Sep 9 00:57 . 00:57:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 00:54 .. 00:57:26 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 00:54 .dockerignore 00:57:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 00:55 .git 00:57:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 00:54 .github 00:57:26 -rw-rw-r-- 1 jenkins jenkins 138 Sep 9 00:54 .gitignore 00:57:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 00:55 .semver 00:57:26 -rw-rw-r-- 1 jenkins jenkins 936 Sep 9 00:54 Dockerfile.build 00:57:26 -rw-rw-r-- 1 jenkins jenkins 808 Sep 9 00:54 Jenkinsfile 00:57:26 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 9 00:54 LICENSE 00:57:26 -rw-rw-r-- 1 jenkins jenkins 892 Sep 9 00:54 Makefile 00:57:26 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 9 00:54 README.md 00:57:26 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 9 00:54 RELEASE-NOTES.txt 00:57:26 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 00:52 VERSION 00:57:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 00:54 bin 00:57:26 -rw-r--r-- 1 jenkins jenkins 111650 Sep 9 00:57 coverage.out 00:57:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 00:54 example 00:57:26 -rw-r--r-- 1 jenkins jenkins 446 Sep 9 00:57 go.mod 00:57:26 -rw-r--r-- 1 jenkins jenkins 12179 Sep 9 00:57 go.sum 00:57:26 drwxrwxr-x 13 jenkins jenkins 4096 Sep 9 00:54 internal 00:57:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 00:54 openapi 00:57:26 drwxrwxr-x 5 jenkins jenkins 4096 Sep 9 00:54 pkg 00:57:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 00:54 snap 00:57:26 -rw-rw-r-- 1 jenkins jenkins 222 Sep 9 00:54 version.go [Pipeline] isUnix [Pipeline] sh 00:57:26 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=623c4a4b904299f2cc4efa6c125a0b3af12a3257 --label arch=arm64 --label version=0.0.0 . 00:57:27 Sending build context to Docker daemon 3.251MB 00:57:27 Step 1/24 : ARG BASE=golang:1.13-alpine 00:57:27 Step 2/24 : FROM ${BASE} AS builder 00:57:27 ---> 328e4e1a7ca6 00:57:27 Step 3/24 : ARG MAKE='make build' 00:57:27 ---> Running in 0250b7b753e5 00:57:28 Removing intermediate container 0250b7b753e5 00:57:28 ---> e713cc4580fb 00:57:28 Step 4/24 : WORKDIR /device-sdk-go 00:57:28 ---> Running in 364e155c3cfb 00:57:28 Removing intermediate container 364e155c3cfb 00:57:28 ---> c45c30d31c16 00:57:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:57:28 ---> Running in 4259dd9105b1 00:57:29 Removing intermediate container 4259dd9105b1 00:57:29 ---> 0ec89643b28a 00:57:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:57:29 ---> Running in 8344d84e6242 00:57:32 Removing intermediate container 8344d84e6242 00:57:32 ---> 22f286551051 00:57:32 Step 7/24 : RUN apk add --update --no-cache make git 00:57:32 ---> Running in 04d37644a74a 00:57:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:57:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:57:34 OK: 142 MiB in 39 packages 00:57:35 Removing intermediate container 04d37644a74a 00:57:35 ---> 86c69ebf649f 00:57:35 Step 8/24 : COPY . . 00:57:37 ---> 89a93cac0516 00:57:37 Step 9/24 : RUN ${MAKE} 00:57:37 ---> Running in e67720f72650 00:57:38 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 00:57:57 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.008s coverage: 8.6% of statements 00:57:57 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements 00:57:57 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 00:57:57 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.028s coverage: 37.0% of statements 00:57:57 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 00:57:57 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.057s coverage: 65.4% of statements 00:57:57 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 00:57:57 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 00:57:57 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 00:57:57 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.021s coverage: 52.6% of statements 00:57:57 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.118s coverage: 68.9% of statements 00:57:57 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 00:57:57 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 00:57:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:57:57 gofmt -l . 00:57:57 [ "`gofmt -l .`" = "" ] 00:57:57 ./bin/test-attribution-txt.sh 00:57:58 ./bin/test-go-mod-tidy.sh [Pipeline] stash 00:57:58 Warning: overwriting stash ‘coverage-report’ 00:57:59 Stashed 1 file(s) [Pipeline] } 00:57:59 $ docker stop --time=1 8b2cc09168bc460f4f2dbb10be5d28486e977d9b6de7d59265fae3262a01b1ef 00:58:00 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:58:01 $ docker rm -f 8b2cc09168bc460f4f2dbb10be5d28486e977d9b6de7d59265fae3262a01b1ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:58:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:58:02 + ls -al . 00:58:02 total 188 00:58:02 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 9 00:57 . 00:58:02 drwxrwxr-x. 4 jenkins jenkins 28 Sep 9 00:56 .. 00:58:02 drwxrwxr-x. 2 jenkins jenkins 64 Sep 9 00:56 bin 00:58:02 -rw-r--r--. 1 jenkins jenkins 111650 Sep 9 00:57 coverage.out 00:58:02 -rw-rw-r--. 1 jenkins jenkins 936 Sep 9 00:56 Dockerfile.build 00:58:02 -rw-rw-r--. 1 jenkins jenkins 140 Sep 9 00:56 .dockerignore 00:58:02 drwxrwxr-x. 4 jenkins jenkins 48 Sep 9 00:56 example 00:58:02 drwxrwxr-x. 8 jenkins jenkins 179 Sep 9 00:56 .git 00:58:02 drwxrwxr-x. 2 jenkins jenkins 60 Sep 9 00:56 .github 00:58:02 -rw-rw-r--. 1 jenkins jenkins 138 Sep 9 00:56 .gitignore 00:58:02 -rw-r--r--. 1 jenkins jenkins 446 Sep 9 00:57 go.mod 00:58:02 -rw-r--r--. 1 jenkins jenkins 12179 Sep 9 00:57 go.sum 00:58:02 drwxrwxr-x. 13 jenkins jenkins 184 Sep 9 00:56 internal 00:58:02 -rw-rw-r--. 1 jenkins jenkins 808 Sep 9 00:56 Jenkinsfile 00:58:02 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 9 00:56 LICENSE 00:58:02 -rw-rw-r--. 1 jenkins jenkins 892 Sep 9 00:56 Makefile 00:58:02 drwxrwxr-x. 4 jenkins jenkins 26 Sep 9 00:56 openapi 00:58:02 drwxrwxr-x. 5 jenkins jenkins 50 Sep 9 00:56 pkg 00:58:02 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 9 00:56 README.md 00:58:02 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 9 00:56 RELEASE-NOTES.txt 00:58:02 drwxrwxr-x. 3 jenkins jenkins 58 Sep 9 00:56 .semver 00:58:02 drwxrwxr-x. 4 jenkins jenkins 54 Sep 9 00:56 snap 00:58:02 -rw-rw-r--. 1 jenkins jenkins 5 Sep 9 00:52 VERSION 00:58:02 -rw-rw-r--. 1 jenkins jenkins 222 Sep 9 00:56 version.go [Pipeline] isUnix [Pipeline] sh 00:58:02 + 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=623c4a4b904299f2cc4efa6c125a0b3af12a3257 --label arch=amd64 --label version=0.0.0 . 00:58:03 Sending build context to Docker daemon 3.253MB 00:58:03 Step 1/24 : ARG BASE=golang:1.13-alpine 00:58:03 Step 2/24 : FROM ${BASE} AS builder 00:58:03 ---> 5de5118ea767 00:58:03 Step 3/24 : ARG MAKE='make build' 00:58:03 ---> Running in fb3c84695534 00:58:03 Removing intermediate container e67720f72650 00:58:03 ---> a52dc8b917fc 00:58:03 Step 10/24 : FROM scratch 00:58:03 ---> 00:58:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:58:03 ---> Running in 32fbb4816964 00:58:03 Removing intermediate container fb3c84695534 00:58:03 ---> d96368144556 00:58:03 Step 4/24 : WORKDIR /device-sdk-go 00:58:03 ---> Running in e1d34c2b7371 00:58:03 Removing intermediate container 32fbb4816964 00:58:03 ---> 0028de3b80e3 00:58:03 Step 12/24 : ENV APP_PORT=49990 00:58:03 ---> Running in 0db022335da3 00:58:03 Removing intermediate container e1d34c2b7371 00:58:03 ---> 337a12ea94f0 00:58:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:58:03 ---> Running in ab6db7ac747a 00:58:04 Removing intermediate container ab6db7ac747a 00:58:04 ---> 3274f5621f8b 00:58:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:58:04 ---> Running in d89c87d9bc45 00:58:04 Removing intermediate container 0db022335da3 00:58:04 ---> f918dc3b7fda 00:58:04 Step 13/24 : EXPOSE $APP_PORT 00:58:04 ---> Running in 54b88ee2692e 00:58:05 Removing intermediate container 54b88ee2692e 00:58:05 ---> e792ab44e046 00:58:05 Step 14/24 : WORKDIR / 00:58:05 ---> Running in 5569493789cc 00:58:05 Removing intermediate container d89c87d9bc45 00:58:05 ---> 64d37730a307 00:58:05 Step 7/24 : RUN apk add --update --no-cache make git 00:58:05 ---> Running in f0d6f2a960fa 00:58:05 Removing intermediate container 5569493789cc 00:58:05 ---> 24b8a07ddf48 00:58:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:58:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:58:06 ---> 073187c360c1 00:58:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:58:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:58:07 ---> 047ec08aaf0a 00:58:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:58:07 OK: 166 MiB in 39 packages 00:58:07 Removing intermediate container f0d6f2a960fa 00:58:07 ---> d0006c1e507a 00:58:07 Step 8/24 : COPY . . 00:58:08 ---> 6a23d2b8235b 00:58:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:58:08 ---> 4977655b782f 00:58:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:58:08 ---> 3b82ad3ec15f 00:58:08 Step 9/24 : RUN ${MAKE} 00:58:08 ---> Running in ed06f1ef747b 00:58: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 00:58:09 ---> e87346538562 00:58:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:58:09 ---> Running in 48a027dee925 00:58:10 Removing intermediate container 48a027dee925 00:58:10 ---> 248fcee10faf 00:58:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:58:10 ---> Running in 26ef0823ba1e 00:58:10 Removing intermediate container 26ef0823ba1e 00:58:10 ---> 4b500cdf327d 00:58:10 Step 22/24 : LABEL arch=arm64 00:58:10 ---> Running in 90ecc58115b5 00:58:11 Removing intermediate container 90ecc58115b5 00:58:11 ---> d28ed2667094 00:58:11 Step 23/24 : LABEL git_sha=623c4a4b904299f2cc4efa6c125a0b3af12a3257 00:58:11 ---> Running in 9b5db8c50c25 00:58:12 Removing intermediate container 9b5db8c50c25 00:58:12 ---> 62d4409d05e7 00:58:12 Step 24/24 : LABEL version=0.0.0 00:58:12 ---> Running in 3207e8da8b7e 00:58:12 Removing intermediate container 3207e8da8b7e 00:58:12 ---> 9ab59774e28c 00:58:12 [Warning] One or more build-args [ARCH] were not consumed 00:58:12 Successfully built 9ab59774e28c 00:58:12 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] } 00:58:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:58:24 Removing intermediate container ed06f1ef747b 00:58:24 ---> 08f654a35134 00:58:24 Step 10/24 : FROM scratch 00:58:24 ---> 00:58:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:58:24 ---> Running in 27010144df7e 00:58:25 Removing intermediate container 27010144df7e 00:58:25 ---> 21fac10acced 00:58:25 Step 12/24 : ENV APP_PORT=49990 00:58:25 ---> Running in 0200ecdfdbb8 00:58:25 Removing intermediate container 0200ecdfdbb8 00:58:25 ---> 8a6819a85edd 00:58:25 Step 13/24 : EXPOSE $APP_PORT 00:58:25 ---> Running in 1d8bd5a1102c 00:58:25 Removing intermediate container 1d8bd5a1102c 00:58:25 ---> d9e87401d039 00:58:25 Step 14/24 : WORKDIR / 00:58:25 ---> Running in 36878e4c552e 00:58:25 Removing intermediate container 36878e4c552e 00:58:25 ---> 9d8172ac8409 00:58:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:58:26 ---> a90302e1861a 00:58:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:58:26 ---> 925497b14d9b 00:58:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:58:27 ---> a02c82d98c21 00:58:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:58:27 ---> d0def171665a 00:58:27 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:58:27 ---> ac46c9d9ab57 00:58:27 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:58:28 ---> Running in 1afe390d5e85 00:58:28 Removing intermediate container 1afe390d5e85 00:58:28 ---> 5c762878b587 00:58:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:58:28 ---> Running in 54252071a8ea 00:58:28 Removing intermediate container 54252071a8ea 00:58:28 ---> 31f5d44609d5 00:58:28 Step 22/24 : LABEL arch=amd64 00:58:28 ---> Running in 9f1ea671fc26 00:58:28 Removing intermediate container 9f1ea671fc26 00:58:28 ---> be5d38458831 00:58:28 Step 23/24 : LABEL git_sha=623c4a4b904299f2cc4efa6c125a0b3af12a3257 00:58:28 ---> Running in f2cc2316b35f 00:58:28 Removing intermediate container f2cc2316b35f 00:58:28 ---> 29e1777c1d5a 00:58:28 Step 24/24 : LABEL version=0.0.0 00:58:29 ---> Running in b4b317dc7d22 00:58:29 Removing intermediate container b4b317dc7d22 00:58:29 ---> 59d0ffc658d8 00:58:29 [Warning] One or more build-args [ARCH] were not consumed 00:58:29 Successfully built 59d0ffc658d8 00:58:29 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 00:58:31 provisioning config files... 00:58:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/config340647930525165240tmp [Pipeline] { [Pipeline] sh 00:58:31 + curl -s https://codecov.io/bash 00:58:31 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/config340647930525165240tmp [Pipeline] } 00:58:32 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 00:58:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:58:35 ---> package-listing.sh 00:58:35 ++ facter osfamily 00:58:35 ++ tr '[:upper:]' '[:lower:]' 00:58:35 + OS_FAMILY=redhat 00:58:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-579 00:58:35 + START_PACKAGES=/tmp/packages_start.txt 00:58:35 + END_PACKAGES=/tmp/packages_end.txt 00:58:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:58:35 + PACKAGES=/tmp/packages_start.txt 00:58:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-579 ']' 00:58:35 + PACKAGES=/tmp/packages_end.txt 00:58:35 + case "${OS_FAMILY}" in 00:58:35 + rpm -qa 00:58:35 + sort 00:58:40 + '[' -f /tmp/packages_start.txt ']' 00:58:40 + '[' -f /tmp/packages_end.txt ']' 00:58:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:58:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-579 ']' 00:58:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-579/archives/ 00:58:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-579/archives/ [Pipeline] isUnix [Pipeline] sh 00:58:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:58:41 00:58:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:58:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:58:41 alpine: Pulling from edgex-lftools-log-publisher 00:58:41 df20fa9351a1: Pulling fs layer 00:58:41 36b3adc4ff6f: Pulling fs layer 00:58:41 8ad3a11d3b57: Pulling fs layer 00:58:41 46f8f816bc3b: Pulling fs layer 00:58:41 0dadc02b9964: Pulling fs layer 00:58:41 ce6a7cf60c04: Pulling fs layer 00:58:41 7a184a31f384: Pulling fs layer 00:58:41 0879bd2ef858: Pulling fs layer 00:58:41 46f8f816bc3b: Waiting 00:58:41 0dadc02b9964: Waiting 00:58:41 ce6a7cf60c04: Waiting 00:58:41 7a184a31f384: Waiting 00:58:41 0879bd2ef858: Waiting 00:58:41 36b3adc4ff6f: Verifying Checksum 00:58:41 36b3adc4ff6f: Download complete 00:58:41 46f8f816bc3b: Verifying Checksum 00:58:41 46f8f816bc3b: Download complete 00:58:41 df20fa9351a1: Verifying Checksum 00:58:41 df20fa9351a1: Download complete 00:58:41 ce6a7cf60c04: Verifying Checksum 00:58:41 ce6a7cf60c04: Download complete 00:58:41 7a184a31f384: Verifying Checksum 00:58:41 7a184a31f384: Download complete 00:58:42 0dadc02b9964: Verifying Checksum 00:58:42 8ad3a11d3b57: Verifying Checksum 00:58:42 8ad3a11d3b57: Download complete 00:58:42 df20fa9351a1: Pull complete 00:58:42 36b3adc4ff6f: Pull complete 00:58:43 0879bd2ef858: Verifying Checksum 00:58:43 0879bd2ef858: Download complete 00:58:43 8ad3a11d3b57: Pull complete 00:58:44 46f8f816bc3b: Pull complete 00:58:44 0dadc02b9964: Pull complete 00:58:44 ce6a7cf60c04: Pull complete 00:58:45 7a184a31f384: Pull complete 00:58:48 0879bd2ef858: Pull complete 00:58:48 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 00:58:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:58:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:58:48 prd-centos7-docker-4c-2g-1878 does not seem to be running inside a container 00:58:49 $ 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-579 -v /w/workspace/dgexfoundry_device-sdk-go_PR-579:/w/workspace/dgexfoundry_device-sdk-go_PR-579:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:58:56 $ docker top 22a374bc1583e368595bc63f15c1b7f296cad15990a619aa113ed7303a67a263 -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:56 + mkdir -p /var/log/sa [Pipeline] sh 00:58:57 + ls /var/log/sa-host 00:58:57 + sadf -c /var/log/sa-host/sa05 00:58:57 file_magic: OK 00:58:57 HZ: Using current value: 100 00:58:57 file_header: OK 00:58:57 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 00:58:57 Statistics: 00:58:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:58:57 File successfully converted to sysstat format version 12.2.1 00:58:57 + sadf -c /var/log/sa-host/sa09 00:58:57 file_magic: OK 00:58:57 HZ: Using current value: 100 00:58:57 file_header: OK 00:58:57 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 00:58:57 Statistics: 00:58:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:58:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:58:57 provisioning config files... 00:58:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/config3570237542178758286tmp [Pipeline] { [Pipeline] echo 00:58:57 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:58:57 ---> create-netrc.sh [Pipeline] echo 00:58:57 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:58:57 ---> logs-deploy.sh 00:58:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-579/2 00:58:57 INFO: archiving workspace using pattern(s): 00:59:00 Archives upload complete. 00:59:00 INFO: archiving logs to Nexus