Pull request #816 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 3f52f3a581500e7b2ce611731b922cb421169e9f rather than fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 Obtained Jenkinsfile from 3f52f3a581500e7b2ce611731b922cb421169e9f 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29795 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [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-816 # 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 3f52f3a581500e7b2ce611731b922cb421169e9f into PR head commit fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 Merge succeeded, producing fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 Checking out Revision fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 (PR-816) > 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/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # 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 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 Commit message: "refactor: Update example device config and api doc" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:27:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:27:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:27:27 ========================================================= 07:27:27 EdgeX Global Pipelines Version Info 07:27:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:27:28 ------------------- 07:27:28 stable info: 07:27:28 ------------------- 07:27:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:27:28 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:27:28 Message: update stable to v1.0.184 07:27:29 ------------------- 07:27:29 experimental info: 07:27:29 ------------------- 07:27:29 Commited By: **** collab-it+edgex@linuxfoundation.org 07:27:29 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:27:29 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:27:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:27:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:27:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:27:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:27:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:27:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:27:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:27:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:27:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:27:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:27:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:27:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:27:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-816 [Pipeline] echo 07:27:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-816 [Pipeline] echo 07:27:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-816 [Pipeline] echo 07:27:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [Pipeline] echo 07:27:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc0c5ee [Pipeline] echo 07:27:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:27:33 provisioning config files... 07:27:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config3749178114997311653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:34 ---> docker-login.sh 07:27:34 nexus3.edgexfoundry.org:10001 07:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:34 Configure a credential helper to remove this warning. See 07:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:34 07:27:34 Login Succeeded 07:27:34 nexus3.edgexfoundry.org:10002 07:27:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:35 Configure a credential helper to remove this warning. See 07:27:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:35 07:27:35 Login Succeeded 07:27:35 nexus3.edgexfoundry.org:10003 07:27:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:35 Configure a credential helper to remove this warning. See 07:27:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:35 07:27:35 Login Succeeded 07:27:35 nexus3.edgexfoundry.org:10004 07:27:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:35 Configure a credential helper to remove this warning. See 07:27:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:35 07:27:35 Login Succeeded 07:27:35 docker.io 07:27:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:35 Configure a credential helper to remove this warning. See 07:27:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:35 07:27:35 Login Succeeded 07:27:35 ---> docker-login.sh ends [Pipeline] } 07:27:36 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 07:27:36 + git log --format=format:%s -1 fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [Pipeline] echo 07:27:36 GIT_COMMIT: fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4, Commit Message: refactor: Update example device config and api doc [Pipeline] echo 07:27:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:27:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:27:37 07:27:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:27:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:27:38 latest: Pulling from edgex-devops/git-semver 07:27:38 31603596830f: Pulling fs layer 07:27:38 2a8b12db71e7: Pulling fs layer 07:27:38 6ca5941a6612: Pulling fs layer 07:27:38 ecc8261a40a4: Pulling fs layer 07:27:38 ecc8261a40a4: Waiting 07:27:38 2a8b12db71e7: Download complete 07:27:38 31603596830f: Download complete 07:27:38 6ca5941a6612: Verifying Checksum 07:27:38 6ca5941a6612: Download complete 07:27:38 ecc8261a40a4: Verifying Checksum 07:27:38 ecc8261a40a4: Download complete 07:27:38 31603596830f: Pull complete 07:27:39 2a8b12db71e7: Pull complete 07:27:40 6ca5941a6612: Pull complete 07:27:40 ecc8261a40a4: Pull complete 07:27:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:27:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:27:40 prd-centos7-docker-4c-2g-29795 does not seem to be running inside a container 07:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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 07:27:42 $ docker top b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:27:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:42 [ssh-agent] Looking for ssh-agent implementation... 07:27:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:42 $ docker exec b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 ssh-agent 07:27:42 SSH_AUTH_SOCK=/tmp/ssh-KHhbQBSco2Wz/agent.12 07:27:42 SSH_AGENT_PID=17 07:27:42 Running ssh-add (command line suppressed) 07:27:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_2944235066651291252.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_2944235066651291252.key) 07:27:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:43 + git tag --points-at HEAD [Pipeline] } 07:27:43 $ docker exec --env ******** --env ******** b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 ssh-agent -k 07:27:43 unset SSH_AUTH_SOCK; 07:27:43 unset SSH_AGENT_PID; 07:27:43 echo Agent pid 17 killed; 07:27:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:27:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:43 [ssh-agent] Looking for ssh-agent implementation... 07:27:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:44 $ docker exec b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 ssh-agent 07:27:44 SSH_AUTH_SOCK=/tmp/ssh-w5l7i7dT65fU/agent.48 07:27:44 SSH_AGENT_PID=54 07:27:44 Running ssh-add (command line suppressed) 07:27:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_5017870584288715769.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_5017870584288715769.key) 07:27:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:44 + git semver init 07:27:44 # -> Open(): unable to determine branch for HEAD 07:27:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.git 07:27:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-816 07:27:44 # $SEMVER_REMOTE_NAME = origin 07:27:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:27:44 # $SEMVER_USER_NAME = edgex-jenkins 07:27:44 # $SEMVER_BRANCH = PR-816 07:27:44 # $SEMVER_TEMP = /tmp/semver-957110257 07:27:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:27:45 # '/tmp/semver-957110257' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver' 07:27:45 # -> Force: false 07:27:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver [Pipeline] } 07:27:45 $ docker exec --env ******** --env ******** b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 ssh-agent -k 07:27:45 unset SSH_AUTH_SOCK; 07:27:45 unset SSH_AGENT_PID; 07:27:45 echo Agent pid 54 killed; 07:27:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:46 + git semver [Pipeline] } 07:27:46 $ docker stop --time=1 b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 07:27:47 $ docker rm -f b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 [Pipeline] // withDockerContainer [Pipeline] sh 07:27:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:27:48 Stashed 1 file(s) [Pipeline] echo 07:27:49 [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 07:28:04 Still waiting to schedule task 07:28:04 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29795’ 07:28:04 Still waiting to schedule task 07:28:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:29:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29796 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws 07:29:55 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 07:30:00 using credential edgex-jenkins-ssh 07:30:00 Cloning the remote Git repository 07:30:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:30:01 > git init /w/workspace/device-sdk-go/6 # timeout=10 07:30:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:30:01 > git --version # timeout=10 07:30:01 > git --version # 'git version 2.17.1' 07:30:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:30:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:30:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:30:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:30:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:30:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:30:05 Merging remotes/origin/master commit 3f52f3a581500e7b2ce611731b922cb421169e9f into PR head commit fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 07:30:05 Merge succeeded, producing fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 07:30:05 Checking out Revision fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 (PR-816) 07:30:05 > git config core.sparsecheckout # timeout=10 07:30:05 > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 07:30:05 > git remote # timeout=10 07:30:05 > git config --get remote.origin.url # timeout=10 07:30:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:05 > git merge 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 07:30:05 > git rev-parse HEAD^{commit} # timeout=10 07:30:05 > git config core.sparsecheckout # timeout=10 07:30:05 > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 07:30:10 Commit message: "refactor: Update example device config and api doc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:30:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:30:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:30:12 + sudo service docker restart 07:30:12 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:30:15 provisioning config files... 07:30:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config9206707819177437841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:30:15 ---> docker-login.sh 07:30:15 nexus3.edgexfoundry.org:10001 07:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:16 Configure a credential helper to remove this warning. See 07:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:16 07:30:16 Login Succeeded 07:30:16 nexus3.edgexfoundry.org:10002 07:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:17 Configure a credential helper to remove this warning. See 07:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:17 07:30:17 Login Succeeded 07:30:17 nexus3.edgexfoundry.org:10003 07:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:17 Configure a credential helper to remove this warning. See 07:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:17 07:30:17 Login Succeeded 07:30:17 nexus3.edgexfoundry.org:10004 07:30:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:18 Configure a credential helper to remove this warning. See 07:30:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:18 07:30:18 Login Succeeded 07:30:18 docker.io 07:30:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:19 Configure a credential helper to remove this warning. See 07:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:19 07:30:19 Login Succeeded 07:30:19 ---> docker-login.sh ends [Pipeline] } 07:30:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:30:19 ========================================================= 07:30:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:30:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:30: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 . 07:30:20 Sending build context to Docker daemon 2.327MB 07:30:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:30:20 Step 2/8 : FROM ${BASE} 07:30:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:30:20 5f621e34cdf4: Pulling fs layer 07:30:20 a4357932f1b6: Pulling fs layer 07:30:20 18c013af1878: Pulling fs layer 07:30:20 00ac8860ef70: Pulling fs layer 07:30:20 63d7cb157983: Pulling fs layer 07:30:20 b116817d02f9: Pulling fs layer 07:30:20 745a02a5169b: Pulling fs layer 07:30:20 00ac8860ef70: Waiting 07:30:20 63d7cb157983: Waiting 07:30:20 b116817d02f9: Waiting 07:30:20 745a02a5169b: Waiting 07:30:20 18c013af1878: Verifying Checksum 07:30:20 18c013af1878: Download complete 07:30:20 a4357932f1b6: Verifying Checksum 07:30:20 a4357932f1b6: Download complete 07:30:20 63d7cb157983: Verifying Checksum 07:30:20 63d7cb157983: Download complete 07:30:20 b116817d02f9: Verifying Checksum 07:30:20 b116817d02f9: Download complete 07:30:20 5f621e34cdf4: Verifying Checksum 07:30:20 5f621e34cdf4: Download complete 07:30:21 5f621e34cdf4: Pull complete 07:30:22 a4357932f1b6: Pull complete 07:30:22 18c013af1878: Pull complete 07:30:23 745a02a5169b: Verifying Checksum 07:30:23 745a02a5169b: Download complete 07:30:24 00ac8860ef70: Verifying Checksum 07:30:24 00ac8860ef70: Download complete 07:30:34 Running on prd-centos7-docker-4c-2g-29797 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws 07:30:34 Running in /w/workspace/device-sdk-go/6 [Pipeline] { 07:30:34 00ac8860ef70: Pull complete 07:30:34 63d7cb157983: Pull complete [Pipeline] checkout 07:30:34 b116817d02f9: Pull complete 07:30:36 using credential edgex-jenkins-ssh 07:30:36 Cloning the remote Git repository 07:30:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:30:36 > git init /w/workspace/device-sdk-go/6 # timeout=10 07:30:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:30:36 > git --version # timeout=10 07:30:36 > git --version # 'git version 2.24.3' 07:30:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:30:38 Merging remotes/origin/master commit 3f52f3a581500e7b2ce611731b922cb421169e9f into PR head commit fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 07:30:38 Merge succeeded, producing fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 07:30:38 Checking out Revision fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 (PR-816) 07:30:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:30:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:30:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:30:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:30:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:30:38 > git config core.sparsecheckout # timeout=10 07:30:38 > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 07:30:38 > git remote # timeout=10 07:30:38 > git config --get remote.origin.url # timeout=10 07:30:38 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:38 > git merge 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 07:30:38 > git rev-parse HEAD^{commit} # timeout=10 07:30:38 > git config core.sparsecheckout # timeout=10 07:30:38 > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 07:30:38 745a02a5169b: Pull complete 07:30:38 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:30:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:30:38 ---> b7e6874047d6 07:30:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:30:41 ---> Running in 18594c0d5060 07:30:41 Removing intermediate container 18594c0d5060 07:30:41 ---> 1bb4e380504b 07:30:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:30:41 ---> Running in 672ba36788eb 07:30:41 Commit message: "refactor: Update example device config and api doc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:30:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:30:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:30:43 + sudo service docker restart 07:30:43 + true 07:30:43 Redirecting to /bin/systemctl restart docker.service 07:30:44 Removing intermediate container 672ba36788eb 07:30:44 ---> 4e7e73a502f4 07:30:44 Step 5/8 : RUN apk add --update --no-cache make git 07:30:44 ---> Running in 2d304f5537d7 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:30:45 provisioning config files... 07:30:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config6795022815452255824tmp [Pipeline] { 07:30:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh 07:30:45 ---> docker-login.sh 07:30:45 nexus3.edgexfoundry.org:10001 07:30:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:45 Configure a credential helper to remove this warning. See 07:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:45 07:30:45 Login Succeeded 07:30:45 nexus3.edgexfoundry.org:10002 07:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:46 Configure a credential helper to remove this warning. See 07:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:46 07:30:46 Login Succeeded 07:30:46 nexus3.edgexfoundry.org:10003 07:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:46 Configure a credential helper to remove this warning. See 07:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:46 07:30:46 Login Succeeded 07:30:46 nexus3.edgexfoundry.org:10004 07:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:46 OK: 142 MiB in 39 packages 07:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:46 Configure a credential helper to remove this warning. See 07:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:46 07:30:46 Login Succeeded 07:30:46 docker.io 07:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:46 Configure a credential helper to remove this warning. See 07:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:46 07:30:46 Login Succeeded 07:30:46 ---> docker-login.sh ends [Pipeline] } 07:30:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:30:47 ========================================================= 07:30:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:30:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:30:47 Removing intermediate container 2d304f5537d7 07:30:47 ---> fae7f5d0c817 07:30:47 Step 6/8 : WORKDIR /device-sdk-go 07:30:47 + 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 . 07:30:47 ---> Running in 9eb1bb382602 07:30:47 Sending build context to Docker daemon 2.32MB 07:30:47 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:30:47 Step 2/8 : FROM ${BASE} 07:30:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:30:47 188c0c94c7c5: Pulling fs layer 07:30:47 0ef7d3d256c8: Pulling fs layer 07:30:47 de9db76c5a1d: Pulling fs layer 07:30:47 bca2f99d35d6: Pulling fs layer 07:30:47 93359f2a8cfa: Pulling fs layer 07:30:47 7c6f9722023f: Pulling fs layer 07:30:47 a35cf1a2eb13: Pulling fs layer 07:30:47 93359f2a8cfa: Waiting 07:30:47 7c6f9722023f: Waiting 07:30:47 a35cf1a2eb13: Waiting 07:30:47 bca2f99d35d6: Waiting 07:30:47 de9db76c5a1d: Verifying Checksum 07:30:47 de9db76c5a1d: Download complete 07:30:47 0ef7d3d256c8: Download complete 07:30:47 93359f2a8cfa: Verifying Checksum 07:30:47 93359f2a8cfa: Download complete 07:30:47 7c6f9722023f: Verifying Checksum 07:30:47 7c6f9722023f: Download complete 07:30:47 188c0c94c7c5: Verifying Checksum 07:30:47 188c0c94c7c5: Download complete 07:30:48 188c0c94c7c5: Pull complete 07:30:48 Removing intermediate container 9eb1bb382602 07:30:48 ---> ba4786c150e2 07:30:48 Step 7/8 : COPY . . 07:30:48 0ef7d3d256c8: Pull complete 07:30:48 de9db76c5a1d: Pull complete 07:30:49 ---> 331dcd3ec485 07:30:49 Step 8/8 : RUN go mod download 07:30:49 ---> Running in e99e4b519f54 07:30:49 a35cf1a2eb13: Verifying Checksum 07:30:49 a35cf1a2eb13: Download complete 07:30:50 bca2f99d35d6: Verifying Checksum 07:30:50 bca2f99d35d6: Download complete 07:30:56 bca2f99d35d6: Pull complete 07:30:56 93359f2a8cfa: Pull complete 07:30:56 7c6f9722023f: Pull complete 07:31:00 a35cf1a2eb13: Pull complete 07:31:00 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:31:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:31:00 ---> a62c8e92a672 07:31:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:31:00 ---> Running in 88c7d31909c2 07:31:00 Removing intermediate container 88c7d31909c2 07:31:00 ---> 79204024a820 07:31:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:31:00 ---> Running in 4fb08944bb23 07:31:01 Removing intermediate container 4fb08944bb23 07:31:01 ---> ad85634d4424 07:31:01 Step 5/8 : RUN apk add --update --no-cache make git 07:31:01 ---> Running in c4c3b24b16a9 07:31:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:31:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:31:03 OK: 166 MiB in 39 packages 07:31:03 Removing intermediate container c4c3b24b16a9 07:31:03 ---> d6ee107976fe 07:31:03 Step 6/8 : WORKDIR /device-sdk-go 07:31:03 ---> Running in 93d69969a27d 07:31:03 Removing intermediate container 93d69969a27d 07:31:03 ---> c8f9b98abb4d 07:31:03 Step 7/8 : COPY . . 07:31:05 ---> 2d0184b35592 07:31:05 Step 8/8 : RUN go mod download 07:31:05 ---> Running in 19aca9dd2f2d 07:31:16 Removing intermediate container e99e4b519f54 07:31:16 ---> d33a3e2811a9 07:31:16 Successfully built d33a3e2811a9 07:31:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:31:16 + docker inspect -f . ci-base-image-arm64 07:31:16 . [Pipeline] withDockerContainer 07:31:17 prd-ubuntu18.04-docker-arm64-4c-16g-29796 does not seem to be running inside a container 07:31:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:31:18 $ docker top d7b4b9240a81d7c2bf1af4afd6c02ecc10e0d97b7f404370f4cc3fe80f552df9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:19 + go version 07:31:19 go version go1.15.5 linux/arm64 [Pipeline] } 07:31:19 $ docker stop --time=1 d7b4b9240a81d7c2bf1af4afd6c02ecc10e0d97b7f404370f4cc3fe80f552df9 07:31:21 $ docker rm -f d7b4b9240a81d7c2bf1af4afd6c02ecc10e0d97b7f404370f4cc3fe80f552df9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:31:22 + docker inspect -f . ci-base-image-arm64 07:31:22 . [Pipeline] withDockerContainer 07:31:22 prd-ubuntu18.04-docker-arm64-4c-16g-29796 does not seem to be running inside a container 07:31:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:31:23 Removing intermediate container 19aca9dd2f2d 07:31:23 ---> c44b9eee085e 07:31:23 Successfully built c44b9eee085e 07:31:23 Successfully tagged ci-base-image-x86_64:latest 07:31:24 $ docker top d7822025cf11e953d9b9b8f8340f6725c4244d90484f56f89a63213400e846af -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:31:24 + docker inspect -f . ci-base-image-x86_64 07:31:24 . [Pipeline] withDockerContainer 07:31:25 prd-centos7-docker-4c-2g-29797 does not seem to be running inside a container 07:31:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:31:25 + make test 07:31:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:31:26 $ docker top 4050eed9f18c4e435059359941c9e56af85608f3afaf2f48287224ffafa3caf3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:26 + go version 07:31:26 go version go1.15.5 linux/amd64 [Pipeline] } 07:31:26 $ docker stop --time=1 4050eed9f18c4e435059359941c9e56af85608f3afaf2f48287224ffafa3caf3 07:31:28 $ docker rm -f 4050eed9f18c4e435059359941c9e56af85608f3afaf2f48287224ffafa3caf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:31:29 + docker inspect -f . ci-base-image-x86_64 07:31:29 . [Pipeline] withDockerContainer 07:31:29 prd-centos7-docker-4c-2g-29797 does not seem to be running inside a container 07:31:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:31:29 $ docker top 17890a617b5f32c9d745b2eb5c460cd360501fd306caf541313929be7c58b24d -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:30 + make test 07:31:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:31:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:31:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:31:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:31:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:31:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:31:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 25.5% of statements 07:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.057s coverage: 10.5% of statements 07:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 12.5% of statements 07:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.065s coverage: 84.8% of statements 07:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 57.3% of statements 07:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.095s coverage: 81.2% of statements 07:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.087s coverage: 24.8% of statements 07:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.138s coverage: 6.4% of statements 07:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.2% of statements 07:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:32:27 GO111MODULE=on go vet ./... 07:32:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.166s coverage: 25.5% of statements 07:32:35 gofmt -l . 07:32:35 [ "`gofmt -l .`" = "" ] 07:32:35 ./bin/test-attribution-txt.sh 07:32:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:32:36 $ docker stop --time=1 17890a617b5f32c9d745b2eb5c460cd360501fd306caf541313929be7c58b24d 07:32:37 $ docker rm -f 17890a617b5f32c9d745b2eb5c460cd360501fd306caf541313929be7c58b24d [Pipeline] // withDockerContainer [Pipeline] sh 07:32:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:32:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:32:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:32:42 + ls -al . 07:32:42 total 188 07:32:42 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 15 07:32 . 07:32:42 drwxrwxr-x. 4 jenkins jenkins 28 Mar 15 07:30 .. 07:32:42 drwxrwxr-x. 2 jenkins jenkins 64 Mar 15 07:30 bin 07:32:42 -rw-r--r--. 1 jenkins jenkins 103403 Mar 15 07:32 coverage.out 07:32:42 -rw-rw-r--. 1 jenkins jenkins 949 Mar 15 07:30 Dockerfile.build 07:32:42 -rw-rw-r--. 1 jenkins jenkins 140 Mar 15 07:30 .dockerignore 07:32:42 drwxrwxr-x. 4 jenkins jenkins 48 Mar 15 07:30 example 07:32:42 drwxrwxr-x. 8 jenkins jenkins 179 Mar 15 07:30 .git 07:32:42 drwxrwxr-x. 2 jenkins jenkins 103 Mar 15 07:30 .github 07:32:42 -rw-rw-r--. 1 jenkins jenkins 138 Mar 15 07:30 .gitignore 07:32:42 -rw-r--r--. 1 jenkins jenkins 479 Mar 15 07:32 go.mod 07:32:42 -rw-r--r--. 1 jenkins jenkins 17490 Mar 15 07:32 go.sum 07:32:42 drwxrwxr-x. 12 jenkins jenkins 171 Mar 15 07:30 internal 07:32:42 -rw-rw-r--. 1 jenkins jenkins 901 Mar 15 07:30 Jenkinsfile 07:32:42 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 15 07:30 LICENSE 07:32:42 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 15 07:30 Makefile 07:32:42 drwxrwxr-x. 4 jenkins jenkins 26 Mar 15 07:30 openapi 07:32:42 drwxrwxr-x. 5 jenkins jenkins 50 Mar 15 07:30 pkg 07:32:42 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 15 07:30 README.md 07:32:42 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 15 07:30 RELEASE-NOTES.txt 07:32:42 drwxrwxr-x. 4 jenkins jenkins 54 Mar 15 07:30 snap 07:32:42 -rw-rw-r--. 1 jenkins jenkins 5 Mar 15 07:27 VERSION 07:32:42 -rw-rw-r--. 1 jenkins jenkins 222 Mar 15 07:30 version.go [Pipeline] isUnix [Pipeline] sh 07:32:42 + 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=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 --label arch=amd64 --label version=0.0.0 . 07:32:42 Sending build context to Docker daemon 2.424MB 07:32:42 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:32:42 Step 2/24 : FROM ${BASE} AS builder 07:32:42 ---> c44b9eee085e 07:32:42 Step 3/24 : ARG MAKE='make build' 07:32:43 ---> Running in 81885167534c 07:32:43 Removing intermediate container 81885167534c 07:32:43 ---> a391b496d306 07:32:43 Step 4/24 : WORKDIR /device-sdk-go 07:32:43 ---> Running in 4e41fc0aacd1 07:32:43 Removing intermediate container 4e41fc0aacd1 07:32:43 ---> 1f005191a59c 07:32:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:32:43 ---> Running in 37e6e1dea255 07:32:43 Removing intermediate container 37e6e1dea255 07:32:43 ---> f95d1f240fb6 07:32:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:32:44 ---> Running in e50cd6d86193 07:32:45 Removing intermediate container e50cd6d86193 07:32:45 ---> d7bd2a90c313 07:32:45 Step 7/24 : RUN apk add --update --no-cache make git 07:32:45 ---> Running in bf2b3317acf5 07:32:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:32:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:32:46 OK: 166 MiB in 39 packages 07:32:46 Removing intermediate container bf2b3317acf5 07:32:46 ---> 7fb44122d78d 07:32:46 Step 8/24 : COPY . . 07:32:47 ---> dfc5da7b420e 07:32:47 Step 9/24 : RUN ${MAKE} 07:32:47 ---> Running in d61f7edf9339 07:32:48 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 07:32:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:32:59 Removing intermediate container d61f7edf9339 07:32:59 ---> 842639951d3a 07:32:59 Step 10/24 : FROM scratch 07:32:59 ---> 07:32:59 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:32:59 ---> Running in 925b4de3ee6a 07:32:59 Removing intermediate container 925b4de3ee6a 07:32:59 ---> 077b8bb4df9b 07:32:59 Step 12/24 : ENV APP_PORT=49990 07:32:59 ---> Running in df7b2c8f37f3 07:32:59 Removing intermediate container df7b2c8f37f3 07:32:59 ---> 27e08489b454 07:32:59 Step 13/24 : EXPOSE $APP_PORT 07:32:59 ---> Running in 60bf86168d09 07:32:59 Removing intermediate container 60bf86168d09 07:32:59 ---> 3a02916b3636 07:32:59 Step 14/24 : WORKDIR / 07:33:00 ---> Running in 0ff958715bd3 07:33:00 Removing intermediate container 0ff958715bd3 07:33:00 ---> 00fc2998556a 07:33:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:33:00 ---> 113c214a7f8f 07:33:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:33:00 ---> 7979cf8fb3dd 07:33:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:33:01 ---> d0262ad21fbb 07:33:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:33:01 ---> bdd273cc7aa8 07:33:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:33:01 ---> 0148f69b0c83 07:33:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:33:01 ---> Running in e55c53a94a22 07:33:01 Removing intermediate container e55c53a94a22 07:33:01 ---> 85d0a5a2780b 07:33:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:33:01 ---> Running in a081a4e20c16 07:33:02 Removing intermediate container a081a4e20c16 07:33:02 ---> 2f348c249a5a 07:33:02 Step 22/24 : LABEL arch=amd64 07:33:02 ---> Running in f8e2279fa72f 07:33:02 Removing intermediate container f8e2279fa72f 07:33:02 ---> d5820d507e7d 07:33:02 Step 23/24 : LABEL git_sha=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 07:33:02 ---> Running in b55187e7bbf2 07:33:02 Removing intermediate container b55187e7bbf2 07:33:02 ---> dfd34973e222 07:33:02 Step 24/24 : LABEL version=0.0.0 07:33:02 ---> Running in 0d39d0f27147 07:33:02 Removing intermediate container 0d39d0f27147 07:33:02 ---> e43173e49861 07:33:02 [Warning] One or more build-args [ARCH] were not consumed 07:33:02 Successfully built e43173e49861 07:33:02 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 07:33:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.142s coverage: 10.5% of statements 07:33:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.113s coverage: 12.5% of statements 07:33:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:33:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.141s coverage: 84.8% of statements 07:33:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:33:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:33:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:33:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.261s coverage: 57.3% of statements 07:33:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:33:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.207s coverage: 81.2% of statements 07:33:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.170s coverage: 24.8% of statements 07:33:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.854s coverage: 6.4% of statements 07:33:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.2% of statements 07:33:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:33:03 GO111MODULE=on go vet ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 07:33:04 ---> job-cost.sh 07:33:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0xDD 07:33:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:33:35 gofmt -l . 07:33:35 [ "`gofmt -l .`" = "" ] 07:33:35 ./bin/test-attribution-txt.sh 07:33:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:33:35 $ docker stop --time=1 d7822025cf11e953d9b9b8f8340f6725c4244d90484f56f89a63213400e846af 07:33:37 $ docker rm -f d7822025cf11e953d9b9b8f8340f6725c4244d90484f56f89a63213400e846af [Pipeline] // withDockerContainer [Pipeline] sh 07:33:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:33:39 Warning: overwriting stash ‘coverage-report’ 07:33:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:33:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:33:41 + ls -al . 07:33:41 total 224 07:33:41 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 07:33 . 07:33:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:30 .. 07:33:41 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 07:30 .dockerignore 07:33:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 07:30 .git 07:33:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 07:30 .github 07:33:41 -rw-rw-r-- 1 jenkins jenkins 138 Mar 15 07:30 .gitignore 07:33:41 -rw-rw-r-- 1 jenkins jenkins 949 Mar 15 07:30 Dockerfile.build 07:33:41 -rw-rw-r-- 1 jenkins jenkins 901 Mar 15 07:30 Jenkinsfile 07:33:41 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 07:30 LICENSE 07:33:41 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 15 07:30 Makefile 07:33:41 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 15 07:30 README.md 07:33:41 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 15 07:30 RELEASE-NOTES.txt 07:33:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 07:27 VERSION 07:33:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 07:30 bin 07:33:41 -rw-r--r-- 1 jenkins jenkins 103403 Mar 15 07:32 coverage.out 07:33:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:30 example 07:33:41 -rw-r--r-- 1 jenkins jenkins 479 Mar 15 07:33 go.mod 07:33:41 -rw-r--r-- 1 jenkins jenkins 17490 Mar 15 07:33 go.sum 07:33:41 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 07:30 internal 07:33:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:30 openapi 07:33:41 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 07:30 pkg 07:33:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:30 snap 07:33:41 -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 07:30 version.go [Pipeline] isUnix [Pipeline] sh 07:33:41 + 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=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 --label arch=arm64 --label version=0.0.0 . 07:33:41 Sending build context to Docker daemon 2.43MB 07:33:42 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:33:42 Step 2/24 : FROM ${BASE} AS builder 07:33:42 ---> d33a3e2811a9 07:33:42 Step 3/24 : ARG MAKE='make build' 07:33:42 ---> Running in 602425d28c68 07:33:42 Removing intermediate container 602425d28c68 07:33:42 ---> bff924888d72 07:33:42 Step 4/24 : WORKDIR /device-sdk-go 07:33:42 ---> Running in e553ecb047d6 07:33:43 Removing intermediate container e553ecb047d6 07:33:43 ---> 0ea376d4b16c 07:33:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:33:43 ---> Running in be52eb5d1303 07:33:44 Removing intermediate container be52eb5d1303 07:33:44 ---> 5ff04ffa88e4 07:33:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:33:44 ---> Running in 4e6c9b948d4d 07:33:46 Removing intermediate container 4e6c9b948d4d 07:33:46 ---> 2455d16ae4f1 07:33:46 Step 7/24 : RUN apk add --update --no-cache make git 07:33:46 ---> Running in 97945eac4905 07:33:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:33:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:33:48 OK: 142 MiB in 39 packages 07:33:49 Removing intermediate container 97945eac4905 07:33:49 ---> bf4d218d81e3 07:33:49 Step 8/24 : COPY . . 07:33:51 lf-activate-venv(): INFO: Adding /tmp/venv-0xDD/bin to PATH 07:33:51 INFO: No Stack... 07:33:51 INFO: Retrieving Pricing Info for: v1-standard-2 07:33:51 INFO: Archiving Costs [Pipeline] sh 07:33:51 ---> 9cb064e085ba 07:33:51 Step 9/24 : RUN ${MAKE} 07:33:51 ---> Running in 6df4c28d827c 07:33:51 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 07:33:51 + cut -d, -f6 [Pipeline] lock 07:33:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] 07:33:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] did not exist. Created. 07:33:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:33:52 + echo total: 0.029999999329447746 [Pipeline] stash 07:33:52 Stashed 1 file(s) [Pipeline] } 07:33:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [Pipeline] // lock 07:33:52 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:34:19 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:34:20 Removing intermediate container 6df4c28d827c 07:34:20 ---> c9a7025e9f02 07:34:20 Step 10/24 : FROM scratch 07:34:20 ---> 07:34:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:34:20 ---> Running in 5cf83f37de48 07:34:20 Removing intermediate container 5cf83f37de48 07:34:20 ---> 47f22fddb8b0 07:34:20 Step 12/24 : ENV APP_PORT=49990 07:34:20 ---> Running in 4ff02e98e13a 07:34:20 Removing intermediate container 4ff02e98e13a 07:34:20 ---> 88e780388a96 07:34:20 Step 13/24 : EXPOSE $APP_PORT 07:34:21 ---> Running in 4d2d38a3e531 07:34:21 Removing intermediate container 4d2d38a3e531 07:34:21 ---> fdb29941f83d 07:34:21 Step 14/24 : WORKDIR / 07:34:21 ---> Running in 8d920dc21c1f 07:34:22 Removing intermediate container 8d920dc21c1f 07:34:22 ---> aed84972db99 07:34:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:34:23 ---> dcb68b225f5e 07:34:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:34:24 ---> 68dca2c8ee8d 07:34:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:34:24 ---> ec5dc4787c86 07:34:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:34:25 ---> b0f082955ec8 07:34:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:34:26 ---> b2e052ed6ee3 07:34:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:34:26 ---> Running in 1d15373a74f0 07:34:26 Removing intermediate container 1d15373a74f0 07:34:26 ---> 4ba874389919 07:34:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:34:26 ---> Running in 8dfa7ab8875e 07:34:27 Removing intermediate container 8dfa7ab8875e 07:34:27 ---> 978115bc0b2b 07:34:27 Step 22/24 : LABEL arch=arm64 07:34:27 ---> Running in 2b78da0f6646 07:34:27 Removing intermediate container 2b78da0f6646 07:34:27 ---> d4245a0784a4 07:34:27 Step 23/24 : LABEL git_sha=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 07:34:27 ---> Running in d310c2146bb5 07:34:28 Removing intermediate container d310c2146bb5 07:34:28 ---> 9a57406b3f40 07:34:28 Step 24/24 : LABEL version=0.0.0 07:34:28 ---> Running in 50a4ef7863a3 07:34:29 Removing intermediate container 50a4ef7863a3 07:34:29 ---> 05b5b2e35773 07:34:29 [Warning] One or more build-args [ARCH] were not consumed 07:34:29 Successfully built 05b5b2e35773 07:34:29 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 07:34:29 ---> job-cost.sh 07:34:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jjQm 07:35:08 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:36:45 lf-activate-venv(): INFO: Adding /tmp/venv-jjQm/bin to PATH 07:36:45 INFO: No Stack... 07:36:45 INFO: Retrieving Pricing Info for: lf-standard-4 07:36:45 INFO: Archiving Costs [Pipeline] sh 07:36:45 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 07:36:45 + cut -d, -f6 [Pipeline] lock 07:36:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] 07:36:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] did not exist. Created. 07:36:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:46 /w/workspace/device-sdk-go/6@tmp/durable-519ee9ca/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-519ee9ca/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:36:46 + echo total: 0.20999999344348907 [Pipeline] stash 07:36:46 Warning: overwriting stash ‘stack-cost’ 07:36:47 Stashed 1 file(s) [Pipeline] } 07:36:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-6-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 07:36:48 provisioning config files... 07:36:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config3131599895380761575tmp [Pipeline] { [Pipeline] sh 07:36:48 + set +x 07:36:48 + bash -s -- 07:36:48 + curl -s https://codecov.io/bash 07:36:49 07:36:49 _____ _ 07:36:49 / ____| | | 07:36:49 | | ___ __| | ___ ___ _____ __ 07:36:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:36:49 | |___| (_) | (_| | __/ (_| (_) \ V / 07:36:49 \_____\___/ \__,_|\___|\___\___/ \_/ 07:36:49 Bash-20210309-2b87ace 07:36:49 07:36:49 07:36:49 ==> git version 2.24.3 found 07:36:49 ==> 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 07:36:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:36:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:36:49 ==> Jenkins CI detected. 07:36:49 project root: . 07:36:49 --> token set from env 07:36:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:36:49 ==> Running gcov in . (disable via -X gcov) 07:36:49 ==> Python coveragepy not found 07:36:49 ==> Searching for coverage reports in: 07:36:49 + . 07:36:49 -> Found 1 reports 07:36:49 ==> Detecting git/mercurial file structure 07:36:49 ==> Reading reports 07:36:49 + ./coverage.out bytes=103403 07:36:49 ==> Appending adjustments 07:36:49 https://docs.codecov.io/docs/fixing-reports 07:36:49 + Found adjustments 07:36:49 ==> Gzipping contents 07:36:49 16K /tmp/codecov.c5odkP.gz 07:36:49 ==> Uploading reports 07:36:49 url: https://codecov.io 07:36:49 query: branch=PR-816&commit=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= 07:36:49 -> Pinging Codecov 07:36:49 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-816&commit=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= 07:36:49 -> Uploading to 07:36:49 https://storage.googleapis.com/codecov/v4/raw/2021-03-15/7E55EF52A471D76F132DFD9A03CDDE97/fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4/fca5eba2-b5f2-43b5-8c9e-f464280441c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210315T073649Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=865333b393da682412c500180ebae9dec60556caa13cdc3853af231ffc46298c 07:36:49 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:49 Dload Upload Total Spent Left Speed 07:36:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13850 0 0 100 13850 0 28538 --:--:-- --:--:-- --:--:-- 28556 07:36:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [Pipeline] } 07:36:50 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 07:36:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:36:53 ---> package-listing.sh 07:36:53 ++ facter osfamily 07:36:53 ++ tr '[:upper:]' '[:lower:]' 07:36:53 + OS_FAMILY=redhat 07:36:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-816 07:36:53 + START_PACKAGES=/tmp/packages_start.txt 07:36:53 + END_PACKAGES=/tmp/packages_end.txt 07:36:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:36:53 + PACKAGES=/tmp/packages_start.txt 07:36:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' 07:36:53 + PACKAGES=/tmp/packages_end.txt 07:36:53 + case "${OS_FAMILY}" in 07:36:53 + rpm -qa 07:36:53 + sort 07:36:58 + '[' -f /tmp/packages_start.txt ']' 07:36:58 + '[' -f /tmp/packages_end.txt ']' 07:36:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:36:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' 07:36:58 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ 07:36:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [Pipeline] echo 07:36:58 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-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:36:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:36:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:36:59 07:36:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:36:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:36:59 alpine: Pulling from edgex-lftools-log-publisher 07:36:59 df20fa9351a1: Pulling fs layer 07:36:59 36b3adc4ff6f: Pulling fs layer 07:36:59 8ad3a11d3b57: Pulling fs layer 07:36:59 46f8f816bc3b: Pulling fs layer 07:36:59 93b61091891f: Pulling fs layer 07:36:59 93b9cdb0e59b: Pulling fs layer 07:36:59 5e14af77c1be: Pulling fs layer 07:36:59 01666e4c0597: Pulling fs layer 07:36:59 aa168da1d23b: Pulling fs layer 07:36:59 93b61091891f: Waiting 07:36:59 93b9cdb0e59b: Waiting 07:36:59 5e14af77c1be: Waiting 07:36:59 01666e4c0597: Waiting 07:36:59 aa168da1d23b: Waiting 07:36:59 46f8f816bc3b: Waiting 07:36:59 36b3adc4ff6f: Verifying Checksum 07:36:59 36b3adc4ff6f: Download complete 07:36:59 46f8f816bc3b: Download complete 07:37:00 df20fa9351a1: Verifying Checksum 07:37:00 df20fa9351a1: Download complete 07:37:00 93b9cdb0e59b: Verifying Checksum 07:37:00 93b9cdb0e59b: Download complete 07:37:00 93b61091891f: Verifying Checksum 07:37:00 93b61091891f: Download complete 07:37:00 5e14af77c1be: Verifying Checksum 07:37:00 5e14af77c1be: Download complete 07:37:00 01666e4c0597: Verifying Checksum 07:37:00 01666e4c0597: Download complete 07:37:00 8ad3a11d3b57: Verifying Checksum 07:37:00 8ad3a11d3b57: Download complete 07:37:00 df20fa9351a1: Pull complete 07:37:00 36b3adc4ff6f: Pull complete 07:37:01 8ad3a11d3b57: Pull complete 07:37:01 46f8f816bc3b: Pull complete 07:37:03 aa168da1d23b: Verifying Checksum 07:37:03 aa168da1d23b: Download complete 07:37:03 93b61091891f: Pull complete 07:37:03 93b9cdb0e59b: Pull complete 07:37:03 5e14af77c1be: Pull complete 07:37:03 01666e4c0597: Pull complete 07:37:11 aa168da1d23b: Pull complete 07:37:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:37:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:37:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:37:12 prd-centos7-docker-4c-2g-29795 does not seem to be running inside a container 07:37:12 $ 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-816/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-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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 07:37:14 $ docker top ee3eca80572aafc2fe8258df0b86b91db8af06213bb3f166e35d59ce49e790dc -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:15 + touch /tmp/pre-build-complete [Pipeline] sh 07:37:15 + mkdir -p /var/log/sa [Pipeline] sh 07:37:15 + ls /var/log/sa-host 07:37:15 + sadf -c /var/log/sa-host/sa15 07:37:15 file_magic: OK 07:37:15 HZ: Using current value: 100 07:37:15 file_header: OK 07:37:15 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 07:37:15 Statistics: 07:37:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:37:15 File successfully converted to sysstat format version 12.2.1 07:37:15 + sadf -c /var/log/sa-host/sa23 07:37:15 file_magic: OK 07:37:15 HZ: Using current value: 100 07:37:15 file_header: OK 07:37:15 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 07:37:15 Statistics: 07:37:15 Hnuu...uuuununununu... 07:37:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:16 provisioning config files... 07:37:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config2719688912920318129tmp [Pipeline] { [Pipeline] echo 07:37:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:37:17 ---> create-netrc.sh [Pipeline] } 07:37:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:37:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:37:17 ---> python-tools-install.sh [Pipeline] echo 07:37:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:37:17 ---> sudo-logs.sh 07:37:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:37:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:37:18 ---> job-cost.sh 07:37:18 lf-activate-venv: SKIPPING 07:37:18 DEBUG: total: 0.20999999344348907 07:37:18 INFO: Retrieving Stack Cost... 07:37:19 INFO: Retrieving Pricing Info for: v1-standard-2 07:37:19 INFO: Archiving Costs [Pipeline] echo 07:37:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:37:19 ---> logs-deploy.sh 07:37:19 lf-activate-venv: SKIPPING 07:37:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-816/6 07:37:19 INFO: archiving workspace using pattern(s): 07:37:21 Archives upload complete. 07:37:21 INFO: archiving logs to Nexus 07:37:22 ---> uname -a: 07:37:22 Linux prd-centos7-docker-4c-2g-29795.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:37:22 07:37:22 07:37:22 ---> lscpu: 07:37:22 Architecture: x86_64 07:37:22 CPU op-mode(s): 32-bit, 64-bit 07:37:22 Byte Order: Little Endian 07:37:22 Address sizes: 40 bits physical, 48 bits virtual 07:37:22 CPU(s): 4 07:37:22 On-line CPU(s) list: 0-3 07:37:22 Thread(s) per core: 1 07:37:22 Core(s) per socket: 1 07:37:22 Socket(s): 4 07:37:22 NUMA node(s): 1 07:37:22 Vendor ID: GenuineIntel 07:37:22 CPU family: 6 07:37:22 Model: 44 07:37:22 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:37:22 Stepping: 1 07:37:22 CPU MHz: 2933.436 07:37:22 BogoMIPS: 5866.87 07:37:22 Virtualization: VT-x 07:37:22 Hypervisor vendor: KVM 07:37:22 Virtualization type: full 07:37:22 L1d cache: 128 KiB 07:37:22 L1i cache: 128 KiB 07:37:22 L2 cache: 16 MiB 07:37:22 L3 cache: 64 MiB 07:37:22 NUMA node0 CPU(s): 0-3 07:37:22 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:37:22 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:37:22 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:37:22 Vulnerability Meltdown: Mitigation; PTI 07:37:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:37:22 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:37:22 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:37:22 Vulnerability Srbds: Not affected 07:37:22 Vulnerability Tsx async abort: Not affected 07:37:22 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:37:22 07:37:22 07:37:22 ---> nproc: 07:37:22 4 07:37:22 07:37:22 07:37:22 ---> df -h: 07:37:22 Filesystem Size Used Available Use% Mounted on 07:37:22 overlay 50.0G 7.3G 42.7G 15% / 07:37:22 tmpfs 64.0M 0 64.0M 0% /dev 07:37:22 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:37:22 shm 64.0M 0 64.0M 0% /dev/shm 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-816 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:37:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:37:22 07:37:22 07:37:22 ---> free -m: 07:37:22 total used free shared buff/cache available 07:37:22 Mem: 1837 743 104 0 989 988 07:37:22 Swap: 1023 1 1022 07:37:22 07:37:22 07:37:22 ---> ip addr: 07:37:22 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:37:22 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:37:22 inet 127.0.0.1/8 scope host lo 07:37:22 valid_lft forever preferred_lft forever 07:37:22 inet6 ::1/128 scope host 07:37:22 valid_lft forever preferred_lft forever 07:37:22 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:37:22 link/ether fa:16:3e:29:73:fa brd ff:ff:ff:ff:ff:ff 07:37:22 inet 10.30.123.155/23 brd 10.30.123.255 scope global dynamic eth0 07:37:22 valid_lft 85770sec preferred_lft 85770sec 07:37:22 inet6 fe80::f816:3eff:fe29:73fa/64 scope link 07:37:22 valid_lft forever preferred_lft forever 07:37:22 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:37:22 link/ether 02:42:75:5d:6c:34 brd ff:ff:ff:ff:ff:ff 07:37:22 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:37:22 valid_lft forever preferred_lft forever 07:37:22 inet6 fe80::42:75ff:fe5d:6c34/64 scope link 07:37:22 valid_lft forever preferred_lft forever 07:37:22 07:37:22