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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (790db71345baaf4abd0eebf11686812e2bba16d7) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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:lfit/releng-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, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23650’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23651 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-763 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee Merge succeeded, producing dce881673ae14da553cd551a3485f5b83744404b Checking out Revision dce881673ae14da553cd551a3485f5b83744404b (PR-763) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dce881673ae14da553cd551a3485f5b83744404b # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" > git rev-list --no-walk 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:46 ========================================================= 02:41:46 EdgeX Global Pipelines Version Info 02:41:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:47 ------------------- 02:41:47 stable info: 02:41:47 ------------------- 02:41:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:47 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:41:47 Message: update stable to v1.0.179 02:41:48 ------------------- 02:41:48 experimental info: 02:41:48 ------------------- 02:41:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:48 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:41:48 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dce881673ae14da553cd551a3485f5b83744404b [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dce8816 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:52 provisioning config files... 02:41:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config6171184350409071215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:52 ---> docker-login.sh 02:41:52 nexus3.edgexfoundry.org:10001 02:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:52 Configure a credential helper to remove this warning. See 02:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:52 02:41:52 Login Succeeded 02:41:52 nexus3.edgexfoundry.org:10002 02:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:52 Configure a credential helper to remove this warning. See 02:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:52 02:41:52 Login Succeeded 02:41:52 nexus3.edgexfoundry.org:10003 02:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:53 Configure a credential helper to remove this warning. See 02:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:53 02:41:53 Login Succeeded 02:41:53 nexus3.edgexfoundry.org:10004 02:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:53 Configure a credential helper to remove this warning. See 02:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:53 02:41:53 Login Succeeded 02:41:53 docker.io 02:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:54 Configure a credential helper to remove this warning. See 02:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:54 02:41:54 Login Succeeded 02:41:54 ---> docker-login.sh ends [Pipeline] } 02:41:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:55 + git log --format=format:%s -1 dce881673ae14da553cd551a3485f5b83744404b [Pipeline] echo 02:41:55 GIT_COMMIT: dce881673ae14da553cd551a3485f5b83744404b, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo 02:41:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:56 02:41:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:56 latest: Pulling from edgex-devops/git-semver 02:41:56 31603596830f: Pulling fs layer 02:41:56 2a8b12db71e7: Pulling fs layer 02:41:56 6ca5941a6612: Pulling fs layer 02:41:56 ecc8261a40a4: Pulling fs layer 02:41:56 ecc8261a40a4: Waiting 02:41:56 2a8b12db71e7: Verifying Checksum 02:41:56 2a8b12db71e7: Download complete 02:41:56 31603596830f: Verifying Checksum 02:41:56 31603596830f: Download complete 02:41:56 6ca5941a6612: Verifying Checksum 02:41:56 6ca5941a6612: Download complete 02:41:56 ecc8261a40a4: Verifying Checksum 02:41:56 ecc8261a40a4: Download complete 02:41:57 31603596830f: Pull complete 02:41:57 2a8b12db71e7: Pull complete 02:41:58 6ca5941a6612: Pull complete 02:41:58 ecc8261a40a4: Pull complete 02:41:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:58 prd-centos7-docker-4c-2g-23651 does not seem to be running inside a container 02:41:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:00 $ docker top 82e2152150258b4119a9f8d18212f401f8d1c2b76a1cbd1fd3e71b932ef8227c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:00 [ssh-agent] Looking for ssh-agent implementation... 02:42:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:01 $ docker exec 82e2152150258b4119a9f8d18212f401f8d1c2b76a1cbd1fd3e71b932ef8227c ssh-agent 02:42:01 SSH_AUTH_SOCK=/tmp/ssh-CeuqrhQGmeDx/agent.13 02:42:01 SSH_AGENT_PID=18 02:42:01 Running ssh-add (command line suppressed) 02:42:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_6822252001297084785.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_6822252001297084785.key) 02:42:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:01 + git tag --points-at HEAD [Pipeline] } 02:42:01 $ docker exec --env ******** --env ******** 82e2152150258b4119a9f8d18212f401f8d1c2b76a1cbd1fd3e71b932ef8227c ssh-agent -k 02:42:02 unset SSH_AUTH_SOCK; 02:42:02 unset SSH_AGENT_PID; 02:42:02 echo Agent pid 18 killed; 02:42:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:02 [ssh-agent] Looking for ssh-agent implementation... 02:42:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:02 $ docker exec 82e2152150258b4119a9f8d18212f401f8d1c2b76a1cbd1fd3e71b932ef8227c ssh-agent 02:42:02 SSH_AUTH_SOCK=/tmp/ssh-Oh2QYuxsyg5U/agent.48 02:42:02 SSH_AGENT_PID=54 02:42:02 Running ssh-add (command line suppressed) 02:42:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_5428130044509944661.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_5428130044509944661.key) 02:42:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:03 + git semver init 02:42:03 # -> Open(): unable to determine branch for HEAD 02:42:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git 02:42:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 02:42:03 # $SEMVER_REMOTE_NAME = origin 02:42:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:03 # $SEMVER_USER_NAME = edgex-jenkins 02:42:03 # $SEMVER_BRANCH = PR-763 02:42:03 # $SEMVER_TEMP = /tmp/semver-265302990 02:42:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:04 # '/tmp/semver-265302990' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' 02:42:04 # -> Force: false 02:42:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } 02:42:04 $ docker exec --env ******** --env ******** 82e2152150258b4119a9f8d18212f401f8d1c2b76a1cbd1fd3e71b932ef8227c ssh-agent -k 02:42:04 unset SSH_AUTH_SOCK; 02:42:04 unset SSH_AGENT_PID; 02:42:04 echo Agent pid 54 killed; 02:42:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:05 + git semver [Pipeline] } 02:42:05 $ docker stop --time=1 82e2152150258b4119a9f8d18212f401f8d1c2b76a1cbd1fd3e71b932ef8227c 02:42:06 $ docker rm -f 82e2152150258b4119a9f8d18212f401f8d1c2b76a1cbd1fd3e71b932ef8227c [Pipeline] // withDockerContainer [Pipeline] sh 02:42:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:07 Stashed 1 file(s) [Pipeline] echo 02:42:07 [edgeXSemver]: initialized semver on 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 02:42:23 Still waiting to schedule task 02:42:23 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23653’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:23 Still waiting to schedule task 02:42:23 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:43:31 Running on prd-centos7-docker-4c-2g-23656 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 02:43:31 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:43:33 using credential edgex-jenkins-ssh 02:43:33 Cloning the remote Git repository 02:43:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:33 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:43:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:33 > git --version # timeout=10 02:43:33 > git --version # 'git version 2.24.3' 02:43:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:35 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee 02:43:35 Merge succeeded, producing daa4a97901ad91b434661265b855ceac6cf14e60 02:43:35 Checking out Revision daa4a97901ad91b434661265b855ceac6cf14e60 (PR-763) 02:43:35 > git config core.sparsecheckout # timeout=10 02:43:35 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 02:43:35 > git remote # timeout=10 02:43:35 > git config --get remote.origin.url # timeout=10 02:43:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:35 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 02:43:35 > git rev-parse HEAD^{commit} # timeout=10 02:43:35 > git config core.sparsecheckout # timeout=10 02:43:35 > git checkout -f daa4a97901ad91b434661265b855ceac6cf14e60 # timeout=10 02:43:39 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 02:43:39 > git rev-list --no-walk 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:40 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:41 + true 02:43:41 + sudo service docker restart 02:43:41 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:42 provisioning config files... 02:43:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4989366572072752867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:42 ---> docker-login.sh 02:43:42 nexus3.edgexfoundry.org:10001 02:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:42 Configure a credential helper to remove this warning. See 02:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:42 02:43:42 Login Succeeded 02:43:42 nexus3.edgexfoundry.org:10002 02:43:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:43 Configure a credential helper to remove this warning. See 02:43:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:43 02:43:43 Login Succeeded 02:43:43 nexus3.edgexfoundry.org:10003 02:43:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:43 Configure a credential helper to remove this warning. See 02:43:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:43 02:43:43 Login Succeeded 02:43:43 nexus3.edgexfoundry.org:10004 02:43:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:43 Configure a credential helper to remove this warning. See 02:43:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:43 02:43:43 Login Succeeded 02:43:43 docker.io 02:43:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:43 Configure a credential helper to remove this warning. See 02:43:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:43 02:43:43 Login Succeeded 02:43:43 ---> docker-login.sh ends [Pipeline] } 02:43:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:44 ========================================================= 02:43:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:43:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:44 + 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 . 02:43:44 Sending build context to Docker daemon 2.668MB 02:43:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:43:44 Step 2/8 : FROM ${BASE} 02:43:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:43:44 188c0c94c7c5: Pulling fs layer 02:43:44 0ef7d3d256c8: Pulling fs layer 02:43:44 de9db76c5a1d: Pulling fs layer 02:43:44 bca2f99d35d6: Pulling fs layer 02:43:44 93359f2a8cfa: Pulling fs layer 02:43:44 7c6f9722023f: Pulling fs layer 02:43:44 a35cf1a2eb13: Pulling fs layer 02:43:44 bca2f99d35d6: Waiting 02:43:44 93359f2a8cfa: Waiting 02:43:44 7c6f9722023f: Waiting 02:43:44 a35cf1a2eb13: Waiting 02:43:44 de9db76c5a1d: Verifying Checksum 02:43:44 de9db76c5a1d: Download complete 02:43:44 0ef7d3d256c8: Verifying Checksum 02:43:44 0ef7d3d256c8: Download complete 02:43:44 93359f2a8cfa: Verifying Checksum 02:43:44 93359f2a8cfa: Download complete 02:43:44 188c0c94c7c5: Verifying Checksum 02:43:44 188c0c94c7c5: Download complete 02:43:44 7c6f9722023f: Verifying Checksum 02:43:44 7c6f9722023f: Download complete 02:43:45 188c0c94c7c5: Pull complete 02:43:45 0ef7d3d256c8: Pull complete 02:43:45 de9db76c5a1d: Pull complete 02:43:48 a35cf1a2eb13: Verifying Checksum 02:43:48 a35cf1a2eb13: Download complete 02:43:50 bca2f99d35d6: Verifying Checksum 02:43:50 bca2f99d35d6: Download complete 02:43:55 bca2f99d35d6: Pull complete 02:43:55 93359f2a8cfa: Pull complete 02:43:55 7c6f9722023f: Pull complete 02:44:02 a35cf1a2eb13: Pull complete 02:44:02 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:02 ---> a62c8e92a672 02:44:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:02 ---> Running in 273f88468848 02:44:02 Removing intermediate container 273f88468848 02:44:02 ---> bb95b4f5676d 02:44:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:02 ---> Running in 8fe163ee82f3 02:44:03 Removing intermediate container 8fe163ee82f3 02:44:03 ---> 6d18d2dcd547 02:44:03 Step 5/8 : RUN apk add --update --no-cache make git 02:44:03 ---> Running in ff6d4a530c30 02:44:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:06 OK: 166 MiB in 39 packages 02:44:06 Removing intermediate container ff6d4a530c30 02:44:06 ---> e9419a72c8c9 02:44:06 Step 6/8 : WORKDIR /device-sdk-go 02:44:06 ---> Running in e594e2e23d96 02:44:06 Removing intermediate container e594e2e23d96 02:44:06 ---> 05a719df9d32 02:44:06 Step 7/8 : COPY . . 02:44:08 ---> bb532a5190b2 02:44:08 Step 8/8 : RUN go mod download 02:44:08 ---> Running in 8ada2f3cd7bb 02:44:26 Removing intermediate container 8ada2f3cd7bb 02:44:26 ---> 7e7a3a8fb2bf 02:44:26 Successfully built 7e7a3a8fb2bf 02:44:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:26 + docker inspect -f . ci-base-image-x86_64 02:44:26 . [Pipeline] withDockerContainer 02:44:26 prd-centos7-docker-4c-2g-23656 does not seem to be running inside a container 02:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:27 $ docker top 47de7f526a21d87c51a556d886cc2447f6fe1a9ddfef6b7d92873066c16c3dea -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:28 + go version 02:44:28 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:28 $ docker stop --time=1 47de7f526a21d87c51a556d886cc2447f6fe1a9ddfef6b7d92873066c16c3dea 02:44:29 $ docker rm -f 47de7f526a21d87c51a556d886cc2447f6fe1a9ddfef6b7d92873066c16c3dea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:30 + docker inspect -f . ci-base-image-x86_64 02:44:30 . [Pipeline] withDockerContainer 02:44:30 prd-centos7-docker-4c-2g-23656 does not seem to be running inside a container 02:44:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:32 $ docker top 9f216c9b2e70e5ea25aff26fbb8996473b70cb8ebf6ff4b13db3822da0f917ce -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:32 + make test 02:44:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:44:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:44:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:44:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:44:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 19.4% of statements 02:44:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.448s coverage: 97.1% of statements 02:45:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23660 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 02:45:20 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:45:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.083s coverage: 9.4% of statements 02:45:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.065s coverage: 21.7% of statements 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:45:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.215s coverage: 43.6% of statements 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:45:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.257s coverage: 68.9% of statements 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:45:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.064s coverage: 53.8% of statements 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:45:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.072s coverage: 25.2% of statements 02:45:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.331s coverage: 83.5% of statements 02:45:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.308s coverage: 4.2% of statements 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:45:24 GO111MODULE=on go vet ./... 02:45:25 using credential edgex-jenkins-ssh 02:45:27 Cloning the remote Git repository 02:45:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:27 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:45:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:27 > git --version # timeout=10 02:45:27 > git --version # 'git version 2.17.1' 02:45:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:29 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee 02:45:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:29 > git config core.sparsecheckout # timeout=10 02:45:29 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 02:45:29 > git remote # timeout=10 02:45:29 > git config --get remote.origin.url # timeout=10 02:45:29 Merge succeeded, producing 51fbb8cde5933eca37bcabd2f82a6b6ec3a1ae6a 02:45:29 Checking out Revision 51fbb8cde5933eca37bcabd2f82a6b6ec3a1ae6a (PR-763) 02:45:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:29 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 02:45:29 > git rev-parse HEAD^{commit} # timeout=10 02:45:29 > git config core.sparsecheckout # timeout=10 02:45:29 > git checkout -f 51fbb8cde5933eca37bcabd2f82a6b6ec3a1ae6a # timeout=10 02:45:34 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 02:45:34 > git rev-list --no-walk 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:36 + sudo service docker restart 02:45:36 + true 02:45:37 gofmt -l . 02:45:37 [ "`gofmt -l .`" = "" ] 02:45:37 ./bin/test-attribution-txt.sh 02:45:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:45:37 $ docker stop --time=1 9f216c9b2e70e5ea25aff26fbb8996473b70cb8ebf6ff4b13db3822da0f917ce 02:45:39 $ docker rm -f 9f216c9b2e70e5ea25aff26fbb8996473b70cb8ebf6ff4b13db3822da0f917ce [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:39 provisioning config files... 02:45:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4122376169635185987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:45:40 ---> docker-login.sh 02:45:40 nexus3.edgexfoundry.org:10001 02:45:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 02:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:41 Configure a credential helper to remove this warning. See 02:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:41 02:45:41 Login Succeeded 02:45:41 nexus3.edgexfoundry.org:10002 02:45:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:41 + ls -al . 02:45:41 total 216 02:45:41 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 02:45 . 02:45:41 drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 02:43 .. 02:45:41 drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 02:43 bin 02:45:41 -rw-r--r--. 1 jenkins jenkins 137333 Jan 28 02:45 coverage.out 02:45:41 -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 02:43 Dockerfile.build 02:45:41 -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 02:43 .dockerignore 02:45:41 drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 02:43 example 02:45:41 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 02:43 .git 02:45:41 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 02:43 .github 02:45:41 -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 02:43 .gitignore 02:45:41 -rw-r--r--. 1 jenkins jenkins 514 Jan 28 02:45 go.mod 02:45:41 -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 02:45 go.sum 02:45:41 drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 02:43 internal 02:45:41 -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 02:43 Jenkinsfile 02:45:41 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 02:43 LICENSE 02:45:41 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 02:43 Makefile 02:45:41 drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 02:43 openapi 02:45:41 drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 02:43 pkg 02:45:41 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 02:43 README.md 02:45:41 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 02:43 RELEASE-NOTES.txt 02:45:41 drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 02:43 snap 02:45:41 -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 02:42 VERSION 02:45:41 -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:42 Configure a credential helper to remove this warning. See 02:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:42 02:45:42 Login Succeeded 02:45:42 + 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=dce881673ae14da553cd551a3485f5b83744404b --label arch=amd64 --label version=0.0.0 . 02:45:42 nexus3.edgexfoundry.org:10003 02:45:42 Sending build context to Docker daemon 2.806MB 02:45:42 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:45:42 Step 2/24 : FROM ${BASE} AS builder 02:45:42 ---> 7e7a3a8fb2bf 02:45:42 Step 3/24 : ARG MAKE='make build' 02:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:42 Configure a credential helper to remove this warning. See 02:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:42 02:45:42 Login Succeeded 02:45:42 nexus3.edgexfoundry.org:10004 02:45:43 ---> Running in 7083c1be42c5 02:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:43 Removing intermediate container 7083c1be42c5 02:45:43 ---> 941a20267839 02:45:43 Step 4/24 : WORKDIR /device-sdk-go 02:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:43 Configure a credential helper to remove this warning. See 02:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:43 02:45:43 Login Succeeded 02:45:43 docker.io 02:45:43 ---> Running in 8f3f45d8a26b 02:45:43 Removing intermediate container 8f3f45d8a26b 02:45:43 ---> 42c51dbae276 02:45:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:43 ---> Running in 3e2aaf674451 02:45:44 Removing intermediate container 3e2aaf674451 02:45:44 ---> 41c0e6e8915f 02:45:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:44 ---> Running in a7e23abcc00e 02:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:44 Configure a credential helper to remove this warning. See 02:45:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:44 02:45:44 Login Succeeded 02:45:44 ---> docker-login.sh ends [Pipeline] } 02:45:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:44 ========================================================= 02:45:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:45 + 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 . 02:45:45 Removing intermediate container a7e23abcc00e 02:45:45 ---> 964e8e4825cc 02:45:45 Step 7/24 : RUN apk add --update --no-cache make git 02:45:45 ---> Running in bf822123e88e 02:45:45 Sending build context to Docker daemon 2.667MB 02:45:45 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:45 Step 2/8 : FROM ${BASE} 02:45:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:45 5f621e34cdf4: Pulling fs layer 02:45:45 a4357932f1b6: Pulling fs layer 02:45:45 18c013af1878: Pulling fs layer 02:45:45 00ac8860ef70: Pulling fs layer 02:45:45 63d7cb157983: Pulling fs layer 02:45:45 b116817d02f9: Pulling fs layer 02:45:45 745a02a5169b: Pulling fs layer 02:45:45 00ac8860ef70: Waiting 02:45:45 63d7cb157983: Waiting 02:45:45 b116817d02f9: Waiting 02:45:45 745a02a5169b: Waiting 02:45:45 18c013af1878: Download complete 02:45:45 a4357932f1b6: Verifying Checksum 02:45:45 a4357932f1b6: Download complete 02:45:45 63d7cb157983: Download complete 02:45:45 b116817d02f9: Download complete 02:45:45 5f621e34cdf4: Verifying Checksum 02:45:45 5f621e34cdf4: Download complete 02:45:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:46 5f621e34cdf4: Pull complete 02:45:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:47 a4357932f1b6: Pull complete 02:45:47 18c013af1878: Pull complete 02:45:48 OK: 166 MiB in 39 packages 02:45:49 745a02a5169b: Verifying Checksum 02:45:49 745a02a5169b: Download complete 02:45:49 Removing intermediate container bf822123e88e 02:45:49 ---> 4df175d5ca3e 02:45:49 Step 8/24 : COPY . . 02:45:50 00ac8860ef70: Verifying Checksum 02:45:50 00ac8860ef70: Download complete 02:45:50 ---> c691633d77af 02:45:50 Step 9/24 : RUN ${MAKE} 02:45:50 ---> Running in a7fb496b4500 02:45:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:45:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:00 00ac8860ef70: Pull complete 02:46:00 63d7cb157983: Pull complete 02:46:00 b116817d02f9: Pull complete 02:46:02 Removing intermediate container a7fb496b4500 02:46:02 ---> 5334e70bb471 02:46:02 Step 10/24 : FROM scratch 02:46:02 ---> 02:46:02 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:02 ---> Running in cdfa54bac60f 02:46:02 Removing intermediate container cdfa54bac60f 02:46:02 ---> c2acf28545fe 02:46:02 Step 12/24 : ENV APP_PORT=49990 02:46:02 ---> Running in d1a2b02b153f 02:46:03 Removing intermediate container d1a2b02b153f 02:46:03 ---> 1026ab7d76c6 02:46:03 Step 13/24 : EXPOSE $APP_PORT 02:46:03 ---> Running in 8ef8d40beba7 02:46:03 Removing intermediate container 8ef8d40beba7 02:46:03 ---> 33b92d776e37 02:46:03 Step 14/24 : WORKDIR / 02:46:03 ---> Running in 0625d8c205a7 02:46:03 Removing intermediate container 0625d8c205a7 02:46:03 ---> e82e1a1157cb 02:46:03 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:03 745a02a5169b: Pull complete 02:46:03 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:03 ---> b7e6874047d6 02:46:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:04 ---> f4347c1d610c 02:46:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:04 ---> 0b05c60bdc23 02:46:04 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:04 ---> da0ef34ed120 02:46:04 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:04 ---> 529fba355321 02:46:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:05 ---> b3dbfa548bf9 02:46:05 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:05 ---> Running in b14cb6e34b2a 02:46:05 Removing intermediate container b14cb6e34b2a 02:46:05 ---> 2cebe5d4bbb9 02:46:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:05 ---> Running in 9a4dc39a6b43 02:46:05 Removing intermediate container 9a4dc39a6b43 02:46:05 ---> f07f666fe20d 02:46:05 Step 22/24 : LABEL arch=amd64 02:46:05 ---> Running in 4cebec4f0445 02:46:06 Removing intermediate container 4cebec4f0445 02:46:06 ---> 3e5efea2d227 02:46:06 Step 23/24 : LABEL git_sha=dce881673ae14da553cd551a3485f5b83744404b 02:46:06 ---> Running in 827c17d97322 02:46:06 Removing intermediate container 827c17d97322 02:46:06 ---> 0e215e077530 02:46:06 Step 24/24 : LABEL version=0.0.0 02:46:06 ---> Running in 9f3fc8e24dd6 02:46:06 Removing intermediate container 9f3fc8e24dd6 02:46:06 ---> a5089c3bb855 02:46:06 [Warning] One or more build-args [ARCH] were not consumed 02:46:06 Successfully built a5089c3bb855 02:46:06 Successfully tagged docker-device-sdk-simple:latest [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 02:46:07 ---> Running in 483fb1f8af20 02:46:07 Removing intermediate container 483fb1f8af20 02:46:07 ---> a6a173e1d6cb 02:46:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 02:46:07 ---> Running in c5ab9fcf359c [Pipeline] // stage [Pipeline] } 02:46:10 Removing intermediate container c5ab9fcf359c 02:46:10 ---> e6c6b14e21ad 02:46:10 Step 5/8 : RUN apk add --update --no-cache make git 02:46:10 ---> Running in 17354f45156f 02:46:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:14 OK: 142 MiB in 39 packages 02:46:15 Removing intermediate container 17354f45156f 02:46:15 ---> 6cde40152330 02:46:15 Step 6/8 : WORKDIR /device-sdk-go 02:46:15 ---> Running in 0e9689aa84ae 02:46:16 Removing intermediate container 0e9689aa84ae 02:46:16 ---> fd513b1d7dde 02:46:16 Step 7/8 : COPY . . 02:46:17 ---> 1255312e780b 02:46:17 Step 8/8 : RUN go mod download 02:46:17 ---> Running in ab1bd7166210 02:46:44 Removing intermediate container ab1bd7166210 02:46:44 ---> f4b4ed50ba02 02:46:44 Successfully built f4b4ed50ba02 02:46:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:45 + docker inspect -f . ci-base-image-arm64 02:46:45 . [Pipeline] withDockerContainer 02:46:45 prd-ubuntu18.04-docker-arm64-4c-16g-23660 does not seem to be running inside a container 02:46:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:46 $ docker top 17f1db1c20a0f8b1a3961e10b346176216f795374c4bc7d48fddfca65421f337 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:48 + go version 02:46:48 go version go1.15.5 linux/arm64 [Pipeline] } 02:46:48 $ docker stop --time=1 17f1db1c20a0f8b1a3961e10b346176216f795374c4bc7d48fddfca65421f337 02:46:49 $ docker rm -f 17f1db1c20a0f8b1a3961e10b346176216f795374c4bc7d48fddfca65421f337 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:51 + docker inspect -f . ci-base-image-arm64 02:46:51 . [Pipeline] withDockerContainer 02:46:51 prd-ubuntu18.04-docker-arm64-4c-16g-23660 does not seem to be running inside a container 02:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:52 $ docker top 8bd732d089a9da1b02773000a43b6b4eded918a26995879b1c93159bfb3f375b -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:53 + make test 02:46:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.124s coverage: 19.4% of statements 02:48:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.366s coverage: 97.1% of statements 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 9.4% of statements 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 21.7% of statements 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.648s coverage: 43.6% of statements 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.967s coverage: 68.9% of statements 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.224s coverage: 53.8% of statements 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.218s coverage: 25.2% of statements 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.644s coverage: 83.5% of statements 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.166s coverage: 4.2% of statements 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:33 GO111MODULE=on go vet ./... 02:49:12 gofmt -l . 02:49:12 [ "`gofmt -l .`" = "" ] 02:49:12 ./bin/test-attribution-txt.sh 02:49:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:12 $ docker stop --time=1 8bd732d089a9da1b02773000a43b6b4eded918a26995879b1c93159bfb3f375b 02:49:15 $ docker rm -f 8bd732d089a9da1b02773000a43b6b4eded918a26995879b1c93159bfb3f375b [Pipeline] // withDockerContainer [Pipeline] sh 02:49:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:16 Warning: overwriting stash ‘coverage-report’ 02:49:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:18 + ls -al . 02:49:18 total 252 02:49:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 02:49 . 02:49:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 .. 02:49:18 -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 02:45 .dockerignore 02:49:18 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 02:45 .git 02:49:18 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:45 .github 02:49:18 -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 02:45 .gitignore 02:49:18 -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 02:45 Dockerfile.build 02:49:18 -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 02:45 Jenkinsfile 02:49:18 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 02:45 LICENSE 02:49:18 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 02:45 Makefile 02:49:18 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 02:45 README.md 02:49:18 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 02:45 RELEASE-NOTES.txt 02:49:18 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 02:42 VERSION 02:49:18 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:45 bin 02:49:18 -rw-r--r-- 1 jenkins jenkins 137333 Jan 28 02:48 coverage.out 02:49:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 example 02:49:18 -rw-r--r-- 1 jenkins jenkins 514 Jan 28 02:49 go.mod 02:49:18 -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 02:49 go.sum 02:49:18 drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 02:45 internal 02:49:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 openapi 02:49:18 drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 02:45 pkg 02:49:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 snap 02:49:18 -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:18 + 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=dce881673ae14da553cd551a3485f5b83744404b --label arch=arm64 --label version=0.0.0 . 02:49:19 Sending build context to Docker daemon 2.805MB 02:49:19 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:19 Step 2/24 : FROM ${BASE} AS builder 02:49:19 ---> f4b4ed50ba02 02:49:19 Step 3/24 : ARG MAKE='make build' 02:49:19 ---> Running in eb0a8169aed6 02:49:20 Removing intermediate container eb0a8169aed6 02:49:20 ---> 3e86d1a4593c 02:49:20 Step 4/24 : WORKDIR /device-sdk-go 02:49:20 ---> Running in d758086f81e8 02:49:20 Removing intermediate container d758086f81e8 02:49:20 ---> eb928c577dfa 02:49:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:20 ---> Running in 8e04c10dbb24 02:49:21 Removing intermediate container 8e04c10dbb24 02:49:21 ---> c0af714096e9 02:49:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:21 ---> Running in cc939dfa95c3 02:49:24 Removing intermediate container cc939dfa95c3 02:49:24 ---> c2b89f3cbca7 02:49:24 Step 7/24 : RUN apk add --update --no-cache make git 02:49:24 ---> Running in 9bb4089d07a7 02:49:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:27 OK: 142 MiB in 39 packages 02:49:28 Removing intermediate container 9bb4089d07a7 02:49:28 ---> 3b45f0c94d69 02:49:28 Step 8/24 : COPY . . 02:49:30 ---> 23effaead90e 02:49:30 Step 9/24 : RUN ${MAKE} 02:49:30 ---> Running in 857c444cbb4b 02:49:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:49:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:01 Removing intermediate container 857c444cbb4b 02:50:01 ---> 50228d640b14 02:50:01 Step 10/24 : FROM scratch 02:50:01 ---> 02:50:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:01 ---> Running in c01171b152b5 02:50:01 Removing intermediate container c01171b152b5 02:50:01 ---> 4a7cca526bca 02:50:01 Step 12/24 : ENV APP_PORT=49990 02:50:01 ---> Running in 58c6b90e43e1 02:50:02 Removing intermediate container 58c6b90e43e1 02:50:02 ---> aa843d0cf142 02:50:02 Step 13/24 : EXPOSE $APP_PORT 02:50:02 ---> Running in 37d07a49544a 02:50:02 Removing intermediate container 37d07a49544a 02:50:02 ---> f46506a0b94a 02:50:02 Step 14/24 : WORKDIR / 02:50:02 ---> Running in ed7364ec7960 02:50:03 Removing intermediate container ed7364ec7960 02:50:03 ---> f969e07c59a8 02:50:03 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:04 ---> d5f98fa1dbc0 02:50:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:05 ---> 46c655574dcf 02:50:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:05 ---> 2b8b87104ab1 02:50:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:06 ---> b61930d4a5ee 02:50:06 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:07 ---> fc951e7ad97a 02:50:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:07 ---> Running in afb3ade2f07e 02:50:08 Removing intermediate container afb3ade2f07e 02:50:08 ---> c4b824c9aed1 02:50:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:08 ---> Running in 13315affee34 02:50:08 Removing intermediate container 13315affee34 02:50:08 ---> 06784f097642 02:50:08 Step 22/24 : LABEL arch=arm64 02:50:08 ---> Running in ecec5a90bcdd 02:50:08 Removing intermediate container ecec5a90bcdd 02:50:08 ---> 31fbab249d77 02:50:08 Step 23/24 : LABEL git_sha=dce881673ae14da553cd551a3485f5b83744404b 02:50:09 ---> Running in 1a55b28675b3 02:50:09 Removing intermediate container 1a55b28675b3 02:50:09 ---> 03d84e403105 02:50:09 Step 24/24 : LABEL version=0.0.0 02:50:09 ---> Running in dddb1affe21a 02:50:10 Removing intermediate container dddb1affe21a 02:50:10 ---> 94037a548cc8 02:50:10 [Warning] One or more build-args [ARCH] were not consumed 02:50:10 Successfully built 94037a548cc8 02:50:10 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] } [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 02:50:12 provisioning config files... 02:50:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config749410835713338218tmp [Pipeline] { [Pipeline] sh 02:50:12 + set +x 02:50:12 + curl -s https://codecov.io/bash 02:50:12 + bash -s -- 02:50:12 02:50:12 _____ _ 02:50:12 / ____| | | 02:50:12 | | ___ __| | ___ ___ _____ __ 02:50:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:12 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:12 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:12 Bash-20210128-d4071a2 02:50:12 02:50:12 02:50:12 ==> git version 2.24.3 found 02:50:12 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:50:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:12 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:12 ==> Jenkins CI detected. 02:50:12 project root: . 02:50:12 --> token set from env 02:50:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:12 ==> Running gcov in . (disable via -X gcov) 02:50:12 ==> Python coveragepy not found 02:50:12 ==> Searching for coverage reports in: 02:50:12 + . 02:50:12 -> Found 1 reports 02:50:12 ==> Detecting git/mercurial file structure 02:50:12 ==> Reading reports 02:50:12 + ./coverage.out bytes=137333 02:50:12 ==> Appending adjustments 02:50:12 https://docs.codecov.io/docs/fixing-reports 02:50:13 + Found adjustments 02:50:13 ==> Gzipping contents 02:50:13 24K /tmp/codecov.DPUrP0.gz 02:50:13 ==> Uploading reports 02:50:13 url: https://codecov.io 02:50:13 query: branch=PR-763&commit=dce881673ae14da553cd551a3485f5b83744404b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 02:50:13 -> Pinging Codecov 02:50:13 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-763&commit=dce881673ae14da553cd551a3485f5b83744404b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 02:50:13 -> Uploading to 02:50:13 https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/dce881673ae14da553cd551a3485f5b83744404b/cdbb6772-c39e-45bd-a770-a5ac17eb3b1c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T025013Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1ddd707ff147aac4b7a1f7de6498388ab4fdbba613176c2b062e2578e4a4204 02:50:13 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:13 Dload Upload Total Spent Left Speed 02:50:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21656 0 0 100 21656 0 51772 --:--:-- --:--:-- --:--:-- 51808 02:50:14 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dce881673ae14da553cd551a3485f5b83744404b [Pipeline] } 02:50:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 02:50:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:17 ---> package-listing.sh 02:50:17 ++ facter osfamily 02:50:17 ++ tr '[:upper:]' '[:lower:]' 02:50:17 + OS_FAMILY=redhat 02:50:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 02:50:17 + START_PACKAGES=/tmp/packages_start.txt 02:50:17 + END_PACKAGES=/tmp/packages_end.txt 02:50:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:17 + PACKAGES=/tmp/packages_start.txt 02:50:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 02:50:17 + PACKAGES=/tmp/packages_end.txt 02:50:17 + case "${OS_FAMILY}" in 02:50:17 + rpm -qa 02:50:17 + sort 02:50:21 + '[' -f /tmp/packages_start.txt ']' 02:50:21 + '[' -f /tmp/packages_end.txt ']' 02:50:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 02:50:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ 02:50:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo 02:50:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:22 02:50:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:22 alpine: Pulling from edgex-lftools-log-publisher 02:50:22 df20fa9351a1: Pulling fs layer 02:50:22 36b3adc4ff6f: Pulling fs layer 02:50:22 8ad3a11d3b57: Pulling fs layer 02:50:22 46f8f816bc3b: Pulling fs layer 02:50:22 93b61091891f: Pulling fs layer 02:50:22 93b9cdb0e59b: Pulling fs layer 02:50:22 5e14af77c1be: Pulling fs layer 02:50:22 01666e4c0597: Pulling fs layer 02:50:22 aa168da1d23b: Pulling fs layer 02:50:22 93b61091891f: Waiting 02:50:22 93b9cdb0e59b: Waiting 02:50:22 5e14af77c1be: Waiting 02:50:22 01666e4c0597: Waiting 02:50:22 aa168da1d23b: Waiting 02:50:22 46f8f816bc3b: Waiting 02:50:22 36b3adc4ff6f: Verifying Checksum 02:50:22 36b3adc4ff6f: Download complete 02:50:22 46f8f816bc3b: Verifying Checksum 02:50:22 46f8f816bc3b: Download complete 02:50:23 df20fa9351a1: Verifying Checksum 02:50:23 df20fa9351a1: Download complete 02:50:23 93b9cdb0e59b: Verifying Checksum 02:50:23 93b9cdb0e59b: Download complete 02:50:23 5e14af77c1be: Download complete 02:50:23 93b61091891f: Verifying Checksum 02:50:23 93b61091891f: Download complete 02:50:23 01666e4c0597: Download complete 02:50:23 df20fa9351a1: Pull complete 02:50:23 36b3adc4ff6f: Pull complete 02:50:23 8ad3a11d3b57: Verifying Checksum 02:50:23 8ad3a11d3b57: Download complete 02:50:24 8ad3a11d3b57: Pull complete 02:50:24 46f8f816bc3b: Pull complete 02:50:24 93b61091891f: Pull complete 02:50:25 aa168da1d23b: Verifying Checksum 02:50:25 aa168da1d23b: Download complete 02:50:25 93b9cdb0e59b: Pull complete 02:50:25 5e14af77c1be: Pull complete 02:50:25 01666e4c0597: Pull complete 02:50:33 aa168da1d23b: Pull complete 02:50:33 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:34 prd-centos7-docker-4c-2g-23651 does not seem to be running inside a container 02:50:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:37 $ docker top fee0950dd66cd28de17dc60d6238529459058fc7e8cba84814f382334f835684 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:37 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:38 + mkdir -p /var/log/sa [Pipeline] sh 02:50:38 + ls /var/log/sa-host 02:50:38 + sadf -c /var/log/sa-host/sa23 02:50:38 file_magic: OK 02:50:38 HZ: Using current value: 100 02:50:38 file_header: OK 02:50:38 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 02:50:38 Statistics: 02:50:38 Hnuu...uuuununununu... 02:50:38 File successfully converted to sysstat format version 12.2.1 02:50:38 + sadf -c /var/log/sa-host/sa28 02:50:38 file_magic: OK 02:50:38 HZ: Using current value: 100 02:50:38 file_header: OK 02:50:38 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 02:50:38 Statistics: 02:50:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:38 provisioning config files... 02:50:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config6078068067032064668tmp [Pipeline] { [Pipeline] echo 02:50:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:39 ---> create-netrc.sh [Pipeline] } 02:50:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:39 ---> python-tools-install.sh [Pipeline] echo 02:50:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:39 ---> sudo-logs.sh 02:50:39 Archiving 'sudo' log.. [Pipeline] echo 02:50:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:40 ---> job-cost.sh 02:50:40 lf-activate-venv: SKIPPING 02:50:40 INFO: No Stack... 02:50:41 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:41 INFO: Archiving Costs [Pipeline] echo 02:50:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:41 ---> logs-deploy.sh 02:50:41 lf-activate-venv: SKIPPING 02:50:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/4 02:50:41 INFO: archiving workspace using pattern(s): 02:50:43 Archives upload complete. 02:50:43 INFO: archiving logs to Nexus 02:50:44 ---> uname -a: 02:50:44 Linux prd-centos7-docker-4c-2g-23651.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:50:44 02:50:44 02:50:44 ---> lscpu: 02:50:44 Architecture: x86_64 02:50:44 CPU op-mode(s): 32-bit, 64-bit 02:50:44 Byte Order: Little Endian 02:50:44 Address sizes: 40 bits physical, 48 bits virtual 02:50:44 CPU(s): 4 02:50:44 On-line CPU(s) list: 0-3 02:50:44 Thread(s) per core: 1 02:50:44 Core(s) per socket: 1 02:50:44 Socket(s): 4 02:50:44 NUMA node(s): 1 02:50:44 Vendor ID: GenuineIntel 02:50:44 CPU family: 6 02:50:44 Model: 44 02:50:44 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:50:44 Stepping: 1 02:50:44 CPU MHz: 2933.438 02:50:44 BogoMIPS: 5866.87 02:50:44 Virtualization: VT-x 02:50:44 Hypervisor vendor: KVM 02:50:44 Virtualization type: full 02:50:44 L1d cache: 128 KiB 02:50:44 L1i cache: 128 KiB 02:50:44 L2 cache: 16 MiB 02:50:44 L3 cache: 64 MiB 02:50:44 NUMA node0 CPU(s): 0-3 02:50:44 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:50:44 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:50:44 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:50:44 Vulnerability Meltdown: Mitigation; PTI 02:50:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:50:44 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:50:44 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:50:44 Vulnerability Srbds: Not affected 02:50:44 Vulnerability Tsx async abort: Not affected 02:50:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:50:44 02:50:44 02:50:44 ---> nproc: 02:50:44 4 02:50:44 02:50:44 02:50:44 ---> df -h: 02:50:44 Filesystem Size Used Available Use% Mounted on 02:50:44 overlay 50.0G 7.3G 42.7G 15% / 02:50:44 tmpfs 64.0M 0 64.0M 0% /dev 02:50:44 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:50:44 shm 64.0M 0 64.0M 0% /dev/shm 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:50:44 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:50:44 02:50:44 02:50:44 ---> free -m: 02:50:44 total used free shared buff/cache available 02:50:44 Mem: 1837 722 103 0 1011 1009 02:50:44 Swap: 1023 1 1022 02:50:44 02:50:44 02:50:44 ---> ip addr: 02:50:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:50:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:50:44 inet 127.0.0.1/8 scope host lo 02:50:44 valid_lft forever preferred_lft forever 02:50:44 inet6 ::1/128 scope host 02:50:44 valid_lft forever preferred_lft forever 02:50:44 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:50:44 link/ether fa:16:3e:16:6a:d4 brd ff:ff:ff:ff:ff:ff 02:50:44 inet 10.30.122.86/23 brd 10.30.123.255 scope global dynamic eth0 02:50:44 valid_lft 85828sec preferred_lft 85828sec 02:50:44 inet6 fe80::f816:3eff:fe16:6ad4/64 scope link 02:50:44 valid_lft forever preferred_lft forever 02:50:44 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:50:44 link/ether 02:42:6d:b6:3d:c7 brd ff:ff:ff:ff:ff:ff 02:50:44 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:50:44 valid_lft forever preferred_lft forever 02:50:44 inet6 fe80::42:6dff:feb6:3dc7/64 scope link 02:50:44 valid_lft forever preferred_lft forever 02:50:44 02:50:44 02:50:44 ---> sar -b -r -n DEV: 02:50:44 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 02:50:44 02:50:44 02:40:59 LINUX RESTART (4 CPU) 02:50:44 02:50:44 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:50:44 02:43:01 12.90 0.40 12.50 0.00 32.36 323.64 0.00 02:50:44 02:44:01 0.33 0.00 0.33 0.00 0.00 5.61 0.00 02:50:44 02:45:02 0.25 0.00 0.25 0.00 0.00 2.98 0.00 02:50:44 02:46:01 0.29 0.00 0.29 0.00 0.00 3.39 0.00 02:50:44 02:47:01 0.28 0.00 0.28 0.00 0.00 4.36 0.00 02:50:44 02:48:01 0.27 0.00 0.27 0.00 0.00 3.01 0.00 02:50:44 02:49:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 02:50:44 02:50:01 0.22 0.00 0.22 0.00 0.00 2.16 0.00 02:50:44 Average: 1.86 0.05 1.81 0.00 4.06 43.66 0.00 02:50:44 02:50:44 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:50:44 02:43:01 118252 0 615400 32.71 2620 1145272 1134404 38.72 425468 1136632 24 02:50:44 02:44:01 123900 0 609744 32.41 2620 1145280 1089828 37.19 423108 1133980 16 02:50:44 02:45:02 123876 0 609764 32.41 2620 1145284 1089928 37.20 420080 1137332 12 02:50:44 02:46:01 124632 0 609008 32.37 2620 1145284 1084800 37.02 419812 1136988 16 02:50:44 02:47:01 124712 0 608920 32.36 2620 1145292 1084800 37.02 419568 1137260 8 02:50:44 02:48:01 125016 0 608612 32.35 2620 1145296 1083736 36.99 419512 1137104 12 02:50:44 02:49:01 126084 0 607540 32.29 2620 1145300 1076528 36.74 418788 1136832 8 02:50:44 02:50:01 126240 0 607332 32.28 2620 1145352 1076528 36.74 418832 1136840 12 02:50:44 Average: 124089 0 609540 32.40 2620 1145295 1090069 37.20 420646 1136621 14 02:50:44 02:50:44 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:50:44 02:43:01 eth0 135.94 96.34 131.03 94.89 0.00 0.00 0.00 0.00 02:50:44 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:43:01 docker0 8.42 5.83 1.25 23.40 0.00 0.00 0.00 0.00 02:50:44 02:44:01 eth0 3.60 0.97 1.03 0.63 0.00 0.00 0.00 0.00 02:50:44 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:45:02 eth0 2.86 0.55 0.70 0.39 0.00 0.00 0.00 0.00 02:50:44 02:45:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:45:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:46:01 eth0 2.44 0.63 0.69 0.41 0.00 0.00 0.00 0.00 02:50:44 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:47:01 eth0 1.35 0.40 0.46 0.26 0.00 0.00 0.00 0.00 02:50:44 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:48:01 eth0 0.97 0.45 0.54 0.39 0.00 0.00 0.00 0.00 02:50:44 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:49:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 02:50:44 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:50:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:50:44 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 Average: eth0 18.46 12.46 16.85 12.15 0.00 0.00 0.00 0.00 02:50:44 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:44 Average: docker0 1.06 0.73 0.16 2.93 0.00 0.00 0.00 0.00 02:50:44 02:50:44 02:50:44 ---> sar -P ALL: 02:50:44 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 02:50:44 02:50:44 02:40:59 LINUX RESTART (4 CPU) 02:50:44 02:50:44 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:50:44 02:43:01 all 2.11 0.00 1.04 0.19 0.01 96.65 02:50:44 02:43:01 0 2.00 0.00 1.01 0.03 0.00 96.96 02:50:44 02:43:01 1 2.46 0.00 1.00 0.55 0.02 95.97 02:50:44 02:43:01 2 2.06 0.00 1.19 0.08 0.02 96.65 02:50:44 02:43:01 3 1.93 0.00 0.96 0.10 0.00 97.02 02:50:44 02:44:01 all 0.17 0.00 0.05 0.00 0.01 99.77 02:50:44 02:44:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:50:44 02:44:01 1 0.50 0.00 0.07 0.00 0.02 99.42 02:50:44 02:44:01 2 0.10 0.00 0.07 0.00 0.00 99.83 02:50:44 02:44:01 3 0.05 0.00 0.05 0.00 0.02 99.88 02:50:44 02:45:02 all 0.18 0.00 0.04 0.00 0.00 99.78 02:50:44 02:45:02 0 0.10 0.00 0.08 0.00 0.02 99.80 02:50:44 02:45:02 1 0.52 0.00 0.02 0.00 0.00 99.47 02:50:44 02:45:02 2 0.05 0.00 0.02 0.00 0.00 99.93 02:50:44 02:45:02 3 0.05 0.00 0.03 0.00 0.00 99.92 02:50:44 02:46:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:50:44 02:46:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:50:44 02:46:01 1 0.51 0.00 0.03 0.00 0.00 99.46 02:50:44 02:46:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:50:44 02:46:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:50:44 02:47:01 all 0.17 0.00 0.04 0.00 0.02 99.78 02:50:44 02:47:01 0 0.05 0.00 0.05 0.00 0.00 99.90 02:50:44 02:47:01 1 0.13 0.00 0.03 0.00 0.02 99.82 02:50:44 02:47:01 2 0.45 0.00 0.03 0.00 0.03 99.48 02:50:44 02:47:01 3 0.03 0.00 0.03 0.00 0.02 99.92 02:50:44 02:48:01 all 0.08 0.00 0.04 0.00 0.00 99.87 02:50:44 02:48:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:50:44 02:48:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:50:44 02:48:01 2 0.28 0.00 0.08 0.00 0.00 99.63 02:50:44 02:48:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:50:44 02:49:01 all 0.04 0.00 0.03 0.00 0.01 99.92 02:50:44 02:49:01 0 0.02 0.00 0.02 0.00 0.02 99.95 02:50:44 02:49:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:50:44 02:49:01 2 0.07 0.00 0.03 0.00 0.00 99.90 02:50:44 02:49:01 3 0.05 0.00 0.03 0.00 0.02 99.90 02:50:44 02:50:01 all 0.04 0.00 0.03 0.00 0.00 99.93 02:50:44 02:50:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:50:44 02:50:01 1 0.02 0.00 0.00 0.00 0.00 99.98 02:50:44 02:50:01 2 0.07 0.00 0.07 0.00 0.00 99.87 02:50:44 02:50:01 3 0.03 0.00 0.05 0.00 0.00 99.92 02:50:44 Average: all 0.37 0.00 0.16 0.02 0.01 99.44 02:50:44 Average: 0 0.28 0.00 0.16 0.00 0.00 99.55 02:50:44 Average: 1 0.52 0.00 0.15 0.07 0.01 99.25 02:50:44 Average: 2 0.39 0.00 0.19 0.01 0.01 99.40 02:50:44 Average: 3 0.27 0.00 0.15 0.01 0.01 99.56 02:50:44 02:50:44 02:50:44