Pull request #738 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9e21f7aaa05ce715440a955ecf777a7356d89dab+d47b03cf12e2f169eefdaad978a8d5668b399891 (daf249907bb43fbaf84413714b696ffb87cc82ce) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20974 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [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-738 # 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/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 9e21f7aaa05ce715440a955ecf777a7356d89dab Merge succeeded, producing 9e21f7aaa05ce715440a955ecf777a7356d89dab Checking out Revision 9e21f7aaa05ce715440a955ecf777a7356d89dab (PR-738) > git config core.sparsecheckout # timeout=10 > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # 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 d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 Commit message: "refactor: remove ValueType enumeration in Go-SDK" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:44:13 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:44:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:44:13 ========================================================= 09:44:13 EdgeX Global Pipelines Version Info 09:44:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:44:15 ------------------- 09:44:15 stable info: 09:44:15 ------------------- 09:44:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:44:15 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 09:44:15 Message: update stable to v1.0.177 09:44:16 ------------------- 09:44:16 experimental info: 09:44:16 ------------------- 09:44:16 Commited By: **** collab-it+edgex@linuxfoundation.org 09:44:16 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 09:44:16 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:44:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:44:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:44:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:44:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:44:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:44:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:44:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:44:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:44:18 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 09:44:19 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 09:44:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-738 [Pipeline] echo 09:44:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-738 [Pipeline] echo 09:44:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-738 [Pipeline] echo 09:44:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e21f7aaa05ce715440a955ecf777a7356d89dab [Pipeline] echo 09:44:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e21f7a [Pipeline] echo 09:44:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:44:19 provisioning config files... 09:44:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config4295965389053993826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:20 ---> docker-login.sh 09:44:20 nexus3.edgexfoundry.org:10001 09:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:20 Configure a credential helper to remove this warning. See 09:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:20 09:44:20 Login Succeeded 09:44:20 nexus3.edgexfoundry.org:10002 09:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:20 Configure a credential helper to remove this warning. See 09:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:20 09:44:20 Login Succeeded 09:44:20 nexus3.edgexfoundry.org:10003 09:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:21 Configure a credential helper to remove this warning. See 09:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:21 09:44:21 Login Succeeded 09:44:21 nexus3.edgexfoundry.org:10004 09:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:21 Configure a credential helper to remove this warning. See 09:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:21 09:44:21 Login Succeeded 09:44:21 docker.io 09:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:21 Configure a credential helper to remove this warning. See 09:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:21 09:44:21 Login Succeeded 09:44:21 ---> docker-login.sh ends [Pipeline] } 09:44:21 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 09:44:22 + git log --format=format:%s -1 9e21f7aaa05ce715440a955ecf777a7356d89dab [Pipeline] echo 09:44:22 GIT_COMMIT: 9e21f7aaa05ce715440a955ecf777a7356d89dab, Commit Message: refactor: remove ValueType enumeration in Go-SDK [Pipeline] echo 09:44:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:44:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:44:23 09:44:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:44:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:44:24 latest: Pulling from edgex-devops/git-semver 09:44:24 31603596830f: Pulling fs layer 09:44:24 2a8b12db71e7: Pulling fs layer 09:44:24 6ca5941a6612: Pulling fs layer 09:44:24 ecc8261a40a4: Pulling fs layer 09:44:24 ecc8261a40a4: Waiting 09:44:24 2a8b12db71e7: Verifying Checksum 09:44:24 2a8b12db71e7: Download complete 09:44:24 31603596830f: Verifying Checksum 09:44:24 31603596830f: Download complete 09:44:24 ecc8261a40a4: Verifying Checksum 09:44:24 ecc8261a40a4: Download complete 09:44:24 6ca5941a6612: Verifying Checksum 09:44:24 6ca5941a6612: Download complete 09:44:24 31603596830f: Pull complete 09:44:24 2a8b12db71e7: Pull complete 09:44:25 6ca5941a6612: Pull complete 09:44:25 ecc8261a40a4: Pull complete 09:44:25 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:44:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:44:26 prd-centos7-docker-4c-2g-20974 does not seem to be running inside a container 09:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@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 09:44:28 $ docker top 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:44:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:28 [ssh-agent] Looking for ssh-agent implementation... 09:44:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:28 $ docker exec 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 ssh-agent 09:44:29 SSH_AUTH_SOCK=/tmp/ssh-QQ3YWwpRrkrb/agent.12 09:44:29 SSH_AGENT_PID=18 09:44:29 Running ssh-add (command line suppressed) 09:44:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_5072667311676116487.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_5072667311676116487.key) 09:44:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:29 + git tag --points-at HEAD [Pipeline] } 09:44:29 $ docker exec --env ******** --env ******** 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 ssh-agent -k 09:44:29 unset SSH_AUTH_SOCK; 09:44:29 unset SSH_AGENT_PID; 09:44:29 echo Agent pid 18 killed; 09:44:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:44:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:29 [ssh-agent] Looking for ssh-agent implementation... 09:44:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:30 $ docker exec 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 ssh-agent 09:44:30 SSH_AUTH_SOCK=/tmp/ssh-PMDARiicD8xR/agent.47 09:44:30 SSH_AGENT_PID=52 09:44:30 Running ssh-add (command line suppressed) 09:44:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_2934246356804841264.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_2934246356804841264.key) 09:44:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:30 + git semver init 09:44:30 # -> Open(): unable to determine branch for HEAD 09:44:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.git 09:44:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-738 09:44:30 # $SEMVER_REMOTE_NAME = origin 09:44:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:44:30 # $SEMVER_USER_NAME = edgex-jenkins 09:44:30 # $SEMVER_BRANCH = PR-738 09:44:30 # $SEMVER_TEMP = /tmp/semver-939632637 09:44:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:44:31 # '/tmp/semver-939632637' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver' 09:44:31 # -> Force: false 09:44:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver [Pipeline] } 09:44:31 $ docker exec --env ******** --env ******** 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 ssh-agent -k 09:44:31 unset SSH_AUTH_SOCK; 09:44:31 unset SSH_AGENT_PID; 09:44:31 echo Agent pid 52 killed; 09:44:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:44:32 + git semver [Pipeline] } 09:44:32 $ docker stop --time=1 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 09:44:33 $ docker rm -f 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 [Pipeline] // withDockerContainer [Pipeline] sh 09:44:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:44:34 Stashed 1 file(s) [Pipeline] echo 09:44:34 [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 09:44:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20957 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws 09:44:35 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:44:39 using credential edgex-jenkins-ssh 09:44:39 Cloning the remote Git repository 09:44:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:44:39 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:44:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:44:40 > git --version # timeout=10 09:44:40 > git --version # 'git version 2.17.1' 09:44:40 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:44:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:44:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:44:41 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:44:41 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 9e21f7aaa05ce715440a955ecf777a7356d89dab 09:44:42 Merge succeeded, producing 9e21f7aaa05ce715440a955ecf777a7356d89dab 09:44:42 Checking out Revision 9e21f7aaa05ce715440a955ecf777a7356d89dab (PR-738) 09:44:41 > git config core.sparsecheckout # timeout=10 09:44:41 > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 09:44:41 > git remote # timeout=10 09:44:41 > git config --get remote.origin.url # timeout=10 09:44:42 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:42 > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 09:44:42 > git rev-parse HEAD^{commit} # timeout=10 09:44:42 > git config core.sparsecheckout # timeout=10 09:44:42 > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 09:44:46 Commit message: "refactor: remove ValueType enumeration in Go-SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:47 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:44:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:44:48 + + true 09:44:48 sudo service docker restart 09:44:50 Still waiting to schedule task 09:44:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:44:50 provisioning config files... 09:44:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5687913388094790844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:51 ---> docker-login.sh 09:44:51 nexus3.edgexfoundry.org:10001 09:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:52 Configure a credential helper to remove this warning. See 09:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:52 09:44:52 Login Succeeded 09:44:52 nexus3.edgexfoundry.org:10002 09:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:52 Configure a credential helper to remove this warning. See 09:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:52 09:44:52 Login Succeeded 09:44:52 nexus3.edgexfoundry.org:10003 09:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:53 Configure a credential helper to remove this warning. See 09:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:53 09:44:53 Login Succeeded 09:44:53 nexus3.edgexfoundry.org:10004 09:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:53 Configure a credential helper to remove this warning. See 09:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:53 09:44:53 Login Succeeded 09:44:53 docker.io 09:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:54 Configure a credential helper to remove this warning. See 09:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:54 09:44:54 Login Succeeded 09:44:54 ---> docker-login.sh ends [Pipeline] } 09:44:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:44:55 ========================================================= 09:44:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:44:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:44:55 + 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 . 09:44:56 Sending build context to Docker daemon 2.587MB 09:44:56 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:44:56 Step 2/8 : FROM ${BASE} 09:44:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:44:56 5f621e34cdf4: Pulling fs layer 09:44:56 a4357932f1b6: Pulling fs layer 09:44:56 18c013af1878: Pulling fs layer 09:44:56 00ac8860ef70: Pulling fs layer 09:44:56 63d7cb157983: Pulling fs layer 09:44:56 b116817d02f9: Pulling fs layer 09:44:56 745a02a5169b: Pulling fs layer 09:44:56 63d7cb157983: Waiting 09:44:56 b116817d02f9: Waiting 09:44:56 00ac8860ef70: Waiting 09:44:56 745a02a5169b: Waiting 09:44:56 18c013af1878: Verifying Checksum 09:44:56 18c013af1878: Download complete 09:44:56 a4357932f1b6: Verifying Checksum 09:44:56 a4357932f1b6: Download complete 09:44:56 63d7cb157983: Verifying Checksum 09:44:56 63d7cb157983: Download complete 09:44:56 b116817d02f9: Verifying Checksum 09:44:56 b116817d02f9: Download complete 09:44:56 5f621e34cdf4: Verifying Checksum 09:44:56 5f621e34cdf4: Download complete 09:44:56 5f621e34cdf4: Pull complete 09:44:57 a4357932f1b6: Pull complete 09:44:57 18c013af1878: Pull complete 09:44:59 745a02a5169b: Verifying Checksum 09:44:59 745a02a5169b: Download complete 09:45:00 00ac8860ef70: Verifying Checksum 09:45:00 00ac8860ef70: Download complete 09:45:10 00ac8860ef70: Pull complete 09:45:11 63d7cb157983: Pull complete 09:45:11 b116817d02f9: Pull complete 09:45:15 745a02a5169b: Pull complete 09:45:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:45:15 ---> b7e6874047d6 09:45:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:45:18 ---> Running in 3c2afd4e6174 09:45:18 Removing intermediate container 3c2afd4e6174 09:45:18 ---> edbee9b631b8 09:45:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:45:18 ---> Running in 4c17dd2e2411 09:45:21 Removing intermediate container 4c17dd2e2411 09:45:21 ---> 396dcfc4baea 09:45:21 Step 5/8 : RUN apk add --update --no-cache make git 09:45:21 ---> Running in b34ba5c35906 09:45:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:45:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:45:23 OK: 142 MiB in 39 packages 09:45:24 Removing intermediate container b34ba5c35906 09:45:24 ---> f851a05b4e54 09:45:24 Step 6/8 : WORKDIR /device-sdk-go 09:45:24 ---> Running in b6c0a2979249 09:45:25 Removing intermediate container b6c0a2979249 09:45:25 ---> 186ad2897498 09:45:25 Step 7/8 : COPY . . 09:45:26 ---> b2c9dcf26dfb 09:45:26 Step 8/8 : RUN go mod download 09:45:26 ---> Running in 1a31695f7218 09:45:48 Removing intermediate container 1a31695f7218 09:45:48 ---> 8115cf7138e1 09:45:48 Successfully built 8115cf7138e1 09:45:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:45:49 + docker inspect -f . ci-base-image-arm64 09:45:49 . [Pipeline] withDockerContainer 09:45:49 prd-ubuntu18.04-docker-arm64-4c-16g-20957 does not seem to be running inside a container 09:45:49 $ 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 ******** -e ******** ci-base-image-arm64 cat 09:45:51 $ docker top 2c1238d9ac1c4d8b69e89c59c95f9944c6f9f9fc5e9ce7006c112b30010cd652 -eo pid,comm [Pipeline] { [Pipeline] sh 09:45:52 + go version 09:45:52 go version go1.15.5 linux/arm64 [Pipeline] } 09:45:52 $ docker stop --time=1 2c1238d9ac1c4d8b69e89c59c95f9944c6f9f9fc5e9ce7006c112b30010cd652 09:45:54 $ docker rm -f 2c1238d9ac1c4d8b69e89c59c95f9944c6f9f9fc5e9ce7006c112b30010cd652 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:45:55 + docker inspect -f . ci-base-image-arm64 09:45:55 . [Pipeline] withDockerContainer 09:45:55 prd-ubuntu18.04-docker-arm64-4c-16g-20957 does not seem to be running inside a container 09:45:55 $ 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 ******** -e ******** ci-base-image-arm64 cat 09:45:57 $ docker top 7a6bd0f0d6f4eb43e62d864659867b03edb91ed050b5dc37b30c34196481a203 -eo pid,comm [Pipeline] { [Pipeline] sh 09:45:58 + make test 09:45:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:46:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:47:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:47:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:47:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:47:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 19.4% of statements 09:47:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.180s coverage: 97.1% of statements 09:47:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.123s coverage: 9.4% of statements 09:47:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.112s coverage: 21.7% of statements 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:47:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.627s coverage: 42.9% of statements 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:47:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.726s coverage: 68.9% of statements 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:47:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 09:47:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.180s coverage: 25.6% of statements 09:47:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.982s coverage: 83.5% of statements 09:47:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 4.2% of statements 09:47:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:47:34 GO111MODULE=on go vet ./... 09:47:44 Running on prd-centos7-docker-4c-2g-20975 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws 09:47:44 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:47:51 using credential edgex-jenkins-ssh 09:47:51 Cloning the remote Git repository 09:47:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:47:51 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:47:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:47:51 > git --version # timeout=10 09:47:51 > git --version # 'git version 2.24.3' 09:47:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:47:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:47:53 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 9e21f7aaa05ce715440a955ecf777a7356d89dab 09:47:53 Merge succeeded, producing 9e21f7aaa05ce715440a955ecf777a7356d89dab 09:47:53 Checking out Revision 9e21f7aaa05ce715440a955ecf777a7356d89dab (PR-738) 09:47:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:47:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:47:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:47:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:47:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:47:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:47:53 > git config core.sparsecheckout # timeout=10 09:47:53 > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 09:47:53 > git remote # timeout=10 09:47:53 > git config --get remote.origin.url # timeout=10 09:47:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:47:53 > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 09:47:53 > git rev-parse HEAD^{commit} # timeout=10 09:47:53 > git config core.sparsecheckout # timeout=10 09:47:53 > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 09:47:58 Commit message: "refactor: remove ValueType enumeration in Go-SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:48:00 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:48:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:48:01 + sudo service docker restart 09:48:01 + true 09:48:01 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:48:02 provisioning config files... 09:48:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5109665025928446237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:03 ---> docker-login.sh 09:48:03 nexus3.edgexfoundry.org:10001 09:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:04 Configure a credential helper to remove this warning. See 09:48:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:04 09:48:04 Login Succeeded 09:48:04 nexus3.edgexfoundry.org:10002 09:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:04 Configure a credential helper to remove this warning. See 09:48:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:04 09:48:04 Login Succeeded 09:48:04 nexus3.edgexfoundry.org:10003 09:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:04 Configure a credential helper to remove this warning. See 09:48:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:04 09:48:04 Login Succeeded 09:48:04 nexus3.edgexfoundry.org:10004 09:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:05 Configure a credential helper to remove this warning. See 09:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:05 09:48:05 Login Succeeded 09:48:05 docker.io 09:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:05 Configure a credential helper to remove this warning. See 09:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:05 09:48:05 Login Succeeded 09:48:05 ---> docker-login.sh ends [Pipeline] } 09:48:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:48:06 ========================================================= 09:48:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:48:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:48:06 + 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 . 09:48:06 gofmt -l . 09:48:07 [ "`gofmt -l .`" = "" ] 09:48:07 Sending build context to Docker daemon 2.581MB 09:48:07 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:48:07 Step 2/8 : FROM ${BASE} 09:48:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:48:07 188c0c94c7c5: Pulling fs layer 09:48:07 0ef7d3d256c8: Pulling fs layer 09:48:07 de9db76c5a1d: Pulling fs layer 09:48:07 bca2f99d35d6: Pulling fs layer 09:48:07 93359f2a8cfa: Pulling fs layer 09:48:07 7c6f9722023f: Pulling fs layer 09:48:07 a35cf1a2eb13: Pulling fs layer 09:48:07 93359f2a8cfa: Waiting 09:48:07 7c6f9722023f: Waiting 09:48:07 a35cf1a2eb13: Waiting 09:48:07 bca2f99d35d6: Waiting 09:48:07 de9db76c5a1d: Verifying Checksum 09:48:07 de9db76c5a1d: Download complete 09:48:07 0ef7d3d256c8: Verifying Checksum 09:48:07 0ef7d3d256c8: Download complete 09:48:07 ./bin/test-attribution-txt.sh 09:48:08 93359f2a8cfa: Verifying Checksum 09:48:08 93359f2a8cfa: Download complete 09:48:08 7c6f9722023f: Verifying Checksum 09:48:08 7c6f9722023f: Download complete 09:48:08 188c0c94c7c5: Verifying Checksum 09:48:08 188c0c94c7c5: Download complete 09:48:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:48:08 $ docker stop --time=1 7a6bd0f0d6f4eb43e62d864659867b03edb91ed050b5dc37b30c34196481a203 09:48:09 188c0c94c7c5: Pull complete 09:48:09 0ef7d3d256c8: Pull complete 09:48:09 de9db76c5a1d: Pull complete 09:48:11 a35cf1a2eb13: Verifying Checksum 09:48:11 a35cf1a2eb13: Download complete 09:48:11 $ docker rm -f 7a6bd0f0d6f4eb43e62d864659867b03edb91ed050b5dc37b30c34196481a203 [Pipeline] // withDockerContainer [Pipeline] sh 09:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:48:13 bca2f99d35d6: Verifying Checksum 09:48:13 bca2f99d35d6: Download complete 09:48:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:48:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:48:16 + ls -al . 09:48:16 total 252 09:48:16 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 09:48 . 09:48:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:44 .. 09:48:16 -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 09:44 .dockerignore 09:48:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 09:44 .git 09:48:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 09:44 .github 09:48:16 -rw-rw-r-- 1 jenkins jenkins 138 Jan 18 09:44 .gitignore 09:48:16 -rw-rw-r-- 1 jenkins jenkins 949 Jan 18 09:44 Dockerfile.build 09:48:16 -rw-rw-r-- 1 jenkins jenkins 901 Jan 18 09:44 Jenkinsfile 09:48:16 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 18 09:44 LICENSE 09:48:16 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 18 09:44 Makefile 09:48:16 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 18 09:44 README.md 09:48:16 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 18 09:44 RELEASE-NOTES.txt 09:48:16 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 09:44 VERSION 09:48:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 09:44 bin 09:48:16 -rw-r--r-- 1 jenkins jenkins 137435 Jan 18 09:47 coverage.out 09:48:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:44 example 09:48:16 -rw-r--r-- 1 jenkins jenkins 491 Jan 18 09:48 go.mod 09:48:16 -rw-r--r-- 1 jenkins jenkins 14124 Jan 18 09:48 go.sum 09:48:16 drwxrwxr-x 15 jenkins jenkins 4096 Jan 18 09:44 internal 09:48:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:44 openapi 09:48:16 drwxrwxr-x 5 jenkins jenkins 4096 Jan 18 09:44 pkg 09:48:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:44 snap 09:48:16 -rw-rw-r-- 1 jenkins jenkins 222 Jan 18 09:44 version.go [Pipeline] isUnix [Pipeline] sh 09:48:16 + 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=9e21f7aaa05ce715440a955ecf777a7356d89dab --label arch=arm64 --label version=0.0.0 . 09:48:17 Sending build context to Docker daemon 2.725MB 09:48:17 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:48:17 Step 2/24 : FROM ${BASE} AS builder 09:48:17 ---> 8115cf7138e1 09:48:17 Step 3/24 : ARG MAKE='make build' 09:48:17 ---> Running in 0c0535279ec5 09:48:17 Removing intermediate container 0c0535279ec5 09:48:17 ---> d19e961c7325 09:48:17 Step 4/24 : WORKDIR /device-sdk-go 09:48:18 ---> Running in bd5179fd16d2 09:48:18 Removing intermediate container bd5179fd16d2 09:48:18 ---> d24a83a723db 09:48:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:48:18 ---> Running in 2bb93692bbe1 09:48:19 Removing intermediate container 2bb93692bbe1 09:48:19 ---> fb9c68406631 09:48:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:48:19 ---> Running in 6292e70dfad7 09:48:21 Removing intermediate container 6292e70dfad7 09:48:21 ---> bfa5a895745a 09:48:21 Step 7/24 : RUN apk add --update --no-cache make git 09:48:21 ---> Running in 360bddf50bb8 09:48:21 bca2f99d35d6: Pull complete 09:48:21 93359f2a8cfa: Pull complete 09:48:21 7c6f9722023f: Pull complete 09:48:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:48:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:48:24 OK: 142 MiB in 39 packages 09:48:25 Removing intermediate container 360bddf50bb8 09:48:25 ---> d0106bc4ab50 09:48:25 Step 8/24 : COPY . . 09:48:26 ---> 045595331712 09:48:26 Step 9/24 : RUN ${MAKE} 09:48:26 ---> Running in cba0f3936e92 09:48: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 09:48:28 a35cf1a2eb13: Pull complete 09:48:28 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:48:28 ---> a62c8e92a672 09:48:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:48:28 ---> Running in 4d8461c29d8e 09:48:29 Removing intermediate container 4d8461c29d8e 09:48:29 ---> 5484e350ceaf 09:48:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:48:29 ---> Running in f042dd88e123 09:48:31 Removing intermediate container f042dd88e123 09:48:31 ---> 2b653c4d8b04 09:48:31 Step 5/8 : RUN apk add --update --no-cache make git 09:48:31 ---> Running in f757500e1aac 09:48:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:48:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:48:33 OK: 166 MiB in 39 packages 09:48:34 Removing intermediate container f757500e1aac 09:48:34 ---> 7b5679151432 09:48:34 Step 6/8 : WORKDIR /device-sdk-go 09:48:34 ---> Running in 4f694fc7f830 09:48:34 Removing intermediate container 4f694fc7f830 09:48:34 ---> 0c87acba654c 09:48:34 Step 7/8 : COPY . . 09:48:36 ---> 6150398007a4 09:48:36 Step 8/8 : RUN go mod download 09:48:36 ---> Running in b8ccd9b84eae 09:48:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:48:55 Removing intermediate container cba0f3936e92 09:48:55 ---> dc882d988f64 09:48:55 Step 10/24 : FROM scratch 09:48:55 ---> 09:48:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:48:55 ---> Running in f6c0890fba34 09:48:56 Removing intermediate container f6c0890fba34 09:48:56 ---> 465c56d71c76 09:48:56 Step 12/24 : ENV APP_PORT=49990 09:48:56 ---> Running in 797c69e823fc 09:48:56 Removing intermediate container 797c69e823fc 09:48:56 ---> 99d4682e19ad 09:48:56 Step 13/24 : EXPOSE $APP_PORT 09:48:56 ---> Running in ffdef95d3091 09:48:57 Removing intermediate container ffdef95d3091 09:48:57 ---> 22ffc307d8ea 09:48:57 Step 14/24 : WORKDIR / 09:48:57 ---> Running in 149a09d6e41f 09:48:57 Removing intermediate container 149a09d6e41f 09:48:57 ---> 1e2fcfff77ef 09:48:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:48:59 ---> 830fce6e042e 09:48:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:48:59 ---> eeb8fc5d10d7 09:48:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:49:00 ---> 5e4e87e578ba 09:49:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:49:01 ---> be0897b29d5f 09:49:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:49:01 ---> 9d6747d8662e 09:49:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:49:01 ---> Running in 2da2ab59b0a5 09:49:02 Removing intermediate container 2da2ab59b0a5 09:49:02 ---> d0756d837ab4 09:49:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:49:02 ---> Running in d9164ea5c7a3 09:49:03 Removing intermediate container d9164ea5c7a3 09:49:03 ---> 531ab12433b8 09:49:03 Step 22/24 : LABEL arch=arm64 09:49:03 ---> Running in e361425bf6f4 09:49:03 Removing intermediate container e361425bf6f4 09:49:03 ---> 36125a8aace7 09:49:03 Step 23/24 : LABEL git_sha=9e21f7aaa05ce715440a955ecf777a7356d89dab 09:49:03 ---> Running in e11f4cade4b6 09:49:04 Removing intermediate container b8ccd9b84eae 09:49:04 ---> a0566c554c13 09:49:04 Successfully built a0566c554c13 09:49:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:49:04 Removing intermediate container e11f4cade4b6 09:49:04 ---> f99500fb4473 09:49:04 Step 24/24 : LABEL version=0.0.0 09:49:04 ---> Running in 13bc1e7208ec 09:49:04 + docker inspect -f . ci-base-image-x86_64 09:49:04 Removing intermediate container 13bc1e7208ec 09:49:04 ---> 7046c6c82f0a 09:49:04 [Warning] One or more build-args [ARCH] were not consumed 09:49:04 . [Pipeline] withDockerContainer 09:49:04 Successfully built 7046c6c82f0a 09:49:04 Successfully tagged docker-device-sdk-simple-arm64:latest 09:49:04 prd-centos7-docker-4c-2g-20975 does not seem to be running inside a container 09:49:05 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:49:06 $ docker top 40d15a7642e11a0f64bc365e5c9322fdaf17feb884a92fec01ee735bfd3cf089 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 09:49:06 + go version 09:49:06 go version go1.15.5 linux/amd64 [Pipeline] } 09:49:06 $ docker stop --time=1 40d15a7642e11a0f64bc365e5c9322fdaf17feb884a92fec01ee735bfd3cf089 09:49:08 $ docker rm -f 40d15a7642e11a0f64bc365e5c9322fdaf17feb884a92fec01ee735bfd3cf089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:49:09 + docker inspect -f . ci-base-image-x86_64 09:49:09 . [Pipeline] withDockerContainer 09:49:10 prd-centos7-docker-4c-2g-20975 does not seem to be running inside a container 09:49:10 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:49:11 $ docker top 4f5eb221498332cf20c6436c0a1bdffbc110044555d0bd242172d77eb085edcf -eo pid,comm [Pipeline] { [Pipeline] sh 09:49:11 + make test 09:49:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:49:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.105s coverage: 19.4% of statements 09:49:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.623s coverage: 97.1% of statements 09:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.077s coverage: 9.4% of statements 09:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.218s coverage: 21.7% of statements 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.465s coverage: 42.9% of statements 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.542s coverage: 68.9% of statements 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.163s coverage: 53.8% of statements 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 09:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.176s coverage: 25.6% of statements 09:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.346s coverage: 83.5% of statements 09:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.095s coverage: 4.2% of statements 09:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:50:24 GO111MODULE=on go vet ./... 09:50:47 gofmt -l . 09:50:47 [ "`gofmt -l .`" = "" ] 09:50:47 ./bin/test-attribution-txt.sh 09:50:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:50:47 $ docker stop --time=1 4f5eb221498332cf20c6436c0a1bdffbc110044555d0bd242172d77eb085edcf 09:50:50 $ docker rm -f 4f5eb221498332cf20c6436c0a1bdffbc110044555d0bd242172d77eb085edcf [Pipeline] // withDockerContainer [Pipeline] sh 09:50:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:50:51 Warning: overwriting stash ‘coverage-report’ 09:50:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:50:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:50:53 + ls -al . 09:50:53 total 216 09:50:53 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 09:50 . 09:50:53 drwxrwxr-x. 4 jenkins jenkins 28 Jan 18 09:47 .. 09:50:53 drwxrwxr-x. 2 jenkins jenkins 64 Jan 18 09:47 bin 09:50:53 -rw-r--r--. 1 jenkins jenkins 137434 Jan 18 09:50 coverage.out 09:50:53 -rw-rw-r--. 1 jenkins jenkins 949 Jan 18 09:47 Dockerfile.build 09:50:53 -rw-rw-r--. 1 jenkins jenkins 140 Jan 18 09:47 .dockerignore 09:50:53 drwxrwxr-x. 4 jenkins jenkins 48 Jan 18 09:47 example 09:50:53 drwxrwxr-x. 8 jenkins jenkins 179 Jan 18 09:47 .git 09:50:53 drwxrwxr-x. 2 jenkins jenkins 103 Jan 18 09:47 .github 09:50:53 -rw-rw-r--. 1 jenkins jenkins 138 Jan 18 09:47 .gitignore 09:50:53 -rw-r--r--. 1 jenkins jenkins 491 Jan 18 09:50 go.mod 09:50:53 -rw-r--r--. 1 jenkins jenkins 14124 Jan 18 09:50 go.sum 09:50:53 drwxrwxr-x. 15 jenkins jenkins 211 Jan 18 09:47 internal 09:50:53 -rw-rw-r--. 1 jenkins jenkins 901 Jan 18 09:47 Jenkinsfile 09:50:53 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 18 09:47 LICENSE 09:50:53 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 18 09:47 Makefile 09:50:53 drwxrwxr-x. 4 jenkins jenkins 26 Jan 18 09:47 openapi 09:50:53 drwxrwxr-x. 5 jenkins jenkins 50 Jan 18 09:47 pkg 09:50:53 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 18 09:47 README.md 09:50:53 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 18 09:47 RELEASE-NOTES.txt 09:50:53 drwxrwxr-x. 4 jenkins jenkins 54 Jan 18 09:47 snap 09:50:53 -rw-rw-r--. 1 jenkins jenkins 5 Jan 18 09:44 VERSION 09:50:53 -rw-rw-r--. 1 jenkins jenkins 222 Jan 18 09:47 version.go [Pipeline] isUnix [Pipeline] sh 09:50:53 + 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=9e21f7aaa05ce715440a955ecf777a7356d89dab --label arch=amd64 --label version=0.0.0 . 09:50:54 Sending build context to Docker daemon 2.719MB 09:50:54 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:50:54 Step 2/24 : FROM ${BASE} AS builder 09:50:54 ---> a0566c554c13 09:50:54 Step 3/24 : ARG MAKE='make build' 09:50:54 ---> Running in b783e928184c 09:50:55 Removing intermediate container b783e928184c 09:50:55 ---> c008b424c931 09:50:55 Step 4/24 : WORKDIR /device-sdk-go 09:50:55 ---> Running in b24d521d25fc 09:50:55 Removing intermediate container b24d521d25fc 09:50:55 ---> 2442afe1ab01 09:50:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:50:55 ---> Running in 97a90200b10f 09:50:55 Removing intermediate container 97a90200b10f 09:50:55 ---> f6091059e949 09:50:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:50:55 ---> Running in 9097455ea810 09:50:57 Removing intermediate container 9097455ea810 09:50:57 ---> 311df798a933 09:50:57 Step 7/24 : RUN apk add --update --no-cache make git 09:50:57 ---> Running in ad44d29ccb55 09:50:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:50:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:51:00 OK: 166 MiB in 39 packages 09:51:00 Removing intermediate container ad44d29ccb55 09:51:00 ---> a507d3d2e675 09:51:00 Step 8/24 : COPY . . 09:51:01 ---> 13e819dba79d 09:51:01 Step 9/24 : RUN ${MAKE} 09:51:01 ---> Running in 3a69dc672c0d 09:51:02 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 09:51:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:51:21 Removing intermediate container 3a69dc672c0d 09:51:21 ---> 2c8fa56a5054 09:51:21 Step 10/24 : FROM scratch 09:51:21 ---> 09:51:21 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:51:21 ---> Running in dd6a0b9a8aa9 09:51:21 Removing intermediate container dd6a0b9a8aa9 09:51:21 ---> c56ee9cedc47 09:51:21 Step 12/24 : ENV APP_PORT=49990 09:51:21 ---> Running in dfd83cf59bdd 09:51:22 Removing intermediate container dfd83cf59bdd 09:51:22 ---> 1d633e05a770 09:51:22 Step 13/24 : EXPOSE $APP_PORT 09:51:22 ---> Running in 8e3c9b0a2825 09:51:22 Removing intermediate container 8e3c9b0a2825 09:51:22 ---> b1813a8b541d 09:51:22 Step 14/24 : WORKDIR / 09:51:22 ---> Running in 6768e3c4460f 09:51:22 Removing intermediate container 6768e3c4460f 09:51:22 ---> 76345c589a28 09:51:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:51:24 ---> 21c98e926ae7 09:51:24 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:51:24 ---> 39f2d9aeb393 09:51:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:51:24 ---> e70748e57f6d 09:51:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:51:25 ---> 6fddd7e95196 09:51:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:51:25 ---> d0a2f24a25fd 09:51:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:51:25 ---> Running in 64bf8e0cc73c 09:51:26 Removing intermediate container 64bf8e0cc73c 09:51:26 ---> 49c54fcac5e3 09:51:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:51:26 ---> Running in 1c1fcb4b6c12 09:51:26 Removing intermediate container 1c1fcb4b6c12 09:51:26 ---> a37fcc15dcec 09:51:26 Step 22/24 : LABEL arch=amd64 09:51:26 ---> Running in 6f9f28010448 09:51:27 Removing intermediate container 6f9f28010448 09:51:27 ---> 42792191567c 09:51:27 Step 23/24 : LABEL git_sha=9e21f7aaa05ce715440a955ecf777a7356d89dab 09:51:27 ---> Running in 940718a87bf7 09:51:27 Removing intermediate container 940718a87bf7 09:51:27 ---> b927ffdb9cbf 09:51:27 Step 24/24 : LABEL version=0.0.0 09:51:27 ---> Running in ac0f5b41c838 09:51:28 Removing intermediate container ac0f5b41c838 09:51:28 ---> 1f545e8df247 09:51:28 [Warning] One or more build-args [ARCH] were not consumed 09:51:28 Successfully built 1f545e8df247 09:51:28 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:51:30 provisioning config files... 09:51:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config3414819450916937416tmp [Pipeline] { [Pipeline] sh 09:51:30 + set +x 09:51:30 + curl -s https://codecov.io/bash 09:51:30 + bash -s -- 09:51:31 09:51:31 _____ _ 09:51:31 / ____| | | 09:51:31 | | ___ __| | ___ ___ _____ __ 09:51:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:51:31 | |___| (_) | (_| | __/ (_| (_) \ V / 09:51:31 \_____\___/ \__,_|\___|\___\___/ \_/ 09:51:31 Bash-20210115-cec3c92 09:51:31 09:51:31 09:51:31 ==> git version 2.24.3 found 09:51:31 ==> 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 09:51:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:51:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:51:31 ==> Jenkins CI detected. 09:51:31 project root: . 09:51:31 --> token set from env 09:51:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:51:31 ==> Running gcov in . (disable via -X gcov) 09:51:31 ==> Python coveragepy not found 09:51:31 ==> Searching for coverage reports in: 09:51:31 + . 09:51:31 -> Found 1 reports 09:51:31 ==> Detecting git/mercurial file structure 09:51:31 ==> Reading reports 09:51:31 + ./coverage.out bytes=137434 09:51:31 ==> Appending adjustments 09:51:31 https://docs.codecov.io/docs/fixing-reports 09:51:31 + Found adjustments 09:51:31 ==> Gzipping contents 09:51:31 24K /tmp/codecov.rwXrh3.gz 09:51:31 ==> Uploading reports 09:51:31 url: https://codecov.io 09:51:31 query: branch=PR-738&commit=9e21f7aaa05ce715440a955ecf777a7356d89dab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= 09:51:31 -> Pinging Codecov 09:51:31 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-738&commit=9e21f7aaa05ce715440a955ecf777a7356d89dab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= 09:51:32 -> Uploading to 09:51:32 https://storage.googleapis.com/codecov/v4/raw/2021-01-18/7E55EF52A471D76F132DFD9A03CDDE97/9e21f7aaa05ce715440a955ecf777a7356d89dab/bfa0b9f0-3091-4457-a01e-a393f8fee3e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210118T095132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd69c46ff36d9ed017c2a45eefab4f9e9a7a2bf4e686e564e56368e934e43dc1 09:51:32 % Total % Received % Xferd Average Speed Time Time Time Current 09:51:32 Dload Upload Total Spent Left Speed 09:51:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21600 0 0 100 21600 0 42203 --:--:-- --:--:-- --:--:-- 42187 100 21600 0 0 100 21600 0 42190 --:--:-- --:--:-- --:--:-- 42187 09:51:32 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9e21f7aaa05ce715440a955ecf777a7356d89dab [Pipeline] } 09:51:32 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 09:51:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:51:35 ---> package-listing.sh 09:51:35 ++ facter osfamily 09:51:35 ++ tr '[:upper:]' '[:lower:]' 09:51:35 + OS_FAMILY=redhat 09:51:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-738 09:51:35 + START_PACKAGES=/tmp/packages_start.txt 09:51:35 + END_PACKAGES=/tmp/packages_end.txt 09:51:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:51:35 + PACKAGES=/tmp/packages_start.txt 09:51:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' 09:51:35 + PACKAGES=/tmp/packages_end.txt 09:51:35 + case "${OS_FAMILY}" in 09:51:35 + rpm -qa 09:51:35 + sort 09:51:41 + '[' -f /tmp/packages_start.txt ']' 09:51:41 + '[' -f /tmp/packages_end.txt ']' 09:51:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:51:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' 09:51:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ 09:51:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ [Pipeline] echo 09:51:41 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-738/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:51:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:51:41 09:51:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:51:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:51:42 alpine: Pulling from edgex-lftools-log-publisher 09:51:42 df20fa9351a1: Pulling fs layer 09:51:42 36b3adc4ff6f: Pulling fs layer 09:51:42 8ad3a11d3b57: Pulling fs layer 09:51:42 46f8f816bc3b: Pulling fs layer 09:51:42 93b61091891f: Pulling fs layer 09:51:42 93b9cdb0e59b: Pulling fs layer 09:51:42 5e14af77c1be: Pulling fs layer 09:51:42 01666e4c0597: Pulling fs layer 09:51:42 aa168da1d23b: Pulling fs layer 09:51:42 93b9cdb0e59b: Waiting 09:51:42 5e14af77c1be: Waiting 09:51:42 01666e4c0597: Waiting 09:51:42 aa168da1d23b: Waiting 09:51:42 46f8f816bc3b: Waiting 09:51:42 93b61091891f: Waiting 09:51:42 36b3adc4ff6f: Verifying Checksum 09:51:42 36b3adc4ff6f: Download complete 09:51:42 46f8f816bc3b: Download complete 09:51:42 df20fa9351a1: Download complete 09:51:42 93b9cdb0e59b: Verifying Checksum 09:51:42 93b9cdb0e59b: Download complete 09:51:42 93b61091891f: Verifying Checksum 09:51:42 93b61091891f: Download complete 09:51:42 5e14af77c1be: Download complete 09:51:42 01666e4c0597: Verifying Checksum 09:51:42 01666e4c0597: Download complete 09:51:42 df20fa9351a1: Pull complete 09:51:42 36b3adc4ff6f: Pull complete 09:51:43 8ad3a11d3b57: Verifying Checksum 09:51:43 8ad3a11d3b57: Download complete 09:51:44 8ad3a11d3b57: Pull complete 09:51:44 46f8f816bc3b: Pull complete 09:51:44 93b61091891f: Pull complete 09:51:44 aa168da1d23b: Verifying Checksum 09:51:44 aa168da1d23b: Download complete 09:51:44 93b9cdb0e59b: Pull complete 09:51:45 5e14af77c1be: Pull complete 09:51:45 01666e4c0597: Pull complete 09:51:51 aa168da1d23b: Pull complete 09:51:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:51:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:51:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:51:51 prd-centos7-docker-4c-2g-20974 does not seem to be running inside a container 09:51:52 $ 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-738/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-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@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 09:51:57 $ docker top 9fcda8912b44e91da348e6b6c1c096a94e3023cf84b07e90c3a29a09ebb87d4e -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:58 + touch /tmp/pre-build-complete [Pipeline] sh 09:51:58 + mkdir -p /var/log/sa [Pipeline] sh 09:51:59 + ls /var/log/sa-host 09:51:59 + sadf -c /var/log/sa-host/sa18 09:51:59 file_magic: OK 09:51:59 HZ: Using current value: 100 09:51:59 file_header: OK 09:51:59 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 09:51:59 Statistics: 09:51:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:51:59 File successfully converted to sysstat format version 12.2.1 09:51:59 + sadf -c /var/log/sa-host/sa23 09:51:59 file_magic: OK 09:51:59 HZ: Using current value: 100 09:51:59 file_header: OK 09:51:59 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 09:51:59 Statistics: 09:51:59 Hnuu...uuuununununu... 09:51:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:51:59 provisioning config files... 09:52:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config2420651579149209831tmp [Pipeline] { [Pipeline] echo 09:52:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:52:00 ---> create-netrc.sh [Pipeline] } 09:52:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:52:00 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:52:01 ---> python-tools-install.sh [Pipeline] echo 09:52:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:52:01 ---> sudo-logs.sh 09:52:01 Archiving 'sudo' log.. [Pipeline] echo 09:52:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:52:01 ---> job-cost.sh 09:52:01 lf-activate-venv: SKIPPING 09:52:01 INFO: No Stack... 09:52:03 INFO: Retrieving Pricing Info for: v1-standard-2 09:52:03 INFO: Archiving Costs [Pipeline] echo 09:52:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:52:03 ---> logs-deploy.sh 09:52:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-738/2 09:52:03 INFO: archiving workspace using pattern(s): 09:52:05 Archives upload complete. 09:52:05 INFO: archiving logs to Nexus 09:52:06 ---> uname -a: 09:52:06 Linux prd-centos7-docker-4c-2g-20974.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 09:52:06 09:52:06 09:52:06 ---> lscpu: 09:52:06 Architecture: x86_64 09:52:06 CPU op-mode(s): 32-bit, 64-bit 09:52:06 Byte Order: Little Endian 09:52:06 Address sizes: 40 bits physical, 48 bits virtual 09:52:06 CPU(s): 4 09:52:06 On-line CPU(s) list: 0-3 09:52:06 Thread(s) per core: 1 09:52:06 Core(s) per socket: 1 09:52:06 Socket(s): 4 09:52:06 NUMA node(s): 1 09:52:06 Vendor ID: GenuineIntel 09:52:06 CPU family: 6 09:52:06 Model: 44 09:52:06 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:52:06 Stepping: 1 09:52:06 CPU MHz: 2933.438 09:52:06 BogoMIPS: 5866.87 09:52:06 Virtualization: VT-x 09:52:06 Hypervisor vendor: KVM 09:52:06 Virtualization type: full 09:52:06 L1d cache: 128 KiB 09:52:06 L1i cache: 128 KiB 09:52:06 L2 cache: 16 MiB 09:52:06 L3 cache: 64 MiB 09:52:06 NUMA node0 CPU(s): 0-3 09:52:06 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:52:06 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:52:06 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:52:06 Vulnerability Meltdown: Mitigation; PTI 09:52:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:52:06 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:52:06 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:52:06 Vulnerability Srbds: Not affected 09:52:06 Vulnerability Tsx async abort: Not affected 09:52:06 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 09:52:06 09:52:06 09:52:06 ---> nproc: 09:52:06 4 09:52:06 09:52:06 09:52:06 ---> df -h: 09:52:06 Filesystem Size Used Available Use% Mounted on 09:52:06 overlay 50.0G 7.3G 42.7G 15% / 09:52:06 tmpfs 64.0M 0 64.0M 0% /dev 09:52:06 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:52:06 shm 64.0M 0 64.0M 0% /dev/shm 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-738 09:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp 09:52:06 09:52:06 09:52:06 ---> free -m: 09:52:06 total used free shared buff/cache available 09:52:06 Mem: 1837 742 102 0 992 990 09:52:06 Swap: 1023 1 1022 09:52:06 09:52:06 09:52:06 ---> ip addr: 09:52:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:52:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:52:06 inet 127.0.0.1/8 scope host lo 09:52:06 valid_lft forever preferred_lft forever 09:52:06 inet6 ::1/128 scope host 09:52:06 valid_lft forever preferred_lft forever 09:52:06 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:52:06 link/ether fa:16:3e:06:64:e0 brd ff:ff:ff:ff:ff:ff 09:52:06 inet 10.30.123.3/23 brd 10.30.123.255 scope global dynamic eth0 09:52:06 valid_lft 85894sec preferred_lft 85894sec 09:52:06 inet6 fe80::f816:3eff:fe06:64e0/64 scope link 09:52:06 valid_lft forever preferred_lft forever 09:52:06 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:52:06 link/ether 02:42:7d:ff:ba:07 brd ff:ff:ff:ff:ff:ff 09:52:06 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:52:06 valid_lft forever preferred_lft forever 09:52:06 inet6 fe80::42:7dff:feff:ba07/64 scope link 09:52:06 valid_lft forever preferred_lft forever 09:52:06 09:52:06 09:52:06 ---> sar -b -r -n DEV: 09:52:06 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/18/21 _x86_64_ (4 CPU) 09:52:06 09:52:06 09:43:29 LINUX RESTART (4 CPU) 09:52:06 09:52:06 09:44:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:52:06 09:45:01 55.05 16.21 38.84 0.00 4816.38 3292.46 0.00 09:52:06 09:46:01 0.75 0.00 0.75 0.00 0.00 18.47 0.00 09:52:06 09:47:01 0.30 0.00 0.30 0.00 0.00 3.90 0.00 09:52:06 09:48:01 0.25 0.00 0.25 0.00 0.00 2.43 0.00 09:52:06 09:49:01 0.23 0.00 0.23 0.00 0.00 3.51 0.00 09:52:06 09:50:02 0.32 0.00 0.32 0.00 0.00 4.20 0.00 09:52:06 09:51:01 0.24 0.00 0.24 0.00 0.00 2.29 0.00 09:52:06 Average: 8.18 2.32 5.86 0.00 689.91 476.60 0.00 09:52:06 09:52:06 09:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:52:06 09:45:01 168196 0 637816 33.90 2620 1072912 1109844 37.88 451320 1063392 20 09:52:06 09:46:01 172800 0 633204 33.65 2620 1072920 1079588 36.84 450300 1060652 20 09:52:06 09:47:01 171244 0 634756 33.74 2620 1072924 1079588 36.84 459956 1052852 12 09:52:06 09:48:01 168220 0 637780 33.90 2620 1072924 1079804 36.85 463012 1052264 20 09:52:06 09:49:01 166488 0 639504 33.99 2620 1072932 1079648 36.85 480092 1037280 20 09:52:06 09:50:02 167056 0 638932 33.96 2620 1072936 1079588 36.84 479792 1037280 16 09:52:06 09:51:01 166588 0 639396 33.98 2620 1072940 1079636 36.85 480044 1037276 12 09:52:06 Average: 168656 0 637341 33.87 2620 1072927 1083957 36.99 466359 1048714 17 09:52:06 09:52:06 09:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:52:06 09:45:01 eth0 430.21 294.56 829.26 90.45 0.00 0.00 0.00 0.00 09:52:06 09:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:45:01 docker0 8.81 6.28 1.51 21.65 0.00 0.00 0.00 0.00 09:52:06 09:46:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 09:52:06 09:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:47:01 eth0 0.62 0.08 0.04 0.01 0.00 0.00 0.00 0.00 09:52:06 09:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:48:01 eth0 0.70 0.48 0.29 0.21 0.00 0.00 0.00 0.00 09:52:06 09:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:49:01 eth0 0.20 0.18 0.08 0.07 0.00 0.00 0.00 0.00 09:52:06 09:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:50:02 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:52:06 09:50:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:50:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:51:01 eth0 0.22 0.17 0.10 0.01 0.00 0.00 0.00 0.00 09:52:06 09:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 09:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 Average: eth0 61.89 42.35 118.86 13.00 0.00 0.00 0.00 0.00 09:52:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:52:06 Average: docker0 1.26 0.90 0.22 3.10 0.00 0.00 0.00 0.00 09:52:06 09:52:06 09:52:06 ---> sar -P ALL: 09:52:06 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/18/21 _x86_64_ (4 CPU) 09:52:06 09:52:06 09:43:29 LINUX RESTART (4 CPU) 09:52:06 09:52:06 09:44:01 CPU %user %nice %system %iowait %steal %idle 09:52:06 09:45:01 all 6.50 0.00 2.97 1.60 0.05 88.89 09:52:06 09:45:01 0 6.22 0.00 3.25 1.10 0.02 89.42 09:52:06 09:45:01 1 6.96 0.00 3.22 4.56 0.05 85.20 09:52:06 09:45:01 2 5.88 0.00 2.71 0.42 0.07 90.92 09:52:06 09:45:01 3 6.92 0.00 2.71 0.30 0.05 90.02 09:52:06 09:46:01 all 0.14 0.00 0.05 0.00 0.00 99.81 09:52:06 09:46:01 0 0.05 0.00 0.03 0.00 0.02 99.90 09:52:06 09:46:01 1 0.38 0.00 0.07 0.00 0.00 99.55 09:52:06 09:46:01 2 0.12 0.00 0.05 0.00 0.00 99.83 09:52:06 09:46:01 3 0.02 0.00 0.03 0.00 0.00 99.95 09:52:06 09:47:01 all 0.08 0.00 0.06 0.00 0.00 99.86 09:52:06 09:47:01 0 0.05 0.00 0.05 0.00 0.02 99.88 09:52:06 09:47:01 1 0.18 0.00 0.08 0.00 0.00 99.73 09:52:06 09:47:01 2 0.03 0.00 0.08 0.00 0.00 99.88 09:52:06 09:47:01 3 0.03 0.00 0.02 0.00 0.00 99.95 09:52:06 09:48:01 all 0.17 0.00 0.04 0.00 0.00 99.80 09:52:06 09:48:01 0 0.17 0.00 0.05 0.00 0.00 99.78 09:52:06 09:48:01 1 0.42 0.00 0.03 0.00 0.00 99.55 09:52:06 09:48:01 2 0.03 0.00 0.03 0.00 0.00 99.93 09:52:06 09:48:01 3 0.05 0.00 0.03 0.00 0.00 99.92 09:52:06 09:49:01 all 0.16 0.00 0.06 0.00 0.00 99.77 09:52:06 09:49:01 0 0.37 0.00 0.03 0.00 0.00 99.60 09:52:06 09:49:01 1 0.20 0.00 0.05 0.00 0.02 99.73 09:52:06 09:49:01 2 0.03 0.00 0.13 0.00 0.00 99.83 09:52:06 09:49:01 3 0.05 0.00 0.03 0.00 0.00 99.92 09:52:06 09:50:02 all 0.14 0.00 0.03 0.00 0.00 99.83 09:52:06 09:50:02 0 0.02 0.00 0.02 0.00 0.00 99.97 09:52:06 09:50:02 1 0.55 0.00 0.05 0.00 0.00 99.40 09:52:06 09:50:02 2 0.00 0.00 0.02 0.00 0.00 99.98 09:52:06 09:50:02 3 0.00 0.00 0.03 0.00 0.00 99.97 09:52:06 09:51:01 all 0.15 0.00 0.03 0.00 0.00 99.82 09:52:06 09:51:01 0 0.03 0.00 0.02 0.00 0.00 99.95 09:52:06 09:51:01 1 0.32 0.00 0.05 0.00 0.00 99.63 09:52:06 09:51:01 2 0.22 0.00 0.03 0.00 0.00 99.75 09:52:06 09:51:01 3 0.02 0.00 0.02 0.00 0.00 99.97 09:52:06 Average: all 1.04 0.00 0.46 0.23 0.01 98.26 09:52:06 Average: 0 0.98 0.00 0.49 0.16 0.01 98.37 09:52:06 Average: 1 1.29 0.00 0.51 0.65 0.01 97.55 09:52:06 Average: 2 0.90 0.00 0.43 0.06 0.01 98.60 09:52:06 Average: 3 1.01 0.00 0.41 0.04 0.01 98.54 09:52:06 09:52:06 09:52:06