Pull request #784 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 826dc4388710d346dfdba9485e6d47cfaa06628a+6125dba09cfc805438589ab7aad954d8cad7589e (c2c3b50aa406c2a87695e120bc0eae8065ea262c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26659’ Running on prd-centos7-docker-4c-2g-26662 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [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-784 # 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 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a > 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/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # 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 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 Merge succeeded, producing 826dc4388710d346dfdba9485e6d47cfaa06628a Checking out Revision 826dc4388710d346dfdba9485e6d47cfaa06628a (PR-784) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk 0b624d086e479659bfcd9c7783c7d4de6a3614a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:16:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:16:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:16:35 ========================================================= 10:16:35 EdgeX Global Pipelines Version Info 10:16:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:16:36 ------------------- 10:16:36 stable info: 10:16:36 ------------------- 10:16:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:16:36 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 10:16:36 Message: update stable to v1.0.179 10:16:37 ------------------- 10:16:37 experimental info: 10:16:37 ------------------- 10:16:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:16:37 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 10:16:37 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:16:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:16:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:16:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:16:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:16:40 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 10:16:40 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 10:16:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-784 [Pipeline] echo 10:16:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-784 [Pipeline] echo 10:16:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-784 [Pipeline] echo 10:16:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 826dc4388710d346dfdba9485e6d47cfaa06628a [Pipeline] echo 10:16:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 826dc43 [Pipeline] echo 10:16:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:16:40 provisioning config files... 10:16:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config7634742156340246439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:16:41 ---> docker-login.sh 10:16:41 nexus3.edgexfoundry.org:10001 10:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:41 Configure a credential helper to remove this warning. See 10:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:41 10:16:41 Login Succeeded 10:16:41 nexus3.edgexfoundry.org:10002 10:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:41 Configure a credential helper to remove this warning. See 10:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:41 10:16:41 Login Succeeded 10:16:41 nexus3.edgexfoundry.org:10003 10:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:42 Configure a credential helper to remove this warning. See 10:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:42 10:16:42 Login Succeeded 10:16:42 nexus3.edgexfoundry.org:10004 10:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:42 Configure a credential helper to remove this warning. See 10:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:42 10:16:42 Login Succeeded 10:16:42 docker.io 10:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:42 Configure a credential helper to remove this warning. See 10:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:42 10:16:42 Login Succeeded 10:16:42 ---> docker-login.sh ends [Pipeline] } 10:16:42 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:16:43 + git log --format=format:%s -1 826dc4388710d346dfdba9485e6d47cfaa06628a [Pipeline] echo 10:16:43 GIT_COMMIT: 826dc4388710d346dfdba9485e6d47cfaa06628a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 10:16:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:16:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:16:44 10:16:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:16:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:16:44 latest: Pulling from edgex-devops/git-semver 10:16:44 31603596830f: Pulling fs layer 10:16:44 2a8b12db71e7: Pulling fs layer 10:16:44 6ca5941a6612: Pulling fs layer 10:16:44 ecc8261a40a4: Pulling fs layer 10:16:44 ecc8261a40a4: Waiting 10:16:44 2a8b12db71e7: Download complete 10:16:44 31603596830f: Verifying Checksum 10:16:44 31603596830f: Download complete 10:16:44 ecc8261a40a4: Verifying Checksum 10:16:44 ecc8261a40a4: Download complete 10:16:44 6ca5941a6612: Verifying Checksum 10:16:44 6ca5941a6612: Download complete 10:16:45 31603596830f: Pull complete 10:16:45 2a8b12db71e7: Pull complete 10:16:45 6ca5941a6612: Pull complete 10:16:45 ecc8261a40a4: Pull complete 10:16:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:16:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:16:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:16:46 prd-centos7-docker-4c-2g-26662 does not seem to be running inside a container 10:16:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-784 -v /w/workspace/dgexfoundry_device-sdk-go_PR-784:/w/workspace/dgexfoundry_device-sdk-go_PR-784:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-784@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:16:48 $ docker top 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:16:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:16:48 [ssh-agent] Looking for ssh-agent implementation... 10:16:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:16:48 $ docker exec 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb ssh-agent 10:16:48 SSH_AUTH_SOCK=/tmp/ssh-cycbRsOak7MN/agent.13 10:16:48 SSH_AGENT_PID=19 10:16:48 Running ssh-add (command line suppressed) 10:16:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_6293959588596241718.key (/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_6293959588596241718.key) 10:16:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:16:49 + git tag --points-at HEAD [Pipeline] } 10:16:49 $ docker exec --env ******** --env ******** 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb ssh-agent -k 10:16:49 unset SSH_AUTH_SOCK; 10:16:49 unset SSH_AGENT_PID; 10:16:49 echo Agent pid 19 killed; 10:16:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:16:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:16:49 [ssh-agent] Looking for ssh-agent implementation... 10:16:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:16:49 $ docker exec 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb ssh-agent 10:16:49 SSH_AUTH_SOCK=/tmp/ssh-4zA9RwJ62pXL/agent.48 10:16:49 SSH_AGENT_PID=53 10:16:49 Running ssh-add (command line suppressed) 10:16:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_3738999381753261319.key (/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_3738999381753261319.key) 10:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:16:50 + git semver init 10:16:50 # -> Open(): unable to determine branch for HEAD 10:16:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-784/.git 10:16:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-784 10:16:50 # $SEMVER_REMOTE_NAME = origin 10:16:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:16:50 # $SEMVER_USER_NAME = edgex-jenkins 10:16:50 # $SEMVER_BRANCH = PR-784 10:16:50 # $SEMVER_TEMP = /tmp/semver-553140548 10:16:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:16:50 # '/tmp/semver-553140548' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-784/.semver' 10:16:50 # -> Force: false 10:16:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-784/.semver [Pipeline] } 10:16:50 $ docker exec --env ******** --env ******** 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb ssh-agent -k 10:16:51 unset SSH_AUTH_SOCK; 10:16:51 unset SSH_AGENT_PID; 10:16:51 echo Agent pid 53 killed; 10:16:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:16:51 + git semver [Pipeline] } 10:16:51 $ docker stop --time=1 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb 10:16:52 $ docker rm -f 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb [Pipeline] // withDockerContainer [Pipeline] sh 10:16:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:16:54 Stashed 1 file(s) [Pipeline] echo 10:16:54 [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:17:09 Still waiting to schedule task 10:17:09 ‘prd-centos7-docker-4c-2g-26663’ is offline; ‘prd-centos7-docker-4c-2g-26664’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ 10:17:09 Still waiting to schedule task 10:17:09 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 10:20:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26666 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [Pipeline] { [Pipeline] ws 10:20:17 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 10:20:23 using credential edgex-jenkins-ssh 10:20:23 Cloning the remote Git repository 10:20:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:20:23 > git init /w/workspace/device-sdk-go/2 # timeout=10 10:20:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:20:24 > git --version # timeout=10 10:20:24 > git --version # 'git version 2.17.1' 10:20:24 using GIT_SSH to set credentials SSH Credentials for GitHub 10:20:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:20:25 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a 10:20:26 Merge succeeded, producing 826dc4388710d346dfdba9485e6d47cfaa06628a 10:20:26 Checking out Revision 826dc4388710d346dfdba9485e6d47cfaa06628a (PR-784) 10:20:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:20:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:20:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:20:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:20:25 using GIT_SSH to set credentials SSH Credentials for GitHub 10:20:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:20:25 > git config core.sparsecheckout # timeout=10 10:20:25 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 10:20:26 > git remote # timeout=10 10:20:26 > git config --get remote.origin.url # timeout=10 10:20:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:20:26 > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 10:20:26 > git rev-parse HEAD^{commit} # timeout=10 10:20:26 > git config core.sparsecheckout # timeout=10 10:20:26 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 10:20:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:20:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:20:32 + true 10:20:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:20:35 provisioning config files... 10:20:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4375253319012802633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:35 ---> docker-login.sh 10:20:35 nexus3.edgexfoundry.org:10001 10:20:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:37 Configure a credential helper to remove this warning. See 10:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:37 10:20:37 Login Succeeded 10:20:37 nexus3.edgexfoundry.org:10002 10:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:37 Configure a credential helper to remove this warning. See 10:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:37 10:20:37 Login Succeeded 10:20:37 nexus3.edgexfoundry.org:10003 10:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:38 Configure a credential helper to remove this warning. See 10:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:38 10:20:38 Login Succeeded 10:20:38 nexus3.edgexfoundry.org:10004 10:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:38 Configure a credential helper to remove this warning. See 10:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:38 10:20:38 Login Succeeded 10:20:38 docker.io 10:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:39 Configure a credential helper to remove this warning. See 10:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:39 10:20:39 Login Succeeded 10:20:39 ---> docker-login.sh ends [Pipeline] } 10:20:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:20:39 ========================================================= 10:20:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:20:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:20:40 + 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:20:40 Sending build context to Docker daemon 2.389MB 10:20:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:20:40 Step 2/8 : FROM ${BASE} 10:20:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:20:40 5f621e34cdf4: Pulling fs layer 10:20:40 a4357932f1b6: Pulling fs layer 10:20:40 18c013af1878: Pulling fs layer 10:20:40 00ac8860ef70: Pulling fs layer 10:20:40 63d7cb157983: Pulling fs layer 10:20:40 b116817d02f9: Pulling fs layer 10:20:40 745a02a5169b: Pulling fs layer 10:20:40 00ac8860ef70: Waiting 10:20:40 63d7cb157983: Waiting 10:20:40 b116817d02f9: Waiting 10:20:40 745a02a5169b: Waiting 10:20:40 18c013af1878: Verifying Checksum 10:20:40 18c013af1878: Download complete 10:20:40 a4357932f1b6: Verifying Checksum 10:20:40 a4357932f1b6: Download complete 10:20:40 63d7cb157983: Download complete 10:20:41 b116817d02f9: Verifying Checksum 10:20:41 b116817d02f9: Download complete 10:20:41 5f621e34cdf4: Verifying Checksum 10:20:41 5f621e34cdf4: Download complete 10:20:42 5f621e34cdf4: Pull complete 10:20:42 a4357932f1b6: Pull complete 10:20:43 18c013af1878: Pull complete 10:20:43 745a02a5169b: Verifying Checksum 10:20:43 745a02a5169b: Download complete 10:20:44 00ac8860ef70: Verifying Checksum 10:20:44 00ac8860ef70: Download complete 10:20:54 00ac8860ef70: Pull complete 10:20:54 63d7cb157983: Pull complete 10:20:55 b116817d02f9: Pull complete 10:20:58 745a02a5169b: Pull complete 10:20:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:20:58 ---> b7e6874047d6 10:20:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:21:01 ---> Running in 4be862f5e301 10:21:02 Removing intermediate container 4be862f5e301 10:21:02 ---> 057227884204 10:21:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:21:02 ---> Running in 437af6653483 10:21:04 Removing intermediate container 437af6653483 10:21:04 ---> 3f0b6e939c9b 10:21:04 Step 5/8 : RUN apk add --update --no-cache make git 10:21:04 ---> Running in 8e5e169bd1e3 10:21:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:21:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:21:07 OK: 142 MiB in 39 packages 10:21:08 Removing intermediate container 8e5e169bd1e3 10:21:08 ---> 9a5c6a5f3a01 10:21:08 Step 6/8 : WORKDIR /device-sdk-go 10:21:08 ---> Running in a124b9efe5f3 10:21:08 Removing intermediate container a124b9efe5f3 10:21:08 ---> ea6af54af8e2 10:21:08 Step 7/8 : COPY . . 10:21:09 ---> 3e891bf08d21 10:21:09 Step 8/8 : RUN go mod download 10:21:10 ---> Running in 29e64add9294 10:21:36 Removing intermediate container 29e64add9294 10:21:36 ---> c1c344afa1ff 10:21:36 Successfully built c1c344afa1ff 10:21:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:21:37 + docker inspect -f . ci-base-image-arm64 10:21:37 . [Pipeline] withDockerContainer 10:21:37 prd-ubuntu18.04-docker-arm64-4c-16g-26666 does not seem to be running inside a container 10:21: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 ******** ci-base-image-arm64 cat 10:21:39 $ docker top eb93beded782bc5bed1ad9ce5b5060f7eac60ef61ee9a6ed3578b981aefc7e68 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:40 + go version 10:21:40 go version go1.15.5 linux/arm64 [Pipeline] } 10:21:40 $ docker stop --time=1 eb93beded782bc5bed1ad9ce5b5060f7eac60ef61ee9a6ed3578b981aefc7e68 10:21:42 $ docker rm -f eb93beded782bc5bed1ad9ce5b5060f7eac60ef61ee9a6ed3578b981aefc7e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:21:43 + docker inspect -f . ci-base-image-arm64 10:21:43 . [Pipeline] withDockerContainer 10:21:43 prd-ubuntu18.04-docker-arm64-4c-16g-26666 does not seem to be running inside a container 10:21:43 $ 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 ******** ci-base-image-arm64 cat 10:21:44 $ docker top a75cd699b95128ade482676fbfd4a017aff5b0af3bc420813f621f5a55e8da89 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:45 + make test 10:21:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:22:08 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:22:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.125s coverage: 25.5% of statements 10:22:56 Running on prd-centos7-docker-4c-2g-26667 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [Pipeline] { [Pipeline] ws 10:22:56 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 10:23:08 using credential edgex-jenkins-ssh 10:23:08 Cloning the remote Git repository 10:23:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:23:09 > git init /w/workspace/device-sdk-go/2 # timeout=10 10:23:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:23:09 > git --version # timeout=10 10:23:09 > git --version # 'git version 2.24.3' 10:23:09 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:23:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:23:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:23:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:23:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:23:11 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:23:12 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a 10:23:13 Merge succeeded, producing 826dc4388710d346dfdba9485e6d47cfaa06628a 10:23:13 Checking out Revision 826dc4388710d346dfdba9485e6d47cfaa06628a (PR-784) 10:23:12 > git config core.sparsecheckout # timeout=10 10:23:12 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 10:23:12 > git remote # timeout=10 10:23:13 > git config --get remote.origin.url # timeout=10 10:23:13 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:13 > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 10:23:13 > git rev-parse HEAD^{commit} # timeout=10 10:23:13 > git config core.sparsecheckout # timeout=10 10:23:13 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 10:23:18 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:23:22 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:23:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:23:23 + sudo service docker restart 10:23:23 + true 10:23:23 Redirecting to /bin/systemctl restart docker.service 10:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.127s coverage: 10.1% of statements 10:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 12.5% of statements 10:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.179s coverage: 84.8% of statements 10:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.236s coverage: 49.2% of statements 10:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 10:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 24.8% of statements 10:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.990s coverage: 83.5% of statements 10:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.3% of statements 10:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:23:23 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:23:26 provisioning config files... 10:23:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8053850377767686316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:27 ---> docker-login.sh 10:23:27 nexus3.edgexfoundry.org:10001 10:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:29 Configure a credential helper to remove this warning. See 10:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:29 10:23:30 Login Succeeded 10:23:30 nexus3.edgexfoundry.org:10002 10:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:30 Configure a credential helper to remove this warning. See 10:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:30 10:23:30 Login Succeeded 10:23:30 nexus3.edgexfoundry.org:10003 10:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:31 Configure a credential helper to remove this warning. See 10:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:31 10:23:31 Login Succeeded 10:23:31 nexus3.edgexfoundry.org:10004 10:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:32 Configure a credential helper to remove this warning. See 10:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:32 10:23:32 Login Succeeded 10:23:32 docker.io 10:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:34 Configure a credential helper to remove this warning. See 10:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:34 10:23:34 Login Succeeded 10:23:34 ---> docker-login.sh ends [Pipeline] } 10:23:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:23:35 ========================================================= 10:23:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:23:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:23:35 + 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:23:37 Sending build context to Docker daemon 2.383MB 10:23:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:23:37 Step 2/8 : FROM ${BASE} 10:23:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:23:38 188c0c94c7c5: Pulling fs layer 10:23:38 0ef7d3d256c8: Pulling fs layer 10:23:38 de9db76c5a1d: Pulling fs layer 10:23:38 bca2f99d35d6: Pulling fs layer 10:23:38 93359f2a8cfa: Pulling fs layer 10:23:38 7c6f9722023f: Pulling fs layer 10:23:38 a35cf1a2eb13: Pulling fs layer 10:23:38 93359f2a8cfa: Waiting 10:23:38 7c6f9722023f: Waiting 10:23:38 a35cf1a2eb13: Waiting 10:23:38 bca2f99d35d6: Waiting 10:23:38 de9db76c5a1d: Download complete 10:23:38 0ef7d3d256c8: Verifying Checksum 10:23:38 0ef7d3d256c8: Download complete 10:23:38 93359f2a8cfa: Verifying Checksum 10:23:38 93359f2a8cfa: Download complete 10:23:39 7c6f9722023f: Verifying Checksum 10:23:39 7c6f9722023f: Download complete 10:23:40 188c0c94c7c5: Verifying Checksum 10:23:40 188c0c94c7c5: Download complete 10:23:41 188c0c94c7c5: Pull complete 10:23:43 0ef7d3d256c8: Pull complete 10:23:43 de9db76c5a1d: Pull complete 10:23:49 a35cf1a2eb13: Verifying Checksum 10:23:49 a35cf1a2eb13: Download complete 10:23:51 bca2f99d35d6: Verifying Checksum 10:23:51 bca2f99d35d6: Download complete 10:23:56 gofmt -l . 10:23:56 [ "`gofmt -l .`" = "" ] 10:23:56 ./bin/test-attribution-txt.sh 10:23:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:23:56 $ docker stop --time=1 a75cd699b95128ade482676fbfd4a017aff5b0af3bc420813f621f5a55e8da89 10:23:58 $ docker rm -f a75cd699b95128ade482676fbfd4a017aff5b0af3bc420813f621f5a55e8da89 [Pipeline] // withDockerContainer [Pipeline] sh 10:23:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:24:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:24:02 + ls -al . 10:24:02 total 208 10:24:02 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 10:23 . 10:24:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:20 .. 10:24:02 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 10:20 .dockerignore 10:24:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 10:20 .git 10:24:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 10:20 .github 10:24:02 -rw-rw-r-- 1 jenkins jenkins 138 Feb 17 10:20 .gitignore 10:24:02 -rw-rw-r-- 1 jenkins jenkins 949 Feb 17 10:20 Dockerfile.build 10:24:02 -rw-rw-r-- 1 jenkins jenkins 901 Feb 17 10:20 Jenkinsfile 10:24:02 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 10:20 LICENSE 10:24:02 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 17 10:20 Makefile 10:24:02 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 17 10:20 README.md 10:24:02 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 17 10:20 RELEASE-NOTES.txt 10:24:02 -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 10:16 VERSION 10:24:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 10:20 bin 10:24:02 -rw-r--r-- 1 jenkins jenkins 89677 Feb 17 10:23 coverage.out 10:24:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:20 example 10:24:02 -rw-r--r-- 1 jenkins jenkins 515 Feb 17 10:23 go.mod 10:24:02 -rw-r--r-- 1 jenkins jenkins 19062 Feb 17 10:23 go.sum 10:24:02 drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 10:20 internal 10:24:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:20 openapi 10:24:02 drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 10:20 pkg 10:24:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:20 snap 10:24:02 -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 10:20 version.go [Pipeline] isUnix [Pipeline] sh 10:24:02 bca2f99d35d6: Pull complete 10:24:02 93359f2a8cfa: Pull complete 10:24:02 7c6f9722023f: Pull complete 10:24:02 + 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=826dc4388710d346dfdba9485e6d47cfaa06628a --label arch=arm64 --label version=0.0.0 . 10:24:02 Sending build context to Docker daemon 2.48MB 10:24:02 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:24:02 Step 2/24 : FROM ${BASE} AS builder 10:24:02 ---> c1c344afa1ff 10:24:02 Step 3/24 : ARG MAKE='make build' 10:24:03 ---> Running in 1b1a0e1d590c 10:24:03 Removing intermediate container 1b1a0e1d590c 10:24:03 ---> 421fb18abe03 10:24:03 Step 4/24 : WORKDIR /device-sdk-go 10:24:03 ---> Running in 40edf97b7621 10:24:04 Removing intermediate container 40edf97b7621 10:24:04 ---> 4bb74ff746a2 10:24:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:24:04 ---> Running in e2be246742eb 10:24:04 Removing intermediate container e2be246742eb 10:24:04 ---> d246d12b75c5 10:24:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:04 ---> Running in a93ba2b8b84b 10:24:06 Removing intermediate container a93ba2b8b84b 10:24:06 ---> db6503e1d213 10:24:06 Step 7/24 : RUN apk add --update --no-cache make git 10:24:07 ---> Running in 87e9329af4c1 10:24:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:24:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:24:08 a35cf1a2eb13: Pull complete 10:24:08 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:24:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:24:08 ---> a62c8e92a672 10:24:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:24:09 ---> Running in 78a729373098 10:24:09 Removing intermediate container 78a729373098 10:24:09 ---> 621e964fd2bd 10:24:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:09 ---> Running in bcb563a32a7b 10:24:09 OK: 142 MiB in 39 packages 10:24:10 Removing intermediate container 87e9329af4c1 10:24:10 ---> a002f3b2c279 10:24:10 Step 8/24 : COPY . . 10:24:12 ---> 62f4a0b60309 10:24:12 Step 9/24 : RUN ${MAKE} 10:24:12 ---> Running in d5e4d4533c3a 10:24:12 Removing intermediate container bcb563a32a7b 10:24:12 ---> d31b7ed2d1e8 10:24:12 Step 5/8 : RUN apk add --update --no-cache make git 10:24:12 ---> Running in d8bbf34fd9d0 10:24:13 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:24:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:24:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:24:15 OK: 166 MiB in 39 packages 10:24:16 Removing intermediate container d8bbf34fd9d0 10:24:16 ---> 4777edcca4f3 10:24:16 Step 6/8 : WORKDIR /device-sdk-go 10:24:16 ---> Running in c8bf7a92d9aa 10:24:16 Removing intermediate container c8bf7a92d9aa 10:24:16 ---> 5fe816af4ecf 10:24:16 Step 7/8 : COPY . . 10:24:19 ---> 7d949039f27a 10:24:19 Step 8/8 : RUN go mod download 10:24:19 ---> Running in ee51d7cef8a7 10:24:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:24:40 Removing intermediate container d5e4d4533c3a 10:24:40 ---> c97b15539115 10:24:40 Step 10/24 : FROM scratch 10:24:40 ---> 10:24:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:24:40 ---> Running in 86617618da7a 10:24:41 Removing intermediate container 86617618da7a 10:24:41 ---> 798ed9f2e182 10:24:41 Step 12/24 : ENV APP_PORT=49990 10:24:41 ---> Running in a88964f45514 10:24:41 Removing intermediate container a88964f45514 10:24:41 ---> efecda558da9 10:24:41 Step 13/24 : EXPOSE $APP_PORT 10:24:41 ---> Running in 0d7daf1b9377 10:24:41 Removing intermediate container 0d7daf1b9377 10:24:41 ---> 0c1afa450006 10:24:41 Step 14/24 : WORKDIR / 10:24:42 ---> Running in 257614d8ad11 10:24:42 Removing intermediate container 257614d8ad11 10:24:42 ---> bfa384200bdc 10:24:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:24:43 ---> 47b9d9ef1494 10:24:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:24:44 ---> f923901e7c07 10:24:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:24:44 ---> f340f9185a21 10:24:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:24:45 ---> 92e63590276d 10:24:45 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:24:46 ---> 0234a276ec05 10:24:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:24:46 ---> Running in 109dbbe6adca 10:24:46 Removing intermediate container 109dbbe6adca 10:24:46 ---> 3170eeed80d9 10:24:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:24:46 ---> Running in db058072207e 10:24:47 Removing intermediate container db058072207e 10:24:47 ---> ab605910a83c 10:24:47 Step 22/24 : LABEL arch=arm64 10:24:47 ---> Running in 4f7ffafaeaa8 10:24:47 Removing intermediate container 4f7ffafaeaa8 10:24:47 ---> 33a515fb7582 10:24:47 Step 23/24 : LABEL git_sha=826dc4388710d346dfdba9485e6d47cfaa06628a 10:24:47 ---> Running in b2813ea7a63b 10:24:48 Removing intermediate container b2813ea7a63b 10:24:48 ---> 610b9dec4241 10:24:48 Step 24/24 : LABEL version=0.0.0 10:24:48 ---> Running in d7eaf10ad4ca 10:24:49 Removing intermediate container d7eaf10ad4ca 10:24:49 ---> f5c6f85e316c 10:24:49 [Warning] One or more build-args [ARCH] were not consumed 10:24:49 Successfully built f5c6f85e316c 10:24:49 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] } 10:25:00 Removing intermediate container ee51d7cef8a7 10:25:00 ---> 37443f54e24c 10:25:00 Successfully built 37443f54e24c 10:25:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:25:01 + docker inspect -f . ci-base-image-x86_64 10:25:02 . [Pipeline] withDockerContainer 10:25:03 prd-centos7-docker-4c-2g-26667 does not seem to be running inside a container 10:25:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:25:04 $ docker top abb38ce7b12660512192314f9c2da719c0d2cb2cecd6c3bd9210fa471b39d39f -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:06 + go version 10:25:06 go version go1.15.5 linux/amd64 [Pipeline] } 10:25:06 $ docker stop --time=1 abb38ce7b12660512192314f9c2da719c0d2cb2cecd6c3bd9210fa471b39d39f 10:25:07 $ docker rm -f abb38ce7b12660512192314f9c2da719c0d2cb2cecd6c3bd9210fa471b39d39f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:25:09 + docker inspect -f . ci-base-image-x86_64 10:25:09 . [Pipeline] withDockerContainer 10:25:10 prd-centos7-docker-4c-2g-26667 does not seem to be running inside a container 10:25:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:25:12 $ docker top 80fdc5597be98f3d7c0e31971e6e1c220a7a5388bba92dc9b21c36a5d5c60d4a -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:13 + make test 10:25:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:25:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:25:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:25:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:25:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:25:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 25.5% of statements 10:26:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.126s coverage: 10.1% of statements 10:26:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.074s coverage: 12.5% of statements 10:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:26:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.090s coverage: 84.8% of statements 10:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:26:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 49.2% of statements 10:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 10:26:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.137s coverage: 24.8% of statements 10:26:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.468s coverage: 83.5% of statements 10:26:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.078s coverage: 5.3% of statements 10:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:26:27 GO111MODULE=on go vet ./... 10:26:50 gofmt -l . 10:26:50 [ "`gofmt -l .`" = "" ] 10:26:50 ./bin/test-attribution-txt.sh 10:26:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:26:53 $ docker stop --time=1 80fdc5597be98f3d7c0e31971e6e1c220a7a5388bba92dc9b21c36a5d5c60d4a 10:26:56 $ docker rm -f 80fdc5597be98f3d7c0e31971e6e1c220a7a5388bba92dc9b21c36a5d5c60d4a [Pipeline] // withDockerContainer [Pipeline] sh 10:26:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:26:57 Warning: overwriting stash ‘coverage-report’ 10:26:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:27:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:27:00 + ls -al . 10:27:00 total 172 10:27:00 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 17 10:26 . 10:27:00 drwxrwxr-x. 4 jenkins jenkins 28 Feb 17 10:23 .. 10:27:00 drwxrwxr-x. 2 jenkins jenkins 64 Feb 17 10:23 bin 10:27:00 -rw-r--r--. 1 jenkins jenkins 89677 Feb 17 10:26 coverage.out 10:27:00 -rw-rw-r--. 1 jenkins jenkins 949 Feb 17 10:23 Dockerfile.build 10:27:00 -rw-rw-r--. 1 jenkins jenkins 140 Feb 17 10:23 .dockerignore 10:27:00 drwxrwxr-x. 4 jenkins jenkins 48 Feb 17 10:23 example 10:27:00 drwxrwxr-x. 8 jenkins jenkins 179 Feb 17 10:23 .git 10:27:00 drwxrwxr-x. 2 jenkins jenkins 103 Feb 17 10:23 .github 10:27:00 -rw-rw-r--. 1 jenkins jenkins 138 Feb 17 10:23 .gitignore 10:27:00 -rw-r--r--. 1 jenkins jenkins 515 Feb 17 10:26 go.mod 10:27:00 -rw-r--r--. 1 jenkins jenkins 19062 Feb 17 10:26 go.sum 10:27:00 drwxrwxr-x. 13 jenkins jenkins 183 Feb 17 10:23 internal 10:27:00 -rw-rw-r--. 1 jenkins jenkins 901 Feb 17 10:23 Jenkinsfile 10:27:00 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 17 10:23 LICENSE 10:27:00 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 17 10:23 Makefile 10:27:00 drwxrwxr-x. 4 jenkins jenkins 26 Feb 17 10:23 openapi 10:27:00 drwxrwxr-x. 5 jenkins jenkins 50 Feb 17 10:23 pkg 10:27:00 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 17 10:23 README.md 10:27:00 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 17 10:23 RELEASE-NOTES.txt 10:27:00 drwxrwxr-x. 4 jenkins jenkins 54 Feb 17 10:23 snap 10:27:00 -rw-rw-r--. 1 jenkins jenkins 5 Feb 17 10:16 VERSION 10:27:00 -rw-rw-r--. 1 jenkins jenkins 222 Feb 17 10:23 version.go [Pipeline] isUnix [Pipeline] sh 10:27:01 + 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=826dc4388710d346dfdba9485e6d47cfaa06628a --label arch=amd64 --label version=0.0.0 . 10:27:02 Sending build context to Docker daemon 2.474MB 10:27:02 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:27:02 Step 2/24 : FROM ${BASE} AS builder 10:27:02 ---> 37443f54e24c 10:27:02 Step 3/24 : ARG MAKE='make build' 10:27:02 ---> Running in 58d0e12c7fcc 10:27:03 Removing intermediate container 58d0e12c7fcc 10:27:03 ---> ddefa55441d8 10:27:03 Step 4/24 : WORKDIR /device-sdk-go 10:27:03 ---> Running in 230daef0405a 10:27:03 Removing intermediate container 230daef0405a 10:27:03 ---> ef696cf9f9fb 10:27:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:27:04 ---> Running in 03fd77141c5d 10:27:04 Removing intermediate container 03fd77141c5d 10:27:04 ---> fa0bb0f27fc3 10:27:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:27:04 ---> Running in 37618e3f576b 10:27:07 Removing intermediate container 37618e3f576b 10:27:07 ---> b14c33a3adcf 10:27:07 Step 7/24 : RUN apk add --update --no-cache make git 10:27:07 ---> Running in 6975eda8c456 10:27:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:27:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:27:10 OK: 166 MiB in 39 packages 10:27:12 Removing intermediate container 6975eda8c456 10:27:12 ---> e45ed71214a2 10:27:12 Step 8/24 : COPY . . 10:27:14 ---> 2ed0afc05a04 10:27:14 Step 9/24 : RUN ${MAKE} 10:27:14 ---> Running in 97b0913c710f 10:27: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 10:27:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:27:34 Removing intermediate container 97b0913c710f 10:27:34 ---> 99330578c071 10:27:34 Step 10/24 : FROM scratch 10:27:34 ---> 10:27:34 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:27:34 ---> Running in 170a12c46952 10:27:34 Removing intermediate container 170a12c46952 10:27:34 ---> f603b98b6d59 10:27:34 Step 12/24 : ENV APP_PORT=49990 10:27:35 ---> Running in 4ee795279e5d 10:27:35 Removing intermediate container 4ee795279e5d 10:27:35 ---> 3aa5309252d0 10:27:35 Step 13/24 : EXPOSE $APP_PORT 10:27:35 ---> Running in af3a5f5365d3 10:27:36 Removing intermediate container af3a5f5365d3 10:27:36 ---> ea3ffa50de31 10:27:36 Step 14/24 : WORKDIR / 10:27:36 ---> Running in 765a1aa5515f 10:27:36 Removing intermediate container 765a1aa5515f 10:27:36 ---> 04d4b5ebc9fe 10:27:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:27:37 ---> a5cdba3e3568 10:27:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:27:37 ---> 29298c15d50f 10:27:37 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:27:37 ---> e68daec2b718 10:27:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:27:39 ---> 4c837f934ea3 10:27:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:27:39 ---> a222e638c922 10:27:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:27:39 ---> Running in e7e713699ab5 10:27:40 Removing intermediate container e7e713699ab5 10:27:40 ---> e9ec5b965526 10:27:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:27:40 ---> Running in f38c6d785a42 10:27:40 Removing intermediate container f38c6d785a42 10:27:40 ---> c3ecf782844d 10:27:40 Step 22/24 : LABEL arch=amd64 10:27:40 ---> Running in aedd032b9ca1 10:27:40 Removing intermediate container aedd032b9ca1 10:27:40 ---> 259b58b2912b 10:27:40 Step 23/24 : LABEL git_sha=826dc4388710d346dfdba9485e6d47cfaa06628a 10:27:41 ---> Running in 948e4c46c048 10:27:41 Removing intermediate container 948e4c46c048 10:27:41 ---> cf189a84dfec 10:27:41 Step 24/24 : LABEL version=0.0.0 10:27:41 ---> Running in 47e6558f9933 10:27:42 Removing intermediate container 47e6558f9933 10:27:42 ---> cf6a34ad35d4 10:27:42 [Warning] One or more build-args [ARCH] were not consumed 10:27:42 Successfully built cf6a34ad35d4 10:27:42 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 10:27:45 provisioning config files... 10:27:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config5624039902321194898tmp [Pipeline] { [Pipeline] sh 10:27:46 + set +x 10:27:46 + curl -s https://codecov.io/bash 10:27:46 + bash -s -- 10:27:46 10:27:46 _____ _ 10:27:46 / ____| | | 10:27:46 | | ___ __| | ___ ___ _____ __ 10:27:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:27:46 | |___| (_) | (_| | __/ (_| (_) \ V / 10:27:46 \_____\___/ \__,_|\___|\___\___/ \_/ 10:27:46 Bash-20210129-7c25fce 10:27:46 10:27:46 10:27:46 ==> git version 2.24.3 found 10:27:46 ==> 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:27:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:27:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:27:46 ==> Jenkins CI detected. 10:27:46 project root: . 10:27:46 --> token set from env 10:27:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:27:46 ==> Running gcov in . (disable via -X gcov) 10:27:46 ==> Python coveragepy not found 10:27:46 ==> Searching for coverage reports in: 10:27:46 + . 10:27:46 -> Found 1 reports 10:27:46 ==> Detecting git/mercurial file structure 10:27:46 ==> Reading reports 10:27:46 + ./coverage.out bytes=89677 10:27:46 ==> Appending adjustments 10:27:46 https://docs.codecov.io/docs/fixing-reports 10:27:46 + Found adjustments 10:27:46 ==> Gzipping contents 10:27:46 16K /tmp/codecov.Em15xW.gz 10:27:46 ==> Uploading reports 10:27:46 url: https://codecov.io 10:27:46 query: branch=PR-784&commit=826dc4388710d346dfdba9485e6d47cfaa06628a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-784%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=784&job=&cmd_args= 10:27:46 -> Pinging Codecov 10:27:46 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-784&commit=826dc4388710d346dfdba9485e6d47cfaa06628a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-784%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=784&job=&cmd_args= 10:27:47 -> Uploading to 10:27:47 https://storage.googleapis.com/codecov/v4/raw/2021-02-17/7E55EF52A471D76F132DFD9A03CDDE97/826dc4388710d346dfdba9485e6d47cfaa06628a/8358bc38-f617-4d97-8dbc-6edff179b5f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210217T102747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8bb8d9da3342a8788a60349b8448e54bfc2f2b677e63bac8214b967c5e1a87c6 10:27:47 % Total % Received % Xferd Average Speed Time Time Time Current 10:27:47 Dload Upload Total Spent Left Speed 10:27:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15136 0 0 100 15136 0 32173 --:--:-- --:--:-- --:--:-- 32204 10:27:47 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/826dc4388710d346dfdba9485e6d47cfaa06628a [Pipeline] } 10:27:47 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:27:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:27:50 ---> package-listing.sh 10:27:50 ++ facter osfamily 10:27:50 ++ tr '[:upper:]' '[:lower:]' 10:27:50 + OS_FAMILY=redhat 10:27:50 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-784 10:27:50 + START_PACKAGES=/tmp/packages_start.txt 10:27:50 + END_PACKAGES=/tmp/packages_end.txt 10:27:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:27:50 + PACKAGES=/tmp/packages_start.txt 10:27:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-784 ']' 10:27:50 + PACKAGES=/tmp/packages_end.txt 10:27:50 + case "${OS_FAMILY}" in 10:27:50 + rpm -qa 10:27:50 + sort 10:27:55 + '[' -f /tmp/packages_start.txt ']' 10:27:55 + '[' -f /tmp/packages_end.txt ']' 10:27:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:27:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-784 ']' 10:27:55 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-784/archives/ 10:27:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-784/archives/ [Pipeline] echo 10:27:55 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-784/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:27:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:27:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:27:56 10:27:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:27:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:27:56 alpine: Pulling from edgex-lftools-log-publisher 10:27:56 df20fa9351a1: Pulling fs layer 10:27:56 36b3adc4ff6f: Pulling fs layer 10:27:56 8ad3a11d3b57: Pulling fs layer 10:27:56 46f8f816bc3b: Pulling fs layer 10:27:56 93b61091891f: Pulling fs layer 10:27:56 93b9cdb0e59b: Pulling fs layer 10:27:56 5e14af77c1be: Pulling fs layer 10:27:56 01666e4c0597: Pulling fs layer 10:27:56 aa168da1d23b: Pulling fs layer 10:27:56 93b9cdb0e59b: Waiting 10:27:56 5e14af77c1be: Waiting 10:27:56 01666e4c0597: Waiting 10:27:56 46f8f816bc3b: Waiting 10:27:56 93b61091891f: Waiting 10:27:56 aa168da1d23b: Waiting 10:27:56 36b3adc4ff6f: Verifying Checksum 10:27:56 36b3adc4ff6f: Download complete 10:27:56 46f8f816bc3b: Verifying Checksum 10:27:56 46f8f816bc3b: Download complete 10:27:56 df20fa9351a1: Verifying Checksum 10:27:56 df20fa9351a1: Download complete 10:27:56 93b9cdb0e59b: Verifying Checksum 10:27:56 93b9cdb0e59b: Download complete 10:27:56 5e14af77c1be: Verifying Checksum 10:27:56 5e14af77c1be: Download complete 10:27:56 01666e4c0597: Verifying Checksum 10:27:56 01666e4c0597: Download complete 10:27:56 93b61091891f: Verifying Checksum 10:27:56 93b61091891f: Download complete 10:27:56 8ad3a11d3b57: Verifying Checksum 10:27:56 8ad3a11d3b57: Download complete 10:27:57 df20fa9351a1: Pull complete 10:27:57 36b3adc4ff6f: Pull complete 10:27:58 8ad3a11d3b57: Pull complete 10:27:58 46f8f816bc3b: Pull complete 10:27:58 93b61091891f: Pull complete 10:27:59 aa168da1d23b: Verifying Checksum 10:27:59 aa168da1d23b: Download complete 10:27:59 93b9cdb0e59b: Pull complete 10:27:59 5e14af77c1be: Pull complete 10:27:59 01666e4c0597: Pull complete 10:28:06 aa168da1d23b: Pull complete 10:28:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:28:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:28:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:28:06 prd-centos7-docker-4c-2g-26662 does not seem to be running inside a container 10:28:06 $ 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-784/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-784 -v /w/workspace/dgexfoundry_device-sdk-go_PR-784:/w/workspace/dgexfoundry_device-sdk-go_PR-784:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-784@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:10003/edgex-lftools-log-publisher:alpine cat 10:28:09 $ docker top 0386ea9db796d73f5a39f340b1f248ebb5e7f84cfe1a514abe31b22f24a47486 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:10 + touch /tmp/pre-build-complete [Pipeline] sh 10:28:10 + mkdir -p /var/log/sa [Pipeline] sh 10:28:10 + ls /var/log/sa-host 10:28:10 + sadf -c /var/log/sa-host/sa17 10:28:10 file_magic: OK 10:28:10 HZ: Using current value: 100 10:28:10 file_header: OK 10:28:10 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:10 Statistics: 10:28:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:28:10 File successfully converted to sysstat format version 12.2.1 10:28:10 + sadf -c /var/log/sa-host/sa23 10:28:10 file_magic: OK 10:28:10 HZ: Using current value: 100 10:28:10 file_header: OK 10:28:10 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:10 Statistics: 10:28:10 Hnuu...uuuununununu... 10:28:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:28:10 provisioning config files... 10:28:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config1586060289801018918tmp [Pipeline] { [Pipeline] echo 10:28:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:28:11 ---> create-netrc.sh [Pipeline] } 10:28:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:28:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:28:11 ---> python-tools-install.sh [Pipeline] echo 10:28:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:28:12 ---> sudo-logs.sh 10:28:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:28:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:28:12 ---> job-cost.sh 10:28:12 lf-activate-venv: SKIPPING 10:28:12 INFO: No Stack... 10:28:13 INFO: Retrieving Pricing Info for: v1-standard-2 10:28:13 INFO: Archiving Costs [Pipeline] echo 10:28:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:28:14 ---> logs-deploy.sh 10:28:14 lf-activate-venv: SKIPPING 10:28:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-784/2 10:28:14 INFO: archiving workspace using pattern(s): 10:28:15 Archives upload complete. 10:28:15 INFO: archiving logs to Nexus 10:28:16 ---> uname -a: 10:28:16 Linux prd-centos7-docker-4c-2g-26662.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:16 10:28:16 10:28:16 ---> lscpu: 10:28:16 Architecture: x86_64 10:28:16 CPU op-mode(s): 32-bit, 64-bit 10:28:16 Byte Order: Little Endian 10:28:16 Address sizes: 40 bits physical, 48 bits virtual 10:28:16 CPU(s): 4 10:28:16 On-line CPU(s) list: 0-3 10:28:16 Thread(s) per core: 1 10:28:16 Core(s) per socket: 1 10:28:16 Socket(s): 4 10:28:16 NUMA node(s): 1 10:28:16 Vendor ID: GenuineIntel 10:28:16 CPU family: 6 10:28:16 Model: 44 10:28:16 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 10:28:16 Stepping: 1 10:28:16 CPU MHz: 2933.436 10:28:16 BogoMIPS: 5866.87 10:28:16 Virtualization: VT-x 10:28:16 Hypervisor vendor: KVM 10:28:16 Virtualization type: full 10:28:16 L1d cache: 128 KiB 10:28:16 L1i cache: 128 KiB 10:28:16 L2 cache: 16 MiB 10:28:16 L3 cache: 64 MiB 10:28:16 NUMA node0 CPU(s): 0-3 10:28:16 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 10:28:16 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 10:28:16 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 10:28:16 Vulnerability Meltdown: Mitigation; PTI 10:28:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:28:16 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:28:16 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:28:16 Vulnerability Srbds: Not affected 10:28:16 Vulnerability Tsx async abort: Not affected 10:28:16 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:16 10:28:16 10:28:16 ---> nproc: 10:28:16 4 10:28:16 10:28:16 10:28:16 ---> df -h: 10:28:16 Filesystem Size Used Available Use% Mounted on 10:28:16 overlay 50.0G 7.3G 42.7G 15% / 10:28:16 tmpfs 64.0M 0 64.0M 0% /dev 10:28:16 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 10:28:16 shm 64.0M 0 64.0M 0% /dev/shm 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-784 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 10:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 10:28:16 10:28:16 10:28:16 ---> free -m: 10:28:16 total used free shared buff/cache available 10:28:16 Mem: 1837 696 105 0 1035 1036 10:28:16 Swap: 1023 0 1023 10:28:16 10:28:16 10:28:16 ---> ip addr: 10:28:16 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 10:28:16 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:28:16 inet 127.0.0.1/8 scope host lo 10:28:16 valid_lft forever preferred_lft forever 10:28:16 inet6 ::1/128 scope host 10:28:16 valid_lft forever preferred_lft forever 10:28:16 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 10:28:16 link/ether fa:16:3e:8d:90:65 brd ff:ff:ff:ff:ff:ff 10:28:16 inet 10.30.122.218/23 brd 10.30.123.255 scope global dynamic eth0 10:28:16 valid_lft 85667sec preferred_lft 85667sec 10:28:16 inet6 fe80::f816:3eff:fe8d:9065/64 scope link 10:28:16 valid_lft forever preferred_lft forever 10:28:16 3: docker0: mtu 1500 qdisc noqueue state DOWN 10:28:16 link/ether 02:42:79:d4:02:76 brd ff:ff:ff:ff:ff:ff 10:28:16 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 10:28:16 valid_lft forever preferred_lft forever 10:28:16 inet6 fe80::42:79ff:fed4:276/64 scope link 10:28:16 valid_lft forever preferred_lft forever 10:28:16 10:28:16 10:28:16 ---> sar -b -r -n DEV: 10:28:16 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/17/21 _x86_64_ (4 CPU) 10:28:16 10:28:16 10:15:52 LINUX RESTART (4 CPU) 10:28:16 10:28:16 10:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:28:16 10:18:02 2.45 0.00 2.45 0.00 0.00 55.82 0.00 10:28:16 10:19:01 0.36 0.00 0.36 0.00 0.00 5.64 0.00 10:28:16 10:20:01 0.18 0.00 0.18 0.00 0.00 2.17 0.00 10:28:16 10:21:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 10:28:16 10:22:01 0.25 0.00 0.25 0.00 0.00 3.71 0.00 10:28:16 10:23:01 0.40 0.00 0.40 0.00 0.00 6.10 0.00 10:28:16 10:24:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 10:28:16 10:25:01 0.17 0.00 0.17 0.00 0.00 1.48 0.00 10:28:16 10:26:01 0.28 0.00 0.28 0.00 0.00 3.21 0.00 10:28:16 10:27:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 10:28:16 10:28:01 73.09 52.22 20.87 0.00 4386.51 6967.22 0.00 10:28:16 Average: 7.11 4.77 2.34 0.00 400.30 643.73 0.00 10:28:16 10:28:16 10:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:28:16 10:18:02 146300 0 587344 31.22 2620 1145280 1098860 37.50 390516 1145144 16 10:28:16 10:19:01 148144 0 585492 31.12 2620 1145288 1070528 36.54 409464 1125012 20 10:28:16 10:20:01 149604 0 584028 31.04 2620 1145292 1060248 36.18 408852 1124388 12 10:28:16 10:21:01 147728 0 585904 31.14 2620 1145292 1060352 36.19 413652 1121868 8 10:28:16 10:22:01 148184 0 585440 31.11 2620 1145300 1060332 36.19 407932 1127448 8 10:28:16 10:23:01 147716 0 585904 31.14 2620 1145304 1060368 36.19 408112 1127448 20 10:28:16 10:24:01 148280 0 585336 31.11 2620 1145308 1060248 36.18 407364 1127448 12 10:28:16 10:25:01 148412 0 585200 31.10 2620 1145312 1060248 36.18 407616 1127448 8 10:28:16 10:26:01 148380 0 585224 31.10 2620 1145320 1060248 36.18 407624 1127448 8 10:28:16 10:27:01 145068 0 588532 31.28 2620 1145324 1060332 36.19 410624 1127448 8 10:28:16 10:28:01 76296 0 694416 36.91 2620 1108212 1504468 51.34 555184 1018168 64908 10:28:16 Average: 141283 0 595711 31.66 2620 1141930 1105112 37.72 420631 1118115 5912 10:28:16 10:28:16 10:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:28:16 10:18:02 eth0 3.98 2.03 2.88 0.48 0.00 0.00 0.00 0.00 10:28:16 10:18:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:18:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:19:01 eth0 0.64 0.34 0.28 0.20 0.00 0.00 0.00 0.00 10:28:16 10:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:20:01 eth0 0.78 0.08 0.07 0.04 0.00 0.00 0.00 0.00 10:28:16 10:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:21:01 eth0 0.65 0.35 0.37 0.20 0.00 0.00 0.00 0.00 10:28:16 10:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:22:01 eth0 1.13 0.20 0.21 0.07 0.00 0.00 0.00 0.00 10:28:16 10:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:23:01 eth0 0.57 0.43 0.32 0.21 0.00 0.00 0.00 0.00 10:28:16 10:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:24:01 eth0 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:25:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:28:16 10:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:26:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:28:16 10:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:27:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 10:28:16 10:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:28:01 eth0 205.63 172.49 2165.56 17.61 0.00 0.00 0.00 0.00 10:28:16 10:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 Average: eth0 19.51 16.08 198.01 1.72 0.00 0.00 0.00 0.00 10:28:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:28:16 10:28:16 10:28:16 ---> sar -P ALL: 10:28:16 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/17/21 _x86_64_ (4 CPU) 10:28:16 10:28:16 10:15:52 LINUX RESTART (4 CPU) 10:28:16 10:28:16 10:17:01 CPU %user %nice %system %iowait %steal %idle 10:28:16 10:18:02 all 0.18 0.00 0.05 0.00 0.02 99.75 10:28:16 10:18:02 0 0.05 0.00 0.05 0.00 0.02 99.88 10:28:16 10:18:02 1 0.08 0.00 0.05 0.00 0.00 99.87 10:28:16 10:18:02 2 0.08 0.00 0.07 0.00 0.02 99.83 10:28:16 10:18:02 3 0.48 0.00 0.05 0.00 0.03 99.43 10:28:16 10:19:01 all 0.11 0.00 0.03 0.00 0.00 99.86 10:28:16 10:19:01 0 0.03 0.00 0.03 0.00 0.00 99.93 10:28:16 10:19:01 1 0.05 0.00 0.03 0.00 0.00 99.92 10:28:16 10:19:01 2 0.05 0.00 0.02 0.00 0.00 99.93 10:28:16 10:19:01 3 0.32 0.00 0.03 0.00 0.00 99.64 10:28:16 10:20:01 all 0.13 0.00 0.02 0.00 0.00 99.85 10:28:16 10:20:01 0 0.02 0.00 0.00 0.00 0.00 99.98 10:28:16 10:20:01 1 0.03 0.00 0.03 0.00 0.00 99.93 10:28:16 10:20:01 2 0.45 0.00 0.03 0.00 0.00 99.52 10:28:16 10:20:01 3 0.02 0.00 0.02 0.00 0.02 99.95 10:28:16 10:21:01 all 0.15 0.00 0.03 0.00 0.00 99.81 10:28:16 10:21:01 0 0.02 0.00 0.02 0.00 0.00 99.97 10:28:16 10:21:01 1 0.05 0.00 0.05 0.00 0.02 99.88 10:28:16 10:21:01 2 0.50 0.00 0.02 0.00 0.00 99.48 10:28:16 10:21:01 3 0.05 0.00 0.03 0.00 0.00 99.92 10:28:16 10:22:01 all 0.17 0.00 0.13 0.00 0.01 99.69 10:28:16 10:22:01 0 0.05 0.00 0.20 0.00 0.00 99.75 10:28:16 10:22:01 1 0.05 0.00 0.12 0.00 0.00 99.83 10:28:16 10:22:01 2 0.52 0.00 0.05 0.00 0.02 99.42 10:28:16 10:22:01 3 0.07 0.00 0.17 0.00 0.02 99.75 10:28:16 10:23:01 all 0.17 0.00 0.03 0.00 0.00 99.80 10:28:16 10:23:01 0 0.00 0.00 0.02 0.00 0.00 99.98 10:28:16 10:23:01 1 0.05 0.00 0.03 0.00 0.00 99.92 10:28:16 10:23:01 2 0.58 0.00 0.03 0.00 0.00 99.38 10:28:16 10:23:01 3 0.03 0.00 0.03 0.00 0.00 99.93 10:28:16 10:24:01 all 0.15 0.00 0.02 0.00 0.00 99.82 10:28:16 10:24:01 0 0.03 0.00 0.02 0.00 0.00 99.95 10:28:16 10:24:01 1 0.43 0.00 0.03 0.00 0.00 99.53 10:28:16 10:24:01 2 0.08 0.00 0.02 0.00 0.02 99.88 10:28:16 10:24:01 3 0.05 0.00 0.03 0.00 0.00 99.92 10:28:16 10:25:01 all 0.08 0.00 0.04 0.00 0.00 99.88 10:28:16 10:25:01 0 0.03 0.00 0.02 0.00 0.00 99.95 10:28:16 10:25:01 1 0.22 0.00 0.07 0.00 0.00 99.72 10:28:16 10:25:01 2 0.02 0.00 0.03 0.00 0.00 99.95 10:28:16 10:25:01 3 0.03 0.00 0.03 0.00 0.02 99.92 10:28:16 10:26:01 all 0.04 0.00 0.03 0.00 0.00 99.93 10:28:16 10:26:01 0 0.02 0.00 0.03 0.00 0.02 99.93 10:28:16 10:26:01 1 0.02 0.00 0.02 0.00 0.00 99.97 10:28:16 10:26:01 2 0.03 0.00 0.00 0.00 0.00 99.97 10:28:16 10:26:01 3 0.08 0.00 0.05 0.00 0.00 99.87 10:28:16 10:27:01 all 0.04 0.00 0.04 0.00 0.00 99.92 10:28:16 10:27:01 0 0.02 0.00 0.03 0.00 0.00 99.95 10:28:16 10:27:01 1 0.05 0.00 0.07 0.00 0.00 99.88 10:28:16 10:27:01 2 0.03 0.00 0.02 0.00 0.00 99.95 10:28:16 10:27:01 3 0.05 0.00 0.05 0.00 0.00 99.90 10:28:16 10:28:01 all 3.69 0.00 1.60 1.53 0.02 93.15 10:28:16 10:28:01 0 3.16 0.00 1.79 0.53 0.02 94.50 10:28:16 10:28:01 1 2.92 0.00 1.57 0.15 0.02 95.35 10:28:16 10:28:01 2 3.46 0.00 1.57 0.45 0.02 94.51 10:28:16 10:28:01 3 5.24 0.00 1.47 5.01 0.03 88.24 10:28:16 10:28:16 Average: CPU %user %nice %system %iowait %steal %idle 10:28:16 Average: all 0.45 0.00 0.18 0.14 0.01 99.22 10:28:16 Average: 0 0.31 0.00 0.20 0.05 0.00 99.44 10:28:16 Average: 1 0.36 0.00 0.19 0.01 0.00 99.44 10:28:16 Average: 2 0.53 0.00 0.17 0.04 0.01 99.26 10:28:16 Average: 3 0.58 0.00 0.18 0.45 0.01 98.77 10:28:16 10:28:16 10:28:16