Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 628559142d23fa9d6fe61ea3329529ff5e9788fb+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (9454ef39d094bc8b54b1d9f6f3568397b429bb7d) 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-911 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-586 # timeout=10 Fetching 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb Merge succeeded, producing 650fd38f9bdac668c980b4b4172ffcace48dc8ad Checking out Revision 650fd38f9bdac668c980b4b4172ffcace48dc8ad (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 650fd38f9bdac668c980b4b4172ffcace48dc8ad # timeout=10 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:45:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk b984de18a70b0e1eeec19856df0f8a760ba1e0e2 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:45:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:45:31 ========================================================= 18:45:31 EdgeX Global Pipelines Version Info 18:45:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:45:33 ------------------- 18:45:33 stable info: 18:45:33 ------------------- 18:45:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:45:33 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:45:33 Message: update stable to v1.0.122 18:45:33 ------------------- 18:45:33 experimental info: 18:45:33 ------------------- 18:45:33 Commited By: **** collab-it+edgex@linuxfoundation.org 18:45:33 Commit SHA: 4cadb88800041bcc4665ba3be4ccb25d089af403 18:45:33 Message: update experimental to v1.0.126 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:45:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 650fd38f9bdac668c980b4b4172ffcace48dc8ad [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 650fd38 [Pipeline] echo 18:45:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:37 + git log --format=format:%s -1 650fd38f9bdac668c980b4b4172ffcace48dc8ad [Pipeline] echo 18:45:37 GIT_COMMIT: 650fd38f9bdac668c980b4b4172ffcace48dc8ad, Commit Message: Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD [Pipeline] echo 18:45:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:45:38 + 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:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:39 latest: Pulling from edgex-devops/git-semver 18:45:39 31603596830f: Pulling fs layer 18:45:39 2a8b12db71e7: Pulling fs layer 18:45:39 6ca5941a6612: Pulling fs layer 18:45:39 ecc8261a40a4: Pulling fs layer 18:45:39 ecc8261a40a4: Waiting 18:45:39 2a8b12db71e7: Download complete 18:45:39 31603596830f: Verifying Checksum 18:45:39 31603596830f: Download complete 18:45:39 ecc8261a40a4: Verifying Checksum 18:45:39 ecc8261a40a4: Download complete 18:45:39 6ca5941a6612: Verifying Checksum 18:45:39 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:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:45:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:45:41 prd-centos7-docker-4c-2g-911 does not seem to be running inside a container 18:45:41 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:45:43 $ docker top 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 -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 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 ssh-agent 18:45:43 SSH_AUTH_SOCK=/tmp/ssh-Hgmc8JLifLVx/agent.13 18:45:43 SSH_AGENT_PID=19 18:45:43 Running ssh-add (command line suppressed) 18:45:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_3114875132058912659.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_3114875132058912659.key) 18:45:44 [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 ******** 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 ssh-agent -k 18:45:44 unset SSH_AUTH_SOCK; 18:45:44 unset SSH_AGENT_PID; 18:45:44 echo Agent pid 19 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 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 ssh-agent 18:45:45 SSH_AUTH_SOCK=/tmp/ssh-Jlef9nyLJFQn/agent.49 18:45:45 SSH_AGENT_PID=54 18:45:45 Running ssh-add (command line suppressed) 18:45:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_4899534875435019644.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_4899534875435019644.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-586/.git 18:45:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 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-586 18:45:45 # $SEMVER_TEMP = /tmp/semver-076282369 18:45:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:45:46 # '/tmp/semver-076282369' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' 18:45:46 # -> Force: false 18:45:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } 18:45:46 $ docker exec --env ******** --env ******** 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 ssh-agent -k 18:45:46 unset SSH_AUTH_SOCK; 18:45:46 unset SSH_AGENT_PID; 18:45:46 echo Agent pid 54 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 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 18:45:48 $ docker rm -f 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:45:49 Stashed 39 file(s) [Pipeline] echo 18:45:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:45:49 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:47:34 Running on prd-centos7-docker-4c-2g-915 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 18:47:34 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 18:47:37 using credential edgex-jenkins-ssh 18:47:37 Cloning the remote Git repository 18:47:37 Cloning with configured refspecs honoured and without tags 18:47:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:47:37 > git init /w/workspace/device-sdk-go/9 # timeout=10 18:47:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:37 > git --version # timeout=10 18:47:37 > git --version # 'git version 2.16.5' 18:47:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:39 Fetching without tags 18:47:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:39 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 18:47:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:39 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 18:47:39 Merge succeeded, producing 7623f80c7cfb24e8193e8c8ddc2b8413dfd5d8d6 18:47:39 Checking out Revision 7623f80c7cfb24e8193e8c8ddc2b8413dfd5d8d6 (PR-586) 18:47:39 > git config core.sparsecheckout # timeout=10 18:47:39 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 18:47:39 > git remote # timeout=10 18:47:39 > git config --get remote.origin.url # timeout=10 18:47:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:39 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 18:47:39 > git rev-parse HEAD^{commit} # timeout=10 18:47:39 > git config core.sparsecheckout # timeout=10 18:47:39 > git checkout -f 7623f80c7cfb24e8193e8c8ddc2b8413dfd5d8d6 # timeout=10 18:47:43 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" 18:47:43 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:47:44 ========================================================= 18:47:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:47:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:47:43 > git rev-list --no-walk b984de18a70b0e1eeec19856df0f8a760ba1e0e2 # timeout=10 18:47:45 + 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:45 Sending build context to Docker daemon 3.175MB 18:47:45 Step 1/8 : ARG BASE=golang:1.15-alpine 18:47:45 Step 2/8 : FROM ${BASE} 18:47:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:47:45 df20fa9351a1: Pulling fs layer 18:47:45 ed8968b2872e: Pulling fs layer 18:47:45 a92cc7c5fd73: Pulling fs layer 18:47:45 e871e8e8d7a9: Pulling fs layer 18:47:45 e73272ec9a57: Pulling fs layer 18:47:45 1e910a182e73: Pulling fs layer 18:47:45 4e634b169226: Pulling fs layer 18:47:45 e73272ec9a57: Waiting 18:47:45 4e634b169226: Waiting 18:47:45 1e910a182e73: Waiting 18:47:45 e871e8e8d7a9: Waiting 18:47:45 a92cc7c5fd73: Verifying Checksum 18:47:45 a92cc7c5fd73: Download complete 18:47:45 ed8968b2872e: Verifying Checksum 18:47:45 ed8968b2872e: Download complete 18:47:45 e73272ec9a57: Verifying Checksum 18:47:45 e73272ec9a57: Download complete 18:47:45 1e910a182e73: Verifying Checksum 18:47:45 1e910a182e73: Download complete 18:47:45 df20fa9351a1: Verifying Checksum 18:47:45 df20fa9351a1: Download complete 18:47:46 df20fa9351a1: Pull complete 18:47:46 ed8968b2872e: Pull complete 18:47:46 a92cc7c5fd73: Pull complete 18:47:47 4e634b169226: Verifying Checksum 18:47:47 4e634b169226: Download complete 18:47:48 e871e8e8d7a9: Download complete 18:47:53 e871e8e8d7a9: Pull complete 18:47:53 e73272ec9a57: Pull complete 18:47:53 1e910a182e73: Pull complete 18:48:01 4e634b169226: Pull complete 18:48:01 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:48:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:48:01 ---> f7629b54cfaa 18:48:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:48:01 ---> Running in c1ede6105fda 18:48:02 Removing intermediate container c1ede6105fda 18:48:02 ---> 67e06833ce20 18:48:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:48:02 ---> Running in ad07844ca965 18:48:03 Removing intermediate container ad07844ca965 18:48:03 ---> 8ef85fe16472 18:48:03 Step 5/8 : RUN apk add --no-cache make git 18:48:03 ---> Running in a33a083f41b0 18:48:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:48:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:48:06 OK: 166 MiB in 39 packages 18:48:06 Removing intermediate container a33a083f41b0 18:48:06 ---> c4933e9cb422 18:48:06 Step 6/8 : WORKDIR /device-sdk-go 18:48:06 ---> Running in 04f8f44ca902 18:48:06 Removing intermediate container 04f8f44ca902 18:48:06 ---> 16e114c6cdd6 18:48:06 Step 7/8 : COPY . . 18:48:07 ---> 651cb9ac879e 18:48:07 Step 8/8 : RUN go mod download 18:48:07 ---> Running in 4954aa428810 18:48:19 Removing intermediate container 4954aa428810 18:48:19 ---> 5bdf93b2381a 18:48:19 Successfully built 5bdf93b2381a 18:48:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:48:20 + docker inspect -f . ci-base-image-x86_64 18:48:20 . [Pipeline] withDockerContainer 18:48:20 prd-centos7-docker-4c-2g-915 does not seem to be running inside a container 18:48:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:48:21 $ docker top b27fdbeef16ae294525ff7a51484eebbf7804c24fc9574423c4d17d65d88ff54 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:22 + go version 18:48:22 go version go1.15.2 linux/amd64 [Pipeline] } 18:48:22 $ docker stop --time=1 b27fdbeef16ae294525ff7a51484eebbf7804c24fc9574423c4d17d65d88ff54 18:48:23 $ docker rm -f b27fdbeef16ae294525ff7a51484eebbf7804c24fc9574423c4d17d65d88ff54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:48:24 + docker inspect -f . ci-base-image-x86_64 18:48:24 . [Pipeline] withDockerContainer 18:48:24 prd-centos7-docker-4c-2g-915 does not seem to be running inside a container 18:48:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:48:25 $ docker top 14cf7dcd88cbb06d1a0cd1155cef51f77d64ca76adc4dbe8fad734aef2ebcba6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:26 + make test 18:48:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:48:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:48:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:48:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:48:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:48:48 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.040s coverage: 21.9% of statements 18:48:49 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.424s coverage: 95.7% of statements 18:49:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-920 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 18:49:05 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 18:49:09 using credential edgex-jenkins-ssh 18:49:09 Cloning the remote Git repository 18:49:09 Cloning with configured refspecs honoured and without tags 18:49:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:49:09 > git init /w/workspace/device-sdk-go/9 # timeout=10 18:49:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:49:09 > git --version # timeout=10 18:49:09 > git --version # 'git version 2.17.1' 18:49:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:49:10 Fetching without tags 18:49:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:49:10 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 18:49:10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:49:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:49:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:49:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:49:11 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 18:49:11 Merge succeeded, producing d498366ef79500beeda7e9eed6c72d9675b018bc 18:49:11 Checking out Revision d498366ef79500beeda7e9eed6c72d9675b018bc (PR-586) 18:49:11 > git config core.sparsecheckout # timeout=10 18:49:11 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 18:49:11 > git remote # timeout=10 18:49:11 > git config --get remote.origin.url # timeout=10 18:49:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:11 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 18:49:11 > git rev-parse HEAD^{commit} # timeout=10 18:49:11 > git config core.sparsecheckout # timeout=10 18:49:11 > git checkout -f d498366ef79500beeda7e9eed6c72d9675b018bc # timeout=10 18:49:15 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" 18:49:15 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:49:15 > git rev-list --no-walk b984de18a70b0e1eeec19856df0f8a760ba1e0e2 # timeout=10 [Pipeline] echo 18:49:17 ========================================================= 18:49:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:49:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:49:18 + 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:49:19 Sending build context to Docker daemon 3.175MB 18:49:19 Step 1/8 : ARG BASE=golang:1.15-alpine 18:49:19 Step 2/8 : FROM ${BASE} 18:49:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:49:19 b538f80385f9: Pulling fs layer 18:49:19 74f711af9a0d: Pulling fs layer 18:49:19 99f96fe45779: Pulling fs layer 18:49:19 8529a6b9a6be: Pulling fs layer 18:49:19 45590311c82a: Pulling fs layer 18:49:19 69ca0ff8b7b3: Pulling fs layer 18:49:19 209524e5b208: Pulling fs layer 18:49:19 45590311c82a: Waiting 18:49:19 69ca0ff8b7b3: Waiting 18:49:19 209524e5b208: Waiting 18:49:19 8529a6b9a6be: Waiting 18:49:19 99f96fe45779: Verifying Checksum 18:49:19 99f96fe45779: Download complete 18:49:19 74f711af9a0d: Verifying Checksum 18:49:19 74f711af9a0d: Download complete 18:49:19 45590311c82a: Verifying Checksum 18:49:19 45590311c82a: Download complete 18:49:19 69ca0ff8b7b3: Download complete 18:49:19 b538f80385f9: Verifying Checksum 18:49:19 b538f80385f9: Download complete 18:49:20 b538f80385f9: Pull complete 18:49:21 74f711af9a0d: Pull complete 18:49:21 99f96fe45779: Pull complete 18:49:21 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 8.6% of statements 18:49:21 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.035s coverage: 21.7% of statements 18:49:21 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:49:21 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.177s coverage: 37.0% of statements 18:49:21 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:49:21 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 65.4% of statements 18:49:21 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:49:21 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:49:21 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:49:21 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements 18:49:21 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.371s coverage: 68.9% of statements 18:49:21 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:49:21 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:49:21 GO111MODULE=on go vet ./... 18:49:22 209524e5b208: Verifying Checksum 18:49:22 209524e5b208: Download complete 18:49:23 8529a6b9a6be: Verifying Checksum 18:49:23 8529a6b9a6be: Download complete 18:49:28 gofmt -l . 18:49:28 [ "`gofmt -l .`" = "" ] 18:49:28 ./bin/test-attribution-txt.sh 18:49:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:49:29 Stashed 1 file(s) [Pipeline] } 18:49:29 $ docker stop --time=1 14cf7dcd88cbb06d1a0cd1155cef51f77d64ca76adc4dbe8fad734aef2ebcba6 18:49:31 $ docker rm -f 14cf7dcd88cbb06d1a0cd1155cef51f77d64ca76adc4dbe8fad734aef2ebcba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:33 8529a6b9a6be: Pull complete 18:49:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:49:33 45590311c82a: Pull complete 18:49:33 + ls -al . 18:49:33 total 188 18:49:33 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 18:49 . 18:49:33 drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 18:47 .. 18:49:33 drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 18:47 bin 18:49:33 -rw-r--r--. 1 jenkins jenkins 111696 Sep 22 18:49 coverage.out 18:49:33 -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 18:47 Dockerfile.build 18:49:33 -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 18:47 .dockerignore 18:49:33 drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 18:47 example 18:49:33 drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 18:47 .git 18:49:33 drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 18:47 .github 18:49:33 -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 18:47 .gitignore 18:49:33 -rw-r--r--. 1 jenkins jenkins 446 Sep 22 18:49 go.mod 18:49:33 -rw-r--r--. 1 jenkins jenkins 12179 Sep 22 18:49 go.sum 18:49:33 drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 18:47 internal 18:49:33 -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 18:47 Jenkinsfile 18:49:33 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 18:47 LICENSE 18:49:33 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 18:47 Makefile 18:49:33 drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 18:47 openapi 18:49:33 drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 18:47 pkg 18:49:33 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 18:47 README.md 18:49:33 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 18:47 RELEASE-NOTES.txt 18:49:33 drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 18:47 .semver 18:49:33 drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 18:47 snap 18:49:33 -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 18:45 VERSION 18:49:33 -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 18:47 version.go [Pipeline] isUnix [Pipeline] sh 18:49:33 69ca0ff8b7b3: Pull complete 18:49:33 + 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=650fd38f9bdac668c980b4b4172ffcace48dc8ad --label arch=amd64 --label version=0.0.0 . 18:49:34 Sending build context to Docker daemon 3.289MB 18:49:34 Step 1/24 : ARG BASE=golang:1.15-alpine 18:49:34 Step 2/24 : FROM ${BASE} AS builder 18:49:34 ---> 5bdf93b2381a 18:49:34 Step 3/24 : ARG MAKE='make build' 18:49:34 ---> Running in a2910b3bfc18 18:49:34 Removing intermediate container a2910b3bfc18 18:49:34 ---> 32b9b46db1db 18:49:34 Step 4/24 : WORKDIR /device-sdk-go 18:49:34 ---> Running in b97f61139cf9 18:49:35 Removing intermediate container b97f61139cf9 18:49:35 ---> f12b3da6d835 18:49:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:35 ---> Running in aab5052f8fb2 18:49:35 Removing intermediate container aab5052f8fb2 18:49:35 ---> 4b14b2092544 18:49:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:49:35 ---> Running in 0602a5e575a4 18:49:36 Removing intermediate container 0602a5e575a4 18:49:36 ---> e31e588eaed7 18:49:36 Step 7/24 : RUN apk add --update --no-cache make git 18:49:36 ---> Running in 8e2d57566eb5 18:49:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:49:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:49:38 209524e5b208: Pull complete 18:49:38 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:49:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:49:38 ---> 5bddaf1c2fca 18:49:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:39 OK: 166 MiB in 39 packages 18:49:39 Removing intermediate container 8e2d57566eb5 18:49:39 ---> 23b9024b7916 18:49:39 Step 8/24 : COPY . . 18:49:40 ---> Running in 8199bd69cf63 18:49:40 ---> b909ce74dbe5 18:49:40 Step 9/24 : RUN ${MAKE} 18:49:40 ---> Running in deaacb8de91b 18:49:40 Removing intermediate container 8199bd69cf63 18:49:40 ---> 33d07c19812a 18:49:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:49:40 ---> Running in 9b845c1f11d4 18:49:40 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:43 Removing intermediate container 9b845c1f11d4 18:49:43 ---> 07336d873ff6 18:49:43 Step 5/8 : RUN apk add --no-cache make git 18:49:43 ---> Running in 233570d49c58 18:49:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:49:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:49:46 OK: 142 MiB in 39 packages 18:49:48 Removing intermediate container 233570d49c58 18:49:48 ---> 9746ad2e6db5 18:49:48 Step 6/8 : WORKDIR /device-sdk-go 18:49:48 ---> Running in a67687283d79 18:49:48 Removing intermediate container a67687283d79 18:49:48 ---> 7a896f131bb7 18:49:48 Step 7/8 : COPY . . 18:49:49 ---> d4732149a246 18:49:49 Step 8/8 : RUN go mod download 18:49:49 ---> Running in 02176a26853c 18:49:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:49:52 Removing intermediate container deaacb8de91b 18:49:52 ---> 7442c6aa26c5 18:49:52 Step 10/24 : FROM scratch 18:49:52 ---> 18:49:52 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:52 ---> Running in 2360cfda7d40 18:49:52 Removing intermediate container 2360cfda7d40 18:49:52 ---> 9de81b1c3195 18:49:52 Step 12/24 : ENV APP_PORT=49990 18:49:52 ---> Running in 86c22b89749e 18:49:52 Removing intermediate container 86c22b89749e 18:49:52 ---> e9cf153f9093 18:49:52 Step 13/24 : EXPOSE $APP_PORT 18:49:52 ---> Running in f38e45e39ccb 18:49:52 Removing intermediate container f38e45e39ccb 18:49:52 ---> 567e962fd58d 18:49:52 Step 14/24 : WORKDIR / 18:49:52 ---> Running in 12c3aad63932 18:49:52 Removing intermediate container 12c3aad63932 18:49:52 ---> 37c9a31c1e30 18:49:52 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:49:53 ---> f6744ccbee44 18:49:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:49:53 ---> aabbdf0258f0 18:49:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:49:53 ---> cff8c5fb4459 18:49:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:49:54 ---> a467a12b1084 18:49:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:49:54 ---> 2d851dc7a86e 18:49:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:49:54 ---> Running in 108de93d4309 18:49:54 Removing intermediate container 108de93d4309 18:49:54 ---> 13196d5c92a0 18:49:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:49:54 ---> Running in e6b503c4ad2c 18:49:54 Removing intermediate container e6b503c4ad2c 18:49:54 ---> e51659c39484 18:49:54 Step 22/24 : LABEL arch=amd64 18:49:54 ---> Running in 789ed211cb70 18:49:55 Removing intermediate container 789ed211cb70 18:49:55 ---> f96cd0880757 18:49:55 Step 23/24 : LABEL git_sha=650fd38f9bdac668c980b4b4172ffcace48dc8ad 18:49:55 ---> Running in dbf52c1ccb49 18:49:55 Removing intermediate container dbf52c1ccb49 18:49:55 ---> 07ca25da243a 18:49:55 Step 24/24 : LABEL version=0.0.0 18:49:55 ---> Running in 1a8fc04b94b6 18:49:55 Removing intermediate container 1a8fc04b94b6 18:49:55 ---> 31afb2ab2a23 18:49:55 [Warning] One or more build-args [ARCH] were not consumed 18:49:55 Successfully built 31afb2ab2a23 18:49:55 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:05 Removing intermediate container 02176a26853c 18:50:05 ---> 9fa0fb8059b0 18:50:05 Successfully built 9fa0fb8059b0 18:50:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:50:05 + docker inspect -f . ci-base-image-arm64 18:50:05 . [Pipeline] withDockerContainer 18:50:05 prd-ubuntu18.04-docker-arm64-4c-16g-920 does not seem to be running inside a container 18:50:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:50:07 $ docker top 0ffbe04888b4ebe9009b3b3f651ebf6d63befd87a2be86154ff4a097f70ca208 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:09 + go version 18:50:09 go version go1.15.2 linux/arm64 [Pipeline] } 18:50:09 $ docker stop --time=1 0ffbe04888b4ebe9009b3b3f651ebf6d63befd87a2be86154ff4a097f70ca208 18:50:11 $ docker rm -f 0ffbe04888b4ebe9009b3b3f651ebf6d63befd87a2be86154ff4a097f70ca208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:50:12 + docker inspect -f . ci-base-image-arm64 18:50:12 . [Pipeline] withDockerContainer 18:50:12 prd-ubuntu18.04-docker-arm64-4c-16g-920 does not seem to be running inside a container 18:50:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:50:14 $ docker top c1c31545d42f6d519a5c6dafd8c166ee2f3bd16e318a1457335cfef8b4ad83be -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:16 + make test 18:50:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:50:38 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:51:17 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:51:17 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:51:17 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:51:17 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.075s coverage: 21.9% of statements 18:51:17 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.233s coverage: 95.7% of statements 18:51:49 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 8.6% of statements 18:51:49 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.043s coverage: 21.7% of statements 18:51:49 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:51:49 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.471s coverage: 37.0% of statements 18:51:49 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:51:49 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.684s coverage: 65.4% of statements 18:51:49 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:51:49 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:51:49 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:51:49 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.141s coverage: 52.6% of statements 18:51:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.621s coverage: 68.9% of statements 18:51:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:51:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:51:49 GO111MODULE=on go vet ./... 18:52:16 gofmt -l . 18:52:16 [ "`gofmt -l .`" = "" ] 18:52:16 ./bin/test-attribution-txt.sh 18:52:16 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:52:16 Warning: overwriting stash ‘coverage-report’ 18:52:17 Stashed 1 file(s) [Pipeline] } 18:52:17 $ docker stop --time=1 c1c31545d42f6d519a5c6dafd8c166ee2f3bd16e318a1457335cfef8b4ad83be 18:52:19 $ docker rm -f c1c31545d42f6d519a5c6dafd8c166ee2f3bd16e318a1457335cfef8b4ad83be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:21 + ls -al . 18:52:21 total 228 18:52:21 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 18:52 . 18:52:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:49 .. 18:52:21 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 18:49 .dockerignore 18:52:21 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 18:49 .git 18:52:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:49 .github 18:52:21 -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 18:49 .gitignore 18:52:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 18:49 .semver 18:52:21 -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 18:49 Dockerfile.build 18:52:21 -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 18:49 Jenkinsfile 18:52:21 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 18:49 LICENSE 18:52:21 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 18:49 Makefile 18:52:21 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 18:49 README.md 18:52:21 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 18:49 RELEASE-NOTES.txt 18:52:21 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 18:45 VERSION 18:52:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:49 bin 18:52:21 -rw-r--r-- 1 jenkins jenkins 111696 Sep 22 18:51 coverage.out 18:52:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:49 example 18:52:21 -rw-r--r-- 1 jenkins jenkins 446 Sep 22 18:52 go.mod 18:52:21 -rw-r--r-- 1 jenkins jenkins 12179 Sep 22 18:52 go.sum 18:52:21 drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 18:49 internal 18:52:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:49 openapi 18:52:21 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 18:49 pkg 18:52:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:49 snap 18:52:21 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 18:49 version.go [Pipeline] isUnix [Pipeline] sh 18:52:21 + 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=650fd38f9bdac668c980b4b4172ffcace48dc8ad --label arch=arm64 --label version=0.0.0 . 18:52:22 Sending build context to Docker daemon 3.289MB 18:52:22 Step 1/24 : ARG BASE=golang:1.15-alpine 18:52:22 Step 2/24 : FROM ${BASE} AS builder 18:52:22 ---> 9fa0fb8059b0 18:52:22 Step 3/24 : ARG MAKE='make build' 18:52:22 ---> Running in 7a20f01b26f2 18:52:22 Removing intermediate container 7a20f01b26f2 18:52:22 ---> db42a01ade32 18:52:22 Step 4/24 : WORKDIR /device-sdk-go 18:52:23 ---> Running in 0eb595010ca7 18:52:23 Removing intermediate container 0eb595010ca7 18:52:23 ---> 3babfc802845 18:52:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:52:23 ---> Running in 66c30cca7ea2 18:52:24 Removing intermediate container 66c30cca7ea2 18:52:24 ---> c0ab57c9f9a4 18:52:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:52:24 ---> Running in 128a3a9cc037 18:52:26 Removing intermediate container 128a3a9cc037 18:52:26 ---> 29666a24932e 18:52:26 Step 7/24 : RUN apk add --update --no-cache make git 18:52:26 ---> Running in 3c1f894a52d1 18:52:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:52:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:52:29 OK: 142 MiB in 39 packages 18:52:30 Removing intermediate container 3c1f894a52d1 18:52:30 ---> eea2f66ac370 18:52:30 Step 8/24 : COPY . . 18:52:31 ---> 2ba79c56976d 18:52:31 Step 9/24 : RUN ${MAKE} 18:52:32 ---> Running in d1d3b483a41d 18:52:33 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:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:52:57 Removing intermediate container d1d3b483a41d 18:52:57 ---> c44dc0719603 18:52:57 Step 10/24 : FROM scratch 18:52:57 ---> 18:52:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:52:57 ---> Running in 6a6c153b975a 18:52:58 Removing intermediate container 6a6c153b975a 18:52:58 ---> 08e345706b7c 18:52:58 Step 12/24 : ENV APP_PORT=49990 18:52:58 ---> Running in 6dca6ed363e4 18:52:58 Removing intermediate container 6dca6ed363e4 18:52:58 ---> 799e6af3554b 18:52:58 Step 13/24 : EXPOSE $APP_PORT 18:52:58 ---> Running in f1d6f7d1902b 18:52:59 Removing intermediate container f1d6f7d1902b 18:52:59 ---> 2aafb0d7cc29 18:52:59 Step 14/24 : WORKDIR / 18:52:59 ---> Running in b2a613725cdb 18:53:00 Removing intermediate container b2a613725cdb 18:53:00 ---> f4aa75a8e079 18:53:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:53:01 ---> 27bdcf3898ee 18:53:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:53:01 ---> 0d365bfba43c 18:53:01 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:53:02 ---> fac27a589e52 18:53:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:53:03 ---> b0602b6ce4b9 18:53:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:53:03 ---> 82bf413bc49e 18:53:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:53:04 ---> Running in c907e354826e 18:53:04 Removing intermediate container c907e354826e 18:53:04 ---> fd0d6662ae75 18:53:04 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:53:04 ---> Running in 200fb41ed233 18:53:05 Removing intermediate container 200fb41ed233 18:53:05 ---> e3b6d7991830 18:53:05 Step 22/24 : LABEL arch=arm64 18:53:05 ---> Running in b0b5a874f5f5 18:53:05 Removing intermediate container b0b5a874f5f5 18:53:05 ---> 4baaaeca7f53 18:53:05 Step 23/24 : LABEL git_sha=650fd38f9bdac668c980b4b4172ffcace48dc8ad 18:53:05 ---> Running in f36a56537929 18:53:06 Removing intermediate container f36a56537929 18:53:06 ---> 33b4e2e65b86 18:53:06 Step 24/24 : LABEL version=0.0.0 18:53:06 ---> Running in d340c9975a18 18:53:06 Removing intermediate container d340c9975a18 18:53:06 ---> 65ad0ceb1db3 18:53:06 [Warning] One or more build-args [ARCH] were not consumed 18:53:06 Successfully built 65ad0ceb1db3 18:53:06 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:53:08 provisioning config files... 18:53:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config657130696628577897tmp [Pipeline] { [Pipeline] sh 18:53:09 + curl -s https://codecov.io/bash 18:53:09 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config657130696628577897tmp [Pipeline] } 18:53:09 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:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:53:12 ---> package-listing.sh 18:53:12 ++ facter osfamily 18:53:12 ++ tr '[:upper:]' '[:lower:]' 18:53:12 + OS_FAMILY=redhat 18:53:12 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 18:53:12 + START_PACKAGES=/tmp/packages_start.txt 18:53:12 + END_PACKAGES=/tmp/packages_end.txt 18:53:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:53:12 + PACKAGES=/tmp/packages_start.txt 18:53:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 18:53:12 + PACKAGES=/tmp/packages_end.txt 18:53:12 + case "${OS_FAMILY}" in 18:53:12 + rpm -qa 18:53:12 + sort 18:53:16 + '[' -f /tmp/packages_start.txt ']' 18:53:16 + '[' -f /tmp/packages_end.txt ']' 18:53:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:53:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 18:53:16 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ 18:53:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [Pipeline] isUnix [Pipeline] sh 18:53:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:53:17 18:53:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:53:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:53:17 alpine: Pulling from edgex-lftools-log-publisher 18:53:17 df20fa9351a1: Pulling fs layer 18:53:17 36b3adc4ff6f: Pulling fs layer 18:53:17 8ad3a11d3b57: Pulling fs layer 18:53:17 46f8f816bc3b: Pulling fs layer 18:53:17 0dadc02b9964: Pulling fs layer 18:53:17 ce6a7cf60c04: Pulling fs layer 18:53:17 7a184a31f384: Pulling fs layer 18:53:17 0879bd2ef858: Pulling fs layer 18:53:17 46f8f816bc3b: Waiting 18:53:17 0dadc02b9964: Waiting 18:53:17 ce6a7cf60c04: Waiting 18:53:17 7a184a31f384: Waiting 18:53:17 0879bd2ef858: Waiting 18:53:17 36b3adc4ff6f: Verifying Checksum 18:53:17 36b3adc4ff6f: Download complete 18:53:17 46f8f816bc3b: Download complete 18:53:17 0dadc02b9964: Verifying Checksum 18:53:17 0dadc02b9964: Download complete 18:53:17 df20fa9351a1: Download complete 18:53:17 ce6a7cf60c04: Verifying Checksum 18:53:17 ce6a7cf60c04: Download complete 18:53:17 7a184a31f384: Verifying Checksum 18:53:17 7a184a31f384: Download complete 18:53:17 8ad3a11d3b57: Verifying Checksum 18:53:17 8ad3a11d3b57: Download complete 18:53:18 df20fa9351a1: Pull complete 18:53:18 0879bd2ef858: Verifying Checksum 18:53:18 0879bd2ef858: Download complete 18:53:18 36b3adc4ff6f: Pull complete 18:53:18 8ad3a11d3b57: Pull complete 18:53:18 46f8f816bc3b: Pull complete 18:53:19 0dadc02b9964: Pull complete 18:53:19 ce6a7cf60c04: Pull complete 18:53:19 7a184a31f384: Pull complete 18:53:22 0879bd2ef858: Pull complete 18:53:22 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:53:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:53:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:53:22 prd-centos7-docker-4c-2g-911 does not seem to be running inside a container 18:53:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:53:27 $ docker top f8880bb8d69982f31bf89967c2a4b1ccaf2b60560d9b18ad4dced07c645899bc -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:28 + mkdir -p /var/log/sa [Pipeline] sh 18:53:28 + ls /var/log/sa-host 18:53:28 + sadf -c /var/log/sa-host/sa05 18:53:28 file_magic: OK 18:53:28 HZ: Using current value: 100 18:53:28 file_header: OK 18:53:28 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:28 Statistics: 18:53:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:53:28 File successfully converted to sysstat format version 12.2.1 18:53:28 + sadf -c /var/log/sa-host/sa22 18:53:28 file_magic: OK 18:53:28 HZ: Using current value: 100 18:53:28 file_header: OK 18:53:28 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:28 Statistics: 18:53:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:53:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:28 provisioning config files... 18:53:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config6364739090837959660tmp [Pipeline] { [Pipeline] echo 18:53:29 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:53:29 ---> create-netrc.sh [Pipeline] echo 18:53:29 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:53:29 ---> logs-deploy.sh 18:53:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/9 18:53:29 INFO: archiving workspace using pattern(s): 18:53:31 Archives upload complete. 18:53:31 INFO: archiving logs to Nexus