Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of vijay-hcl-epl for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fc417a4a7760e79cd3fb62518c4fb0334d857caa+76d059c2e27a3d5d488ff0022063f09e99d334bf (14b058de8b0906bd8885e419b43024a6672714a2) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23327 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-750 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa Merge succeeded, producing 2bbacc500818ba646153d5a4edbfc4162d2d85c4 Checking out Revision 2bbacc500818ba646153d5a4edbfc4162d2d85c4 (PR-750) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bbacc500818ba646153d5a4edbfc4162d2d85c4 # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:59 ========================================================= 02:42:59 EdgeX Global Pipelines Version Info 02:42:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:01 ------------------- 02:43:01 stable info: 02:43:01 ------------------- 02:43:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:01 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:01 Message: update stable to v1.0.179 02:43:02 ------------------- 02:43:02 experimental info: 02:43:02 ------------------- 02:43:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:02 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:02 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-750 [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-750 [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-750 [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bbacc500818ba646153d5a4edbfc4162d2d85c4 [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bbacc5 [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:06 provisioning config files... 02:43:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config3166939085438965681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:06 ---> docker-login.sh 02:43:06 nexus3.edgexfoundry.org:10001 02:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 nexus3.edgexfoundry.org:10002 02:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 nexus3.edgexfoundry.org:10003 02:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 nexus3.edgexfoundry.org:10004 02:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 docker.io 02:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 ---> docker-login.sh ends [Pipeline] } 02:43:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:08 + git log --format=format:%s -1 2bbacc500818ba646153d5a4edbfc4162d2d85c4 [Pipeline] echo 02:43:08 GIT_COMMIT: 2bbacc500818ba646153d5a4edbfc4162d2d85c4, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo 02:43:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:09 02:43:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:09 latest: Pulling from edgex-devops/git-semver 02:43:09 31603596830f: Pulling fs layer 02:43:09 2a8b12db71e7: Pulling fs layer 02:43:09 6ca5941a6612: Pulling fs layer 02:43:09 ecc8261a40a4: Pulling fs layer 02:43:09 ecc8261a40a4: Waiting 02:43:09 2a8b12db71e7: Verifying Checksum 02:43:09 2a8b12db71e7: Download complete 02:43:09 31603596830f: Verifying Checksum 02:43:09 31603596830f: Download complete 02:43:10 6ca5941a6612: Verifying Checksum 02:43:10 6ca5941a6612: Download complete 02:43:10 ecc8261a40a4: Verifying Checksum 02:43:10 ecc8261a40a4: Download complete 02:43:10 31603596830f: Pull complete 02:43:10 2a8b12db71e7: Pull complete 02:43:11 6ca5941a6612: Pull complete 02:43:11 ecc8261a40a4: Pull complete 02:43:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:11 prd-centos7-docker-4c-2g-23327 does not seem to be running inside a container 02:43:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:13 $ docker top e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:14 [ssh-agent] Looking for ssh-agent implementation... 02:43:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:14 $ docker exec e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 ssh-agent 02:43:14 SSH_AUTH_SOCK=/tmp/ssh-TYCcs7TVqSbT/agent.11 02:43:14 SSH_AGENT_PID=16 02:43:14 Running ssh-add (command line suppressed) 02:43:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_2201634455607603502.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_2201634455607603502.key) 02:43:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:15 + git tag --points-at HEAD [Pipeline] } 02:43:15 $ docker exec --env ******** --env ******** e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 ssh-agent -k 02:43:15 unset SSH_AUTH_SOCK; 02:43:15 unset SSH_AGENT_PID; 02:43:15 echo Agent pid 16 killed; 02:43:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:15 [ssh-agent] Looking for ssh-agent implementation... 02:43:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:15 $ docker exec e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 ssh-agent 02:43:15 SSH_AUTH_SOCK=/tmp/ssh-7ztbtI3wA6lO/agent.44 02:43:15 SSH_AGENT_PID=49 02:43:15 Running ssh-add (command line suppressed) 02:43:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_1025166284259313004.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_1025166284259313004.key) 02:43:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:16 + git semver init 02:43:16 # -> Open(): unable to determine branch for HEAD 02:43:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.git 02:43:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-750 02:43:16 # $SEMVER_REMOTE_NAME = origin 02:43:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:16 # $SEMVER_USER_NAME = edgex-jenkins 02:43:16 # $SEMVER_BRANCH = PR-750 02:43:16 # $SEMVER_TEMP = /tmp/semver-426911409 02:43:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:17 # '/tmp/semver-426911409' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver' 02:43:17 # -> Force: false 02:43:17 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver [Pipeline] } 02:43:17 $ docker exec --env ******** --env ******** e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 ssh-agent -k 02:43:17 unset SSH_AUTH_SOCK; 02:43:17 unset SSH_AGENT_PID; 02:43:17 echo Agent pid 49 killed; 02:43:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:18 + git semver [Pipeline] } 02:43:18 $ docker stop --time=1 e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 02:43:19 $ docker rm -f e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:20 Stashed 1 file(s) [Pipeline] echo 02:43:20 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:43:36 Still waiting to schedule task 02:43:36 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23325’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:36 Still waiting to schedule task 02:43:36 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:44:43 Running on prd-centos7-docker-4c-2g-23330 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws 02:44:43 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:44:52 using credential edgex-jenkins-ssh 02:44:52 Cloning the remote Git repository 02:44:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:52 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:44:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:52 > git --version # timeout=10 02:44:52 > git --version # 'git version 2.24.3' 02:44:52 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:54 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa 02:44:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:54 > git config core.sparsecheckout # timeout=10 02:44:54 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 02:44:54 > git remote # timeout=10 02:44:54 > git config --get remote.origin.url # timeout=10 02:44:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:55 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:44:56 Merge succeeded, producing a45b28c82594f09092fa19c141243984f3ae8e44 02:44:56 Checking out Revision a45b28c82594f09092fa19c141243984f3ae8e44 (PR-750) 02:44:56 > git rev-parse HEAD^{commit} # timeout=10 02:44:56 > git config core.sparsecheckout # timeout=10 02:44:56 > git checkout -f a45b28c82594f09092fa19c141243984f3ae8e44 # timeout=10 02:45:01 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:45:01 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:01 > git rev-list --no-walk 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 # timeout=10 02:45:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:03 + sudo service docker restart 02:45:03 + true 02:45:03 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:06 provisioning config files... 02:45:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3429962884144639466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:06 ---> docker-login.sh 02:45:06 nexus3.edgexfoundry.org:10001 02:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:08 Configure a credential helper to remove this warning. See 02:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:08 02:45:08 Login Succeeded 02:45:08 nexus3.edgexfoundry.org:10002 02:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:08 Configure a credential helper to remove this warning. See 02:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:08 02:45:08 Login Succeeded 02:45:08 nexus3.edgexfoundry.org:10003 02:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:09 Configure a credential helper to remove this warning. See 02:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:09 02:45:09 Login Succeeded 02:45:09 nexus3.edgexfoundry.org:10004 02:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:10 Configure a credential helper to remove this warning. See 02:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:10 02:45:10 Login Succeeded 02:45:10 docker.io 02:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:11 Configure a credential helper to remove this warning. See 02:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:11 02:45:11 Login Succeeded 02:45:11 ---> docker-login.sh ends [Pipeline] } 02:45:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:11 ========================================================= 02:45:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:12 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:45:12 Sending build context to Docker daemon 2.637MB 02:45:12 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:12 Step 2/8 : FROM ${BASE} 02:45:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:13 188c0c94c7c5: Pulling fs layer 02:45:13 0ef7d3d256c8: Pulling fs layer 02:45:13 de9db76c5a1d: Pulling fs layer 02:45:13 bca2f99d35d6: Pulling fs layer 02:45:13 93359f2a8cfa: Pulling fs layer 02:45:13 7c6f9722023f: Pulling fs layer 02:45:13 a35cf1a2eb13: Pulling fs layer 02:45:13 93359f2a8cfa: Waiting 02:45:13 bca2f99d35d6: Waiting 02:45:13 7c6f9722023f: Waiting 02:45:13 a35cf1a2eb13: Waiting 02:45:13 de9db76c5a1d: Verifying Checksum 02:45:13 de9db76c5a1d: Download complete 02:45:13 0ef7d3d256c8: Verifying Checksum 02:45:13 0ef7d3d256c8: Download complete 02:45:13 93359f2a8cfa: Verifying Checksum 02:45:13 93359f2a8cfa: Download complete 02:45:13 7c6f9722023f: Verifying Checksum 02:45:13 7c6f9722023f: Download complete 02:45:13 188c0c94c7c5: Verifying Checksum 02:45:13 188c0c94c7c5: Download complete 02:45:14 188c0c94c7c5: Pull complete 02:45:14 0ef7d3d256c8: Pull complete 02:45:15 de9db76c5a1d: Pull complete 02:45:22 a35cf1a2eb13: Verifying Checksum 02:45:22 a35cf1a2eb13: Download complete 02:45:24 bca2f99d35d6: Verifying Checksum 02:45:24 bca2f99d35d6: Download complete 02:45:39 bca2f99d35d6: Pull complete 02:45:39 93359f2a8cfa: Pull complete 02:45:39 7c6f9722023f: Pull complete 02:45:45 a35cf1a2eb13: Pull complete 02:45:45 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:45 ---> a62c8e92a672 02:45:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:45 ---> Running in 0bcc28120eb6 02:45:46 Removing intermediate container 0bcc28120eb6 02:45:46 ---> dbc34290568c 02:45:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:46 ---> Running in 9fa49e60b031 02:45:49 Removing intermediate container 9fa49e60b031 02:45:49 ---> 87577366caf1 02:45:49 Step 5/8 : RUN apk add --update --no-cache make git 02:45:49 ---> Running in 30b95f602111 02:45:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:53 OK: 166 MiB in 39 packages 02:45:53 Removing intermediate container 30b95f602111 02:45:53 ---> 238172d2fe74 02:45:53 Step 6/8 : WORKDIR /device-sdk-go 02:45:53 ---> Running in 0bd4d1757eb3 02:45:54 Removing intermediate container 0bd4d1757eb3 02:45:54 ---> e66884b18ec7 02:45:54 Step 7/8 : COPY . . 02:45:56 ---> b6bc3ccc8780 02:45:56 Step 8/8 : RUN go mod download 02:45:56 ---> Running in 8b67ca22a49e 02:45:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23339 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws 02:45:59 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:46:04 using credential edgex-jenkins-ssh 02:46:04 Cloning the remote Git repository 02:46:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:04 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:04 > git --version # timeout=10 02:46:04 > git --version # 'git version 2.17.1' 02:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:07 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa 02:46:07 Merge succeeded, producing dc2804b5200cc53467e1c56ccf54ca3e5565f658 02:46:07 Checking out Revision dc2804b5200cc53467e1c56ccf54ca3e5565f658 (PR-750) 02:46:07 > git config core.sparsecheckout # timeout=10 02:46:07 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 02:46:07 > git remote # timeout=10 02:46:07 > git config --get remote.origin.url # timeout=10 02:46:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:07 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:46:07 > git rev-parse HEAD^{commit} # timeout=10 02:46:07 > git config core.sparsecheckout # timeout=10 02:46:07 > git checkout -f dc2804b5200cc53467e1c56ccf54ca3e5565f658 # timeout=10 02:46:11 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:46:11 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:11 > git rev-list --no-walk 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 # timeout=10 02:46:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:14 + sudo service docker restart 02:46:14 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:16 provisioning config files... 02:46:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5108070506680724842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:17 ---> docker-login.sh 02:46:17 nexus3.edgexfoundry.org:10001 02:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:18 Configure a credential helper to remove this warning. See 02:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:18 02:46:18 Login Succeeded 02:46:18 nexus3.edgexfoundry.org:10002 02:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:19 Configure a credential helper to remove this warning. See 02:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:19 02:46:19 Login Succeeded 02:46:19 nexus3.edgexfoundry.org:10003 02:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:19 Configure a credential helper to remove this warning. See 02:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:19 02:46:19 Login Succeeded 02:46:19 nexus3.edgexfoundry.org:10004 02:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:20 Configure a credential helper to remove this warning. See 02:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:20 02:46:20 Login Succeeded 02:46:20 docker.io 02:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:21 Configure a credential helper to remove this warning. See 02:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:21 02:46:21 Login Succeeded 02:46:21 ---> docker-login.sh ends [Pipeline] } 02:46:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:21 ========================================================= 02:46:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:22 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:46:22 Sending build context to Docker daemon 2.636MB 02:46:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:22 Step 2/8 : FROM ${BASE} 02:46:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:22 5f621e34cdf4: Pulling fs layer 02:46:22 a4357932f1b6: Pulling fs layer 02:46:22 18c013af1878: Pulling fs layer 02:46:22 00ac8860ef70: Pulling fs layer 02:46:22 00ac8860ef70: Waiting 02:46:22 63d7cb157983: Pulling fs layer 02:46:22 b116817d02f9: Pulling fs layer 02:46:22 745a02a5169b: Pulling fs layer 02:46:22 63d7cb157983: Waiting 02:46:22 745a02a5169b: Waiting 02:46:22 b116817d02f9: Waiting 02:46:22 18c013af1878: Verifying Checksum 02:46:22 18c013af1878: Download complete 02:46:22 a4357932f1b6: Verifying Checksum 02:46:22 a4357932f1b6: Download complete 02:46:22 63d7cb157983: Verifying Checksum 02:46:22 63d7cb157983: Download complete 02:46:23 b116817d02f9: Download complete 02:46:24 5f621e34cdf4: Verifying Checksum 02:46:24 5f621e34cdf4: Download complete 02:46:24 5f621e34cdf4: Pull complete 02:46:25 a4357932f1b6: Pull complete 02:46:25 18c013af1878: Pull complete 02:46:26 745a02a5169b: Download complete 02:46:28 00ac8860ef70: Verifying Checksum 02:46:28 00ac8860ef70: Download complete 02:46:36 Removing intermediate container 8b67ca22a49e 02:46:36 ---> cb3842d23667 02:46:36 Successfully built cb3842d23667 02:46:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:37 + docker inspect -f . ci-base-image-x86_64 02:46:37 . [Pipeline] withDockerContainer 02:46:37 prd-centos7-docker-4c-2g-23330 does not seem to be running inside a container 02:46:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:38 00ac8860ef70: Pull complete 02:46:38 63d7cb157983: Pull complete 02:46:38 b116817d02f9: Pull complete 02:46:40 $ docker top 6cb67d0bd40a34de454637e231a78a87c68b2d8610169bad180c86f6d73d8e2d -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:41 745a02a5169b: Pull complete 02:46:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:41 ---> b7e6874047d6 02:46:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:41 + go version 02:46:41 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:41 $ docker stop --time=1 6cb67d0bd40a34de454637e231a78a87c68b2d8610169bad180c86f6d73d8e2d 02:46:43 $ docker rm -f 6cb67d0bd40a34de454637e231a78a87c68b2d8610169bad180c86f6d73d8e2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:44 + docker inspect -f . ci-base-image-x86_64 02:46:44 . 02:46:44 ---> Running in 972793becfd1 02:46:44 Removing intermediate container 972793becfd1 02:46:44 ---> 4383db15c541 02:46:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:44 ---> Running in 882854dfd081 [Pipeline] withDockerContainer 02:46:44 prd-centos7-docker-4c-2g-23330 does not seem to be running inside a container 02:46:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:46 $ docker top 41708b0c06d61d7ef08721c79aacb4425b48d2637aba8583b7b3ece817e77b75 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:47 Removing intermediate container 882854dfd081 02:46:47 ---> ac5a4c6f6991 02:46:47 Step 5/8 : RUN apk add --update --no-cache make git 02:46:47 ---> Running in afb89df2131a 02:46:47 + make test 02:46:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:52 OK: 142 MiB in 39 packages 02:46:53 Removing intermediate container afb89df2131a 02:46:53 ---> 53cb5e3fdb7d 02:46:53 Step 6/8 : WORKDIR /device-sdk-go 02:46:53 ---> Running in e6f5bcaaffa1 02:46:54 Removing intermediate container e6f5bcaaffa1 02:46:54 ---> 9a69a8e76d31 02:46:54 Step 7/8 : COPY . . 02:46:55 ---> 82c4ebea0664 02:46:55 Step 8/8 : RUN go mod download 02:46:55 ---> Running in 34c3c8d4a5cd 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:22 Removing intermediate container 34c3c8d4a5cd 02:47:22 ---> 891ceaa2486b 02:47:22 Successfully built 891ceaa2486b 02:47:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:23 + docker inspect -f . ci-base-image-arm64 02:47:23 . [Pipeline] withDockerContainer 02:47:23 prd-ubuntu18.04-docker-arm64-4c-16g-23339 does not seem to be running inside a container 02:47:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:25 $ docker top ed05ebe29674bdb99895fe40f657af6aaf2d890c946d85596a0f73028e23f111 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:26 + go version 02:47:26 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:26 $ docker stop --time=1 ed05ebe29674bdb99895fe40f657af6aaf2d890c946d85596a0f73028e23f111 02:47:28 $ docker rm -f ed05ebe29674bdb99895fe40f657af6aaf2d890c946d85596a0f73028e23f111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:29 + docker inspect -f . ci-base-image-arm64 02:47:29 . [Pipeline] withDockerContainer 02:47:29 prd-ubuntu18.04-docker-arm64-4c-16g-23339 does not seem to be running inside a container 02:47:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:31 $ docker top a1c46c23b400a85a2a4eae7ac2d3e782010e516fdd0debdffdca5b786d3bcdf6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:32 + make test 02:47:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 19.4% of statements 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.756s coverage: 97.1% of statements 02:47:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.174s coverage: 9.4% of statements 02:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.153s coverage: 21.7% of statements 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.457s coverage: 43.2% of statements 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.562s coverage: 68.9% of statements 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.121s coverage: 53.8% of statements 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.103s coverage: 26.8% of statements 02:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.480s coverage: 83.5% of statements 02:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.088s coverage: 4.2% of statements 02:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:14 GO111MODULE=on go vet ./... 02:48:37 gofmt -l . 02:48:37 [ "`gofmt -l .`" = "" ] 02:48:37 ./bin/test-attribution-txt.sh 02:48:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:38 $ docker stop --time=1 41708b0c06d61d7ef08721c79aacb4425b48d2637aba8583b7b3ece817e77b75 02:48:41 $ docker rm -f 41708b0c06d61d7ef08721c79aacb4425b48d2637aba8583b7b3ece817e77b75 [Pipeline] // withDockerContainer 02:48:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 19.4% of statements [Pipeline] sh 02:48:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 02:48:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.353s coverage: 97.1% of statements [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:45 + ls -al . 02:48:45 total 216 02:48:45 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:48 . 02:48:45 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:44 .. 02:48:45 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:44 bin 02:48:45 -rw-r--r--. 1 jenkins jenkins 136842 Jan 27 02:48 coverage.out 02:48:45 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:44 Dockerfile.build 02:48:45 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:44 .dockerignore 02:48:45 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:44 example 02:48:45 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:45 .git 02:48:45 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:44 .github 02:48:45 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:44 .gitignore 02:48:45 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:48 go.mod 02:48:45 -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 02:48 go.sum 02:48:45 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:44 internal 02:48:45 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:44 Jenkinsfile 02:48:45 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:44 LICENSE 02:48:45 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:44 Makefile 02:48:45 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:44 openapi 02:48:45 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:44 pkg 02:48:45 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:44 README.md 02:48:45 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:44 RELEASE-NOTES.txt 02:48:45 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:44 snap 02:48:45 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:43 VERSION 02:48:45 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:48:45 + 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=2bbacc500818ba646153d5a4edbfc4162d2d85c4 --label arch=amd64 --label version=0.0.0 . 02:48:45 Sending build context to Docker daemon 2.775MB 02:48:45 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:48:45 Step 2/24 : FROM ${BASE} AS builder 02:48:45 ---> cb3842d23667 02:48:45 Step 3/24 : ARG MAKE='make build' 02:48:46 ---> Running in 8f2eaf4ef1bb 02:48:46 Removing intermediate container 8f2eaf4ef1bb 02:48:46 ---> f35b96fd34b2 02:48:46 Step 4/24 : WORKDIR /device-sdk-go 02:48:46 ---> Running in ea2986319eff 02:48:46 Removing intermediate container ea2986319eff 02:48:46 ---> 9e726cd22741 02:48:46 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:47 ---> Running in 797377bc9a7e 02:48:47 Removing intermediate container 797377bc9a7e 02:48:47 ---> 227e3f974d1f 02:48:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:47 ---> Running in 46d2b8488b21 02:48:48 Removing intermediate container 46d2b8488b21 02:48:48 ---> 37bb67fe3ef3 02:48:48 Step 7/24 : RUN apk add --update --no-cache make git 02:48:48 ---> Running in 6ae9f794d0d3 02:48:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:51 OK: 166 MiB in 39 packages 02:48:52 Removing intermediate container 6ae9f794d0d3 02:48:52 ---> c78de13995a9 02:48:52 Step 8/24 : COPY . . 02:48:53 ---> 4b6186001d98 02:48:53 Step 9/24 : RUN ${MAKE} 02:48:53 ---> Running in d18ce06005f6 02:48:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:49:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:14 Removing intermediate container d18ce06005f6 02:49:14 ---> 846a0c5640b7 02:49:14 Step 10/24 : FROM scratch 02:49:14 ---> 02:49:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:14 ---> Running in 327353dd03c7 02:49:14 Removing intermediate container 327353dd03c7 02:49:14 ---> 5cd2b2f9fe78 02:49:14 Step 12/24 : ENV APP_PORT=49990 02:49:14 ---> Running in 73bc080fe124 02:49:15 Removing intermediate container 73bc080fe124 02:49:15 ---> e215c7563602 02:49:15 Step 13/24 : EXPOSE $APP_PORT 02:49:15 ---> Running in bb451f2a325a 02:49:15 Removing intermediate container bb451f2a325a 02:49:15 ---> fd6cda9d03ca 02:49:15 Step 14/24 : WORKDIR / 02:49:15 ---> Running in 6080f0df76d6 02:49:15 Removing intermediate container 6080f0df76d6 02:49:15 ---> cbf348d3cb8a 02:49:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.138s coverage: 9.4% of statements 02:49:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.129s coverage: 21.7% of statements 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.648s coverage: 43.2% of statements 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.778s coverage: 68.9% of statements 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.215s coverage: 53.8% of statements 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.159s coverage: 26.8% of statements 02:49:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.892s coverage: 83.5% of statements 02:49:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.155s coverage: 4.2% of statements 02:49:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:15 GO111MODULE=on go vet ./... 02:49:16 ---> d01d6ed9018b 02:49:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:17 ---> 4579c1e50be1 02:49:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:17 ---> f4f389aceaa6 02:49:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:18 ---> a63f6f8c5ef6 02:49:18 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:18 ---> c01e4cc6fbe8 02:49:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:18 ---> Running in e88647f2fa02 02:49:19 Removing intermediate container e88647f2fa02 02:49:19 ---> 65745115c963 02:49:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:19 ---> Running in 03dbf8042641 02:49:19 Removing intermediate container 03dbf8042641 02:49:19 ---> f110d3faac03 02:49:19 Step 22/24 : LABEL arch=amd64 02:49:19 ---> Running in 348270385d5d 02:49:19 Removing intermediate container 348270385d5d 02:49:19 ---> bbcbe24b12f7 02:49:19 Step 23/24 : LABEL git_sha=2bbacc500818ba646153d5a4edbfc4162d2d85c4 02:49:19 ---> Running in 16151233adfb 02:49:20 Removing intermediate container 16151233adfb 02:49:20 ---> f206da2d834b 02:49:20 Step 24/24 : LABEL version=0.0.0 02:49:20 ---> Running in 4d43181002f7 02:49:20 Removing intermediate container 4d43181002f7 02:49:20 ---> 60bfce396b51 02:49:20 [Warning] One or more build-args [ARCH] were not consumed 02:49:20 Successfully built 60bfce396b51 02:49:20 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:48 gofmt -l . 02:49:48 [ "`gofmt -l .`" = "" ] 02:49:48 ./bin/test-attribution-txt.sh 02:49:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:48 $ docker stop --time=1 a1c46c23b400a85a2a4eae7ac2d3e782010e516fdd0debdffdca5b786d3bcdf6 02:49:50 $ docker rm -f a1c46c23b400a85a2a4eae7ac2d3e782010e516fdd0debdffdca5b786d3bcdf6 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:51 Warning: overwriting stash ‘coverage-report’ 02:49:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:53 + ls -al . 02:49:53 total 252 02:49:53 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:49 . 02:49:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 .. 02:49:53 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:46 .dockerignore 02:49:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:46 .git 02:49:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 .github 02:49:53 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:46 .gitignore 02:49:53 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:46 Dockerfile.build 02:49:53 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:46 Jenkinsfile 02:49:53 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:46 LICENSE 02:49:53 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:46 Makefile 02:49:53 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:46 README.md 02:49:53 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:46 RELEASE-NOTES.txt 02:49:53 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:43 VERSION 02:49:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 bin 02:49:53 -rw-r--r-- 1 jenkins jenkins 136843 Jan 27 02:49 coverage.out 02:49:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 example 02:49:53 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:49 go.mod 02:49:53 -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 02:49 go.sum 02:49:53 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:46 internal 02:49:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 openapi 02:49:53 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:46 pkg 02:49:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 snap 02:49:53 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:49:53 + 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=2bbacc500818ba646153d5a4edbfc4162d2d85c4 --label arch=arm64 --label version=0.0.0 . 02:49:54 Sending build context to Docker daemon 2.774MB 02:49:54 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:54 Step 2/24 : FROM ${BASE} AS builder 02:49:54 ---> 891ceaa2486b 02:49:54 Step 3/24 : ARG MAKE='make build' 02:49:54 ---> Running in 8c17eff46e67 02:49:55 Removing intermediate container 8c17eff46e67 02:49:55 ---> b590daf9ce9f 02:49:55 Step 4/24 : WORKDIR /device-sdk-go 02:49:55 ---> Running in b62265200410 02:49:55 Removing intermediate container b62265200410 02:49:55 ---> bd06c4abe3b6 02:49:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:55 ---> Running in 00af6b86c31a 02:49:56 Removing intermediate container 00af6b86c31a 02:49:56 ---> 3cccd4d69c20 02:49:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:56 ---> Running in 33b85181f426 02:49:58 Removing intermediate container 33b85181f426 02:49:58 ---> 51327edc74f3 02:49:58 Step 7/24 : RUN apk add --update --no-cache make git 02:49:58 ---> Running in d5c2e5d77180 02:49:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:01 OK: 142 MiB in 39 packages 02:50:02 Removing intermediate container d5c2e5d77180 02:50:02 ---> bc4f159bb80c 02:50:02 Step 8/24 : COPY . . 02:50:03 ---> 58300f08a0a3 02:50:03 Step 9/24 : RUN ${MAKE} 02:50:04 ---> Running in 63eedf30486e 02:50:05 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:32 Removing intermediate container 63eedf30486e 02:50:32 ---> 783bf980a65a 02:50:32 Step 10/24 : FROM scratch 02:50:32 ---> 02:50:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:32 ---> Running in af8ba113bab4 02:50:32 Removing intermediate container af8ba113bab4 02:50:32 ---> 062d5c5402a3 02:50:32 Step 12/24 : ENV APP_PORT=49990 02:50:32 ---> Running in be7f47a7192b 02:50:33 Removing intermediate container be7f47a7192b 02:50:33 ---> 27553c6e2afd 02:50:33 Step 13/24 : EXPOSE $APP_PORT 02:50:33 ---> Running in 7a4e548e4d4f 02:50:33 Removing intermediate container 7a4e548e4d4f 02:50:33 ---> 22ac1e4beecc 02:50:33 Step 14/24 : WORKDIR / 02:50:33 ---> Running in 4a7c40f820fc 02:50:34 Removing intermediate container 4a7c40f820fc 02:50:34 ---> 899276703c8a 02:50:34 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:35 ---> 2ed3a50c9dc2 02:50:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:36 ---> 0e4a028f5f59 02:50:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:36 ---> 1b6347d3ff98 02:50:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:37 ---> 5e794be3577a 02:50:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:38 ---> 8ef7c9081df0 02:50:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:38 ---> Running in 025a77a389fa 02:50:38 Removing intermediate container 025a77a389fa 02:50:38 ---> 236e8d962dc6 02:50:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:38 ---> Running in 28666a2acb1f 02:50:39 Removing intermediate container 28666a2acb1f 02:50:39 ---> 1b7ed1d58063 02:50:39 Step 22/24 : LABEL arch=arm64 02:50:39 ---> Running in 357dde388ec3 02:50:40 Removing intermediate container 357dde388ec3 02:50:40 ---> 416bad458ddc 02:50:40 Step 23/24 : LABEL git_sha=2bbacc500818ba646153d5a4edbfc4162d2d85c4 02:50:40 ---> Running in d66c7aed8548 02:50:40 Removing intermediate container d66c7aed8548 02:50:40 ---> 208757b7a648 02:50:40 Step 24/24 : LABEL version=0.0.0 02:50:40 ---> Running in 811e4f36d00e 02:50:41 Removing intermediate container 811e4f36d00e 02:50:41 ---> 9ac5d9997106 02:50:41 [Warning] One or more build-args [ARCH] were not consumed 02:50:41 Successfully built 9ac5d9997106 02:50:41 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:50:42 provisioning config files... 02:50:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config5159618814034174736tmp [Pipeline] { [Pipeline] sh 02:50:43 + set +x 02:50:43 + curl -s https://codecov.io/bash 02:50:43 + bash -s -- 02:50:43 02:50:43 _____ _ 02:50:43 / ____| | | 02:50:43 | | ___ __| | ___ ___ _____ __ 02:50:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:43 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:43 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:43 Bash-20210115-cec3c92 02:50:43 02:50:43 02:50:43 ==> git version 2.24.3 found 02:50:43 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:50:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:43 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:43 ==> Jenkins CI detected. 02:50:43 project root: . 02:50:43 --> token set from env 02:50:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:43 ==> Running gcov in . (disable via -X gcov) 02:50:43 ==> Python coveragepy not found 02:50:43 ==> Searching for coverage reports in: 02:50:43 + . 02:50:43 -> Found 1 reports 02:50:43 ==> Detecting git/mercurial file structure 02:50:43 ==> Reading reports 02:50:43 + ./coverage.out bytes=136843 02:50:43 ==> Appending adjustments 02:50:43 https://docs.codecov.io/docs/fixing-reports 02:50:44 + Found adjustments 02:50:44 ==> Gzipping contents 02:50:44 24K /tmp/codecov.vUqOdW.gz 02:50:44 ==> Uploading reports 02:50:44 url: https://codecov.io 02:50:44 query: branch=PR-750&commit=2bbacc500818ba646153d5a4edbfc4162d2d85c4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= 02:50:44 -> Pinging Codecov 02:50:44 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-750&commit=2bbacc500818ba646153d5a4edbfc4162d2d85c4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= 02:50:44 -> Uploading to 02:50:44 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/2bbacc500818ba646153d5a4edbfc4162d2d85c4/89fce640-a610-490a-bcc7-2d5588d6ac55.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0001275e902ffb0ea4df3d345bc2d0357fb005d4a8f54d07c4304859c9f4d7a3 02:50:44 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:44 Dload Upload Total Spent Left Speed 02:50:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21570 0 0 100 21570 0 48560 --:--:-- --:--:-- --:--:-- 48471 02:50:44 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2bbacc500818ba646153d5a4edbfc4162d2d85c4 [Pipeline] } 02:50:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:50:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:48 ---> package-listing.sh 02:50:48 ++ facter osfamily 02:50:48 ++ tr '[:upper:]' '[:lower:]' 02:50:48 + OS_FAMILY=redhat 02:50:48 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-750 02:50:48 + START_PACKAGES=/tmp/packages_start.txt 02:50:48 + END_PACKAGES=/tmp/packages_end.txt 02:50:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:48 + PACKAGES=/tmp/packages_start.txt 02:50:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' 02:50:48 + PACKAGES=/tmp/packages_end.txt 02:50:48 + case "${OS_FAMILY}" in 02:50:48 + rpm -qa 02:50:48 + sort 02:50:54 + '[' -f /tmp/packages_start.txt ']' 02:50:54 + '[' -f /tmp/packages_end.txt ']' 02:50:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' 02:50:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ 02:50:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [Pipeline] echo 02:50:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-750/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:55 02:50:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:55 alpine: Pulling from edgex-lftools-log-publisher 02:50:55 df20fa9351a1: Pulling fs layer 02:50:55 36b3adc4ff6f: Pulling fs layer 02:50:55 8ad3a11d3b57: Pulling fs layer 02:50:55 46f8f816bc3b: Pulling fs layer 02:50:55 93b61091891f: Pulling fs layer 02:50:55 93b9cdb0e59b: Pulling fs layer 02:50:55 5e14af77c1be: Pulling fs layer 02:50:55 01666e4c0597: Pulling fs layer 02:50:55 aa168da1d23b: Pulling fs layer 02:50:55 93b9cdb0e59b: Waiting 02:50:55 01666e4c0597: Waiting 02:50:55 5e14af77c1be: Waiting 02:50:55 aa168da1d23b: Waiting 02:50:55 46f8f816bc3b: Waiting 02:50:55 93b61091891f: Waiting 02:50:55 36b3adc4ff6f: Verifying Checksum 02:50:55 36b3adc4ff6f: Download complete 02:50:55 46f8f816bc3b: Download complete 02:50:55 df20fa9351a1: Download complete 02:50:55 93b9cdb0e59b: Download complete 02:50:55 5e14af77c1be: Verifying Checksum 02:50:55 5e14af77c1be: Download complete 02:50:55 93b61091891f: Verifying Checksum 02:50:55 93b61091891f: Download complete 02:50:55 01666e4c0597: Verifying Checksum 02:50:55 01666e4c0597: Download complete 02:50:55 8ad3a11d3b57: Verifying Checksum 02:50:55 8ad3a11d3b57: Download complete 02:50:56 df20fa9351a1: Pull complete 02:50:56 36b3adc4ff6f: Pull complete 02:50:57 8ad3a11d3b57: Pull complete 02:50:57 46f8f816bc3b: Pull complete 02:50:58 aa168da1d23b: Verifying Checksum 02:50:58 aa168da1d23b: Download complete 02:50:58 93b61091891f: Pull complete 02:50:59 93b9cdb0e59b: Pull complete 02:50:59 5e14af77c1be: Pull complete 02:50:59 01666e4c0597: Pull complete 02:51:05 aa168da1d23b: Pull complete 02:51:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:06 prd-centos7-docker-4c-2g-23327 does not seem to be running inside a container 02:51:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-750/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:09 $ docker top d3a3b56508d6928c7560030d9e7d05c5b8147873331c1bc29da4a87f7d9b595f -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:10 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:10 + mkdir -p /var/log/sa [Pipeline] sh 02:51:10 + ls /var/log/sa-host 02:51:10 + sadf -c /var/log/sa-host/sa23 02:51:10 file_magic: OK 02:51:10 HZ: Using current value: 100 02:51:10 file_header: OK 02:51:10 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:51:10 Statistics: 02:51:10 Hnuu...uuuununununu... 02:51:10 File successfully converted to sysstat format version 12.2.1 02:51:10 + sadf -c /var/log/sa-host/sa27 02:51:10 file_magic: OK 02:51:10 HZ: Using current value: 100 02:51:10 file_header: OK 02:51:10 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:51:10 Statistics: 02:51:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:11 provisioning config files... 02:51:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config6602468106547356497tmp [Pipeline] { [Pipeline] echo 02:51:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:11 ---> create-netrc.sh [Pipeline] } 02:51:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:11 ---> python-tools-install.sh [Pipeline] echo 02:51:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:12 ---> sudo-logs.sh 02:51:12 Archiving 'sudo' log.. [Pipeline] echo 02:51:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:12 ---> job-cost.sh 02:51:12 lf-activate-venv: SKIPPING 02:51:12 INFO: No Stack... 02:51:15 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:15 INFO: Archiving Costs [Pipeline] echo 02:51:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:15 ---> logs-deploy.sh 02:51:15 lf-activate-venv: SKIPPING 02:51:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-750/4 02:51:15 INFO: archiving workspace using pattern(s): 02:51:17 Archives upload complete. 02:51:17 INFO: archiving logs to Nexus 02:51:18 ---> uname -a: 02:51:18 Linux prd-centos7-docker-4c-2g-23327.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:51:18 02:51:18 02:51:18 ---> lscpu: 02:51:18 Architecture: x86_64 02:51:18 CPU op-mode(s): 32-bit, 64-bit 02:51:18 Byte Order: Little Endian 02:51:18 Address sizes: 40 bits physical, 48 bits virtual 02:51:18 CPU(s): 4 02:51:18 On-line CPU(s) list: 0-3 02:51:18 Thread(s) per core: 1 02:51:18 Core(s) per socket: 1 02:51:18 Socket(s): 4 02:51:18 NUMA node(s): 1 02:51:18 Vendor ID: GenuineIntel 02:51:18 CPU family: 6 02:51:18 Model: 44 02:51:18 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:51:18 Stepping: 1 02:51:18 CPU MHz: 2933.442 02:51:18 BogoMIPS: 5866.88 02:51:18 Virtualization: VT-x 02:51:18 Hypervisor vendor: KVM 02:51:18 Virtualization type: full 02:51:18 L1d cache: 128 KiB 02:51:18 L1i cache: 128 KiB 02:51:18 L2 cache: 16 MiB 02:51:18 L3 cache: 64 MiB 02:51:18 NUMA node0 CPU(s): 0-3 02:51:18 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:51:18 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:51:18 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:51:18 Vulnerability Meltdown: Mitigation; PTI 02:51:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:51:18 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:51:18 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:51:18 Vulnerability Srbds: Not affected 02:51:18 Vulnerability Tsx async abort: Not affected 02:51:18 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 02:51:18 02:51:18 02:51:18 ---> nproc: 02:51:18 4 02:51:18 02:51:18 02:51:18 ---> df -h: 02:51:18 Filesystem Size Used Available Use% Mounted on 02:51:18 overlay 50.0G 7.3G 42.7G 15% / 02:51:18 tmpfs 64.0M 0 64.0M 0% /dev 02:51:18 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:51:18 shm 64.0M 0 64.0M 0% /dev/shm 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-750 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:51:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:51:18 02:51:18 02:51:18 ---> free -m: 02:51:18 total used free shared buff/cache available 02:51:18 Mem: 1837 692 108 0 1036 1040 02:51:18 Swap: 1023 1 1022 02:51:18 02:51:18 02:51:18 ---> ip addr: 02:51:18 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:51:18 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:51:18 inet 127.0.0.1/8 scope host lo 02:51:18 valid_lft forever preferred_lft forever 02:51:18 inet6 ::1/128 scope host 02:51:18 valid_lft forever preferred_lft forever 02:51:18 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:51:18 link/ether fa:16:3e:f3:3f:67 brd ff:ff:ff:ff:ff:ff 02:51:18 inet 10.30.122.217/23 brd 10.30.123.255 scope global dynamic eth0 02:51:18 valid_lft 85865sec preferred_lft 85865sec 02:51:18 inet6 fe80::f816:3eff:fef3:3f67/64 scope link 02:51:18 valid_lft forever preferred_lft forever 02:51:18 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:51:18 link/ether 02:42:35:01:c2:41 brd ff:ff:ff:ff:ff:ff 02:51:18 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:51:18 valid_lft forever preferred_lft forever 02:51:18 inet6 fe80::42:35ff:fe01:c241/64 scope link 02:51:18 valid_lft forever preferred_lft forever 02:51:18 02:51:18 02:51:18 ---> sar -b -r -n DEV: 02:51:18 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 02:51:18 02:51:18 02:42:10 LINUX RESTART (4 CPU) 02:51:18 02:51:18 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:51:18 02:44:01 30.19 11.28 18.90 0.00 4356.30 2899.78 0.00 02:51:18 02:45:01 1.60 0.00 1.60 0.00 0.00 26.36 0.00 02:51:18 02:46:01 0.28 0.00 0.28 0.00 0.00 3.75 0.00 02:51:18 02:47:01 0.27 0.00 0.27 0.00 0.00 3.28 0.00 02:51:18 02:48:01 0.17 0.00 0.17 0.00 0.00 1.93 0.00 02:51:18 02:49:01 0.35 0.00 0.35 0.00 0.00 4.56 0.00 02:51:18 02:50:01 0.25 0.00 0.25 0.00 0.00 2.56 0.00 02:51:18 02:51:01 79.89 57.64 22.25 0.00 4062.22 7019.78 0.00 02:51:18 Average: 14.14 8.63 5.51 0.00 1053.34 1246.83 0.00 02:51:18 02:51:18 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:51:18 02:44:01 157668 0 591964 31.46 2620 1129292 1114752 38.04 409696 1114528 20 02:51:18 02:45:01 161404 0 588220 31.26 2620 1129300 1094800 37.36 409692 1111688 8 02:51:18 02:46:01 161120 0 588500 31.28 2620 1129304 1094900 37.37 420624 1100928 8 02:51:18 02:47:01 160576 0 589044 31.31 2620 1129304 1094876 37.37 424472 1098244 8 02:51:18 02:48:01 161196 0 588416 31.27 2620 1129312 1090764 37.23 431056 1091004 8 02:51:18 02:49:01 161296 0 588312 31.27 2620 1129316 1091044 37.24 431476 1091000 12 02:51:18 02:50:01 162424 0 587180 31.21 2620 1129320 1080500 36.88 430472 1090580 8 02:51:18 02:51:01 82732 0 702844 37.35 2620 1093348 1508088 51.47 549188 1016844 62260 02:51:18 Average: 151052 0 603060 32.05 2620 1124812 1146216 39.12 438334 1089352 7792 02:51:18 02:51:18 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:51:18 02:44:01 eth0 89.43 71.38 367.36 40.99 0.00 0.00 0.00 0.00 02:51:18 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:44:01 docker0 10.10 7.24 1.37 23.29 0.00 0.00 0.00 0.00 02:51:18 02:45:01 eth0 5.58 1.02 1.50 0.75 0.00 0.00 0.00 0.00 02:51:18 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:46:01 eth0 3.81 0.97 1.06 0.63 0.00 0.00 0.00 0.00 02:51:18 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:47:01 eth0 4.46 0.88 1.11 0.57 0.00 0.00 0.00 0.00 02:51:18 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:48:01 eth0 1.85 0.88 0.96 0.68 0.00 0.00 0.00 0.00 02:51:18 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:49:01 eth0 0.62 0.37 0.28 0.20 0.00 0.00 0.00 0.00 02:51:18 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:50:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:51:18 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:51:01 eth0 199.02 172.23 2167.41 18.25 0.00 0.00 0.00 0.00 02:51:18 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 Average: eth0 38.16 31.02 317.93 7.77 0.00 0.00 0.00 0.00 02:51:18 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:18 Average: docker0 1.26 0.91 0.17 2.91 0.00 0.00 0.00 0.00 02:51:18 02:51:18 02:51:18 ---> sar -P ALL: 02:51:18 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 02:51:18 02:51:18 02:42:10 LINUX RESTART (4 CPU) 02:51:18 02:51:18 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:51:18 02:44:01 all 2.72 0.00 2.05 0.52 0.02 94.68 02:51:18 02:44:01 0 2.97 0.00 2.38 0.22 0.03 94.40 02:51:18 02:44:01 1 2.67 0.00 1.78 1.11 0.02 94.43 02:51:18 02:44:01 2 2.80 0.00 2.28 0.34 0.02 94.57 02:51:18 02:44:01 3 2.45 0.00 1.78 0.42 0.02 95.34 02:51:18 02:45:01 all 0.14 0.00 0.05 0.00 0.00 99.81 02:51:18 02:45:01 0 0.37 0.00 0.05 0.00 0.00 99.58 02:51:18 02:45:01 1 0.07 0.00 0.05 0.00 0.00 99.88 02:51:18 02:45:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:51:18 02:45:01 3 0.07 0.00 0.05 0.00 0.02 99.87 02:51:18 02:46:01 all 0.18 0.00 0.08 0.00 0.05 99.69 02:51:18 02:46:01 0 0.50 0.00 0.05 0.00 0.05 99.40 02:51:18 02:46:01 1 0.08 0.00 0.12 0.00 0.03 99.77 02:51:18 02:46:01 2 0.08 0.00 0.08 0.00 0.08 99.75 02:51:18 02:46:01 3 0.07 0.00 0.07 0.00 0.03 99.83 02:51:18 02:47:01 all 0.14 0.00 0.04 0.00 0.02 99.80 02:51:18 02:47:01 0 0.40 0.00 0.03 0.00 0.00 99.57 02:51:18 02:47:01 1 0.05 0.00 0.07 0.00 0.02 99.87 02:51:18 02:47:01 2 0.08 0.00 0.05 0.00 0.03 99.83 02:51:18 02:47:01 3 0.02 0.00 0.02 0.00 0.02 99.95 02:51:18 02:48:01 all 0.22 0.00 0.08 0.00 0.02 99.68 02:51:18 02:48:01 0 0.27 0.00 0.03 0.00 0.02 99.68 02:51:18 02:48:01 1 0.10 0.00 0.17 0.00 0.02 99.72 02:51:18 02:48:01 2 0.13 0.00 0.10 0.00 0.03 99.73 02:51:18 02:48:01 3 0.37 0.00 0.03 0.00 0.00 99.60 02:51:18 02:49:01 all 0.14 0.00 0.03 0.00 0.00 99.83 02:51:18 02:49:01 0 0.03 0.00 0.07 0.00 0.00 99.90 02:51:18 02:49:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:51:18 02:49:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:51:18 02:49:01 3 0.48 0.00 0.02 0.00 0.00 99.50 02:51:18 02:50:01 all 0.16 0.00 0.04 0.00 0.00 99.80 02:51:18 02:50:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:51:18 02:50:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:51:18 02:50:01 2 0.05 0.00 0.05 0.00 0.00 99.90 02:51:18 02:50:01 3 0.55 0.00 0.03 0.00 0.00 99.42 02:51:18 02:51:01 all 3.77 0.00 2.46 1.85 0.00 91.92 02:51:18 02:51:01 0 3.91 0.00 2.84 2.89 0.00 90.36 02:51:18 02:51:01 1 2.96 0.00 2.51 0.84 0.00 93.69 02:51:18 02:51:01 2 3.77 0.00 2.18 1.31 0.00 92.75 02:51:18 02:51:01 3 4.42 0.00 2.33 2.38 0.00 90.87 02:51:18 Average: all 0.93 0.00 0.60 0.30 0.01 98.16 02:51:18 Average: 0 1.05 0.00 0.68 0.39 0.01 97.86 02:51:18 Average: 1 0.74 0.00 0.59 0.24 0.01 98.41 02:51:18 Average: 2 0.87 0.00 0.60 0.20 0.02 98.31 02:51:18 Average: 3 1.05 0.00 0.54 0.35 0.01 98.05 02:51:18 02:51:18 02:51:18