Pull request #734 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 381b9d61912d7ab842f409859564ba10d5e6c264+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (0777c01b86fd6637c7c5c11cc96e7b4cbc156679) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20647 in /w/workspace/dgexfoundry_device-sdk-go_PR-734 [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-734 # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 381b9d61912d7ab842f409859564ba10d5e6c264 Merge succeeded, producing 381b9d61912d7ab842f409859564ba10d5e6c264 Checking out Revision 381b9d61912d7ab842f409859564ba10d5e6c264 (PR-734) > 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/734/head:refs/remotes/origin/PR-734 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git rev-list --no-walk 92bdcba4746285fd89e1f019ae292ddea33170f7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:46:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:46:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:46:26 ========================================================= 21:46:26 EdgeX Global Pipelines Version Info 21:46:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:46:28 ------------------- 21:46:28 stable info: 21:46:28 ------------------- 21:46:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:46:28 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 21:46:28 Message: update stable to v1.0.177 21:46:29 ------------------- 21:46:29 experimental info: 21:46:29 ------------------- 21:46:29 Commited By: **** collab-it+edgex@linuxfoundation.org 21:46:29 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 21:46:29 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:46:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:46:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:46:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:46:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:46:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:46:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:46:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:46:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:46:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:46:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:46:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:46:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 21:46:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:46:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:46:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:46:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-734 [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-734 [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-734 [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 381b9d61912d7ab842f409859564ba10d5e6c264 [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 381b9d6 [Pipeline] echo 21:46:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:46:33 provisioning config files... 21:46:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/config5777991658208026791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:33 ---> docker-login.sh 21:46:33 nexus3.edgexfoundry.org:10001 21:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:34 Configure a credential helper to remove this warning. See 21:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:34 21:46:34 Login Succeeded 21:46:34 nexus3.edgexfoundry.org:10002 21:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:34 Configure a credential helper to remove this warning. See 21:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:34 21:46:34 Login Succeeded 21:46:34 nexus3.edgexfoundry.org:10003 21:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:34 Configure a credential helper to remove this warning. See 21:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:34 21:46:34 Login Succeeded 21:46:34 nexus3.edgexfoundry.org:10004 21:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:34 Configure a credential helper to remove this warning. See 21:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:34 21:46:34 Login Succeeded 21:46:34 docker.io 21:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:34 Configure a credential helper to remove this warning. See 21:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:34 21:46:34 Login Succeeded 21:46:34 ---> docker-login.sh ends [Pipeline] } 21:46:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:35 + git log --format=format:%s -1 381b9d61912d7ab842f409859564ba10d5e6c264 [Pipeline] echo 21:46:35 GIT_COMMIT: 381b9d61912d7ab842f409859564ba10d5e6c264, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 21:46:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:46:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:46:36 21:46:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:46:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:46:36 latest: Pulling from edgex-devops/git-semver 21:46:36 31603596830f: Pulling fs layer 21:46:36 2a8b12db71e7: Pulling fs layer 21:46:36 6ca5941a6612: Pulling fs layer 21:46:36 ecc8261a40a4: Pulling fs layer 21:46:36 ecc8261a40a4: Waiting 21:46:36 2a8b12db71e7: Verifying Checksum 21:46:36 2a8b12db71e7: Download complete 21:46:36 31603596830f: Verifying Checksum 21:46:36 31603596830f: Download complete 21:46:37 6ca5941a6612: Verifying Checksum 21:46:37 6ca5941a6612: Download complete 21:46:37 ecc8261a40a4: Verifying Checksum 21:46:37 ecc8261a40a4: Download complete 21:46:37 31603596830f: Pull complete 21:46:37 2a8b12db71e7: Pull complete 21:46:38 6ca5941a6612: Pull complete 21:46:38 ecc8261a40a4: Pull complete 21:46:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:46:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:46:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:46:38 prd-centos7-docker-4c-2g-20647 does not seem to be running inside a container 21:46:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-734 -v /w/workspace/dgexfoundry_device-sdk-go_PR-734:/w/workspace/dgexfoundry_device-sdk-go_PR-734:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:46:40 $ docker top d6c7d60ab584ae3e764c94ea55508ef610f0447f2128cd2ad6b1d3299d0495a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:46:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:41 [ssh-agent] Looking for ssh-agent implementation... 21:46:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:41 $ docker exec d6c7d60ab584ae3e764c94ea55508ef610f0447f2128cd2ad6b1d3299d0495a6 ssh-agent 21:46:41 SSH_AUTH_SOCK=/tmp/ssh-b3IiiOr9qQ9n/agent.11 21:46:41 SSH_AGENT_PID=16 21:46:41 Running ssh-add (command line suppressed) 21:46:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/private_key_5823464751123128154.key (/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/private_key_5823464751123128154.key) 21:46:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:42 + git tag --points-at HEAD [Pipeline] } 21:46:42 $ docker exec --env ******** --env ******** d6c7d60ab584ae3e764c94ea55508ef610f0447f2128cd2ad6b1d3299d0495a6 ssh-agent -k 21:46:42 unset SSH_AUTH_SOCK; 21:46:42 unset SSH_AGENT_PID; 21:46:42 echo Agent pid 16 killed; 21:46:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:46:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:42 [ssh-agent] Looking for ssh-agent implementation... 21:46:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:42 $ docker exec d6c7d60ab584ae3e764c94ea55508ef610f0447f2128cd2ad6b1d3299d0495a6 ssh-agent 21:46:42 SSH_AUTH_SOCK=/tmp/ssh-LQaP8EX45rQt/agent.45 21:46:42 SSH_AGENT_PID=50 21:46:42 Running ssh-add (command line suppressed) 21:46:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/private_key_1533137785469724341.key (/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/private_key_1533137785469724341.key) 21:46:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:43 + git semver init 21:46:43 # -> Open(): unable to determine branch for HEAD 21:46:43 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-734/.git 21:46:43 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-734 21:46:43 # $SEMVER_REMOTE_NAME = origin 21:46:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:46:43 # $SEMVER_USER_NAME = edgex-jenkins 21:46:43 # $SEMVER_BRANCH = PR-734 21:46:43 # $SEMVER_TEMP = /tmp/semver-903028057 21:46:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:46:44 # '/tmp/semver-903028057' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-734/.semver' 21:46:44 # -> Force: false 21:46:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-734/.semver [Pipeline] } 21:46:44 $ docker exec --env ******** --env ******** d6c7d60ab584ae3e764c94ea55508ef610f0447f2128cd2ad6b1d3299d0495a6 ssh-agent -k 21:46:44 unset SSH_AUTH_SOCK; 21:46:44 unset SSH_AGENT_PID; 21:46:44 echo Agent pid 50 killed; 21:46:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:46:45 + git semver [Pipeline] } 21:46:45 $ docker stop --time=1 d6c7d60ab584ae3e764c94ea55508ef610f0447f2128cd2ad6b1d3299d0495a6 21:46:46 $ docker rm -f d6c7d60ab584ae3e764c94ea55508ef610f0447f2128cd2ad6b1d3299d0495a6 [Pipeline] // withDockerContainer [Pipeline] sh 21:46:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:46:48 Stashed 1 file(s) [Pipeline] echo 21:46:48 [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 21:47:03 Still waiting to schedule task 21:47:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:47:03 Still waiting to schedule task 21:47:03 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:48:58 Running on prd-centos7-docker-4c-2g-20656 in /w/workspace/dgexfoundry_device-sdk-go_PR-734 [Pipeline] { [Pipeline] ws 21:48:58 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:49:01 using credential edgex-jenkins-ssh 21:49:01 Cloning the remote Git repository 21:49:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:49:01 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:49:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:01 > git --version # timeout=10 21:49:01 > git --version # 'git version 2.24.3' 21:49:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/734/head:refs/remotes/origin/PR-734 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:49:03 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 381b9d61912d7ab842f409859564ba10d5e6c264 21:49:04 Merge succeeded, producing 381b9d61912d7ab842f409859564ba10d5e6c264 21:49:04 Checking out Revision 381b9d61912d7ab842f409859564ba10d5e6c264 (PR-734) 21:49:03 > git config core.sparsecheckout # timeout=10 21:49:03 > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 21:49:04 > git remote # timeout=10 21:49:04 > git config --get remote.origin.url # timeout=10 21:49:04 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:04 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 21:49:04 > git rev-parse HEAD^{commit} # timeout=10 21:49:04 > git config core.sparsecheckout # timeout=10 21:49:04 > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 21:49:07 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:49:09 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:49:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20653 in /w/workspace/dgexfoundry_device-sdk-go_PR-734 [Pipeline] { [Pipeline] ws 21:49:09 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:49:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:49:10 + sudo service docker restart 21:49:10 + true 21:49:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:49:11 provisioning config files... 21:49:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1343349570506929351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:11 ---> docker-login.sh 21:49:11 nexus3.edgexfoundry.org:10001 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:12 Configure a credential helper to remove this warning. See 21:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:12 21:49:12 Login Succeeded 21:49:12 nexus3.edgexfoundry.org:10002 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:12 Configure a credential helper to remove this warning. See 21:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:12 21:49:12 Login Succeeded 21:49:12 nexus3.edgexfoundry.org:10003 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:12 Configure a credential helper to remove this warning. See 21:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:12 21:49:12 Login Succeeded 21:49:12 nexus3.edgexfoundry.org:10004 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:12 Configure a credential helper to remove this warning. See 21:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:12 21:49:12 Login Succeeded 21:49:12 docker.io 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:13 Configure a credential helper to remove this warning. See 21:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:13 21:49:13 Login Succeeded 21:49:13 ---> docker-login.sh ends [Pipeline] } 21:49:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:49:13 ========================================================= 21:49:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:49:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:49:14 + 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 . 21:49:14 Sending build context to Docker daemon 2.58MB 21:49:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:49:14 Step 2/8 : FROM ${BASE} 21:49:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:49:14 188c0c94c7c5: Pulling fs layer 21:49:14 0ef7d3d256c8: Pulling fs layer 21:49:14 de9db76c5a1d: Pulling fs layer 21:49:14 bca2f99d35d6: Pulling fs layer 21:49:14 93359f2a8cfa: Pulling fs layer 21:49:14 7c6f9722023f: Pulling fs layer 21:49:14 a35cf1a2eb13: Pulling fs layer 21:49:14 93359f2a8cfa: Waiting 21:49:14 7c6f9722023f: Waiting 21:49:14 a35cf1a2eb13: Waiting 21:49:14 bca2f99d35d6: Waiting 21:49:14 de9db76c5a1d: Verifying Checksum 21:49:14 de9db76c5a1d: Download complete 21:49:14 0ef7d3d256c8: Verifying Checksum 21:49:14 0ef7d3d256c8: Download complete 21:49:14 93359f2a8cfa: Verifying Checksum 21:49:14 93359f2a8cfa: Download complete 21:49:14 188c0c94c7c5: Verifying Checksum 21:49:14 188c0c94c7c5: Download complete 21:49:14 7c6f9722023f: Verifying Checksum 21:49:14 7c6f9722023f: Download complete 21:49:14 188c0c94c7c5: Pull complete 21:49:14 0ef7d3d256c8: Pull complete 21:49:14 de9db76c5a1d: Pull complete 21:49:15 using credential edgex-jenkins-ssh 21:49:15 Cloning the remote Git repository 21:49:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:49:16 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:49:16 a35cf1a2eb13: Verifying Checksum 21:49:16 a35cf1a2eb13: Download complete 21:49:16 bca2f99d35d6: Verifying Checksum 21:49:16 bca2f99d35d6: Download complete 21:49:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:16 > git --version # timeout=10 21:49:16 > git --version # 'git version 2.17.1' 21:49:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:18 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 381b9d61912d7ab842f409859564ba10d5e6c264 21:49:18 Merge succeeded, producing 381b9d61912d7ab842f409859564ba10d5e6c264 21:49:18 Checking out Revision 381b9d61912d7ab842f409859564ba10d5e6c264 (PR-734) 21:49:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:17 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/734/head:refs/remotes/origin/PR-734 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:49:18 > git config core.sparsecheckout # timeout=10 21:49:18 > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 21:49:18 > git remote # timeout=10 21:49:18 > git config --get remote.origin.url # timeout=10 21:49:18 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:18 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 21:49:18 > git rev-parse HEAD^{commit} # timeout=10 21:49:18 > git config core.sparsecheckout # timeout=10 21:49:18 > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 21:49:22 bca2f99d35d6: Pull complete 21:49:22 93359f2a8cfa: Pull complete 21:49:22 7c6f9722023f: Pull complete 21:49:23 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:49:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:49:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:49:25 + sudo service docker restart 21:49:25 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:49:28 provisioning config files... 21:49:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8226490158625298772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:28 a35cf1a2eb13: Pull complete 21:49:28 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:49:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:49:28 ---> a62c8e92a672 21:49:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:49:28 ---> Running in cd954a33b315 21:49:28 Removing intermediate container cd954a33b315 21:49:28 ---> 2706fb5685d0 21:49:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:49:28 ---> Running in b0ba111d2b29 21:49:28 ---> docker-login.sh 21:49:28 nexus3.edgexfoundry.org:10001 21:49:29 Removing intermediate container b0ba111d2b29 21:49:29 ---> 120d588c158a 21:49:29 Step 5/8 : RUN apk add --update --no-cache make git 21:49:29 ---> Running in b6f7a2293e72 21:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:30 Configure a credential helper to remove this warning. See 21:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:30 21:49:30 Login Succeeded 21:49:30 nexus3.edgexfoundry.org:10002 21:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:30 Configure a credential helper to remove this warning. See 21:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:30 21:49:30 Login Succeeded 21:49:30 nexus3.edgexfoundry.org:10003 21:49:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:49:31 OK: 166 MiB in 39 packages 21:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:31 Configure a credential helper to remove this warning. See 21:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:31 21:49:31 Login Succeeded 21:49:31 nexus3.edgexfoundry.org:10004 21:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:31 Removing intermediate container b6f7a2293e72 21:49:31 ---> a40dfcaf7b0e 21:49:31 Step 6/8 : WORKDIR /device-sdk-go 21:49:31 ---> Running in a3c939391e9c 21:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:31 Configure a credential helper to remove this warning. See 21:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:31 21:49:31 Login Succeeded 21:49:31 docker.io 21:49:32 Removing intermediate container a3c939391e9c 21:49:32 ---> 8e4ac2a58ee2 21:49:32 Step 7/8 : COPY . . 21:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:32 Configure a credential helper to remove this warning. See 21:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:32 21:49:32 Login Succeeded 21:49:32 ---> docker-login.sh ends [Pipeline] } 21:49:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:49:32 ========================================================= 21:49:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:49:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:49:33 + 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 . 21:49:33 ---> 690a5228feaa 21:49:33 Step 8/8 : RUN go mod download 21:49:33 ---> Running in 7c42bbe9347a 21:49:33 Sending build context to Docker daemon 2.579MB 21:49:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:49:33 Step 2/8 : FROM ${BASE} 21:49:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:49:34 5f621e34cdf4: Pulling fs layer 21:49:34 a4357932f1b6: Pulling fs layer 21:49:34 18c013af1878: Pulling fs layer 21:49:34 00ac8860ef70: Pulling fs layer 21:49:34 63d7cb157983: Pulling fs layer 21:49:34 b116817d02f9: Pulling fs layer 21:49:34 745a02a5169b: Pulling fs layer 21:49:34 63d7cb157983: Waiting 21:49:34 b116817d02f9: Waiting 21:49:34 00ac8860ef70: Waiting 21:49:34 745a02a5169b: Waiting 21:49:34 18c013af1878: Verifying Checksum 21:49:34 18c013af1878: Download complete 21:49:34 a4357932f1b6: Verifying Checksum 21:49:34 a4357932f1b6: Download complete 21:49:34 63d7cb157983: Verifying Checksum 21:49:34 63d7cb157983: Download complete 21:49:34 b116817d02f9: Verifying Checksum 21:49:34 b116817d02f9: Download complete 21:49:35 5f621e34cdf4: Verifying Checksum 21:49:35 5f621e34cdf4: Download complete 21:49:36 5f621e34cdf4: Pull complete 21:49:36 a4357932f1b6: Pull complete 21:49:37 18c013af1878: Pull complete 21:49:38 745a02a5169b: Verifying Checksum 21:49:38 745a02a5169b: Download complete 21:49:39 00ac8860ef70: Verifying Checksum 21:49:39 00ac8860ef70: Download complete 21:49:52 00ac8860ef70: Pull complete 21:49:52 63d7cb157983: Pull complete 21:49:52 b116817d02f9: Pull complete 21:49:54 745a02a5169b: Pull complete 21:49:54 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:49:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:49:54 ---> b7e6874047d6 21:49:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:49:55 Removing intermediate container 7c42bbe9347a 21:49:55 ---> 7c05ce13e13b 21:49:55 Successfully built 7c05ce13e13b 21:49:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:49:55 + docker inspect -f . ci-base-image-x86_64 21:49:55 . [Pipeline] withDockerContainer 21:49:55 prd-centos7-docker-4c-2g-20656 does not seem to be running inside a container 21:49:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:49:56 $ docker top 4f38e02082aba379ebbf23028dfc3657565c573fcae4ee007b84af3277b08de0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:57 + go version 21:49:57 go version go1.15.5 linux/amd64 [Pipeline] } 21:49:57 $ docker stop --time=1 4f38e02082aba379ebbf23028dfc3657565c573fcae4ee007b84af3277b08de0 21:49:57 ---> Running in c621b683412f 21:49:58 Removing intermediate container c621b683412f 21:49:58 ---> 268fa9cbffb8 21:49:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:49:58 ---> Running in 2895afb8a724 21:49:58 $ docker rm -f 4f38e02082aba379ebbf23028dfc3657565c573fcae4ee007b84af3277b08de0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:49:59 + docker inspect -f . ci-base-image-x86_64 21:49:59 . [Pipeline] withDockerContainer 21:49:59 prd-centos7-docker-4c-2g-20656 does not seem to be running inside a container 21:49:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:00 $ docker top f8b267c96dd53e436611e32c6cc3132c2c125b03cfee11136a49f2079eac2aa1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:00 + make test 21:50:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:50:03 Removing intermediate container 2895afb8a724 21:50:03 ---> d9ba27387c59 21:50:03 Step 5/8 : RUN apk add --update --no-cache make git 21:50:03 ---> Running in 64c9be375b68 21:50:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:50:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:50:07 OK: 142 MiB in 39 packages 21:50:08 Removing intermediate container 64c9be375b68 21:50:08 ---> 0077c57746f3 21:50:08 Step 6/8 : WORKDIR /device-sdk-go 21:50:08 ---> Running in 0ab5650d66e3 21:50:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:50:09 Removing intermediate container 0ab5650d66e3 21:50:09 ---> 72594c2f76e1 21:50:09 Step 7/8 : COPY . . 21:50:10 ---> a2404ab476d2 21:50:10 Step 8/8 : RUN go mod download 21:50:10 ---> Running in afb21f3f5c54 21:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:50:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:50:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 19.4% of statements 21:50:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.449s coverage: 97.1% of statements 21:50:33 Removing intermediate container afb21f3f5c54 21:50:33 ---> 48292043d02c 21:50:33 Successfully built 48292043d02c 21:50:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:50:33 + docker inspect -f . ci-base-image-arm64 21:50:33 . [Pipeline] withDockerContainer 21:50:34 prd-ubuntu18.04-docker-arm64-4c-16g-20653 does not seem to be running inside a container 21:50:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:50:35 $ docker top cf02b517e00b0b268070867069f3e22faa59f80c7dd9c9d493edf07751bb9f32 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:36 + go version 21:50:36 go version go1.15.5 linux/arm64 [Pipeline] } 21:50:36 $ docker stop --time=1 cf02b517e00b0b268070867069f3e22faa59f80c7dd9c9d493edf07751bb9f32 21:50:38 $ docker rm -f cf02b517e00b0b268070867069f3e22faa59f80c7dd9c9d493edf07751bb9f32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:50:39 + docker inspect -f . ci-base-image-arm64 21:50:39 . [Pipeline] withDockerContainer 21:50:39 prd-ubuntu18.04-docker-arm64-4c-16g-20653 does not seem to be running inside a container 21:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:50:41 $ docker top 35ae4ec7d65475ef437266c16924dc0539203d40a687cde5e11c0dca1df39fc3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:42 + make test 21:50:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:50:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 9.4% of statements 21:50:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.053s coverage: 21.7% of statements 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:50:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.232s coverage: 42.9% of statements 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 21:50:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.278s coverage: 68.9% of statements 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:50:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.064s coverage: 53.8% of statements 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 21:50:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 30.4% of statements 21:50:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.937s coverage: 68.9% of statements 21:50:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 21:50:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:50:58 GO111MODULE=on go vet ./... 21:51:03 gofmt -l . 21:51:03 [ "`gofmt -l .`" = "" ] 21:51:03 ./bin/test-attribution-txt.sh 21:51:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:51:05 $ docker stop --time=1 f8b267c96dd53e436611e32c6cc3132c2c125b03cfee11136a49f2079eac2aa1 21:51:07 $ docker rm -f f8b267c96dd53e436611e32c6cc3132c2c125b03cfee11136a49f2079eac2aa1 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:51:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:51:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:51:09 + ls -al . 21:51:09 total 220 21:51:09 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 21:51 . 21:51:09 drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 21:49 .. 21:51:09 drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 21:49 bin 21:51:09 -rw-r--r--. 1 jenkins jenkins 142787 Jan 15 21:50 coverage.out 21:51:09 -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 21:49 Dockerfile.build 21:51:09 -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 21:49 .dockerignore 21:51:09 drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 21:49 example 21:51:09 drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 21:49 .git 21:51:09 drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 21:49 .github 21:51:09 -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 21:49 .gitignore 21:51:09 -rw-r--r--. 1 jenkins jenkins 491 Jan 15 21:51 go.mod 21:51:09 -rw-r--r--. 1 jenkins jenkins 14124 Jan 15 21:51 go.sum 21:51:09 drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 21:49 internal 21:51:09 -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 21:49 Jenkinsfile 21:51:09 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 21:49 LICENSE 21:51:09 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 15 21:49 Makefile 21:51:09 drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 21:49 openapi 21:51:09 drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 21:49 pkg 21:51:09 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 21:49 README.md 21:51:09 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 21:49 RELEASE-NOTES.txt 21:51:09 drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 21:49 snap 21:51:09 -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 21:46 VERSION 21:51:09 -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 21:49 version.go [Pipeline] isUnix [Pipeline] sh 21:51:10 + 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=381b9d61912d7ab842f409859564ba10d5e6c264 --label arch=amd64 --label version=0.0.0 . 21:51:10 Sending build context to Docker daemon 2.724MB 21:51:10 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:51:10 Step 2/24 : FROM ${BASE} AS builder 21:51:10 ---> 7c05ce13e13b 21:51:10 Step 3/24 : ARG MAKE='make build' 21:51:10 ---> Running in 8cab391fe6dc 21:51:11 Removing intermediate container 8cab391fe6dc 21:51:11 ---> b0890425b81d 21:51:11 Step 4/24 : WORKDIR /device-sdk-go 21:51:11 ---> Running in b7574043a49d 21:51:11 Removing intermediate container b7574043a49d 21:51:11 ---> b928f126beda 21:51:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:51:11 ---> Running in 91a235a22b0d 21:51:11 Removing intermediate container 91a235a22b0d 21:51:11 ---> 5c432172f138 21:51:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:11 ---> Running in b4f628cec18f 21:51:12 Removing intermediate container b4f628cec18f 21:51:12 ---> 2017327dd089 21:51:12 Step 7/24 : RUN apk add --update --no-cache make git 21:51:12 ---> Running in 8f6b9dd47076 21:51:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:51:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:51:14 OK: 166 MiB in 39 packages 21:51:15 Removing intermediate container 8f6b9dd47076 21:51:15 ---> dc3c47ae0b14 21:51:15 Step 8/24 : COPY . . 21:51:16 ---> 880fd858c0c5 21:51:16 Step 9/24 : RUN ${MAKE} 21:51:16 ---> Running in dc76f68a9447 21:51:16 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 21:51:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:51:26 Removing intermediate container dc76f68a9447 21:51:26 ---> 023b6f3e5ac2 21:51:26 Step 10/24 : FROM scratch 21:51:26 ---> 21:51:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:51:26 ---> Running in 34c2ce7c9428 21:51:27 Removing intermediate container 34c2ce7c9428 21:51:27 ---> d7f615aefa16 21:51:27 Step 12/24 : ENV APP_PORT=49990 21:51:27 ---> Running in 54e714c5cb3e 21:51:27 Removing intermediate container 54e714c5cb3e 21:51:27 ---> 9ca56cf6b474 21:51:27 Step 13/24 : EXPOSE $APP_PORT 21:51:27 ---> Running in f6c86ff5905d 21:51:27 Removing intermediate container f6c86ff5905d 21:51:27 ---> dffc8be3383e 21:51:27 Step 14/24 : WORKDIR / 21:51:27 ---> Running in ebb5b17ec917 21:51:27 Removing intermediate container ebb5b17ec917 21:51:27 ---> 7698b1b5953b 21:51:27 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:51:28 ---> d528fb26a831 21:51:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:51:28 ---> 1e6ccc043b6b 21:51:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:51:28 ---> a0593f66c978 21:51:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:51:28 ---> e7507d2f0d34 21:51:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:51:29 ---> 2d9feed4ac78 21:51:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:51:29 ---> Running in ea59a3d86e01 21:51:29 Removing intermediate container ea59a3d86e01 21:51:29 ---> 3dd228f36b45 21:51:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:51:29 ---> Running in 632f02128bab 21:51:29 Removing intermediate container 632f02128bab 21:51:29 ---> a763d6abe264 21:51:29 Step 22/24 : LABEL arch=amd64 21:51:29 ---> Running in 5ebb2c65233d 21:51:30 Removing intermediate container 5ebb2c65233d 21:51:30 ---> faff7eb74b8d 21:51:30 Step 23/24 : LABEL git_sha=381b9d61912d7ab842f409859564ba10d5e6c264 21:51:30 ---> Running in 6784426d15d1 21:51:30 Removing intermediate container 6784426d15d1 21:51:30 ---> 8180d2c8dd47 21:51:30 Step 24/24 : LABEL version=0.0.0 21:51:30 ---> Running in c55ff10e0b54 21:51:30 Removing intermediate container c55ff10e0b54 21:51:30 ---> 955fc2d8314f 21:51:30 [Warning] One or more build-args [ARCH] were not consumed 21:51:30 Successfully built 955fc2d8314f 21:51:30 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] } 21:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.156s coverage: 19.4% of statements 21:51:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.281s coverage: 97.1% of statements 21:52:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.157s coverage: 9.4% of statements 21:52:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 21.7% of statements 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:52:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.653s coverage: 42.9% of statements 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 21:52:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.828s coverage: 68.9% of statements 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:52:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.214s coverage: 53.8% of statements 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 21:52:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.172s coverage: 30.4% of statements 21:52:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.207s coverage: 68.9% of statements 21:52:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.166s coverage: 4.2% of statements 21:52:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:52:29 GO111MODULE=on go vet ./... 21:53:02 gofmt -l . 21:53:02 [ "`gofmt -l .`" = "" ] 21:53:02 ./bin/test-attribution-txt.sh 21:53:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:53:02 $ docker stop --time=1 35ae4ec7d65475ef437266c16924dc0539203d40a687cde5e11c0dca1df39fc3 21:53:04 $ docker rm -f 35ae4ec7d65475ef437266c16924dc0539203d40a687cde5e11c0dca1df39fc3 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:05 Warning: overwriting stash ‘coverage-report’ 21:53:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:53:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:53:07 + ls -al . 21:53:07 total 256 21:53:07 drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 21:53 . 21:53:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:49 .. 21:53:07 -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 21:49 .dockerignore 21:53:07 drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 21:49 .git 21:53:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:49 .github 21:53:07 -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 21:49 .gitignore 21:53:07 -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 21:49 Dockerfile.build 21:53:07 -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 21:49 Jenkinsfile 21:53:07 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 21:49 LICENSE 21:53:07 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 15 21:49 Makefile 21:53:07 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 21:49 README.md 21:53:07 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 21:49 RELEASE-NOTES.txt 21:53:07 -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 21:46 VERSION 21:53:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:49 bin 21:53:07 -rw-r--r-- 1 jenkins jenkins 142787 Jan 15 21:52 coverage.out 21:53:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:49 example 21:53:07 -rw-r--r-- 1 jenkins jenkins 491 Jan 15 21:53 go.mod 21:53:07 -rw-r--r-- 1 jenkins jenkins 14124 Jan 15 21:53 go.sum 21:53:07 drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 21:49 internal 21:53:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:49 openapi 21:53:07 drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 21:49 pkg 21:53:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:49 snap 21:53:07 -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 21:49 version.go [Pipeline] isUnix [Pipeline] sh 21:53:08 + 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=381b9d61912d7ab842f409859564ba10d5e6c264 --label arch=arm64 --label version=0.0.0 . 21:53:08 Sending build context to Docker daemon 2.723MB 21:53:08 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:53:08 Step 2/24 : FROM ${BASE} AS builder 21:53:08 ---> 48292043d02c 21:53:08 Step 3/24 : ARG MAKE='make build' 21:53:09 ---> Running in 81f1183d9b50 21:53:09 Removing intermediate container 81f1183d9b50 21:53:09 ---> 786e90d635ca 21:53:09 Step 4/24 : WORKDIR /device-sdk-go 21:53:09 ---> Running in 5d08fc2b0f6a 21:53:10 Removing intermediate container 5d08fc2b0f6a 21:53:10 ---> 5308c056c134 21:53:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:53:10 ---> Running in 8b0b3190c71a 21:53:10 Removing intermediate container 8b0b3190c71a 21:53:10 ---> bcbb08a8486b 21:53:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:53:10 ---> Running in 8d584d4236d1 21:53:12 Removing intermediate container 8d584d4236d1 21:53:12 ---> a69608d57eb9 21:53:12 Step 7/24 : RUN apk add --update --no-cache make git 21:53:12 ---> Running in 85716c0e5259 21:53:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:53:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:53:15 OK: 142 MiB in 39 packages 21:53:16 Removing intermediate container 85716c0e5259 21:53:16 ---> 641271a44a63 21:53:16 Step 8/24 : COPY . . 21:53:17 ---> 50d944ef3d3c 21:53:17 Step 9/24 : RUN ${MAKE} 21:53:18 ---> Running in 01a45a770e35 21:53:19 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 21:53:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:53:48 Removing intermediate container 01a45a770e35 21:53:48 ---> 5615ccdd51f2 21:53:48 Step 10/24 : FROM scratch 21:53:48 ---> 21:53:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:53:48 ---> Running in a585e06dc347 21:53:48 Removing intermediate container a585e06dc347 21:53:48 ---> c8be2de7f0fb 21:53:48 Step 12/24 : ENV APP_PORT=49990 21:53:48 ---> Running in d9f77783c459 21:53:49 Removing intermediate container d9f77783c459 21:53:49 ---> 17f63dd28360 21:53:49 Step 13/24 : EXPOSE $APP_PORT 21:53:49 ---> Running in 22a8ef2e24ec 21:53:49 Removing intermediate container 22a8ef2e24ec 21:53:49 ---> 8f54943d0dff 21:53:49 Step 14/24 : WORKDIR / 21:53:50 ---> Running in 3c6e85413798 21:53:50 Removing intermediate container 3c6e85413798 21:53:50 ---> ad4c3571f407 21:53:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:53:51 ---> 5a0cb81e6c0b 21:53:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:53:52 ---> fea401a0badb 21:53:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:53:52 ---> 0453f709aa33 21:53:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:53:53 ---> 8c98e83073ed 21:53:53 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:53:54 ---> 8290eccaf39c 21:53:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:53:54 ---> Running in fbf95e43907d 21:53:54 Removing intermediate container fbf95e43907d 21:53:54 ---> ea7db1f69975 21:53:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:53:55 ---> Running in d5820ce73a0b 21:53:55 Removing intermediate container d5820ce73a0b 21:53:55 ---> bc092f3e77a2 21:53:55 Step 22/24 : LABEL arch=arm64 21:53:55 ---> Running in a692605f1776 21:53:56 Removing intermediate container a692605f1776 21:53:56 ---> b7d4388b4c03 21:53:56 Step 23/24 : LABEL git_sha=381b9d61912d7ab842f409859564ba10d5e6c264 21:53:56 ---> Running in 6560835fb638 21:53:56 Removing intermediate container 6560835fb638 21:53:56 ---> 388a74675e39 21:53:56 Step 24/24 : LABEL version=0.0.0 21:53:57 ---> Running in bcd38737dc97 21:53:57 Removing intermediate container bcd38737dc97 21:53:57 ---> 7ce03bbae378 21:53:57 [Warning] One or more build-args [ARCH] were not consumed 21:53:57 Successfully built 7ce03bbae378 21:53:57 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 21:53:59 provisioning config files... 21:53:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/config2185413387739280175tmp [Pipeline] { [Pipeline] sh 21:53:59 + set +x 21:53:59 + curl -s https://codecov.io/bash 21:53:59 + bash -s -- 21:53:59 21:53:59 _____ _ 21:53:59 / ____| | | 21:53:59 | | ___ __| | ___ ___ _____ __ 21:53:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:53:59 | |___| (_) | (_| | __/ (_| (_) \ V / 21:53:59 \_____\___/ \__,_|\___|\___\___/ \_/ 21:53:59 Bash-20210115-cec3c92 21:53:59 21:53:59 21:53:59 ==> git version 2.24.3 found 21:53:59 ==> 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 21:53:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:53:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:53:59 ==> Jenkins CI detected. 21:53:59 project root: . 21:53:59 --> token set from env 21:53:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:53:59 ==> Running gcov in . (disable via -X gcov) 21:53:59 ==> Python coveragepy not found 21:53:59 ==> Searching for coverage reports in: 21:53:59 + . 21:53:59 -> Found 1 reports 21:53:59 ==> Detecting git/mercurial file structure 21:53:59 ==> Reading reports 21:53:59 + ./coverage.out bytes=142787 21:53:59 ==> Appending adjustments 21:53:59 https://docs.codecov.io/docs/fixing-reports 21:54:01 + Found adjustments 21:54:01 ==> Gzipping contents 21:54:01 24K /tmp/codecov.uegT1k.gz 21:54:01 ==> Uploading reports 21:54:01 url: https://codecov.io 21:54:01 query: branch=PR-734&commit=381b9d61912d7ab842f409859564ba10d5e6c264&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-734%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=734&job=&cmd_args= 21:54:01 -> Pinging Codecov 21:54:01 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-734&commit=381b9d61912d7ab842f409859564ba10d5e6c264&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-734%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=734&job=&cmd_args= 21:54:01 -> Uploading to 21:54:01 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/381b9d61912d7ab842f409859564ba10d5e6c264/689104d3-019a-4596-baef-317228fb4b20.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T215400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee77038e435e6a123f6998aa9812f5372b5a803e9417c938ace9e3b6990b8fa6 21:54:01 % Total % Received % Xferd Average Speed Time Time Time Current 21:54:01 Dload Upload Total Spent Left Speed 21:54:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22138 0 0 100 22138 0 37615 --:--:-- --:--:-- --:--:-- 37649 21:54:01 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/381b9d61912d7ab842f409859564ba10d5e6c264 [Pipeline] } 21:54:01 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 21:54:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:54:04 ---> package-listing.sh 21:54:04 ++ facter osfamily 21:54:04 ++ tr '[:upper:]' '[:lower:]' 21:54:04 + OS_FAMILY=redhat 21:54:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-734 21:54:04 + START_PACKAGES=/tmp/packages_start.txt 21:54:04 + END_PACKAGES=/tmp/packages_end.txt 21:54:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:54:04 + PACKAGES=/tmp/packages_start.txt 21:54:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-734 ']' 21:54:04 + PACKAGES=/tmp/packages_end.txt 21:54:04 + case "${OS_FAMILY}" in 21:54:04 + rpm -qa 21:54:04 + sort 21:54:09 + '[' -f /tmp/packages_start.txt ']' 21:54:09 + '[' -f /tmp/packages_end.txt ']' 21:54:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:54:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-734 ']' 21:54:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-734/archives/ 21:54:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-734/archives/ [Pipeline] echo 21:54:09 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-734/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:54:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:54:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:54:10 21:54:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:54:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:54:11 alpine: Pulling from edgex-lftools-log-publisher 21:54:11 df20fa9351a1: Pulling fs layer 21:54:11 36b3adc4ff6f: Pulling fs layer 21:54:11 8ad3a11d3b57: Pulling fs layer 21:54:11 46f8f816bc3b: Pulling fs layer 21:54:11 93b61091891f: Pulling fs layer 21:54:11 93b9cdb0e59b: Pulling fs layer 21:54:11 5e14af77c1be: Pulling fs layer 21:54:11 01666e4c0597: Pulling fs layer 21:54:11 aa168da1d23b: Pulling fs layer 21:54:11 5e14af77c1be: Waiting 21:54:11 46f8f816bc3b: Waiting 21:54:11 01666e4c0597: Waiting 21:54:11 93b61091891f: Waiting 21:54:11 93b9cdb0e59b: Waiting 21:54:11 36b3adc4ff6f: Verifying Checksum 21:54:11 36b3adc4ff6f: Download complete 21:54:11 46f8f816bc3b: Verifying Checksum 21:54:11 46f8f816bc3b: Download complete 21:54:11 df20fa9351a1: Verifying Checksum 21:54:11 df20fa9351a1: Download complete 21:54:11 93b9cdb0e59b: Verifying Checksum 21:54:11 93b9cdb0e59b: Download complete 21:54:11 5e14af77c1be: Verifying Checksum 21:54:11 5e14af77c1be: Download complete 21:54:11 93b61091891f: Verifying Checksum 21:54:11 93b61091891f: Download complete 21:54:11 01666e4c0597: Verifying Checksum 21:54:11 01666e4c0597: Download complete 21:54:11 8ad3a11d3b57: Verifying Checksum 21:54:11 8ad3a11d3b57: Download complete 21:54:11 df20fa9351a1: Pull complete 21:54:11 36b3adc4ff6f: Pull complete 21:54:13 8ad3a11d3b57: Pull complete 21:54:13 aa168da1d23b: Verifying Checksum 21:54:13 aa168da1d23b: Download complete 21:54:13 46f8f816bc3b: Pull complete 21:54:14 93b61091891f: Pull complete 21:54:14 93b9cdb0e59b: Pull complete 21:54:14 5e14af77c1be: Pull complete 21:54:14 01666e4c0597: Pull complete 21:54:20 aa168da1d23b: Pull complete 21:54:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:54:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:54:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:54:21 prd-centos7-docker-4c-2g-20647 does not seem to be running inside a container 21:54:21 $ 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-734/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-734 -v /w/workspace/dgexfoundry_device-sdk-go_PR-734:/w/workspace/dgexfoundry_device-sdk-go_PR-734:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:54:25 $ docker top 99aafab606d77080e2518d63a8dc44c66fcda80fd0a406c103a94d32d742e4ae -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:25 + touch /tmp/pre-build-complete [Pipeline] sh 21:54:25 + mkdir -p /var/log/sa [Pipeline] sh 21:54:26 + ls /var/log/sa-host 21:54:26 + sadf -c /var/log/sa-host/sa15 21:54:26 file_magic: OK 21:54:26 HZ: Using current value: 100 21:54:26 file_header: OK 21:54:26 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 21:54:26 Statistics: 21:54:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:54:26 File successfully converted to sysstat format version 12.2.1 21:54:26 + sadf -c /var/log/sa-host/sa23 21:54:26 file_magic: OK 21:54:26 HZ: Using current value: 100 21:54:26 file_header: OK 21:54:26 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 21:54:26 Statistics: 21:54:26 Hnuu...uuuununununu... 21:54:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:26 provisioning config files... 21:54:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/config3612847054361667667tmp [Pipeline] { [Pipeline] echo 21:54:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:54:26 ---> create-netrc.sh [Pipeline] } 21:54:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:54:27 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:54:27 ---> python-tools-install.sh [Pipeline] echo 21:54:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:54:27 ---> sudo-logs.sh 21:54:27 Archiving 'sudo' log.. [Pipeline] echo 21:54:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:54:27 ---> job-cost.sh 21:54:27 lf-activate-venv: SKIPPING 21:54:27 INFO: No Stack... 21:54:28 INFO: Retrieving Pricing Info for: v1-standard-2 21:54:29 INFO: Archiving Costs [Pipeline] echo 21:54:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:54:29 ---> logs-deploy.sh 21:54:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-734/3 21:54:29 INFO: archiving workspace using pattern(s): 21:54:31 Archives upload complete. 21:54:31 INFO: archiving logs to Nexus 21:54:32 ---> uname -a: 21:54:32 Linux prd-centos7-docker-4c-2g-20647.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 21:54:32 21:54:32 21:54:32 ---> lscpu: 21:54:32 Architecture: x86_64 21:54:32 CPU op-mode(s): 32-bit, 64-bit 21:54:32 Byte Order: Little Endian 21:54:32 Address sizes: 40 bits physical, 48 bits virtual 21:54:32 CPU(s): 4 21:54:32 On-line CPU(s) list: 0-3 21:54:32 Thread(s) per core: 1 21:54:32 Core(s) per socket: 1 21:54:32 Socket(s): 4 21:54:32 NUMA node(s): 1 21:54:32 Vendor ID: GenuineIntel 21:54:32 CPU family: 6 21:54:32 Model: 44 21:54:32 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 21:54:32 Stepping: 1 21:54:32 CPU MHz: 2933.442 21:54:32 BogoMIPS: 5866.88 21:54:32 Virtualization: VT-x 21:54:32 Hypervisor vendor: KVM 21:54:32 Virtualization type: full 21:54:32 L1d cache: 128 KiB 21:54:32 L1i cache: 128 KiB 21:54:32 L2 cache: 16 MiB 21:54:32 L3 cache: 64 MiB 21:54:32 NUMA node0 CPU(s): 0-3 21:54:32 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 21:54:32 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 21:54:32 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 21:54:32 Vulnerability Meltdown: Mitigation; PTI 21:54:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:54:32 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 21:54:32 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 21:54:32 Vulnerability Srbds: Not affected 21:54:32 Vulnerability Tsx async abort: Not affected 21:54:32 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 21:54:32 21:54:32 21:54:32 ---> nproc: 21:54:32 4 21:54:32 21:54:32 21:54:32 ---> df -h: 21:54:32 Filesystem Size Used Available Use% Mounted on 21:54:32 overlay 50.0G 7.3G 42.7G 15% / 21:54:32 tmpfs 64.0M 0 64.0M 0% /dev 21:54:32 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 21:54:32 shm 64.0M 0 64.0M 0% /dev/shm 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 21:54:32 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-734 21:54:32 21:54:32 21:54:32 ---> free -m: 21:54:32 total used free shared buff/cache available 21:54:32 Mem: 1837 680 93 0 1063 1052 21:54:32 Swap: 1023 1 1022 21:54:32 21:54:32 21:54:32 ---> ip addr: 21:54:32 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:54:32 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:54:32 inet 127.0.0.1/8 scope host lo 21:54:32 valid_lft forever preferred_lft forever 21:54:32 inet6 ::1/128 scope host 21:54:32 valid_lft forever preferred_lft forever 21:54:32 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 21:54:32 link/ether fa:16:3e:fb:61:dc brd ff:ff:ff:ff:ff:ff 21:54:32 inet 10.30.123.183/23 brd 10.30.123.255 scope global dynamic eth0 21:54:32 valid_lft 85878sec preferred_lft 85878sec 21:54:32 inet6 fe80::f816:3eff:fefb:61dc/64 scope link 21:54:32 valid_lft forever preferred_lft forever 21:54:32 3: docker0: mtu 1500 qdisc noqueue state DOWN 21:54:32 link/ether 02:42:9b:e0:c6:8c brd ff:ff:ff:ff:ff:ff 21:54:32 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 21:54:32 valid_lft forever preferred_lft forever 21:54:32 inet6 fe80::42:9bff:fee0:c68c/64 scope link 21:54:32 valid_lft forever preferred_lft forever 21:54:32 21:54:32 21:54:32 ---> sar -b -r -n DEV: 21:54:32 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 21:54:32 21:54:32 21:45:37 LINUX RESTART (4 CPU) 21:54:32 21:54:32 21:46:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:54:32 21:47:01 126.91 39.17 87.74 0.00 7628.02 39279.12 0.00 21:54:32 21:48:01 3.35 0.02 3.33 0.00 0.53 111.57 0.00 21:54:32 21:49:01 0.40 0.00 0.40 0.00 0.00 6.23 0.00 21:54:32 21:50:01 0.30 0.00 0.30 0.00 0.00 3.78 0.00 21:54:32 21:51:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 21:54:32 21:52:01 0.35 0.00 0.35 0.00 0.00 4.90 0.00 21:54:32 21:53:01 0.25 0.00 0.25 0.00 0.00 2.86 0.00 21:54:32 21:54:01 0.63 0.43 0.20 0.00 137.64 1.65 0.00 21:54:32 Average: 16.56 4.96 11.60 0.00 971.44 4930.09 0.00 21:54:32 21:54:32 21:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:54:32 21:47:01 136564 0 580988 30.88 2620 1161372 1114484 38.04 399532 1144924 132 21:54:32 21:48:01 140248 0 577184 30.68 2620 1161492 1089940 37.20 398680 1142616 20 21:54:32 21:49:01 141036 0 576392 30.63 2620 1161496 1077736 36.78 401168 1139436 16 21:54:32 21:50:01 141492 0 575936 30.61 2620 1161496 1077724 36.78 403168 1137428 12 21:54:32 21:51:01 141372 0 576048 30.62 2620 1161504 1077840 36.78 402428 1138516 8 21:54:32 21:52:01 141544 0 575872 30.61 2620 1161508 1077868 36.79 402160 1138516 8 21:54:32 21:53:01 142340 0 575072 30.56 2620 1161512 1077992 36.79 401424 1138512 8 21:54:32 21:54:01 134740 0 578328 30.74 2620 1165856 1079680 36.85 404512 1142492 196 21:54:32 Average: 139917 0 576978 30.67 2620 1162030 1084158 37.00 401634 1140305 50 21:54:32 21:54:32 21:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:54:32 21:47:01 eth0 572.21 351.98 1100.47 104.88 0.00 0.00 0.00 0.00 21:54:32 21:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:47:01 docker0 12.78 9.55 1.73 21.74 0.00 0.00 0.00 0.00 21:54:32 21:48:01 eth0 1.75 0.53 0.60 0.39 0.00 0.00 0.00 0.00 21:54:32 21:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:49:01 eth0 4.10 0.30 0.63 0.20 0.00 0.00 0.00 0.00 21:54:32 21:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:50:01 eth0 4.05 0.78 1.03 0.60 0.00 0.00 0.00 0.00 21:54:32 21:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:51:01 eth0 1.10 0.65 0.56 0.43 0.00 0.00 0.00 0.00 21:54:32 21:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:52:01 eth0 0.82 0.55 0.45 0.28 0.00 0.00 0.00 0.00 21:54:32 21:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:53:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:54:32 21:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:54:01 eth0 4.60 3.13 4.36 1.67 0.00 0.00 0.00 0.00 21:54:32 21:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 21:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 Average: eth0 73.64 44.78 138.61 13.57 0.00 0.00 0.00 0.00 21:54:32 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:32 Average: docker0 1.60 1.19 0.22 2.72 0.00 0.00 0.00 0.00 21:54:32 21:54:32 21:54:32 ---> sar -P ALL: 21:54:32 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 21:54:32 21:54:32 21:45:37 LINUX RESTART (4 CPU) 21:54:32 21:54:32 21:46:01 CPU %user %nice %system %iowait %steal %idle 21:54:32 21:47:01 all 14.49 0.00 7.23 5.42 0.05 72.81 21:54:32 21:47:01 0 13.64 0.00 7.13 5.12 0.05 74.06 21:54:32 21:47:01 1 13.97 0.00 6.24 4.53 0.05 75.21 21:54:32 21:47:01 2 15.39 0.00 7.19 5.35 0.07 72.00 21:54:32 21:47:01 3 14.96 0.00 8.36 6.71 0.03 69.94 21:54:32 21:48:01 all 0.13 0.00 0.05 0.00 0.00 99.82 21:54:32 21:48:01 0 0.30 0.00 0.03 0.00 0.00 99.67 21:54:32 21:48:01 1 0.08 0.00 0.08 0.00 0.00 99.83 21:54:32 21:48:01 2 0.08 0.00 0.07 0.00 0.00 99.85 21:54:32 21:48:01 3 0.03 0.00 0.03 0.00 0.00 99.93 21:54:32 21:49:01 all 0.17 0.00 0.05 0.00 0.00 99.78 21:54:32 21:49:01 0 0.43 0.00 0.03 0.00 0.00 99.53 21:54:32 21:49:01 1 0.15 0.00 0.03 0.00 0.02 99.80 21:54:32 21:49:01 2 0.03 0.00 0.07 0.00 0.00 99.90 21:54:32 21:49:01 3 0.07 0.00 0.05 0.00 0.00 99.88 21:54:32 21:50:01 all 0.15 0.00 0.04 0.00 0.00 99.81 21:54:32 21:50:01 0 0.43 0.00 0.05 0.00 0.00 99.52 21:54:32 21:50:01 1 0.05 0.00 0.03 0.00 0.02 99.90 21:54:32 21:50:01 2 0.05 0.00 0.03 0.00 0.00 99.92 21:54:32 21:50:01 3 0.05 0.00 0.05 0.00 0.00 99.90 21:54:32 21:51:01 all 0.21 0.00 0.08 0.00 0.01 99.70 21:54:32 21:51:01 0 0.58 0.00 0.08 0.00 0.02 99.32 21:54:32 21:51:01 1 0.12 0.00 0.08 0.00 0.00 99.80 21:54:32 21:51:01 2 0.07 0.00 0.03 0.00 0.02 99.88 21:54:32 21:51:01 3 0.08 0.00 0.13 0.00 0.00 99.78 21:54:32 21:52:01 all 0.17 0.00 0.05 0.00 0.00 99.78 21:54:32 21:52:01 0 0.07 0.00 0.07 0.00 0.00 99.87 21:54:32 21:52:01 1 0.03 0.00 0.03 0.00 0.00 99.93 21:54:32 21:52:01 2 0.03 0.00 0.05 0.00 0.00 99.92 21:54:32 21:52:01 3 0.55 0.00 0.05 0.00 0.00 99.40 21:54:32 21:53:01 all 0.16 0.00 0.03 0.00 0.00 99.80 21:54:32 21:53:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:54:32 21:53:01 1 0.07 0.00 0.03 0.00 0.00 99.90 21:54:32 21:53:01 2 0.03 0.00 0.03 0.00 0.00 99.93 21:54:32 21:53:01 3 0.53 0.00 0.05 0.00 0.00 99.42 21:54:32 21:54:01 all 0.47 0.00 0.32 0.00 0.00 99.21 21:54:32 21:54:01 0 0.45 0.00 0.42 0.00 0.00 99.13 21:54:32 21:54:01 1 0.33 0.00 0.40 0.00 0.00 99.27 21:54:32 21:54:01 2 0.27 0.00 0.17 0.00 0.00 99.57 21:54:32 21:54:01 3 0.82 0.00 0.28 0.00 0.02 98.88 21:54:32 Average: all 1.97 0.00 0.97 0.67 0.01 96.39 21:54:32 Average: 0 1.97 0.00 0.97 0.63 0.01 96.43 21:54:32 Average: 1 1.83 0.00 0.86 0.56 0.01 96.74 21:54:32 Average: 2 1.97 0.00 0.94 0.66 0.01 96.42 21:54:32 Average: 3 2.10 0.00 1.11 0.82 0.01 95.96 21:54:32 21:54:32 21:54:32