Pull request #586 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 628559142d23fa9d6fe61ea3329529ff5e9788fb+34586eebf1e8dc7164860841d693f6652cfed50d (c6870915817a4da5cbdea9b94efe127935302484) 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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: 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-43279 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [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-586 # timeout=10 Fetching without tags 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/586/head:refs/remotes/origin/PR-586 +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/586/head:refs/remotes/origin/PR-586 # 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/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb Merge succeeded, producing 628559142d23fa9d6fe61ea3329529ff5e9788fb Checking out Revision 628559142d23fa9d6fe61ea3329529ff5e9788fb (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # 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 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:27:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:27:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:27:01 ========================================================= 10:27:01 EdgeX Global Pipelines Version Info 10:27:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 073cb9ec955bc2cedae16ce2963319f64d87104a # timeout=10 10:27:02 ------------------- 10:27:02 stable info: 10:27:02 ------------------- 10:27:02 Commited By: Emilio Reyes emilio.reyes@intel.com 10:27:02 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 10:27:02 Message: update stable to v1.0.119 10:27:03 ------------------- 10:27:03 experimental info: 10:27:03 ------------------- 10:27:03 Commited By: **** collab-it+edgex@linuxfoundation.org 10:27:03 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 10:27:03 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 10:27:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:27:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:27:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:27:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:27:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:27:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:27:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:27:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 628559142d23fa9d6fe61ea3329529ff5e9788fb [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6285591 [Pipeline] echo 10:27:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:08 + git log --format=format:%s -1 628559142d23fa9d6fe61ea3329529ff5e9788fb [Pipeline] echo 10:27:08 GIT_COMMIT: 628559142d23fa9d6fe61ea3329529ff5e9788fb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo 10:27:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:27:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:27:09 10:27:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:27:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:27:10 latest: Pulling from edgex-devops/git-semver 10:27:10 31603596830f: Pulling fs layer 10:27:10 2a8b12db71e7: Pulling fs layer 10:27:10 6ca5941a6612: Pulling fs layer 10:27:10 ecc8261a40a4: Pulling fs layer 10:27:10 ecc8261a40a4: Waiting 10:27:10 2a8b12db71e7: Verifying Checksum 10:27:10 2a8b12db71e7: Download complete 10:27:10 31603596830f: Verifying Checksum 10:27:10 31603596830f: Download complete 10:27:10 ecc8261a40a4: Verifying Checksum 10:27:10 ecc8261a40a4: Download complete 10:27:10 6ca5941a6612: Verifying Checksum 10:27:10 6ca5941a6612: Download complete 10:27:10 31603596830f: Pull complete 10:27:10 2a8b12db71e7: Pull complete 10:27:11 6ca5941a6612: Pull complete 10:27:11 ecc8261a40a4: Pull complete 10:27:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:27:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:27:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:27:11 prd-centos7-docker-4c-2g-43279 does not seem to be running inside a container 10:27:11 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:27:14 $ docker top 4c2e04eca00a08a68c8c2f49ce89f11c144d979fdd2e0edfb995754ccdbc8c00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:14 [ssh-agent] Looking for ssh-agent implementation... 10:27:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:14 $ docker exec 4c2e04eca00a08a68c8c2f49ce89f11c144d979fdd2e0edfb995754ccdbc8c00 ssh-agent 10:27:14 SSH_AUTH_SOCK=/tmp/ssh-vxEAh0wHoJsK/agent.11 10:27:14 SSH_AGENT_PID=16 10:27:14 Running ssh-add (command line suppressed) 10:27:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_8098518186205734806.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_8098518186205734806.key) 10:27:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:15 + git describe --exact-match --tags HEAD 10:27:15 fatal: No names found, cannot describe anything. [Pipeline] } 10:27:15 $ docker exec --env ******** --env ******** 4c2e04eca00a08a68c8c2f49ce89f11c144d979fdd2e0edfb995754ccdbc8c00 ssh-agent -k 10:27:15 unset SSH_AUTH_SOCK; 10:27:15 unset SSH_AGENT_PID; 10:27:15 echo Agent pid 16 killed; 10:27:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:27:15 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:27:15 This usually means this commit has not been tagged. [Pipeline] sshagent 10:27:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:15 [ssh-agent] Looking for ssh-agent implementation... 10:27:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:15 $ docker exec 4c2e04eca00a08a68c8c2f49ce89f11c144d979fdd2e0edfb995754ccdbc8c00 ssh-agent 10:27:15 SSH_AUTH_SOCK=/tmp/ssh-wun4Kc0jhdWu/agent.46 10:27:15 SSH_AGENT_PID=51 10:27:15 Running ssh-add (command line suppressed) 10:27:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2956790928700514332.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2956790928700514332.key) 10:27:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:16 + git semver init 10:27:16 # -> Open(): unable to determine branch for HEAD 10:27:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.git 10:27:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 10:27:16 # $SEMVER_REMOTE_NAME = origin 10:27:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:27:16 # $SEMVER_USER_NAME = edgex-jenkins 10:27:16 # $SEMVER_BRANCH = PR-586 10:27:16 # $SEMVER_TEMP = /tmp/semver-447033537 10:27:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:27:17 # '/tmp/semver-447033537' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' 10:27:17 # -> Force: false 10:27:17 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } 10:27:17 $ docker exec --env ******** --env ******** 4c2e04eca00a08a68c8c2f49ce89f11c144d979fdd2e0edfb995754ccdbc8c00 ssh-agent -k 10:27:17 unset SSH_AUTH_SOCK; 10:27:17 unset SSH_AGENT_PID; 10:27:17 echo Agent pid 51 killed; 10:27:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:17 + git semver [Pipeline] } 10:27:17 $ docker stop --time=1 4c2e04eca00a08a68c8c2f49ce89f11c144d979fdd2e0edfb995754ccdbc8c00 10:27:19 $ docker rm -f 4c2e04eca00a08a68c8c2f49ce89f11c144d979fdd2e0edfb995754ccdbc8c00 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:27:19 Stashed 34 file(s) [Pipeline] echo 10:27:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 10:27:20 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 10:27:35 Still waiting to schedule task 10:27:35 ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-43283’ is offline 10:27:35 Still waiting to schedule task 10:27:35 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-43265’ 10:28:22 Running on prd-centos7-docker-4c-2g-43285 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 10:28:23 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 10:28:25 using credential edgex-jenkins-ssh 10:28:25 Cloning the remote Git repository 10:28:25 Cloning with configured refspecs honoured and without tags 10:28:26 Fetching without tags 10:28:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:28:25 > git init /w/workspace/device-sdk-go/5 # timeout=10 10:28:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:28:25 > git --version # timeout=10 10:28:25 > git --version # 'git version 2.16.5' 10:28:25 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:28:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:28:26 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 10:28:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:28:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:28:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:28:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:28:26 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 10:28:26 Merge succeeded, producing 628559142d23fa9d6fe61ea3329529ff5e9788fb 10:28:26 Checking out Revision 628559142d23fa9d6fe61ea3329529ff5e9788fb (PR-586) 10:28:26 > git config core.sparsecheckout # timeout=10 10:28:26 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 10:28:26 > git remote # timeout=10 10:28:26 > git config --get remote.origin.url # timeout=10 10:28:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:26 > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 10:28:26 > git rev-parse HEAD^{commit} # timeout=10 10:28:26 > git config core.sparsecheckout # timeout=10 10:28:26 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 10:28:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:28:31 ========================================================= 10:28:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:28:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:28:31 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 10:28:32 Sending build context to Docker daemon 3.15MB 10:28:32 Step 1/8 : ARG BASE=golang:1.15-alpine 10:28:32 Step 2/8 : FROM ${BASE} 10:28:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:28:32 df20fa9351a1: Pulling fs layer 10:28:32 ed8968b2872e: Pulling fs layer 10:28:32 a92cc7c5fd73: Pulling fs layer 10:28:32 e871e8e8d7a9: Pulling fs layer 10:28:32 e73272ec9a57: Pulling fs layer 10:28:32 1e910a182e73: Pulling fs layer 10:28:32 4e634b169226: Pulling fs layer 10:28:32 e871e8e8d7a9: Waiting 10:28:32 e73272ec9a57: Waiting 10:28:32 1e910a182e73: Waiting 10:28:32 4e634b169226: Waiting 10:28:32 a92cc7c5fd73: Verifying Checksum 10:28:32 a92cc7c5fd73: Download complete 10:28:33 ed8968b2872e: Verifying Checksum 10:28:33 ed8968b2872e: Download complete 10:28:33 e73272ec9a57: Verifying Checksum 10:28:33 e73272ec9a57: Download complete 10:28:33 1e910a182e73: Verifying Checksum 10:28:33 1e910a182e73: Download complete 10:28:33 df20fa9351a1: Verifying Checksum 10:28:33 df20fa9351a1: Download complete 10:28:33 df20fa9351a1: Pull complete 10:28:33 ed8968b2872e: Pull complete 10:28:33 a92cc7c5fd73: Pull complete 10:28:35 4e634b169226: Verifying Checksum 10:28:35 4e634b169226: Download complete 10:28:36 e871e8e8d7a9: Verifying Checksum 10:28:36 e871e8e8d7a9: Download complete 10:28:40 e871e8e8d7a9: Pull complete 10:28:40 e73272ec9a57: Pull complete 10:28:40 1e910a182e73: Pull complete 10:28:45 4e634b169226: Pull complete 10:28:45 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 10:28:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:28:45 ---> f7629b54cfaa 10:28:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:28:45 ---> Running in 9dd640d3501e 10:28:45 Removing intermediate container 9dd640d3501e 10:28:45 ---> 4faecc6bf184 10:28:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:28:45 ---> Running in abac0443e4bc 10:28:46 Removing intermediate container abac0443e4bc 10:28:46 ---> 5e316ea336e9 10:28:46 Step 5/8 : RUN apk add --no-cache make git 10:28:46 ---> Running in c1af28555a0e 10:28:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:28:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:28:48 OK: 166 MiB in 39 packages 10:28:48 Removing intermediate container c1af28555a0e 10:28:48 ---> b14d6d28ae8f 10:28:48 Step 6/8 : WORKDIR /device-sdk-go 10:28:48 ---> Running in 21faa44661a1 10:28:48 Removing intermediate container 21faa44661a1 10:28:48 ---> 3f23691f327b 10:28:48 Step 7/8 : COPY . . 10:28:49 ---> 7d6d3df8e32c 10:28:49 Step 8/8 : RUN go mod download 10:28:49 ---> Running in c7564dbcaea5 10:29:02 Removing intermediate container c7564dbcaea5 10:29:02 ---> d86cc7b50fbb 10:29:02 Successfully built d86cc7b50fbb 10:29:02 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 10:29:02 + docker inspect -f . ci-base-image-x86_64 10:29:02 . [Pipeline] withDockerContainer 10:29:02 prd-centos7-docker-4c-2g-43285 does not seem to be running inside a container 10:29:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat 10:29:04 $ docker top bfc8e5c96d44170b3c774adcfb71024617715a8e1bdd1c850647e0fab8e449ec -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:04 + go version 10:29:04 go version go1.15.2 linux/amd64 [Pipeline] sh 10:29:05 + make test 10:29:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:29:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:29:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:29:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:29:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:29:24 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 21.0% of statements 10:29:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.406s coverage: 95.7% of statements 10:29:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.034s coverage: 8.6% of statements 10:29:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 21.7% of statements 10:29:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:29:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.162s coverage: 37.0% of statements 10:29:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:29:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.257s coverage: 65.4% of statements 10:29:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:29:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:29:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:29:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 10:29:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.164s coverage: 68.9% of statements 10:29:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:29:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:29:56 GO111MODULE=on go vet ./... 10:30:02 gofmt -l . 10:30:02 [ "`gofmt -l .`" = "" ] 10:30:02 ./bin/test-attribution-txt.sh 10:30:02 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:30:03 Stashed 1 file(s) [Pipeline] } 10:30:03 $ docker stop --time=1 bfc8e5c96d44170b3c774adcfb71024617715a8e1bdd1c850647e0fab8e449ec 10:30:04 $ docker rm -f bfc8e5c96d44170b3c774adcfb71024617715a8e1bdd1c850647e0fab8e449ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:30:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:30:06 + ls -al . 10:30:06 total 188 10:30:06 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 10:30 . 10:30:06 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 10:28 .. 10:30:06 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 10:28 bin 10:30:06 -rw-r--r--. 1 jenkins jenkins 111785 Sep 15 10:29 coverage.out 10:30:06 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 10:28 Dockerfile.build 10:30:06 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 10:28 .dockerignore 10:30:06 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 10:28 example 10:30:06 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 10:28 .git 10:30:06 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 10:28 .github 10:30:06 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 10:28 .gitignore 10:30:06 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 10:30 go.mod 10:30:06 -rw-r--r--. 1 jenkins jenkins 12179 Sep 15 10:30 go.sum 10:30:06 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 10:28 internal 10:30:06 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 10:28 Jenkinsfile 10:30:06 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 10:28 LICENSE 10:30:06 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 15 10:28 Makefile 10:30:06 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 10:28 openapi 10:30:06 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 10:28 pkg 10:30:06 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 10:28 README.md 10:30:06 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 10:28 RELEASE-NOTES.txt 10:30:06 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 10:28 .semver 10:30:06 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 10:28 snap 10:30:06 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 10:27 VERSION 10:30:06 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 10:28 version.go [Pipeline] isUnix [Pipeline] sh 10:30:07 + 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=628559142d23fa9d6fe61ea3329529ff5e9788fb --label arch=amd64 --label version=0.0.0 . 10:30:07 Sending build context to Docker daemon 3.264MB 10:30:07 Step 1/24 : ARG BASE=golang:1.15-alpine 10:30:07 Step 2/24 : FROM ${BASE} AS builder 10:30:07 ---> d86cc7b50fbb 10:30:07 Step 3/24 : ARG MAKE='make build' 10:30:07 ---> Running in 6fb732fa9dca 10:30:07 Removing intermediate container 6fb732fa9dca 10:30:07 ---> 8f267acef202 10:30:07 Step 4/24 : WORKDIR /device-sdk-go 10:30:07 ---> Running in 1ce0b840dd3a 10:30:07 Removing intermediate container 1ce0b840dd3a 10:30:07 ---> a03733c416d0 10:30:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:30:08 ---> Running in f9881a9032fa 10:30:08 Removing intermediate container f9881a9032fa 10:30:08 ---> 9ee4f4abaadb 10:30:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:30:08 ---> Running in 0aa200f4f51b 10:30:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43286 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 10:30:08 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 10:30:09 Removing intermediate container 0aa200f4f51b 10:30:09 ---> 7bf53809add4 10:30:09 Step 7/24 : RUN apk add --update --no-cache make git 10:30:09 ---> Running in 81eef2c5cf20 10:30:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:30:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:30:12 OK: 166 MiB in 39 packages 10:30:13 Removing intermediate container 81eef2c5cf20 10:30:13 ---> a2305c433a75 10:30:13 Step 8/24 : COPY . . 10:30:13 using credential edgex-jenkins-ssh 10:30:13 Cloning the remote Git repository 10:30:13 Cloning with configured refspecs honoured and without tags 10:30:14 ---> 9c5eedd10053 10:30:14 Step 9/24 : RUN ${MAKE} 10:30:14 ---> Running in ab75acd77ef6 10:30:14 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 10:30:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:30:13 > git init /w/workspace/device-sdk-go/5 # timeout=10 10:30:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:30:14 > git --version # timeout=10 10:30:14 > git --version # 'git version 2.17.1' 10:30:14 using GIT_SSH to set credentials SSH Credentials for GitHub 10:30:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:30:16 Fetching without tags 10:30:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:30:15 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 10:30:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:30:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:30:16 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 10:30:16 Merge succeeded, producing 628559142d23fa9d6fe61ea3329529ff5e9788fb 10:30:16 Checking out Revision 628559142d23fa9d6fe61ea3329529ff5e9788fb (PR-586) 10:30:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:30:16 using GIT_SSH to set credentials SSH Credentials for GitHub 10:30:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:30:16 > git config core.sparsecheckout # timeout=10 10:30:16 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 10:30:16 > git remote # timeout=10 10:30:16 > git config --get remote.origin.url # timeout=10 10:30:16 using GIT_SSH to set credentials SSH Credentials for GitHub 10:30:16 > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 10:30:16 > git rev-parse HEAD^{commit} # timeout=10 10:30:16 > git config core.sparsecheckout # timeout=10 10:30:16 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 10:30:21 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" 10:30:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:30:22 ========================================================= 10:30:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:30:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:30:23 Removing intermediate container ab75acd77ef6 10:30:23 ---> 385c68253d48 10:30:23 Step 10/24 : FROM scratch 10:30:23 ---> 10:30:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:30:23 ---> Running in a1fb08eb5346 10:30:23 Removing intermediate container a1fb08eb5346 10:30:23 ---> bd15a5220dae 10:30:23 Step 12/24 : ENV APP_PORT=49990 10:30:23 ---> Running in 10bff286be49 10:30:23 Removing intermediate container 10bff286be49 10:30:23 ---> fb7c31479979 10:30:23 Step 13/24 : EXPOSE $APP_PORT 10:30:23 ---> Running in f5e059af522b 10:30:23 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 10:30:23 Removing intermediate container f5e059af522b 10:30:23 ---> ba19a5533e5d 10:30:23 Step 14/24 : WORKDIR / 10:30:23 ---> Running in 48575b9067be 10:30:24 Removing intermediate container 48575b9067be 10:30:24 ---> 5a4bb072c6e9 10:30:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:30:24 Sending build context to Docker daemon 3.15MB 10:30:24 Step 1/8 : ARG BASE=golang:1.15-alpine 10:30:24 Step 2/8 : FROM ${BASE} 10:30:24 ---> 4c8caa7a93f4 10:30:24 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:30:24 ---> 69c0b4f34c44 10:30:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:30:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:30:24 b538f80385f9: Pulling fs layer 10:30:24 74f711af9a0d: Pulling fs layer 10:30:24 99f96fe45779: Pulling fs layer 10:30:24 8529a6b9a6be: Pulling fs layer 10:30:24 45590311c82a: Pulling fs layer 10:30:24 69ca0ff8b7b3: Pulling fs layer 10:30:24 209524e5b208: Pulling fs layer 10:30:24 8529a6b9a6be: Waiting 10:30:24 45590311c82a: Waiting 10:30:24 69ca0ff8b7b3: Waiting 10:30:24 209524e5b208: Waiting 10:30:24 99f96fe45779: Verifying Checksum 10:30:24 99f96fe45779: Download complete 10:30:24 74f711af9a0d: Verifying Checksum 10:30:24 74f711af9a0d: Download complete 10:30:24 45590311c82a: Verifying Checksum 10:30:24 45590311c82a: Download complete 10:30:24 69ca0ff8b7b3: Verifying Checksum 10:30:24 69ca0ff8b7b3: Download complete 10:30:24 ---> da6854831eb9 10:30:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:30:25 b538f80385f9: Verifying Checksum 10:30:25 b538f80385f9: Download complete 10:30:25 ---> 9c5f2a0991fd 10:30:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:30:25 ---> 75404123227e 10:30:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:30:25 ---> Running in b86b1cce6b25 10:30:25 Removing intermediate container b86b1cce6b25 10:30:25 ---> 46ed3e64a736 10:30:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:30:25 ---> Running in bcba01019965 10:30:25 Removing intermediate container bcba01019965 10:30:25 ---> ad1c573c97af 10:30:25 Step 22/24 : LABEL arch=amd64 10:30:25 b538f80385f9: Pull complete 10:30:25 ---> Running in accf38830cc4 10:30:25 Removing intermediate container accf38830cc4 10:30:25 ---> dae0a9706eea 10:30:25 Step 23/24 : LABEL git_sha=628559142d23fa9d6fe61ea3329529ff5e9788fb 10:30:25 ---> Running in 4ac089511f44 10:30:26 Removing intermediate container 4ac089511f44 10:30:26 ---> c00aac7d3ff0 10:30:26 Step 24/24 : LABEL version=0.0.0 10:30:26 ---> Running in 0162da27576a 10:30:26 Removing intermediate container 0162da27576a 10:30:26 ---> 50c06e4cd16b 10:30:26 [Warning] One or more build-args [ARCH] were not consumed 10:30:26 Successfully built 50c06e4cd16b 10:30:26 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 10:30:26 74f711af9a0d: Pull complete [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] } 10:30:26 99f96fe45779: Pull complete [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:30:29 209524e5b208: Verifying Checksum 10:30:29 209524e5b208: Download complete 10:30:32 8529a6b9a6be: Verifying Checksum 10:30:32 8529a6b9a6be: Download complete 10:30:44 8529a6b9a6be: Pull complete 10:30:44 45590311c82a: Pull complete 10:30:44 69ca0ff8b7b3: Pull complete 10:30:49 209524e5b208: Pull complete 10:30:49 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 10:30:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:30:49 ---> 5bddaf1c2fca 10:30:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:30:53 ---> Running in 4bba7f6aae87 10:30:53 Removing intermediate container 4bba7f6aae87 10:30:53 ---> 4a5256b81355 10:30:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:30:53 ---> Running in b8e48e446f42 10:30:56 Removing intermediate container b8e48e446f42 10:30:56 ---> 3ed7931e4d54 10:30:56 Step 5/8 : RUN apk add --no-cache make git 10:30:56 ---> Running in 7ba71795bd79 10:30:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:30:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:31:01 OK: 142 MiB in 39 packages 10:31:02 Removing intermediate container 7ba71795bd79 10:31:02 ---> 129f6f33aec1 10:31:02 Step 6/8 : WORKDIR /device-sdk-go 10:31:02 ---> Running in 08914544aa3d 10:31:03 Removing intermediate container 08914544aa3d 10:31:03 ---> 9eeec75fe995 10:31:03 Step 7/8 : COPY . . 10:31:04 ---> 6179a4df8c90 10:31:04 Step 8/8 : RUN go mod download 10:31:04 ---> Running in 4667927aa60b 10:31:19 Removing intermediate container 4667927aa60b 10:31:19 ---> 2d5946b06e65 10:31:19 Successfully built 2d5946b06e65 10:31:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:31:20 + docker inspect -f . ci-base-image-arm64 10:31:20 . [Pipeline] withDockerContainer 10:31:20 prd-ubuntu18.04-docker-arm64-4c-16g-43286 does not seem to be running inside a container 10:31:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat 10:31:22 $ docker top dfe4a25619560e6b18437e0107341a2d4f93326e0cdd5d75dc997e84f30dc671 -eo pid,comm [Pipeline] { [Pipeline] sh 10:31:24 + go version 10:31:24 go version go1.15.2 linux/arm64 [Pipeline] sh 10:31:25 + make test 10:31:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:31:47 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:32:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:32:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:32:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:32:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 21.0% of statements 10:32:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.297s coverage: 95.7% of statements 10:33:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.068s coverage: 8.6% of statements 10:33:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.7% of statements 10:33:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:33:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.516s coverage: 37.0% of statements 10:33:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:33:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.743s coverage: 65.4% of statements 10:33:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:33:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:33:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:33:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.138s coverage: 52.6% of statements 10:33:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.984s coverage: 68.9% of statements 10:33:00 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:33:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:33:00 GO111MODULE=on go vet ./... 10:33:27 gofmt -l . 10:33:27 [ "`gofmt -l .`" = "" ] 10:33:27 ./bin/test-attribution-txt.sh 10:33:27 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:33:27 Warning: overwriting stash ‘coverage-report’ 10:33:27 Stashed 1 file(s) [Pipeline] } 10:33:27 $ docker stop --time=1 dfe4a25619560e6b18437e0107341a2d4f93326e0cdd5d75dc997e84f30dc671 10:33:30 $ docker rm -f dfe4a25619560e6b18437e0107341a2d4f93326e0cdd5d75dc997e84f30dc671 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:33:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:33:31 + ls -al . 10:33:31 total 228 10:33:31 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 10:33 . 10:33:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:30 .. 10:33:31 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 10:30 .dockerignore 10:33:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 10:30 .git 10:33:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 10:30 .github 10:33:31 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 10:30 .gitignore 10:33:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 10:30 .semver 10:33:31 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 10:30 Dockerfile.build 10:33:31 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 10:30 Jenkinsfile 10:33:31 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 10:30 LICENSE 10:33:31 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 15 10:30 Makefile 10:33:31 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 10:30 README.md 10:33:31 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 10:30 RELEASE-NOTES.txt 10:33:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 10:27 VERSION 10:33:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 10:30 bin 10:33:31 -rw-r--r-- 1 jenkins jenkins 111785 Sep 15 10:32 coverage.out 10:33:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:30 example 10:33:31 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 10:33 go.mod 10:33:31 -rw-r--r-- 1 jenkins jenkins 12179 Sep 15 10:33 go.sum 10:33:31 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 10:30 internal 10:33:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:30 openapi 10:33:31 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 10:30 pkg 10:33:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:30 snap 10:33:31 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 10:30 version.go [Pipeline] isUnix [Pipeline] sh 10:33:32 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=628559142d23fa9d6fe61ea3329529ff5e9788fb --label arch=arm64 --label version=0.0.0 . 10:33:32 Sending build context to Docker daemon 3.264MB 10:33:32 Step 1/24 : ARG BASE=golang:1.15-alpine 10:33:32 Step 2/24 : FROM ${BASE} AS builder 10:33:32 ---> 2d5946b06e65 10:33:32 Step 3/24 : ARG MAKE='make build' 10:33:33 ---> Running in 4230f0e0d0cc 10:33:33 Removing intermediate container 4230f0e0d0cc 10:33:33 ---> c960e2aedb9e 10:33:33 Step 4/24 : WORKDIR /device-sdk-go 10:33:33 ---> Running in 50ffe35034fc 10:33:34 Removing intermediate container 50ffe35034fc 10:33:34 ---> 12297c0ed534 10:33:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:33:34 ---> Running in e58e7f45c86c 10:33:34 Removing intermediate container e58e7f45c86c 10:33:34 ---> 5ae7bf6f4e79 10:33:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:33:34 ---> Running in 5f4532e08161 10:33:37 Removing intermediate container 5f4532e08161 10:33:37 ---> 23f573db8653 10:33:37 Step 7/24 : RUN apk add --update --no-cache make git 10:33:37 ---> Running in 757bd51c34b1 10:33:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:33:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:33:41 OK: 142 MiB in 39 packages 10:33:43 Removing intermediate container 757bd51c34b1 10:33:43 ---> 559fe83b571f 10:33:43 Step 8/24 : COPY . . 10:33:44 ---> 77c335dd40ae 10:33:44 Step 9/24 : RUN ${MAKE} 10:33:44 ---> Running in 81cc5cd565e8 10:33:45 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 10:34:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:34:13 Removing intermediate container 81cc5cd565e8 10:34:13 ---> da2de56de6fd 10:34:13 Step 10/24 : FROM scratch 10:34:13 ---> 10:34:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:34:14 ---> Running in 4dbe270776ab 10:34:14 Removing intermediate container 4dbe270776ab 10:34:14 ---> 589fdb9b7506 10:34:14 Step 12/24 : ENV APP_PORT=49990 10:34:14 ---> Running in c9f5353d1951 10:34:15 Removing intermediate container c9f5353d1951 10:34:15 ---> 89ee4e9dd65d 10:34:15 Step 13/24 : EXPOSE $APP_PORT 10:34:15 ---> Running in ed9751de0acb 10:34:15 Removing intermediate container ed9751de0acb 10:34:15 ---> e7dce5a41f64 10:34:15 Step 14/24 : WORKDIR / 10:34:15 ---> Running in 87c97f91ed17 10:34:16 Removing intermediate container 87c97f91ed17 10:34:16 ---> bc9de76e4ad3 10:34:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:34:17 ---> 5943a6aa38b9 10:34:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:34:18 ---> 1c57168a2936 10:34:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:34:18 ---> e5d2ee3e9a9c 10:34:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:34:19 ---> 69fb53105d5f 10:34:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:34:20 ---> 1e726b6d51c6 10:34:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:34:20 ---> Running in c142b87ec890 10:34:21 Removing intermediate container c142b87ec890 10:34:21 ---> c0236f2d8f1c 10:34:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:34:21 ---> Running in 498e9bf12382 10:34:21 Removing intermediate container 498e9bf12382 10:34:21 ---> 47e6450f1337 10:34:21 Step 22/24 : LABEL arch=arm64 10:34:21 ---> Running in e0a5e1343af1 10:34:22 Removing intermediate container e0a5e1343af1 10:34:22 ---> a4d6f206cbd9 10:34:22 Step 23/24 : LABEL git_sha=628559142d23fa9d6fe61ea3329529ff5e9788fb 10:34:22 ---> Running in 45682c8927ed 10:34:22 Removing intermediate container 45682c8927ed 10:34:22 ---> cdca466d70dc 10:34:22 Step 24/24 : LABEL version=0.0.0 10:34:22 ---> Running in d349f4c62ae0 10:34:23 Removing intermediate container d349f4c62ae0 10:34:23 ---> d6de84db3c77 10:34:23 [Warning] One or more build-args [ARCH] were not consumed 10:34:23 Successfully built d6de84db3c77 10:34:23 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 10:34:32 provisioning config files... 10:34:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config4854813114958619099tmp [Pipeline] { [Pipeline] sh 10:34:33 + curl -s https://codecov.io/bash 10:34:33 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config4854813114958619099tmp [Pipeline] } 10:34:33 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 10:34:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:34:36 ---> package-listing.sh 10:34:36 ++ facter osfamily 10:34:36 ++ tr '[:upper:]' '[:lower:]' 10:34:36 + OS_FAMILY=redhat 10:34:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 10:34:36 + START_PACKAGES=/tmp/packages_start.txt 10:34:36 + END_PACKAGES=/tmp/packages_end.txt 10:34:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:34:36 + PACKAGES=/tmp/packages_start.txt 10:34:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 10:34:36 + PACKAGES=/tmp/packages_end.txt 10:34:36 + case "${OS_FAMILY}" in 10:34:36 + rpm -qa 10:34:36 + sort 10:34:40 + '[' -f /tmp/packages_start.txt ']' 10:34:40 + '[' -f /tmp/packages_end.txt ']' 10:34:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:34:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 10:34:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ 10:34:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [Pipeline] isUnix [Pipeline] sh 10:34:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:34:41 10:34:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:34:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:34:41 alpine: Pulling from edgex-lftools-log-publisher 10:34:41 df20fa9351a1: Pulling fs layer 10:34:41 36b3adc4ff6f: Pulling fs layer 10:34:41 8ad3a11d3b57: Pulling fs layer 10:34:41 46f8f816bc3b: Pulling fs layer 10:34:41 0dadc02b9964: Pulling fs layer 10:34:41 ce6a7cf60c04: Pulling fs layer 10:34:41 7a184a31f384: Pulling fs layer 10:34:41 0879bd2ef858: Pulling fs layer 10:34:41 46f8f816bc3b: Waiting 10:34:41 7a184a31f384: Waiting 10:34:41 ce6a7cf60c04: Waiting 10:34:41 0879bd2ef858: Waiting 10:34:41 0dadc02b9964: Waiting 10:34:41 36b3adc4ff6f: Download complete 10:34:41 46f8f816bc3b: Verifying Checksum 10:34:41 46f8f816bc3b: Download complete 10:34:42 0dadc02b9964: Verifying Checksum 10:34:42 0dadc02b9964: Download complete 10:34:42 ce6a7cf60c04: Verifying Checksum 10:34:42 ce6a7cf60c04: Download complete 10:34:42 7a184a31f384: Verifying Checksum 10:34:42 7a184a31f384: Download complete 10:34:42 8ad3a11d3b57: Verifying Checksum 10:34:42 8ad3a11d3b57: Download complete 10:34:42 df20fa9351a1: Verifying Checksum 10:34:42 df20fa9351a1: Download complete 10:34:42 df20fa9351a1: Pull complete 10:34:42 0879bd2ef858: Verifying Checksum 10:34:42 0879bd2ef858: Download complete 10:34:42 36b3adc4ff6f: Pull complete 10:34:43 8ad3a11d3b57: Pull complete 10:34:43 46f8f816bc3b: Pull complete 10:34:43 0dadc02b9964: Pull complete 10:34:43 ce6a7cf60c04: Pull complete 10:34:43 7a184a31f384: Pull complete 10:34:46 0879bd2ef858: Pull complete 10:34:46 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 10:34:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:34:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:34:46 prd-centos7-docker-4c-2g-43279 does not seem to be running inside a container 10:34:46 $ 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-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:34:52 $ docker top 924ce9584fd00f019ff7d29b1358b08765d505cae5d5290c8f7ab96e3d372ca8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:34:52 + mkdir -p /var/log/sa [Pipeline] sh 10:34:52 + ls /var/log/sa-host 10:34:52 + sadf -c /var/log/sa-host/sa05 10:34:52 file_magic: OK 10:34:52 HZ: Using current value: 100 10:34:52 file_header: OK 10:34:52 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 10:34:52 Statistics: 10:34:52 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:34:52 File successfully converted to sysstat format version 12.2.1 10:34:52 + sadf -c /var/log/sa-host/sa15 10:34:52 file_magic: OK 10:34:52 HZ: Using current value: 100 10:34:52 file_header: OK 10:34:52 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 10:34:52 Statistics: 10:34:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:34:52 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:34:52 provisioning config files... 10:34:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config1323938142447959042tmp [Pipeline] { [Pipeline] echo 10:34:53 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:34:53 ---> create-netrc.sh [Pipeline] echo 10:34:53 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:34:53 ---> logs-deploy.sh 10:34:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/5 10:34:53 INFO: archiving workspace using pattern(s): 10:34:55 Archives upload complete. 10:34:55 INFO: archiving logs to Nexus