Pull request #763 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 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2+76d059c2e27a3d5d488ff0022063f09e99d334bf (b7210994608836149f05a0f37451bfceb3a7c45a) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23393 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-763 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 # timeout=10 Merge succeeded, producing 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 Checking out Revision 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 (PR-763) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 # timeout=10 Commit message: "feat: make update device callback aware of service change" > git rev-list --no-walk 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:31:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:31:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:31:00 ========================================================= 09:31:00 EdgeX Global Pipelines Version Info 09:31:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:31:02 ------------------- 09:31:02 stable info: 09:31:02 ------------------- 09:31:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:31:02 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:31:02 Message: update stable to v1.0.179 09:31:03 ------------------- 09:31:03 experimental info: 09:31:03 ------------------- 09:31:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:31:03 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:31:03 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:31:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 [Pipeline] echo 09:31:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e2b6fd [Pipeline] echo 09:31:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:31:07 provisioning config files... 09:31:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config3313524257923605732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:07 ---> docker-login.sh 09:31:07 nexus3.edgexfoundry.org:10001 09:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:07 Configure a credential helper to remove this warning. See 09:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:07 09:31:07 Login Succeeded 09:31:07 nexus3.edgexfoundry.org:10002 09:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:08 Configure a credential helper to remove this warning. See 09:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:08 09:31:08 Login Succeeded 09:31:08 nexus3.edgexfoundry.org:10003 09:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:08 Configure a credential helper to remove this warning. See 09:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:08 09:31:08 Login Succeeded 09:31:08 nexus3.edgexfoundry.org:10004 09:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:08 Configure a credential helper to remove this warning. See 09:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:08 09:31:08 Login Succeeded 09:31:08 docker.io 09:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:08 Configure a credential helper to remove this warning. See 09:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:08 09:31:08 Login Succeeded 09:31:08 ---> docker-login.sh ends [Pipeline] } 09:31:08 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:31:09 + git log --format=format:%s -1 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 [Pipeline] echo 09:31:09 GIT_COMMIT: 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2, Commit Message: feat: make update device callback aware of service change [Pipeline] echo 09:31:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:31:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:31:10 09:31:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:31:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:31:11 latest: Pulling from edgex-devops/git-semver 09:31:11 31603596830f: Pulling fs layer 09:31:11 2a8b12db71e7: Pulling fs layer 09:31:11 6ca5941a6612: Pulling fs layer 09:31:11 ecc8261a40a4: Pulling fs layer 09:31:11 ecc8261a40a4: Waiting 09:31:11 2a8b12db71e7: Verifying Checksum 09:31:11 2a8b12db71e7: Download complete 09:31:11 31603596830f: Verifying Checksum 09:31:11 31603596830f: Download complete 09:31:11 ecc8261a40a4: Verifying Checksum 09:31:11 6ca5941a6612: Verifying Checksum 09:31:11 6ca5941a6612: Download complete 09:31:11 31603596830f: Pull complete 09:31:11 2a8b12db71e7: Pull complete 09:31:12 6ca5941a6612: Pull complete 09:31:12 ecc8261a40a4: Pull complete 09:31:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:31:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:31:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:31:12 prd-centos7-docker-4c-2g-23393 does not seem to be running inside a container 09:31:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:31:14 $ docker top 83b111eb8fd51406b8284066ac7dc14a365f107a7a6a25d4ed3d03a08d450dbe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:31:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:31:15 [ssh-agent] Looking for ssh-agent implementation... 09:31:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:31:15 $ docker exec 83b111eb8fd51406b8284066ac7dc14a365f107a7a6a25d4ed3d03a08d450dbe ssh-agent 09:31:15 SSH_AUTH_SOCK=/tmp/ssh-zkOi0E7GOP89/agent.11 09:31:15 SSH_AGENT_PID=17 09:31:15 Running ssh-add (command line suppressed) 09:31:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_5410914649381462573.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_5410914649381462573.key) 09:31:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:31:16 + git tag --points-at HEAD [Pipeline] } 09:31:16 $ docker exec --env ******** --env ******** 83b111eb8fd51406b8284066ac7dc14a365f107a7a6a25d4ed3d03a08d450dbe ssh-agent -k 09:31:16 unset SSH_AUTH_SOCK; 09:31:16 unset SSH_AGENT_PID; 09:31:16 echo Agent pid 17 killed; 09:31:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:31:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:31:16 [ssh-agent] Looking for ssh-agent implementation... 09:31:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:31:16 $ docker exec 83b111eb8fd51406b8284066ac7dc14a365f107a7a6a25d4ed3d03a08d450dbe ssh-agent 09:31:16 SSH_AUTH_SOCK=/tmp/ssh-syl8f4rEjA8G/agent.46 09:31:16 SSH_AGENT_PID=51 09:31:16 Running ssh-add (command line suppressed) 09:31:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_1277004745214692979.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_1277004745214692979.key) 09:31:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:31:17 + git semver init 09:31:17 # -> Open(): unable to determine branch for HEAD 09:31:17 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git 09:31:17 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 09:31:17 # $SEMVER_REMOTE_NAME = origin 09:31:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:31:17 # $SEMVER_USER_NAME = edgex-jenkins 09:31:17 # $SEMVER_BRANCH = PR-763 09:31:17 # $SEMVER_TEMP = /tmp/semver-576440766 09:31:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:31:17 # '/tmp/semver-576440766' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' 09:31:18 # -> Force: false 09:31:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } 09:31:18 $ docker exec --env ******** --env ******** 83b111eb8fd51406b8284066ac7dc14a365f107a7a6a25d4ed3d03a08d450dbe ssh-agent -k 09:31:18 unset SSH_AUTH_SOCK; 09:31:18 unset SSH_AGENT_PID; 09:31:18 echo Agent pid 51 killed; 09:31:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:31:18 + git semver [Pipeline] } 09:31:18 $ docker stop --time=1 83b111eb8fd51406b8284066ac7dc14a365f107a7a6a25d4ed3d03a08d450dbe 09:31:20 $ docker rm -f 83b111eb8fd51406b8284066ac7dc14a365f107a7a6a25d4ed3d03a08d450dbe [Pipeline] // withDockerContainer [Pipeline] sh 09:31:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:31:21 Stashed 1 file(s) [Pipeline] echo 09:31:21 [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:31:36 Still waiting to schedule task 09:31:36 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:31:36 Still waiting to schedule task 09:31:36 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:33:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23394 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 09:33:31 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:33:36 using credential edgex-jenkins-ssh 09:33:36 Cloning the remote Git repository 09:33:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:33:36 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:33:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:33:36 > git --version # timeout=10 09:33:36 > git --version # 'git version 2.17.1' 09:33:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:33:38 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 09:33:39 Merge succeeded, producing 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 09:33:39 Checking out Revision 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 (PR-763) 09:33:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:33:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:33:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:33:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:33:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:33:38 > git config core.sparsecheckout # timeout=10 09:33:38 > git checkout -f 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 # timeout=10 09:33:38 > git remote # timeout=10 09:33:38 > git config --get remote.origin.url # timeout=10 09:33:39 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:39 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 09:33:39 > git rev-parse HEAD^{commit} # timeout=10 09:33:39 > git config core.sparsecheckout # timeout=10 09:33:39 > git checkout -f 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 # timeout=10 09:33:43 Commit message: "feat: make update device callback aware of service change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:33:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:33:46 + + sudo servicetrue docker 09:33:46 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:33:48 provisioning config files... 09:33:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3938170883014458513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:49 ---> docker-login.sh 09:33:49 nexus3.edgexfoundry.org:10001 09:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:50 Configure a credential helper to remove this warning. See 09:33:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:50 09:33:50 Login Succeeded 09:33:50 nexus3.edgexfoundry.org:10002 09:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:51 Configure a credential helper to remove this warning. See 09:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:51 09:33:51 Login Succeeded 09:33:51 nexus3.edgexfoundry.org:10003 09:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:51 Configure a credential helper to remove this warning. See 09:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:51 09:33:51 Login Succeeded 09:33:51 nexus3.edgexfoundry.org:10004 09:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:52 Configure a credential helper to remove this warning. See 09:33:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:52 09:33:52 Login Succeeded 09:33:52 docker.io 09:33:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:52 Configure a credential helper to remove this warning. See 09:33:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:52 09:33:52 Login Succeeded 09:33:52 ---> docker-login.sh ends [Pipeline] } 09:33:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:33:53 ========================================================= 09:33:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:33:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:33:53 + 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:33:54 Sending build context to Docker daemon 2.647MB 09:33:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:33:54 Step 2/8 : FROM ${BASE} 09:33:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:33:54 5f621e34cdf4: Pulling fs layer 09:33:54 a4357932f1b6: Pulling fs layer 09:33:54 18c013af1878: Pulling fs layer 09:33:54 00ac8860ef70: Pulling fs layer 09:33:54 63d7cb157983: Pulling fs layer 09:33:54 b116817d02f9: Pulling fs layer 09:33:54 745a02a5169b: Pulling fs layer 09:33:54 00ac8860ef70: Waiting 09:33:54 63d7cb157983: Waiting 09:33:54 b116817d02f9: Waiting 09:33:54 745a02a5169b: Waiting 09:33:54 18c013af1878: Verifying Checksum 09:33:54 18c013af1878: Download complete 09:33:54 a4357932f1b6: Download complete 09:33:54 63d7cb157983: Download complete 09:33:54 b116817d02f9: Download complete 09:33:54 5f621e34cdf4: Verifying Checksum 09:33:54 5f621e34cdf4: Download complete 09:33:55 5f621e34cdf4: Pull complete 09:33:55 a4357932f1b6: Pull complete 09:33:56 18c013af1878: Pull complete 09:33:57 745a02a5169b: Verifying Checksum 09:33:57 745a02a5169b: Download complete 09:33:58 00ac8860ef70: Verifying Checksum 09:33:58 00ac8860ef70: Download complete 09:34:08 00ac8860ef70: Pull complete 09:34:08 63d7cb157983: Pull complete 09:34:08 b116817d02f9: Pull complete 09:34:12 745a02a5169b: Pull complete 09:34:12 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:34:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:34:12 ---> b7e6874047d6 09:34:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:34:15 ---> Running in fc1cfa60058a 09:34:15 Removing intermediate container fc1cfa60058a 09:34:15 ---> 5756a1f0cae7 09:34:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:34:15 ---> Running in 78e0b0dcd7e8 09:34:17 Removing intermediate container 78e0b0dcd7e8 09:34:17 ---> d5ba99cc4cb2 09:34:17 Step 5/8 : RUN apk add --update --no-cache make git 09:34:18 ---> Running in f54003d168da 09:34:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:34:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:34:20 OK: 142 MiB in 39 packages 09:34:21 Removing intermediate container f54003d168da 09:34:21 ---> b6db049f1345 09:34:21 Step 6/8 : WORKDIR /device-sdk-go 09:34:21 ---> Running in 381fc9f31f55 09:34:22 Removing intermediate container 381fc9f31f55 09:34:22 ---> 07084b5f05d4 09:34:22 Step 7/8 : COPY . . 09:34:24 ---> f6717692f20e 09:34:24 Step 8/8 : RUN go mod download 09:34:24 ---> Running in 80b2f7253767 09:34:41 Running on prd-centos7-docker-4c-2g-23395 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 09:34:41 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:34:46 Removing intermediate container 80b2f7253767 09:34:46 ---> 36ac3fd9b39e 09:34:46 Successfully built 36ac3fd9b39e 09:34:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:34:46 + docker inspect -f . ci-base-image-arm64 09:34:46 . [Pipeline] withDockerContainer 09:34:46 using credential edgex-jenkins-ssh 09:34:46 prd-ubuntu18.04-docker-arm64-4c-16g-23394 does not seem to be running inside a container 09:34:46 Cloning the remote Git repository 09:34: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:34:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:34:47 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:34:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:34:47 > git --version # timeout=10 09:34:47 > git --version # 'git version 2.24.3' 09:34:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:48 $ docker top 20296758e0858e43eada0489535da4a68cf4174206eaea3740c3f973afae83c6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:49 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 09:34:49 Merge succeeded, producing 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 09:34:49 Checking out Revision 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 (PR-763) 09:34:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:34:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:34:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:34:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:34:49 > git config core.sparsecheckout # timeout=10 09:34:49 > git checkout -f 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 # timeout=10 09:34:49 > git remote # timeout=10 09:34:49 > git config --get remote.origin.url # timeout=10 09:34:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:49 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 09:34:49 > git rev-parse HEAD^{commit} # timeout=10 09:34:49 > git config core.sparsecheckout # timeout=10 09:34:49 > git checkout -f 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 # timeout=10 09:34:49 + go version 09:34:49 go version go1.15.5 linux/arm64 [Pipeline] } 09:34:49 $ docker stop --time=1 20296758e0858e43eada0489535da4a68cf4174206eaea3740c3f973afae83c6 09:34:51 $ docker rm -f 20296758e0858e43eada0489535da4a68cf4174206eaea3740c3f973afae83c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:34:52 + docker inspect -f . ci-base-image-arm64 09:34:52 . [Pipeline] withDockerContainer 09:34:53 prd-ubuntu18.04-docker-arm64-4c-16g-23394 does not seem to be running inside a container 09:34:53 $ 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-arm64 cat 09:34:54 Commit message: "feat: make update device callback aware of service change" 09:34:54 $ docker top c45a31bee17191035921923d32d560accc2f4cb245194d1e56b733bdfed60e2a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:34:55 + make test 09:34:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:34:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:34:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:34:57 + sudo service docker restart 09:34:57 + true 09:34:57 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:34:59 provisioning config files... 09:34:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6110763358517304671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:00 ---> docker-login.sh 09:35:00 nexus3.edgexfoundry.org:10001 09:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:00 Configure a credential helper to remove this warning. See 09:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:00 09:35:00 Login Succeeded 09:35:00 nexus3.edgexfoundry.org:10002 09:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:01 Configure a credential helper to remove this warning. See 09:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:01 09:35:01 Login Succeeded 09:35:01 nexus3.edgexfoundry.org:10003 09:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:01 Configure a credential helper to remove this warning. See 09:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:01 09:35:01 Login Succeeded 09:35:01 nexus3.edgexfoundry.org:10004 09:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:02 Configure a credential helper to remove this warning. See 09:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:02 09:35:02 Login Succeeded 09:35:02 docker.io 09:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:02 Configure a credential helper to remove this warning. See 09:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:02 09:35:02 Login Succeeded 09:35:02 ---> docker-login.sh ends [Pipeline] } 09:35:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:35:03 ========================================================= 09:35:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:35:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:35:03 + 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:35:03 Sending build context to Docker daemon 2.648MB 09:35:03 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:35:03 Step 2/8 : FROM ${BASE} 09:35:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:35:04 188c0c94c7c5: Pulling fs layer 09:35:04 0ef7d3d256c8: Pulling fs layer 09:35:04 de9db76c5a1d: Pulling fs layer 09:35:04 bca2f99d35d6: Pulling fs layer 09:35:04 93359f2a8cfa: Pulling fs layer 09:35:04 7c6f9722023f: Pulling fs layer 09:35:04 a35cf1a2eb13: Pulling fs layer 09:35:04 93359f2a8cfa: Waiting 09:35:04 7c6f9722023f: Waiting 09:35:04 a35cf1a2eb13: Waiting 09:35:04 bca2f99d35d6: Waiting 09:35:04 de9db76c5a1d: Verifying Checksum 09:35:04 de9db76c5a1d: Download complete 09:35:04 0ef7d3d256c8: Verifying Checksum 09:35:04 0ef7d3d256c8: Download complete 09:35:04 93359f2a8cfa: Verifying Checksum 09:35:04 93359f2a8cfa: Download complete 09:35:04 7c6f9722023f: Verifying Checksum 09:35:04 7c6f9722023f: Download complete 09:35:05 188c0c94c7c5: Verifying Checksum 09:35:05 188c0c94c7c5: Download complete 09:35:05 188c0c94c7c5: Pull complete 09:35:06 0ef7d3d256c8: Pull complete 09:35:06 de9db76c5a1d: Pull complete 09:35:08 a35cf1a2eb13: Verifying Checksum 09:35:08 a35cf1a2eb13: Download complete 09:35:09 bca2f99d35d6: Verifying Checksum 09:35:09 bca2f99d35d6: Download complete 09:35:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:35:19 bca2f99d35d6: Pull complete 09:35:19 93359f2a8cfa: Pull complete 09:35:19 7c6f9722023f: Pull complete 09:35:25 a35cf1a2eb13: Pull complete 09:35:25 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:35:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:35:25 ---> a62c8e92a672 09:35:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:35:25 ---> Running in 0ac6862f79d1 09:35:25 Removing intermediate container 0ac6862f79d1 09:35:25 ---> 0377e480ab40 09:35:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:25 ---> Running in dd930ca2f085 09:35:27 Removing intermediate container dd930ca2f085 09:35:27 ---> d113d2a5e239 09:35:27 Step 5/8 : RUN apk add --update --no-cache make git 09:35:27 ---> Running in 44749328a668 09:35:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:35:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:35:30 OK: 166 MiB in 39 packages 09:35:31 Removing intermediate container 44749328a668 09:35:31 ---> 11c9ee2b86f8 09:35:31 Step 6/8 : WORKDIR /device-sdk-go 09:35:31 ---> Running in 991d3a921610 09:35:31 Removing intermediate container 991d3a921610 09:35:31 ---> b625daa9c1f9 09:35:31 Step 7/8 : COPY . . 09:35:32 ---> e6adda920b59 09:35:32 Step 8/8 : RUN go mod download 09:35:33 ---> Running in cb24cb0c7b06 09:35:55 Removing intermediate container cb24cb0c7b06 09:35:55 ---> 511d8454ebbd 09:35:55 Successfully built 511d8454ebbd 09:35:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:35:56 + docker inspect -f . ci-base-image-x86_64 09:35:56 . [Pipeline] withDockerContainer 09:35:56 prd-centos7-docker-4c-2g-23395 does not seem to be running inside a container 09:35:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:35:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:35:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:35:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.157s coverage: 19.4% of statements 09:35:57 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:35:58 $ docker top fa62b51c4b7eb013bc9c2df9f9901dec6796f6724e70fc3097f13612c6697580 -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:59 + go version 09:35:59 go version go1.15.5 linux/amd64 [Pipeline] } 09:35:59 $ docker stop --time=1 fa62b51c4b7eb013bc9c2df9f9901dec6796f6724e70fc3097f13612c6697580 09:36:01 $ docker rm -f fa62b51c4b7eb013bc9c2df9f9901dec6796f6724e70fc3097f13612c6697580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:36:02 + docker inspect -f . ci-base-image-x86_64 09:36:02 . [Pipeline] withDockerContainer 09:36:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.147s coverage: 97.1% of statements 09:36:02 prd-centos7-docker-4c-2g-23395 does not seem to be running inside a container 09:36:02 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:36:04 $ docker top ba56c98690d3c3b21e77319eb6849f6bea9e12d661ade680990986eb99b616ba -eo pid,comm [Pipeline] { [Pipeline] sh 09:36:05 + make test 09:36:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:36:17 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:36:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.156s coverage: 9.4% of statements 09:36:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.127s coverage: 21.7% of statements 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:36:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.562s coverage: 43.6% of statements 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:36:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.777s coverage: 68.9% of statements 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:36:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.207s coverage: 53.8% of statements 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 09:36:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.206s coverage: 25.2% of statements 09:36:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.775s coverage: 83.5% of statements 09:36:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.119s coverage: 4.2% of statements 09:36:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:36:34 GO111MODULE=on go vet ./... 09:36:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:36:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:36:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:36:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 19.4% of statements 09:36:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.585s coverage: 97.1% of statements 09:37:07 gofmt -l . 09:37:07 [ "`gofmt -l .`" = "" ] 09:37:07 ./bin/test-attribution-txt.sh 09:37:07 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:37:07 $ docker stop --time=1 c45a31bee17191035921923d32d560accc2f4cb245194d1e56b733bdfed60e2a 09:37:09 $ docker rm -f c45a31bee17191035921923d32d560accc2f4cb245194d1e56b733bdfed60e2a [Pipeline] // withDockerContainer [Pipeline] sh 09:37:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:37:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:37:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:37:14 + ls -al . 09:37:14 total 252 09:37:14 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 09:37 . 09:37:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 09:33 .. 09:37:14 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 09:33 .dockerignore 09:37:14 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 09:33 .git 09:37:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 09:33 .github 09:37:14 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 09:33 .gitignore 09:37:14 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 09:33 Dockerfile.build 09:37:14 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 09:33 Jenkinsfile 09:37:14 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 09:33 LICENSE 09:37:14 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 09:33 Makefile 09:37:14 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 09:33 README.md 09:37:14 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 09:33 RELEASE-NOTES.txt 09:37:14 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 09:31 VERSION 09:37:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 09:33 bin 09:37:14 -rw-r--r-- 1 jenkins jenkins 137333 Jan 27 09:36 coverage.out 09:37:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 09:33 example 09:37:14 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 09:37 go.mod 09:37:14 -rw-r--r-- 1 jenkins jenkins 14191 Jan 27 09:37 go.sum 09:37:14 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 09:33 internal 09:37:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 09:33 openapi 09:37:14 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 09:33 pkg 09:37:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 09:33 snap 09:37:14 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 09:33 version.go [Pipeline] isUnix [Pipeline] sh 09:37:14 + 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=7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 --label arch=arm64 --label version=0.0.0 . 09:37:15 Sending build context to Docker daemon 2.785MB 09:37:15 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:37:15 Step 2/24 : FROM ${BASE} AS builder 09:37:15 ---> 36ac3fd9b39e 09:37:15 Step 3/24 : ARG MAKE='make build' 09:37:15 ---> Running in 35efa042507c 09:37:16 Removing intermediate container 35efa042507c 09:37:16 ---> 795cf10d5592 09:37:16 Step 4/24 : WORKDIR /device-sdk-go 09:37:16 ---> Running in dadfa6cebe02 09:37:16 Removing intermediate container dadfa6cebe02 09:37:16 ---> b7b3ac5fb2b3 09:37:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:37:16 ---> Running in d0828a1bb4c3 09:37:17 Removing intermediate container d0828a1bb4c3 09:37:17 ---> ec02edcc2e2c 09:37:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:37:17 ---> Running in 128774c2bcb4 09:37:19 Removing intermediate container 128774c2bcb4 09:37:19 ---> 46cb581f52ae 09:37:19 Step 7/24 : RUN apk add --update --no-cache make git 09:37:19 ---> Running in fd66d7df4608 09:37:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.103s coverage: 9.4% of statements 09:37:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.130s coverage: 21.7% of statements 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:37:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.366s coverage: 43.6% of statements 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:37:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.484s coverage: 68.9% of statements 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:37:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.124s coverage: 53.8% of statements 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 09:37:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.145s coverage: 25.2% of statements 09:37:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.564s coverage: 83.5% of statements 09:37:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.114s coverage: 4.2% of statements 09:37:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:37:20 GO111MODULE=on go vet ./... 09:37:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:37:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:37:23 OK: 142 MiB in 39 packages 09:37:24 Removing intermediate container fd66d7df4608 09:37:24 ---> 07835fd2feb9 09:37:24 Step 8/24 : COPY . . 09:37:26 ---> f9bddf13de25 09:37:26 Step 9/24 : RUN ${MAKE} 09:37:26 ---> Running in be5bdc0b3404 09:37:27 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:37:39 gofmt -l . 09:37:39 [ "`gofmt -l .`" = "" ] 09:37:39 ./bin/test-attribution-txt.sh 09:37:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:37:40 $ docker stop --time=1 ba56c98690d3c3b21e77319eb6849f6bea9e12d661ade680990986eb99b616ba 09:37:43 $ docker rm -f ba56c98690d3c3b21e77319eb6849f6bea9e12d661ade680990986eb99b616ba [Pipeline] // withDockerContainer [Pipeline] sh 09:37:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:37:44 Warning: overwriting stash ‘coverage-report’ 09:37:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:37:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:37:46 + ls -al . 09:37:46 total 216 09:37:46 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 09:37 . 09:37:46 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 09:34 .. 09:37:46 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 09:34 bin 09:37:46 -rw-r--r--. 1 jenkins jenkins 137333 Jan 27 09:37 coverage.out 09:37:46 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 09:34 Dockerfile.build 09:37:46 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 09:34 .dockerignore 09:37:46 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 09:34 example 09:37:46 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 09:34 .git 09:37:46 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 09:34 .github 09:37:46 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 09:34 .gitignore 09:37:46 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 09:37 go.mod 09:37:46 -rw-r--r--. 1 jenkins jenkins 14191 Jan 27 09:37 go.sum 09:37:46 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 09:34 internal 09:37:46 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 09:34 Jenkinsfile 09:37:46 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 09:34 LICENSE 09:37:46 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 09:34 Makefile 09:37:46 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 09:34 openapi 09:37:46 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 09:34 pkg 09:37:46 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 09:34 README.md 09:37:46 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 09:34 RELEASE-NOTES.txt 09:37:46 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 09:34 snap 09:37:46 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 09:31 VERSION 09:37:46 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 09:34 version.go [Pipeline] isUnix [Pipeline] sh 09:37:46 + 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=7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 --label arch=amd64 --label version=0.0.0 . 09:37:47 Sending build context to Docker daemon 2.786MB 09:37:47 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:37:47 Step 2/24 : FROM ${BASE} AS builder 09:37:47 ---> 511d8454ebbd 09:37:47 Step 3/24 : ARG MAKE='make build' 09:37:47 ---> Running in cf29e58c177f 09:37:47 Removing intermediate container cf29e58c177f 09:37:47 ---> ec615d6bd5d3 09:37:47 Step 4/24 : WORKDIR /device-sdk-go 09:37:47 ---> Running in b8d7f0d929c9 09:37:48 Removing intermediate container b8d7f0d929c9 09:37:48 ---> 321796e2121a 09:37:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:37:48 ---> Running in 98a06149cdfa 09:37:48 Removing intermediate container 98a06149cdfa 09:37:48 ---> 3ff4ab2d8e45 09:37:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:37:48 ---> Running in c288441dbfcc 09:37:50 Removing intermediate container c288441dbfcc 09:37:50 ---> 40e825f052c1 09:37:50 Step 7/24 : RUN apk add --update --no-cache make git 09:37:50 ---> Running in 093ee5bb6585 09:37:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:37:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:37:53 OK: 166 MiB in 39 packages 09:37:53 Removing intermediate container 093ee5bb6585 09:37:53 ---> 57f0377dac42 09:37:53 Step 8/24 : COPY . . 09:37:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:37:53 Removing intermediate container be5bdc0b3404 09:37:53 ---> 69f4812c5f1e 09:37:53 Step 10/24 : FROM scratch 09:37:53 ---> 09:37:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:37:53 ---> Running in 3075f1e73f3c 09:37:53 Removing intermediate container 3075f1e73f3c 09:37:53 ---> 1e3ed4fca66e 09:37:53 Step 12/24 : ENV APP_PORT=49990 09:37:54 ---> Running in 4754760d60b6 09:37:54 Removing intermediate container 4754760d60b6 09:37:54 ---> 877c9ce0057a 09:37:54 Step 13/24 : EXPOSE $APP_PORT 09:37:54 ---> Running in 57957f5d2129 09:37:54 Removing intermediate container 57957f5d2129 09:37:54 ---> 60036f8a06a9 09:37:54 Step 14/24 : WORKDIR / 09:37:55 ---> Running in 64441163336d 09:37:55 ---> 8a2675bd24d3 09:37:55 Step 9/24 : RUN ${MAKE} 09:37:55 ---> Running in 148b27be8371 09:37:55 Removing intermediate container 64441163336d 09:37:55 ---> 729d38449de2 09:37:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:37:56 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:37:56 ---> e8aca8902c71 09:37:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:37:57 ---> 41c5a7c7e689 09:37:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:37:58 ---> 2a193df2f389 09:37:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:37:59 ---> 5976dd441306 09:37:59 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:37:59 ---> a2211853831f 09:37:59 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:37:59 ---> Running in d887898eeed4 09:38:00 Removing intermediate container d887898eeed4 09:38:00 ---> acda83593356 09:38:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:38:00 ---> Running in c3d0b9a091da 09:38:00 Removing intermediate container c3d0b9a091da 09:38:00 ---> 9cc7f0dfe627 09:38:00 Step 22/24 : LABEL arch=arm64 09:38:01 ---> Running in 7e629464f923 09:38:01 Removing intermediate container 7e629464f923 09:38:01 ---> fa9039dffb03 09:38:01 Step 23/24 : LABEL git_sha=7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 09:38:01 ---> Running in 9734894a6e2a 09:38:02 Removing intermediate container 9734894a6e2a 09:38:02 ---> fd30bd20f111 09:38:02 Step 24/24 : LABEL version=0.0.0 09:38:02 ---> Running in 956fd8334b97 09:38:02 Removing intermediate container 956fd8334b97 09:38:02 ---> 602af24e32a5 09:38:02 [Warning] One or more build-args [ARCH] were not consumed 09:38:02 Successfully built 602af24e32a5 09:38:02 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] } 09:38:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:38:15 Removing intermediate container 148b27be8371 09:38:15 ---> 6ad15aeaa97a 09:38:15 Step 10/24 : FROM scratch 09:38:15 ---> 09:38:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:38:15 ---> Running in e28c3bda4ea9 09:38:15 Removing intermediate container e28c3bda4ea9 09:38:15 ---> 87fba273546d 09:38:15 Step 12/24 : ENV APP_PORT=49990 09:38:16 ---> Running in e58d1b2b4b16 09:38:16 Removing intermediate container e58d1b2b4b16 09:38:16 ---> fcf4ac6c8609 09:38:16 Step 13/24 : EXPOSE $APP_PORT 09:38:16 ---> Running in 094a6d9aa2a1 09:38:16 Removing intermediate container 094a6d9aa2a1 09:38:16 ---> be7b323e5874 09:38:16 Step 14/24 : WORKDIR / 09:38:16 ---> Running in 08d906ceef23 09:38:17 Removing intermediate container 08d906ceef23 09:38:17 ---> 027a227f9ac9 09:38:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:38:18 ---> c346978f37bd 09:38:18 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:38:18 ---> 6689a87c165b 09:38:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:38:18 ---> 34756000d3ca 09:38:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:38:19 ---> 1ad0b43c996d 09:38:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:38:20 ---> 9611f29d3c93 09:38:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:38:20 ---> Running in 034f2a884cf4 09:38:20 Removing intermediate container 034f2a884cf4 09:38:20 ---> 50d7eab0ff73 09:38:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:38:20 ---> Running in c32f6dddce28 09:38:20 Removing intermediate container c32f6dddce28 09:38:20 ---> 04ebf36226fb 09:38:20 Step 22/24 : LABEL arch=amd64 09:38:20 ---> Running in 483853208bf0 09:38:20 Removing intermediate container 483853208bf0 09:38:20 ---> a03ee1d245f7 09:38:20 Step 23/24 : LABEL git_sha=7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 09:38:20 ---> Running in d0eba6968e99 09:38:21 Removing intermediate container d0eba6968e99 09:38:21 ---> fd8e6cb98b05 09:38:21 Step 24/24 : LABEL version=0.0.0 09:38:21 ---> Running in 885825c8829d 09:38:21 Removing intermediate container 885825c8829d 09:38:21 ---> e92f14305227 09:38:21 [Warning] One or more build-args [ARCH] were not consumed 09:38:21 Successfully built e92f14305227 09:38:22 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:38:24 provisioning config files... 09:38:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config7639276790693773541tmp [Pipeline] { [Pipeline] sh 09:38:24 + set +x 09:38:24 + curl -s https://codecov.io/bash 09:38:24 + bash -s -- 09:38:24 09:38:24 _____ _ 09:38:24 / ____| | | 09:38:24 | | ___ __| | ___ ___ _____ __ 09:38:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:38:24 | |___| (_) | (_| | __/ (_| (_) \ V / 09:38:24 \_____\___/ \__,_|\___|\___\___/ \_/ 09:38:24 Bash-20210115-cec3c92 09:38:24 09:38:24 09:38:24 ==> git version 2.24.3 found 09:38:24 ==> 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:38:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:38:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:38:24 ==> Jenkins CI detected. 09:38:24 project root: . 09:38:24 --> token set from env 09:38:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:38:24 ==> Running gcov in . (disable via -X gcov) 09:38:24 ==> Python coveragepy not found 09:38:24 ==> Searching for coverage reports in: 09:38:24 + . 09:38:24 -> Found 1 reports 09:38:24 ==> Detecting git/mercurial file structure 09:38:24 ==> Reading reports 09:38:24 + ./coverage.out bytes=137333 09:38:24 ==> Appending adjustments 09:38:24 https://docs.codecov.io/docs/fixing-reports 09:38:25 + Found adjustments 09:38:25 ==> Gzipping contents 09:38:25 24K /tmp/codecov.V88SL8.gz 09:38:25 ==> Uploading reports 09:38:25 url: https://codecov.io 09:38:25 query: branch=PR-763&commit=7e2b6fd4ea2bd364a953838dae180b77cd12b9f2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 09:38:25 -> Pinging Codecov 09:38:25 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-763&commit=7e2b6fd4ea2bd364a953838dae180b77cd12b9f2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 09:38:25 -> Uploading to 09:38:25 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/7e2b6fd4ea2bd364a953838dae180b77cd12b9f2/4e92bbc3-bcce-4847-aa07-58e41940b41a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T093825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b6c4805903689fa75f943d190e47a4d36c6607e969c7058b6592c209cdb8927 09:38:25 % Total % Received % Xferd Average Speed Time Time Time Current 09:38:25 Dload Upload Total Spent Left Speed 09:38:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21587 0 0 100 21587 0 44224 --:--:-- --:--:-- --:--:-- 44235 09:38:26 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 [Pipeline] } 09:38:26 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:38:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:38:29 ---> package-listing.sh 09:38:29 ++ facter osfamily 09:38:29 ++ tr '[:upper:]' '[:lower:]' 09:38:29 + OS_FAMILY=redhat 09:38:29 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 09:38:29 + START_PACKAGES=/tmp/packages_start.txt 09:38:29 + END_PACKAGES=/tmp/packages_end.txt 09:38:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:38:29 + PACKAGES=/tmp/packages_start.txt 09:38:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 09:38:29 + PACKAGES=/tmp/packages_end.txt 09:38:29 + case "${OS_FAMILY}" in 09:38:29 + rpm -qa 09:38:29 + sort 09:38:34 + '[' -f /tmp/packages_start.txt ']' 09:38:34 + '[' -f /tmp/packages_end.txt ']' 09:38:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:38:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 09:38:34 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ 09:38:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo 09:38:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:38:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:38:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:38:34 09:38:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:38:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:38:35 alpine: Pulling from edgex-lftools-log-publisher 09:38:35 df20fa9351a1: Pulling fs layer 09:38:35 36b3adc4ff6f: Pulling fs layer 09:38:35 8ad3a11d3b57: Pulling fs layer 09:38:35 46f8f816bc3b: Pulling fs layer 09:38:35 93b61091891f: Pulling fs layer 09:38:35 93b9cdb0e59b: Pulling fs layer 09:38:35 5e14af77c1be: Pulling fs layer 09:38:35 01666e4c0597: Pulling fs layer 09:38:35 aa168da1d23b: Pulling fs layer 09:38:35 93b9cdb0e59b: Waiting 09:38:35 aa168da1d23b: Waiting 09:38:35 5e14af77c1be: Waiting 09:38:35 01666e4c0597: Waiting 09:38:35 46f8f816bc3b: Waiting 09:38:35 36b3adc4ff6f: Download complete 09:38:35 46f8f816bc3b: Verifying Checksum 09:38:35 46f8f816bc3b: Download complete 09:38:35 df20fa9351a1: Download complete 09:38:35 93b9cdb0e59b: Verifying Checksum 09:38:35 93b9cdb0e59b: Download complete 09:38:35 93b61091891f: Download complete 09:38:35 5e14af77c1be: Download complete 09:38:35 01666e4c0597: Verifying Checksum 09:38:35 01666e4c0597: Download complete 09:38:35 df20fa9351a1: Pull complete 09:38:36 36b3adc4ff6f: Pull complete 09:38:36 8ad3a11d3b57: Download complete 09:38:36 8ad3a11d3b57: Pull complete 09:38:37 46f8f816bc3b: Pull complete 09:38:38 93b61091891f: Pull complete 09:38:38 aa168da1d23b: Verifying Checksum 09:38:38 aa168da1d23b: Download complete 09:38:38 93b9cdb0e59b: Pull complete 09:38:38 5e14af77c1be: Pull complete 09:38:38 01666e4c0597: Pull complete 09:38:46 aa168da1d23b: Pull complete 09:38:46 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:38:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:38:46 prd-centos7-docker-4c-2g-23393 does not seem to be running inside a container 09:38:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:38:50 $ docker top c58279559294ccffcee3b55287ad345ee034c354e50a925bcddcb83f191aa9b5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:38:51 + touch /tmp/pre-build-complete [Pipeline] sh 09:38:51 + mkdir -p /var/log/sa [Pipeline] sh 09:38:52 + ls /var/log/sa-host 09:38:52 + sadf -c /var/log/sa-host/sa23 09:38:52 file_magic: OK 09:38:52 HZ: Using current value: 100 09:38:52 file_header: OK 09:38:52 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:38:52 Statistics: 09:38:52 Hnuu...uuuununununu... 09:38:52 File successfully converted to sysstat format version 12.2.1 09:38:52 + sadf -c /var/log/sa-host/sa27 09:38:52 file_magic: OK 09:38:52 HZ: Using current value: 100 09:38:52 file_header: OK 09:38:52 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:38:52 Statistics: 09:38:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:38:52 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:38:52 provisioning config files... 09:38:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config3049773864113610760tmp [Pipeline] { [Pipeline] echo 09:38:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:38:53 ---> create-netrc.sh [Pipeline] } 09:38:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:38:53 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:38:53 ---> python-tools-install.sh [Pipeline] echo 09:38:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:38:53 ---> sudo-logs.sh 09:38:53 Archiving 'sudo' log.. [Pipeline] echo 09:38:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:38:54 ---> job-cost.sh 09:38:54 lf-activate-venv: SKIPPING 09:38:54 INFO: No Stack... 09:38:54 INFO: Retrieving Pricing Info for: v1-standard-2 09:38:55 INFO: Archiving Costs [Pipeline] echo 09:38:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:38:55 ---> logs-deploy.sh 09:38:55 lf-activate-venv: SKIPPING 09:38:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/2 09:38:55 INFO: archiving workspace using pattern(s): 09:38:57 Archives upload complete. 09:38:57 INFO: archiving logs to Nexus 09:38:58 ---> uname -a: 09:38:58 Linux prd-centos7-docker-4c-2g-23393.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:38:58 09:38:58 09:38:58 ---> lscpu: 09:38:58 Architecture: x86_64 09:38:58 CPU op-mode(s): 32-bit, 64-bit 09:38:58 Byte Order: Little Endian 09:38:58 Address sizes: 40 bits physical, 48 bits virtual 09:38:58 CPU(s): 4 09:38:58 On-line CPU(s) list: 0-3 09:38:58 Thread(s) per core: 1 09:38:58 Core(s) per socket: 1 09:38:58 Socket(s): 4 09:38:58 NUMA node(s): 1 09:38:58 Vendor ID: GenuineIntel 09:38:58 CPU family: 6 09:38:58 Model: 44 09:38:58 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:38:58 Stepping: 1 09:38:58 CPU MHz: 2933.442 09:38:58 BogoMIPS: 5866.88 09:38:58 Virtualization: VT-x 09:38:58 Hypervisor vendor: KVM 09:38:58 Virtualization type: full 09:38:58 L1d cache: 128 KiB 09:38:58 L1i cache: 128 KiB 09:38:58 L2 cache: 16 MiB 09:38:58 L3 cache: 64 MiB 09:38:58 NUMA node0 CPU(s): 0-3 09:38:58 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:38:58 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:38:58 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:38:58 Vulnerability Meltdown: Mitigation; PTI 09:38:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:38:58 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:38:58 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:38:58 Vulnerability Srbds: Not affected 09:38:58 Vulnerability Tsx async abort: Not affected 09:38:58 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:38:58 09:38:58 09:38:58 ---> nproc: 09:38:58 4 09:38:58 09:38:58 09:38:58 ---> df -h: 09:38:58 Filesystem Size Used Available Use% Mounted on 09:38:58 overlay 50.0G 7.3G 42.7G 15% / 09:38:58 tmpfs 64.0M 0 64.0M 0% /dev 09:38:58 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:38:58 shm 64.0M 0 64.0M 0% /dev/shm 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 09:38:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 09:38:58 09:38:58 09:38:58 ---> free -m: 09:38:58 total used free shared buff/cache available 09:38:58 Mem: 1837 702 106 0 1027 1029 09:38:58 Swap: 1023 0 1023 09:38:58 09:38:58 09:38:58 ---> ip addr: 09:38:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:38:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:38:58 inet 127.0.0.1/8 scope host lo 09:38:58 valid_lft forever preferred_lft forever 09:38:58 inet6 ::1/128 scope host 09:38:58 valid_lft forever preferred_lft forever 09:38:58 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:38:58 link/ether fa:16:3e:09:02:50 brd ff:ff:ff:ff:ff:ff 09:38:58 inet 10.30.123.160/23 brd 10.30.123.255 scope global dynamic eth0 09:38:58 valid_lft 85893sec preferred_lft 85893sec 09:38:58 inet6 fe80::f816:3eff:fe09:250/64 scope link 09:38:58 valid_lft forever preferred_lft forever 09:38:58 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:38:58 link/ether 02:42:f8:f8:e7:66 brd ff:ff:ff:ff:ff:ff 09:38:58 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:38:58 valid_lft forever preferred_lft forever 09:38:58 inet6 fe80::42:f8ff:fef8:e766/64 scope link 09:38:58 valid_lft forever preferred_lft forever 09:38:58 09:38:58 09:38:58 ---> sar -b -r -n DEV: 09:38:58 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 09:38:58 09:38:58 09:30:20 LINUX RESTART (4 CPU) 09:38:58 09:38:58 09:31:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:38:58 09:32:01 31.47 10.91 20.56 0.00 4357.51 2887.75 0.00 09:38:58 09:33:01 0.95 0.00 0.95 0.00 0.00 20.59 0.00 09:38:58 09:34:01 0.30 0.00 0.30 0.00 0.00 3.76 0.00 09:38:58 09:35:01 0.28 0.00 0.28 0.00 0.00 4.53 0.00 09:38:58 09:36:01 0.15 0.00 0.15 0.00 0.00 1.93 0.00 09:38:58 09:37:01 0.36 0.00 0.36 0.00 0.00 4.78 0.00 09:38:58 09:38:01 0.28 0.00 0.28 0.00 0.00 2.75 0.00 09:38:58 Average: 4.84 1.56 3.28 0.00 624.19 419.14 0.00 09:38:58 09:38:58 09:31:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:38:58 09:32:01 146284 0 605088 32.16 2620 1127552 1090808 37.23 421648 1114068 20 09:38:58 09:33:01 153284 0 598080 31.79 2620 1127560 1057100 36.08 419528 1110128 8 09:38:58 09:34:01 150988 0 600372 31.91 2620 1127564 1057220 36.08 418232 1113776 8 09:38:58 09:35:01 150476 0 600884 31.94 2620 1127564 1057304 36.08 432240 1100224 20 09:38:58 09:36:01 150332 0 601020 31.94 2620 1127572 1057184 36.08 428184 1104940 16 09:38:58 09:37:01 150724 0 600624 31.92 2620 1127576 1057136 36.08 433084 1099816 12 09:38:58 09:38:01 150912 0 600432 31.91 2620 1127580 1057100 36.08 432852 1099860 8 09:38:58 Average: 150429 0 600929 31.94 2620 1127567 1061979 36.24 426538 1106116 13 09:38:58 09:38:58 09:31:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:38:58 09:32:01 eth0 90.76 76.96 366.76 38.97 0.00 0.00 0.00 0.00 09:38:58 09:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:32:01 docker0 8.69 6.73 1.24 23.30 0.00 0.00 0.00 0.00 09:38:58 09:33:01 eth0 0.68 0.02 0.06 0.00 0.00 0.00 0.00 0.00 09:38:58 09:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:34:01 eth0 3.03 1.47 2.03 0.24 0.00 0.00 0.00 0.00 09:38:58 09:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:35:01 eth0 0.55 0.42 0.27 0.24 0.00 0.00 0.00 0.00 09:38:58 09:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:36:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 09:38:58 09:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:37:01 eth0 0.19 0.15 0.07 0.01 0.00 0.00 0.00 0.00 09:38:58 09:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:38:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:38:58 09:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 09:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 Average: eth0 13.68 11.35 52.90 5.66 0.00 0.00 0.00 0.00 09:38:58 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:38:58 Average: docker0 1.24 0.96 0.18 3.34 0.00 0.00 0.00 0.00 09:38:58 09:38:58 09:38:58 ---> sar -P ALL: 09:38:58 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 09:38:58 09:38:58 09:30:20 LINUX RESTART (4 CPU) 09:38:58 09:38:58 09:31:01 CPU %user %nice %system %iowait %steal %idle 09:38:58 09:32:01 all 2.69 0.00 1.59 0.56 0.00 95.15 09:38:58 09:32:01 0 2.33 0.00 1.39 0.28 0.00 96.00 09:38:58 09:32:01 1 2.95 0.00 1.71 0.42 0.02 94.91 09:38:58 09:32:01 2 2.55 0.00 1.57 1.32 0.00 94.56 09:38:58 09:32:01 3 2.94 0.00 1.71 0.22 0.00 95.13 09:38:58 09:33:01 all 0.15 0.00 0.04 0.00 0.00 99.81 09:38:58 09:33:01 0 0.00 0.00 0.03 0.00 0.00 99.97 09:38:58 09:33:01 1 0.53 0.00 0.03 0.00 0.00 99.43 09:38:58 09:33:01 2 0.07 0.00 0.05 0.00 0.00 99.88 09:38:58 09:33:01 3 0.02 0.00 0.03 0.00 0.00 99.95 09:38:58 09:34:01 all 0.17 0.00 0.03 0.00 0.00 99.80 09:38:58 09:34:01 0 0.03 0.00 0.02 0.00 0.00 99.95 09:38:58 09:34:01 1 0.23 0.00 0.03 0.00 0.00 99.73 09:38:58 09:34:01 2 0.05 0.00 0.03 0.00 0.02 99.90 09:38:58 09:34:01 3 0.37 0.00 0.03 0.00 0.00 99.60 09:38:58 09:35:01 all 0.15 0.00 0.03 0.00 0.00 99.83 09:38:58 09:35:01 0 0.03 0.00 0.00 0.00 0.00 99.97 09:38:58 09:35:01 1 0.03 0.00 0.02 0.00 0.00 99.95 09:38:58 09:35:01 2 0.03 0.00 0.05 0.00 0.00 99.92 09:38:58 09:35:01 3 0.50 0.00 0.03 0.00 0.00 99.47 09:38:58 09:36:01 all 0.18 0.00 0.07 0.00 0.00 99.75 09:38:58 09:36:01 0 0.00 0.00 0.03 0.00 0.00 99.97 09:38:58 09:36:01 1 0.07 0.00 0.13 0.00 0.00 99.80 09:38:58 09:36:01 2 0.08 0.00 0.05 0.00 0.00 99.87 09:38:58 09:36:01 3 0.57 0.00 0.08 0.00 0.00 99.35 09:38:58 09:37:01 all 0.15 0.00 0.03 0.00 0.00 99.81 09:38:58 09:37:01 0 0.02 0.00 0.02 0.00 0.00 99.97 09:38:58 09:37:01 1 0.07 0.00 0.05 0.00 0.02 99.86 09:38:58 09:37:01 2 0.03 0.00 0.02 0.00 0.00 99.95 09:38:58 09:37:01 3 0.49 0.00 0.05 0.00 0.00 99.46 09:38:58 09:38:01 all 0.10 0.00 0.04 0.00 0.00 99.86 09:38:58 09:38:01 0 0.05 0.00 0.00 0.00 0.02 99.93 09:38:58 09:38:01 1 0.02 0.00 0.02 0.00 0.00 99.97 09:38:58 09:38:01 2 0.05 0.00 0.03 0.00 0.00 99.92 09:38:58 09:38:01 3 0.27 0.00 0.10 0.00 0.00 99.63 09:38:58 Average: all 0.51 0.00 0.26 0.08 0.00 99.14 09:38:58 Average: 0 0.35 0.00 0.21 0.04 0.00 99.39 09:38:58 Average: 1 0.56 0.00 0.28 0.06 0.00 99.09 09:38:58 Average: 2 0.41 0.00 0.26 0.19 0.00 99.14 09:38:58 Average: 3 0.74 0.00 0.29 0.03 0.00 98.94 09:38:58 09:38:58 09:38:58