Pull request #571 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7159bd3345dd95b4862f4e1e74c8326a649ca527+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (75e758e729add958bc9365cbea26284203b22dd7) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-785 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 7159bd3345dd95b4862f4e1e74c8326a649ca527 Merge succeeded, producing 7159bd3345dd95b4862f4e1e74c8326a649ca527 Checking out Revision 7159bd3345dd95b4862f4e1e74c8326a649ca527 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:39:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:39:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git rev-list --no-walk bb628e6b62a6c7267a6e37c8e32c90014d17b516 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:39:49 ========================================================= 05:39:49 EdgeX Global Pipelines Version Info 05:39:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:39:51 ------------------- 05:39:51 stable info: 05:39:51 ------------------- 05:39:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:39:51 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 05:39:51 Message: update stable to v1.0.122 05:39:52 ------------------- 05:39:52 experimental info: 05:39:52 ------------------- 05:39:52 Commited By: **** collab-it+edgex@linuxfoundation.org 05:39:52 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 05:39:52 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:39:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:39:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:39:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:39:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:39:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo 05:39:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo 05:39:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo 05:39:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7159bd3345dd95b4862f4e1e74c8326a649ca527 [Pipeline] echo 05:39:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7159bd3 [Pipeline] echo 05:39:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:56 + git log --format=format:%s -1 7159bd3345dd95b4862f4e1e74c8326a649ca527 [Pipeline] echo 05:39:56 GIT_COMMIT: 7159bd3345dd95b4862f4e1e74c8326a649ca527, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo 05:39:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:39:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:57 05:39:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:39:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:57 latest: Pulling from edgex-devops/git-semver 05:39:57 31603596830f: Pulling fs layer 05:39:57 2a8b12db71e7: Pulling fs layer 05:39:57 6ca5941a6612: Pulling fs layer 05:39:57 ecc8261a40a4: Pulling fs layer 05:39:57 ecc8261a40a4: Waiting 05:39:57 2a8b12db71e7: Verifying Checksum 05:39:57 2a8b12db71e7: Download complete 05:39:57 31603596830f: Download complete 05:39:57 ecc8261a40a4: Verifying Checksum 05:39:57 ecc8261a40a4: Download complete 05:39:57 6ca5941a6612: Verifying Checksum 05:39:57 6ca5941a6612: Download complete 05:39:58 31603596830f: Pull complete 05:39:58 2a8b12db71e7: Pull complete 05:39:59 6ca5941a6612: Pull complete 05:39:59 ecc8261a40a4: Pull complete 05:39:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:39:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:39:59 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 05:39:59 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:40:02 $ docker top 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:02 [ssh-agent] Looking for ssh-agent implementation... 05:40:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:02 $ docker exec 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 ssh-agent 05:40:02 SSH_AUTH_SOCK=/tmp/ssh-sqNbtA6Mg73X/agent.11 05:40:02 SSH_AGENT_PID=16 05:40:02 Running ssh-add (command line suppressed) 05:40:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_6279309664706056179.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_6279309664706056179.key) 05:40:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:03 + git describe --exact-match --tags HEAD 05:40:03 fatal: No names found, cannot describe anything. [Pipeline] } 05:40:03 $ docker exec --env ******** --env ******** 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 ssh-agent -k 05:40:03 unset SSH_AUTH_SOCK; 05:40:03 unset SSH_AGENT_PID; 05:40:03 echo Agent pid 16 killed; 05:40:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:40:03 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:40:03 This usually means this commit has not been tagged. [Pipeline] sshagent 05:40:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:03 [ssh-agent] Looking for ssh-agent implementation... 05:40:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:03 $ docker exec 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 ssh-agent 05:40:04 SSH_AUTH_SOCK=/tmp/ssh-Jz3oLCuDPn5k/agent.44 05:40:04 SSH_AGENT_PID=49 05:40:04 Running ssh-add (command line suppressed) 05:40:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_716762523668580802.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_716762523668580802.key) 05:40:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:04 + git semver init 05:40:04 # -> Open(): unable to determine branch for HEAD 05:40:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git 05:40:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 05:40:04 # $SEMVER_REMOTE_NAME = origin 05:40:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:40:04 # $SEMVER_USER_NAME = edgex-jenkins 05:40:04 # $SEMVER_BRANCH = PR-571 05:40:04 # $SEMVER_TEMP = /tmp/semver-690135673 05:40:04 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:40:05 # '/tmp/semver-690135673' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' 05:40:05 # -> Force: false 05:40:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } 05:40:05 $ docker exec --env ******** --env ******** 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 ssh-agent -k 05:40:05 unset SSH_AUTH_SOCK; 05:40:05 unset SSH_AGENT_PID; 05:40:05 echo Agent pid 49 killed; 05:40:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:05 + git semver [Pipeline] } 05:40:05 $ docker stop --time=1 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 05:40:07 $ docker rm -f 1f14206b1af49ce9bcef1494291984d9a13b362d35675a89053fbb94acc42546 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:40:08 Stashed 39 file(s) [Pipeline] echo 05:40:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:40:08 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 05:40:23 Still waiting to schedule task 05:40:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-785’ 05:40:23 Still waiting to schedule task 05:40:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:42:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-786 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 05:42:11 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 05:42:16 using credential edgex-jenkins-ssh 05:42:16 Cloning the remote Git repository 05:42:16 Cloning with configured refspecs honoured and without tags 05:42:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:42:16 > git init /w/workspace/device-sdk-go/14 # timeout=10 05:42:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:42:16 > git --version # timeout=10 05:42:16 > git --version # 'git version 2.17.1' 05:42:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:42:17 Fetching without tags 05:42:18 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 7159bd3345dd95b4862f4e1e74c8326a649ca527 05:42:18 Merge succeeded, producing 7159bd3345dd95b4862f4e1e74c8326a649ca527 05:42:18 Checking out Revision 7159bd3345dd95b4862f4e1e74c8326a649ca527 (PR-571) 05:42:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:42:17 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 05:42:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:42:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:42:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:42:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:42:18 > git config core.sparsecheckout # timeout=10 05:42:18 > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 05:42:18 > git remote # timeout=10 05:42:18 > git config --get remote.origin.url # timeout=10 05:42:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:18 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 05:42:18 > git rev-parse HEAD^{commit} # timeout=10 05:42:18 > git config core.sparsecheckout # timeout=10 05:42:18 > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 05:42:23 Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:42:24 ========================================================= 05:42:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:42:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:42:25 + 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 . 05:42:26 Sending build context to Docker daemon 3.172MB 05:42:26 Step 1/8 : ARG BASE=golang:1.15-alpine 05:42:26 Step 2/8 : FROM ${BASE} 05:42:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:42:26 b538f80385f9: Pulling fs layer 05:42:26 74f711af9a0d: Pulling fs layer 05:42:26 99f96fe45779: Pulling fs layer 05:42:26 8529a6b9a6be: Pulling fs layer 05:42:26 45590311c82a: Pulling fs layer 05:42:26 69ca0ff8b7b3: Pulling fs layer 05:42:26 209524e5b208: Pulling fs layer 05:42:26 8529a6b9a6be: Waiting 05:42:26 45590311c82a: Waiting 05:42:26 209524e5b208: Waiting 05:42:26 69ca0ff8b7b3: Waiting 05:42:26 99f96fe45779: Verifying Checksum 05:42:26 99f96fe45779: Download complete 05:42:26 74f711af9a0d: Verifying Checksum 05:42:26 74f711af9a0d: Download complete 05:42:26 45590311c82a: Verifying Checksum 05:42:26 45590311c82a: Download complete 05:42:26 69ca0ff8b7b3: Download complete 05:42:26 b538f80385f9: Download complete 05:42:27 b538f80385f9: Pull complete 05:42:28 74f711af9a0d: Pull complete 05:42:28 99f96fe45779: Pull complete 05:42:29 209524e5b208: Verifying Checksum 05:42:29 209524e5b208: Download complete 05:42:30 8529a6b9a6be: Verifying Checksum 05:42:30 8529a6b9a6be: Download complete 05:42:40 8529a6b9a6be: Pull complete 05:42:41 45590311c82a: Pull complete 05:42:41 69ca0ff8b7b3: Pull complete 05:42:45 209524e5b208: Pull complete 05:42:45 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:42:45 ---> 5bddaf1c2fca 05:42:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:42:47 ---> Running in 0db57f5d94c8 05:42:48 Removing intermediate container 0db57f5d94c8 05:42:48 ---> 2bc33573a29c 05:42:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:48 ---> Running in 14a32e0beae7 05:42:50 Removing intermediate container 14a32e0beae7 05:42:50 ---> 859cea28a70f 05:42:50 Step 5/8 : RUN apk add --no-cache make git 05:42:50 ---> Running in 60e967249787 05:42:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:42:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:42:53 OK: 142 MiB in 39 packages 05:42:54 Removing intermediate container 60e967249787 05:42:54 ---> ba2d637cb6d2 05:42:54 Step 6/8 : WORKDIR /device-sdk-go 05:42:54 ---> Running in c9df4a02a3b7 05:42:55 Removing intermediate container c9df4a02a3b7 05:42:55 ---> 11dcc4f829a5 05:42:55 Step 7/8 : COPY . . 05:42:56 ---> 04eca08a0134 05:42:56 Step 8/8 : RUN go mod download 05:42:56 ---> Running in b37df09a9d73 05:43:11 Removing intermediate container b37df09a9d73 05:43:11 ---> 929fd0ec4ea2 05:43:11 Successfully built 929fd0ec4ea2 05:43:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:43:12 + docker inspect -f . ci-base-image-arm64 05:43:12 . [Pipeline] withDockerContainer 05:43:12 prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container 05:43:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:43:14 $ docker top b9da5b76c5bdecae70d67e406d3898c19e42e3c5076ffdac7825987697e4d0ff -eo pid,comm [Pipeline] { 05:43:14 Running on prd-centos7-docker-4c-2g-787 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] sh [Pipeline] ws 05:43:14 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 05:43:15 + go version 05:43:15 go version go1.15.2 linux/arm64 [Pipeline] } 05:43:15 $ docker stop --time=1 b9da5b76c5bdecae70d67e406d3898c19e42e3c5076ffdac7825987697e4d0ff 05:43:17 using credential edgex-jenkins-ssh 05:43:17 Cloning the remote Git repository 05:43:17 Cloning with configured refspecs honoured and without tags 05:43:17 $ docker rm -f b9da5b76c5bdecae70d67e406d3898c19e42e3c5076ffdac7825987697e4d0ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 05:43:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:43:17 > git init /w/workspace/device-sdk-go/14 # timeout=10 05:43:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:43:18 > git --version # timeout=10 05:43:18 > git --version # 'git version 2.16.5' 05:43:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] isUnix [Pipeline] sh 05:43:18 + docker inspect -f . ci-base-image-arm64 05:43:18 . [Pipeline] withDockerContainer 05:43:19 prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container 05:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:43:19 Fetching without tags 05:43:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:43:19 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 05:43:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:43:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:43:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:19 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 7159bd3345dd95b4862f4e1e74c8326a649ca527 05:43:20 Merge succeeded, producing 7159bd3345dd95b4862f4e1e74c8326a649ca527 05:43:20 Checking out Revision 7159bd3345dd95b4862f4e1e74c8326a649ca527 (PR-571) 05:43:19 > git config core.sparsecheckout # timeout=10 05:43:19 > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 05:43:20 > git remote # timeout=10 05:43:20 > git config --get remote.origin.url # timeout=10 05:43:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:20 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 05:43:20 > git rev-parse HEAD^{commit} # timeout=10 05:43:20 > git config core.sparsecheckout # timeout=10 05:43:20 > git checkout -f 7159bd3345dd95b4862f4e1e74c8326a649ca527 # timeout=10 05:43:21 $ docker top cfea72c58b38d4f227fa0d81b8e77ad177e247c1477573d2631dc1d1d52c01c1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:22 + make test 05:43:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:43:23 Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:43:24 ========================================================= 05:43:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:43:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:43:25 + 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 . 05:43:25 Sending build context to Docker daemon 3.173MB 05:43:25 Step 1/8 : ARG BASE=golang:1.15-alpine 05:43:25 Step 2/8 : FROM ${BASE} 05:43:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:25 df20fa9351a1: Pulling fs layer 05:43:25 ed8968b2872e: Pulling fs layer 05:43:25 a92cc7c5fd73: Pulling fs layer 05:43:25 e871e8e8d7a9: Pulling fs layer 05:43:25 e73272ec9a57: Pulling fs layer 05:43:25 1e910a182e73: Pulling fs layer 05:43:25 4e634b169226: Pulling fs layer 05:43:25 e73272ec9a57: Waiting 05:43:25 1e910a182e73: Waiting 05:43:25 4e634b169226: Waiting 05:43:25 e871e8e8d7a9: Waiting 05:43:25 a92cc7c5fd73: Verifying Checksum 05:43:25 a92cc7c5fd73: Download complete 05:43:25 ed8968b2872e: Download complete 05:43:25 e73272ec9a57: Verifying Checksum 05:43:25 e73272ec9a57: Download complete 05:43:26 1e910a182e73: Download complete 05:43:26 df20fa9351a1: Verifying Checksum 05:43:26 df20fa9351a1: Download complete 05:43:26 df20fa9351a1: Pull complete 05:43:26 ed8968b2872e: Pull complete 05:43:26 a92cc7c5fd73: Pull complete 05:43:28 4e634b169226: Verifying Checksum 05:43:28 4e634b169226: Download complete 05:43:29 e871e8e8d7a9: Verifying Checksum 05:43:29 e871e8e8d7a9: Download complete 05:43:34 e871e8e8d7a9: Pull complete 05:43:34 e73272ec9a57: Pull complete 05:43:34 1e910a182e73: Pull complete 05:43:39 4e634b169226: Pull complete 05:43:39 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:43:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:43:39 ---> f7629b54cfaa 05:43:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:43:39 ---> Running in 59fe01e42c7d 05:43:39 Removing intermediate container 59fe01e42c7d 05:43:39 ---> 4d8f22811375 05:43:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:39 ---> Running in d043fee706e0 05:43:40 Removing intermediate container d043fee706e0 05:43:40 ---> c5d5ae0f9247 05:43:40 Step 5/8 : RUN apk add --no-cache make git 05:43:40 ---> Running in 6349a4ffedfc 05:43:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:43:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:43:42 OK: 166 MiB in 39 packages 05:43:43 Removing intermediate container 6349a4ffedfc 05:43:43 ---> 92e35b610f63 05:43:43 Step 6/8 : WORKDIR /device-sdk-go 05:43:43 ---> Running in 76c8ecd1878b 05:43:43 Removing intermediate container 76c8ecd1878b 05:43:43 ---> e01f6f5220b5 05:43:43 Step 7/8 : COPY . . 05:43:44 ---> 9f5ca868543d 05:43:44 Step 8/8 : RUN go mod download 05:43:44 ---> Running in 75e7ad024076 05:43:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:43:56 Removing intermediate container 75e7ad024076 05:43:56 ---> ec47e65301e0 05:43:56 Successfully built ec47e65301e0 05:43:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:43:56 + docker inspect -f . ci-base-image-x86_64 05:43:56 . [Pipeline] withDockerContainer 05:43:56 prd-centos7-docker-4c-2g-787 does not seem to be running inside a container 05:43:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:43:58 $ docker top 7e012fb70535acc3ef05ea1079e282c02b0df68f1a3b611e24362b3b2efb1177 -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:58 + go version 05:43:58 go version go1.15.2 linux/amd64 [Pipeline] } 05:43:58 $ docker stop --time=1 7e012fb70535acc3ef05ea1079e282c02b0df68f1a3b611e24362b3b2efb1177 05:44:00 $ docker rm -f 7e012fb70535acc3ef05ea1079e282c02b0df68f1a3b611e24362b3b2efb1177 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:01 + docker inspect -f . ci-base-image-x86_64 05:44:01 . [Pipeline] withDockerContainer 05:44:01 prd-centos7-docker-4c-2g-787 does not seem to be running inside a container 05:44:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:02 $ docker top 70d751ef22376d8735c19b75f76ed1ecfd35ac1a95fa906c58320ccb42811d6c -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:02 + make test 05:44:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:44:09 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:44:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:44:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:44:23 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:44:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 21.6% of statements 05:44:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.201s coverage: 97.1% of statements 05:44:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:44:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:44:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:44:24 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.042s coverage: 21.6% of statements 05:44:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.412s coverage: 97.1% of statements 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.065s coverage: 21.9% of statements 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.524s coverage: 37.0% of statements 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.683s coverage: 65.4% of statements 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.108s coverage: 52.6% of statements 05:44:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.637s coverage: 68.9% of statements 05:44:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:44:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:44:56 GO111MODULE=on go vet ./... 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 9.4% of statements 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.033s coverage: 21.9% of statements 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.169s coverage: 37.0% of statements 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 65.4% of statements 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:44:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:44:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 05:44:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.337s coverage: 68.9% of statements 05:44:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:44:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:44:56 GO111MODULE=on go vet ./... 05:45:01 gofmt -l . 05:45:01 [ "`gofmt -l .`" = "" ] 05:45:01 ./bin/test-attribution-txt.sh 05:45:02 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:45:03 Stashed 1 file(s) [Pipeline] } 05:45:03 $ docker stop --time=1 70d751ef22376d8735c19b75f76ed1ecfd35ac1a95fa906c58320ccb42811d6c 05:45:05 $ docker rm -f 70d751ef22376d8735c19b75f76ed1ecfd35ac1a95fa906c58320ccb42811d6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:09 + ls -al . 05:45:09 total 188 05:45:09 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 05:45 . 05:45:09 drwxrwxr-x. 4 jenkins jenkins 30 Sep 22 05:43 .. 05:45:09 drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 05:43 bin 05:45:09 -rw-r--r--. 1 jenkins jenkins 110945 Sep 22 05:44 coverage.out 05:45:09 -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 05:43 Dockerfile.build 05:45:09 -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 05:43 .dockerignore 05:45:09 drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 05:43 example 05:45:09 drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 05:43 .git 05:45:09 drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 05:43 .github 05:45:09 -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 05:43 .gitignore 05:45:09 -rw-r--r--. 1 jenkins jenkins 446 Sep 22 05:45 go.mod 05:45:09 -rw-r--r--. 1 jenkins jenkins 12179 Sep 22 05:45 go.sum 05:45:09 drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 05:43 internal 05:45:09 -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 05:43 Jenkinsfile 05:45:09 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 05:43 LICENSE 05:45:09 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 05:43 Makefile 05:45:09 drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 05:43 openapi 05:45:09 drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 05:43 pkg 05:45:09 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 05:43 README.md 05:45:09 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 05:43 RELEASE-NOTES.txt 05:45:09 drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 05:43 .semver 05:45:09 drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 05:43 snap 05:45:09 -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 05:40 VERSION 05:45:09 -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 05:43 version.go [Pipeline] isUnix [Pipeline] sh 05:45:09 + 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=7159bd3345dd95b4862f4e1e74c8326a649ca527 --label arch=amd64 --label version=0.0.0 . 05:45:09 Sending build context to Docker daemon 3.284MB 05:45:09 Step 1/24 : ARG BASE=golang:1.15-alpine 05:45:09 Step 2/24 : FROM ${BASE} AS builder 05:45:09 ---> ec47e65301e0 05:45:09 Step 3/24 : ARG MAKE='make build' 05:45:09 ---> Running in 7b5e79d39570 05:45:10 Removing intermediate container 7b5e79d39570 05:45:10 ---> 52117a91ed20 05:45:10 Step 4/24 : WORKDIR /device-sdk-go 05:45:10 ---> Running in b83cc8e9e30a 05:45:10 Removing intermediate container b83cc8e9e30a 05:45:10 ---> 44e43a1f03e4 05:45:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:45:10 ---> Running in 94e8f8953fec 05:45:10 Removing intermediate container 94e8f8953fec 05:45:10 ---> eb6386de5a7c 05:45:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:10 ---> Running in 391f8dcc2dba 05:45:11 Removing intermediate container 391f8dcc2dba 05:45:11 ---> 866dc5fdfec8 05:45:11 Step 7/24 : RUN apk add --update --no-cache make git 05:45:11 ---> Running in 3a9cc16c26a6 05:45:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:45:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:45:13 OK: 166 MiB in 39 packages 05:45:13 Removing intermediate container 3a9cc16c26a6 05:45:13 ---> c403a4346c27 05:45:13 Step 8/24 : COPY . . 05:45:15 ---> 58695339d235 05:45:15 Step 9/24 : RUN ${MAKE} 05:45:15 ---> Running in 2b1abb2f88f7 05:45:15 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 05:45:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:45:22 gofmt -l . 05:45:22 [ "`gofmt -l .`" = "" ] 05:45:22 ./bin/test-attribution-txt.sh 05:45:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:45:22 Warning: overwriting stash ‘coverage-report’ 05:45:23 Stashed 1 file(s) [Pipeline] } 05:45:23 $ docker stop --time=1 cfea72c58b38d4f227fa0d81b8e77ad177e247c1477573d2631dc1d1d52c01c1 05:45:24 Removing intermediate container 2b1abb2f88f7 05:45:24 ---> b80bdab1fc8d 05:45:24 Step 10/24 : FROM scratch 05:45:24 ---> 05:45:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:45:24 ---> Running in a3a2194d11a2 05:45:24 Removing intermediate container a3a2194d11a2 05:45:24 ---> f6c6e38b2f7a 05:45:24 Step 12/24 : ENV APP_PORT=49990 05:45:24 ---> Running in 7236e08b222d 05:45:24 Removing intermediate container 7236e08b222d 05:45:24 ---> 933718887366 05:45:24 Step 13/24 : EXPOSE $APP_PORT 05:45:24 ---> Running in ea2401869e53 05:45:24 Removing intermediate container ea2401869e53 05:45:24 ---> 4569f16be921 05:45:24 Step 14/24 : WORKDIR / 05:45:24 ---> Running in 4c34c5ab370c 05:45:25 Removing intermediate container 4c34c5ab370c 05:45:25 ---> d6b9f2325015 05:45:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:45:25 ---> 5c531116ade9 05:45:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:45:25 ---> 5102c25b3a9c 05:45:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:45:25 ---> 4db2bc76fa39 05:45:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:45:25 $ docker rm -f cfea72c58b38d4f227fa0d81b8e77ad177e247c1477573d2631dc1d1d52c01c1 05:45:26 ---> 675e12809888 05:45:26 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:45:26 ---> a27210089dac 05:45:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:45:26 ---> Running in 794f6338b4c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 05:45:26 Removing intermediate container 794f6338b4c6 05:45:26 ---> c7ba693da20d 05:45:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:45:26 ---> Running in 1fda525c21bc [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:45:26 Removing intermediate container 1fda525c21bc 05:45:26 ---> 570b9d57e661 05:45:26 Step 22/24 : LABEL arch=amd64 05:45:26 ---> Running in 65fe49e0466c [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:27 Removing intermediate container 65fe49e0466c 05:45:27 ---> d74b550bbf57 05:45:27 Step 23/24 : LABEL git_sha=7159bd3345dd95b4862f4e1e74c8326a649ca527 05:45:27 ---> Running in 63f56b8e2462 05:45:27 Removing intermediate container 63f56b8e2462 05:45:27 ---> 6c2e9a1b5205 05:45:27 Step 24/24 : LABEL version=0.0.0 05:45:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:27 ---> Running in 593cb7d33af9 05:45:27 Removing intermediate container 593cb7d33af9 05:45:27 ---> f434a1fb6645 05:45:27 [Warning] One or more build-args [ARCH] were not consumed 05:45:27 Successfully built f434a1fb6645 05:45:27 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 05:45:27 + ls -al . 05:45:27 total 228 05:45:27 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 05:45 . 05:45:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 05:42 .. 05:45:27 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 05:42 .dockerignore 05:45:27 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 05:42 .git 05:45:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 05:42 .github 05:45:27 -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 05:42 .gitignore 05:45:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 05:42 .semver 05:45:27 -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 05:42 Dockerfile.build 05:45:27 -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 05:42 Jenkinsfile 05:45:27 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 05:42 LICENSE 05:45:27 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 05:42 Makefile 05:45:27 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 05:42 README.md 05:45:27 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 05:42 RELEASE-NOTES.txt 05:45:27 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 05:40 VERSION 05:45:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 05:42 bin 05:45:27 -rw-r--r-- 1 jenkins jenkins 110945 Sep 22 05:44 coverage.out 05:45:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 05:42 example 05:45:27 -rw-r--r-- 1 jenkins jenkins 446 Sep 22 05:45 go.mod 05:45:27 -rw-r--r-- 1 jenkins jenkins 12179 Sep 22 05:45 go.sum 05:45:27 drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 05:42 internal 05:45:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 05:42 openapi 05:45:27 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 05:42 pkg 05:45:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 05:42 snap 05:45:27 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 05:42 version.go [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 05:45:28 + 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=7159bd3345dd95b4862f4e1e74c8326a649ca527 --label arch=arm64 --label version=0.0.0 . Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 05:45:28 Sending build context to Docker daemon 3.284MB 05:45:28 Step 1/24 : ARG BASE=golang:1.15-alpine 05:45:28 Step 2/24 : FROM ${BASE} AS builder 05:45:28 ---> 929fd0ec4ea2 05:45:28 Step 3/24 : ARG MAKE='make build' 05:45:28 ---> Running in b4499777432d [Pipeline] // stage [Pipeline] } 05:45:29 Removing intermediate container b4499777432d 05:45:29 ---> 6fe92987ea71 05:45:29 Step 4/24 : WORKDIR /device-sdk-go 05:45:29 ---> Running in cd02cdae5fdb 05:45:30 Removing intermediate container cd02cdae5fdb 05:45:30 ---> 2a6fe1c57f57 05:45:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:45:30 ---> Running in 56b33cd2b9fc 05:45:30 Removing intermediate container 56b33cd2b9fc 05:45:30 ---> e94e3b19c069 05:45:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:30 ---> Running in c92145bbf61e 05:45:33 Removing intermediate container c92145bbf61e 05:45:33 ---> dd8d1a024629 05:45:33 Step 7/24 : RUN apk add --update --no-cache make git 05:45:33 ---> Running in 1277c9fec19a 05:45:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:45:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:45:35 OK: 142 MiB in 39 packages 05:45:36 Removing intermediate container 1277c9fec19a 05:45:36 ---> bde957c45776 05:45:36 Step 8/24 : COPY . . 05:45:38 ---> 7dba9bd93bad 05:45:38 Step 9/24 : RUN ${MAKE} 05:45:38 ---> Running in 4a857e4b575b 05:45:39 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 05:46:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:46:03 Removing intermediate container 4a857e4b575b 05:46:03 ---> 957280af3332 05:46:03 Step 10/24 : FROM scratch 05:46:03 ---> 05:46:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:46:03 ---> Running in f94355462b04 05:46:04 Removing intermediate container f94355462b04 05:46:04 ---> 72d03fb7468d 05:46:04 Step 12/24 : ENV APP_PORT=49990 05:46:04 ---> Running in bf2e8f3d1bfc 05:46:04 Removing intermediate container bf2e8f3d1bfc 05:46:04 ---> 0f296336eb3a 05:46:04 Step 13/24 : EXPOSE $APP_PORT 05:46:04 ---> Running in 9dbfcd8bbae1 05:46:05 Removing intermediate container 9dbfcd8bbae1 05:46:05 ---> 5dda50ae8e2f 05:46:05 Step 14/24 : WORKDIR / 05:46:05 ---> Running in 168a2f402b5e 05:46:05 Removing intermediate container 168a2f402b5e 05:46:05 ---> 009164018ece 05:46:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:46:06 ---> fd038331222d 05:46:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:46:07 ---> 01b4184110c8 05:46:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:46:08 ---> 3eae8ef1bbe0 05:46:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:46:08 ---> 5c3fe25a8879 05:46:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:46:09 ---> 412da60e1c00 05:46:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:46:09 ---> Running in ac83eb7068e9 05:46:10 Removing intermediate container ac83eb7068e9 05:46:10 ---> 0df2ea802a44 05:46:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:46:10 ---> Running in dccaf35e20ea 05:46:10 Removing intermediate container dccaf35e20ea 05:46:10 ---> 046ce6245bc2 05:46:10 Step 22/24 : LABEL arch=arm64 05:46:10 ---> Running in dad1ae36ef12 05:46:11 Removing intermediate container dad1ae36ef12 05:46:11 ---> 314082e30140 05:46:11 Step 23/24 : LABEL git_sha=7159bd3345dd95b4862f4e1e74c8326a649ca527 05:46:11 ---> Running in 59c53c951277 05:46:11 Removing intermediate container 59c53c951277 05:46:11 ---> 2647cc0f6d77 05:46:11 Step 24/24 : LABEL version=0.0.0 05:46:11 ---> Running in 4cf6237c21c5 05:46:12 Removing intermediate container 4cf6237c21c5 05:46:12 ---> 5713e8518ce9 05:46:12 [Warning] One or more build-args [ARCH] were not consumed 05:46:12 Successfully built 5713e8518ce9 05:46: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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:46:14 provisioning config files... 05:46:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5364932546181320223tmp [Pipeline] { [Pipeline] sh 05:46:15 + curl -s https://codecov.io/bash 05:46:15 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5364932546181320223tmp [Pipeline] } 05:46:15 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 05:46:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:46:18 ---> package-listing.sh 05:46:18 ++ facter osfamily 05:46:18 ++ tr '[:upper:]' '[:lower:]' 05:46:18 + OS_FAMILY=redhat 05:46:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 05:46:18 + START_PACKAGES=/tmp/packages_start.txt 05:46:18 + END_PACKAGES=/tmp/packages_end.txt 05:46:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:46:18 + PACKAGES=/tmp/packages_start.txt 05:46:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 05:46:18 + PACKAGES=/tmp/packages_end.txt 05:46:18 + case "${OS_FAMILY}" in 05:46:18 + rpm -qa 05:46:18 + sort 05:46:22 + '[' -f /tmp/packages_start.txt ']' 05:46:22 + '[' -f /tmp/packages_end.txt ']' 05:46:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:46:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 05:46:22 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ 05:46:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh 05:46:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:46:23 05:46:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:46:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:46:24 alpine: Pulling from edgex-lftools-log-publisher 05:46:24 df20fa9351a1: Pulling fs layer 05:46:24 36b3adc4ff6f: Pulling fs layer 05:46:24 8ad3a11d3b57: Pulling fs layer 05:46:24 46f8f816bc3b: Pulling fs layer 05:46:24 0dadc02b9964: Pulling fs layer 05:46:24 ce6a7cf60c04: Pulling fs layer 05:46:24 7a184a31f384: Pulling fs layer 05:46:24 0879bd2ef858: Pulling fs layer 05:46:24 46f8f816bc3b: Waiting 05:46:24 0dadc02b9964: Waiting 05:46:24 7a184a31f384: Waiting 05:46:24 0879bd2ef858: Waiting 05:46:24 36b3adc4ff6f: Verifying Checksum 05:46:24 36b3adc4ff6f: Download complete 05:46:24 46f8f816bc3b: Verifying Checksum 05:46:24 46f8f816bc3b: Download complete 05:46:24 df20fa9351a1: Verifying Checksum 05:46:24 df20fa9351a1: Download complete 05:46:24 ce6a7cf60c04: Verifying Checksum 05:46:24 ce6a7cf60c04: Download complete 05:46:24 7a184a31f384: Download complete 05:46:24 0dadc02b9964: Verifying Checksum 05:46:24 0dadc02b9964: Download complete 05:46:24 df20fa9351a1: Pull complete 05:46:24 36b3adc4ff6f: Pull complete 05:46:24 8ad3a11d3b57: Verifying Checksum 05:46:24 8ad3a11d3b57: Download complete 05:46:25 8ad3a11d3b57: Pull complete 05:46:25 46f8f816bc3b: Pull complete 05:46:25 0879bd2ef858: Verifying Checksum 05:46:25 0879bd2ef858: Download complete 05:46:25 0dadc02b9964: Pull complete 05:46:25 ce6a7cf60c04: Pull complete 05:46:26 7a184a31f384: Pull complete 05:46:28 0879bd2ef858: Pull complete 05:46:28 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 05:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:46:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:46:28 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 05:46:28 $ 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-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:46:33 $ docker top a9b49356e9a30002bbe6d0293fae9b0afdeca37b0199194c830bca50e5bb6046 -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:34 + mkdir -p /var/log/sa [Pipeline] sh 05:46:34 + ls /var/log/sa-host 05:46:34 + sadf -c /var/log/sa-host/sa05 05:46:34 file_magic: OK 05:46:34 HZ: Using current value: 100 05:46:34 file_header: OK 05:46:34 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 05:46:34 Statistics: 05:46:34 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:46:34 File successfully converted to sysstat format version 12.2.1 05:46:34 + sadf -c /var/log/sa-host/sa22 05:46:34 file_magic: OK 05:46:34 HZ: Using current value: 100 05:46:34 file_header: OK 05:46:34 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 05:46:34 Statistics: 05:46:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:46:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:34 provisioning config files... 05:46:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config1282171409757790434tmp [Pipeline] { [Pipeline] echo 05:46:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:46:34 ---> create-netrc.sh [Pipeline] echo 05:46:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:46:35 ---> logs-deploy.sh 05:46:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/14 05:46:35 INFO: archiving workspace using pattern(s): 05:46:36 Archives upload complete. 05:46:36 INFO: archiving logs to Nexus