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 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee+76d059c2e27a3d5d488ff0022063f09e99d334bf (745ac03a183073ecdbc01a61d2a4b2e8eeae2022) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-23397 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 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee Merge succeeded, producing 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee Checking out Revision 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee (PR-763) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 Commit message: "feat: make update PW callback aware of service change" > git rev-list --no-walk 7e2b6fd4ea2bd364a953838dae180b77cd12b9f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:21:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:21:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:21:10 ========================================================= 10:21:10 EdgeX Global Pipelines Version Info 10:21:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:21:11 ------------------- 10:21:11 stable info: 10:21:11 ------------------- 10:21:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:21:11 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 10:21:11 Message: update stable to v1.0.179 10:21:12 ------------------- 10:21:12 experimental info: 10:21:12 ------------------- 10:21:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:21:12 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 10:21:12 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:21:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:21:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:21:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:21:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:21:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:21:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:21:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:21:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:21:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 10:21:15 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 10:21:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo 10:21:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo 10:21:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo 10:21:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee [Pipeline] echo 10:21:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1776fc3 [Pipeline] echo 10:21:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:21:16 provisioning config files... 10:21:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config8695905972171448151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:17 ---> docker-login.sh 10:21:17 nexus3.edgexfoundry.org:10001 10:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:17 Configure a credential helper to remove this warning. See 10:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:17 10:21:17 Login Succeeded 10:21:17 nexus3.edgexfoundry.org:10002 10:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:17 Configure a credential helper to remove this warning. See 10:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:17 10:21:17 Login Succeeded 10:21:17 nexus3.edgexfoundry.org:10003 10:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:17 Configure a credential helper to remove this warning. See 10:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:17 10:21:17 Login Succeeded 10:21:17 nexus3.edgexfoundry.org:10004 10:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:18 Configure a credential helper to remove this warning. See 10:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:18 10:21:18 Login Succeeded 10:21:18 docker.io 10:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:18 Configure a credential helper to remove this warning. See 10:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:18 10:21:18 Login Succeeded 10:21:18 ---> docker-login.sh ends [Pipeline] } 10:21:18 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 10:21:19 + git log --format=format:%s -1 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee [Pipeline] echo 10:21:19 GIT_COMMIT: 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee, Commit Message: feat: make update PW callback aware of service change [Pipeline] echo 10:21:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:21:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:21:20 10:21:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:21:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:21:21 latest: Pulling from edgex-devops/git-semver 10:21:21 31603596830f: Pulling fs layer 10:21:21 2a8b12db71e7: Pulling fs layer 10:21:21 6ca5941a6612: Pulling fs layer 10:21:21 ecc8261a40a4: Pulling fs layer 10:21:21 ecc8261a40a4: Waiting 10:21:21 2a8b12db71e7: Verifying Checksum 10:21:21 2a8b12db71e7: Download complete 10:21:21 31603596830f: Verifying Checksum 10:21:21 31603596830f: Download complete 10:21:21 ecc8261a40a4: Verifying Checksum 10:21:21 ecc8261a40a4: Download complete 10:21:21 6ca5941a6612: Download complete 10:21:21 31603596830f: Pull complete 10:21:21 2a8b12db71e7: Pull complete 10:21:22 6ca5941a6612: Pull complete 10:21:22 ecc8261a40a4: Pull complete 10:21:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:21:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:21:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:21:22 prd-centos7-docker-4c-2g-23397 does not seem to be running inside a container 10:21:22 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:21:25 $ docker top 0d0e7888de79acf10fe431d21ee3d554c66c65c02ce822c22961e1f76a51fc46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:21:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:25 [ssh-agent] Looking for ssh-agent implementation... 10:21:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:25 $ docker exec 0d0e7888de79acf10fe431d21ee3d554c66c65c02ce822c22961e1f76a51fc46 ssh-agent 10:21:25 SSH_AUTH_SOCK=/tmp/ssh-OvRoS8LGMdXK/agent.11 10:21:25 SSH_AGENT_PID=16 10:21:25 Running ssh-add (command line suppressed) 10:21:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_954700802564559884.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_954700802564559884.key) 10:21:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:26 + git tag --points-at HEAD [Pipeline] } 10:21:26 $ docker exec --env ******** --env ******** 0d0e7888de79acf10fe431d21ee3d554c66c65c02ce822c22961e1f76a51fc46 ssh-agent -k 10:21:26 unset SSH_AUTH_SOCK; 10:21:26 unset SSH_AGENT_PID; 10:21:26 echo Agent pid 16 killed; 10:21:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:21:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:26 [ssh-agent] Looking for ssh-agent implementation... 10:21:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:26 $ docker exec 0d0e7888de79acf10fe431d21ee3d554c66c65c02ce822c22961e1f76a51fc46 ssh-agent 10:21:27 SSH_AUTH_SOCK=/tmp/ssh-0UwilGYpb9nH/agent.44 10:21:27 SSH_AGENT_PID=50 10:21:27 Running ssh-add (command line suppressed) 10:21:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_9086750214008946757.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_9086750214008946757.key) 10:21:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:27 + git semver init 10:21:27 # -> Open(): unable to determine branch for HEAD 10:21:27 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git 10:21:27 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 10:21:27 # $SEMVER_REMOTE_NAME = origin 10:21:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:21:27 # $SEMVER_USER_NAME = edgex-jenkins 10:21:27 # $SEMVER_BRANCH = PR-763 10:21:27 # $SEMVER_TEMP = /tmp/semver-872248211 10:21:27 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:21:28 # '/tmp/semver-872248211' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' 10:21:28 # -> Force: false 10:21:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } 10:21:28 $ docker exec --env ******** --env ******** 0d0e7888de79acf10fe431d21ee3d554c66c65c02ce822c22961e1f76a51fc46 ssh-agent -k 10:21:28 unset SSH_AUTH_SOCK; 10:21:28 unset SSH_AGENT_PID; 10:21:28 echo Agent pid 50 killed; 10:21:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:21:29 + git semver [Pipeline] } 10:21:29 $ docker stop --time=1 0d0e7888de79acf10fe431d21ee3d554c66c65c02ce822c22961e1f76a51fc46 10:21:30 $ docker rm -f 0d0e7888de79acf10fe431d21ee3d554c66c65c02ce822c22961e1f76a51fc46 [Pipeline] // withDockerContainer [Pipeline] sh 10:21:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:21:31 Stashed 1 file(s) [Pipeline] echo 10:21:31 [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 10:21:47 Still waiting to schedule task 10:21:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:21:47 Still waiting to schedule task 10:21:47 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 10:23:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23398 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 10:23:39 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:23:44 using credential edgex-jenkins-ssh 10:23:44 Cloning the remote Git repository 10:23:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:23:44 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:23:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:23:44 > git --version # timeout=10 10:23:44 > git --version # 'git version 2.17.1' 10:23:44 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:23:46 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee 10:23:46 Merge succeeded, producing 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee 10:23:46 Checking out Revision 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee (PR-763) 10:23:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:23:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:23:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:23:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:23:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:46 > 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 10:23:46 > git config core.sparsecheckout # timeout=10 10:23:46 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 10:23:46 > git remote # timeout=10 10:23:46 > git config --get remote.origin.url # timeout=10 10:23:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:46 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 10:23:46 > git rev-parse HEAD^{commit} # timeout=10 10:23:46 > git config core.sparsecheckout # timeout=10 10:23:46 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 10:23:51 Commit message: "feat: make update PW callback aware of service change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:23:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:23:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:23:53 + sudo service docker restart 10:23:53 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:23:56 provisioning config files... 10:23:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3074568294505867127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:56 ---> docker-login.sh 10:23:56 nexus3.edgexfoundry.org:10001 10:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:58 Configure a credential helper to remove this warning. See 10:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:58 10:23:58 Login Succeeded 10:23:58 nexus3.edgexfoundry.org:10002 10:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:58 Configure a credential helper to remove this warning. See 10:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:58 10:23:58 Login Succeeded 10:23:58 nexus3.edgexfoundry.org:10003 10:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:59 Configure a credential helper to remove this warning. See 10:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:59 10:23:59 Login Succeeded 10:23:59 nexus3.edgexfoundry.org:10004 10:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:59 Configure a credential helper to remove this warning. See 10:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:59 10:23:59 Login Succeeded 10:23:59 docker.io 10:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:00 Configure a credential helper to remove this warning. See 10:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:00 10:24:00 Login Succeeded 10:24:00 ---> docker-login.sh ends [Pipeline] } 10:24:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:24:00 ========================================================= 10:24:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:24:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:24:01 + 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 . 10:24:01 Sending build context to Docker daemon 2.674MB 10:24:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:24:01 Step 2/8 : FROM ${BASE} 10:24:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:24:01 5f621e34cdf4: Pulling fs layer 10:24:01 a4357932f1b6: Pulling fs layer 10:24:01 18c013af1878: Pulling fs layer 10:24:01 00ac8860ef70: Pulling fs layer 10:24:01 63d7cb157983: Pulling fs layer 10:24:01 b116817d02f9: Pulling fs layer 10:24:01 745a02a5169b: Pulling fs layer 10:24:01 00ac8860ef70: Waiting 10:24:01 63d7cb157983: Waiting 10:24:01 b116817d02f9: Waiting 10:24:01 745a02a5169b: Waiting 10:24:01 18c013af1878: Verifying Checksum 10:24:01 18c013af1878: Download complete 10:24:01 a4357932f1b6: Verifying Checksum 10:24:01 a4357932f1b6: Download complete 10:24:02 63d7cb157983: Verifying Checksum 10:24:02 63d7cb157983: Download complete 10:24:02 b116817d02f9: Download complete 10:24:02 5f621e34cdf4: Verifying Checksum 10:24:02 5f621e34cdf4: Download complete 10:24:03 5f621e34cdf4: Pull complete 10:24:03 a4357932f1b6: Pull complete 10:24:03 Running on prd-centos7-docker-4c-2g-23399 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 10:24:04 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:24:04 18c013af1878: Pull complete 10:24:04 745a02a5169b: Verifying Checksum 10:24:04 745a02a5169b: Download complete 10:24:06 00ac8860ef70: Verifying Checksum 10:24:06 00ac8860ef70: Download complete 10:24:06 using credential edgex-jenkins-ssh 10:24:06 Cloning the remote Git repository 10:24:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:24:06 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:24:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:24:06 > git --version # timeout=10 10:24:06 > git --version # 'git version 2.24.3' 10:24:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:24:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:24:07 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee 10:24:08 Merge succeeded, producing 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee 10:24:08 Checking out Revision 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee (PR-763) 10:24:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:24:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:24:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:24:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:24:07 using GIT_SSH to set credentials SSH Credentials for GitHub 10:24:07 > 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 10:24:07 > git config core.sparsecheckout # timeout=10 10:24:07 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 10:24:08 > git remote # timeout=10 10:24:08 > git config --get remote.origin.url # timeout=10 10:24:08 using GIT_SSH to set credentials SSH Credentials for GitHub 10:24:08 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 10:24:08 > git rev-parse HEAD^{commit} # timeout=10 10:24:08 > git config core.sparsecheckout # timeout=10 10:24:08 > git checkout -f 1776fc3b6198d96870b1b4e6c90b9d6da003d4ee # timeout=10 10:24:11 Commit message: "feat: make update PW callback aware of service change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:12 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:24:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:24:13 + sudo service docker restart 10:24:13 + true 10:24:13 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:24:14 provisioning config files... 10:24:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2619646976218301701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:14 ---> docker-login.sh 10:24:14 nexus3.edgexfoundry.org:10001 10:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:15 Configure a credential helper to remove this warning. See 10:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:15 10:24:15 Login Succeeded 10:24:15 nexus3.edgexfoundry.org:10002 10:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:15 Configure a credential helper to remove this warning. See 10:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:15 10:24:15 Login Succeeded 10:24:15 nexus3.edgexfoundry.org:10003 10:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:15 Configure a credential helper to remove this warning. See 10:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:15 10:24:15 Login Succeeded 10:24:15 nexus3.edgexfoundry.org:10004 10:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:15 Configure a credential helper to remove this warning. See 10:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:15 10:24:15 Login Succeeded 10:24:15 docker.io 10:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:16 Configure a credential helper to remove this warning. See 10:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:16 10:24:16 Login Succeeded 10:24:16 ---> docker-login.sh ends [Pipeline] } 10:24:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 10:24:16 00ac8860ef70: Pull complete 10:24:16 63d7cb157983: Pull complete 10:24:16 b116817d02f9: Pull complete [Pipeline] echo 10:24:16 ========================================================= 10:24:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:24:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:24:16 + 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 . 10:24:17 Sending build context to Docker daemon 2.668MB 10:24:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:24:17 Step 2/8 : FROM ${BASE} 10:24:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:24:17 188c0c94c7c5: Pulling fs layer 10:24:17 0ef7d3d256c8: Pulling fs layer 10:24:17 de9db76c5a1d: Pulling fs layer 10:24:17 bca2f99d35d6: Pulling fs layer 10:24:17 93359f2a8cfa: Pulling fs layer 10:24:17 7c6f9722023f: Pulling fs layer 10:24:17 a35cf1a2eb13: Pulling fs layer 10:24:17 93359f2a8cfa: Waiting 10:24:17 7c6f9722023f: Waiting 10:24:17 bca2f99d35d6: Waiting 10:24:17 a35cf1a2eb13: Waiting 10:24:17 de9db76c5a1d: Verifying Checksum 10:24:17 de9db76c5a1d: Download complete 10:24:17 0ef7d3d256c8: Verifying Checksum 10:24:17 0ef7d3d256c8: Download complete 10:24:17 93359f2a8cfa: Verifying Checksum 10:24:17 93359f2a8cfa: Download complete 10:24:17 188c0c94c7c5: Verifying Checksum 10:24:17 188c0c94c7c5: Download complete 10:24:17 7c6f9722023f: Verifying Checksum 10:24:17 7c6f9722023f: Download complete 10:24:17 188c0c94c7c5: Pull complete 10:24:17 0ef7d3d256c8: Pull complete 10:24:17 de9db76c5a1d: Pull complete 10:24:19 a35cf1a2eb13: Verifying Checksum 10:24:19 a35cf1a2eb13: Download complete 10:24:20 bca2f99d35d6: Verifying Checksum 10:24:20 bca2f99d35d6: Download complete 10:24:20 745a02a5169b: Pull complete 10:24:20 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:24:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:24:20 ---> b7e6874047d6 10:24:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:24:23 ---> Running in 110369e3a37d 10:24:23 Removing intermediate container 110369e3a37d 10:24:23 ---> 37701258c305 10:24:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:23 ---> Running in 2dadef541009 10:24:25 bca2f99d35d6: Pull complete 10:24:25 93359f2a8cfa: Pull complete 10:24:25 7c6f9722023f: Pull complete 10:24:26 Removing intermediate container 2dadef541009 10:24:26 ---> e517bd41b5e4 10:24:26 Step 5/8 : RUN apk add --update --no-cache make git 10:24:26 ---> Running in dd860e48ad5f 10:24:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:24:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:24:29 OK: 142 MiB in 39 packages 10:24:30 a35cf1a2eb13: Pull complete 10:24:30 Removing intermediate container dd860e48ad5f 10:24:30 ---> c75eb5f0a44a 10:24:30 Step 6/8 : WORKDIR /device-sdk-go 10:24:31 ---> Running in ab5b07689da5 10:24:31 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:24:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:24:31 ---> a62c8e92a672 10:24:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:24:31 ---> Running in 0d43f6a3fed7 10:24:31 Removing intermediate container ab5b07689da5 10:24:31 ---> 94eaa0bc5497 10:24:31 Step 7/8 : COPY . . 10:24:31 Removing intermediate container 0d43f6a3fed7 10:24:31 ---> 7cc441cf852f 10:24:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:31 ---> Running in 6de4c7d41ceb 10:24:32 ---> 8f670612ec06 10:24:32 Step 8/8 : RUN go mod download 10:24:32 Removing intermediate container 6de4c7d41ceb 10:24:32 ---> e75bd50a7d19 10:24:32 Step 5/8 : RUN apk add --update --no-cache make git 10:24:32 ---> Running in 9ab038662c8d 10:24:32 ---> Running in f7463613f5f7 10:24:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:24:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:24:36 OK: 166 MiB in 39 packages 10:24:36 Removing intermediate container 9ab038662c8d 10:24:36 ---> cedac35395ab 10:24:36 Step 6/8 : WORKDIR /device-sdk-go 10:24:36 ---> Running in 5121e79cd015 10:24:36 Removing intermediate container 5121e79cd015 10:24:36 ---> e59471a5e8b9 10:24:36 Step 7/8 : COPY . . 10:24:37 ---> 59f5bb3a93bd 10:24:37 Step 8/8 : RUN go mod download 10:24:38 ---> Running in 42fc88c4c7fc 10:24:55 Removing intermediate container f7463613f5f7 10:24:55 ---> 42c3bcd76f2a 10:24:55 Successfully built 42c3bcd76f2a 10:24:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:24:55 + docker inspect -f . ci-base-image-arm64 10:24:55 . [Pipeline] withDockerContainer 10:24:55 prd-ubuntu18.04-docker-arm64-4c-16g-23398 does not seem to be running inside a container 10:24:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:24:56 Removing intermediate container 42fc88c4c7fc 10:24:56 ---> 1875c764701d 10:24:56 Successfully built 1875c764701d 10:24:56 Successfully tagged ci-base-image-x86_64:latest 10:24:57 $ docker top f4bf79a8df37ba689e713b997a1770a226bb837a330a59b06b1360410c6720b4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 10:24:58 + docker inspect -f . ci-base-image-x86_64 10:24:58 . [Pipeline] withDockerContainer 10:24:58 prd-centos7-docker-4c-2g-23399 does not seem to be running inside a container 10:24:58 + go version 10:24:58 go version go1.15.5 linux/arm64 10:24:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 10:24:59 $ docker top 9d173e1a8d58768d255cfcffb1f24c9600d3a9f6ea00e45af2981eb0c33aa2d9 -eo pid,comm [Pipeline] { [Pipeline] } 10:24:59 $ docker stop --time=1 f4bf79a8df37ba689e713b997a1770a226bb837a330a59b06b1360410c6720b4 10:25:01 $ docker rm -f f4bf79a8df37ba689e713b997a1770a226bb837a330a59b06b1360410c6720b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage 10:25:01 + go version 10:25:01 go version go1.15.5 linux/amd64 [Pipeline] stage [Pipeline] { (Test) [Pipeline] } 10:25:01 $ docker stop --time=1 9d173e1a8d58768d255cfcffb1f24c9600d3a9f6ea00e45af2981eb0c33aa2d9 10:25:03 $ docker rm -f 9d173e1a8d58768d255cfcffb1f24c9600d3a9f6ea00e45af2981eb0c33aa2d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:25:04 + docker inspect -f . ci-base-image-arm64 10:25:04 . [Pipeline] withDockerContainer 10:25:04 + docker inspect -f . ci-base-image-x86_64 10:25:04 . 10:25:04 prd-ubuntu18.04-docker-arm64-4c-16g-23398 does not seem to be running inside a container 10:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:25:05 $ docker top 2227588e81755aada30c8e1da0de59277b4e0db9110149964ea4ea07ff4d7759 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 10:25:06 prd-centos7-docker-4c-2g-23399 does not seem to be running inside a container 10:25:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 10:25:06 $ docker top c71949e9c0be3f6c1e482389005a4a3b389519bb5bfee203c19a7612a3156a62 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 10:25:07 + make test 10:25:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:25:07 + make test 10:25:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:25:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:25:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:25:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:25:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:25:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 19.4% of statements 10:25:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:25:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.460s coverage: 97.1% of statements 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.065s coverage: 9.4% of statements 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.045s coverage: 21.7% of statements 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.215s coverage: 43.6% of statements 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.256s coverage: 68.9% of statements 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 53.8% of statements 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 25.2% of statements 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.271s coverage: 83.5% of statements 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 10:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:25:59 GO111MODULE=on go vet ./... 10:26:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:26:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:26:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:26:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 19.4% of statements 10:26:11 gofmt -l . 10:26:11 [ "`gofmt -l .`" = "" ] 10:26:11 ./bin/test-attribution-txt.sh 10:26:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:26:11 $ docker stop --time=1 c71949e9c0be3f6c1e482389005a4a3b389519bb5bfee203c19a7612a3156a62 10:26:13 $ docker rm -f c71949e9c0be3f6c1e482389005a4a3b389519bb5bfee203c19a7612a3156a62 [Pipeline] // withDockerContainer [Pipeline] sh 10:26:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:26:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 10:26:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.193s coverage: 97.1% of statements [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:26:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:26:17 + ls -al . 10:26:17 total 216 10:26:17 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 10:26 . 10:26:17 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 10:24 .. 10:26:17 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 10:24 bin 10:26:17 -rw-r--r--. 1 jenkins jenkins 137334 Jan 27 10:25 coverage.out 10:26:17 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 10:24 Dockerfile.build 10:26:17 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 10:24 .dockerignore 10:26:17 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 10:24 example 10:26:17 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 10:24 .git 10:26:17 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 10:24 .github 10:26:17 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 10:24 .gitignore 10:26:17 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 10:26 go.mod 10:26:17 -rw-r--r--. 1 jenkins jenkins 14191 Jan 27 10:26 go.sum 10:26:17 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 10:24 internal 10:26:17 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 10:24 Jenkinsfile 10:26:17 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 10:24 LICENSE 10:26:17 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 10:24 Makefile 10:26:17 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 10:24 openapi 10:26:17 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 10:24 pkg 10:26:17 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 10:24 README.md 10:26:17 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 10:24 RELEASE-NOTES.txt 10:26:17 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 10:24 snap 10:26:17 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 10:21 VERSION 10:26:17 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 10:24 version.go [Pipeline] isUnix [Pipeline] sh 10:26:18 + 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=1776fc3b6198d96870b1b4e6c90b9d6da003d4ee --label arch=amd64 --label version=0.0.0 . 10:26:18 Sending build context to Docker daemon 2.806MB 10:26:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:26:18 Step 2/24 : FROM ${BASE} AS builder 10:26:18 ---> 1875c764701d 10:26:18 Step 3/24 : ARG MAKE='make build' 10:26:18 ---> Running in f596c8243f9b 10:26:18 Removing intermediate container f596c8243f9b 10:26:18 ---> 2aa0d6c40fa3 10:26:18 Step 4/24 : WORKDIR /device-sdk-go 10:26:19 ---> Running in 958b62f2f1f2 10:26:19 Removing intermediate container 958b62f2f1f2 10:26:19 ---> e2a4a66db8d9 10:26:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:26:19 ---> Running in fd3088ea074b 10:26:19 Removing intermediate container fd3088ea074b 10:26:19 ---> 860454f9ae35 10:26:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:26:19 ---> Running in 0a0b4b117913 10:26:20 Removing intermediate container 0a0b4b117913 10:26:20 ---> bffcacbd83c9 10:26:20 Step 7/24 : RUN apk add --update --no-cache make git 10:26:20 ---> Running in b736f40cfb9d 10:26:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:26:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:26:23 OK: 166 MiB in 39 packages 10:26:23 Removing intermediate container b736f40cfb9d 10:26:23 ---> 44e1189807a7 10:26:23 Step 8/24 : COPY . . 10:26:25 ---> 25e63e88d6f2 10:26:25 Step 9/24 : RUN ${MAKE} 10:26:25 ---> Running in 3c746081f4ed 10:26:25 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 10:26:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:26:36 Removing intermediate container 3c746081f4ed 10:26:36 ---> 3aabda4c0a22 10:26:36 Step 10/24 : FROM scratch 10:26:36 ---> 10:26:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:26:36 ---> Running in 53a9ca56e072 10:26:36 Removing intermediate container 53a9ca56e072 10:26:36 ---> 63e0477ed0d6 10:26:36 Step 12/24 : ENV APP_PORT=49990 10:26:36 ---> Running in e8362883c905 10:26:36 Removing intermediate container e8362883c905 10:26:36 ---> 799ea29d2de7 10:26:36 Step 13/24 : EXPOSE $APP_PORT 10:26:36 ---> Running in 350f3896259a 10:26:36 Removing intermediate container 350f3896259a 10:26:36 ---> afdb90940da7 10:26:36 Step 14/24 : WORKDIR / 10:26:36 ---> Running in 345519753db7 10:26:36 Removing intermediate container 345519753db7 10:26:36 ---> 7c96443454cd 10:26:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:26:37 ---> ace3705efd61 10:26:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:26:37 ---> d15668b7c4fd 10:26:37 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:26:38 ---> 367cfae76b8f 10:26:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:26:38 ---> 5fae5570135f 10:26:38 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:26:38 ---> 24f89c7cdfd4 10:26:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:26:38 ---> Running in 2e60285e7dea 10:26:38 Removing intermediate container 2e60285e7dea 10:26:38 ---> fcfac5db91ee 10:26:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:26:38 ---> Running in e2c1e6b3dab7 10:26:38 Removing intermediate container e2c1e6b3dab7 10:26:38 ---> a140096ba2f6 10:26:38 Step 22/24 : LABEL arch=amd64 10:26:38 ---> Running in 08a6827ea06c 10:26:39 Removing intermediate container 08a6827ea06c 10:26:39 ---> 1b9b799e923c 10:26:39 Step 23/24 : LABEL git_sha=1776fc3b6198d96870b1b4e6c90b9d6da003d4ee 10:26:39 ---> Running in 5720f7977a49 10:26:39 Removing intermediate container 5720f7977a49 10:26:39 ---> 6f0bdc024776 10:26:39 Step 24/24 : LABEL version=0.0.0 10:26:39 ---> Running in 43d1997b113d 10:26:39 Removing intermediate container 43d1997b113d 10:26:39 ---> 2a0c5ef4ae9f 10:26:39 [Warning] One or more build-args [ARCH] were not consumed 10:26:39 Successfully built 2a0c5ef4ae9f 10:26:39 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] } 10:26:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.169s coverage: 9.4% of statements 10:26:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:26:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.600s coverage: 43.6% of statements 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:26:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.739s coverage: 68.9% of statements 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:26:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.181s coverage: 53.8% of statements 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 10:26:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.294s coverage: 25.2% of statements 10:26:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.892s coverage: 83.5% of statements 10:26:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements 10:26:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:26:42 GO111MODULE=on go vet ./... 10:27:14 gofmt -l . 10:27:14 [ "`gofmt -l .`" = "" ] 10:27:15 ./bin/test-attribution-txt.sh 10:27:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:27:16 $ docker stop --time=1 2227588e81755aada30c8e1da0de59277b4e0db9110149964ea4ea07ff4d7759 10:27:19 $ docker rm -f 2227588e81755aada30c8e1da0de59277b4e0db9110149964ea4ea07ff4d7759 [Pipeline] // withDockerContainer [Pipeline] sh 10:27:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:27:20 Warning: overwriting stash ‘coverage-report’ 10:27:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:27:22 + ls -al . 10:27:22 total 252 10:27:22 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 10:27 . 10:27:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 10:23 .. 10:27:22 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 10:23 .dockerignore 10:27:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 10:23 .git 10:27:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 10:23 .github 10:27:22 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 10:23 .gitignore 10:27:22 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 10:23 Dockerfile.build 10:27:22 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 10:23 Jenkinsfile 10:27:22 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 10:23 LICENSE 10:27:22 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 10:23 Makefile 10:27:22 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 10:23 README.md 10:27:22 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 10:23 RELEASE-NOTES.txt 10:27:22 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 10:21 VERSION 10:27:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 10:23 bin 10:27:22 -rw-r--r-- 1 jenkins jenkins 137333 Jan 27 10:26 coverage.out 10:27:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 10:23 example 10:27:22 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 10:27 go.mod 10:27:22 -rw-r--r-- 1 jenkins jenkins 14191 Jan 27 10:27 go.sum 10:27:22 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 10:23 internal 10:27:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 10:23 openapi 10:27:22 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 10:23 pkg 10:27:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 10:23 snap 10:27:22 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 10:23 version.go [Pipeline] isUnix [Pipeline] sh 10:27:22 + 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=1776fc3b6198d96870b1b4e6c90b9d6da003d4ee --label arch=arm64 --label version=0.0.0 . 10:27:22 Sending build context to Docker daemon 2.812MB 10:27:23 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:27:23 Step 2/24 : FROM ${BASE} AS builder 10:27:23 ---> 42c3bcd76f2a 10:27:23 Step 3/24 : ARG MAKE='make build' 10:27:23 ---> Running in 2e98f6301537 10:27:23 Removing intermediate container 2e98f6301537 10:27:23 ---> 94383615f229 10:27:23 Step 4/24 : WORKDIR /device-sdk-go 10:27:23 ---> Running in 9d257320f474 10:27:24 Removing intermediate container 9d257320f474 10:27:24 ---> c486d07c3ea1 10:27:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:27:24 ---> Running in e11b2d27c177 10:27:24 Removing intermediate container e11b2d27c177 10:27:24 ---> 9e530567c3fc 10:27:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:27:24 ---> Running in 6a752983293d 10:27:26 Removing intermediate container 6a752983293d 10:27:26 ---> dbc18a0342ec 10:27:26 Step 7/24 : RUN apk add --update --no-cache make git 10:27:27 ---> Running in 6b177ad95344 10:27:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:27:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:27:30 OK: 142 MiB in 39 packages 10:27:31 Removing intermediate container 6b177ad95344 10:27:31 ---> 70a6e75923e5 10:27:31 Step 8/24 : COPY . . 10:27:33 ---> cb07f8b685e0 10:27:33 Step 9/24 : RUN ${MAKE} 10:27:33 ---> Running in 15ebacda53fa 10:27:34 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 10:28:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:28:01 Removing intermediate container 15ebacda53fa 10:28:01 ---> 14a0131c44e2 10:28:01 Step 10/24 : FROM scratch 10:28:01 ---> 10:28:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:28:01 ---> Running in 857b449baae5 10:28:01 Removing intermediate container 857b449baae5 10:28:01 ---> 5bafbab5ec05 10:28:01 Step 12/24 : ENV APP_PORT=49990 10:28:01 ---> Running in 3bfb69e5ed51 10:28:02 Removing intermediate container 3bfb69e5ed51 10:28:02 ---> 29d876886f96 10:28:02 Step 13/24 : EXPOSE $APP_PORT 10:28:02 ---> Running in 71ce0f7ad398 10:28:02 Removing intermediate container 71ce0f7ad398 10:28:02 ---> e44ef2c47c48 10:28:02 Step 14/24 : WORKDIR / 10:28:02 ---> Running in f232a8c5162c 10:28:03 Removing intermediate container f232a8c5162c 10:28:03 ---> 77980c5b6dd7 10:28:03 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:28:04 ---> 362e844d3fab 10:28:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:28:05 ---> 0c0b77136871 10:28:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:28:06 ---> c12e12850e2a 10:28:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:28:06 ---> 2b737b9ec3fa 10:28:06 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:28:07 ---> 38a8c3e2046c 10:28:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:28:07 ---> Running in d3d4ccf3a888 10:28:07 Removing intermediate container d3d4ccf3a888 10:28:07 ---> f9cd5875bdd8 10:28:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:28:08 ---> Running in e01e89aa75c2 10:28:08 Removing intermediate container e01e89aa75c2 10:28:08 ---> 984267f719d8 10:28:08 Step 22/24 : LABEL arch=arm64 10:28:08 ---> Running in ec06d918388f 10:28:09 Removing intermediate container ec06d918388f 10:28:09 ---> 8691e525e301 10:28:09 Step 23/24 : LABEL git_sha=1776fc3b6198d96870b1b4e6c90b9d6da003d4ee 10:28:09 ---> Running in c3713993c611 10:28:09 Removing intermediate container c3713993c611 10:28:09 ---> 3daa013a7ca1 10:28:09 Step 24/24 : LABEL version=0.0.0 10:28:09 ---> Running in 44cee2a20a41 10:28:10 Removing intermediate container 44cee2a20a41 10:28:10 ---> 76bea786f58c 10:28:10 [Warning] One or more build-args [ARCH] were not consumed 10:28:10 Successfully built 76bea786f58c 10:28:10 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 10:28:12 provisioning config files... 10:28:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config3030058517992676902tmp [Pipeline] { [Pipeline] sh 10:28:12 + set +x 10:28:12 + curl -s https://codecov.io/bash 10:28:12 + bash -s -- 10:28:12 10:28:12 _____ _ 10:28:12 / ____| | | 10:28:12 | | ___ __| | ___ ___ _____ __ 10:28:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:28:12 | |___| (_) | (_| | __/ (_| (_) \ V / 10:28:12 \_____\___/ \__,_|\___|\___\___/ \_/ 10:28:12 Bash-20210115-cec3c92 10:28:12 10:28:12 10:28:12 ==> git version 2.24.3 found 10:28:12 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 10:28:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:28:12 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:28:12 ==> Jenkins CI detected. 10:28:12 project root: . 10:28:12 --> token set from env 10:28:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:28:12 ==> Running gcov in . (disable via -X gcov) 10:28:12 ==> Python coveragepy not found 10:28:12 ==> Searching for coverage reports in: 10:28:12 + . 10:28:12 -> Found 1 reports 10:28:12 ==> Detecting git/mercurial file structure 10:28:12 ==> Reading reports 10:28:12 + ./coverage.out bytes=137333 10:28:12 ==> Appending adjustments 10:28:12 https://docs.codecov.io/docs/fixing-reports 10:28:13 + Found adjustments 10:28:13 ==> Gzipping contents 10:28:13 24K /tmp/codecov.RKnAJS.gz 10:28:13 ==> Uploading reports 10:28:13 url: https://codecov.io 10:28:13 query: branch=PR-763&commit=1776fc3b6198d96870b1b4e6c90b9d6da003d4ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 10:28:13 -> Pinging Codecov 10:28:13 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-763&commit=1776fc3b6198d96870b1b4e6c90b9d6da003d4ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 10:28:14 -> Uploading to 10:28:14 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/1776fc3b6198d96870b1b4e6c90b9d6da003d4ee/099ab5ae-4501-45f4-9001-3f2bffe37936.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T102814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4c5c0533d54fe2bc9205e04f7349e872023df08cff372505956ef0bf1b6d1cf 10:28:14 % Total % Received % Xferd Average Speed Time Time Time Current 10:28:14 Dload Upload Total Spent Left Speed 10:28:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21635 0 0 100 21635 0 43641 --:--:-- --:--:-- --:--:-- 43707 10:28:15 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1776fc3b6198d96870b1b4e6c90b9d6da003d4ee [Pipeline] } 10:28:15 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 10:28:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:28:18 ---> package-listing.sh 10:28:18 ++ facter osfamily 10:28:18 ++ tr '[:upper:]' '[:lower:]' 10:28:18 + OS_FAMILY=redhat 10:28:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 10:28:18 + START_PACKAGES=/tmp/packages_start.txt 10:28:18 + END_PACKAGES=/tmp/packages_end.txt 10:28:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:28:18 + PACKAGES=/tmp/packages_start.txt 10:28:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 10:28:18 + PACKAGES=/tmp/packages_end.txt 10:28:18 + case "${OS_FAMILY}" in 10:28:18 + rpm -qa 10:28:18 + sort 10:28:23 + '[' -f /tmp/packages_start.txt ']' 10:28:23 + '[' -f /tmp/packages_end.txt ']' 10:28:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:28:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 10:28:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ 10:28:23 + 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 10:28:23 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 10:28:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:28:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:28:24 10:28:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:28:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:28:24 alpine: Pulling from edgex-lftools-log-publisher 10:28:24 df20fa9351a1: Pulling fs layer 10:28:24 36b3adc4ff6f: Pulling fs layer 10:28:24 8ad3a11d3b57: Pulling fs layer 10:28:24 46f8f816bc3b: Pulling fs layer 10:28:24 93b61091891f: Pulling fs layer 10:28:24 93b9cdb0e59b: Pulling fs layer 10:28:24 5e14af77c1be: Pulling fs layer 10:28:24 01666e4c0597: Pulling fs layer 10:28:24 aa168da1d23b: Pulling fs layer 10:28:24 46f8f816bc3b: Waiting 10:28:24 93b61091891f: Waiting 10:28:24 aa168da1d23b: Waiting 10:28:24 93b9cdb0e59b: Waiting 10:28:24 5e14af77c1be: Waiting 10:28:24 01666e4c0597: Waiting 10:28:24 36b3adc4ff6f: Verifying Checksum 10:28:24 36b3adc4ff6f: Download complete 10:28:25 46f8f816bc3b: Verifying Checksum 10:28:25 46f8f816bc3b: Download complete 10:28:25 df20fa9351a1: Verifying Checksum 10:28:25 df20fa9351a1: Download complete 10:28:25 93b9cdb0e59b: Verifying Checksum 10:28:25 93b9cdb0e59b: Download complete 10:28:25 5e14af77c1be: Verifying Checksum 10:28:25 5e14af77c1be: Download complete 10:28:25 8ad3a11d3b57: Verifying Checksum 10:28:25 8ad3a11d3b57: Download complete 10:28:25 01666e4c0597: Verifying Checksum 10:28:25 01666e4c0597: Download complete 10:28:25 93b61091891f: Verifying Checksum 10:28:25 df20fa9351a1: Pull complete 10:28:26 36b3adc4ff6f: Pull complete 10:28:26 8ad3a11d3b57: Pull complete 10:28:27 aa168da1d23b: Verifying Checksum 10:28:27 aa168da1d23b: Download complete 10:28:27 46f8f816bc3b: Pull complete 10:28:27 93b61091891f: Pull complete 10:28:27 93b9cdb0e59b: Pull complete 10:28:28 5e14af77c1be: Pull complete 10:28:28 01666e4c0597: Pull complete 10:28:34 aa168da1d23b: Pull complete 10:28:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:28:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:28:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:28:34 prd-centos7-docker-4c-2g-23397 does not seem to be running inside a container 10:28:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:28:38 $ docker top 6dfd81b688369b29e862a4c65f603d8cc90591030f7e39e8e3f6a05fc6087545 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:39 + touch /tmp/pre-build-complete [Pipeline] sh 10:28:39 + mkdir -p /var/log/sa [Pipeline] sh 10:28:39 + ls /var/log/sa-host 10:28:39 + sadf -c /var/log/sa-host/sa23 10:28:39 file_magic: OK 10:28:39 HZ: Using current value: 100 10:28:39 file_header: OK 10:28:39 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 10:28:39 Statistics: 10:28:39 Hnuu...uuuununununu... 10:28:39 File successfully converted to sysstat format version 12.2.1 10:28:39 + sadf -c /var/log/sa-host/sa27 10:28:39 file_magic: OK 10:28:39 HZ: Using current value: 100 10:28:39 file_header: OK 10:28:39 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 10:28:39 Statistics: 10:28:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:28:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:28:40 provisioning config files... 10:28:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config2265831607634334486tmp [Pipeline] { [Pipeline] echo 10:28:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:28:41 ---> create-netrc.sh [Pipeline] } 10:28:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:28:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:28:41 ---> python-tools-install.sh [Pipeline] echo 10:28:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:28:41 ---> sudo-logs.sh 10:28:41 Archiving 'sudo' log.. [Pipeline] echo 10:28:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:28:42 ---> job-cost.sh 10:28:42 lf-activate-venv: SKIPPING 10:28:42 INFO: No Stack... 10:28:43 INFO: Retrieving Pricing Info for: v1-standard-2 10:28:43 INFO: Archiving Costs [Pipeline] echo 10:28:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:28:43 ---> logs-deploy.sh 10:28:43 lf-activate-venv: SKIPPING 10:28:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/3 10:28:43 INFO: archiving workspace using pattern(s): 10:28:45 Archives upload complete. 10:28:45 INFO: archiving logs to Nexus 10:28:46 ---> uname -a: 10:28:46 Linux prd-centos7-docker-4c-2g-23397.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 10:28:46 10:28:46 10:28:46 ---> lscpu: 10:28:46 Architecture: x86_64 10:28:46 CPU op-mode(s): 32-bit, 64-bit 10:28:46 Byte Order: Little Endian 10:28:46 Address sizes: 40 bits physical, 48 bits virtual 10:28:46 CPU(s): 4 10:28:46 On-line CPU(s) list: 0-3 10:28:46 Thread(s) per core: 1 10:28:46 Core(s) per socket: 1 10:28:46 Socket(s): 4 10:28:46 NUMA node(s): 1 10:28:46 Vendor ID: GenuineIntel 10:28:46 CPU family: 6 10:28:46 Model: 44 10:28:46 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 10:28:46 Stepping: 1 10:28:46 CPU MHz: 2933.436 10:28:46 BogoMIPS: 5866.87 10:28:46 Virtualization: VT-x 10:28:46 Hypervisor vendor: KVM 10:28:46 Virtualization type: full 10:28:46 L1d cache: 128 KiB 10:28:46 L1i cache: 128 KiB 10:28:46 L2 cache: 16 MiB 10:28:46 L3 cache: 64 MiB 10:28:46 NUMA node0 CPU(s): 0-3 10:28:46 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 10:28:46 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 10:28:46 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 10:28:46 Vulnerability Meltdown: Mitigation; PTI 10:28:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:28:46 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:28:46 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:28:46 Vulnerability Srbds: Not affected 10:28:46 Vulnerability Tsx async abort: Not affected 10:28:46 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 10:28:46 10:28:46 10:28:46 ---> nproc: 10:28:46 4 10:28:46 10:28:46 10:28:46 ---> df -h: 10:28:46 Filesystem Size Used Available Use% Mounted on 10:28:46 overlay 50.0G 7.3G 42.7G 15% / 10:28:46 tmpfs 64.0M 0 64.0M 0% /dev 10:28:46 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 10:28:46 shm 64.0M 0 64.0M 0% /dev/shm 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763 10:28:46 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp 10:28:46 10:28:46 10:28:46 ---> free -m: 10:28:46 total used free shared buff/cache available 10:28:46 Mem: 1837 718 83 0 1034 1014 10:28:46 Swap: 1023 1 1022 10:28:46 10:28:46 10:28:46 ---> ip addr: 10:28:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 10:28:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:28:46 inet 127.0.0.1/8 scope host lo 10:28:46 valid_lft forever preferred_lft forever 10:28:46 inet6 ::1/128 scope host 10:28:46 valid_lft forever preferred_lft forever 10:28:46 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 10:28:46 link/ether fa:16:3e:08:b3:6a brd ff:ff:ff:ff:ff:ff 10:28:46 inet 10.30.123.175/23 brd 10.30.123.255 scope global dynamic eth0 10:28:46 valid_lft 85904sec preferred_lft 85904sec 10:28:46 inet6 fe80::f816:3eff:fe08:b36a/64 scope link 10:28:46 valid_lft forever preferred_lft forever 10:28:46 3: docker0: mtu 1500 qdisc noqueue state DOWN 10:28:46 link/ether 02:42:9e:11:07:c2 brd ff:ff:ff:ff:ff:ff 10:28:46 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 10:28:46 valid_lft forever preferred_lft forever 10:28:46 inet6 fe80::42:9eff:fe11:7c2/64 scope link 10:28:46 valid_lft forever preferred_lft forever 10:28:46 10:28:46 10:28:46 ---> sar -b -r -n DEV: 10:28:46 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) 10:28:46 10:28:46 10:20:20 LINUX RESTART (4 CPU) 10:28:46 10:28:46 10:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:28:46 10:22:01 49.94 14.72 35.23 0.00 4608.62 3334.61 0.00 10:28:46 10:23:01 1.57 0.00 1.57 0.00 0.00 27.70 0.00 10:28:46 10:24:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 10:28:46 10:25:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 10:28:46 10:26:01 0.27 0.00 0.27 0.00 0.00 3.71 0.00 10:28:46 10:27:01 0.33 0.00 0.33 0.00 0.00 4.46 0.00 10:28:46 10:28:01 0.20 0.00 0.20 0.00 0.00 1.75 0.00 10:28:46 Average: 7.55 2.10 5.45 0.00 658.63 482.81 0.00 10:28:46 10:28:46 10:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:28:46 10:22:01 150600 0 596956 31.73 2620 1131368 1105244 37.72 401028 1130184 128 10:28:46 10:23:01 155172 0 592376 31.48 2620 1131376 1078072 36.79 400032 1127288 8 10:28:46 10:24:01 154896 0 592648 31.50 2620 1131380 1078252 36.80 407880 1120416 8 10:28:46 10:25:01 151424 0 596120 31.68 2620 1131380 1078264 36.80 411776 1119872 8 10:28:46 10:26:01 152436 0 595100 31.63 2620 1131388 1078132 36.79 414728 1116160 8 10:28:46 10:27:01 152640 0 594892 31.62 2620 1131392 1078096 36.79 414564 1116160 8 10:28:46 10:28:01 152896 0 594632 31.60 2620 1131396 1078072 36.79 414456 1116160 8 10:28:46 Average: 152866 0 594675 31.61 2620 1131383 1082019 36.93 409209 1120891 25 10:28:46 10:28:46 10:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:28:46 10:22:01 eth0 256.45 174.80 602.80 58.30 0.00 0.00 0.00 0.00 10:28:46 10:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:22:01 docker0 11.94 8.86 1.46 23.39 0.00 0.00 0.00 0.00 10:28:46 10:23:01 eth0 0.68 0.02 0.06 0.00 0.00 0.00 0.00 0.00 10:28:46 10:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:24:01 eth0 1.08 0.30 0.32 0.20 0.00 0.00 0.00 0.00 10:28:46 10:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:25:01 eth0 0.50 0.35 0.27 0.20 0.00 0.00 0.00 0.00 10:28:46 10:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:26:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 10:28:46 10:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:27:01 eth0 0.22 0.20 0.07 0.01 0.00 0.00 0.00 0.00 10:28:46 10:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:28:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:28:46 10:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 10:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 Average: eth0 37.05 25.14 86.26 8.40 0.00 0.00 0.00 0.00 10:28:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:46 Average: docker0 1.71 1.27 0.21 3.34 0.00 0.00 0.00 0.00 10:28:46 10:28:46 10:28:46 ---> sar -P ALL: 10:28:46 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) 10:28:46 10:28:46 10:20:20 LINUX RESTART (4 CPU) 10:28:46 10:28:46 10:21:01 CPU %user %nice %system %iowait %steal %idle 10:28:46 10:22:01 all 4.68 0.00 2.78 1.27 0.06 91.21 10:28:46 10:22:01 0 5.03 0.00 2.96 2.26 0.07 89.68 10:28:46 10:22:01 1 4.39 0.00 2.49 0.27 0.05 92.80 10:28:46 10:22:01 2 4.42 0.00 2.45 0.34 0.03 92.76 10:28:46 10:22:01 3 4.87 0.00 3.22 2.24 0.08 89.59 10:28:46 10:23:01 all 0.14 0.00 0.04 0.00 0.00 99.81 10:28:46 10:23:01 0 0.03 0.00 0.05 0.00 0.00 99.92 10:28:46 10:23:01 1 0.07 0.00 0.08 0.00 0.02 99.83 10:28:46 10:23:01 2 0.02 0.00 0.02 0.00 0.00 99.97 10:28:46 10:23:01 3 0.45 0.00 0.02 0.00 0.00 99.53 10:28:46 10:24:01 all 0.19 0.00 0.15 0.00 0.00 99.65 10:28:46 10:24:01 0 0.05 0.00 0.08 0.00 0.00 99.87 10:28:46 10:24:01 1 0.13 0.00 0.25 0.00 0.00 99.62 10:28:46 10:24:01 2 0.08 0.00 0.18 0.00 0.02 99.72 10:28:46 10:24:01 3 0.48 0.00 0.10 0.00 0.00 99.42 10:28:46 10:25:01 all 0.14 0.00 0.03 0.00 0.00 99.82 10:28:46 10:25:01 0 0.00 0.00 0.02 0.00 0.00 99.98 10:28:46 10:25:01 1 0.07 0.00 0.07 0.00 0.00 99.87 10:28:46 10:25:01 2 0.00 0.00 0.02 0.00 0.00 99.98 10:28:46 10:25:01 3 0.50 0.00 0.02 0.00 0.02 99.47 10:28:46 10:26:01 all 0.17 0.00 0.05 0.00 0.01 99.77 10:28:46 10:26:01 0 0.02 0.00 0.03 0.00 0.00 99.95 10:28:46 10:26:01 1 0.08 0.00 0.07 0.00 0.00 99.85 10:28:46 10:26:01 2 0.07 0.00 0.07 0.00 0.02 99.85 10:28:46 10:26:01 3 0.52 0.00 0.02 0.00 0.02 99.45 10:28:46 10:27:01 all 0.15 0.00 0.03 0.00 0.00 99.82 10:28:46 10:27:01 0 0.00 0.00 0.02 0.00 0.00 99.98 10:28:46 10:27:01 1 0.03 0.00 0.03 0.00 0.00 99.93 10:28:46 10:27:01 2 0.03 0.00 0.03 0.00 0.00 99.93 10:28:46 10:27:01 3 0.53 0.00 0.03 0.00 0.00 99.43 10:28:46 10:28:01 all 0.15 0.00 0.04 0.00 0.00 99.81 10:28:46 10:28:01 0 0.03 0.00 0.03 0.00 0.00 99.93 10:28:46 10:28:01 1 0.07 0.00 0.05 0.00 0.02 99.87 10:28:46 10:28:01 2 0.02 0.00 0.02 0.00 0.00 99.97 10:28:46 10:28:01 3 0.47 0.00 0.05 0.00 0.00 99.48 10:28:46 Average: all 0.80 0.00 0.44 0.18 0.01 98.57 10:28:46 Average: 0 0.73 0.00 0.45 0.32 0.01 98.49 10:28:46 Average: 1 0.69 0.00 0.43 0.04 0.01 98.83 10:28:46 Average: 2 0.66 0.00 0.40 0.05 0.01 98.89 10:28:46 Average: 3 1.11 0.00 0.49 0.32 0.02 98.07 10:28:46 10:28:46 10:28:46