Pull request #844 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f+119be5743e00329d34d55769b1b512288156e580 (3aec2242bc340e9ab3f7c7c3b66e7c88cb1cb30c) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32868 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [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-844 # 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 119be5743e00329d34d55769b1b512288156e580 into PR head commit e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f Merge succeeded, producing e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f Checking out Revision e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f (PR-844) > 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/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # 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 119be5743e00329d34d55769b1b512288156e580 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 Commit message: "feat: add capability to load devices from directory" First time build. Skipping changelog. > git rev-list --no-walk 0260a98f875fcc2c542507b1dff7dcd3fafcd118 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:26:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:26:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:26:25 ========================================================= 02:26:25 EdgeX Global Pipelines Version Info 02:26:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:26:27 ------------------- 02:26:27 stable info: 02:26:27 ------------------- 02:26:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:26:27 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 02:26:27 Message: update stable to v1.0.186 02:26:28 ------------------- 02:26:28 experimental info: 02:26:28 ------------------- 02:26:28 Commited By: **** collab-it+edgex@linuxfoundation.org 02:26:28 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 02:26:28 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:26:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:26:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:26:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:26:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:26:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:26:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:26:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:26:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:26:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:26:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:26:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:26:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:26:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:26:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:26:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:26:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:26:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:26:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:26:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:26:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:26:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:26:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:26:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:26:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:26:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo 02:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo 02:26:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo 02:26:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [Pipeline] echo 02:26:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2dd6f7 [Pipeline] echo 02:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:26:32 provisioning config files... 02:26:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config3921196391017920770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:26:33 ---> docker-login.sh 02:26:33 nexus3.edgexfoundry.org:10001 02:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:33 Configure a credential helper to remove this warning. See 02:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:33 02:26:33 Login Succeeded 02:26:33 nexus3.edgexfoundry.org:10002 02:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:33 Configure a credential helper to remove this warning. See 02:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:33 02:26:33 Login Succeeded 02:26:33 nexus3.edgexfoundry.org:10003 02:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:33 Configure a credential helper to remove this warning. See 02:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:33 02:26:33 Login Succeeded 02:26:33 nexus3.edgexfoundry.org:10004 02:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:34 Configure a credential helper to remove this warning. See 02:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:34 02:26:34 Login Succeeded 02:26:34 docker.io 02:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:34 Configure a credential helper to remove this warning. See 02:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:34 02:26:34 Login Succeeded 02:26:34 ---> docker-login.sh ends [Pipeline] } 02:26:34 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:26:35 + git log --format=format:%s -1 e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [Pipeline] echo 02:26:35 GIT_COMMIT: e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f, Commit Message: feat: add capability to load devices from directory [Pipeline] echo 02:26:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:26:36 02:26:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:26:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:26:36 latest: Pulling from edgex-devops/git-semver 02:26:36 31603596830f: Pulling fs layer 02:26:36 2a8b12db71e7: Pulling fs layer 02:26:36 6ca5941a6612: Pulling fs layer 02:26:36 ecc8261a40a4: Pulling fs layer 02:26:36 ecc8261a40a4: Waiting 02:26:36 2a8b12db71e7: Verifying Checksum 02:26:36 2a8b12db71e7: Download complete 02:26:37 31603596830f: Verifying Checksum 02:26:37 31603596830f: Download complete 02:26:37 ecc8261a40a4: Verifying Checksum 02:26:37 ecc8261a40a4: Download complete 02:26:37 6ca5941a6612: Verifying Checksum 02:26:37 6ca5941a6612: Download complete 02:26:37 31603596830f: Pull complete 02:26:37 2a8b12db71e7: Pull complete 02:26:38 6ca5941a6612: Pull complete 02:26:38 ecc8261a40a4: Pull complete 02:26:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:26:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:26:38 prd-centos7-docker-4c-2g-32868 does not seem to be running inside a container 02:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:26:41 $ docker top 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:26:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:26:41 [ssh-agent] Looking for ssh-agent implementation... 02:26:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:26:41 $ docker exec 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 ssh-agent 02:26:41 SSH_AUTH_SOCK=/tmp/ssh-qnZQJJqgwtcs/agent.11 02:26:41 SSH_AGENT_PID=17 02:26:41 Running ssh-add (command line suppressed) 02:26:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3225219879523796545.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3225219879523796545.key) 02:26:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:26:42 + git tag --points-at HEAD [Pipeline] } 02:26:42 $ docker exec --env ******** --env ******** 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 ssh-agent -k 02:26:42 unset SSH_AUTH_SOCK; 02:26:42 unset SSH_AGENT_PID; 02:26:42 echo Agent pid 17 killed; 02:26:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:26:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:26:42 [ssh-agent] Looking for ssh-agent implementation... 02:26:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:26:42 $ docker exec 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 ssh-agent 02:26:42 SSH_AUTH_SOCK=/tmp/ssh-D4PET11t3Kbe/agent.47 02:26:42 SSH_AGENT_PID=52 02:26:43 Running ssh-add (command line suppressed) 02:26:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3069682532891854467.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3069682532891854467.key) 02:26:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:26:43 + git semver init 02:26:43 # -> Open(): unable to determine branch for HEAD 02:26:43 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git 02:26:43 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 02:26:43 # $SEMVER_REMOTE_NAME = origin 02:26:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:26:43 # $SEMVER_USER_NAME = edgex-jenkins 02:26:43 # $SEMVER_BRANCH = PR-844 02:26:43 # $SEMVER_TEMP = /tmp/semver-635562974 02:26:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:26:44 # '/tmp/semver-635562974' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' 02:26:44 # -> Force: false 02:26:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } 02:26:44 $ docker exec --env ******** --env ******** 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 ssh-agent -k 02:26:44 unset SSH_AUTH_SOCK; 02:26:44 unset SSH_AGENT_PID; 02:26:44 echo Agent pid 52 killed; 02:26:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:26:45 + git semver [Pipeline] } 02:26:45 $ docker stop --time=1 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 02:26:46 $ docker rm -f 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 [Pipeline] // withDockerContainer [Pipeline] sh 02:26:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:26:47 Stashed 1 file(s) [Pipeline] echo 02:26:47 [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:27:03 Still waiting to schedule task 02:27:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:27:03 Still waiting to schedule task 02:27:03 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-32867’ 02:29:40 Running on prd-centos7-docker-4c-2g-32869 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws 02:29:40 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 02:29:44 using credential edgex-jenkins-ssh 02:29:44 Cloning the remote Git repository 02:29:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:29:44 > git init /w/workspace/device-sdk-go/10 # timeout=10 02:29:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:29:44 > git --version # timeout=10 02:29:44 > git --version # 'git version 2.24.3' 02:29:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:29:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:29:46 Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f 02:29:46 Merge succeeded, producing e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f 02:29:46 Checking out Revision e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f (PR-844) 02:29:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:29:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:29:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:29:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:29:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:29:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:29:46 > git config core.sparsecheckout # timeout=10 02:29:46 > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 02:29:46 > git remote # timeout=10 02:29:46 > git config --get remote.origin.url # timeout=10 02:29:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:29:46 > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 02:29:46 > git rev-parse HEAD^{commit} # timeout=10 02:29:46 > git config core.sparsecheckout # timeout=10 02:29:46 > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 02:29:50 Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:29:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:29:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:29:52 + sudo service docker restart 02:29:52 + true 02:29:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:29:54 provisioning config files... 02:29:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config5136477202612236379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:29:54 ---> docker-login.sh 02:29:54 nexus3.edgexfoundry.org:10001 02:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:54 Configure a credential helper to remove this warning. See 02:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:54 02:29:54 Login Succeeded 02:29:54 nexus3.edgexfoundry.org:10002 02:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:55 Configure a credential helper to remove this warning. See 02:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:55 02:29:55 Login Succeeded 02:29:55 nexus3.edgexfoundry.org:10003 02:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:55 Configure a credential helper to remove this warning. See 02:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:55 02:29:55 Login Succeeded 02:29:55 nexus3.edgexfoundry.org:10004 02:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:55 Configure a credential helper to remove this warning. See 02:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:55 02:29:55 Login Succeeded 02:29:55 docker.io 02:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:55 Configure a credential helper to remove this warning. See 02:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:55 02:29:55 Login Succeeded 02:29:55 ---> docker-login.sh ends [Pipeline] } 02:29:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:29:56 ========================================================= 02:29:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:29:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:29:56 + 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:29:56 Sending build context to Docker daemon 2.391MB 02:29:56 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:29:56 Step 2/8 : FROM ${BASE} 02:29:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:29:57 188c0c94c7c5: Pulling fs layer 02:29:57 0ef7d3d256c8: Pulling fs layer 02:29:57 de9db76c5a1d: Pulling fs layer 02:29:57 bca2f99d35d6: Pulling fs layer 02:29:57 93359f2a8cfa: Pulling fs layer 02:29:57 7c6f9722023f: Pulling fs layer 02:29:57 a35cf1a2eb13: Pulling fs layer 02:29:57 93359f2a8cfa: Waiting 02:29:57 7c6f9722023f: Waiting 02:29:57 a35cf1a2eb13: Waiting 02:29:57 bca2f99d35d6: Waiting 02:29:57 de9db76c5a1d: Verifying Checksum 02:29:57 de9db76c5a1d: Download complete 02:29:57 0ef7d3d256c8: Verifying Checksum 02:29:57 0ef7d3d256c8: Download complete 02:29:57 93359f2a8cfa: Verifying Checksum 02:29:57 93359f2a8cfa: Download complete 02:29:57 7c6f9722023f: Verifying Checksum 02:29:57 7c6f9722023f: Download complete 02:29:57 188c0c94c7c5: Verifying Checksum 02:29:57 188c0c94c7c5: Download complete 02:29:57 188c0c94c7c5: Pull complete 02:29:58 0ef7d3d256c8: Pull complete 02:29:58 de9db76c5a1d: Pull complete 02:30:00 a35cf1a2eb13: Verifying Checksum 02:30:00 a35cf1a2eb13: Download complete 02:30:01 bca2f99d35d6: Verifying Checksum 02:30:01 bca2f99d35d6: Download complete 02:30:06 bca2f99d35d6: Pull complete 02:30:06 93359f2a8cfa: Pull complete 02:30:06 7c6f9722023f: Pull complete 02:30:15 a35cf1a2eb13: Pull complete 02:30:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:30:15 ---> a62c8e92a672 02:30:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:30:15 ---> Running in 7401bd641d21 02:30:15 Removing intermediate container 7401bd641d21 02:30:15 ---> 78eb4fd6a5c7 02:30:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:30:15 ---> Running in 78c52168734d 02:30:15 Removing intermediate container 78c52168734d 02:30:15 ---> 2abc2b982a86 02:30:15 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 02:30:15 ---> Running in 369d0e36bc5a 02:30:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:30:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:30:18 (1/6) Installing libc-dev (0.7.2-r3) 02:30:18 (2/6) Installing libsodium (1.0.18-r0) 02:30:18 (3/6) Installing pkgconf (1.7.2-r0) 02:30:18 (4/6) Installing libsodium-dev (1.0.18-r0) 02:30:18 (5/6) Installing libzmq (4.3.3-r0) 02:30:18 (6/6) Installing zeromq-dev (4.3.3-r0) 02:30:18 Executing busybox-1.31.1-r19.trigger 02:30:18 OK: 167 MiB in 45 packages 02:30:19 Removing intermediate container 369d0e36bc5a 02:30:19 ---> 87658494b4ca 02:30:19 Step 6/8 : WORKDIR /device-sdk-go 02:30:19 ---> Running in 71854e3c3b4a 02:30:19 Removing intermediate container 71854e3c3b4a 02:30:19 ---> dc00f24a94aa 02:30:19 Step 7/8 : COPY . . 02:30:21 ---> 5a04d6aa30b1 02:30:21 Step 8/8 : RUN go mod download 02:30:21 ---> Running in bc6029ba48b5 02:30:47 Removing intermediate container bc6029ba48b5 02:30:47 ---> 3f8a1e645dbe 02:30:47 Successfully built 3f8a1e645dbe 02:30:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:30:48 + docker inspect -f . ci-base-image-x86_64 02:30:48 . [Pipeline] withDockerContainer 02:30:48 prd-centos7-docker-4c-2g-32869 does not seem to be running inside a container 02:30:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:30:50 $ docker top b58edbd3bc06944cb25f504280b458d3c0d09c8c1a63d593069d98cde8ebb15e -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:50 + go version 02:30:50 go version go1.15.5 linux/amd64 [Pipeline] } 02:30:50 $ docker stop --time=1 b58edbd3bc06944cb25f504280b458d3c0d09c8c1a63d593069d98cde8ebb15e 02:30:52 $ docker rm -f b58edbd3bc06944cb25f504280b458d3c0d09c8c1a63d593069d98cde8ebb15e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:30:53 + docker inspect -f . ci-base-image-x86_64 02:30:53 . [Pipeline] withDockerContainer 02:30:53 prd-centos7-docker-4c-2g-32869 does not seem to be running inside a container 02:30:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:30:54 $ docker top 501296f9b23c4e040a536f2b1877b467b6a9c294bd7c937eb02fedf35b48ca9d -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:55 + make test 02:30:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:30:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32870 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws 02:30:56 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 02:31:02 using credential edgex-jenkins-ssh 02:31:02 Cloning the remote Git repository 02:31:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:31:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:31:02 > git init /w/workspace/device-sdk-go/10 # timeout=10 02:31:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:31:02 > git --version # timeout=10 02:31:02 > git --version # 'git version 2.17.1' 02:31:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:31:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:31:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:31:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:31:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:31:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:31:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:31:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:31:05 Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f 02:31:05 Merge succeeded, producing e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f 02:31:05 Checking out Revision e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f (PR-844) 02:31:05 > git config core.sparsecheckout # timeout=10 02:31:05 > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 02:31:05 > git remote # timeout=10 02:31:05 > git config --get remote.origin.url # timeout=10 02:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:31:05 > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 02:31:05 > git rev-parse HEAD^{commit} # timeout=10 02:31:05 > git config core.sparsecheckout # timeout=10 02:31:05 > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 02:31:10 Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:31:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:31:12 + sudo service docker+ restart 02:31:12 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:31:15 provisioning config files... 02:31:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config4389350302573144582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:16 ---> docker-login.sh 02:31:16 nexus3.edgexfoundry.org:10001 02:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:17 Configure a credential helper to remove this warning. See 02:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:17 02:31:17 Login Succeeded 02:31:17 nexus3.edgexfoundry.org:10002 02:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:17 Configure a credential helper to remove this warning. See 02:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:17 02:31:17 Login Succeeded 02:31:17 nexus3.edgexfoundry.org:10003 02:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:18 Configure a credential helper to remove this warning. See 02:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:18 02:31:18 Login Succeeded 02:31:18 nexus3.edgexfoundry.org:10004 02:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:18 Configure a credential helper to remove this warning. See 02:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:18 02:31:18 Login Succeeded 02:31:18 docker.io 02:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:19 Configure a credential helper to remove this warning. See 02:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:19 02:31:19 Login Succeeded 02:31:19 ---> docker-login.sh ends [Pipeline] } 02:31:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:20 ========================================================= 02:31:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:31:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:31:20 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:31:21 Sending build context to Docker daemon 2.393MB 02:31:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:31:21 Step 2/8 : FROM ${BASE} 02:31:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:31:21 5f621e34cdf4: Pulling fs layer 02:31:21 a4357932f1b6: Pulling fs layer 02:31:21 18c013af1878: Pulling fs layer 02:31:21 00ac8860ef70: Pulling fs layer 02:31:21 63d7cb157983: Pulling fs layer 02:31:21 b116817d02f9: Pulling fs layer 02:31:21 745a02a5169b: Pulling fs layer 02:31:21 63d7cb157983: Waiting 02:31:21 00ac8860ef70: Waiting 02:31:21 b116817d02f9: Waiting 02:31:21 745a02a5169b: Waiting 02:31:21 18c013af1878: Verifying Checksum 02:31:21 18c013af1878: Download complete 02:31:21 a4357932f1b6: Verifying Checksum 02:31:21 a4357932f1b6: Download complete 02:31:21 63d7cb157983: Verifying Checksum 02:31:21 63d7cb157983: Download complete 02:31:21 b116817d02f9: Verifying Checksum 02:31:21 5f621e34cdf4: Verifying Checksum 02:31:21 5f621e34cdf4: Download complete 02:31:22 5f621e34cdf4: Pull complete 02:31:23 a4357932f1b6: Pull complete 02:31:23 18c013af1878: Pull complete 02:31:24 745a02a5169b: Download complete 02:31:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:31:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:31:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:31:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 02:31:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:31:26 00ac8860ef70: Verifying Checksum 02:31:26 00ac8860ef70: Download complete 02:31:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 28.1% of statements 02:31:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.089s coverage: 81.2% of statements 02:31:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.109s coverage: 7.8% of statements 02:31:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:31:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:31:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:31:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.092s coverage: 32.5% of statements 02:31:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:31:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:31:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:31:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.3% of statements 02:31:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.233s coverage: 6.6% of statements 02:31:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements 02:31:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:31:28 GO111MODULE=on go vet ./... 02:31:36 00ac8860ef70: Pull complete 02:31:36 63d7cb157983: Pull complete 02:31:37 b116817d02f9: Pull complete 02:31:40 745a02a5169b: Pull complete 02:31:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:31:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:31:40 ---> b7e6874047d6 02:31:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:31:44 ---> Running in b7a7d2aaff03 02:31:44 Removing intermediate container b7a7d2aaff03 02:31:44 ---> 64c76206c611 02:31:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:31:44 ---> Running in 0896b3ec6270 02:31:47 Removing intermediate container 0896b3ec6270 02:31:47 ---> 4520fffbeefb 02:31:47 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 02:31:47 ---> Running in 5db941380925 02:31:47 gofmt -l . 02:31:47 [ "`gofmt -l .`" = "" ] 02:31:47 ./bin/test-attribution-txt.sh 02:31:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:31:47 $ docker stop --time=1 501296f9b23c4e040a536f2b1877b467b6a9c294bd7c937eb02fedf35b48ca9d 02:31:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:31:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:31:49 $ docker rm -f 501296f9b23c4e040a536f2b1877b467b6a9c294bd7c937eb02fedf35b48ca9d 02:31:49 (1/6) Installing libc-dev (0.7.2-r3) 02:31:49 (2/6) Installing libsodium (1.0.18-r0) 02:31:49 (3/6) Installing pkgconf (1.7.2-r0) [Pipeline] // withDockerContainer [Pipeline] sh 02:31:50 (4/6) Installing libsodium-dev (1.0.18-r0) 02:31:50 (5/6) Installing libzmq (4.3.3-r0) 02:31:50 (6/6) Installing zeromq-dev (4.3.3-r0) 02:31:50 Executing busybox-1.31.1-r19.trigger 02:31:50 OK: 144 MiB in 45 packages 02:31:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:31:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 02:31:51 Removing intermediate container 5db941380925 02:31:51 ---> 7e9d8e46eda2 02:31:51 Step 6/8 : WORKDIR /device-sdk-go [Pipeline] stage [Pipeline] { (Build) 02:31:51 ---> Running in 4fb1b37766b7 02:31:52 Removing intermediate container 4fb1b37766b7 02:31:52 ---> deb55f913d36 02:31:52 Step 7/8 : COPY . . 02:31:53 ---> f85ed30e23dd 02:31:53 Step 8/8 : RUN go mod download [Pipeline] sh 02:31:53 ---> Running in 1be7ca35210d 02:31:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:54 + ls -al . 02:31:54 total 188 02:31:54 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 02:31 . 02:31:54 drwxrwxr-x. 4 jenkins jenkins 30 Apr 6 02:29 .. 02:31:54 drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 02:29 bin 02:31:54 -rw-r--r--. 1 jenkins jenkins 101239 Apr 6 02:31 coverage.out 02:31:54 -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 02:29 Dockerfile.build 02:31:54 -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 02:29 .dockerignore 02:31:54 drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 02:29 example 02:31:54 drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 02:29 .git 02:31:54 drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 02:29 .github 02:31:54 -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 02:29 .gitignore 02:31:54 -rw-r--r--. 1 jenkins jenkins 572 Apr 6 02:31 go.mod 02:31:54 -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 02:31 go.sum 02:31:54 drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 02:29 internal 02:31:54 -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 02:29 Jenkinsfile 02:31:54 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 02:29 LICENSE 02:31:54 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 02:29 Makefile 02:31:54 drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 02:29 openapi 02:31:54 drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 02:29 pkg 02:31:54 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 02:29 README.md 02:31:54 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 02:29 RELEASE-NOTES.txt 02:31:54 drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 02:29 snap 02:31:54 -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 02:26 VERSION 02:31:54 -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 02:29 version.go [Pipeline] isUnix [Pipeline] sh 02:31:55 + 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=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f --label arch=amd64 --label version=0.0.0 . 02:31:55 Sending build context to Docker daemon 2.493MB 02:31:55 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 02:31:55 Step 2/23 : FROM ${BASE} AS builder 02:31:55 ---> 3f8a1e645dbe 02:31:55 Step 3/23 : WORKDIR /device-sdk-go 02:31:55 ---> Running in 79b2014c1b87 02:31:55 Removing intermediate container 79b2014c1b87 02:31:55 ---> 721334f88648 02:31:55 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:31:56 ---> Running in 5c41e5fc8722 02:31:56 Removing intermediate container 5c41e5fc8722 02:31:56 ---> 388b6e47cf7d 02:31:56 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:31:56 ---> Running in aeb8cee5f957 02:31:57 Removing intermediate container aeb8cee5f957 02:31:57 ---> 98105d041994 02:31:57 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:31:57 ---> Running in 9960a70e27d6 02:31:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:31:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:31:59 OK: 167 MiB in 45 packages 02:31:59 Removing intermediate container 9960a70e27d6 02:31:59 ---> 24f163df1756 02:31:59 Step 7/23 : COPY . . 02:32:00 ---> c6acb7663438 02:32:00 Step 8/23 : RUN go mod download 02:32:00 ---> Running in 85630af6f489 02:32:01 Removing intermediate container 85630af6f489 02:32:01 ---> 4e8c1691feaf 02:32:01 Step 9/23 : RUN make build 02:32:01 ---> Running in 26cb4fedfac1 02:32:02 CGO_ENABLED=1 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:32:15 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:32:15 Removing intermediate container 26cb4fedfac1 02:32:15 ---> c21c4aefeddd 02:32:15 Step 10/23 : FROM alpine:3.12 02:32:16 3.12: Pulling from library/alpine 02:32:16 532819f3e44c: Pulling fs layer 02:32:16 532819f3e44c: Verifying Checksum 02:32:16 532819f3e44c: Download complete 02:32:16 532819f3e44c: Pull complete 02:32:16 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 02:32:16 Status: Downloaded newer image for alpine:3.12 02:32:16 ---> 7230e588e954 02:32:16 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:32:17 ---> Running in 28a396642f51 02:32:17 Removing intermediate container 28a396642f51 02:32:17 ---> 2d0bc491097a 02:32:17 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:32:17 ---> Running in 891bfff7618c 02:32:18 Removing intermediate container 891bfff7618c 02:32:18 ---> 06417e71c712 02:32:18 Step 13/23 : RUN apk add --update --no-cache zeromq 02:32:18 ---> Running in 75745a743bc8 02:32:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:32:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:32:19 (1/5) Installing libgcc (9.3.0-r2) 02:32:20 (2/5) Installing libsodium (1.0.18-r0) 02:32:20 (3/5) Installing libstdc++ (9.3.0-r2) 02:32:20 (4/5) Installing libzmq (4.3.3-r0) 02:32:20 (5/5) Installing zeromq (4.3.3-r0) 02:32:20 Executing busybox-1.31.1-r20.trigger 02:32:20 OK: 8 MiB in 19 packages 02:32:21 Removing intermediate container 75745a743bc8 02:32:21 ---> fbaf10a2ca20 02:32:21 Step 14/23 : WORKDIR / 02:32:21 ---> Running in ae9615d9fe0b 02:32:21 Removing intermediate container ae9615d9fe0b 02:32:21 ---> 2e8caa4410da 02:32:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:32:21 Removing intermediate container 1be7ca35210d 02:32:21 ---> a0c5b92bc4bc 02:32:21 Successfully built a0c5b92bc4bc 02:32:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:32:21 ---> b79aaf3421c9 02:32:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:32:21 + docker inspect -f . ci-base-image-arm64 02:32:21 . [Pipeline] withDockerContainer 02:32:21 prd-ubuntu18.04-docker-arm64-4c-16g-32870 does not seem to be running inside a container 02:32:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:32:22 ---> 8095ae8114b5 02:32:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:32:22 ---> 184936f3fed1 02:32:22 Step 18/23 : EXPOSE 49990 02:32:22 ---> Running in abdc66325daa 02:32:22 Removing intermediate container abdc66325daa 02:32:22 ---> aa1bab6bafd3 02:32:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:32:22 ---> Running in d17695ae1c1e 02:32:22 Removing intermediate container d17695ae1c1e 02:32:22 ---> 1e29a3430297 02:32:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:32:22 ---> Running in d0dbfc3899f9 02:32:23 Removing intermediate container d0dbfc3899f9 02:32:23 ---> 21737c2d1b99 02:32:23 Step 21/23 : LABEL arch=amd64 02:32:23 ---> Running in af38abfe6c5a 02:32:23 Removing intermediate container af38abfe6c5a 02:32:23 ---> aafa373cb313 02:32:23 Step 22/23 : LABEL git_sha=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f 02:32:23 ---> Running in a8efc3cabc0d 02:32:23 $ docker top 741b8fe8e463aaf84ff5988757decad896369478bab9fece1c0b37a7aa32f408 -eo pid,comm 02:32:23 Removing intermediate container a8efc3cabc0d 02:32:23 ---> 29c8da56d801 02:32:23 Step 23/23 : LABEL version=0.0.0 02:32:23 ---> Running in 81d58b1b96f3 [Pipeline] { [Pipeline] sh 02:32:24 Removing intermediate container 81d58b1b96f3 02:32:24 ---> 1fbb59ca33bc 02:32:24 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:32:24 Successfully built 1fbb59ca33bc 02:32:24 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] } 02:32:24 + go version 02:32:24 go version go1.15.5 linux/arm64 [Pipeline] // stage Post stage [Pipeline] } 02:32:24 $ docker stop --time=1 741b8fe8e463aaf84ff5988757decad896369478bab9fece1c0b37a7aa32f408 02:32:26 $ docker rm -f 741b8fe8e463aaf84ff5988757decad896369478bab9fece1c0b37a7aa32f408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 02:32:27 ---> job-cost.sh 02:32:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2FPD [Pipeline] isUnix [Pipeline] sh 02:32:28 + docker inspect -f . ci-base-image-arm64 02:32:28 . [Pipeline] withDockerContainer 02:32:28 prd-ubuntu18.04-docker-arm64-4c-16g-32870 does not seem to be running inside a container 02:32:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:32:29 $ docker top 8b0560ac896f973728e7b5c21b76e2adbf1e63c98ed4be31249337bc965aa7c4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:30 + make test 02:32:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:32:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:32:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:33:12 lf-activate-venv(): INFO: Adding /tmp/venv-2FPD/bin to PATH 02:33:12 INFO: No Stack... 02:33:12 INFO: Retrieving Pricing Info for: v1-standard-2 02:33:12 INFO: Archiving Costs [Pipeline] sh 02:33:12 + cat /w/workspace/device-sdk-go/10/archives/cost.csv 02:33:12 + cut -d, -f6 [Pipeline] lock 02:33:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] 02:33:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] did not exist. Created. 02:33:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:33:13 + echo total: 0.029999999329447746 [Pipeline] stash 02:33:13 Stashed 1 file(s) [Pipeline] } 02:33:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:33:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:33:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:33:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:33:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 02:33:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:33:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 28.1% of statements 02:33:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.190s coverage: 81.2% of statements 02:33:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.186s coverage: 7.8% of statements 02:33:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:33:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:33:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:33:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.297s coverage: 32.5% of statements 02:33:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:33:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:33:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:33:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.283s coverage: 57.3% of statements 02:33:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.097s coverage: 6.6% of statements 02:33:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 5.0% of statements 02:33:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:33:58 GO111MODULE=on go vet ./... 02:34:45 gofmt -l . 02:34:45 [ "`gofmt -l .`" = "" ] 02:34:45 ./bin/test-attribution-txt.sh 02:34:45 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:34:46 $ docker stop --time=1 8b0560ac896f973728e7b5c21b76e2adbf1e63c98ed4be31249337bc965aa7c4 02:34:48 $ docker rm -f 8b0560ac896f973728e7b5c21b76e2adbf1e63c98ed4be31249337bc965aa7c4 [Pipeline] // withDockerContainer [Pipeline] sh 02:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:34:49 Warning: overwriting stash ‘coverage-report’ 02:34:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:34:51 + ls -al . 02:34:51 total 224 02:34:51 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 02:34 . 02:34:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:31 .. 02:34:51 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 02:31 .dockerignore 02:34:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 02:31 .git 02:34:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:31 .github 02:34:51 -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 02:31 .gitignore 02:34:51 -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 02:31 Dockerfile.build 02:34:51 -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 02:31 Jenkinsfile 02:34:51 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 02:31 LICENSE 02:34:51 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 02:31 Makefile 02:34:51 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 02:31 README.md 02:34:51 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 02:31 RELEASE-NOTES.txt 02:34:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 02:26 VERSION 02:34:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:31 bin 02:34:51 -rw-r--r-- 1 jenkins jenkins 101240 Apr 6 02:33 coverage.out 02:34:51 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 02:31 example 02:34:51 -rw-r--r-- 1 jenkins jenkins 572 Apr 6 02:34 go.mod 02:34:51 -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 02:34 go.sum 02:34:51 drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 02:31 internal 02:34:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:31 openapi 02:34:51 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 02:31 pkg 02:34:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:31 snap 02:34:51 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 02:31 version.go [Pipeline] isUnix [Pipeline] sh 02:34:52 + 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=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f --label arch=arm64 --label version=0.0.0 . 02:34:52 Sending build context to Docker daemon 2.495MB 02:34:52 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 02:34:52 Step 2/23 : FROM ${BASE} AS builder 02:34:52 ---> a0c5b92bc4bc 02:34:52 Step 3/23 : WORKDIR /device-sdk-go 02:34:52 ---> Running in 42b9a9035da1 02:34:53 Removing intermediate container 42b9a9035da1 02:34:53 ---> df39b126e8a0 02:34:53 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:34:53 ---> Running in a3aa7e4c6d60 02:34:53 Removing intermediate container a3aa7e4c6d60 02:34:53 ---> 2c62a27809bd 02:34:53 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:34:53 ---> Running in e966cc79f526 02:34:55 Removing intermediate container e966cc79f526 02:34:55 ---> 2ced822a775f 02:34:55 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:34:56 ---> Running in 564dd85458f0 02:34:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:34:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:34:58 OK: 144 MiB in 45 packages 02:34:59 Removing intermediate container 564dd85458f0 02:34:59 ---> 98b36dd3a264 02:34:59 Step 7/23 : COPY . . 02:35:00 ---> a1045d39ae7b 02:35:00 Step 8/23 : RUN go mod download 02:35:01 ---> Running in e8c29835ad36 02:35:03 Removing intermediate container e8c29835ad36 02:35:03 ---> a61351088637 02:35:03 Step 9/23 : RUN make build 02:35:03 ---> Running in 0af06bfd8db0 02:35:04 CGO_ENABLED=1 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:35:37 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:35:39 Removing intermediate container 0af06bfd8db0 02:35:39 ---> e925cbe26e6b 02:35:39 Step 10/23 : FROM alpine:3.12 02:35:39 3.12: Pulling from library/alpine 02:35:41 9a219e8acc52: Pulling fs layer 02:35:41 9a219e8acc52: Verifying Checksum 02:35:41 9a219e8acc52: Download complete 02:35:42 9a219e8acc52: Pull complete 02:35:42 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 02:35:42 Status: Downloaded newer image for alpine:3.12 02:35:42 ---> d75e27dfc0a0 02:35:42 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:35:42 ---> Running in cb39d76729ba 02:35:43 Removing intermediate container cb39d76729ba 02:35:43 ---> 1bf1ca3774b3 02:35:43 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:35:43 ---> Running in aeb8ea1e4f45 02:35:45 Removing intermediate container aeb8ea1e4f45 02:35:45 ---> 959f4d0fc972 02:35:45 Step 13/23 : RUN apk add --update --no-cache zeromq 02:35:45 ---> Running in f6e509e9acf9 02:35:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:35:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:35:47 (1/5) Installing libgcc (9.3.0-r2) 02:35:48 (2/5) Installing libsodium (1.0.18-r0) 02:35:48 (3/5) Installing libstdc++ (9.3.0-r2) 02:35:48 (4/5) Installing libzmq (4.3.3-r0) 02:35:48 (5/5) Installing zeromq (4.3.3-r0) 02:35:48 Executing busybox-1.31.1-r20.trigger 02:35:48 OK: 8 MiB in 19 packages 02:35:49 Removing intermediate container f6e509e9acf9 02:35:49 ---> 334861472c36 02:35:49 Step 14/23 : WORKDIR / 02:35:49 ---> Running in c5fd81d12482 02:35:50 Removing intermediate container c5fd81d12482 02:35:50 ---> f1851f72d79b 02:35:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:35:51 ---> 8853faca0ed4 02:35:51 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:35:52 ---> e543dbea0a11 02:35:52 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:35:53 ---> 648ee18160d9 02:35:53 Step 18/23 : EXPOSE 49990 02:35:53 ---> Running in 6489b37ec5f8 02:35:53 Removing intermediate container 6489b37ec5f8 02:35:53 ---> 088302aa141f 02:35:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:35:54 ---> Running in 11fc364cc340 02:35:54 Removing intermediate container 11fc364cc340 02:35:54 ---> 7631bd87a417 02:35:54 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:35:54 ---> Running in 37fbb00e537e 02:35:55 Removing intermediate container 37fbb00e537e 02:35:55 ---> aa75803c35d1 02:35:55 Step 21/23 : LABEL arch=arm64 02:35:55 ---> Running in 918c287c5803 02:35:55 Removing intermediate container 918c287c5803 02:35:55 ---> f3741ff6c201 02:35:55 Step 22/23 : LABEL git_sha=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f 02:35:55 ---> Running in 554b42add761 02:35:56 Removing intermediate container 554b42add761 02:35:56 ---> 61795f2b009e 02:35:56 Step 23/23 : LABEL version=0.0.0 02:35:56 ---> Running in 2fba86c7dbe5 02:35:57 Removing intermediate container 2fba86c7dbe5 02:35:57 ---> 834d123726ff 02:35:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:35:57 Successfully built 834d123726ff 02:35:57 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 Post stage [Pipeline] libraryResource [Pipeline] sh 02:35:57 ---> job-cost.sh 02:35:57 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Pp0j 02:36:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:38:13 lf-activate-venv(): INFO: Adding /tmp/venv-Pp0j/bin to PATH 02:38:13 INFO: No Stack... 02:38:13 INFO: Retrieving Pricing Info for: lf-standard-4 02:38:13 INFO: Archiving Costs [Pipeline] sh 02:38:13 + cut -d, -f6 02:38:13 + cat /w/workspace/device-sdk-go/10/archives/cost.csv [Pipeline] lock 02:38:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] 02:38:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] did not exist. Created. 02:38:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:38:14 /w/workspace/device-sdk-go/10@tmp/durable-fe706417/script.sh: 1: /w/workspace/device-sdk-go/10@tmp/durable-fe706417/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:38:14 + echo total: 0.20999999344348907 [Pipeline] stash 02:38:15 Warning: overwriting stash ‘stack-cost’ 02:38:15 Stashed 1 file(s) [Pipeline] } 02:38:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [Pipeline] // lock [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:38:16 provisioning config files... 02:38:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config8426254366401538697tmp [Pipeline] { [Pipeline] sh 02:38:17 + set +x 02:38:17 + curl -s https://codecov.io/bash 02:38:17 + bash -s -- 02:38:17 02:38:17 _____ _ 02:38:17 / ____| | | 02:38:17 | | ___ __| | ___ ___ _____ __ 02:38:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:38:17 | |___| (_) | (_| | __/ (_| (_) \ V / 02:38:17 \_____\___/ \__,_|\___|\___\___/ \_/ 02:38:17 Bash-20210309-2b87ace 02:38:17 02:38:17 02:38:17 ==> git version 2.24.3 found 02:38:17 ==> 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:38:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:38:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:38:17 ==> Jenkins CI detected. 02:38:17 project root: . 02:38:17 --> token set from env 02:38:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:38:17 ==> Running gcov in . (disable via -X gcov) 02:38:17 ==> Python coveragepy not found 02:38:17 ==> Searching for coverage reports in: 02:38:17 + . 02:38:17 -> Found 1 reports 02:38:17 ==> Detecting git/mercurial file structure 02:38:17 ==> Reading reports 02:38:17 + ./coverage.out bytes=101240 02:38:17 ==> Appending adjustments 02:38:17 https://docs.codecov.io/docs/fixing-reports 02:38:17 + Found adjustments 02:38:17 ==> Gzipping contents 02:38:17 16K /tmp/codecov.IEyy9Q.gz 02:38:17 ==> Uploading reports 02:38:17 url: https://codecov.io 02:38:17 query: branch=PR-844&commit=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= 02:38:17 -> Pinging Codecov 02:38:17 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-844&commit=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= 02:38:18 -> Uploading to 02:38:18 https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f/f8c23a66-f7d3-4f80-8f85-0f90685988ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T023818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e84e385d5d57929670f6030d5c533cb2cdbe3384880b0badf01f614ec70f2145 02:38:18 % Total % Received % Xferd Average Speed Time Time Time Current 02:38:18 Dload Upload Total Spent Left Speed 02:38:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13721 0 0 100 13721 0 28723 --:--:-- --:--:-- --:--:-- 28705 100 13721 0 0 100 13721 0 28713 --:--:-- --:--:-- --:--:-- 28705 02:38:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [Pipeline] } 02:38:18 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] { (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:38:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:38:21 ---> package-listing.sh 02:38:21 ++ facter osfamily 02:38:21 ++ tr '[:upper:]' '[:lower:]' 02:38:21 + OS_FAMILY=redhat 02:38:21 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 02:38:21 + START_PACKAGES=/tmp/packages_start.txt 02:38:21 + END_PACKAGES=/tmp/packages_end.txt 02:38:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:38:21 + PACKAGES=/tmp/packages_start.txt 02:38:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' 02:38:21 + PACKAGES=/tmp/packages_end.txt 02:38:21 + case "${OS_FAMILY}" in 02:38:21 + rpm -qa 02:38:21 + sort 02:38:27 + '[' -f /tmp/packages_start.txt ']' 02:38:27 + '[' -f /tmp/packages_end.txt ']' 02:38:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:38:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' 02:38:27 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ 02:38:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo 02:38:27 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-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:38:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:38:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:38:27 02:38:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:38:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:38:27 alpine: Pulling from edgex-lftools-log-publisher 02:38:27 df20fa9351a1: Pulling fs layer 02:38:27 36b3adc4ff6f: Pulling fs layer 02:38:27 8ad3a11d3b57: Pulling fs layer 02:38:27 46f8f816bc3b: Pulling fs layer 02:38:27 93b61091891f: Pulling fs layer 02:38:27 93b9cdb0e59b: Pulling fs layer 02:38:27 5e14af77c1be: Pulling fs layer 02:38:27 01666e4c0597: Pulling fs layer 02:38:27 aa168da1d23b: Pulling fs layer 02:38:27 93b61091891f: Waiting 02:38:27 93b9cdb0e59b: Waiting 02:38:27 5e14af77c1be: Waiting 02:38:27 01666e4c0597: Waiting 02:38:27 aa168da1d23b: Waiting 02:38:27 46f8f816bc3b: Waiting 02:38:27 36b3adc4ff6f: Verifying Checksum 02:38:27 36b3adc4ff6f: Download complete 02:38:27 46f8f816bc3b: Verifying Checksum 02:38:27 46f8f816bc3b: Download complete 02:38:28 df20fa9351a1: Verifying Checksum 02:38:28 df20fa9351a1: Download complete 02:38:28 93b9cdb0e59b: Verifying Checksum 02:38:28 93b9cdb0e59b: Download complete 02:38:28 5e14af77c1be: Verifying Checksum 02:38:28 5e14af77c1be: Download complete 02:38:28 93b61091891f: Verifying Checksum 02:38:28 93b61091891f: Download complete 02:38:28 01666e4c0597: Verifying Checksum 02:38:28 01666e4c0597: Download complete 02:38:28 8ad3a11d3b57: Verifying Checksum 02:38:28 8ad3a11d3b57: Download complete 02:38:28 df20fa9351a1: Pull complete 02:38:28 36b3adc4ff6f: Pull complete 02:38:29 8ad3a11d3b57: Pull complete 02:38:29 46f8f816bc3b: Pull complete 02:38:29 93b61091891f: Pull complete 02:38:30 93b9cdb0e59b: Pull complete 02:38:30 aa168da1d23b: Verifying Checksum 02:38:30 aa168da1d23b: Download complete 02:38:30 5e14af77c1be: Pull complete 02:38:31 01666e4c0597: Pull complete 02:38:37 aa168da1d23b: Pull complete 02:38:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:38:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:38:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:38:37 prd-centos7-docker-4c-2g-32868 does not seem to be running inside a container 02:38:37 $ 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-844/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-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:38:41 $ docker top 7bd1334210572ff35303026f0764c9f444d44241dfb2e723b9096b9daea46430 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:41 + touch /tmp/pre-build-complete [Pipeline] sh 02:38:42 + mkdir -p /var/log/sa [Pipeline] sh 02:38:42 + ls /var/log/sa-host 02:38:42 + sadf -c /var/log/sa-host/sa06 02:38:42 file_magic: OK 02:38:42 HZ: Using current value: 100 02:38:42 file_header: OK 02:38:42 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:38:42 Statistics: 02:38:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:38:42 File successfully converted to sysstat format version 12.2.1 02:38:42 + sadf -c /var/log/sa-host/sa23 02:38:42 file_magic: OK 02:38:42 HZ: Using current value: 100 02:38:42 file_header: OK 02:38:42 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:38:42 Statistics: 02:38:42 Hnuu...uuuununununu... 02:38:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:38:43 provisioning config files... 02:38:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config3090879093818824020tmp [Pipeline] { [Pipeline] echo 02:38:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:38:43 ---> create-netrc.sh [Pipeline] } 02:38:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:38:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:38:43 ---> python-tools-install.sh [Pipeline] echo 02:38:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:38:44 ---> sudo-logs.sh 02:38:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:38:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:38:44 ---> job-cost.sh 02:38:44 lf-activate-venv: SKIPPING 02:38:44 DEBUG: total: 0.20999999344348907 02:38:44 INFO: Retrieving Stack Cost... 02:38:45 INFO: Retrieving Pricing Info for: v1-standard-2 02:38:46 INFO: Archiving Costs [Pipeline] echo 02:38:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:38:46 ---> logs-deploy.sh 02:38:46 lf-activate-venv: SKIPPING 02:38:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/10 02:38:46 INFO: archiving workspace using pattern(s): 02:38:48 Archives upload complete. 02:38:48 INFO: archiving logs to Nexus