Pull request #794 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f+859d05bb29d195830a2bef80ceacb337f49ed4c7 (141fcb615ee9f3f326a65257f35a270b2e7e747f) 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-27021’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-27399’ is offline; ‘prd-centos7-docker-4c-2g-27410’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27412 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [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-794 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f Merge succeeded, producing ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f Checking out Revision ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f (PR-794) > git config core.sparsecheckout # timeout=10 > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # 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 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:27:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:27:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 [Pipeline] echo 23:27:37 ========================================================= 23:27:37 EdgeX Global Pipelines Version Info 23:27:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:27:41 ------------------- 23:27:41 stable info: 23:27:41 ------------------- 23:27:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:27:41 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 23:27:41 Message: update stable to v1.0.181 23:27:43 ------------------- 23:27:43 experimental info: 23:27:43 ------------------- 23:27:43 Commited By: **** collab-it+edgex@linuxfoundation.org 23:27:43 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 23:27:43 Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:27:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:27:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-794 [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-794 [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-794 [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac19e11 [Pipeline] echo 23:27:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:27:47 provisioning config files... 23:27:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config7057223420753745311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:47 ---> docker-login.sh 23:27:47 nexus3.edgexfoundry.org:10001 23:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:50 Configure a credential helper to remove this warning. See 23:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:50 23:27:50 Login Succeeded 23:27:50 nexus3.edgexfoundry.org:10002 23:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:51 Configure a credential helper to remove this warning. See 23:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:51 23:27:51 Login Succeeded 23:27:51 nexus3.edgexfoundry.org:10003 23:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:52 Configure a credential helper to remove this warning. See 23:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:52 23:27:52 Login Succeeded 23:27:53 nexus3.edgexfoundry.org:10004 23:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:53 Configure a credential helper to remove this warning. See 23:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:53 23:27:53 Login Succeeded 23:27:53 docker.io 23:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:54 Configure a credential helper to remove this warning. See 23:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:54 23:27:54 Login Succeeded 23:27:54 ---> docker-login.sh ends [Pipeline] } 23:27:54 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 23:27:56 + git log --format=format:%s -1 ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [Pipeline] echo 23:27:56 GIT_COMMIT: ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 23:27:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:27:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:27:57 23:27:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:27:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:27:58 latest: Pulling from edgex-devops/git-semver 23:27:58 31603596830f: Pulling fs layer 23:27:58 2a8b12db71e7: Pulling fs layer 23:27:58 6ca5941a6612: Pulling fs layer 23:27:58 ecc8261a40a4: Pulling fs layer 23:27:58 ecc8261a40a4: Waiting 23:27:59 2a8b12db71e7: Verifying Checksum 23:27:59 2a8b12db71e7: Download complete 23:27:59 31603596830f: Verifying Checksum 23:27:59 31603596830f: Download complete 23:28:00 ecc8261a40a4: Verifying Checksum 23:28:00 ecc8261a40a4: Download complete 23:28:00 6ca5941a6612: Verifying Checksum 23:28:00 6ca5941a6612: Download complete 23:28:00 31603596830f: Pull complete 23:28:01 2a8b12db71e7: Pull complete 23:28:03 6ca5941a6612: Pull complete 23:28:06 ecc8261a40a4: Pull complete 23:28:06 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:28:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:28:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:28:06 prd-centos7-docker-4c-2g-27412 does not seem to be running inside a container 23:28:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-794 -v /w/workspace/dgexfoundry_device-sdk-go_PR-794:/w/workspace/dgexfoundry_device-sdk-go_PR-794:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:28:10 $ docker top 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:10 [ssh-agent] Looking for ssh-agent implementation... 23:28:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:10 $ docker exec 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 ssh-agent 23:28:11 SSH_AUTH_SOCK=/tmp/ssh-j11FymQAFcHd/agent.12 23:28:11 SSH_AGENT_PID=17 23:28:11 Running ssh-add (command line suppressed) 23:28:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_6157113042715024202.key (/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_6157113042715024202.key) 23:28:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:11 + git tag --points-at HEAD [Pipeline] } 23:28:11 $ docker exec --env ******** --env ******** 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 ssh-agent -k 23:28:12 unset SSH_AUTH_SOCK; 23:28:12 unset SSH_AGENT_PID; 23:28:12 echo Agent pid 17 killed; 23:28:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:28:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:12 [ssh-agent] Looking for ssh-agent implementation... 23:28:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:13 $ docker exec 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 ssh-agent 23:28:14 SSH_AUTH_SOCK=/tmp/ssh-s06mQkxZJIUN/agent.47 23:28:14 SSH_AGENT_PID=52 23:28:14 Running ssh-add (command line suppressed) 23:28:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_2083332828336389124.key (/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_2083332828336389124.key) 23:28:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:16 + git semver init 23:28:16 # -> Open(): unable to determine branch for HEAD 23:28:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-794/.git 23:28:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-794 23:28:16 # $SEMVER_REMOTE_NAME = origin 23:28:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:28:16 # $SEMVER_USER_NAME = edgex-jenkins 23:28:16 # $SEMVER_BRANCH = PR-794 23:28:16 # $SEMVER_TEMP = /tmp/semver-771691278 23:28:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 23:28:17 # '/tmp/semver-771691278' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-794/.semver' 23:28:17 # -> Force: false 23:28:17 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-794/.semver [Pipeline] } 23:28:17 $ docker exec --env ******** --env ******** 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 ssh-agent -k 23:28:18 unset SSH_AUTH_SOCK; 23:28:18 unset SSH_AGENT_PID; 23:28:18 echo Agent pid 52 killed; 23:28:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:19 + git semver [Pipeline] } 23:28:19 $ docker stop --time=1 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 23:28:21 $ docker rm -f 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:28:25 Stashed 1 file(s) [Pipeline] echo 23:28:25 [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 23:28:41 Still waiting to schedule task 23:28:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:28:41 Still waiting to schedule task 23:28:41 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:31:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27415 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [Pipeline] { [Pipeline] ws 23:31:20 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:31:25 using credential edgex-jenkins-ssh 23:31:25 Cloning the remote Git repository 23:31:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:31:25 > git init /w/workspace/device-sdk-go/2 # timeout=10 23:31:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:31:25 > git --version # timeout=10 23:31:25 > git --version # 'git version 2.17.1' 23:31:25 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:31:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:31:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:31:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:31:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:31:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:31:27 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f 23:31:28 Merge succeeded, producing ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f 23:31:28 Checking out Revision ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f (PR-794) 23:31:27 > git config core.sparsecheckout # timeout=10 23:31:27 > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 23:31:28 > git remote # timeout=10 23:31:28 > git config --get remote.origin.url # timeout=10 23:31:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:28 > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 23:31:28 > git rev-parse HEAD^{commit} # timeout=10 23:31:28 > git config core.sparsecheckout # timeout=10 23:31:28 > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 23:31:32 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:31:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:31:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:31:35 + true 23:31:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:31:37 provisioning config files... 23:31:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4270023205002172595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:38 ---> docker-login.sh 23:31:38 nexus3.edgexfoundry.org:10001 23:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:39 Configure a credential helper to remove this warning. See 23:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:39 23:31:39 Login Succeeded 23:31:39 nexus3.edgexfoundry.org:10002 23:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:40 Configure a credential helper to remove this warning. See 23:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:40 23:31:40 Login Succeeded 23:31:40 nexus3.edgexfoundry.org:10003 23:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:40 Configure a credential helper to remove this warning. See 23:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:40 23:31:40 Login Succeeded 23:31:40 nexus3.edgexfoundry.org:10004 23:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:41 Configure a credential helper to remove this warning. See 23:31:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:41 23:31:41 Login Succeeded 23:31:41 docker.io 23:31:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:41 Configure a credential helper to remove this warning. See 23:31:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:41 23:31:41 Login Succeeded 23:31:41 ---> docker-login.sh ends [Pipeline] } 23:31:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:31:42 ========================================================= 23:31:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:31:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:31:42 + 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 . 23:31:42 Sending build context to Docker daemon 2.397MB 23:31:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:31:42 Step 2/8 : FROM ${BASE} 23:31:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:31:43 5f621e34cdf4: Pulling fs layer 23:31:43 a4357932f1b6: Pulling fs layer 23:31:43 18c013af1878: Pulling fs layer 23:31:43 00ac8860ef70: Pulling fs layer 23:31:43 63d7cb157983: Pulling fs layer 23:31:43 b116817d02f9: Pulling fs layer 23:31:43 745a02a5169b: Pulling fs layer 23:31:43 63d7cb157983: Waiting 23:31:43 b116817d02f9: Waiting 23:31:43 745a02a5169b: Waiting 23:31:43 00ac8860ef70: Waiting 23:31:43 18c013af1878: Download complete 23:31:43 a4357932f1b6: Verifying Checksum 23:31:43 a4357932f1b6: Download complete 23:31:43 63d7cb157983: Verifying Checksum 23:31:43 63d7cb157983: Download complete 23:31:43 b116817d02f9: Verifying Checksum 23:31:43 b116817d02f9: Download complete 23:31:43 5f621e34cdf4: Verifying Checksum 23:31:44 5f621e34cdf4: Pull complete 23:31:45 a4357932f1b6: Pull complete 23:31:45 18c013af1878: Pull complete 23:31:46 745a02a5169b: Download complete 23:31:47 00ac8860ef70: Verifying Checksum 23:31:47 00ac8860ef70: Download complete 23:31:57 00ac8860ef70: Pull complete 23:31:57 63d7cb157983: Pull complete 23:31:57 b116817d02f9: Pull complete 23:32:01 745a02a5169b: Pull complete 23:32:01 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:32:01 ---> b7e6874047d6 23:32:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:32:04 ---> Running in 478e432da516 23:32:04 Removing intermediate container 478e432da516 23:32:04 ---> a4d001192235 23:32:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:32:04 ---> Running in fe71b96e14cc 23:32:07 Removing intermediate container fe71b96e14cc 23:32:07 ---> b9eea327d9f9 23:32:07 Step 5/8 : RUN apk add --update --no-cache make git 23:32:07 ---> Running in 0025824dba5d 23:32:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:32:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:32:11 OK: 142 MiB in 39 packages 23:32:12 Removing intermediate container 0025824dba5d 23:32:12 ---> 1aef8164c0f2 23:32:12 Step 6/8 : WORKDIR /device-sdk-go 23:32:12 ---> Running in f3381438bd4f 23:32:13 Removing intermediate container f3381438bd4f 23:32:13 ---> f922436da826 23:32:13 Step 7/8 : COPY . . 23:32:14 ---> a75823190990 23:32:14 Step 8/8 : RUN go mod download 23:32:14 ---> Running in f72c81375e67 23:32:23 Running on prd-centos7-docker-4c-2g-27416 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [Pipeline] { [Pipeline] ws 23:32:23 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:32:40 using credential edgex-jenkins-ssh 23:32:41 Cloning the remote Git repository 23:32:41 Removing intermediate container f72c81375e67 23:32:41 ---> 6e6282cb3622 23:32:41 Successfully built 6e6282cb3622 23:32:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:32:41 + docker inspect -f . ci-base-image-arm64 23:32:41 . [Pipeline] withDockerContainer 23:32:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:32:41 > git init /w/workspace/device-sdk-go/2 # timeout=10 23:32:42 prd-ubuntu18.04-docker-arm64-4c-16g-27415 does not seem to be running inside a container 23:32:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:43 $ docker top 6d5a66669409ca46e40b9c128c4c19ba1958c79e8dc829d322318c5beee9c56f -eo pid,comm 23:32:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:32:42 > git --version # timeout=10 23:32:42 > git --version # 'git version 2.24.3' 23:32:42 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [Pipeline] { [Pipeline] sh 23:32:44 + go version 23:32:44 go version go1.15.5 linux/arm64 [Pipeline] } 23:32:45 $ docker stop --time=1 6d5a66669409ca46e40b9c128c4c19ba1958c79e8dc829d322318c5beee9c56f 23:32:45 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f 23:32:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:32:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:32:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:32:45 > git config core.sparsecheckout # timeout=10 23:32:45 > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 23:32:45 > git remote # timeout=10 23:32:45 > git config --get remote.origin.url # timeout=10 23:32:46 Merge succeeded, producing ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f 23:32:46 Checking out Revision ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f (PR-794) 23:32:47 $ docker rm -f 6d5a66669409ca46e40b9c128c4c19ba1958c79e8dc829d322318c5beee9c56f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 23:32:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:46 > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 23:32:46 > git rev-parse HEAD^{commit} # timeout=10 23:32:46 > git config core.sparsecheckout # timeout=10 23:32:46 > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:32:48 + docker inspect -f . ci-base-image-arm64 23:32:48 . [Pipeline] withDockerContainer 23:32:48 prd-ubuntu18.04-docker-arm64-4c-16g-27415 does not seem to be running inside a container 23:32:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:50 $ docker top 6e9f058d4909984643191f981f9bd891de6fa15e683ba0cdf2ac0b4129db00be -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:51 + make test 23:32:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:32:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:32:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:32:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:32:57 + sudo service docker restart 23:32:57 + true 23:32:57 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:33:00 provisioning config files... 23:33:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2042199221036287670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:00 ---> docker-login.sh 23:33:00 nexus3.edgexfoundry.org:10001 23:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:01 Configure a credential helper to remove this warning. See 23:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:01 23:33:01 Login Succeeded 23:33:01 nexus3.edgexfoundry.org:10002 23:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:03 Configure a credential helper to remove this warning. See 23:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:03 23:33:03 Login Succeeded 23:33:03 nexus3.edgexfoundry.org:10003 23:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:04 Configure a credential helper to remove this warning. See 23:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:04 23:33:04 Login Succeeded 23:33:04 nexus3.edgexfoundry.org:10004 23:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:04 Configure a credential helper to remove this warning. See 23:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:04 23:33:04 Login Succeeded 23:33:04 docker.io 23:33:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:05 Configure a credential helper to remove this warning. See 23:33:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:05 23:33:05 Login Succeeded 23:33:05 ---> docker-login.sh ends [Pipeline] } 23:33:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:33:07 ========================================================= 23:33:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:33:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:33:08 + 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 . 23:33:09 Sending build context to Docker daemon 2.407MB 23:33:09 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:33:09 Step 2/8 : FROM ${BASE} 23:33:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:33:09 188c0c94c7c5: Pulling fs layer 23:33:09 0ef7d3d256c8: Pulling fs layer 23:33:09 de9db76c5a1d: Pulling fs layer 23:33:09 bca2f99d35d6: Pulling fs layer 23:33:09 93359f2a8cfa: Pulling fs layer 23:33:09 7c6f9722023f: Pulling fs layer 23:33:09 a35cf1a2eb13: Pulling fs layer 23:33:09 bca2f99d35d6: Waiting 23:33:09 93359f2a8cfa: Waiting 23:33:09 7c6f9722023f: Waiting 23:33:09 a35cf1a2eb13: Waiting 23:33:09 de9db76c5a1d: Verifying Checksum 23:33:09 de9db76c5a1d: Download complete 23:33:09 0ef7d3d256c8: Verifying Checksum 23:33:09 0ef7d3d256c8: Download complete 23:33:09 93359f2a8cfa: Verifying Checksum 23:33:09 93359f2a8cfa: Download complete 23:33:10 7c6f9722023f: Verifying Checksum 23:33:10 7c6f9722023f: Download complete 23:33:13 188c0c94c7c5: Verifying Checksum 23:33:13 188c0c94c7c5: Download complete 23:33:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:33:13 188c0c94c7c5: Pull complete 23:33:14 0ef7d3d256c8: Pull complete 23:33:15 de9db76c5a1d: Pull complete 23:33:25 a35cf1a2eb13: Download complete 23:33:30 bca2f99d35d6: Verifying Checksum 23:33:30 bca2f99d35d6: Download complete 23:33:50 bca2f99d35d6: Pull complete 23:33:50 93359f2a8cfa: Pull complete 23:33:50 7c6f9722023f: Pull complete 23:33:58 a35cf1a2eb13: Pull complete 23:33:58 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:33:58 ---> a62c8e92a672 23:33:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:33:58 ---> Running in 2901ec9a68e0 23:33:58 Removing intermediate container 2901ec9a68e0 23:33:58 ---> 1974edecfd96 23:33:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:33:58 ---> Running in 1388803ade25 23:34:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:34:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:34:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:34:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 25.5% of statements 23:34:02 Removing intermediate container 1388803ade25 23:34:02 ---> e7ea868d556e 23:34:02 Step 5/8 : RUN apk add --update --no-cache make git 23:34:03 ---> Running in 16903b50001b 23:34:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:34:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:34:06 OK: 166 MiB in 39 packages 23:34:08 Removing intermediate container 16903b50001b 23:34:08 ---> 21bd7268fdb3 23:34:08 Step 6/8 : WORKDIR /device-sdk-go 23:34:08 ---> Running in 191bf7d43fa5 23:34:09 Removing intermediate container 191bf7d43fa5 23:34:09 ---> 3368f3b2f726 23:34:09 Step 7/8 : COPY . . 23:34:11 ---> 6c7141675270 23:34:11 Step 8/8 : RUN go mod download 23:34:11 ---> Running in 80c453dc2960 23:34:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.119s coverage: 10.1% of statements 23:34:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.115s coverage: 12.5% of statements 23:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:34:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.192s coverage: 84.8% of statements 23:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 23:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 23:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:34:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.209s coverage: 49.2% of statements 23:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 23:34:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.151s coverage: 81.3% of statements 23:34:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.196s coverage: 24.8% of statements 23:34:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.725s coverage: 83.5% of statements 23:34:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements 23:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:34:32 GO111MODULE=on go vet ./... 23:35:02 Removing intermediate container 80c453dc2960 23:35:02 ---> 6d125f4c76cc 23:35:02 Successfully built 6d125f4c76cc 23:35:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:35:03 + docker inspect -f . ci-base-image-x86_64 23:35:03 . [Pipeline] withDockerContainer 23:35:04 prd-centos7-docker-4c-2g-27416 does not seem to be running inside a container 23:35:05 gofmt -l . 23:35:05 [ "`gofmt -l .`" = "" ] 23:35:05 ./bin/test-attribution-txt.sh 23:35:05 ./bin/test-go-mod-tidy.sh 23:35:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:35:07 $ docker top 71d171805b3f19d5847f31b42dfe6291b25ca9c35a638c163278d8adf163e49e -eo pid,comm [Pipeline] { [Pipeline] } 23:35:08 $ docker stop --time=1 6e9f058d4909984643191f981f9bd891de6fa15e683ba0cdf2ac0b4129db00be 23:35:10 $ docker rm -f 6e9f058d4909984643191f981f9bd891de6fa15e683ba0cdf2ac0b4129db00be [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 23:35:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:35:12 + go version 23:35:12 go version go1.15.5 linux/amd64 23:35:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] } 23:35:12 $ docker stop --time=1 71d171805b3f19d5847f31b42dfe6291b25ca9c35a638c163278d8adf163e49e 23:35:14 $ docker rm -f 71d171805b3f19d5847f31b42dfe6291b25ca9c35a638c163278d8adf163e49e [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 23:35:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:35:17 + docker inspect -f . ci-base-image-x86_64 23:35:17 . [Pipeline] withDockerContainer 23:35:17 + ls -al . 23:35:17 total 220 23:35:17 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 23:35 . 23:35:17 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:31 .. 23:35:17 -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 23:31 .dockerignore 23:35:17 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 23:31 .git 23:35:17 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:31 .github 23:35:17 -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 23:31 .gitignore 23:35:17 -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 23:31 Dockerfile.build 23:35:17 -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 23:31 Jenkinsfile 23:35:17 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 23:31 LICENSE 23:35:17 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 23:31 Makefile 23:35:17 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 23:31 README.md 23:35:17 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 23:31 RELEASE-NOTES.txt 23:35:17 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 23:28 VERSION 23:35:17 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:31 bin 23:35:17 -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 23:34 coverage.out 23:35:17 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:31 example 23:35:17 -rw-r--r-- 1 jenkins jenkins 516 Feb 23 23:35 go.mod 23:35:17 -rw-r--r-- 1 jenkins jenkins 17372 Feb 23 23:35 go.sum 23:35:17 drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 23:31 internal 23:35:17 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:31 openapi 23:35:17 drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 23:31 pkg 23:35:17 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:31 snap 23:35:17 -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 23:31 version.go 23:35:17 prd-centos7-docker-4c-2g-27416 does not seem to be running inside a container 23:35:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:35:19 $ docker top a47df13131df7defa25fa4ef281c5e113907a9ecd94b37764faa2acd56679ea2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 23:35:20 + 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=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f --label arch=arm64 --label version=0.0.0 . 23:35:21 Sending build context to Docker daemon 2.5MB 23:35:21 + make test 23:35:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:35:21 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 23:35:21 Step 2/24 : FROM ${BASE} AS builder 23:35:21 ---> 6e6282cb3622 23:35:21 Step 3/24 : ARG MAKE='make build' 23:35:21 ---> Running in e3e2aeacd8c0 23:35:22 Removing intermediate container e3e2aeacd8c0 23:35:22 ---> 185f37c945b5 23:35:22 Step 4/24 : WORKDIR /device-sdk-go 23:35:22 ---> Running in 0691ff04f836 23:35:22 Removing intermediate container 0691ff04f836 23:35:22 ---> ae5738a730d1 23:35:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:35:22 ---> Running in 8cbb3423b22e 23:35:23 Removing intermediate container 8cbb3423b22e 23:35:23 ---> 8dc354f6ebd2 23:35:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:35:23 ---> Running in 7c01b85cb7e3 23:35:25 Removing intermediate container 7c01b85cb7e3 23:35:25 ---> 7c22011cec93 23:35:25 Step 7/24 : RUN apk add --update --no-cache make git 23:35:25 ---> Running in 6ffd1dfcdd68 23:35:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:35:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:35:28 OK: 142 MiB in 39 packages 23:35:29 Removing intermediate container 6ffd1dfcdd68 23:35:29 ---> a173da6b3f58 23:35:29 Step 8/24 : COPY . . 23:35:30 ---> 70a371141266 23:35:30 Step 9/24 : RUN ${MAKE} 23:35:31 ---> Running in 1498ed7f0662 23:35:32 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 23:35:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:35:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 23:35:59 Removing intermediate container 1498ed7f0662 23:35:59 ---> e2bd8a4ac2f6 23:35:59 Step 10/24 : FROM scratch 23:35:59 ---> 23:35:59 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:35:59 ---> Running in bd31c654e47b 23:36:00 Removing intermediate container bd31c654e47b 23:36:00 ---> 726019bd3f16 23:36:00 Step 12/24 : ENV APP_PORT=49990 23:36:00 ---> Running in ca2246a1f520 23:36:01 Removing intermediate container ca2246a1f520 23:36:01 ---> 9ae593c2a288 23:36:01 Step 13/24 : EXPOSE $APP_PORT 23:36:01 ---> Running in 75e10bd61621 23:36:01 Removing intermediate container 75e10bd61621 23:36:01 ---> d39c2d39f5a5 23:36:01 Step 14/24 : WORKDIR / 23:36:01 ---> Running in 31ef636b5c12 23:36:01 Removing intermediate container 31ef636b5c12 23:36:01 ---> dfea7315677a 23:36:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 23:36:03 ---> 406a113a5dfc 23:36:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 23:36:03 ---> 0ec9a491e874 23:36:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 23:36:04 ---> 49dccb6fe674 23:36:04 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 23:36:05 ---> 084df2c9c1e8 23:36:05 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 23:36:06 ---> 00870aa58e05 23:36:06 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 23:36:06 ---> Running in 7426bac300ec 23:36:06 Removing intermediate container 7426bac300ec 23:36:06 ---> 7075fc88f671 23:36:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:36:06 ---> Running in 143b16a9416a 23:36:07 Removing intermediate container 143b16a9416a 23:36:07 ---> ffcb0ae5945b 23:36:07 Step 22/24 : LABEL arch=arm64 23:36:07 ---> Running in cc5a3dc97c79 23:36:07 Removing intermediate container cc5a3dc97c79 23:36:07 ---> 8989429b2c65 23:36:07 Step 23/24 : LABEL git_sha=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f 23:36:07 ---> Running in c06cd09f7754 23:36:08 Removing intermediate container c06cd09f7754 23:36:08 ---> 85c77da61c83 23:36:08 Step 24/24 : LABEL version=0.0.0 23:36:08 ---> Running in 7d496a5869f7 23:36:09 Removing intermediate container 7d496a5869f7 23:36:09 ---> 8c67bd66b719 23:36:09 [Warning] One or more build-args [ARCH] were not consumed 23:36:09 Successfully built 8c67bd66b719 23:36:09 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 23:36:09 ---> job-cost.sh 23:36:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GNt8 23:36:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:36:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:36:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:36:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 25.5% of statements 23:36:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:36:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.1% of statements 23:36:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.204s coverage: 12.5% of statements 23:36:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:36:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements 23:36:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 23:36:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 23:36:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:36:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:36:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 49.2% of statements 23:36:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 23:36:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.102s coverage: 81.3% of statements 23:36:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.249s coverage: 24.8% of statements 23:36:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.167s coverage: 83.5% of statements 23:36:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements 23:36:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:36:54 GO111MODULE=on go vet ./... 23:37:18 gofmt -l . 23:37:18 [ "`gofmt -l .`" = "" ] 23:37:18 ./bin/test-attribution-txt.sh 23:37:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:37:22 $ docker stop --time=1 a47df13131df7defa25fa4ef281c5e113907a9ecd94b37764faa2acd56679ea2 23:37:25 $ docker rm -f a47df13131df7defa25fa4ef281c5e113907a9ecd94b37764faa2acd56679ea2 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:37:26 Warning: overwriting stash ‘coverage-report’ 23:37:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:37:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:37:30 + ls -al . 23:37:30 total 184 23:37:30 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 23:37 . 23:37:30 drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 23:32 .. 23:37:30 drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 23:32 bin 23:37:30 -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 23:36 coverage.out 23:37:30 -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 23:32 Dockerfile.build 23:37:30 -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 23:32 .dockerignore 23:37:30 drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 23:32 example 23:37:30 drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 23:32 .git 23:37:30 drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 23:32 .github 23:37:30 -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 23:32 .gitignore 23:37:30 -rw-r--r--. 1 jenkins jenkins 516 Feb 23 23:37 go.mod 23:37:30 -rw-r--r--. 1 jenkins jenkins 17372 Feb 23 23:37 go.sum 23:37:30 drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 23:32 internal 23:37:30 -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 23:32 Jenkinsfile 23:37:30 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 23:32 LICENSE 23:37:30 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 23:32 Makefile 23:37:30 drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 23:32 openapi 23:37:30 drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 23:32 pkg 23:37:30 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 23:32 README.md 23:37:30 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 23:32 RELEASE-NOTES.txt 23:37:30 drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 23:32 snap 23:37:30 -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 23:28 VERSION 23:37:30 -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 23:32 version.go [Pipeline] isUnix [Pipeline] sh 23:37:31 + 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=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f --label arch=amd64 --label version=0.0.0 . 23:37:32 Sending build context to Docker daemon 2.509MB 23:37:32 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 23:37:32 Step 2/24 : FROM ${BASE} AS builder 23:37:32 ---> 6d125f4c76cc 23:37:32 Step 3/24 : ARG MAKE='make build' 23:37:32 ---> Running in b30cf40af18d 23:37:32 Removing intermediate container b30cf40af18d 23:37:32 ---> 198da9021416 23:37:32 Step 4/24 : WORKDIR /device-sdk-go 23:37:33 ---> Running in 095c54754a25 23:37:33 Removing intermediate container 095c54754a25 23:37:33 ---> 58aea37c94bd 23:37:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:37:33 ---> Running in d0248320203d 23:37:34 Removing intermediate container d0248320203d 23:37:34 ---> 9c32b63720bb 23:37:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:37:34 ---> Running in 486eff05ded9 23:37:38 Removing intermediate container 486eff05ded9 23:37:38 ---> 7525c1443b93 23:37:38 Step 7/24 : RUN apk add --update --no-cache make git 23:37:38 ---> Running in 010351a154ff 23:37:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:37:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:37:42 OK: 166 MiB in 39 packages 23:37:44 Removing intermediate container 010351a154ff 23:37:44 ---> 97020267e83b 23:37:44 Step 8/24 : COPY . . 23:37:46 ---> 9a135cfcfbce 23:37:46 Step 9/24 : RUN ${MAKE} 23:37:46 ---> Running in dbd9ca458dd7 23:37:47 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 23:38:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 23:38:07 Removing intermediate container dbd9ca458dd7 23:38:07 ---> 857e025c5647 23:38:07 Step 10/24 : FROM scratch 23:38:07 ---> 23:38:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:38:07 ---> Running in a5cbcd513c9d 23:38:07 Removing intermediate container a5cbcd513c9d 23:38:07 ---> 126fea043e1c 23:38:07 Step 12/24 : ENV APP_PORT=49990 23:38:07 ---> Running in 3ed9268c3e58 23:38:07 Removing intermediate container 3ed9268c3e58 23:38:07 ---> 6456c9ccfe46 23:38:07 Step 13/24 : EXPOSE $APP_PORT 23:38:08 ---> Running in 1d69e3a0db69 23:38:08 Removing intermediate container 1d69e3a0db69 23:38:08 ---> d13062d0c923 23:38:08 Step 14/24 : WORKDIR / 23:38:08 ---> Running in e50d2418963d 23:38:09 Removing intermediate container e50d2418963d 23:38:09 ---> 80ccd6f96e66 23:38:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 23:38:11 ---> c78e63714b28 23:38:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 23:38:11 ---> cfbe2f303196 23:38:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 23:38:12 ---> e510b060579d 23:38:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 23:38:13 ---> b15d225979d8 23:38:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 23:38:14 ---> 0ac4696c8b54 23:38:14 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 23:38:14 ---> Running in 1e1a8f4c261a 23:38:15 Removing intermediate container 1e1a8f4c261a 23:38:15 ---> c6ab959fc8b6 23:38:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:38:15 ---> Running in 378e559345ac 23:38:15 Removing intermediate container 378e559345ac 23:38:15 ---> 8c8d1fe2b6ec 23:38:15 Step 22/24 : LABEL arch=amd64 23:38:15 ---> Running in ffefea86f24f 23:38:16 Removing intermediate container ffefea86f24f 23:38:16 ---> 0074c02a346a 23:38:16 Step 23/24 : LABEL git_sha=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f 23:38:16 ---> Running in dc27a844f99f 23:38:16 Removing intermediate container dc27a844f99f 23:38:16 ---> d92f6ec01d80 23:38:16 Step 24/24 : LABEL version=0.0.0 23:38:16 ---> Running in 7a1536403c81 23:38:17 Removing intermediate container 7a1536403c81 23:38:17 ---> 04f03d68bff3 23:38:17 [Warning] One or more build-args [ARCH] were not consumed 23:38:17 Successfully built 04f03d68bff3 23:38:17 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 23:38:18 ---> job-cost.sh 23:38:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ViMF 23:38:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:39:10 lf-activate-venv(): INFO: Adding /tmp/venv-GNt8/bin to PATH 23:39:10 INFO: No Stack... 23:39:10 INFO: Retrieving Pricing Info for: lf-standard-4 23:39:10 INFO: Archiving Costs [Pipeline] sh 23:39:11 + + cut -d, -f6 23:39:11 cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 23:39:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] 23:39:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] did not exist. Created. 23:39:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:39:11 + echo total: 0.20999999344348907 [Pipeline] stash 23:39:11 Stashed 1 file(s) [Pipeline] } 23:39:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:39:41 lf-activate-venv(): INFO: Adding /tmp/venv-ViMF/bin to PATH 23:39:41 INFO: No Stack... 23:39:41 INFO: Retrieving Pricing Info for: v1-standard-2 23:39:42 INFO: Archiving Costs [Pipeline] sh 23:39:42 + cut -d, -f6 23:39:42 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 23:39:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] 23:39:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] did not exist. Created. 23:39:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:39:44 /w/workspace/device-sdk-go/2@tmp/durable-60f7abd6/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 23:39:45 + echo total: 0.029999999329447746 [Pipeline] stash 23:39:45 Warning: overwriting stash ‘stack-cost’ 23:39:45 Stashed 1 file(s) [Pipeline] } 23:39:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-794-2-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 23:39:47 provisioning config files... 23:39:47 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config6269506010052966675tmp [Pipeline] { [Pipeline] sh 23:39:48 + set +x 23:39:48 + curl -s https://codecov.io/bash 23:39:48 + bash -s -- 23:39:48 23:39:48 _____ _ 23:39:48 / ____| | | 23:39:48 | | ___ __| | ___ ___ _____ __ 23:39:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:39:48 | |___| (_) | (_| | __/ (_| (_) \ V / 23:39:48 \_____\___/ \__,_|\___|\___\___/ \_/ 23:39:48 Bash-20210129-7c25fce 23:39:48 23:39:48 23:39:48 ==> git version 2.24.3 found 23:39:48 ==> 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 23:39:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:39:48 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:39:48 ==> Jenkins CI detected. 23:39:48 project root: . 23:39:48 --> token set from env 23:39:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:39:48 ==> Running gcov in . (disable via -X gcov) 23:39:49 ==> Python coveragepy not found 23:39:49 ==> Searching for coverage reports in: 23:39:49 + . 23:39:49 -> Found 1 reports 23:39:49 ==> Detecting git/mercurial file structure 23:39:49 ==> Reading reports 23:39:49 + ./coverage.out bytes=101757 23:39:49 ==> Appending adjustments 23:39:49 https://docs.codecov.io/docs/fixing-reports 23:39:50 + Found adjustments 23:39:50 ==> Gzipping contents 23:39:50 20K /tmp/codecov.RepW2T.gz 23:39:50 ==> Uploading reports 23:39:50 url: https://codecov.io 23:39:50 query: branch=PR-794&commit=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-794%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=794&job=&cmd_args= 23:39:50 -> Pinging Codecov 23:39:50 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-794&commit=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-794%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=794&job=&cmd_args= 23:39:51 -> Uploading to 23:39:51 https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f/b07a977f-c1f3-493f-90a3-71a328111e43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T233950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a26722f18e967e6ea221c1d49ede40b73c2c03e35a6289398636dae7e79e89b9 23:39:51 % Total % Received % Xferd Average Speed Time Time Time Current 23:39:51 Dload Upload Total Spent Left Speed 23:39:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16495 0 0 100 16495 0 18472 --:--:-- --:--:-- --:--:-- 18471 100 16495 0 0 100 16495 0 18467 --:--:-- --:--:-- --:--:-- 18471 23:39:52 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [Pipeline] } 23:39:52 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 23:39:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:39:56 ---> package-listing.sh 23:39:56 ++ facter osfamily 23:39:56 ++ tr '[:upper:]' '[:lower:]' 23:39:56 + OS_FAMILY=redhat 23:39:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-794 23:39:56 + START_PACKAGES=/tmp/packages_start.txt 23:39:56 + END_PACKAGES=/tmp/packages_end.txt 23:39:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:39:56 + PACKAGES=/tmp/packages_start.txt 23:39:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-794 ']' 23:39:56 + PACKAGES=/tmp/packages_end.txt 23:39:56 + case "${OS_FAMILY}" in 23:39:56 + rpm -qa 23:39:56 + sort 23:40:10 + '[' -f /tmp/packages_start.txt ']' 23:40:10 + '[' -f /tmp/packages_end.txt ']' 23:40:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:40:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-794 ']' 23:40:10 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-794/archives/ 23:40:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-794/archives/ [Pipeline] echo 23:40:10 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-794/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:40:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:40:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:40:12 23:40:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:40:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:40:13 alpine: Pulling from edgex-lftools-log-publisher 23:40:13 df20fa9351a1: Pulling fs layer 23:40:13 36b3adc4ff6f: Pulling fs layer 23:40:13 8ad3a11d3b57: Pulling fs layer 23:40:13 46f8f816bc3b: Pulling fs layer 23:40:13 93b61091891f: Pulling fs layer 23:40:13 93b9cdb0e59b: Pulling fs layer 23:40:13 5e14af77c1be: Pulling fs layer 23:40:13 01666e4c0597: Pulling fs layer 23:40:13 aa168da1d23b: Pulling fs layer 23:40:13 46f8f816bc3b: Waiting 23:40:13 93b61091891f: Waiting 23:40:13 93b9cdb0e59b: Waiting 23:40:13 5e14af77c1be: Waiting 23:40:13 01666e4c0597: Waiting 23:40:13 aa168da1d23b: Waiting 23:40:13 36b3adc4ff6f: Verifying Checksum 23:40:13 36b3adc4ff6f: Download complete 23:40:13 46f8f816bc3b: Verifying Checksum 23:40:13 46f8f816bc3b: Download complete 23:40:13 93b61091891f: Verifying Checksum 23:40:13 93b61091891f: Download complete 23:40:13 df20fa9351a1: Verifying Checksum 23:40:13 df20fa9351a1: Download complete 23:40:13 93b9cdb0e59b: Verifying Checksum 23:40:13 93b9cdb0e59b: Download complete 23:40:13 5e14af77c1be: Verifying Checksum 23:40:13 5e14af77c1be: Download complete 23:40:13 01666e4c0597: Verifying Checksum 23:40:13 01666e4c0597: Download complete 23:40:15 df20fa9351a1: Pull complete 23:40:15 8ad3a11d3b57: Verifying Checksum 23:40:15 8ad3a11d3b57: Download complete 23:40:15 36b3adc4ff6f: Pull complete 23:40:18 8ad3a11d3b57: Pull complete 23:40:18 46f8f816bc3b: Pull complete 23:40:20 93b61091891f: Pull complete 23:40:21 93b9cdb0e59b: Pull complete 23:40:21 5e14af77c1be: Pull complete 23:40:23 01666e4c0597: Pull complete 23:40:30 aa168da1d23b: Verifying Checksum 23:40:30 aa168da1d23b: Download complete 23:40:52 aa168da1d23b: Pull complete 23:40:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:40:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:40:53 prd-centos7-docker-4c-2g-27412 does not seem to be running inside a container 23:40:53 $ 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-794/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-794 -v /w/workspace/dgexfoundry_device-sdk-go_PR-794:/w/workspace/dgexfoundry_device-sdk-go_PR-794:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:41:00 $ docker top 3e5fc496a2859bcf2191be4baec56ca51e55dcdc46798282b689acfb40d818d8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:01 + touch /tmp/pre-build-complete [Pipeline] sh 23:41:02 + mkdir -p /var/log/sa [Pipeline] sh 23:41:03 + ls /var/log/sa-host 23:41:03 + sadf -c /var/log/sa-host/sa23 23:41:03 file_magic: OK 23:41:03 HZ: Using current value: 100 23:41:03 file_header: OK 23:41:03 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 23:41:03 Statistics: 23:41:03 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...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:41:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:04 provisioning config files... 23:41:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config1201769957029938237tmp [Pipeline] { [Pipeline] echo 23:41:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:41:04 ---> create-netrc.sh [Pipeline] } 23:41:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:41:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:41:06 ---> python-tools-install.sh [Pipeline] echo 23:41:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:41:07 ---> sudo-logs.sh 23:41:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:41:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:41:08 ---> job-cost.sh 23:41:08 lf-activate-venv: SKIPPING 23:41:08 DEBUG: total: 0.029999999329447746 23:41:08 INFO: Retrieving Stack Cost... 23:41:09 INFO: Retrieving Pricing Info for: v1-standard-2 23:41:11 INFO: Archiving Costs [Pipeline] echo 23:41:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:41:12 ---> logs-deploy.sh 23:41:12 lf-activate-venv: SKIPPING 23:41:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-794/2 23:41:12 INFO: archiving workspace using pattern(s): 23:41:16 Archives upload complete. 23:41:16 INFO: archiving logs to Nexus 23:41:19 ---> uname -a: 23:41:19 Linux prd-centos7-docker-4c-2g-27412.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 23:41:19 23:41:19 23:41:19 ---> lscpu: 23:41:19 Architecture: x86_64 23:41:19 CPU op-mode(s): 32-bit, 64-bit 23:41:19 Byte Order: Little Endian 23:41:19 Address sizes: 40 bits physical, 48 bits virtual 23:41:19 CPU(s): 4 23:41:19 On-line CPU(s) list: 0-3 23:41:19 Thread(s) per core: 1 23:41:19 Core(s) per socket: 1 23:41:19 Socket(s): 4 23:41:19 NUMA node(s): 1 23:41:19 Vendor ID: GenuineIntel 23:41:19 CPU family: 6 23:41:19 Model: 44 23:41:19 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:41:19 Stepping: 1 23:41:19 CPU MHz: 2933.438 23:41:19 BogoMIPS: 5866.87 23:41:19 Virtualization: VT-x 23:41:19 Hypervisor vendor: KVM 23:41:19 Virtualization type: full 23:41:19 L1d cache: 128 KiB 23:41:19 L1i cache: 128 KiB 23:41:19 L2 cache: 16 MiB 23:41:19 L3 cache: 64 MiB 23:41:19 NUMA node0 CPU(s): 0-3 23:41:19 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:41:19 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:41:19 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:41:19 Vulnerability Meltdown: Mitigation; PTI 23:41:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:41:19 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:41:19 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:41:19 Vulnerability Srbds: Not affected 23:41:19 Vulnerability Tsx async abort: Not affected 23:41:19 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 23:41:19 23:41:19 23:41:19 ---> nproc: 23:41:19 4 23:41:19 23:41:19 23:41:19 ---> df -h: 23:41:19 Filesystem Size Used Available Use% Mounted on 23:41:19 overlay 50.0G 6.9G 43.1G 14% / 23:41:19 tmpfs 64.0M 0 64.0M 0% /dev 23:41:19 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:41:19 shm 64.0M 0 64.0M 0% /dev/shm 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /facter-os 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/resolv.conf 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hostname 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hosts 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/sa-host 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/secure 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/auth.log 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /run/cloud-init/result.json 23:41:19 /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-794 23:41:19 23:41:19 23:41:19 ---> free -m: 23:41:19 total used free shared buff/cache available 23:41:19 Mem: 1837 718 111 0 1008 1014 23:41:19 Swap: 1023 1 1022 23:41:19 23:41:19 23:41:19 ---> ip addr: 23:41:19 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:41:19 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:41:19 inet 127.0.0.1/8 scope host lo 23:41:19 valid_lft forever preferred_lft forever 23:41:19 inet6 ::1/128 scope host 23:41:19 valid_lft forever preferred_lft forever 23:41:19 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:41:19 link/ether fa:16:3e:03:18:a8 brd ff:ff:ff:ff:ff:ff 23:41:19 inet 10.30.123.252/23 brd 10.30.123.255 scope global dynamic eth0 23:41:19 valid_lft 85478sec preferred_lft 85478sec 23:41:19 inet6 fe80::f816:3eff:fe03:18a8/64 scope link 23:41:19 valid_lft forever preferred_lft forever 23:41:19 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:41:19 link/ether 02:42:34:bb:fa:39 brd ff:ff:ff:ff:ff:ff 23:41:19 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:41:19 valid_lft forever preferred_lft forever 23:41:19 inet6 fe80::42:34ff:febb:fa39/64 scope link 23:41:19 valid_lft forever preferred_lft forever 23:41:19 23:41:19