Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11+76d059c2e27a3d5d488ff0022063f09e99d334bf (92e0c014283dd9a699c26255400f8e9b60f91440) 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-23326 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [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-756 # 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 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 Merge succeeded, producing 408f6c3789b4154c80c1501ca8baeea3f125df39 Checking out Revision 408f6c3789b4154c80c1501ca8baeea3f125df39 (PR-756) > 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/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # 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 408f6c3789b4154c80c1501ca8baeea3f125df39 # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" > git rev-list --no-walk 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:49 ========================================================= 02:42:49 EdgeX Global Pipelines Version Info 02:42:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:50 ------------------- 02:42:50 stable info: 02:42:50 ------------------- 02:42:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:50 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:50 Message: update stable to v1.0.179 02:42:51 ------------------- 02:42:51 experimental info: 02:42:51 ------------------- 02:42:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:51 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:51 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-756 [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-756 [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-756 [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 408f6c3789b4154c80c1501ca8baeea3f125df39 [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 408f6c3 [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:55 provisioning config files... 02:42:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config1613896304830494117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:55 ---> docker-login.sh 02:42:55 nexus3.edgexfoundry.org:10001 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 nexus3.edgexfoundry.org:10002 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 nexus3.edgexfoundry.org:10003 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 nexus3.edgexfoundry.org:10004 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 docker.io 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:57 Configure a credential helper to remove this warning. See 02:42:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:57 02:42:57 Login Succeeded 02:42:57 ---> docker-login.sh ends [Pipeline] } 02:42:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:58 + git log --format=format:%s -1 408f6c3789b4154c80c1501ca8baeea3f125df39 [Pipeline] echo 02:42:58 GIT_COMMIT: 408f6c3789b4154c80c1501ca8baeea3f125df39, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo 02:42:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:58 02:42:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:59 latest: Pulling from edgex-devops/git-semver 02:42:59 31603596830f: Pulling fs layer 02:42:59 2a8b12db71e7: Pulling fs layer 02:42:59 6ca5941a6612: Pulling fs layer 02:42:59 ecc8261a40a4: Pulling fs layer 02:42:59 ecc8261a40a4: Waiting 02:42:59 2a8b12db71e7: Verifying Checksum 02:42:59 2a8b12db71e7: Download complete 02:42:59 31603596830f: Download complete 02:42:59 ecc8261a40a4: Verifying Checksum 02:42:59 ecc8261a40a4: Download complete 02:42:59 6ca5941a6612: Verifying Checksum 02:42:59 6ca5941a6612: Download complete 02:42:59 31603596830f: Pull complete 02:43:00 2a8b12db71e7: Pull complete 02:43:00 6ca5941a6612: Pull complete 02:43:00 ecc8261a40a4: Pull complete 02:43:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:01 prd-centos7-docker-4c-2g-23326 does not seem to be running inside a container 02:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:03 $ docker top fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:03 [ssh-agent] Looking for ssh-agent implementation... 02:43:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:04 $ docker exec fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 ssh-agent 02:43:04 SSH_AUTH_SOCK=/tmp/ssh-SCDPrLoRJTKM/agent.11 02:43:04 SSH_AGENT_PID=17 02:43:04 Running ssh-add (command line suppressed) 02:43:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_5687428881924186362.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_5687428881924186362.key) 02:43:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:04 + git tag --points-at HEAD [Pipeline] } 02:43:04 $ docker exec --env ******** --env ******** fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 ssh-agent -k 02:43:05 unset SSH_AUTH_SOCK; 02:43:05 unset SSH_AGENT_PID; 02:43:05 echo Agent pid 17 killed; 02:43:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:05 [ssh-agent] Looking for ssh-agent implementation... 02:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:05 $ docker exec fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 ssh-agent 02:43:05 SSH_AUTH_SOCK=/tmp/ssh-Vlrulhk8UwCt/agent.45 02:43:05 SSH_AGENT_PID=51 02:43:05 Running ssh-add (command line suppressed) 02:43:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_526419131489327129.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_526419131489327129.key) 02:43:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:06 + git semver init 02:43:06 # -> Open(): unable to determine branch for HEAD 02:43:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.git 02:43:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-756 02:43:06 # $SEMVER_REMOTE_NAME = origin 02:43:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:06 # $SEMVER_USER_NAME = edgex-jenkins 02:43:06 # $SEMVER_BRANCH = PR-756 02:43:06 # $SEMVER_TEMP = /tmp/semver-799325191 02:43:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:07 # '/tmp/semver-799325191' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver' 02:43:07 # -> Force: false 02:43:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver [Pipeline] } 02:43:07 $ docker exec --env ******** --env ******** fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 ssh-agent -k 02:43:07 unset SSH_AUTH_SOCK; 02:43:07 unset SSH_AGENT_PID; 02:43:07 echo Agent pid 51 killed; 02:43:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:07 + git semver [Pipeline] } 02:43:07 $ docker stop --time=1 fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 02:43:09 $ docker rm -f fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:10 Stashed 1 file(s) [Pipeline] echo 02:43:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:43:25 Still waiting to schedule task 02:43:25 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23325’ is offline; ‘prd-centos7-docker-4c-2g-23331’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:25 Still waiting to schedule task 02:43:25 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:44:39 Running on prd-centos7-docker-4c-2g-23334 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws 02:44:39 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:44:42 using credential edgex-jenkins-ssh 02:44:42 Cloning the remote Git repository 02:44:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:42 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:44:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:42 > git --version # timeout=10 02:44:42 > git --version # 'git version 2.24.3' 02:44:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:43 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 02:44:44 Merge succeeded, producing 82ce21132bdfaeb250030ece30d199bb12c6dffa 02:44:44 Checking out Revision 82ce21132bdfaeb250030ece30d199bb12c6dffa (PR-756) 02:44:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:43 > git config core.sparsecheckout # timeout=10 02:44:44 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 02:44:44 > git remote # timeout=10 02:44:44 > git config --get remote.origin.url # timeout=10 02:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:44 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:44:44 > git rev-parse HEAD^{commit} # timeout=10 02:44:44 > git config core.sparsecheckout # timeout=10 02:44:44 > git checkout -f 82ce21132bdfaeb250030ece30d199bb12c6dffa # timeout=10 02:44:47 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:44:47 > git rev-list --no-walk 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:49 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:49 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:49 + sudo service docker restart 02:44:49 + true 02:44:49 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:51 provisioning config files... 02:44:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7426984067721855516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:51 ---> docker-login.sh 02:44:51 nexus3.edgexfoundry.org:10001 02:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:52 Configure a credential helper to remove this warning. See 02:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:52 02:44:52 Login Succeeded 02:44:52 nexus3.edgexfoundry.org:10002 02:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:52 Configure a credential helper to remove this warning. See 02:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:52 02:44:52 Login Succeeded 02:44:52 nexus3.edgexfoundry.org:10003 02:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:52 Configure a credential helper to remove this warning. See 02:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:52 02:44:52 Login Succeeded 02:44:52 nexus3.edgexfoundry.org:10004 02:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:53 Configure a credential helper to remove this warning. See 02:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:53 02:44:53 Login Succeeded 02:44:53 docker.io 02:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:53 Configure a credential helper to remove this warning. See 02:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:53 02:44:53 Login Succeeded 02:44:53 ---> docker-login.sh ends [Pipeline] } 02:44:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:53 ========================================================= 02:44:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:54 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:44:54 Sending build context to Docker daemon 2.571MB 02:44:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:54 Step 2/8 : FROM ${BASE} 02:44:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:54 188c0c94c7c5: Pulling fs layer 02:44:54 0ef7d3d256c8: Pulling fs layer 02:44:54 de9db76c5a1d: Pulling fs layer 02:44:54 bca2f99d35d6: Pulling fs layer 02:44:54 93359f2a8cfa: Pulling fs layer 02:44:54 7c6f9722023f: Pulling fs layer 02:44:54 a35cf1a2eb13: Pulling fs layer 02:44:54 93359f2a8cfa: Waiting 02:44:54 7c6f9722023f: Waiting 02:44:54 a35cf1a2eb13: Waiting 02:44:54 bca2f99d35d6: Waiting 02:44:54 0ef7d3d256c8: Verifying Checksum 02:44:54 0ef7d3d256c8: Download complete 02:44:54 de9db76c5a1d: Download complete 02:44:54 93359f2a8cfa: Verifying Checksum 02:44:54 93359f2a8cfa: Download complete 02:44:54 188c0c94c7c5: Verifying Checksum 02:44:54 188c0c94c7c5: Download complete 02:44:54 7c6f9722023f: Verifying Checksum 02:44:54 7c6f9722023f: Download complete 02:44:54 188c0c94c7c5: Pull complete 02:44:54 0ef7d3d256c8: Pull complete 02:44:55 de9db76c5a1d: Pull complete 02:44:56 a35cf1a2eb13: Verifying Checksum 02:44:57 bca2f99d35d6: Verifying Checksum 02:44:57 bca2f99d35d6: Download complete 02:45:03 bca2f99d35d6: Pull complete 02:45:03 93359f2a8cfa: Pull complete 02:45:03 7c6f9722023f: Pull complete 02:45:08 a35cf1a2eb13: Pull complete 02:45:08 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:08 ---> a62c8e92a672 02:45:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:08 ---> Running in bb5f1623110e 02:45:08 Removing intermediate container bb5f1623110e 02:45:08 ---> e03a5a123d8b 02:45:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:08 ---> Running in 9f4237a163b8 02:45:10 Removing intermediate container 9f4237a163b8 02:45:10 ---> cc0132e7e8c5 02:45:10 Step 5/8 : RUN apk add --update --no-cache make git 02:45:10 ---> Running in 2c75012191db 02:45:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:12 OK: 166 MiB in 39 packages 02:45:12 Removing intermediate container 2c75012191db 02:45:12 ---> 031b177af6ad 02:45:12 Step 6/8 : WORKDIR /device-sdk-go 02:45:12 ---> Running in 85340eeeede1 02:45:13 Removing intermediate container 85340eeeede1 02:45:13 ---> 77ab354a7ceb 02:45:13 Step 7/8 : COPY . . 02:45:14 ---> b58929c05c24 02:45:14 Step 8/8 : RUN go mod download 02:45:14 ---> Running in 2fa58d553459 02:45:32 Removing intermediate container 2fa58d553459 02:45:32 ---> 2c6d4446992a 02:45:32 Successfully built 2c6d4446992a 02:45:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:33 + docker inspect -f . ci-base-image-x86_64 02:45:33 . [Pipeline] withDockerContainer 02:45:33 prd-centos7-docker-4c-2g-23334 does not seem to be running inside a container 02:45:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:34 $ docker top 1564d8885997f02cff950f369405e3000572324bdae3b8514cbfaada764f08c1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:34 + go version 02:45:34 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:34 $ docker stop --time=1 1564d8885997f02cff950f369405e3000572324bdae3b8514cbfaada764f08c1 02:45:36 $ docker rm -f 1564d8885997f02cff950f369405e3000572324bdae3b8514cbfaada764f08c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:37 + docker inspect -f . ci-base-image-x86_64 02:45:37 . [Pipeline] withDockerContainer 02:45:37 prd-centos7-docker-4c-2g-23334 does not seem to be running inside a container 02:45:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:37 $ docker top b95b4634774400eb3e0299f610bca29a7d3df85cda8b4bce320ed78a0eff16c4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:38 + make test 02:45:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23337 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws 02:45:56 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:46:01 using credential edgex-jenkins-ssh 02:46:01 Cloning the remote Git repository 02:46:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:01 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:46:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:01 > git --version # timeout=10 02:46:01 > git --version # 'git version 2.17.1' 02:46:01 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.093s coverage: 19.4% of statements 02:46:04 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 02:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:05 > git config core.sparsecheckout # timeout=10 02:46:05 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 02:46:05 Merge succeeded, producing 0a4d58a85759dff60e23b4af3b14fddfa600831e 02:46:05 Checking out Revision 0a4d58a85759dff60e23b4af3b14fddfa600831e (PR-756) 02:46:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.470s coverage: 97.1% of statements 02:46:05 > git remote # timeout=10 02:46:05 > git config --get remote.origin.url # timeout=10 02:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:05 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:46:05 > git rev-parse HEAD^{commit} # timeout=10 02:46:05 > git config core.sparsecheckout # timeout=10 02:46:05 > git checkout -f 0a4d58a85759dff60e23b4af3b14fddfa600831e # timeout=10 02:46:09 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:46:09 > git rev-list --no-walk 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:12 + + sudo service dockertrue restart 02:46:12 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:14 provisioning config files... 02:46:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8535533833578143112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:15 ---> docker-login.sh 02:46:15 nexus3.edgexfoundry.org:10001 02:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:16 Configure a credential helper to remove this warning. See 02:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:16 02:46:16 Login Succeeded 02:46:16 nexus3.edgexfoundry.org:10002 02:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:17 Configure a credential helper to remove this warning. See 02:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:17 02:46:17 Login Succeeded 02:46:17 nexus3.edgexfoundry.org:10003 02:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:17 Configure a credential helper to remove this warning. See 02:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:17 02:46:17 Login Succeeded 02:46:17 nexus3.edgexfoundry.org:10004 02:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:18 Configure a credential helper to remove this warning. See 02:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:18 02:46:18 Login Succeeded 02:46:18 docker.io 02:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:19 Configure a credential helper to remove this warning. See 02:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:19 02:46:19 Login Succeeded 02:46:19 ---> docker-login.sh ends [Pipeline] } 02:46:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:19 ========================================================= 02:46:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:20 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:46:20 Sending build context to Docker daemon 2.568MB 02:46:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:20 Step 2/8 : FROM ${BASE} 02:46:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:20 5f621e34cdf4: Pulling fs layer 02:46:20 a4357932f1b6: Pulling fs layer 02:46:20 18c013af1878: Pulling fs layer 02:46:20 00ac8860ef70: Pulling fs layer 02:46:20 63d7cb157983: Pulling fs layer 02:46:20 b116817d02f9: Pulling fs layer 02:46:20 745a02a5169b: Pulling fs layer 02:46:20 00ac8860ef70: Waiting 02:46:20 63d7cb157983: Waiting 02:46:20 b116817d02f9: Waiting 02:46:20 745a02a5169b: Waiting 02:46:20 18c013af1878: Verifying Checksum 02:46:20 18c013af1878: Download complete 02:46:20 a4357932f1b6: Download complete 02:46:20 63d7cb157983: Verifying Checksum 02:46:20 63d7cb157983: Download complete 02:46:21 b116817d02f9: Verifying Checksum 02:46:21 b116817d02f9: Download complete 02:46:21 5f621e34cdf4: Verifying Checksum 02:46:21 5f621e34cdf4: Download complete 02:46:22 5f621e34cdf4: Pull complete 02:46:23 a4357932f1b6: Pull complete 02:46:23 18c013af1878: Pull complete 02:46:26 745a02a5169b: Download complete 02:46:27 00ac8860ef70: Verifying Checksum 02:46:27 00ac8860ef70: Download complete 02:46:37 00ac8860ef70: Pull complete 02:46:37 63d7cb157983: Pull complete 02:46:37 b116817d02f9: Pull complete 02:46:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.085s coverage: 9.4% of statements 02:46:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.241s coverage: 43.2% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:46:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.308s coverage: 68.9% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 53.8% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:46:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.066s coverage: 26.8% of statements 02:46:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.528s coverage: 83.5% of statements 02:46:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 4.2% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:38 GO111MODULE=on go vet ./... 02:46:41 745a02a5169b: Pull complete 02:46:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:41 ---> b7e6874047d6 02:46:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:44 ---> Running in 07732d4552e1 02:46:44 Removing intermediate container 07732d4552e1 02:46:44 ---> d000ab1e10aa 02:46:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:44 ---> Running in 4d24bf9e1399 02:46:46 gofmt -l . 02:46:46 [ "`gofmt -l .`" = "" ] 02:46:46 ./bin/test-attribution-txt.sh 02:46:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:46 $ docker stop --time=1 b95b4634774400eb3e0299f610bca29a7d3df85cda8b4bce320ed78a0eff16c4 02:46:47 Removing intermediate container 4d24bf9e1399 02:46:47 ---> 56ac0b757c35 02:46:47 Step 5/8 : RUN apk add --update --no-cache make git 02:46:47 ---> Running in d72b5f85b69c 02:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:48 $ docker rm -f b95b4634774400eb3e0299f610bca29a7d3df85cda8b4bce320ed78a0eff16c4 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:49 + sudo chown -R jenkins:jenkins . 02:46:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] stash 02:46:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:51 + ls -al . 02:46:51 total 216 02:46:51 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:46 . 02:46:51 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:44 .. 02:46:51 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:44 bin 02:46:51 -rw-r--r--. 1 jenkins jenkins 136842 Jan 27 02:46 coverage.out 02:46:51 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:44 Dockerfile.build 02:46:51 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:44 .dockerignore 02:46:51 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:44 example 02:46:51 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:44 .git 02:46:51 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:44 .github 02:46:51 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:44 .gitignore 02:46:51 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:46 go.mod 02:46:51 -rw-r--r--. 1 jenkins jenkins 14101 Jan 27 02:46 go.sum 02:46:51 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:44 internal 02:46:51 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:44 Jenkinsfile 02:46:51 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:44 LICENSE 02:46:51 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:44 Makefile 02:46:51 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:44 openapi 02:46:51 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:44 pkg 02:46:51 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:44 README.md 02:46:51 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:44 RELEASE-NOTES.txt 02:46:51 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:44 snap 02:46:51 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:43 VERSION 02:46:51 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:51 OK: 142 MiB in 39 packages 02:46:51 + 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=408f6c3789b4154c80c1501ca8baeea3f125df39 --label arch=amd64 --label version=0.0.0 . 02:46:51 Sending build context to Docker daemon 2.708MB 02:46:52 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:52 Step 2/24 : FROM ${BASE} AS builder 02:46:52 ---> 2c6d4446992a 02:46:52 Step 3/24 : ARG MAKE='make build' 02:46:52 ---> Running in 3c60c33a9223 02:46:52 Removing intermediate container 3c60c33a9223 02:46:52 ---> d7b0fd0cd5f8 02:46:52 Step 4/24 : WORKDIR /device-sdk-go 02:46:52 Removing intermediate container d72b5f85b69c 02:46:52 ---> a13bd1a47551 02:46:52 Step 6/8 : WORKDIR /device-sdk-go 02:46:52 ---> Running in 8722a5f9e1fd 02:46:53 ---> Running in bafb93975865 02:46:53 Removing intermediate container bafb93975865 02:46:53 ---> 3106726fdf32 02:46:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:53 ---> Running in 4247fec2ae74 02:46:53 Removing intermediate container 8722a5f9e1fd 02:46:53 ---> e7cd80764469 02:46:53 Step 7/8 : COPY . . 02:46:53 Removing intermediate container 4247fec2ae74 02:46:53 ---> ec19a24b65de 02:46:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:53 ---> Running in ef1b76af23fa 02:46:54 ---> 08efcb210340 02:46:54 Step 8/8 : RUN go mod download 02:46:54 ---> Running in f74d1dfbcd54 02:46:55 Removing intermediate container ef1b76af23fa 02:46:55 ---> e1c43eebb6c7 02:46:55 Step 7/24 : RUN apk add --update --no-cache make git 02:46:55 ---> Running in 8f6b1a51e905 02:46:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:58 OK: 166 MiB in 39 packages 02:46:59 Removing intermediate container 8f6b1a51e905 02:46:59 ---> 0c200d7f0679 02:46:59 Step 8/24 : COPY . . 02:47:00 ---> 6ea6a10607d9 02:47:00 Step 9/24 : RUN ${MAKE} 02:47:00 ---> Running in 7c7aa9970896 02:47:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:47:11 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:13 Removing intermediate container 7c7aa9970896 02:47:13 ---> 90a6108c2d61 02:47:13 Step 10/24 : FROM scratch 02:47:13 ---> 02:47:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:13 ---> Running in 32c44bd06417 02:47:13 Removing intermediate container 32c44bd06417 02:47:13 ---> 7bc76c24dd38 02:47:13 Step 12/24 : ENV APP_PORT=49990 02:47:13 ---> Running in 144fd4404ff4 02:47:13 Removing intermediate container 144fd4404ff4 02:47:13 ---> 1ad922ea736b 02:47:13 Step 13/24 : EXPOSE $APP_PORT 02:47:13 ---> Running in 58b5b04b92a9 02:47:13 Removing intermediate container 58b5b04b92a9 02:47:13 ---> 8d699c24258d 02:47:13 Step 14/24 : WORKDIR / 02:47:13 ---> Running in d525de1102bb 02:47:13 Removing intermediate container d525de1102bb 02:47:13 ---> e31dbe37f6a1 02:47:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:14 ---> 0f27c48f7e2f 02:47:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:14 ---> d676b8bcf07f 02:47:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:14 ---> d0b858f83ab9 02:47:14 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:15 ---> 22f7ba45c2e0 02:47:15 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:15 ---> baacbda35f10 02:47:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:15 ---> Running in 5e87fb719676 02:47:16 Removing intermediate container 5e87fb719676 02:47:16 ---> 3567f2494678 02:47:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:16 ---> Running in 77e73e2881fa 02:47:16 Removing intermediate container 77e73e2881fa 02:47:16 ---> 2b704c4870cd 02:47:16 Step 22/24 : LABEL arch=amd64 02:47:16 ---> Running in a019ae8b4a09 02:47:16 Removing intermediate container a019ae8b4a09 02:47:16 ---> 39233f574fba 02:47:16 Step 23/24 : LABEL git_sha=408f6c3789b4154c80c1501ca8baeea3f125df39 02:47:16 ---> Running in c2932b461b71 02:47:16 Removing intermediate container c2932b461b71 02:47:16 ---> 210626fb1623 02:47:16 Step 24/24 : LABEL version=0.0.0 02:47:17 ---> Running in dd2ca3fce959 02:47:17 Removing intermediate container dd2ca3fce959 02:47:17 ---> 3f7080b1566b 02:47:17 [Warning] One or more build-args [ARCH] were not consumed 02:47:17 Removing intermediate container f74d1dfbcd54 02:47:17 ---> afda3d45555e 02:47:17 Successfully built afda3d45555e 02:47:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:17 Successfully built 3f7080b1566b 02:47:17 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 02:47:17 + docker inspect -f . ci-base-image-arm64 02:47:17 . [Pipeline] withDockerContainer 02:47:17 prd-ubuntu18.04-docker-arm64-4c-16g-23337 does not seem to be running inside a container 02:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:19 $ docker top 39cd212e26a30d0259f11c14faa95ea0602c4702d801a6c507c008c65b4b0a45 -eo pid,comm [Pipeline] { [Pipeline] sh 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] } 02:47:20 + go version 02:47:20 go version go1.15.5 linux/arm64 [Pipeline] // withEnv [Pipeline] } [Pipeline] } 02:47:20 $ docker stop --time=1 39cd212e26a30d0259f11c14faa95ea0602c4702d801a6c507c008c65b4b0a45 02:47:22 $ docker rm -f 39cd212e26a30d0259f11c14faa95ea0602c4702d801a6c507c008c65b4b0a45 [Pipeline] // ws [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:24 + docker inspect -f . ci-base-image-arm64 02:47:24 . [Pipeline] withDockerContainer 02:47:24 prd-ubuntu18.04-docker-arm64-4c-16g-23337 does not seem to be running inside a container 02:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:26 $ docker top 570cad1541ec9b77e4100eebb321155dd6e84b125d1948716e0f02b7a1287fb0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:27 + make test 02:47:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 19.4% of statements 02:48:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.674s coverage: 97.1% of statements 02:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.171s coverage: 9.4% of statements 02:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.151s coverage: 21.7% of statements 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.623s coverage: 43.2% of statements 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.830s coverage: 68.9% of statements 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 53.8% of statements 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.216s coverage: 26.8% of statements 02:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.577s coverage: 83.5% of statements 02:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.164s coverage: 4.2% of statements 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:18 GO111MODULE=on go vet ./... 02:49:57 gofmt -l . 02:49:57 [ "`gofmt -l .`" = "" ] 02:49:57 ./bin/test-attribution-txt.sh 02:49:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:57 $ docker stop --time=1 570cad1541ec9b77e4100eebb321155dd6e84b125d1948716e0f02b7a1287fb0 02:49:59 $ docker rm -f 570cad1541ec9b77e4100eebb321155dd6e84b125d1948716e0f02b7a1287fb0 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:01 Warning: overwriting stash ‘coverage-report’ 02:50:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:03 + ls -al . 02:50:03 total 252 02:50:03 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:49 . 02:50:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 .. 02:50:03 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:46 .dockerignore 02:50:03 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:46 .git 02:50:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 .github 02:50:03 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:46 .gitignore 02:50:03 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:46 Dockerfile.build 02:50:03 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:46 Jenkinsfile 02:50:03 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:46 LICENSE 02:50:03 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:46 Makefile 02:50:03 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:46 README.md 02:50:03 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:46 RELEASE-NOTES.txt 02:50:03 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:43 VERSION 02:50:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 bin 02:50:03 -rw-r--r-- 1 jenkins jenkins 136842 Jan 27 02:49 coverage.out 02:50:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 example 02:50:03 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:49 go.mod 02:50:03 -rw-r--r-- 1 jenkins jenkins 14101 Jan 27 02:49 go.sum 02:50:03 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:46 internal 02:50:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 openapi 02:50:03 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:46 pkg 02:50:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 snap 02:50:03 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:03 + 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=408f6c3789b4154c80c1501ca8baeea3f125df39 --label arch=arm64 --label version=0.0.0 . 02:50:04 Sending build context to Docker daemon 2.706MB 02:50:04 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:04 Step 2/24 : FROM ${BASE} AS builder 02:50:04 ---> afda3d45555e 02:50:04 Step 3/24 : ARG MAKE='make build' 02:50:04 ---> Running in 9d851c85b7e1 02:50:04 Removing intermediate container 9d851c85b7e1 02:50:04 ---> 86e56049d4fa 02:50:04 Step 4/24 : WORKDIR /device-sdk-go 02:50:05 ---> Running in ebe92452de2c 02:50:05 Removing intermediate container ebe92452de2c 02:50:05 ---> 8daa0493fa4c 02:50:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:05 ---> Running in a8d07b2b08da 02:50:06 Removing intermediate container a8d07b2b08da 02:50:06 ---> 1d80e20aa096 02:50:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:06 ---> Running in 911c968b8744 02:50:08 Removing intermediate container 911c968b8744 02:50:08 ---> 6ec7c697f62f 02:50:08 Step 7/24 : RUN apk add --update --no-cache make git 02:50:08 ---> Running in 1f3666b8d020 02:50:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:11 OK: 142 MiB in 39 packages 02:50:12 Removing intermediate container 1f3666b8d020 02:50:12 ---> 678638aefbc6 02:50:12 Step 8/24 : COPY . . 02:50:14 ---> e1d88d4bdecc 02:50:14 Step 9/24 : RUN ${MAKE} 02:50:14 ---> Running in a726f993a76b 02:50:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:45 Removing intermediate container a726f993a76b 02:50:45 ---> 1a2050dbcf27 02:50:45 Step 10/24 : FROM scratch 02:50:45 ---> 02:50:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:45 ---> Running in 86b453093eae 02:50:46 Removing intermediate container 86b453093eae 02:50:46 ---> 99795ddfdcdd 02:50:46 Step 12/24 : ENV APP_PORT=49990 02:50:46 ---> Running in d009200038a0 02:50:46 Removing intermediate container d009200038a0 02:50:46 ---> 970074847fac 02:50:46 Step 13/24 : EXPOSE $APP_PORT 02:50:46 ---> Running in 5f0b04009144 02:50:47 Removing intermediate container 5f0b04009144 02:50:47 ---> fb7a7810de79 02:50:47 Step 14/24 : WORKDIR / 02:50:47 ---> Running in da2df69a0c0f 02:50:48 Removing intermediate container da2df69a0c0f 02:50:48 ---> b22974ef037d 02:50:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:49 ---> 89afb7af422a 02:50:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:50 ---> 7873a3898950 02:50:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:51 ---> 631a36829838 02:50:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:51 ---> 3041acd89f3c 02:50:51 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:52 ---> 31f22ecd9c15 02:50:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:52 ---> Running in 0f9f2056ad2b 02:50:53 Removing intermediate container 0f9f2056ad2b 02:50:53 ---> 8ea55047cca6 02:50:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:53 ---> Running in 6fe9f9711374 02:50:53 Removing intermediate container 6fe9f9711374 02:50:53 ---> 419c12765e5d 02:50:53 Step 22/24 : LABEL arch=arm64 02:50:53 ---> Running in 9e5783833369 02:50:54 Removing intermediate container 9e5783833369 02:50:54 ---> 052efa1e0e65 02:50:54 Step 23/24 : LABEL git_sha=408f6c3789b4154c80c1501ca8baeea3f125df39 02:50:54 ---> Running in b1ad8f203905 02:50:55 Removing intermediate container b1ad8f203905 02:50:55 ---> 994d74149baf 02:50:55 Step 24/24 : LABEL version=0.0.0 02:50:55 ---> Running in 4764c893d764 02:50:55 Removing intermediate container 4764c893d764 02:50:55 ---> d09c7654d1b4 02:50:55 [Warning] One or more build-args [ARCH] were not consumed 02:50:55 Successfully built d09c7654d1b4 02:50:55 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:50:57 provisioning config files... 02:50:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config7724635885226567556tmp [Pipeline] { [Pipeline] sh 02:50:57 + set +x 02:50:57 + curl -s https://codecov.io/bash 02:50:57 + bash -s -- 02:50:58 02:50:58 _____ _ 02:50:58 / ____| | | 02:50:58 | | ___ __| | ___ ___ _____ __ 02:50:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:58 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:58 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:58 Bash-20210115-cec3c92 02:50:58 02:50:58 02:50:58 ==> git version 2.24.3 found 02:50:58 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:50:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:58 ==> Jenkins CI detected. 02:50:58 project root: . 02:50:58 --> token set from env 02:50:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:58 ==> Running gcov in . (disable via -X gcov) 02:50:58 ==> Python coveragepy not found 02:50:58 ==> Searching for coverage reports in: 02:50:58 + . 02:50:58 -> Found 1 reports 02:50:58 ==> Detecting git/mercurial file structure 02:50:58 ==> Reading reports 02:50:58 + ./coverage.out bytes=136842 02:50:58 ==> Appending adjustments 02:50:58 https://docs.codecov.io/docs/fixing-reports 02:50:58 + Found adjustments 02:50:58 ==> Gzipping contents 02:50:58 24K /tmp/codecov.Wn3vhe.gz 02:50:58 ==> Uploading reports 02:50:58 url: https://codecov.io 02:50:58 query: branch=PR-756&commit=408f6c3789b4154c80c1501ca8baeea3f125df39&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= 02:50:58 -> Pinging Codecov 02:50:58 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-756&commit=408f6c3789b4154c80c1501ca8baeea3f125df39&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= 02:50:59 -> Uploading to 02:50:59 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/408f6c3789b4154c80c1501ca8baeea3f125df39/9857b4c3-18c8-49b8-8c77-1614f087fb61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=179bff96177327564a2d605a4ff48b5c224063051c9cf601542f429b56b3b93f 02:50:59 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:59 Dload Upload Total Spent Left Speed 02:50:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21537 0 0 100 21537 0 52565 --:--:-- --:--:-- --:--:-- 52657 02:50:59 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/408f6c3789b4154c80c1501ca8baeea3f125df39 [Pipeline] } 02:50:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:51:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:04 ---> package-listing.sh 02:51:04 ++ facter osfamily 02:51:04 ++ tr '[:upper:]' '[:lower:]' 02:51:04 + OS_FAMILY=redhat 02:51:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-756 02:51:04 + START_PACKAGES=/tmp/packages_start.txt 02:51:04 + END_PACKAGES=/tmp/packages_end.txt 02:51:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:04 + PACKAGES=/tmp/packages_start.txt 02:51:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' 02:51:04 + PACKAGES=/tmp/packages_end.txt 02:51:04 + case "${OS_FAMILY}" in 02:51:04 + rpm -qa 02:51:04 + sort 02:51:09 + '[' -f /tmp/packages_start.txt ']' 02:51:09 + '[' -f /tmp/packages_end.txt ']' 02:51:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' 02:51:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ 02:51:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ [Pipeline] echo 02:51:09 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-756/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:10 02:51:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:10 alpine: Pulling from edgex-lftools-log-publisher 02:51:10 df20fa9351a1: Pulling fs layer 02:51:10 36b3adc4ff6f: Pulling fs layer 02:51:10 8ad3a11d3b57: Pulling fs layer 02:51:10 46f8f816bc3b: Pulling fs layer 02:51:10 93b61091891f: Pulling fs layer 02:51:10 93b9cdb0e59b: Pulling fs layer 02:51:10 5e14af77c1be: Pulling fs layer 02:51:10 01666e4c0597: Pulling fs layer 02:51:10 aa168da1d23b: Pulling fs layer 02:51:10 93b9cdb0e59b: Waiting 02:51:10 5e14af77c1be: Waiting 02:51:10 01666e4c0597: Waiting 02:51:10 aa168da1d23b: Waiting 02:51:10 46f8f816bc3b: Waiting 02:51:10 93b61091891f: Waiting 02:51:10 36b3adc4ff6f: Verifying Checksum 02:51:10 36b3adc4ff6f: Download complete 02:51:10 46f8f816bc3b: Verifying Checksum 02:51:10 46f8f816bc3b: Download complete 02:51:10 df20fa9351a1: Download complete 02:51:10 93b9cdb0e59b: Verifying Checksum 02:51:10 93b9cdb0e59b: Download complete 02:51:10 5e14af77c1be: Download complete 02:51:10 93b61091891f: Download complete 02:51:10 01666e4c0597: Verifying Checksum 02:51:10 01666e4c0597: Download complete 02:51:10 8ad3a11d3b57: Verifying Checksum 02:51:10 8ad3a11d3b57: Download complete 02:51:11 df20fa9351a1: Pull complete 02:51:11 36b3adc4ff6f: Pull complete 02:51:12 8ad3a11d3b57: Pull complete 02:51:12 46f8f816bc3b: Pull complete 02:51:13 aa168da1d23b: Download complete 02:51:13 93b61091891f: Pull complete 02:51:13 93b9cdb0e59b: Pull complete 02:51:14 5e14af77c1be: Pull complete 02:51:14 01666e4c0597: Pull complete 02:51:20 aa168da1d23b: Pull complete 02:51:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:20 prd-centos7-docker-4c-2g-23326 does not seem to be running inside a container 02:51:20 $ 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-756/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-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:24 $ docker top d42d1778dd10eab429a30d2b841cbe74770cfdfd23719990aff4cf06e9b2323d -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:25 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:25 + mkdir -p /var/log/sa [Pipeline] sh 02:51:25 + ls /var/log/sa-host 02:51:25 + sadf -c /var/log/sa-host/sa23 02:51:25 file_magic: OK 02:51:25 HZ: Using current value: 100 02:51:25 file_header: OK 02:51:25 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:51:25 Statistics: 02:51:25 Hnuu...uuuununununu... 02:51:25 File successfully converted to sysstat format version 12.2.1 02:51:25 + sadf -c /var/log/sa-host/sa27 02:51:25 file_magic: OK 02:51:25 HZ: Using current value: 100 02:51:25 file_header: OK 02:51:25 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:51:25 Statistics: 02:51:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:25 provisioning config files... 02:51:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config7968542963676793158tmp [Pipeline] { [Pipeline] echo 02:51:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:26 ---> create-netrc.sh [Pipeline] } 02:51:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:26 ---> python-tools-install.sh [Pipeline] echo 02:51:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> sudo-logs.sh 02:51:27 Archiving 'sudo' log.. [Pipeline] echo 02:51:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> job-cost.sh 02:51:27 lf-activate-venv: SKIPPING 02:51:27 INFO: No Stack... 02:51:28 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:29 INFO: Archiving Costs [Pipeline] echo 02:51:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:29 ---> logs-deploy.sh 02:51:29 lf-activate-venv: SKIPPING 02:51:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-756/2 02:51:29 INFO: archiving workspace using pattern(s): 02:51:31 Archives upload complete. 02:51:31 INFO: archiving logs to Nexus 02:51:32 ---> uname -a: 02:51:32 Linux prd-centos7-docker-4c-2g-23326.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:51:32 02:51:32 02:51:32 ---> lscpu: 02:51:32 Architecture: x86_64 02:51:32 CPU op-mode(s): 32-bit, 64-bit 02:51:32 Byte Order: Little Endian 02:51:32 Address sizes: 40 bits physical, 48 bits virtual 02:51:32 CPU(s): 4 02:51:32 On-line CPU(s) list: 0-3 02:51:32 Thread(s) per core: 1 02:51:32 Core(s) per socket: 1 02:51:32 Socket(s): 4 02:51:32 NUMA node(s): 1 02:51:32 Vendor ID: GenuineIntel 02:51:32 CPU family: 6 02:51:32 Model: 44 02:51:32 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:51:32 Stepping: 1 02:51:32 CPU MHz: 2933.442 02:51:32 BogoMIPS: 5866.88 02:51:32 Virtualization: VT-x 02:51:32 Hypervisor vendor: KVM 02:51:32 Virtualization type: full 02:51:32 L1d cache: 128 KiB 02:51:32 L1i cache: 128 KiB 02:51:32 L2 cache: 16 MiB 02:51:32 L3 cache: 64 MiB 02:51:32 NUMA node0 CPU(s): 0-3 02:51:32 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:51:32 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:51:32 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:51:32 Vulnerability Meltdown: Mitigation; PTI 02:51:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:51:32 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:51:32 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:51:32 Vulnerability Srbds: Not affected 02:51:32 Vulnerability Tsx async abort: Not affected 02:51:32 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:51:32 02:51:32 02:51:32 ---> nproc: 02:51:32 4 02:51:32 02:51:32 02:51:32 ---> df -h: 02:51:32 Filesystem Size Used Available Use% Mounted on 02:51:32 overlay 50.0G 7.3G 42.7G 15% / 02:51:32 tmpfs 64.0M 0 64.0M 0% /dev 02:51:32 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:51:32 shm 64.0M 0 64.0M 0% /dev/shm 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-756 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:51:32 02:51:32 02:51:32 ---> free -m: 02:51:32 total used free shared buff/cache available 02:51:32 Mem: 1837 701 82 0 1053 1031 02:51:32 Swap: 1023 0 1023 02:51:32 02:51:32 02:51:32 ---> ip addr: 02:51:32 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:51:32 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:51:32 inet 127.0.0.1/8 scope host lo 02:51:32 valid_lft forever preferred_lft forever 02:51:32 inet6 ::1/128 scope host 02:51:32 valid_lft forever preferred_lft forever 02:51:32 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:51:32 link/ether fa:16:3e:42:73:58 brd ff:ff:ff:ff:ff:ff 02:51:32 inet 10.30.122.42/23 brd 10.30.123.255 scope global dynamic eth0 02:51:32 valid_lft 85843sec preferred_lft 85843sec 02:51:32 inet6 fe80::f816:3eff:fe42:7358/64 scope link 02:51:32 valid_lft forever preferred_lft forever 02:51:32 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:51:32 link/ether 02:42:50:19:d8:21 brd ff:ff:ff:ff:ff:ff 02:51:32 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:51:32 valid_lft forever preferred_lft forever 02:51:32 inet6 fe80::42:50ff:fe19:d821/64 scope link 02:51:32 valid_lft forever preferred_lft forever 02:51:32 02:51:32 02:51:32 ---> sar -b -r -n DEV: 02:51:32 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) 02:51:32 02:51:32 02:42:02 LINUX RESTART (4 CPU) 02:51:32 02:51:32 02:43:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:51:32 02:44:01 11.41 3.72 7.68 0.00 1133.19 286.22 0.00 02:51:32 02:45:01 1.85 0.00 1.85 0.00 0.00 34.99 0.00 02:51:32 02:46:01 0.37 0.00 0.37 0.00 0.00 6.08 0.00 02:51:32 02:47:01 0.28 0.00 0.28 0.00 0.00 4.73 0.00 02:51:32 02:48:01 0.32 0.00 0.32 0.00 0.00 5.03 0.00 02:51:32 02:49:01 0.33 0.00 0.33 0.00 0.00 5.40 0.00 02:51:32 02:50:01 0.35 0.00 0.35 0.00 0.00 5.16 0.00 02:51:32 02:51:01 0.33 0.08 0.25 0.00 7.33 4.15 0.00 02:51:32 Average: 1.89 0.47 1.42 0.00 140.58 43.48 0.00 02:51:32 02:51:32 02:43:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:51:32 02:44:01 179484 0 584856 31.08 2620 1114584 1100688 37.56 431156 1071596 24 02:51:32 02:45:01 183480 0 580852 30.87 2620 1114592 1076636 36.74 430544 1069248 16 02:51:32 02:46:01 183364 0 580964 30.88 2620 1114596 1076696 36.75 437976 1062064 16 02:51:32 02:47:01 182296 0 582028 30.93 2620 1114600 1076720 36.75 442844 1058496 8 02:51:32 02:48:01 182808 0 581512 30.91 2620 1114604 1076648 36.74 439168 1061684 20 02:51:32 02:49:01 183480 0 580836 30.87 2620 1114608 1074556 36.67 438648 1061684 12 02:51:32 02:50:01 184560 0 579752 30.81 2620 1114612 1065304 36.36 437920 1061684 20 02:51:32 02:51:01 181868 0 582060 30.94 2620 1114996 1065472 36.36 440004 1061744 180 02:51:32 Average: 182668 0 581608 30.91 2620 1114649 1076590 36.74 437282 1063525 37 02:51:32 02:51:32 02:43:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:51:32 02:44:01 eth0 35.56 27.38 48.91 9.34 0.00 0.00 0.00 0.00 02:51:32 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:44:01 docker0 10.85 8.65 1.48 23.91 0.00 0.00 0.00 0.00 02:51:32 02:45:01 eth0 5.51 1.02 1.41 0.78 0.00 0.00 0.00 0.00 02:51:32 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:46:01 eth0 3.81 0.92 1.02 0.63 0.00 0.00 0.00 0.00 02:51:32 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:47:01 eth0 4.48 0.92 1.09 0.60 0.00 0.00 0.00 0.00 02:51:32 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:48:01 eth0 1.85 0.87 0.97 0.65 0.00 0.00 0.00 0.00 02:51:32 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:49:01 eth0 0.62 0.33 0.28 0.17 0.00 0.00 0.00 0.00 02:51:32 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:50:01 eth0 0.13 0.08 0.01 0.04 0.00 0.00 0.00 0.00 02:51:32 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:51:01 eth0 5.56 3.38 4.90 2.01 0.00 0.00 0.00 0.00 02:51:32 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 Average: eth0 7.13 4.32 7.24 1.76 0.00 0.00 0.00 0.00 02:51:32 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 Average: docker0 1.34 1.07 0.18 2.95 0.00 0.00 0.00 0.00 02:51:32 02:51:32 02:51:32 ---> sar -P ALL: 02:51:32 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) 02:51:32 02:51:32 02:42:02 LINUX RESTART (4 CPU) 02:51:32 02:51:32 02:43:02 CPU %user %nice %system %iowait %steal %idle 02:51:32 02:44:01 all 1.32 0.00 1.00 0.11 0.01 97.56 02:51:32 02:44:01 0 1.34 0.00 0.99 0.07 0.00 97.60 02:51:32 02:44:01 1 1.65 0.00 1.04 0.14 0.02 97.16 02:51:32 02:44:01 2 1.24 0.00 1.07 0.05 0.03 97.60 02:51:32 02:44:01 3 1.04 0.00 0.92 0.17 0.00 97.87 02:51:32 02:45:01 all 0.18 0.00 0.06 0.00 0.02 99.75 02:51:32 02:45:01 0 0.07 0.00 0.03 0.00 0.03 99.87 02:51:32 02:45:01 1 0.08 0.00 0.05 0.00 0.02 99.85 02:51:32 02:45:01 2 0.53 0.00 0.08 0.00 0.02 99.37 02:51:32 02:45:01 3 0.02 0.00 0.07 0.00 0.02 99.90 02:51:32 02:46:01 all 0.18 0.00 0.05 0.00 0.03 99.74 02:51:32 02:46:01 0 0.07 0.00 0.05 0.00 0.02 99.87 02:51:32 02:46:01 1 0.07 0.00 0.07 0.00 0.05 99.82 02:51:32 02:46:01 2 0.55 0.00 0.02 0.00 0.05 99.38 02:51:32 02:46:01 3 0.05 0.00 0.05 0.00 0.02 99.88 02:51:32 02:47:01 all 0.17 0.00 0.05 0.00 0.02 99.75 02:51:32 02:47:01 0 0.07 0.00 0.03 0.00 0.02 99.88 02:51:32 02:47:01 1 0.02 0.00 0.03 0.00 0.02 99.93 02:51:32 02:47:01 2 0.08 0.00 0.07 0.00 0.03 99.82 02:51:32 02:47:01 3 0.52 0.00 0.08 0.00 0.02 99.38 02:51:32 02:48:01 all 0.19 0.00 0.07 0.00 0.02 99.72 02:51:32 02:48:01 0 0.10 0.00 0.05 0.00 0.02 99.83 02:51:32 02:48:01 1 0.45 0.00 0.03 0.00 0.02 99.50 02:51:32 02:48:01 2 0.10 0.00 0.07 0.00 0.02 99.82 02:51:32 02:48:01 3 0.10 0.00 0.13 0.00 0.02 99.75 02:51:32 02:49:01 all 0.05 0.00 0.05 0.00 0.00 99.89 02:51:32 02:49:01 0 0.03 0.00 0.07 0.00 0.00 99.90 02:51:32 02:49:01 1 0.13 0.00 0.07 0.00 0.00 99.80 02:51:32 02:49:01 2 0.03 0.00 0.07 0.00 0.00 99.90 02:51:32 02:49:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:51:32 02:50:01 all 0.17 0.00 0.03 0.00 0.01 99.79 02:51:32 02:50:01 0 0.07 0.00 0.07 0.00 0.02 99.85 02:51:32 02:50:01 1 0.52 0.00 0.02 0.00 0.00 99.47 02:51:32 02:50:01 2 0.03 0.00 0.03 0.00 0.02 99.92 02:51:32 02:50:01 3 0.05 0.00 0.02 0.00 0.00 99.93 02:51:32 02:51:01 all 0.53 0.00 0.33 0.00 0.00 99.14 02:51:32 02:51:01 0 0.42 0.00 0.43 0.00 0.00 99.15 02:51:32 02:51:01 1 0.85 0.00 0.20 0.00 0.00 98.95 02:51:32 02:51:01 2 0.38 0.00 0.25 0.00 0.00 99.37 02:51:32 02:51:01 3 0.48 0.00 0.42 0.00 0.02 99.08 02:51:32 Average: all 0.35 0.00 0.20 0.01 0.01 99.42 02:51:32 Average: 0 0.27 0.00 0.21 0.01 0.01 99.50 02:51:32 Average: 1 0.47 0.00 0.19 0.02 0.01 99.31 02:51:32 Average: 2 0.37 0.00 0.20 0.01 0.02 99.40 02:51:32 Average: 3 0.28 0.00 0.21 0.02 0.01 99.48 02:51:32 02:51:32 02:51:32