Branch indexing 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0cafa7decaaa0dab3b86f836c2c615e8e839d11b rather than 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd Obtained Jenkinsfile from 0cafa7decaaa0dab3b86f836c2c615e8e839d11b 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 on ‘prd-centos7-docker-4c-2g-904’ Running on prd-centos7-docker-4c-2g-908 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [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-595 # 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/595/head:refs/remotes/origin/PR-595 +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/595/head:refs/remotes/origin/PR-595 # 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 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd Merge succeeded, producing 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 Checking out Revision 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 (PR-595) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # 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 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 # timeout=10 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" > git rev-list --no-walk 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:45:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:45:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:45:29 ========================================================= 18:45:29 EdgeX Global Pipelines Version Info 18:45:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:45:31 ------------------- 18:45:31 stable info: 18:45:31 ------------------- 18:45:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:45:31 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:45:31 Message: update stable to v1.0.122 18:45:31 ------------------- 18:45:31 experimental info: 18:45:31 ------------------- 18:45:31 Commited By: **** collab-it+edgex@linuxfoundation.org 18:45:31 Commit SHA: 4cadb88800041bcc4665ba3be4ccb25d089af403 18:45:31 Message: update experimental to v1.0.126 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:45:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:45:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:45:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:45:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:45:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:45:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:45:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9eefc1e [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:36 + git log --format=format:%s -1 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 [Pipeline] echo 18:45:36 GIT_COMMIT: 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2, Commit Message: Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD [Pipeline] echo 18:45:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:45:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:38 18:45:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:45:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:38 latest: Pulling from edgex-devops/git-semver 18:45:38 31603596830f: Pulling fs layer 18:45:38 2a8b12db71e7: Pulling fs layer 18:45:38 6ca5941a6612: Pulling fs layer 18:45:38 ecc8261a40a4: Pulling fs layer 18:45:38 ecc8261a40a4: Waiting 18:45:38 2a8b12db71e7: Verifying Checksum 18:45:38 2a8b12db71e7: Download complete 18:45:38 31603596830f: Download complete 18:45:38 ecc8261a40a4: Verifying Checksum 18:45:38 ecc8261a40a4: Download complete 18:45:38 6ca5941a6612: Verifying Checksum 18:45:38 6ca5941a6612: Download complete 18:45:39 31603596830f: Pull complete 18:45:39 2a8b12db71e7: Pull complete 18:45:40 6ca5941a6612: Pull complete 18:45:40 ecc8261a40a4: Pull complete 18:45:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:45:40 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 18:45:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-595 -v /w/workspace/dgexfoundry_device-sdk-go_PR-595:/w/workspace/dgexfoundry_device-sdk-go_PR-595:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:45:42 $ docker top 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:45:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:43 [ssh-agent] Looking for ssh-agent implementation... 18:45:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:43 $ docker exec 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a ssh-agent 18:45:43 SSH_AUTH_SOCK=/tmp/ssh-8ad7bb00CjD2/agent.11 18:45:43 SSH_AGENT_PID=16 18:45:43 Running ssh-add (command line suppressed) 18:45:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_2426404882518202834.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_2426404882518202834.key) 18:45:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:44 + git describe --exact-match --tags HEAD 18:45:44 fatal: No names found, cannot describe anything. [Pipeline] } 18:45:44 $ docker exec --env ******** --env ******** 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a ssh-agent -k 18:45:44 unset SSH_AUTH_SOCK; 18:45:44 unset SSH_AGENT_PID; 18:45:44 echo Agent pid 16 killed; 18:45:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:45:44 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:45:44 This usually means this commit has not been tagged. [Pipeline] sshagent 18:45:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:44 [ssh-agent] Looking for ssh-agent implementation... 18:45:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:44 $ docker exec 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a ssh-agent 18:45:44 SSH_AUTH_SOCK=/tmp/ssh-63ZXpelAEXP7/agent.44 18:45:44 SSH_AGENT_PID=49 18:45:44 Running ssh-add (command line suppressed) 18:45:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_6316090980617491377.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_6316090980617491377.key) 18:45:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:45 + git semver init 18:45:45 # -> Open(): unable to determine branch for HEAD 18:45:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.git 18:45:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-595 18:45:45 # $SEMVER_REMOTE_NAME = origin 18:45:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:45:45 # $SEMVER_USER_NAME = edgex-jenkins 18:45:45 # $SEMVER_BRANCH = PR-595 18:45:45 # $SEMVER_TEMP = /tmp/semver-163982833 18:45:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:45:46 # '/tmp/semver-163982833' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver' 18:45:46 # -> Force: false 18:45:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver [Pipeline] } 18:45:46 $ docker exec --env ******** --env ******** 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a ssh-agent -k 18:45:46 unset SSH_AUTH_SOCK; 18:45:46 unset SSH_AGENT_PID; 18:45:46 echo Agent pid 49 killed; 18:45:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:45:46 + git semver [Pipeline] } 18:45:46 $ docker stop --time=1 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a 18:45:48 $ docker rm -f 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:45:48 Stashed 39 file(s) [Pipeline] echo 18:45:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:45:48 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 18:46:04 Still waiting to schedule task 18:46:04 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:46:04 Still waiting to schedule task 18:46:04 ‘prd-ubuntu18.04-docker-arm64-4c-16g-906’ is offline 18:46:54 Running on prd-centos7-docker-4c-2g-912 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws 18:46:54 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 18:47:01 using credential edgex-jenkins-ssh 18:47:01 Cloning the remote Git repository 18:47:01 Cloning with configured refspecs honoured and without tags 18:47:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:47:02 > git init /w/workspace/device-sdk-go/3 # timeout=10 18:47:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:02 > git --version # timeout=10 18:47:02 > git --version # 'git version 2.16.5' 18:47:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:03 Fetching without tags 18:47:03 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd 18:47:04 Merge succeeded, producing 519f3ba20da990493572c15d8cb5d42f8deb393e 18:47:04 Checking out Revision 519f3ba20da990493572c15d8cb5d42f8deb393e (PR-595) 18:47:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:03 > git config --add remote.origin.fetch +refs/pull/595/head:refs/remotes/origin/PR-595 # timeout=10 18:47:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:03 > git config core.sparsecheckout # timeout=10 18:47:03 > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 18:47:03 > git remote # timeout=10 18:47:03 > git config --get remote.origin.url # timeout=10 18:47:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:03 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 18:47:04 > git rev-parse HEAD^{commit} # timeout=10 18:47:04 > git config core.sparsecheckout # timeout=10 18:47:04 > git checkout -f 519f3ba20da990493572c15d8cb5d42f8deb393e # timeout=10 18:47:08 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" 18:47:08 > git rev-list --no-walk 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:47:10 ========================================================= 18:47:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:47:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:47:11 + 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 . 18:47:12 Sending build context to Docker daemon 3.182MB 18:47:12 Step 1/8 : ARG BASE=golang:1.15-alpine 18:47:12 Step 2/8 : FROM ${BASE} 18:47:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:47:12 df20fa9351a1: Pulling fs layer 18:47:12 ed8968b2872e: Pulling fs layer 18:47:12 a92cc7c5fd73: Pulling fs layer 18:47:12 e871e8e8d7a9: Pulling fs layer 18:47:12 e73272ec9a57: Pulling fs layer 18:47:12 1e910a182e73: Pulling fs layer 18:47:12 4e634b169226: Pulling fs layer 18:47:12 e871e8e8d7a9: Waiting 18:47:12 e73272ec9a57: Waiting 18:47:12 1e910a182e73: Waiting 18:47:12 4e634b169226: Waiting 18:47:12 a92cc7c5fd73: Verifying Checksum 18:47:12 a92cc7c5fd73: Download complete 18:47:12 ed8968b2872e: Download complete 18:47:12 e73272ec9a57: Download complete 18:47:12 1e910a182e73: Verifying Checksum 18:47:12 1e910a182e73: Download complete 18:47:13 df20fa9351a1: Verifying Checksum 18:47:13 df20fa9351a1: Download complete 18:47:13 df20fa9351a1: Pull complete 18:47:14 ed8968b2872e: Pull complete 18:47:14 a92cc7c5fd73: Pull complete 18:47:19 4e634b169226: Verifying Checksum 18:47:19 4e634b169226: Download complete 18:47:23 e871e8e8d7a9: Verifying Checksum 18:47:23 e871e8e8d7a9: Download complete 18:47:33 e871e8e8d7a9: Pull complete 18:47:33 e73272ec9a57: Pull complete 18:47:33 1e910a182e73: Pull complete 18:47:42 4e634b169226: Pull complete 18:47:42 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:47:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:47:42 ---> f7629b54cfaa 18:47:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:47:42 ---> Running in e143f0ce14ff 18:47:42 Removing intermediate container e143f0ce14ff 18:47:42 ---> f8c3a77203a8 18:47:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:47:42 ---> Running in c9cca5e9bdaa 18:47:43 Removing intermediate container c9cca5e9bdaa 18:47:43 ---> a8af69f157a2 18:47:43 Step 5/8 : RUN apk add --no-cache make git 18:47:43 ---> Running in b15ffb841182 18:47:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:47:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:47:45 OK: 166 MiB in 39 packages 18:47:46 Removing intermediate container b15ffb841182 18:47:46 ---> 99acf018ef52 18:47:46 Step 6/8 : WORKDIR /device-sdk-go 18:47:46 ---> Running in f17dfc577264 18:47:46 Removing intermediate container f17dfc577264 18:47:46 ---> d781a5f819ac 18:47:46 Step 7/8 : COPY . . 18:47:47 ---> 8138876efa11 18:47:47 Step 8/8 : RUN go mod download 18:47:48 ---> Running in 6799f5aa43af 18:48:00 Removing intermediate container 6799f5aa43af 18:48:00 ---> bbafac9ed052 18:48:00 Successfully built bbafac9ed052 18:48:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:48:01 + docker inspect -f . ci-base-image-x86_64 18:48:01 . [Pipeline] withDockerContainer 18:48:02 prd-centos7-docker-4c-2g-912 does not seem to be running inside a container 18:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat 18:48:03 $ docker top 6432490a55d88875bf46f74f96255d2762925c96696c16a3a127027d735e4e55 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:04 + go version 18:48:04 go version go1.15.2 linux/amd64 [Pipeline] } 18:48:04 $ docker stop --time=1 6432490a55d88875bf46f74f96255d2762925c96696c16a3a127027d735e4e55 18:48:06 $ docker rm -f 6432490a55d88875bf46f74f96255d2762925c96696c16a3a127027d735e4e55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:48:07 + docker inspect -f . ci-base-image-x86_64 18:48:07 . [Pipeline] withDockerContainer 18:48:07 prd-centos7-docker-4c-2g-912 does not seem to be running inside a container 18:48:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat 18:48:08 $ docker top e75a35ec70735c2a06d7a713b53e01d765e922ba0bd2d6ee29d7a03c90ed0161 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:09 + make test 18:48:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:48:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:48:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-919 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws 18:48:40 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 18:48:42 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:48:42 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:48:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 21.9% of statements 18:48:44 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.559s coverage: 95.7% of statements 18:48:45 using credential edgex-jenkins-ssh 18:48:45 Cloning the remote Git repository 18:48:45 Cloning with configured refspecs honoured and without tags 18:48:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:48:45 > git init /w/workspace/device-sdk-go/3 # timeout=10 18:48:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:48:46 > git --version # timeout=10 18:48:46 > git --version # 'git version 2.17.1' 18:48:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:48:47 Fetching without tags 18:48:47 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd 18:48:47 Merge succeeded, producing c3c40a12da6efe4c0f30c1aae06ebe12a7020c1d 18:48:47 Checking out Revision c3c40a12da6efe4c0f30c1aae06ebe12a7020c1d (PR-595) 18:48:46 > git config --add remote.origin.fetch +refs/pull/595/head:refs/remotes/origin/PR-595 # timeout=10 18:48:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:48:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:47 > git config core.sparsecheckout # timeout=10 18:48:47 > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 18:48:47 > git remote # timeout=10 18:48:47 > git config --get remote.origin.url # timeout=10 18:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:47 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 18:48:47 > git rev-parse HEAD^{commit} # timeout=10 18:48:47 > git config core.sparsecheckout # timeout=10 18:48:47 > git checkout -f c3c40a12da6efe4c0f30c1aae06ebe12a7020c1d # timeout=10 18:48:52 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" 18:48:52 > git rev-list --no-walk 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:48:53 ========================================================= 18:48:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:48:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:48:54 + 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 . 18:48:55 Sending build context to Docker daemon 3.183MB 18:48:55 Step 1/8 : ARG BASE=golang:1.15-alpine 18:48:55 Step 2/8 : FROM ${BASE} 18:48:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:48:56 b538f80385f9: Pulling fs layer 18:48:56 74f711af9a0d: Pulling fs layer 18:48:56 99f96fe45779: Pulling fs layer 18:48:56 8529a6b9a6be: Pulling fs layer 18:48:56 45590311c82a: Pulling fs layer 18:48:56 69ca0ff8b7b3: Pulling fs layer 18:48:56 209524e5b208: Pulling fs layer 18:48:56 8529a6b9a6be: Waiting 18:48:56 45590311c82a: Waiting 18:48:56 69ca0ff8b7b3: Waiting 18:48:56 209524e5b208: Waiting 18:48:56 99f96fe45779: Download complete 18:48:56 74f711af9a0d: Verifying Checksum 18:48:56 74f711af9a0d: Download complete 18:48:56 45590311c82a: Verifying Checksum 18:48:56 69ca0ff8b7b3: Verifying Checksum 18:48:56 69ca0ff8b7b3: Download complete 18:48:56 b538f80385f9: Verifying Checksum 18:48:56 b538f80385f9: Download complete 18:48:57 b538f80385f9: Pull complete 18:48:57 74f711af9a0d: Pull complete 18:48:58 99f96fe45779: Pull complete 18:48:58 209524e5b208: Verifying Checksum 18:48:58 209524e5b208: Download complete 18:49:00 8529a6b9a6be: Verifying Checksum 18:49:00 8529a6b9a6be: Download complete 18:49:10 8529a6b9a6be: Pull complete 18:49:10 45590311c82a: Pull complete 18:49:10 69ca0ff8b7b3: Pull complete 18:49:14 209524e5b208: Pull complete 18:49:14 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:49:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:49:14 ---> 5bddaf1c2fca 18:49:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.093s coverage: 8.6% of statements 18:49:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.7% of statements 18:49:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:49:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.278s coverage: 37.0% of statements 18:49:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:49:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.505s coverage: 65.4% of statements 18:49:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:49:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:49:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:49:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 52.6% of statements 18:49:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.827s coverage: 68.9% of statements 18:49:16 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:49:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:49:16 GO111MODULE=on go vet ./... 18:49:16 ---> Running in 226644c968e5 18:49:17 Removing intermediate container 226644c968e5 18:49:17 ---> 4f805817b041 18:49:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:49:17 ---> Running in 253d7f3378f4 18:49:20 Removing intermediate container 253d7f3378f4 18:49:20 ---> 01b7993d27c7 18:49:20 Step 5/8 : RUN apk add --no-cache make git 18:49:20 ---> Running in 452e7ef77b57 18:49:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:49:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:49:24 OK: 142 MiB in 39 packages 18:49:26 Removing intermediate container 452e7ef77b57 18:49:26 ---> a5a306791129 18:49:26 Step 6/8 : WORKDIR /device-sdk-go 18:49:26 ---> Running in 96f15e137bc5 18:49:26 Removing intermediate container 96f15e137bc5 18:49:26 ---> 1cd398e46b31 18:49:26 Step 7/8 : COPY . . 18:49:28 ---> 2f7b255dc997 18:49:28 Step 8/8 : RUN go mod download 18:49:28 ---> Running in 2e074a6f97a7 18:49:29 gofmt -l . 18:49:29 [ "`gofmt -l .`" = "" ] 18:49:29 ./bin/test-attribution-txt.sh 18:49:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:49:30 Stashed 1 file(s) [Pipeline] } 18:49:30 $ docker stop --time=1 e75a35ec70735c2a06d7a713b53e01d765e922ba0bd2d6ee29d7a03c90ed0161 18:49:33 $ docker rm -f e75a35ec70735c2a06d7a713b53e01d765e922ba0bd2d6ee29d7a03c90ed0161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:49:35 + ls -al . 18:49:35 total 188 18:49:35 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 18:49 . 18:49:35 drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 18:47 .. 18:49:35 drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 18:47 bin 18:49:35 -rw-r--r--. 1 jenkins jenkins 111696 Sep 22 18:49 coverage.out 18:49:35 -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 18:47 Dockerfile.build 18:49:35 -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 18:47 .dockerignore 18:49:35 drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 18:47 example 18:49:35 drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 18:47 .git 18:49:35 drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 18:47 .github 18:49:35 -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 18:47 .gitignore 18:49:35 -rw-r--r--. 1 jenkins jenkins 446 Sep 22 18:49 go.mod 18:49:35 -rw-r--r--. 1 jenkins jenkins 12179 Sep 22 18:49 go.sum 18:49:35 drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 18:47 internal 18:49:35 -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 18:47 Jenkinsfile 18:49:35 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 18:47 LICENSE 18:49:35 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 18:47 Makefile 18:49:35 drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 18:47 openapi 18:49:35 drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 18:47 pkg 18:49:35 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 18:47 README.md 18:49:35 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 18:47 RELEASE-NOTES.txt 18:49:35 drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 18:47 .semver 18:49:35 drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 18:47 snap 18:49:35 -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 18:45 VERSION 18:49:35 -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 18:47 version.go [Pipeline] isUnix [Pipeline] sh 18:49:35 + 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=9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 --label arch=amd64 --label version=0.0.0 . 18:49:35 Sending build context to Docker daemon 3.295MB 18:49:36 Step 1/24 : ARG BASE=golang:1.15-alpine 18:49:36 Step 2/24 : FROM ${BASE} AS builder 18:49:36 ---> bbafac9ed052 18:49:36 Step 3/24 : ARG MAKE='make build' 18:49:36 ---> Running in 59dffed80d10 18:49:36 Removing intermediate container 59dffed80d10 18:49:36 ---> 6d9e44352f2f 18:49:36 Step 4/24 : WORKDIR /device-sdk-go 18:49:36 ---> Running in 288cecbaef66 18:49:36 Removing intermediate container 288cecbaef66 18:49:36 ---> 606fd045250c 18:49:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:36 ---> Running in 254853bc3c90 18:49:36 Removing intermediate container 254853bc3c90 18:49:36 ---> 3d2699c232f1 18:49:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:49:37 ---> Running in 3ea6cfda6506 18:49:38 Removing intermediate container 3ea6cfda6506 18:49:38 ---> 3aca0fded453 18:49:38 Step 7/24 : RUN apk add --update --no-cache make git 18:49:38 ---> Running in 2a0424c8d056 18:49:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:49:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:49:41 OK: 166 MiB in 39 packages 18:49:41 Removing intermediate container 2a0424c8d056 18:49:41 ---> f0dd930ed600 18:49:41 Step 8/24 : COPY . . 18:49:42 ---> 022129abe5c1 18:49:42 Step 9/24 : RUN ${MAKE} 18:49:42 ---> Running in 69e4dfbf1da7 18:49:43 Removing intermediate container 2e074a6f97a7 18:49:43 ---> b90d5d9325e4 18:49:43 Successfully built b90d5d9325e4 18:49:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:49:43 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 18:49:44 + docker inspect -f . ci-base-image-arm64 18:49:44 . [Pipeline] withDockerContainer 18:49:44 prd-ubuntu18.04-docker-arm64-4c-16g-919 does not seem to be running inside a container 18:49:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:49:46 $ docker top 8282b738c66218f516034a1e8ed74766df2b776c91de9ab90700d22721f9f722 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:47 + go version 18:49:47 go version go1.15.2 linux/arm64 [Pipeline] } 18:49:47 $ docker stop --time=1 8282b738c66218f516034a1e8ed74766df2b776c91de9ab90700d22721f9f722 18:49:50 $ docker rm -f 8282b738c66218f516034a1e8ed74766df2b776c91de9ab90700d22721f9f722 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:49:51 + docker inspect -f . ci-base-image-arm64 18:49:51 . [Pipeline] withDockerContainer 18:49:51 prd-ubuntu18.04-docker-arm64-4c-16g-919 does not seem to be running inside a container 18:49:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:49:53 $ docker top f1efdfb4fb2ae3d6fc8820faf7723bedead3ae6465593f9880066e8b96c28485 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:55 + make test 18:49:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:49:56 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:49:58 Removing intermediate container 69e4dfbf1da7 18:49:58 ---> 4d6db3106975 18:49:58 Step 10/24 : FROM scratch 18:49:58 ---> 18:49:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:58 ---> Running in 3cf96f19338b 18:49:58 Removing intermediate container 3cf96f19338b 18:49:58 ---> 08b2e47d1ca7 18:49:58 Step 12/24 : ENV APP_PORT=49990 18:49:58 ---> Running in ffaa402be120 18:49:58 Removing intermediate container ffaa402be120 18:49:58 ---> 4ffe5d7cd19d 18:49:58 Step 13/24 : EXPOSE $APP_PORT 18:49:58 ---> Running in 428283aad08b 18:49:58 Removing intermediate container 428283aad08b 18:49:58 ---> f015e46d0ecc 18:49:58 Step 14/24 : WORKDIR / 18:49:58 ---> Running in 50113d994d3a 18:49:59 Removing intermediate container 50113d994d3a 18:49:59 ---> d558f4d2518d 18:49:59 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:49:59 ---> 5437f2b83ecf 18:49:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:49:59 ---> 8823dd0fa88b 18:49:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:50:00 ---> 7851a879caf9 18:50:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:50:00 ---> 1b8b8f15d960 18:50:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:50:01 ---> e54e43c72d2c 18:50:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:50:01 ---> Running in 7314119ab173 18:50:01 Removing intermediate container 7314119ab173 18:50:01 ---> ab1a7d3e04af 18:50:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:50:01 ---> Running in 55b9432318a0 18:50:01 Removing intermediate container 55b9432318a0 18:50:01 ---> 0d6544fd9127 18:50:01 Step 22/24 : LABEL arch=amd64 18:50:01 ---> Running in 18812ece1305 18:50:02 Removing intermediate container 18812ece1305 18:50:02 ---> 664bbea1fd96 18:50:02 Step 23/24 : LABEL git_sha=9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 18:50:02 ---> Running in 629e7a1c1d39 18:50:02 Removing intermediate container 629e7a1c1d39 18:50:02 ---> 53769cace594 18:50:02 Step 24/24 : LABEL version=0.0.0 18:50:02 ---> Running in f8f46dd37283 18:50:02 Removing intermediate container f8f46dd37283 18:50:02 ---> d805b4293490 18:50:02 [Warning] One or more build-args [ARCH] were not consumed 18:50:02 Successfully built d805b4293490 18:50:02 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:50:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:51:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:51:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:51:04 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:51:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 21.9% of statements 18:51:04 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.224s coverage: 95.7% of statements 18:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 8.6% of statements 18:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.7% of statements 18:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.491s coverage: 37.0% of statements 18:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.673s coverage: 65.4% of statements 18:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.153s coverage: 52.6% of statements 18:51:31 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.745s coverage: 68.9% of statements 18:51:31 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:51:31 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:51:31 GO111MODULE=on go vet ./... 18:52:03 gofmt -l . 18:52:03 [ "`gofmt -l .`" = "" ] 18:52:03 ./bin/test-attribution-txt.sh 18:52:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:52:03 Warning: overwriting stash ‘coverage-report’ 18:52:04 Stashed 1 file(s) [Pipeline] } 18:52:04 $ docker stop --time=1 f1efdfb4fb2ae3d6fc8820faf7723bedead3ae6465593f9880066e8b96c28485 18:52:06 $ docker rm -f f1efdfb4fb2ae3d6fc8820faf7723bedead3ae6465593f9880066e8b96c28485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:08 + ls -al . 18:52:08 total 228 18:52:08 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 18:51 . 18:52:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 .. 18:52:08 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 18:48 .dockerignore 18:52:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 18:48 .git 18:52:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:48 .github 18:52:08 -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 18:48 .gitignore 18:52:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 18:48 .semver 18:52:08 -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 18:48 Dockerfile.build 18:52:08 -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 18:48 Jenkinsfile 18:52:08 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 18:48 LICENSE 18:52:08 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 18:48 Makefile 18:52:08 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 18:48 README.md 18:52:08 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 18:48 RELEASE-NOTES.txt 18:52:08 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 18:45 VERSION 18:52:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:48 bin 18:52:08 -rw-r--r-- 1 jenkins jenkins 111696 Sep 22 18:51 coverage.out 18:52:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 example 18:52:08 -rw-r--r-- 1 jenkins jenkins 446 Sep 22 18:51 go.mod 18:52:08 -rw-r--r-- 1 jenkins jenkins 12179 Sep 22 18:51 go.sum 18:52:08 drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 18:48 internal 18:52:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 openapi 18:52:08 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 18:48 pkg 18:52:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 snap 18:52:08 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 18:48 version.go [Pipeline] isUnix [Pipeline] sh 18:52:09 + 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=9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 --label arch=arm64 --label version=0.0.0 . 18:52:09 Sending build context to Docker daemon 3.297MB 18:52:09 Step 1/24 : ARG BASE=golang:1.15-alpine 18:52:09 Step 2/24 : FROM ${BASE} AS builder 18:52:09 ---> b90d5d9325e4 18:52:09 Step 3/24 : ARG MAKE='make build' 18:52:10 ---> Running in 5152c0775ad2 18:52:10 Removing intermediate container 5152c0775ad2 18:52:10 ---> 36ec8718d672 18:52:10 Step 4/24 : WORKDIR /device-sdk-go 18:52:10 ---> Running in 5422cdb85650 18:52:11 Removing intermediate container 5422cdb85650 18:52:11 ---> bd2c3e4a2a5b 18:52:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:52:11 ---> Running in 49e822d34718 18:52:11 Removing intermediate container 49e822d34718 18:52:11 ---> 845db198cb93 18:52:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:52:11 ---> Running in 42e36353b452 18:52:14 Removing intermediate container 42e36353b452 18:52:14 ---> d95d6729b355 18:52:14 Step 7/24 : RUN apk add --update --no-cache make git 18:52:14 ---> Running in 939a7127b6a0 18:52:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:52:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:52:17 OK: 142 MiB in 39 packages 18:52:18 Removing intermediate container 939a7127b6a0 18:52:18 ---> 5c2bc3262aaf 18:52:18 Step 8/24 : COPY . . 18:52:20 ---> afd3caab0ecd 18:52:20 Step 9/24 : RUN ${MAKE} 18:52:20 ---> Running in 1bbfa33b5141 18:52:21 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 18:52:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:52:48 Removing intermediate container 1bbfa33b5141 18:52:48 ---> dea164d593d2 18:52:48 Step 10/24 : FROM scratch 18:52:48 ---> 18:52:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:52:48 ---> Running in 9afe8ee2fc71 18:52:48 Removing intermediate container 9afe8ee2fc71 18:52:48 ---> 33f95de18ead 18:52:48 Step 12/24 : ENV APP_PORT=49990 18:52:48 ---> Running in 662475ca91cd 18:52:48 Removing intermediate container 662475ca91cd 18:52:48 ---> a943fdc9797d 18:52:48 Step 13/24 : EXPOSE $APP_PORT 18:52:48 ---> Running in 5e8357a23ce3 18:52:49 Removing intermediate container 5e8357a23ce3 18:52:49 ---> 55e4a4cbcb79 18:52:49 Step 14/24 : WORKDIR / 18:52:49 ---> Running in a89bd793f2ac 18:52:49 Removing intermediate container a89bd793f2ac 18:52:49 ---> 1b088e5e4417 18:52:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:52:50 ---> e24ddd6889db 18:52:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:52:51 ---> 0a8eb1ceb843 18:52:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:52:52 ---> 2541ea62a44d 18:52:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:52:52 ---> 18cb240462b1 18:52:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:52:53 ---> dc1a7a175d50 18:52:53 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:52:53 ---> Running in 73d835101d4a 18:52:54 Removing intermediate container 73d835101d4a 18:52:54 ---> 9d04a075b9f2 18:52:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:52:54 ---> Running in c6d578ddce87 18:52:54 Removing intermediate container c6d578ddce87 18:52:54 ---> 590a32293f89 18:52:54 Step 22/24 : LABEL arch=arm64 18:52:54 ---> Running in 20dd20e47613 18:52:55 Removing intermediate container 20dd20e47613 18:52:55 ---> 09646bbf85d9 18:52:55 Step 23/24 : LABEL git_sha=9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 18:52:55 ---> Running in 606476de8741 18:52:55 Removing intermediate container 606476de8741 18:52:55 ---> 650aca9e3ea5 18:52:55 Step 24/24 : LABEL version=0.0.0 18:52:56 ---> Running in 4555af493f07 18:52:56 Removing intermediate container 4555af493f07 18:52:56 ---> dc6505a65d2d 18:52:56 [Warning] One or more build-args [ARCH] were not consumed 18:52:56 Successfully built dc6505a65d2d 18:52:56 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 18:52:58 provisioning config files... 18:52:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config6334543233132350127tmp [Pipeline] { [Pipeline] sh 18:52:58 + curl -s https://codecov.io/bash 18:52:58 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config6334543233132350127tmp [Pipeline] } 18:52:59 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 18:53:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:53:02 ---> package-listing.sh 18:53:02 ++ facter osfamily 18:53:02 ++ tr '[:upper:]' '[:lower:]' 18:53:02 + OS_FAMILY=redhat 18:53:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-595 18:53:02 + START_PACKAGES=/tmp/packages_start.txt 18:53:02 + END_PACKAGES=/tmp/packages_end.txt 18:53:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:53:02 + PACKAGES=/tmp/packages_start.txt 18:53:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' 18:53:02 + PACKAGES=/tmp/packages_end.txt 18:53:02 + case "${OS_FAMILY}" in 18:53:02 + rpm -qa 18:53:02 + sort 18:53:06 + '[' -f /tmp/packages_start.txt ']' 18:53:06 + '[' -f /tmp/packages_end.txt ']' 18:53:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:53:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' 18:53:06 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ 18:53:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ [Pipeline] isUnix [Pipeline] sh 18:53:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:53:07 18:53:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:53:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:53:07 alpine: Pulling from edgex-lftools-log-publisher 18:53:07 df20fa9351a1: Pulling fs layer 18:53:07 36b3adc4ff6f: Pulling fs layer 18:53:07 8ad3a11d3b57: Pulling fs layer 18:53:07 46f8f816bc3b: Pulling fs layer 18:53:07 0dadc02b9964: Pulling fs layer 18:53:07 ce6a7cf60c04: Pulling fs layer 18:53:07 7a184a31f384: Pulling fs layer 18:53:07 0879bd2ef858: Pulling fs layer 18:53:07 46f8f816bc3b: Waiting 18:53:07 0dadc02b9964: Waiting 18:53:07 ce6a7cf60c04: Waiting 18:53:07 7a184a31f384: Waiting 18:53:07 0879bd2ef858: Waiting 18:53:07 36b3adc4ff6f: Download complete 18:53:07 46f8f816bc3b: Verifying Checksum 18:53:07 46f8f816bc3b: Download complete 18:53:07 df20fa9351a1: Verifying Checksum 18:53:07 df20fa9351a1: Download complete 18:53:07 ce6a7cf60c04: Verifying Checksum 18:53:07 ce6a7cf60c04: Download complete 18:53:07 7a184a31f384: Download complete 18:53:07 0dadc02b9964: Verifying Checksum 18:53:07 0dadc02b9964: Download complete 18:53:07 8ad3a11d3b57: Verifying Checksum 18:53:07 8ad3a11d3b57: Download complete 18:53:08 df20fa9351a1: Pull complete 18:53:08 36b3adc4ff6f: Pull complete 18:53:08 0879bd2ef858: Verifying Checksum 18:53:08 0879bd2ef858: Download complete 18:53:08 8ad3a11d3b57: Pull complete 18:53:08 46f8f816bc3b: Pull complete 18:53:09 0dadc02b9964: Pull complete 18:53:09 ce6a7cf60c04: Pull complete 18:53:09 7a184a31f384: Pull complete 18:53:12 0879bd2ef858: Pull complete 18:53:12 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:53:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:53:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:53:12 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 18:53:12 $ 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-595 -v /w/workspace/dgexfoundry_device-sdk-go_PR-595:/w/workspace/dgexfoundry_device-sdk-go_PR-595:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:53:17 $ docker top 69b843032950103dfaf51d4966bb47d3c4dbd749b53f1d8231e014ca692e0fae -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:17 + mkdir -p /var/log/sa [Pipeline] sh 18:53:18 + ls /var/log/sa-host 18:53:18 + sadf -c /var/log/sa-host/sa05 18:53:18 file_magic: OK 18:53:18 HZ: Using current value: 100 18:53:18 file_header: OK 18:53:18 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 18:53:18 Statistics: 18:53:18 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:53:18 File successfully converted to sysstat format version 12.2.1 18:53:18 + sadf -c /var/log/sa-host/sa22 18:53:18 file_magic: OK 18:53:18 HZ: Using current value: 100 18:53:18 file_header: OK 18:53:18 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 18:53:18 Statistics: 18:53:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:53:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:18 provisioning config files... 18:53:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config6973124911888236863tmp [Pipeline] { [Pipeline] echo 18:53:18 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:53:18 ---> create-netrc.sh [Pipeline] echo 18:53:18 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:53:18 ---> logs-deploy.sh 18:53:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-595/3 18:53:18 INFO: archiving workspace using pattern(s): 18:53:20 Archives upload complete. 18:53:20 INFO: archiving logs to Nexus