Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bc00545e44993ecf59cd92c98ce97789de7bf8d3+848c16ec05d796c9e5a16abafab7aa79fc4967e4 (3ad126508ef08d3f0678658ba3b1b5e6a7b33ce8) 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27269 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [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-792 # 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 > 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/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit bc00545e44993ecf59cd92c98ce97789de7bf8d3 Merge succeeded, producing d77e8cd38e1173a62cff7b2b8eeee75a341cea4b Checking out Revision d77e8cd38e1173a62cff7b2b8eeee75a341cea4b (PR-792) > git config core.sparsecheckout # timeout=10 > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # 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 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d77e8cd38e1173a62cff7b2b8eeee75a341cea4b # timeout=10 Commit message: "Merge commit '848c16ec05d796c9e5a16abafab7aa79fc4967e4' into HEAD" > git rev-list --no-walk bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:38 ========================================================= 02:43:38 EdgeX Global Pipelines Version Info 02:43:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:39 ------------------- 02:43:39 stable info: 02:43:39 ------------------- 02:43:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:39 Message: update stable to v1.0.179 02:43:40 ------------------- 02:43:40 experimental info: 02:43:40 ------------------- 02:43:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:40 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:40 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-792 [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-792 [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-792 [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d77e8cd38e1173a62cff7b2b8eeee75a341cea4b [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d77e8cd [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:44 provisioning config files... 02:43:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config6061419621909799356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:44 ---> docker-login.sh 02:43:44 nexus3.edgexfoundry.org:10001 02:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:45 Configure a credential helper to remove this warning. See 02:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:45 02:43:45 Login Succeeded 02:43:45 nexus3.edgexfoundry.org:10002 02:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:45 Configure a credential helper to remove this warning. See 02:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:45 02:43:45 Login Succeeded 02:43:45 nexus3.edgexfoundry.org:10003 02:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:45 Configure a credential helper to remove this warning. See 02:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:45 02:43:45 Login Succeeded 02:43:45 nexus3.edgexfoundry.org:10004 02:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:45 Configure a credential helper to remove this warning. See 02:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:45 02:43:45 Login Succeeded 02:43:45 docker.io 02:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:46 Configure a credential helper to remove this warning. See 02:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:46 02:43:46 Login Succeeded 02:43:46 ---> docker-login.sh ends [Pipeline] } 02:43:46 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:43:46 + git log --format=format:%s -1 d77e8cd38e1173a62cff7b2b8eeee75a341cea4b [Pipeline] echo 02:43:47 GIT_COMMIT: d77e8cd38e1173a62cff7b2b8eeee75a341cea4b, Commit Message: Merge commit '848c16ec05d796c9e5a16abafab7aa79fc4967e4' into HEAD [Pipeline] echo 02:43:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:47 02:43:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:48 latest: Pulling from edgex-devops/git-semver 02:43:48 31603596830f: Pulling fs layer 02:43:48 2a8b12db71e7: Pulling fs layer 02:43:48 6ca5941a6612: Pulling fs layer 02:43:48 ecc8261a40a4: Pulling fs layer 02:43:48 ecc8261a40a4: Waiting 02:43:48 2a8b12db71e7: Verifying Checksum 02:43:48 2a8b12db71e7: Download complete 02:43:48 31603596830f: Verifying Checksum 02:43:48 31603596830f: Download complete 02:43:48 ecc8261a40a4: Verifying Checksum 02:43:48 ecc8261a40a4: Download complete 02:43:48 6ca5941a6612: Verifying Checksum 02:43:48 6ca5941a6612: Download complete 02:43:48 31603596830f: Pull complete 02:43:48 2a8b12db71e7: Pull complete 02:43:49 6ca5941a6612: Pull complete 02:43:50 ecc8261a40a4: Pull complete 02:43:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:50 prd-centos7-docker-4c-2g-27269 does not seem to be running inside a container 02:43:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-792 -v /w/workspace/dgexfoundry_device-sdk-go_PR-792:/w/workspace/dgexfoundry_device-sdk-go_PR-792:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-792@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:52 $ docker top f7ee284f375ddfca983e88b87e2b1e63a222afaab0c84b8360bcd0ab7e9a7b10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:52 [ssh-agent] Looking for ssh-agent implementation... 02:43:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:52 $ docker exec f7ee284f375ddfca983e88b87e2b1e63a222afaab0c84b8360bcd0ab7e9a7b10 ssh-agent 02:43:52 SSH_AUTH_SOCK=/tmp/ssh-ONCgzcztmrqt/agent.12 02:43:52 SSH_AGENT_PID=17 02:43:52 Running ssh-add (command line suppressed) 02:43:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_7773534935523345200.key (/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_7773534935523345200.key) 02:43:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:53 + git tag --points-at HEAD [Pipeline] } 02:43:53 $ docker exec --env ******** --env ******** f7ee284f375ddfca983e88b87e2b1e63a222afaab0c84b8360bcd0ab7e9a7b10 ssh-agent -k 02:43:53 unset SSH_AUTH_SOCK; 02:43:53 unset SSH_AGENT_PID; 02:43:53 echo Agent pid 17 killed; 02:43:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:53 [ssh-agent] Looking for ssh-agent implementation... 02:43:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:53 $ docker exec f7ee284f375ddfca983e88b87e2b1e63a222afaab0c84b8360bcd0ab7e9a7b10 ssh-agent 02:43:54 SSH_AUTH_SOCK=/tmp/ssh-XmpLjrLJS2UZ/agent.47 02:43:54 SSH_AGENT_PID=52 02:43:54 Running ssh-add (command line suppressed) 02:43:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_2897521319103277749.key (/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_2897521319103277749.key) 02:43:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:54 + git semver init 02:43:54 # -> Open(): unable to determine branch for HEAD 02:43:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-792/.git 02:43:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-792 02:43:54 # $SEMVER_REMOTE_NAME = origin 02:43:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:54 # $SEMVER_USER_NAME = edgex-jenkins 02:43:54 # $SEMVER_BRANCH = PR-792 02:43:54 # $SEMVER_TEMP = /tmp/semver-919868736 02:43:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:55 # '/tmp/semver-919868736' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-792/.semver' 02:43:55 # -> Force: false 02:43:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-792/.semver [Pipeline] } 02:43:55 $ docker exec --env ******** --env ******** f7ee284f375ddfca983e88b87e2b1e63a222afaab0c84b8360bcd0ab7e9a7b10 ssh-agent -k 02:43:55 unset SSH_AUTH_SOCK; 02:43:55 unset SSH_AGENT_PID; 02:43:55 echo Agent pid 52 killed; 02:43:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:55 + git semver [Pipeline] } 02:43:55 $ docker stop --time=1 f7ee284f375ddfca983e88b87e2b1e63a222afaab0c84b8360bcd0ab7e9a7b10 02:43:57 $ docker rm -f f7ee284f375ddfca983e88b87e2b1e63a222afaab0c84b8360bcd0ab7e9a7b10 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:58 Stashed 1 file(s) [Pipeline] echo 02:43:58 [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:44:13 Still waiting to schedule task 02:44:13 ‘prd-centos7-blackbox-4c-2g-27021’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-27267’ is offline; ‘prd-centos7-docker-4c-2g-27270’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ 02:44:13 Still waiting to schedule task 02:44:13 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:45:18 Running on prd-centos7-docker-4c-2g-27272 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [Pipeline] { [Pipeline] ws 02:45:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:45:20 using credential edgex-jenkins-ssh 02:45:21 Cloning the remote Git repository 02:45:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:21 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:45:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:21 > git --version # timeout=10 02:45:21 > git --version # 'git version 2.24.3' 02:45:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:22 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit bc00545e44993ecf59cd92c98ce97789de7bf8d3 02:45:22 Merge succeeded, producing 3c6d2fd902c62e34d6a5d60e1af4fb7e2b3633b6 02:45:22 Checking out Revision 3c6d2fd902c62e34d6a5d60e1af4fb7e2b3633b6 (PR-792) 02:45:22 > git config core.sparsecheckout # timeout=10 02:45:22 > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 02:45:22 > git remote # timeout=10 02:45:22 > git config --get remote.origin.url # timeout=10 02:45:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:22 > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 02:45:22 > git rev-parse HEAD^{commit} # timeout=10 02:45:22 > git config core.sparsecheckout # timeout=10 02:45:22 > git checkout -f 3c6d2fd902c62e34d6a5d60e1af4fb7e2b3633b6 # timeout=10 02:45:26 Commit message: "Merge commit '848c16ec05d796c9e5a16abafab7aa79fc4967e4' into HEAD" 02:45:26 > git rev-list --no-walk bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:27 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:28 + sudo service docker restart 02:45:28 + true 02:45:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:29 provisioning config files... 02:45:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config878824962349606929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:29 ---> docker-login.sh 02:45:29 nexus3.edgexfoundry.org:10001 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:30 Configure a credential helper to remove this warning. See 02:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:30 02:45:30 Login Succeeded 02:45:30 nexus3.edgexfoundry.org:10002 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:30 Configure a credential helper to remove this warning. See 02:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:30 02:45:30 Login Succeeded 02:45:30 nexus3.edgexfoundry.org:10003 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:30 Configure a credential helper to remove this warning. See 02:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:30 02:45:30 Login Succeeded 02:45:30 nexus3.edgexfoundry.org:10004 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:30 Configure a credential helper to remove this warning. See 02:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:30 02:45:30 Login Succeeded 02:45:30 docker.io 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:31 Configure a credential helper to remove this warning. See 02:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:31 02:45:31 Login Succeeded 02:45:31 ---> docker-login.sh ends [Pipeline] } 02:45:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:31 ========================================================= 02:45:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:31 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:45:31 Sending build context to Docker daemon 2.397MB 02:45:31 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:31 Step 2/8 : FROM ${BASE} 02:45:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:32 188c0c94c7c5: Pulling fs layer 02:45:32 0ef7d3d256c8: Pulling fs layer 02:45:32 de9db76c5a1d: Pulling fs layer 02:45:32 bca2f99d35d6: Pulling fs layer 02:45:32 93359f2a8cfa: Pulling fs layer 02:45:32 7c6f9722023f: Pulling fs layer 02:45:32 a35cf1a2eb13: Pulling fs layer 02:45:32 93359f2a8cfa: Waiting 02:45:32 7c6f9722023f: Waiting 02:45:32 bca2f99d35d6: Waiting 02:45:32 a35cf1a2eb13: Waiting 02:45:32 de9db76c5a1d: Verifying Checksum 02:45:32 de9db76c5a1d: Download complete 02:45:32 0ef7d3d256c8: Verifying Checksum 02:45:32 0ef7d3d256c8: Download complete 02:45:32 93359f2a8cfa: Verifying Checksum 02:45:32 93359f2a8cfa: Download complete 02:45:32 7c6f9722023f: Verifying Checksum 02:45:32 7c6f9722023f: Download complete 02:45:32 188c0c94c7c5: Verifying Checksum 02:45:32 188c0c94c7c5: Download complete 02:45:32 188c0c94c7c5: Pull complete 02:45:32 0ef7d3d256c8: Pull complete 02:45:32 de9db76c5a1d: Pull complete 02:45:35 a35cf1a2eb13: Verifying Checksum 02:45:35 a35cf1a2eb13: Download complete 02:45:35 bca2f99d35d6: Verifying Checksum 02:45:35 bca2f99d35d6: Download complete 02:45:41 bca2f99d35d6: Pull complete 02:45:41 93359f2a8cfa: Pull complete 02:45:41 7c6f9722023f: Pull complete 02:45:46 a35cf1a2eb13: Pull complete 02:45:46 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:46 ---> a62c8e92a672 02:45:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:46 ---> Running in 02735212d307 02:45:47 Removing intermediate container 02735212d307 02:45:47 ---> d408cd5db204 02:45:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:47 ---> Running in 229a0dd5317c 02:45:47 Removing intermediate container 229a0dd5317c 02:45:47 ---> 0ae5bafd3231 02:45:47 Step 5/8 : RUN apk add --update --no-cache make git 02:45:47 ---> Running in eed5f092e123 02:45:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:50 OK: 166 MiB in 39 packages 02:45:51 Removing intermediate container eed5f092e123 02:45:51 ---> 26bbe19c319f 02:45:51 Step 6/8 : WORKDIR /device-sdk-go 02:45:51 ---> Running in 71ff1f863ded 02:45:51 Removing intermediate container 71ff1f863ded 02:45:51 ---> d24b7b4a545c 02:45:51 Step 7/8 : COPY . . 02:45:52 ---> 231d35ea1c30 02:45:52 Step 8/8 : RUN go mod download 02:45:52 ---> Running in efe80a13b79d 02:46:14 Removing intermediate container efe80a13b79d 02:46:14 ---> 7e174cd58196 02:46:14 Successfully built 7e174cd58196 02:46:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:15 + docker inspect -f . ci-base-image-x86_64 02:46:15 . [Pipeline] withDockerContainer 02:46:15 prd-centos7-docker-4c-2g-27272 does not seem to be running inside a container 02:46:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat 02:46:16 $ docker top 4a2ed260348ef269056bad329112aa2223abb45e1c99f85243dfa7148ff0c6c4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:16 + go version 02:46:16 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:16 $ docker stop --time=1 4a2ed260348ef269056bad329112aa2223abb45e1c99f85243dfa7148ff0c6c4 02:46:17 $ docker rm -f 4a2ed260348ef269056bad329112aa2223abb45e1c99f85243dfa7148ff0c6c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:18 + docker inspect -f . ci-base-image-x86_64 02:46:18 . [Pipeline] withDockerContainer 02:46:18 prd-centos7-docker-4c-2g-27272 does not seem to be running inside a container 02:46:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat 02:46:19 $ docker top a5429c29e872e85da27c46f583735defd923372db528d9a5c2c13e50132c1756 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:19 + make test 02:46:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 25.5% of statements 02:47:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27273 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [Pipeline] { [Pipeline] ws 02:47:09 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:47:14 using credential edgex-jenkins-ssh 02:47:14 Cloning the remote Git repository 02:47:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:15 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:47:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:15 > git --version # timeout=10 02:47:15 > git --version # 'git version 2.17.1' 02:47:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:17 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit bc00545e44993ecf59cd92c98ce97789de7bf8d3 02:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:17 > git config core.sparsecheckout # timeout=10 02:47:17 > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.077s coverage: 10.1% of statements 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.048s coverage: 12.5% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.067s coverage: 84.8% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 49.2% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.067s coverage: 81.3% of statements 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 24.8% of statements 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.987s coverage: 83.5% of statements 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.3% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:17 GO111MODULE=on go vet ./... 02:47:17 Merge succeeded, producing 1f12a7c5544bf837a9517928e743dd62aeb37da5 02:47:17 Checking out Revision 1f12a7c5544bf837a9517928e743dd62aeb37da5 (PR-792) 02:47:17 > git remote # timeout=10 02:47:17 > git config --get remote.origin.url # timeout=10 02:47:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:17 > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 02:47:17 > git rev-parse HEAD^{commit} # timeout=10 02:47:17 > git config core.sparsecheckout # timeout=10 02:47:17 > git checkout -f 1f12a7c5544bf837a9517928e743dd62aeb37da5 # timeout=10 02:47:22 Commit message: "Merge commit '848c16ec05d796c9e5a16abafab7aa79fc4967e4' into HEAD" 02:47:22 > git rev-list --no-walk bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:23 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:23 gofmt -l . 02:47:23 [ "`gofmt -l .`" = "" ] 02:47:23 ./bin/test-attribution-txt.sh 02:47:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 02:47:24 ./bin/test-go-mod-tidy.sh [Pipeline] sh [Pipeline] } 02:47:24 $ docker stop --time=1 a5429c29e872e85da27c46f583735defd923372db528d9a5c2c13e50132c1756 02:47:24 + + true 02:47:24 sudo service docker restart 02:47:26 $ docker rm -f a5429c29e872e85da27c46f583735defd923372db528d9a5c2c13e50132c1756 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { 02:47:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] wrap 02:47:27 provisioning config files... 02:47:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4547577992532155296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 02:47:27 ---> docker-login.sh 02:47:27 nexus3.edgexfoundry.org:10001 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:29 Configure a credential helper to remove this warning. See 02:47:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:29 02:47:29 Login Succeeded 02:47:29 nexus3.edgexfoundry.org:10002 02:47:29 + ls -al . 02:47:29 total 184 02:47:29 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 02:47 . 02:47:29 drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 02:45 .. 02:47:29 drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 02:45 bin 02:47:29 -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 02:47 coverage.out 02:47:29 -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 02:45 Dockerfile.build 02:47:29 -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 02:45 .dockerignore 02:47:29 drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 02:45 example 02:47:29 drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 02:45 .git 02:47:29 drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 02:45 .github 02:47:29 -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 02:45 .gitignore 02:47:29 -rw-r--r--. 1 jenkins jenkins 516 Feb 23 02:47 go.mod 02:47:29 -rw-r--r--. 1 jenkins jenkins 17254 Feb 23 02:47 go.sum 02:47:29 drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 02:45 internal 02:47:29 -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 02:45 Jenkinsfile 02:47:29 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 02:45 LICENSE 02:47:29 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 02:45 Makefile 02:47:29 drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 02:45 openapi 02:47:29 drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 02:45 pkg 02:47:29 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 02:45 README.md 02:47:29 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 02:45 RELEASE-NOTES.txt 02:47:29 drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 02:45 snap 02:47:29 -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 02:43 VERSION 02:47:29 -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:29 + 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=d77e8cd38e1173a62cff7b2b8eeee75a341cea4b --label arch=amd64 --label version=0.0.0 . 02:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:29 Configure a credential helper to remove this warning. See 02:47:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:29 02:47:29 Login Succeeded 02:47:29 nexus3.edgexfoundry.org:10003 02:47:29 Sending build context to Docker daemon 2.499MB 02:47:29 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:29 Step 2/24 : FROM ${BASE} AS builder 02:47:29 ---> 7e174cd58196 02:47:29 Step 3/24 : ARG MAKE='make build' 02:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:30 Configure a credential helper to remove this warning. See 02:47:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:30 02:47:30 Login Succeeded 02:47:30 nexus3.edgexfoundry.org:10004 02:47:30 ---> Running in a93913e2312c 02:47:30 Removing intermediate container a93913e2312c 02:47:30 ---> a77375c1ff76 02:47:30 Step 4/24 : WORKDIR /device-sdk-go 02:47:30 ---> Running in bba2c6832964 02:47:30 Removing intermediate container bba2c6832964 02:47:30 ---> f1f68ca766ff 02:47:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:30 Configure a credential helper to remove this warning. See 02:47:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:30 02:47:30 Login Succeeded 02:47:30 docker.io 02:47:30 ---> Running in 1c55099bcb5b 02:47:30 Removing intermediate container 1c55099bcb5b 02:47:30 ---> aa0256fa5f3d 02:47:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:31 ---> Running in 61c17fe1618c 02:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:31 Configure a credential helper to remove this warning. See 02:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:31 02:47:31 Login Succeeded 02:47:31 ---> docker-login.sh ends [Pipeline] } 02:47:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:47:32 Removing intermediate container 61c17fe1618c 02:47:32 ---> 381b65c1da95 02:47:32 Step 7/24 : RUN apk add --update --no-cache make git 02:47:32 ---> Running in 1daf2648147c [Pipeline] echo 02:47:32 ========================================================= 02:47:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:32 + 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:47:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:33 Sending build context to Docker daemon 2.397MB 02:47:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:47:33 Step 2/8 : FROM ${BASE} 02:47:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:33 5f621e34cdf4: Pulling fs layer 02:47:33 a4357932f1b6: Pulling fs layer 02:47:33 18c013af1878: Pulling fs layer 02:47:33 00ac8860ef70: Pulling fs layer 02:47:33 63d7cb157983: Pulling fs layer 02:47:33 b116817d02f9: Pulling fs layer 02:47:33 745a02a5169b: Pulling fs layer 02:47:33 00ac8860ef70: Waiting 02:47:33 63d7cb157983: Waiting 02:47:33 b116817d02f9: Waiting 02:47:33 745a02a5169b: Waiting 02:47:33 18c013af1878: Verifying Checksum 02:47:33 18c013af1878: Download complete 02:47:33 a4357932f1b6: Verifying Checksum 02:47:33 a4357932f1b6: Download complete 02:47:33 63d7cb157983: Verifying Checksum 02:47:33 63d7cb157983: Download complete 02:47:33 5f621e34cdf4: Verifying Checksum 02:47:33 5f621e34cdf4: Download complete 02:47:34 b116817d02f9: Verifying Checksum 02:47:34 b116817d02f9: Download complete 02:47:34 5f621e34cdf4: Pull complete 02:47:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:35 a4357932f1b6: Pull complete 02:47:35 18c013af1878: Pull complete 02:47:36 745a02a5169b: Verifying Checksum 02:47:36 745a02a5169b: Download complete 02:47:37 OK: 166 MiB in 39 packages 02:47:37 Removing intermediate container 1daf2648147c 02:47:37 ---> e75867cc033c 02:47:37 Step 8/24 : COPY . . 02:47:37 00ac8860ef70: Verifying Checksum 02:47:37 00ac8860ef70: Download complete 02:47:38 ---> de7fe483c3db 02:47:38 Step 9/24 : RUN ${MAKE} 02:47:38 ---> Running in 9ee52e566ba9 02:47:38 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:47:47 00ac8860ef70: Pull complete 02:47:48 63d7cb157983: Pull complete 02:47:48 b116817d02f9: Pull complete 02:47:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:50 Removing intermediate container 9ee52e566ba9 02:47:50 ---> 3d3ac11ab82e 02:47:50 Step 10/24 : FROM scratch 02:47:50 ---> 02:47:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:50 ---> Running in a91bd7aeb15a 02:47:50 Removing intermediate container a91bd7aeb15a 02:47:50 ---> 82dcbe8ecad5 02:47:50 Step 12/24 : ENV APP_PORT=49990 02:47:50 ---> Running in 43a5c70b1105 02:47:50 Removing intermediate container 43a5c70b1105 02:47:50 ---> ee4f12687bcd 02:47:50 Step 13/24 : EXPOSE $APP_PORT 02:47:50 ---> Running in 967b88cb5c24 02:47:50 Removing intermediate container 967b88cb5c24 02:47:50 ---> 8610cb83b9ea 02:47:50 Step 14/24 : WORKDIR / 02:47:50 ---> Running in ddf378eab9e8 02:47:50 Removing intermediate container ddf378eab9e8 02:47:50 ---> 03f455e502ef 02:47:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:51 ---> 8d958945ccfa 02:47:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:51 ---> 8850dcab9a9a 02:47:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:51 745a02a5169b: Pull complete 02:47:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:51 ---> b7e6874047d6 02:47:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:52 ---> b0f8e92d5da2 02:47:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:52 ---> 345a823615e5 02:47:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:52 ---> 9d2bc77734b7 02:47:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:52 ---> Running in 1ab4f20b94cd 02:47:52 Removing intermediate container 1ab4f20b94cd 02:47:52 ---> 3f23bc1ac683 02:47:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:52 ---> Running in adf26469a6ef 02:47:53 Removing intermediate container adf26469a6ef 02:47:53 ---> 52395d3dc351 02:47:53 Step 22/24 : LABEL arch=amd64 02:47:53 ---> Running in 046bf5a3a6c0 02:47:53 Removing intermediate container 046bf5a3a6c0 02:47:53 ---> c8e5d922179d 02:47:53 Step 23/24 : LABEL git_sha=d77e8cd38e1173a62cff7b2b8eeee75a341cea4b 02:47:53 ---> Running in 91b8668e006b 02:47:53 Removing intermediate container 91b8668e006b 02:47:53 ---> d92ab5504631 02:47:53 Step 24/24 : LABEL version=0.0.0 02:47:53 ---> Running in 565879bcb59d 02:47:53 Removing intermediate container 565879bcb59d 02:47:53 ---> 4c7e84e9afbc 02:47:53 [Warning] One or more build-args [ARCH] were not consumed 02:47:53 Successfully built 4c7e84e9afbc 02:47:53 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 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:55 ---> Running in 5d6e4e721bca 02:47:55 Removing intermediate container 5d6e4e721bca 02:47:55 ---> 58d1f965e4da 02:47:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:55 ---> Running in 06eeef8194a3 02:47:58 Removing intermediate container 06eeef8194a3 02:47:58 ---> 30645e642ddb 02:47:58 Step 5/8 : RUN apk add --update --no-cache make git 02:47:58 ---> Running in 132d65d0341e 02:47:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:10 OK: 142 MiB in 39 packages 02:48:11 Removing intermediate container 132d65d0341e 02:48:11 ---> 8b23ed821109 02:48:11 Step 6/8 : WORKDIR /device-sdk-go 02:48:11 ---> Running in 3d7b68984085 02:48:11 Removing intermediate container 3d7b68984085 02:48:11 ---> f7cccacb1972 02:48:11 Step 7/8 : COPY . . 02:48:13 ---> 6a13993ee2c8 02:48:13 Step 8/8 : RUN go mod download 02:48:13 ---> Running in dfa038557ace 02:48:39 Removing intermediate container dfa038557ace 02:48:39 ---> ce344cdbef95 02:48:39 Successfully built ce344cdbef95 02:48:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:40 + docker inspect -f . ci-base-image-arm64 02:48:40 . [Pipeline] withDockerContainer 02:48:40 prd-ubuntu18.04-docker-arm64-4c-16g-27273 does not seem to be running inside a container 02:48:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 02:48:42 $ docker top e8f755e20edc66f586f814b489e3274e4b833c176e9dd1f2604188a59b9776f7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:43 + go version 02:48:43 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:43 $ docker stop --time=1 e8f755e20edc66f586f814b489e3274e4b833c176e9dd1f2604188a59b9776f7 02:48:45 $ docker rm -f e8f755e20edc66f586f814b489e3274e4b833c176e9dd1f2604188a59b9776f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:46 + docker inspect -f . ci-base-image-arm64 02:48:46 . [Pipeline] withDockerContainer 02:48:46 prd-ubuntu18.04-docker-arm64-4c-16g-27273 does not seem to be running inside a container 02:48:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 02:48:48 $ docker top 69c12f553e335d060e13875e08c6ed3f61172fc260cdfd665fb830662d0ce875 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:49 + make test 02:48:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:50:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 25.5% of statements 02:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.136s coverage: 10.1% of statements 02:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 12.5% of statements 02:50:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.151s coverage: 84.8% of statements 02:50:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:50:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:50:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.188s coverage: 49.2% of statements 02:50:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.170s coverage: 81.3% of statements 02:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.165s coverage: 24.8% of statements 02:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.838s coverage: 83.5% of statements 02:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.3% of statements 02:50:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:30 GO111MODULE=on go vet ./... 02:51:09 gofmt -l . 02:51:09 [ "`gofmt -l .`" = "" ] 02:51:09 ./bin/test-attribution-txt.sh 02:51:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:09 $ docker stop --time=1 69c12f553e335d060e13875e08c6ed3f61172fc260cdfd665fb830662d0ce875 02:51:12 $ docker rm -f 69c12f553e335d060e13875e08c6ed3f61172fc260cdfd665fb830662d0ce875 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:13 Warning: overwriting stash ‘coverage-report’ 02:51:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:15 + ls -al . 02:51:15 total 220 02:51:15 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 02:51 . 02:51:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 02:47 .. 02:51:15 -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 02:47 .dockerignore 02:51:15 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 02:47 .git 02:51:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 02:47 .github 02:51:15 -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 02:47 .gitignore 02:51:15 -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 02:47 Dockerfile.build 02:51:15 -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 02:47 Jenkinsfile 02:51:15 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 02:47 LICENSE 02:51:15 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 02:47 Makefile 02:51:15 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 02:47 README.md 02:51:15 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 02:47 RELEASE-NOTES.txt 02:51:15 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 02:43 VERSION 02:51:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 02:47 bin 02:51:15 -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 02:50 coverage.out 02:51:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 02:47 example 02:51:15 -rw-r--r-- 1 jenkins jenkins 516 Feb 23 02:51 go.mod 02:51:15 -rw-r--r-- 1 jenkins jenkins 17254 Feb 23 02:51 go.sum 02:51:15 drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 02:47 internal 02:51:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 02:47 openapi 02:51:15 drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 02:47 pkg 02:51:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 02:47 snap 02:51:15 -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:51:15 + 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=d77e8cd38e1173a62cff7b2b8eeee75a341cea4b --label arch=arm64 --label version=0.0.0 . 02:51:16 Sending build context to Docker daemon 2.5MB 02:51:16 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:51:16 Step 2/24 : FROM ${BASE} AS builder 02:51:16 ---> ce344cdbef95 02:51:16 Step 3/24 : ARG MAKE='make build' 02:51:16 ---> Running in 0ed2b4b4c071 02:51:17 Removing intermediate container 0ed2b4b4c071 02:51:17 ---> 2a68f1adc336 02:51:17 Step 4/24 : WORKDIR /device-sdk-go 02:51:17 ---> Running in 0d46a2e36076 02:51:17 Removing intermediate container 0d46a2e36076 02:51:17 ---> 59e7462685a2 02:51:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:17 ---> Running in 37555574d972 02:51:18 Removing intermediate container 37555574d972 02:51:18 ---> e17ae1287cb1 02:51:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:18 ---> Running in 150e182aed04 02:51:20 Removing intermediate container 150e182aed04 02:51:20 ---> 0e6e4e921dd7 02:51:20 Step 7/24 : RUN apk add --update --no-cache make git 02:51:20 ---> Running in b3a69c4718b3 02:51:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:24 OK: 142 MiB in 39 packages 02:51:25 Removing intermediate container b3a69c4718b3 02:51:25 ---> d69432895406 02:51:25 Step 8/24 : COPY . . 02:51:27 ---> d329ac8a4d4d 02:51:27 Step 9/24 : RUN ${MAKE} 02:51:27 ---> Running in 97e60db90da4 02:51:28 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:51:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:56 Removing intermediate container 97e60db90da4 02:51:56 ---> 697929453f42 02:51:56 Step 10/24 : FROM scratch 02:51:56 ---> 02:51:56 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:56 ---> Running in 5c721c80e49c 02:51:56 Removing intermediate container 5c721c80e49c 02:51:56 ---> 7a263c5692a1 02:51:56 Step 12/24 : ENV APP_PORT=49990 02:51:56 ---> Running in 1f450f1204ef 02:51:57 Removing intermediate container 1f450f1204ef 02:51:57 ---> 5c44659d10b8 02:51:57 Step 13/24 : EXPOSE $APP_PORT 02:51:57 ---> Running in e34195b90ff3 02:51:57 Removing intermediate container e34195b90ff3 02:51:57 ---> 6ad7516df143 02:51:57 Step 14/24 : WORKDIR / 02:51:57 ---> Running in 012dfcad05e2 02:51:58 Removing intermediate container 012dfcad05e2 02:51:58 ---> c3907cce9ac0 02:51:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:59 ---> 9823dc08ce35 02:51:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:00 ---> f15747df0a61 02:52:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:00 ---> d6c869b68687 02:52:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:01 ---> a093de2b9b9f 02:52:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:02 ---> 1d8020e76100 02:52:02 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:52:02 ---> Running in c826818d50e8 02:52:02 Removing intermediate container c826818d50e8 02:52:02 ---> c8a4cda3da0f 02:52:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:02 ---> Running in f542f348e781 02:52:03 Removing intermediate container f542f348e781 02:52:03 ---> e60985b3d505 02:52:03 Step 22/24 : LABEL arch=arm64 02:52:03 ---> Running in 9efaa6385afa 02:52:04 Removing intermediate container 9efaa6385afa 02:52:04 ---> dd121e6e08d1 02:52:04 Step 23/24 : LABEL git_sha=d77e8cd38e1173a62cff7b2b8eeee75a341cea4b 02:52:04 ---> Running in 7014a922ae52 02:52:04 Removing intermediate container 7014a922ae52 02:52:04 ---> 3bd6537af419 02:52:04 Step 24/24 : LABEL version=0.0.0 02:52:04 ---> Running in ffce98b707b7 02:52:05 Removing intermediate container ffce98b707b7 02:52:05 ---> 828faa8dde9a 02:52:05 [Warning] One or more build-args [ARCH] were not consumed 02:52:05 Successfully built 828faa8dde9a 02:52:05 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:52:06 provisioning config files... 02:52:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config8230714092121298917tmp [Pipeline] { [Pipeline] sh 02:52:07 + set +x 02:52:07 + curl -s https://codecov.io/bash 02:52:07 + bash -s -- 02:52:07 02:52:07 _____ _ 02:52:07 / ____| | | 02:52:07 | | ___ __| | ___ ___ _____ __ 02:52:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:07 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:07 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:07 Bash-20210129-7c25fce 02:52:07 02:52:07 02:52:07 ==> git version 2.24.3 found 02:52:07 ==> 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:52:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:52:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:52:07 ==> Jenkins CI detected. 02:52:07 project root: . 02:52:07 --> token set from env 02:52:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:07 ==> Running gcov in . (disable via -X gcov) 02:52:07 ==> Python coveragepy not found 02:52:07 ==> Searching for coverage reports in: 02:52:07 + . 02:52:07 -> Found 1 reports 02:52:07 ==> Detecting git/mercurial file structure 02:52:07 ==> Reading reports 02:52:07 + ./coverage.out bytes=101757 02:52:07 ==> Appending adjustments 02:52:07 https://docs.codecov.io/docs/fixing-reports 02:52:08 + Found adjustments 02:52:08 ==> Gzipping contents 02:52:08 20K /tmp/codecov.6V0228.gz 02:52:08 ==> Uploading reports 02:52:08 url: https://codecov.io 02:52:08 query: branch=PR-792&commit=d77e8cd38e1173a62cff7b2b8eeee75a341cea4b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-792%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=792&job=&cmd_args= 02:52:08 -> Pinging Codecov 02:52:08 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-792&commit=d77e8cd38e1173a62cff7b2b8eeee75a341cea4b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-792%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=792&job=&cmd_args= 02:52:08 -> Uploading to 02:52:08 https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/d77e8cd38e1173a62cff7b2b8eeee75a341cea4b/d63ad0ed-0e78-4ab5-83f4-8f21015ef427.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T025208Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c06641b9715a1fbadf1b4ed768280c56a75169ce55047b70c648caae4647fe26 02:52:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:08 Dload Upload Total Spent Left Speed 02:52:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16505 0 0 100 16505 0 35509 --:--:-- --:--:-- --:--:-- 35494 02:52:09 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d77e8cd38e1173a62cff7b2b8eeee75a341cea4b [Pipeline] } 02:52:09 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:52:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:11 ---> package-listing.sh 02:52:11 ++ facter osfamily 02:52:11 ++ tr '[:upper:]' '[:lower:]' 02:52:11 + OS_FAMILY=redhat 02:52:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-792 02:52:11 + START_PACKAGES=/tmp/packages_start.txt 02:52:11 + END_PACKAGES=/tmp/packages_end.txt 02:52:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:11 + PACKAGES=/tmp/packages_start.txt 02:52:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-792 ']' 02:52:11 + PACKAGES=/tmp/packages_end.txt 02:52:11 + case "${OS_FAMILY}" in 02:52:11 + rpm -qa 02:52:11 + sort 02:52:17 + '[' -f /tmp/packages_start.txt ']' 02:52:17 + '[' -f /tmp/packages_end.txt ']' 02:52:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-792 ']' 02:52:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-792/archives/ 02:52:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-792/archives/ [Pipeline] echo 02:52:17 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-792/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:17 02:52:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:18 alpine: Pulling from edgex-lftools-log-publisher 02:52:18 df20fa9351a1: Pulling fs layer 02:52:18 36b3adc4ff6f: Pulling fs layer 02:52:18 8ad3a11d3b57: Pulling fs layer 02:52:18 46f8f816bc3b: Pulling fs layer 02:52:18 93b61091891f: Pulling fs layer 02:52:18 93b9cdb0e59b: Pulling fs layer 02:52:18 5e14af77c1be: Pulling fs layer 02:52:18 01666e4c0597: Pulling fs layer 02:52:18 aa168da1d23b: Pulling fs layer 02:52:18 93b9cdb0e59b: Waiting 02:52:18 5e14af77c1be: Waiting 02:52:18 01666e4c0597: Waiting 02:52:18 aa168da1d23b: Waiting 02:52:18 46f8f816bc3b: Waiting 02:52:18 93b61091891f: Waiting 02:52:18 36b3adc4ff6f: Verifying Checksum 02:52:18 36b3adc4ff6f: Download complete 02:52:18 46f8f816bc3b: Verifying Checksum 02:52:18 46f8f816bc3b: Download complete 02:52:18 df20fa9351a1: Verifying Checksum 02:52:18 df20fa9351a1: Download complete 02:52:18 93b9cdb0e59b: Verifying Checksum 02:52:18 93b9cdb0e59b: Download complete 02:52:18 5e14af77c1be: Verifying Checksum 02:52:18 5e14af77c1be: Download complete 02:52:18 93b61091891f: Verifying Checksum 02:52:18 93b61091891f: Download complete 02:52:18 01666e4c0597: Verifying Checksum 02:52:18 01666e4c0597: Download complete 02:52:18 8ad3a11d3b57: Verifying Checksum 02:52:18 8ad3a11d3b57: Download complete 02:52:18 df20fa9351a1: Pull complete 02:52:18 36b3adc4ff6f: Pull complete 02:52:19 8ad3a11d3b57: Pull complete 02:52:19 46f8f816bc3b: Pull complete 02:52:20 93b61091891f: Pull complete 02:52:20 93b9cdb0e59b: Pull complete 02:52:20 aa168da1d23b: Verifying Checksum 02:52:20 aa168da1d23b: Download complete 02:52:20 5e14af77c1be: Pull complete 02:52:21 01666e4c0597: Pull complete 02:52:27 aa168da1d23b: Pull complete 02:52:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:27 prd-centos7-docker-4c-2g-27269 does not seem to be running inside a container 02:52:27 $ 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-792/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-792 -v /w/workspace/dgexfoundry_device-sdk-go_PR-792:/w/workspace/dgexfoundry_device-sdk-go_PR-792:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-792@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:10003/edgex-lftools-log-publisher:alpine cat 02:52:31 $ docker top 0b19535d18a83921d44234841fa39a72d7076e90c547e5ce77a2817c14d29c7f -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:31 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:32 + mkdir -p /var/log/sa [Pipeline] sh 02:52:32 + ls /var/log/sa-host 02:52:32 + sadf -c /var/log/sa-host/sa23 02:52:32 file_magic: OK 02:52:32 HZ: Using current value: 100 02:52:32 file_header: OK 02:52:32 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:52:32 Statistics: 02:52:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:32 provisioning config files... 02:52:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config4621880228567928180tmp [Pipeline] { [Pipeline] echo 02:52:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:33 ---> create-netrc.sh [Pipeline] } 02:52:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:33 ---> python-tools-install.sh [Pipeline] echo 02:52:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:33 ---> sudo-logs.sh 02:52:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:52:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:34 ---> job-cost.sh 02:52:34 lf-activate-venv: SKIPPING 02:52:34 INFO: No Stack... 02:52:35 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:35 INFO: Archiving Costs [Pipeline] echo 02:52:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:36 ---> logs-deploy.sh 02:52:36 lf-activate-venv: SKIPPING 02:52:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-792/2 02:52:36 INFO: archiving workspace using pattern(s): 02:52:38 Archives upload complete. 02:52:38 INFO: archiving logs to Nexus 02:52:39 ---> uname -a: 02:52:39 Linux prd-centos7-docker-4c-2g-27269.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:52:39 02:52:39 02:52:39 ---> lscpu: 02:52:39 Architecture: x86_64 02:52:39 CPU op-mode(s): 32-bit, 64-bit 02:52:39 Byte Order: Little Endian 02:52:39 Address sizes: 40 bits physical, 48 bits virtual 02:52:39 CPU(s): 4 02:52:39 On-line CPU(s) list: 0-3 02:52:39 Thread(s) per core: 1 02:52:39 Core(s) per socket: 1 02:52:39 Socket(s): 4 02:52:39 NUMA node(s): 1 02:52:39 Vendor ID: GenuineIntel 02:52:39 CPU family: 6 02:52:39 Model: 44 02:52:39 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:39 Stepping: 1 02:52:39 CPU MHz: 2933.436 02:52:39 BogoMIPS: 5866.87 02:52:39 Virtualization: VT-x 02:52:39 Hypervisor vendor: KVM 02:52:39 Virtualization type: full 02:52:39 L1d cache: 128 KiB 02:52:39 L1i cache: 128 KiB 02:52:39 L2 cache: 16 MiB 02:52:39 L3 cache: 64 MiB 02:52:39 NUMA node0 CPU(s): 0-3 02:52:39 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:39 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:39 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:39 Vulnerability Meltdown: Mitigation; PTI 02:52:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:39 Vulnerability Srbds: Not affected 02:52:39 Vulnerability Tsx async abort: Not affected 02:52:39 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:52:39 02:52:39 02:52:39 ---> nproc: 02:52:39 4 02:52:39 02:52:39 02:52:39 ---> df -h: 02:52:39 Filesystem Size Used Available Use% Mounted on 02:52:39 overlay 50.0G 7.3G 42.7G 15% / 02:52:39 tmpfs 64.0M 0 64.0M 0% /dev 02:52:39 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:39 shm 64.0M 0 64.0M 0% /dev/shm 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-792 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:39 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:39 02:52:39 02:52:39 ---> free -m: 02:52:39 total used free shared buff/cache available 02:52:39 Mem: 1837 713 81 0 1042 1019 02:52:39 Swap: 1023 1 1022 02:52:39 02:52:39 02:52:39 ---> ip addr: 02:52:39 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:39 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:39 inet 127.0.0.1/8 scope host lo 02:52:39 valid_lft forever preferred_lft forever 02:52:39 inet6 ::1/128 scope host 02:52:39 valid_lft forever preferred_lft forever 02:52:39 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:39 link/ether fa:16:3e:35:ab:93 brd ff:ff:ff:ff:ff:ff 02:52:39 inet 10.30.122.123/23 brd 10.30.123.255 scope global dynamic eth0 02:52:39 valid_lft 85823sec preferred_lft 85823sec 02:52:39 inet6 fe80::f816:3eff:fe35:ab93/64 scope link 02:52:39 valid_lft forever preferred_lft forever 02:52:39 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:39 link/ether 02:42:61:54:39:6d brd ff:ff:ff:ff:ff:ff 02:52:39 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:39 valid_lft forever preferred_lft forever 02:52:39 inet6 fe80::42:61ff:fe54:396d/64 scope link 02:52:39 valid_lft forever preferred_lft forever 02:52:39 02:52:39 02:52:39 ---> sar -b -r -n DEV: 02:52:39 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/23/21 _x86_64_ (4 CPU) 02:52:39 02:52:39 02:42:50 LINUX RESTART (4 CPU) 02:52:39 02:52:39 02:44:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:39 02:45:02 3.88 0.00 3.88 0.00 0.00 118.60 0.00 02:52:39 02:46:01 0.47 0.00 0.47 0.00 0.00 7.38 0.00 02:52:39 02:47:01 0.25 0.00 0.25 0.00 0.00 2.85 0.00 02:52:39 02:48:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 02:52:39 02:49:01 0.27 0.00 0.27 0.00 0.00 3.98 0.00 02:52:39 02:50:01 0.32 0.00 0.32 0.00 0.00 3.96 0.00 02:52:39 02:51:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 02:52:39 02:52:01 0.22 0.00 0.22 0.00 0.00 2.30 0.00 02:52:39 Average: 0.74 0.00 0.74 0.00 0.00 18.26 0.00 02:52:39 02:52:39 02:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:39 02:45:02 154792 0 588608 31.28 2620 1135524 1092276 37.28 398008 1128196 16 02:52:39 02:46:01 153544 0 589848 31.35 2620 1135532 1092300 37.28 405592 1122412 8 02:52:39 02:47:01 155012 0 588376 31.27 2620 1135536 1077884 36.79 407816 1118716 8 02:52:39 02:48:01 151504 0 591884 31.46 2620 1135536 1078004 36.79 412188 1118124 8 02:52:39 02:49:01 151960 0 591420 31.43 2620 1135544 1077968 36.79 404424 1125532 8 02:52:39 02:50:01 152108 0 591268 31.42 2620 1135548 1077944 36.79 404328 1125532 8 02:52:39 02:51:01 152456 0 590860 31.40 2620 1135608 1077884 36.79 404084 1125548 20 02:52:39 02:52:01 152480 0 590888 31.40 2620 1135556 1077884 36.79 404124 1125532 8 02:52:39 Average: 152982 0 590394 31.38 2620 1135548 1081518 36.91 405070 1123699 10 02:52:39 02:52:39 02:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:39 02:45:02 eth0 2.61 0.92 0.91 0.56 0.00 0.00 0.00 0.00 02:52:39 02:45:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:45:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:46:01 eth0 1.27 0.61 0.56 0.44 0.00 0.00 0.00 0.00 02:52:39 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:47:01 eth0 0.53 0.08 0.06 0.01 0.00 0.00 0.00 0.00 02:52:39 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:48:01 eth0 0.55 0.35 0.27 0.20 0.00 0.00 0.00 0.00 02:52:39 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:49:01 eth0 0.28 0.18 0.14 0.07 0.00 0.00 0.00 0.00 02:52:39 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:50:01 eth0 0.18 0.13 0.06 0.01 0.00 0.00 0.00 0.00 02:52:39 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:51:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 02:52:39 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:52:01 eth0 0.08 0.03 0.01 0.00 0.00 0.00 0.00 0.00 02:52:39 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 Average: eth0 0.70 0.30 0.25 0.16 0.00 0.00 0.00 0.00 02:52:39 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:39 02:52:39 02:52:39 ---> sar -P ALL: 02:52:39 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/23/21 _x86_64_ (4 CPU) 02:52:39 02:52:39 02:42:50 LINUX RESTART (4 CPU) 02:52:39 02:52:39 02:44:01 CPU %user %nice %system %iowait %steal %idle 02:52:39 02:45:02 all 0.20 0.00 0.07 0.00 0.01 99.72 02:52:39 02:45:02 0 0.05 0.00 0.05 0.00 0.02 99.88 02:52:39 02:45:02 1 0.10 0.00 0.08 0.00 0.02 99.80 02:52:39 02:45:02 2 0.08 0.00 0.08 0.00 0.00 99.83 02:52:39 02:45:02 3 0.57 0.00 0.07 0.00 0.00 99.37 02:52:39 02:46:01 all 0.19 0.00 0.04 0.00 0.00 99.76 02:52:39 02:46:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:52:39 02:46:01 1 0.14 0.00 0.05 0.00 0.00 99.81 02:52:39 02:46:01 2 0.07 0.00 0.05 0.00 0.00 99.88 02:52:39 02:46:01 3 0.54 0.00 0.05 0.00 0.00 99.41 02:52:39 02:47:01 all 0.15 0.00 0.05 0.00 0.00 99.80 02:52:39 02:47:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:52:39 02:47:01 1 0.03 0.00 0.05 0.00 0.00 99.92 02:52:39 02:47:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:52:39 02:47:01 3 0.50 0.00 0.05 0.00 0.00 99.45 02:52:39 02:48:01 all 0.15 0.00 0.04 0.00 0.00 99.81 02:52:39 02:48:01 0 0.05 0.00 0.05 0.00 0.00 99.90 02:52:39 02:48:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:52:39 02:48:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:52:39 02:48:01 3 0.52 0.00 0.07 0.00 0.00 99.42 02:52:39 02:49:01 all 0.15 0.00 0.14 0.00 0.01 99.70 02:52:39 02:49:01 0 0.05 0.00 0.12 0.00 0.02 99.82 02:52:39 02:49:01 1 0.08 0.00 0.22 0.00 0.00 99.70 02:52:39 02:49:01 2 0.05 0.00 0.07 0.00 0.00 99.88 02:52:39 02:49:01 3 0.40 0.00 0.15 0.00 0.03 99.42 02:52:39 02:50:01 all 0.08 0.00 0.03 0.00 0.00 99.89 02:52:39 02:50:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:52:39 02:50:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:52:39 02:50:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:52:39 02:50:01 3 0.23 0.00 0.03 0.00 0.00 99.73 02:52:39 02:51:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:52:39 02:51:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:52:39 02:51:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:52:39 02:51:01 2 0.03 0.00 0.05 0.00 0.02 99.90 02:52:39 02:51:01 3 0.48 0.00 0.03 0.00 0.00 99.48 02:52:39 02:52:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:52:39 02:52:01 0 0.00 0.00 0.02 0.00 0.00 99.98 02:52:39 02:52:01 1 0.03 0.00 0.05 0.00 0.00 99.92 02:52:39 02:52:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:52:39 02:52:01 3 0.52 0.00 0.03 0.00 0.00 99.45 02:52:39 Average: all 0.15 0.00 0.05 0.00 0.00 99.79 02:52:39 Average: 0 0.03 0.00 0.04 0.00 0.00 99.92 02:52:39 Average: 1 0.06 0.00 0.07 0.00 0.00 99.87 02:52:39 Average: 2 0.05 0.00 0.05 0.00 0.00 99.90 02:52:39 Average: 3 0.47 0.00 0.06 0.00 0.00 99.47 02:52:39 02:52:39 02:52:39