Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of vijay-hcl-epl for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fc417a4a7760e79cd3fb62518c4fb0334d857caa+2e0b14878cfb4a574be8745ab7c226ce26d53775 (f58bda963427c78728a99b0a1213d0de79783c03) 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22167’ is offline; ‘prd-centos7-docker-4c-2g-22170’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-22169’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22171 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [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-750 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa Merge succeeded, producing 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 Checking out Revision 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 (PR-750) > git config core.sparsecheckout # timeout=10 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 # timeout=10 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" > git rev-list --no-walk fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:13 ========================================================= 02:41:13 EdgeX Global Pipelines Version Info 02:41:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:15 ------------------- 02:41:15 stable info: 02:41:15 ------------------- 02:41:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:15 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:41:15 Message: update stable to v1.0.179 02:41:16 ------------------- 02:41:16 experimental info: 02:41:16 ------------------- 02:41:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:16 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:41:16 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-750 [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-750 [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-750 [Pipeline] echo 02:41:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 [Pipeline] echo 02:41:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 176fab5 [Pipeline] echo 02:41:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:19 provisioning config files... 02:41:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config6705558482303346592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:19 ---> docker-login.sh 02:41:19 nexus3.edgexfoundry.org:10001 02:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:19 Configure a credential helper to remove this warning. See 02:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:19 02:41:19 Login Succeeded 02:41:19 nexus3.edgexfoundry.org:10002 02:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:20 Configure a credential helper to remove this warning. See 02:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:20 02:41:20 Login Succeeded 02:41:20 nexus3.edgexfoundry.org:10003 02:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:20 Configure a credential helper to remove this warning. See 02:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:20 02:41:20 Login Succeeded 02:41:20 nexus3.edgexfoundry.org:10004 02:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:20 Configure a credential helper to remove this warning. See 02:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:20 02:41:20 Login Succeeded 02:41:20 docker.io 02:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:21 Configure a credential helper to remove this warning. See 02:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:21 02:41:21 Login Succeeded 02:41:21 ---> docker-login.sh ends [Pipeline] } 02:41:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:21 + git log --format=format:%s -1 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 [Pipeline] echo 02:41:22 GIT_COMMIT: 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5, Commit Message: Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD [Pipeline] echo 02:41:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:22 02:41:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:23 latest: Pulling from edgex-devops/git-semver 02:41:23 31603596830f: Pulling fs layer 02:41:23 2a8b12db71e7: Pulling fs layer 02:41:23 6ca5941a6612: Pulling fs layer 02:41:23 ecc8261a40a4: Pulling fs layer 02:41:23 2a8b12db71e7: Verifying Checksum 02:41:23 2a8b12db71e7: Download complete 02:41:23 31603596830f: Verifying Checksum 02:41:23 31603596830f: Download complete 02:41:23 ecc8261a40a4: Verifying Checksum 02:41:23 ecc8261a40a4: Download complete 02:41:23 6ca5941a6612: Verifying Checksum 02:41:23 6ca5941a6612: Download complete 02:41:23 31603596830f: Pull complete 02:41:23 2a8b12db71e7: Pull complete 02:41:24 6ca5941a6612: Pull complete 02:41:24 ecc8261a40a4: Pull complete 02:41:24 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:24 prd-centos7-docker-4c-2g-22171 does not seem to be running inside a container 02:41:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:41:27 $ docker top f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:27 [ssh-agent] Looking for ssh-agent implementation... 02:41:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:28 $ docker exec f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c ssh-agent 02:41:28 SSH_AUTH_SOCK=/tmp/ssh-enIJc3pU0whT/agent.12 02:41:28 SSH_AGENT_PID=17 02:41:28 Running ssh-add (command line suppressed) 02:41:28 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_8853530554220097966.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_8853530554220097966.key) 02:41:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:28 + git tag --points-at HEAD [Pipeline] } 02:41:28 $ docker exec --env ******** --env ******** f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c ssh-agent -k 02:41:28 unset SSH_AUTH_SOCK; 02:41:28 unset SSH_AGENT_PID; 02:41:28 echo Agent pid 17 killed; 02:41:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:41:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:29 [ssh-agent] Looking for ssh-agent implementation... 02:41:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:29 $ docker exec f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c ssh-agent 02:41:29 SSH_AUTH_SOCK=/tmp/ssh-EAAzkUF1muj6/agent.46 02:41:29 SSH_AGENT_PID=51 02:41:29 Running ssh-add (command line suppressed) 02:41:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7581502430563234497.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7581502430563234497.key) 02:41:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:30 + git semver init 02:41:30 # -> Open(): unable to determine branch for HEAD 02:41:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.git 02:41:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-750 02:41:30 # $SEMVER_REMOTE_NAME = origin 02:41:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:41:30 # $SEMVER_USER_NAME = edgex-jenkins 02:41:30 # $SEMVER_BRANCH = PR-750 02:41:30 # $SEMVER_TEMP = /tmp/semver-905391173 02:41:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:41:30 # '/tmp/semver-905391173' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver' 02:41:30 # -> Force: false 02:41:30 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver [Pipeline] } 02:41:30 $ docker exec --env ******** --env ******** f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c ssh-agent -k 02:41:30 unset SSH_AUTH_SOCK; 02:41:30 unset SSH_AGENT_PID; 02:41:30 echo Agent pid 51 killed; 02:41:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:31 + git semver [Pipeline] } 02:41:31 $ docker stop --time=1 f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c 02:41:32 $ docker rm -f f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c [Pipeline] // withDockerContainer [Pipeline] sh 02:41:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:41:33 Stashed 1 file(s) [Pipeline] echo 02:41:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:41:49 Still waiting to schedule task 02:41:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:41:49 Still waiting to schedule task 02:41:49 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:43:14 Running on prd-centos7-docker-4c-2g-22176 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws 02:43:14 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:43:17 using credential edgex-jenkins-ssh 02:43:17 Cloning the remote Git repository 02:43:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:17 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:43:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:17 > git --version # timeout=10 02:43:17 > git --version # 'git version 2.24.3' 02:43:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:18 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa 02:43:18 Merge succeeded, producing d86efb913f2c3d9a6041511d7dbde8e81dce57ab 02:43:18 Checking out Revision d86efb913f2c3d9a6041511d7dbde8e81dce57ab (PR-750) 02:43:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:18 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:18 > git config core.sparsecheckout # timeout=10 02:43:18 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 02:43:18 > git remote # timeout=10 02:43:18 > git config --get remote.origin.url # timeout=10 02:43:18 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:18 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 02:43:18 > git rev-parse HEAD^{commit} # timeout=10 02:43:18 > git config core.sparsecheckout # timeout=10 02:43:18 > git checkout -f d86efb913f2c3d9a6041511d7dbde8e81dce57ab # timeout=10 02:43:22 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" 02:43:22 > git rev-list --no-walk fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:24 + sudo service docker restart 02:43:24 + true 02:43:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:25 provisioning config files... 02:43:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6362173870103283211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:25 ---> docker-login.sh 02:43:25 nexus3.edgexfoundry.org:10001 02:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:26 Configure a credential helper to remove this warning. See 02:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:26 02:43:26 Login Succeeded 02:43:26 nexus3.edgexfoundry.org:10002 02:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:26 Configure a credential helper to remove this warning. See 02:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:26 02:43:26 Login Succeeded 02:43:26 nexus3.edgexfoundry.org:10003 02:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:26 Configure a credential helper to remove this warning. See 02:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:26 02:43:26 Login Succeeded 02:43:26 nexus3.edgexfoundry.org:10004 02:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:27 Configure a credential helper to remove this warning. See 02:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:27 02:43:27 Login Succeeded 02:43:27 docker.io 02:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:27 Configure a credential helper to remove this warning. See 02:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:27 02:43:27 Login Succeeded 02:43:27 ---> docker-login.sh ends [Pipeline] } 02:43:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:27 ========================================================= 02:43:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:43:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:43:28 Sending build context to Docker daemon 2.621MB 02:43:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:43:28 Step 2/8 : FROM ${BASE} 02:43:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:43:28 188c0c94c7c5: Pulling fs layer 02:43:28 0ef7d3d256c8: Pulling fs layer 02:43:28 de9db76c5a1d: Pulling fs layer 02:43:28 bca2f99d35d6: Pulling fs layer 02:43:28 93359f2a8cfa: Pulling fs layer 02:43:28 7c6f9722023f: Pulling fs layer 02:43:28 a35cf1a2eb13: Pulling fs layer 02:43:28 93359f2a8cfa: Waiting 02:43:28 7c6f9722023f: Waiting 02:43:28 a35cf1a2eb13: Waiting 02:43:28 bca2f99d35d6: Waiting 02:43:28 de9db76c5a1d: Verifying Checksum 02:43:28 de9db76c5a1d: Download complete 02:43:28 0ef7d3d256c8: Verifying Checksum 02:43:28 0ef7d3d256c8: Download complete 02:43:28 93359f2a8cfa: Verifying Checksum 02:43:28 93359f2a8cfa: Download complete 02:43:28 7c6f9722023f: Verifying Checksum 02:43:28 7c6f9722023f: Download complete 02:43:28 188c0c94c7c5: Verifying Checksum 02:43:28 188c0c94c7c5: Download complete 02:43:28 188c0c94c7c5: Pull complete 02:43:28 0ef7d3d256c8: Pull complete 02:43:29 de9db76c5a1d: Pull complete 02:43:30 a35cf1a2eb13: Verifying Checksum 02:43:30 a35cf1a2eb13: Download complete 02:43:30 bca2f99d35d6: Verifying Checksum 02:43:30 bca2f99d35d6: Download complete 02:43:36 bca2f99d35d6: Pull complete 02:43:36 93359f2a8cfa: Pull complete 02:43:36 7c6f9722023f: Pull complete 02:43:44 a35cf1a2eb13: Pull complete 02:43:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:43:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:43:44 ---> a62c8e92a672 02:43:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:43:44 ---> Running in 2b613338d09b 02:43:44 Removing intermediate container 2b613338d09b 02:43:44 ---> dd2bfc3a7147 02:43:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:43:44 ---> Running in c7a8475de016 02:43:45 Removing intermediate container c7a8475de016 02:43:45 ---> 95bf89a16166 02:43:45 Step 5/8 : RUN apk add --update --no-cache make git 02:43:45 ---> Running in 0c02d9d524f4 02:43:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:43:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:43:50 OK: 166 MiB in 39 packages 02:43:50 Removing intermediate container 0c02d9d524f4 02:43:50 ---> 676ea0f8efe1 02:43:50 Step 6/8 : WORKDIR /device-sdk-go 02:43:50 ---> Running in a3d9a3281766 02:43:50 Removing intermediate container a3d9a3281766 02:43:50 ---> d1c71937d5a4 02:43:50 Step 7/8 : COPY . . 02:43:52 ---> 4ee663caa926 02:43:52 Step 8/8 : RUN go mod download 02:43:52 ---> Running in e266b362bffd 02:44:10 Removing intermediate container e266b362bffd 02:44:10 ---> 464f3695afe0 02:44:10 Successfully built 464f3695afe0 02:44:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:10 + docker inspect -f . ci-base-image-x86_64 02:44:10 . [Pipeline] withDockerContainer 02:44:11 prd-centos7-docker-4c-2g-22176 does not seem to be running inside a container 02:44:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:11 $ docker top b7582aa7e949d5d835bf5f9d4cb095ea4f5f588c2c091eb64be8df8c549d4185 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:12 + go version 02:44:12 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:12 $ docker stop --time=1 b7582aa7e949d5d835bf5f9d4cb095ea4f5f588c2c091eb64be8df8c549d4185 02:44:14 $ docker rm -f b7582aa7e949d5d835bf5f9d4cb095ea4f5f588c2c091eb64be8df8c549d4185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:15 + docker inspect -f . ci-base-image-x86_64 02:44:15 . [Pipeline] withDockerContainer 02:44:15 prd-centos7-docker-4c-2g-22176 does not seem to be running inside a container 02:44:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:15 $ docker top 28cc8da6413eadc33fbfe6ad9c5de200bcd700e370e698ff9c126c9f7c426184 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:16 + make test 02:44:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:44:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:44:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:44:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:44:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 19.4% of statements 02:44:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.524s coverage: 97.1% of statements 02:44:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22177 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws 02:44:59 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:45:04 using credential edgex-jenkins-ssh 02:45:04 Cloning the remote Git repository 02:45:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:05 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:45:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:05 > git --version # timeout=10 02:45:05 > git --version # 'git version 2.17.1' 02:45:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:07 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa 02:45:08 Merge succeeded, producing 769eb2fedffa55d2134aeb0cf3b632bdaa82f990 02:45:08 Checking out Revision 769eb2fedffa55d2134aeb0cf3b632bdaa82f990 (PR-750) 02:45:07 > git config core.sparsecheckout # timeout=10 02:45:07 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 02:45:07 > git remote # timeout=10 02:45:07 > git config --get remote.origin.url # timeout=10 02:45:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:07 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 02:45:08 > git rev-parse HEAD^{commit} # timeout=10 02:45:08 > git config core.sparsecheckout # timeout=10 02:45:08 > git checkout -f 769eb2fedffa55d2134aeb0cf3b632bdaa82f990 # timeout=10 02:45:12 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" 02:45:12 > git rev-list --no-walk fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 9.4% of statements 02:45:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.047s coverage: 21.7% of statements 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:45:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.264s coverage: 43.2% of statements 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:45:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.291s coverage: 68.9% of statements 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:45:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 53.8% of statements 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:45:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.068s coverage: 26.8% of statements 02:45:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.466s coverage: 83.5% of statements 02:45:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 4.2% of statements 02:45:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:45:14 GO111MODULE=on go vet ./... 02:45:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:14 + + truesudo 02:45:14 service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:17 provisioning config files... 02:45:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7772950329167240217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:18 ---> docker-login.sh 02:45:18 nexus3.edgexfoundry.org:10001 02:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:19 Configure a credential helper to remove this warning. See 02:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:19 02:45:19 Login Succeeded 02:45:19 nexus3.edgexfoundry.org:10002 02:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:19 Configure a credential helper to remove this warning. See 02:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:19 02:45:19 Login Succeeded 02:45:19 nexus3.edgexfoundry.org:10003 02:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:20 Configure a credential helper to remove this warning. See 02:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:20 02:45:20 Login Succeeded 02:45:20 nexus3.edgexfoundry.org:10004 02:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:20 Configure a credential helper to remove this warning. See 02:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:20 02:45:20 Login Succeeded 02:45:20 docker.io 02:45:21 gofmt -l . 02:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:21 [ "`gofmt -l .`" = "" ] 02:45:21 ./bin/test-attribution-txt.sh 02:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:21 Configure a credential helper to remove this warning. See 02:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:21 02:45:21 Login Succeeded 02:45:21 ---> docker-login.sh ends [Pipeline] } 02:45:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:45:22 ./bin/test-go-mod-tidy.sh [Pipeline] echo 02:45:22 ========================================================= 02:45:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:22 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] } 02:45:22 $ docker stop --time=1 28cc8da6413eadc33fbfe6ad9c5de200bcd700e370e698ff9c126c9f7c426184 02:45:22 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:45:23 Sending build context to Docker daemon 2.611MB 02:45:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:23 Step 2/8 : FROM ${BASE} 02:45:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:23 5f621e34cdf4: Pulling fs layer 02:45:23 a4357932f1b6: Pulling fs layer 02:45:23 18c013af1878: Pulling fs layer 02:45:23 00ac8860ef70: Pulling fs layer 02:45:23 63d7cb157983: Pulling fs layer 02:45:23 b116817d02f9: Pulling fs layer 02:45:23 745a02a5169b: Pulling fs layer 02:45:23 00ac8860ef70: Waiting 02:45:23 63d7cb157983: Waiting 02:45:23 b116817d02f9: Waiting 02:45:23 745a02a5169b: Waiting 02:45:23 18c013af1878: Download complete 02:45:23 a4357932f1b6: Download complete 02:45:23 63d7cb157983: Verifying Checksum 02:45:23 63d7cb157983: Download complete 02:45:23 b116817d02f9: Download complete 02:45:23 5f621e34cdf4: Verifying Checksum 02:45:23 5f621e34cdf4: Download complete 02:45:24 5f621e34cdf4: Pull complete 02:45:24 $ docker rm -f 28cc8da6413eadc33fbfe6ad9c5de200bcd700e370e698ff9c126c9f7c426184 [Pipeline] // withDockerContainer [Pipeline] sh 02:45:24 a4357932f1b6: Pull complete 02:45:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:45:25 Stashed 1 file(s) [Pipeline] } 02:45:25 18c013af1878: Pull complete [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:45:26 745a02a5169b: Download complete 02:45:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:27 + ls -al . 02:45:27 total 216 02:45:27 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 02:45 . 02:45:27 drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 02:43 .. 02:45:27 drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 02:43 bin 02:45:27 -rw-r--r--. 1 jenkins jenkins 136842 Jan 22 02:45 coverage.out 02:45:27 -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 02:43 Dockerfile.build 02:45:27 -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 02:43 .dockerignore 02:45:27 drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 02:43 example 02:45:27 drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 02:43 .git 02:45:27 drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 02:43 .github 02:45:27 -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 02:43 .gitignore 02:45:27 -rw-r--r--. 1 jenkins jenkins 514 Jan 22 02:45 go.mod 02:45:27 -rw-r--r--. 1 jenkins jenkins 14016 Jan 22 02:45 go.sum 02:45:27 drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 02:43 internal 02:45:27 -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 02:43 Jenkinsfile 02:45:27 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 02:43 LICENSE 02:45:27 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 02:43 Makefile 02:45:27 drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 02:43 openapi 02:45:27 drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 02:43 pkg 02:45:27 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 02:43 README.md 02:45:27 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 02:43 RELEASE-NOTES.txt 02:45:27 drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 02:43 snap 02:45:27 -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 02:41 VERSION 02:45:27 -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:45:27 + 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=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 --label arch=amd64 --label version=0.0.0 . 02:45:27 Sending build context to Docker daemon 2.759MB 02:45:27 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:45:27 Step 2/24 : FROM ${BASE} AS builder 02:45:27 ---> 464f3695afe0 02:45:27 Step 3/24 : ARG MAKE='make build' 02:45:28 ---> Running in f888e172cc38 02:45:28 Removing intermediate container f888e172cc38 02:45:28 ---> 8b37e0b3e7aa 02:45:28 Step 4/24 : WORKDIR /device-sdk-go 02:45:28 ---> Running in bd4786162f50 02:45:28 00ac8860ef70: Verifying Checksum 02:45:28 00ac8860ef70: Download complete 02:45:28 Removing intermediate container bd4786162f50 02:45:28 ---> 0ff51f50591e 02:45:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:28 ---> Running in 42190e2df996 02:45:29 Removing intermediate container 42190e2df996 02:45:29 ---> faa460a86315 02:45:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:29 ---> Running in 732700d3dc62 02:45:29 Removing intermediate container 732700d3dc62 02:45:29 ---> 3d0f0dcc2254 02:45:29 Step 7/24 : RUN apk add --update --no-cache make git 02:45:30 ---> Running in c3bf3c3ef3ef 02:45:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:34 OK: 166 MiB in 39 packages 02:45:35 Removing intermediate container c3bf3c3ef3ef 02:45:35 ---> 2f8c5f9e751f 02:45:35 Step 8/24 : COPY . . 02:45:36 ---> 8477b65cfa6e 02:45:36 Step 9/24 : RUN ${MAKE} 02:45:36 ---> Running in 19357dc4ecc9 02:45:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:45:38 00ac8860ef70: Pull complete 02:45:38 63d7cb157983: Pull complete 02:45:38 b116817d02f9: Pull complete 02:45:41 745a02a5169b: Pull complete 02:45:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:45:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:45:41 ---> b7e6874047d6 02:45:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:44 ---> Running in 131e6f4cd800 02:45:44 Removing intermediate container 131e6f4cd800 02:45:44 ---> 616037125aa7 02:45:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:44 ---> Running in 0b5a31252bea 02:45:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:45:47 Removing intermediate container 0b5a31252bea 02:45:47 ---> a0a36b61f426 02:45:47 Step 5/8 : RUN apk add --update --no-cache make git 02:45:47 ---> Running in b6a3a2c5960d 02:45:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:45:48 Removing intermediate container 19357dc4ecc9 02:45:48 ---> c27188f60527 02:45:48 Step 10/24 : FROM scratch 02:45:48 ---> 02:45:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:48 ---> Running in a0bedb888729 02:45:48 Removing intermediate container a0bedb888729 02:45:48 ---> e1ab62e95b1b 02:45:48 Step 12/24 : ENV APP_PORT=49990 02:45:48 ---> Running in 1590d2819ee2 02:45:48 Removing intermediate container 1590d2819ee2 02:45:48 ---> 8b4239616413 02:45:48 Step 13/24 : EXPOSE $APP_PORT 02:45:48 ---> Running in 74bd8deafefa 02:45:48 Removing intermediate container 74bd8deafefa 02:45:48 ---> 03fad6d6e6e9 02:45:48 Step 14/24 : WORKDIR / 02:45:48 ---> Running in 2c7347c16a1d 02:45:48 Removing intermediate container 2c7347c16a1d 02:45:48 ---> ebc99f2af838 02:45:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:45:49 ---> 5ff1900b8ab7 02:45:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:45:49 ---> f460b3e78cec 02:45:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:45:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:45:50 ---> cf265b589cbe 02:45:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:45:50 ---> 50b1799c1087 02:45:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:45:50 ---> 3b559995a10d 02:45:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:45:50 ---> Running in a1b6b2571a55 02:45:50 Removing intermediate container a1b6b2571a55 02:45:50 ---> daaaeb0cdfa0 02:45:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:45:50 ---> Running in c551f850c53e 02:45:51 Removing intermediate container c551f850c53e 02:45:51 ---> 76eb30f2165d 02:45:51 Step 22/24 : LABEL arch=amd64 02:45:51 ---> Running in f5b760af3a1a 02:45:51 OK: 142 MiB in 39 packages 02:45:51 Removing intermediate container f5b760af3a1a 02:45:51 ---> 465008a9b81d 02:45:51 Step 23/24 : LABEL git_sha=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 02:45:51 ---> Running in 0179a6bea99d 02:45:51 Removing intermediate container 0179a6bea99d 02:45:51 ---> a82325fe69d7 02:45:51 Step 24/24 : LABEL version=0.0.0 02:45:51 ---> Running in 4fbdbec6018c 02:45:51 Removing intermediate container 4fbdbec6018c 02:45:51 ---> a2e3b762ecb1 02:45:51 [Warning] One or more build-args [ARCH] were not consumed 02:45:51 Successfully built a2e3b762ecb1 02:45:51 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] } 02:45:52 Removing intermediate container b6a3a2c5960d 02:45:52 ---> 57fede781c09 02:45:52 Step 6/8 : WORKDIR /device-sdk-go 02:45:52 ---> Running in 38cbaebb19dc [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:45:53 Removing intermediate container 38cbaebb19dc 02:45:53 ---> 1180776a21b1 02:45:53 Step 7/8 : COPY . . 02:45:54 ---> 180a24ac4764 02:45:54 Step 8/8 : RUN go mod download 02:45:54 ---> Running in 780871c63969 02:46:16 Removing intermediate container 780871c63969 02:46:16 ---> 0277bcf0b943 02:46:16 Successfully built 0277bcf0b943 02:46:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:17 + docker inspect -f . ci-base-image-arm64 02:46:17 . [Pipeline] withDockerContainer 02:46:17 prd-ubuntu18.04-docker-arm64-4c-16g-22177 does not seem to be running inside a container 02:46:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:19 $ docker top 336fe13720898f1d43761bb12b142baa61d8e1b68c634bfa7e74e8211d4da2fa -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:20 + go version 02:46:20 go version go1.15.5 linux/arm64 [Pipeline] } 02:46:20 $ docker stop --time=1 336fe13720898f1d43761bb12b142baa61d8e1b68c634bfa7e74e8211d4da2fa 02:46:22 $ docker rm -f 336fe13720898f1d43761bb12b142baa61d8e1b68c634bfa7e74e8211d4da2fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:23 + docker inspect -f . ci-base-image-arm64 02:46:23 . [Pipeline] withDockerContainer 02:46:23 prd-ubuntu18.04-docker-arm64-4c-16g-22177 does not seem to be running inside a container 02:46:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:25 $ docker top 14e270efad7ea00a090fef35390c3b5e580921700a229557c8069dcf41c59b05 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:26 + make test 02:46:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 19.4% of statements 02:47:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.199s coverage: 97.1% of statements 02:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.150s coverage: 9.4% of statements 02:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.126s coverage: 21.7% of statements 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.618s coverage: 43.2% of statements 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.752s coverage: 68.9% of statements 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.220s coverage: 53.8% of statements 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.189s coverage: 26.8% of statements 02:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.236s coverage: 83.5% of statements 02:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements 02:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:10 GO111MODULE=on go vet ./... 02:48:43 gofmt -l . 02:48:43 [ "`gofmt -l .`" = "" ] 02:48:43 ./bin/test-attribution-txt.sh 02:48:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:43 $ docker stop --time=1 14e270efad7ea00a090fef35390c3b5e580921700a229557c8069dcf41c59b05 02:48:45 $ docker rm -f 14e270efad7ea00a090fef35390c3b5e580921700a229557c8069dcf41c59b05 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:46 Warning: overwriting stash ‘coverage-report’ 02:48:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:48 + ls -al . 02:48:48 total 252 02:48:48 drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 02:48 . 02:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:45 .. 02:48:48 -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 02:45 .dockerignore 02:48:48 drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 02:45 .git 02:48:48 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:45 .github 02:48:48 -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 02:45 .gitignore 02:48:48 -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 02:45 Dockerfile.build 02:48:48 -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 02:45 Jenkinsfile 02:48:48 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 02:45 LICENSE 02:48:48 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 02:45 Makefile 02:48:48 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 02:45 README.md 02:48:48 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 02:45 RELEASE-NOTES.txt 02:48:48 -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 02:41 VERSION 02:48:48 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:45 bin 02:48:48 -rw-r--r-- 1 jenkins jenkins 136842 Jan 22 02:48 coverage.out 02:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:45 example 02:48:48 -rw-r--r-- 1 jenkins jenkins 514 Jan 22 02:48 go.mod 02:48:48 -rw-r--r-- 1 jenkins jenkins 14016 Jan 22 02:48 go.sum 02:48:48 drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 02:45 internal 02:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:45 openapi 02:48:48 drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 02:45 pkg 02:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:45 snap 02:48:48 -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:48:49 + 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=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 --label arch=arm64 --label version=0.0.0 . 02:48:50 Sending build context to Docker daemon 2.749MB 02:48:50 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:48:50 Step 2/24 : FROM ${BASE} AS builder 02:48:50 ---> 0277bcf0b943 02:48:50 Step 3/24 : ARG MAKE='make build' 02:48:50 ---> Running in a9d72abe8563 02:48:50 Removing intermediate container a9d72abe8563 02:48:50 ---> 0f0b292c5958 02:48:50 Step 4/24 : WORKDIR /device-sdk-go 02:48:50 ---> Running in 6e5bfb1ad7d5 02:48:51 Removing intermediate container 6e5bfb1ad7d5 02:48:51 ---> 120ca107862e 02:48:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:51 ---> Running in 3463d6c0fca0 02:48:51 Removing intermediate container 3463d6c0fca0 02:48:51 ---> 45173372108c 02:48:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:51 ---> Running in 15dd303c65bc 02:48:53 Removing intermediate container 15dd303c65bc 02:48:53 ---> 4a6b013396a5 02:48:53 Step 7/24 : RUN apk add --update --no-cache make git 02:48:53 ---> Running in f3ec60dee9e7 02:48:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:57 OK: 142 MiB in 39 packages 02:48:58 Removing intermediate container f3ec60dee9e7 02:48:58 ---> e6057c8a195e 02:48:58 Step 8/24 : COPY . . 02:48:59 ---> 9d22589ba4d1 02:48:59 Step 9/24 : RUN ${MAKE} 02:48:59 ---> Running in 03e9204c275a 02:49:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:49:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:27 Removing intermediate container 03e9204c275a 02:49:27 ---> 0d3e8fd58521 02:49:27 Step 10/24 : FROM scratch 02:49:27 ---> 02:49:27 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:27 ---> Running in cca0c93ce49a 02:49:28 Removing intermediate container cca0c93ce49a 02:49:28 ---> d4649d704bda 02:49:28 Step 12/24 : ENV APP_PORT=49990 02:49:28 ---> Running in e1ed79c3405c 02:49:28 Removing intermediate container e1ed79c3405c 02:49:28 ---> 3e9071396261 02:49:28 Step 13/24 : EXPOSE $APP_PORT 02:49:29 ---> Running in da127300b296 02:49:29 Removing intermediate container da127300b296 02:49:29 ---> e3777f766f17 02:49:29 Step 14/24 : WORKDIR / 02:49:29 ---> Running in 892eb5887c98 02:49:30 Removing intermediate container 892eb5887c98 02:49:30 ---> 66908559bdeb 02:49:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:31 ---> c00958cd7ebb 02:49:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:31 ---> 7e44c73106b4 02:49:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:32 ---> 4cbd274797d7 02:49:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:33 ---> 3ad2ec1f2c47 02:49:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:34 ---> 6bacec5dc864 02:49:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:34 ---> Running in 905bff06a1f9 02:49:34 Removing intermediate container 905bff06a1f9 02:49:34 ---> 6f518f20fc11 02:49:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:34 ---> Running in 3079824a6728 02:49:35 Removing intermediate container 3079824a6728 02:49:35 ---> 227a9af9bae1 02:49:35 Step 22/24 : LABEL arch=arm64 02:49:35 ---> Running in 17d04ce2e8ec 02:49:35 Removing intermediate container 17d04ce2e8ec 02:49:35 ---> b77fd45da710 02:49:35 Step 23/24 : LABEL git_sha=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 02:49:35 ---> Running in cc6c8ce87fe4 02:49:36 Removing intermediate container cc6c8ce87fe4 02:49:36 ---> 561875bb7461 02:49:36 Step 24/24 : LABEL version=0.0.0 02:49:36 ---> Running in 199c7dab7888 02:49:36 Removing intermediate container 199c7dab7888 02:49:36 ---> 00c39ae7d812 02:49:36 [Warning] One or more build-args [ARCH] were not consumed 02:49:37 Successfully built 00c39ae7d812 02:49:37 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:49:38 provisioning config files... 02:49:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config6432065284452168411tmp [Pipeline] { [Pipeline] sh 02:49:39 + set +x 02:49:39 + curl -s https://codecov.io/bash 02:49:39 + bash -s -- 02:49:39 02:49:39 _____ _ 02:49:39 / ____| | | 02:49:39 | | ___ __| | ___ ___ _____ __ 02:49:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:49:39 | |___| (_) | (_| | __/ (_| (_) \ V / 02:49:39 \_____\___/ \__,_|\___|\___\___/ \_/ 02:49:39 Bash-20210115-cec3c92 02:49:39 02:49:39 02:49:39 ==> git version 2.24.3 found 02:49:39 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:49:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:49:39 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:49:39 ==> Jenkins CI detected. 02:49:39 project root: . 02:49:39 --> token set from env 02:49:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:49:39 ==> Running gcov in . (disable via -X gcov) 02:49:39 ==> Python coveragepy not found 02:49:39 ==> Searching for coverage reports in: 02:49:39 + . 02:49:39 -> Found 1 reports 02:49:39 ==> Detecting git/mercurial file structure 02:49:39 ==> Reading reports 02:49:39 + ./coverage.out bytes=136842 02:49:39 ==> Appending adjustments 02:49:39 https://docs.codecov.io/docs/fixing-reports 02:49:40 + Found adjustments 02:49:40 ==> Gzipping contents 02:49:40 24K /tmp/codecov.ftRH4p.gz 02:49:40 ==> Uploading reports 02:49:40 url: https://codecov.io 02:49:40 query: branch=PR-750&commit=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= 02:49:40 -> Pinging Codecov 02:49:40 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-750&commit=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= 02:49:40 -> Uploading to 02:49:40 https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/176fab57e46ee1ebb2114e19314a7d2fd0f63ae5/2c03118c-5313-4e65-af6a-50b563e47d81.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T024940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6651ff75926a42d0d4242824f515a9ff9e705d7a8385d9e6047d2a045b03e7c6 02:49:40 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:40 Dload Upload Total Spent Left Speed 02:49:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21552 0 0 100 21552 0 44642 --:--:-- --:--:-- --:--:-- 44621 100 21552 0 0 100 21552 0 44626 --:--:-- --:--:-- --:--:-- 44621 02:49:40 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 [Pipeline] } 02:49:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:49:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:49:43 ---> package-listing.sh 02:49:43 ++ facter osfamily 02:49:43 ++ tr '[:upper:]' '[:lower:]' 02:49:43 + OS_FAMILY=redhat 02:49:43 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-750 02:49:43 + START_PACKAGES=/tmp/packages_start.txt 02:49:43 + END_PACKAGES=/tmp/packages_end.txt 02:49:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:49:43 + PACKAGES=/tmp/packages_start.txt 02:49:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' 02:49:43 + PACKAGES=/tmp/packages_end.txt 02:49:43 + case "${OS_FAMILY}" in 02:49:43 + rpm -qa 02:49:43 + sort 02:49:50 + '[' -f /tmp/packages_start.txt ']' 02:49:50 + '[' -f /tmp/packages_end.txt ']' 02:49:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:49:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' 02:49:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ 02:49:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [Pipeline] echo 02:49:50 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-750/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:49:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:49:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:50 02:49:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:49:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:51 alpine: Pulling from edgex-lftools-log-publisher 02:49:51 df20fa9351a1: Pulling fs layer 02:49:51 36b3adc4ff6f: Pulling fs layer 02:49:51 8ad3a11d3b57: Pulling fs layer 02:49:51 46f8f816bc3b: Pulling fs layer 02:49:51 93b61091891f: Pulling fs layer 02:49:51 93b9cdb0e59b: Pulling fs layer 02:49:51 5e14af77c1be: Pulling fs layer 02:49:51 01666e4c0597: Pulling fs layer 02:49:51 aa168da1d23b: Pulling fs layer 02:49:51 93b9cdb0e59b: Waiting 02:49:51 5e14af77c1be: Waiting 02:49:51 01666e4c0597: Waiting 02:49:51 46f8f816bc3b: Waiting 02:49:51 93b61091891f: Waiting 02:49:51 36b3adc4ff6f: Download complete 02:49:51 46f8f816bc3b: Verifying Checksum 02:49:51 46f8f816bc3b: Download complete 02:49:51 df20fa9351a1: Verifying Checksum 02:49:51 df20fa9351a1: Download complete 02:49:51 93b9cdb0e59b: Verifying Checksum 02:49:51 93b9cdb0e59b: Download complete 02:49:51 5e14af77c1be: Verifying Checksum 02:49:51 5e14af77c1be: Download complete 02:49:51 01666e4c0597: Verifying Checksum 02:49:51 01666e4c0597: Download complete 02:49:51 93b61091891f: Download complete 02:49:52 df20fa9351a1: Pull complete 02:49:52 8ad3a11d3b57: Verifying Checksum 02:49:52 8ad3a11d3b57: Download complete 02:49:52 36b3adc4ff6f: Pull complete 02:49:52 8ad3a11d3b57: Pull complete 02:49:52 46f8f816bc3b: Pull complete 02:49:53 aa168da1d23b: Verifying Checksum 02:49:53 aa168da1d23b: Download complete 02:49:53 93b61091891f: Pull complete 02:49:54 93b9cdb0e59b: Pull complete 02:49:54 5e14af77c1be: Pull complete 02:49:54 01666e4c0597: Pull complete 02:50:02 aa168da1d23b: Pull complete 02:50:02 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:02 prd-centos7-docker-4c-2g-22171 does not seem to be running inside a container 02:50:02 $ 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-750/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-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:05 $ docker top 60764e2b7f59355680b97c237afc516e22fb0acd6792b4db56ade83134d486c6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:05 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:06 + mkdir -p /var/log/sa [Pipeline] sh 02:50:06 + ls /var/log/sa-host 02:50:06 + sadf -c /var/log/sa-host/sa22 02:50:06 file_magic: OK 02:50:06 HZ: Using current value: 100 02:50:06 file_header: OK 02:50:06 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:50:06 Statistics: 02:50:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:06 File successfully converted to sysstat format version 12.2.1 02:50:06 + sadf -c /var/log/sa-host/sa23 02:50:06 file_magic: OK 02:50:06 HZ: Using current value: 100 02:50:06 file_header: OK 02:50:06 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:50:06 Statistics: 02:50:06 Hnuu...uuuununununu... 02:50:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:06 provisioning config files... 02:50:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config8383292946975932914tmp [Pipeline] { [Pipeline] echo 02:50:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:07 ---> create-netrc.sh [Pipeline] } 02:50:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:07 ---> python-tools-install.sh [Pipeline] echo 02:50:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:07 ---> sudo-logs.sh 02:50:07 Archiving 'sudo' log.. [Pipeline] echo 02:50:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:08 ---> job-cost.sh 02:50:08 lf-activate-venv: SKIPPING 02:50:08 INFO: No Stack... 02:50:09 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:09 INFO: Archiving Costs [Pipeline] echo 02:50:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:09 ---> logs-deploy.sh 02:50:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-750/3 02:50:09 INFO: archiving workspace using pattern(s): 02:50:11 Archives upload complete. 02:50:11 INFO: archiving logs to Nexus