Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 57049f3c08facc341889102bb6912c48e3a72412+d2188d43b05b3896e876a49d31725ed73587c144 (6b4a2fa9593dfdf9443d4d05bd68cbd95061a73c) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16018 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [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-692 # 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 d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 57049f3c08facc341889102bb6912c48e3a72412 > 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/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57049f3c08facc341889102bb6912c48e3a72412 # timeout=10 Merge succeeded, producing b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 Checking out Revision b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 (PR-692) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 # timeout=10 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" > git rev-list --no-walk 57049f3c08facc341889102bb6912c48e3a72412 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:04 ========================================================= 02:42:04 EdgeX Global Pipelines Version Info 02:42:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:06 ------------------- 02:42:06 stable info: 02:42:06 ------------------- 02:42:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:06 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:42:06 Message: update stable to v1.0.172 02:42:07 ------------------- 02:42:07 experimental info: 02:42:07 ------------------- 02:42:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:07 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:42:07 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:10 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-692 [Pipeline] echo 02:42:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-692 [Pipeline] echo 02:42:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-692 [Pipeline] echo 02:42:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 [Pipeline] echo 02:42:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b51476b [Pipeline] echo 02:42:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:11 provisioning config files... 02:42:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config7560192013450285960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:11 ---> docker-login.sh 02:42:11 nexus3.edgexfoundry.org:10001 02:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:11 Configure a credential helper to remove this warning. See 02:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:11 02:42:11 Login Succeeded 02:42:11 nexus3.edgexfoundry.org:10002 02:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:12 Configure a credential helper to remove this warning. See 02:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:12 02:42:12 Login Succeeded 02:42:12 nexus3.edgexfoundry.org:10003 02:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:12 Configure a credential helper to remove this warning. See 02:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:12 02:42:12 Login Succeeded 02:42:12 nexus3.edgexfoundry.org:10004 02:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:12 Configure a credential helper to remove this warning. See 02:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:12 02:42:12 Login Succeeded 02:42:12 docker.io 02:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:12 Configure a credential helper to remove this warning. See 02:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:12 02:42:12 Login Succeeded 02:42:12 ---> docker-login.sh ends [Pipeline] } 02:42:12 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:42:13 + git log --format=format:%s -1 b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 [Pipeline] echo 02:42:13 GIT_COMMIT: b51476b3eb5332e9f205f64ae55ba9fc3f7f6495, Commit Message: Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD [Pipeline] echo 02:42:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:15 02:42:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:15 latest: Pulling from edgex-devops/git-semver 02:42:15 31603596830f: Pulling fs layer 02:42:15 2a8b12db71e7: Pulling fs layer 02:42:15 6ca5941a6612: Pulling fs layer 02:42:15 ecc8261a40a4: Pulling fs layer 02:42:15 ecc8261a40a4: Waiting 02:42:15 2a8b12db71e7: Verifying Checksum 02:42:15 2a8b12db71e7: Download complete 02:42:15 31603596830f: Verifying Checksum 02:42:15 31603596830f: Download complete 02:42:15 ecc8261a40a4: Verifying Checksum 02:42:15 ecc8261a40a4: Download complete 02:42:15 6ca5941a6612: Verifying Checksum 02:42:15 6ca5941a6612: Download complete 02:42:15 31603596830f: Pull complete 02:42:15 2a8b12db71e7: Pull complete 02:42:16 6ca5941a6612: Pull complete 02:42:16 ecc8261a40a4: Pull complete 02:42:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:17 prd-centos7-docker-4c-2g-16018 does not seem to be running inside a container 02:42:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:19 $ docker top a20747d7e2fd3699fb73ea2ac2070385759ae3e49f6621172324850bc37f86b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:20 [ssh-agent] Looking for ssh-agent implementation... 02:42:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:20 $ docker exec a20747d7e2fd3699fb73ea2ac2070385759ae3e49f6621172324850bc37f86b9 ssh-agent 02:42:20 SSH_AUTH_SOCK=/tmp/ssh-PQFdwrJjPcVY/agent.11 02:42:20 SSH_AGENT_PID=17 02:42:20 Running ssh-add (command line suppressed) 02:42:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_1277879249218795285.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_1277879249218795285.key) 02:42:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:21 + git tag --points-at HEAD [Pipeline] } 02:42:21 $ docker exec --env ******** --env ******** a20747d7e2fd3699fb73ea2ac2070385759ae3e49f6621172324850bc37f86b9 ssh-agent -k 02:42:21 unset SSH_AUTH_SOCK; 02:42:21 unset SSH_AGENT_PID; 02:42:21 echo Agent pid 17 killed; 02:42:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:21 [ssh-agent] Looking for ssh-agent implementation... 02:42:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:21 $ docker exec a20747d7e2fd3699fb73ea2ac2070385759ae3e49f6621172324850bc37f86b9 ssh-agent 02:42:21 SSH_AUTH_SOCK=/tmp/ssh-raYRFybWWfHn/agent.46 02:42:21 SSH_AGENT_PID=51 02:42:21 Running ssh-add (command line suppressed) 02:42:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_8023991264357696485.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_8023991264357696485.key) 02:42:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:22 + git semver init 02:42:22 # -> Open(): unable to determine branch for HEAD 02:42:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.git 02:42:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-692 02:42:22 # $SEMVER_REMOTE_NAME = origin 02:42:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:22 # $SEMVER_USER_NAME = edgex-jenkins 02:42:22 # $SEMVER_BRANCH = PR-692 02:42:22 # $SEMVER_TEMP = /tmp/semver-801407426 02:42:22 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:23 # '/tmp/semver-801407426' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver' 02:42:23 # -> Force: false 02:42:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver [Pipeline] } 02:42:23 $ docker exec --env ******** --env ******** a20747d7e2fd3699fb73ea2ac2070385759ae3e49f6621172324850bc37f86b9 ssh-agent -k 02:42:23 unset SSH_AUTH_SOCK; 02:42:23 unset SSH_AGENT_PID; 02:42:23 echo Agent pid 51 killed; 02:42:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:24 + git semver [Pipeline] } 02:42:24 $ docker stop --time=1 a20747d7e2fd3699fb73ea2ac2070385759ae3e49f6621172324850bc37f86b9 02:42:25 $ docker rm -f a20747d7e2fd3699fb73ea2ac2070385759ae3e49f6621172324850bc37f86b9 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:26 Stashed 1 file(s) [Pipeline] echo 02:42:26 [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:42:42 Still waiting to schedule task 02:42:42 ‘prd-centos7-builder-2c-1g-16011’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16020’ is offline 02:42:42 Still waiting to schedule task 02:42:42 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16016’ 02:43:42 Running on prd-centos7-docker-4c-2g-16021 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws 02:43:42 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:43:49 using credential edgex-jenkins-ssh 02:43:49 Cloning the remote Git repository 02:43:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:49 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:43:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:49 > git --version # timeout=10 02:43:49 > git --version # 'git version 2.24.3' 02:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:51 Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 57049f3c08facc341889102bb6912c48e3a72412 02:43:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:51 > git config core.sparsecheckout # timeout=10 02:43:51 > git checkout -f 57049f3c08facc341889102bb6912c48e3a72412 # timeout=10 02:43:52 Merge succeeded, producing 740e34592fb7e91548c12b15e60c6db30db73f03 02:43:52 Checking out Revision 740e34592fb7e91548c12b15e60c6db30db73f03 (PR-692) 02:43:52 > git remote # timeout=10 02:43:52 > git config --get remote.origin.url # timeout=10 02:43:52 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:52 > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 02:43:52 > git rev-parse HEAD^{commit} # timeout=10 02:43:52 > git config core.sparsecheckout # timeout=10 02:43:52 > git checkout -f 740e34592fb7e91548c12b15e60c6db30db73f03 # timeout=10 02:43:57 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" 02:43:57 > git rev-list --no-walk 57049f3c08facc341889102bb6912c48e3a72412 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:59 + sudo service docker restart 02:43:59 + true 02:43:59 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:01 provisioning config files... 02:44:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7914540436372299837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:02 ---> docker-login.sh 02:44:02 nexus3.edgexfoundry.org:10001 02:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:03 Configure a credential helper to remove this warning. See 02:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:03 02:44:03 Login Succeeded 02:44:03 nexus3.edgexfoundry.org:10002 02:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:03 Configure a credential helper to remove this warning. See 02:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:03 02:44:03 Login Succeeded 02:44:03 nexus3.edgexfoundry.org:10003 02:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:04 Configure a credential helper to remove this warning. See 02:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:04 02:44:04 Login Succeeded 02:44:04 nexus3.edgexfoundry.org:10004 02:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:04 Configure a credential helper to remove this warning. See 02:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:04 02:44:04 Login Succeeded 02:44:04 docker.io 02:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:04 Configure a credential helper to remove this warning. See 02:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:04 02:44:04 Login Succeeded 02:44:04 ---> docker-login.sh ends [Pipeline] } 02:44:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:05 ========================================================= 02:44:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:06 + 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:44:07 Sending build context to Docker daemon 2.38MB 02:44:07 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:07 Step 2/8 : FROM ${BASE} 02:44:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:07 188c0c94c7c5: Pulling fs layer 02:44:07 0ef7d3d256c8: Pulling fs layer 02:44:07 de9db76c5a1d: Pulling fs layer 02:44:07 bca2f99d35d6: Pulling fs layer 02:44:07 93359f2a8cfa: Pulling fs layer 02:44:07 7c6f9722023f: Pulling fs layer 02:44:07 a35cf1a2eb13: Pulling fs layer 02:44:07 93359f2a8cfa: Waiting 02:44:07 bca2f99d35d6: Waiting 02:44:07 7c6f9722023f: Waiting 02:44:07 a35cf1a2eb13: Waiting 02:44:07 de9db76c5a1d: Verifying Checksum 02:44:07 de9db76c5a1d: Download complete 02:44:07 0ef7d3d256c8: Verifying Checksum 02:44:07 0ef7d3d256c8: Download complete 02:44:07 93359f2a8cfa: Verifying Checksum 02:44:07 93359f2a8cfa: Download complete 02:44:07 7c6f9722023f: Verifying Checksum 02:44:07 7c6f9722023f: Download complete 02:44:08 188c0c94c7c5: Verifying Checksum 02:44:08 188c0c94c7c5: Download complete 02:44:08 188c0c94c7c5: Pull complete 02:44:09 0ef7d3d256c8: Pull complete 02:44:09 de9db76c5a1d: Pull complete 02:44:13 a35cf1a2eb13: Verifying Checksum 02:44:13 a35cf1a2eb13: Download complete 02:44:13 bca2f99d35d6: Verifying Checksum 02:44:13 bca2f99d35d6: Download complete 02:44:23 bca2f99d35d6: Pull complete 02:44:23 93359f2a8cfa: Pull complete 02:44:23 7c6f9722023f: Pull complete 02:44:32 a35cf1a2eb13: Pull complete 02:44:32 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:32 ---> a62c8e92a672 02:44:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:32 ---> Running in 8978cba3ae18 02:44:32 Removing intermediate container 8978cba3ae18 02:44:32 ---> b94c06bf4528 02:44:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:32 ---> Running in b61535477bd3 02:44:34 Removing intermediate container b61535477bd3 02:44:34 ---> f0383da3c5e0 02:44:34 Step 5/8 : RUN apk add --no-cache make git 02:44:34 ---> Running in b1c9c998f237 02:44:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:39 OK: 166 MiB in 39 packages 02:44:40 Removing intermediate container b1c9c998f237 02:44:40 ---> 946765945d8d 02:44:40 Step 6/8 : WORKDIR /device-sdk-go 02:44:40 ---> Running in 92101d5b4e5d 02:44:40 Removing intermediate container 92101d5b4e5d 02:44:40 ---> 95e84c9d35f5 02:44:40 Step 7/8 : COPY . . 02:44:42 ---> c83b636aac9b 02:44:42 Step 8/8 : RUN go mod download 02:44:42 ---> Running in d6125e6e18f6 02:45:09 Removing intermediate container d6125e6e18f6 02:45:09 ---> ce3363521596 02:45:09 Successfully built ce3363521596 02:45:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:09 + docker inspect -f . ci-base-image-x86_64 02:45:10 . [Pipeline] withDockerContainer 02:45:10 prd-centos7-docker-4c-2g-16021 does not seem to be running inside a container 02:45:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:12 $ docker top 21e2aef2ac7a95f684cb9ea4ce90bdd67b2079f3b4b5465a4b869e4ab85e7ce0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:14 + go version 02:45:14 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:14 $ docker stop --time=1 21e2aef2ac7a95f684cb9ea4ce90bdd67b2079f3b4b5465a4b869e4ab85e7ce0 02:45:15 $ docker rm -f 21e2aef2ac7a95f684cb9ea4ce90bdd67b2079f3b4b5465a4b869e4ab85e7ce0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:16 + docker inspect -f . ci-base-image-x86_64 02:45:16 . [Pipeline] withDockerContainer 02:45:17 prd-centos7-docker-4c-2g-16021 does not seem to be running inside a container 02:45:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:18 $ docker top 4ff3608c757f005177882dc4f52667f06173f135c68d8485bd2a8fa4924c4553 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:19 + make test 02:45:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16024 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws 02:45:21 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:45:27 using credential edgex-jenkins-ssh 02:45:27 Cloning the remote Git repository 02:45:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:27 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:45:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:27 > git --version # timeout=10 02:45:27 > git --version # 'git version 2.17.1' 02:45:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:29 Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 57049f3c08facc341889102bb6912c48e3a72412 02:45:30 Merge succeeded, producing 6150ab7abe367c622c849ddffa115fc8e0a44fbc 02:45:30 Checking out Revision 6150ab7abe367c622c849ddffa115fc8e0a44fbc (PR-692) 02:45:29 > git config core.sparsecheckout # timeout=10 02:45:29 > git checkout -f 57049f3c08facc341889102bb6912c48e3a72412 # timeout=10 02:45:29 > git remote # timeout=10 02:45:29 > git config --get remote.origin.url # timeout=10 02:45:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:29 > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 02:45:30 > git rev-parse HEAD^{commit} # timeout=10 02:45:30 > git config core.sparsecheckout # timeout=10 02:45:30 > git checkout -f 6150ab7abe367c622c849ddffa115fc8e0a44fbc # timeout=10 02:45:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:34 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" 02:45:34 > git rev-list --no-walk 57049f3c08facc341889102bb6912c48e3a72412 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:37 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:37 + sudo service docker restart 02:45:37 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:40 provisioning config files... 02:45:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config313328337991927753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:40 ---> docker-login.sh 02:45:40 nexus3.edgexfoundry.org:10001 02:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:41 Configure a credential helper to remove this warning. See 02:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:41 02:45:41 Login Succeeded 02:45:41 nexus3.edgexfoundry.org:10002 02:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:42 Configure a credential helper to remove this warning. See 02:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:42 02:45:42 Login Succeeded 02:45:42 nexus3.edgexfoundry.org:10003 02:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:43 Configure a credential helper to remove this warning. See 02:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:43 02:45:43 Login Succeeded 02:45:43 nexus3.edgexfoundry.org:10004 02:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:43 Configure a credential helper to remove this warning. See 02:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:43 02:45:43 Login Succeeded 02:45:43 docker.io 02:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:44 Configure a credential helper to remove this warning. See 02:45:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:44 02:45:44 Login Succeeded 02:45:44 ---> docker-login.sh ends [Pipeline] } 02:45:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:45 ========================================================= 02:45:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:45 + 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:45:46 Sending build context to Docker daemon 2.379MB 02:45:46 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:46 Step 2/8 : FROM ${BASE} 02:45:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:46 5f621e34cdf4: Pulling fs layer 02:45:46 a4357932f1b6: Pulling fs layer 02:45:46 18c013af1878: Pulling fs layer 02:45:46 00ac8860ef70: Pulling fs layer 02:45:46 63d7cb157983: Pulling fs layer 02:45:46 b116817d02f9: Pulling fs layer 02:45:46 745a02a5169b: Pulling fs layer 02:45:46 00ac8860ef70: Waiting 02:45:46 63d7cb157983: Waiting 02:45:46 b116817d02f9: Waiting 02:45:46 745a02a5169b: Waiting 02:45:46 18c013af1878: Verifying Checksum 02:45:46 18c013af1878: Download complete 02:45:46 a4357932f1b6: Verifying Checksum 02:45:46 a4357932f1b6: Download complete 02:45:46 63d7cb157983: Verifying Checksum 02:45:46 63d7cb157983: Download complete 02:45:46 b116817d02f9: Verifying Checksum 02:45:46 b116817d02f9: Download complete 02:45:46 5f621e34cdf4: Verifying Checksum 02:45:46 5f621e34cdf4: Download complete 02:45:47 5f621e34cdf4: Pull complete 02:45:47 a4357932f1b6: Pull complete 02:45:47 18c013af1878: Pull complete 02:45:48 745a02a5169b: Verifying Checksum 02:45:48 745a02a5169b: Download complete 02:45:50 00ac8860ef70: Verifying Checksum 02:45:50 00ac8860ef70: Download complete 02:46:00 00ac8860ef70: Pull complete 02:46:00 63d7cb157983: Pull complete 02:46:00 b116817d02f9: Pull complete 02:46:05 745a02a5169b: Pull complete 02:46:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:05 ---> b7e6874047d6 02:46:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:05 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:05 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:05 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.116s coverage: 20.6% of statements 02:46:07 ---> Running in f78db9d6469e 02:46:07 Removing intermediate container f78db9d6469e 02:46:07 ---> 0c655fda078a 02:46:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:07 ---> Running in 7dd553f912a5 02:46:10 Removing intermediate container 7dd553f912a5 02:46:10 ---> eac24e18e207 02:46:10 Step 5/8 : RUN apk add --no-cache make git 02:46:10 ---> Running in 6ce751fa0538 02:46:10 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.129s coverage: 97.1% of statements 02:46:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:16 OK: 142 MiB in 39 packages 02:46:17 Removing intermediate container 6ce751fa0538 02:46:17 ---> 351bb5f589cc 02:46:17 Step 6/8 : WORKDIR /device-sdk-go 02:46:17 ---> Running in dcf47c5d5b57 02:46:18 Removing intermediate container dcf47c5d5b57 02:46:18 ---> 23d8e7b9a290 02:46:18 Step 7/8 : COPY . . 02:46:19 ---> 235d8f08ee91 02:46:19 Step 8/8 : RUN go mod download 02:46:19 ---> Running in 62c8f95f8f87 02:46:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements 02:46:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.078s coverage: 21.9% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:38 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.458s coverage: 42.5% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.920s coverage: 68.9% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:38 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.123s coverage: 52.6% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:38 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.337s coverage: 68.9% of statements 02:46:38 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.100s coverage: 4.7% of statements 02:46:38 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:38 GO111MODULE=on go vet ./... 02:46:41 Removing intermediate container 62c8f95f8f87 02:46:41 ---> 83e90adcbcb7 02:46:41 Successfully built 83e90adcbcb7 02:46:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:42 + docker inspect -f . ci-base-image-arm64 02:46:42 . [Pipeline] withDockerContainer 02:46:42 prd-ubuntu18.04-docker-arm64-4c-16g-16024 does not seem to be running inside a container 02:46:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:43 $ docker top d42693c2e5a8e7a24e16a922c6b75bc68fa3529924a3c96c62d7310912c6babb -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:45 + go version 02:46:45 go version go1.15.5 linux/arm64 [Pipeline] } 02:46:45 $ docker stop --time=1 d42693c2e5a8e7a24e16a922c6b75bc68fa3529924a3c96c62d7310912c6babb 02:46:46 $ docker rm -f d42693c2e5a8e7a24e16a922c6b75bc68fa3529924a3c96c62d7310912c6babb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:48 + docker inspect -f . ci-base-image-arm64 02:46:48 . [Pipeline] withDockerContainer 02:46:48 prd-ubuntu18.04-docker-arm64-4c-16g-16024 does not seem to be running inside a container 02:46:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:50 $ docker top 0ee1c94d55d8c5e85302efba90bd08e3e809193061975f6cada51c82bd5dc9a6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:51 + make test 02:46:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:01 gofmt -l . 02:47:01 [ "`gofmt -l .`" = "" ] 02:47:01 ./bin/test-attribution-txt.sh 02:47:01 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:01 $ docker stop --time=1 4ff3608c757f005177882dc4f52667f06173f135c68d8485bd2a8fa4924c4553 02:47:03 $ docker rm -f 4ff3608c757f005177882dc4f52667f06173f135c68d8485bd2a8fa4924c4553 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:08 + ls -al . 02:47:08 total 208 02:47:08 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 15 02:47 . 02:47:08 drwxrwxr-x. 4 jenkins jenkins 28 Dec 15 02:43 .. 02:47:08 drwxrwxr-x. 2 jenkins jenkins 64 Dec 15 02:43 bin 02:47:08 -rw-r--r--. 1 jenkins jenkins 127610 Dec 15 02:46 coverage.out 02:47:08 -rw-rw-r--. 1 jenkins jenkins 936 Dec 15 02:43 Dockerfile.build 02:47:08 -rw-rw-r--. 1 jenkins jenkins 140 Dec 15 02:43 .dockerignore 02:47:08 drwxrwxr-x. 4 jenkins jenkins 48 Dec 15 02:43 example 02:47:08 drwxrwxr-x. 8 jenkins jenkins 179 Dec 15 02:43 .git 02:47:08 drwxrwxr-x. 2 jenkins jenkins 103 Dec 15 02:43 .github 02:47:08 -rw-rw-r--. 1 jenkins jenkins 138 Dec 15 02:43 .gitignore 02:47:08 -rw-r--r--. 1 jenkins jenkins 518 Dec 15 02:46 go.mod 02:47:08 -rw-r--r--. 1 jenkins jenkins 13734 Dec 15 02:47 go.sum 02:47:08 drwxrwxr-x. 15 jenkins jenkins 211 Dec 15 02:43 internal 02:47:08 -rw-rw-r--. 1 jenkins jenkins 901 Dec 15 02:43 Jenkinsfile 02:47:08 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 15 02:43 LICENSE 02:47:08 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 15 02:43 Makefile 02:47:08 drwxrwxr-x. 4 jenkins jenkins 26 Dec 15 02:43 openapi 02:47:08 drwxrwxr-x. 5 jenkins jenkins 50 Dec 15 02:43 pkg 02:47:08 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 15 02:43 README.md 02:47:08 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 15 02:43 RELEASE-NOTES.txt 02:47:08 drwxrwxr-x. 4 jenkins jenkins 54 Dec 15 02:43 snap 02:47:08 -rw-rw-r--. 1 jenkins jenkins 5 Dec 15 02:42 VERSION 02:47:08 -rw-rw-r--. 1 jenkins jenkins 222 Dec 15 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:47:08 + 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=b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 --label arch=amd64 --label version=0.0.0 . 02:47:10 Sending build context to Docker daemon 2.508MB 02:47:10 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:10 Step 2/24 : FROM ${BASE} AS builder 02:47:10 ---> ce3363521596 02:47:10 Step 3/24 : ARG MAKE='make build' 02:47:10 ---> Running in 5a68d67d0548 02:47:10 Removing intermediate container 5a68d67d0548 02:47:10 ---> 2988390dfd29 02:47:10 Step 4/24 : WORKDIR /device-sdk-go 02:47:10 ---> Running in f43285f3b237 02:47:11 Removing intermediate container f43285f3b237 02:47:11 ---> a783bb615096 02:47:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:11 ---> Running in ebed4b19d896 02:47:11 Removing intermediate container ebed4b19d896 02:47:11 ---> e818abfba059 02:47:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:12 ---> Running in e57453786135 02:47:13 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:14 Removing intermediate container e57453786135 02:47:14 ---> cddf401e47d9 02:47:14 Step 7/24 : RUN apk add --update --no-cache make git 02:47:14 ---> Running in 5431bdb125fb 02:47:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:17 OK: 166 MiB in 39 packages 02:47:18 Removing intermediate container 5431bdb125fb 02:47:18 ---> 88523311e9ae 02:47:18 Step 8/24 : COPY . . 02:47:21 ---> 61bafd459a3d 02:47:21 Step 9/24 : RUN ${MAKE} 02:47:21 ---> Running in 9506625e63d4 02:47:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:47:50 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:50 Removing intermediate container 9506625e63d4 02:47:50 ---> 0d4748fec241 02:47:50 Step 10/24 : FROM scratch 02:47:50 ---> 02:47:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:50 ---> Running in e12deefc0862 02:47:50 Removing intermediate container e12deefc0862 02:47:50 ---> 966c6cbc07bb 02:47:50 Step 12/24 : ENV APP_PORT=49990 02:47:50 ---> Running in 3ef7ec7b18c9 02:47:51 Removing intermediate container 3ef7ec7b18c9 02:47:51 ---> 7b7eab4b8c59 02:47:51 Step 13/24 : EXPOSE $APP_PORT 02:47:51 ---> Running in c1376d98e2af 02:47:51 Removing intermediate container c1376d98e2af 02:47:51 ---> 72b190f3f7fe 02:47:51 Step 14/24 : WORKDIR / 02:47:51 ---> Running in 1912fddfa4d6 02:47:52 Removing intermediate container 1912fddfa4d6 02:47:52 ---> ae82c0777179 02:47:52 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:52 ---> b4ced65073ba 02:47:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:53 ---> e78d20ebef69 02:47:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:53 ---> 3d666c7dbbc9 02:47:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:53 ---> a7241b64840a 02:47:53 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:54 ---> 9e06f52d0a1c 02:47:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:54 ---> Running in 518cdaa23fa1 02:47:54 Removing intermediate container 518cdaa23fa1 02:47:54 ---> 3dfbf2a08ac7 02:47:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:54 ---> Running in aa98823d4b27 02:47:55 Removing intermediate container aa98823d4b27 02:47:55 ---> 6d55a4bf77a5 02:47:55 Step 22/24 : LABEL arch=amd64 02:47:55 ---> Running in b096b5aa3b6f 02:47:55 Removing intermediate container b096b5aa3b6f 02:47:55 ---> 3cbbe9fbfae5 02:47:55 Step 23/24 : LABEL git_sha=b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 02:47:55 ---> Running in 4f601cfc2be0 02:47:56 Removing intermediate container 4f601cfc2be0 02:47:56 ---> c51c232d6579 02:47:56 Step 24/24 : LABEL version=0.0.0 02:47:56 ---> Running in 61b36935d712 02:47:56 Removing intermediate container 61b36935d712 02:47:56 ---> fe50e88a4056 02:47:56 [Warning] One or more build-args [ARCH] were not consumed 02:47:56 Successfully built fe50e88a4056 02:47:56 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:48:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.130s coverage: 20.6% of statements 02:48:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.203s coverage: 97.1% of statements 02:48:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.136s coverage: 9.4% of statements 02:48:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:27 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.625s coverage: 42.5% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:27 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.814s coverage: 68.9% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:27 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.213s coverage: 52.6% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:27 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.835s coverage: 68.9% of statements 02:48:27 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.138s coverage: 4.7% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:27 GO111MODULE=on go vet ./... 02:49:06 gofmt -l . 02:49:06 [ "`gofmt -l .`" = "" ] 02:49:06 ./bin/test-attribution-txt.sh 02:49:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:06 $ docker stop --time=1 0ee1c94d55d8c5e85302efba90bd08e3e809193061975f6cada51c82bd5dc9a6 02:49:09 $ docker rm -f 0ee1c94d55d8c5e85302efba90bd08e3e809193061975f6cada51c82bd5dc9a6 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:10 Warning: overwriting stash ‘coverage-report’ 02:49:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:12 + ls -al . 02:49:12 total 244 02:49:12 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:49 . 02:49:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:45 .. 02:49:12 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:45 .dockerignore 02:49:12 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:45 .git 02:49:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:45 .github 02:49:12 -rw-rw-r-- 1 jenkins jenkins 138 Dec 15 02:45 .gitignore 02:49:12 -rw-rw-r-- 1 jenkins jenkins 936 Dec 15 02:45 Dockerfile.build 02:49:12 -rw-rw-r-- 1 jenkins jenkins 901 Dec 15 02:45 Jenkinsfile 02:49:12 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 15 02:45 LICENSE 02:49:12 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 15 02:45 Makefile 02:49:12 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 15 02:45 README.md 02:49:12 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 15 02:45 RELEASE-NOTES.txt 02:49:12 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:42 VERSION 02:49:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:45 bin 02:49:12 -rw-r--r-- 1 jenkins jenkins 127611 Dec 15 02:48 coverage.out 02:49:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:45 example 02:49:12 -rw-r--r-- 1 jenkins jenkins 518 Dec 15 02:49 go.mod 02:49:12 -rw-r--r-- 1 jenkins jenkins 13734 Dec 15 02:49 go.sum 02:49:12 drwxrwxr-x 15 jenkins jenkins 4096 Dec 15 02:45 internal 02:49:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:45 openapi 02:49:12 drwxrwxr-x 5 jenkins jenkins 4096 Dec 15 02:45 pkg 02:49:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:45 snap 02:49:12 -rw-rw-r-- 1 jenkins jenkins 222 Dec 15 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:12 + 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=b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 --label arch=arm64 --label version=0.0.0 . 02:49:13 Sending build context to Docker daemon 2.507MB 02:49:13 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:13 Step 2/24 : FROM ${BASE} AS builder 02:49:13 ---> 83e90adcbcb7 02:49:13 Step 3/24 : ARG MAKE='make build' 02:49:13 ---> Running in 7dc44e880774 02:49:14 Removing intermediate container 7dc44e880774 02:49:14 ---> 7cce407b552a 02:49:14 Step 4/24 : WORKDIR /device-sdk-go 02:49:14 ---> Running in 9f354ea222e6 02:49:14 Removing intermediate container 9f354ea222e6 02:49:14 ---> 015159675d2f 02:49:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:15 ---> Running in 7c6771891218 02:49:15 Removing intermediate container 7c6771891218 02:49:15 ---> 96242713832d 02:49:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:15 ---> Running in b9f77f6c3bfa 02:49:17 Removing intermediate container b9f77f6c3bfa 02:49:17 ---> 45ad13eb1c79 02:49:17 Step 7/24 : RUN apk add --update --no-cache make git 02:49:17 ---> Running in c0be54be0dfa 02:49:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:21 OK: 142 MiB in 39 packages 02:49:22 Removing intermediate container c0be54be0dfa 02:49:22 ---> 132f28908267 02:49:22 Step 8/24 : COPY . . 02:49:24 ---> 4b297062c873 02:49:24 Step 9/24 : RUN ${MAKE} 02:49:24 ---> Running in a9926d5d231d 02:49:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:49:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:52 Removing intermediate container a9926d5d231d 02:49:52 ---> 420c49808ca7 02:49:52 Step 10/24 : FROM scratch 02:49:52 ---> 02:49:52 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:52 ---> Running in e2762f0b2edc 02:49:53 Removing intermediate container e2762f0b2edc 02:49:53 ---> c7daa4cccfd3 02:49:53 Step 12/24 : ENV APP_PORT=49990 02:49:53 ---> Running in 26518ab0ba26 02:49:53 Removing intermediate container 26518ab0ba26 02:49:53 ---> f8fbdbd84096 02:49:53 Step 13/24 : EXPOSE $APP_PORT 02:49:53 ---> Running in 8a6333f072e6 02:49:54 Removing intermediate container 8a6333f072e6 02:49:54 ---> e15bf7c46d7e 02:49:54 Step 14/24 : WORKDIR / 02:49:54 ---> Running in 6398142e2104 02:49:54 Removing intermediate container 6398142e2104 02:49:54 ---> 6e8b15705cad 02:49:54 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:55 ---> 0d024f922800 02:49:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:56 ---> d92d25fe3e60 02:49:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:57 ---> 051af7fb06fd 02:49:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:57 ---> 68244fa24e2f 02:49:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:58 ---> 85e051147401 02:49:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:58 ---> Running in 291cb6304558 02:49:58 Removing intermediate container 291cb6304558 02:49:58 ---> bcf9cce19d19 02:49:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:59 ---> Running in 352168c2fd3d 02:49:59 Removing intermediate container 352168c2fd3d 02:49:59 ---> 8c5772d2f669 02:49:59 Step 22/24 : LABEL arch=arm64 02:49:59 ---> Running in 89a6573b66cb 02:50:00 Removing intermediate container 89a6573b66cb 02:50:00 ---> efbf50fc5d5b 02:50:00 Step 23/24 : LABEL git_sha=b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 02:50:00 ---> Running in 8e3beb792661 02:50:00 Removing intermediate container 8e3beb792661 02:50:00 ---> a0f167ac86db 02:50:00 Step 24/24 : LABEL version=0.0.0 02:50:00 ---> Running in 348e39482992 02:50:01 Removing intermediate container 348e39482992 02:50:01 ---> ab01d962bf02 02:50:01 [Warning] One or more build-args [ARCH] were not consumed 02:50:01 Successfully built ab01d962bf02 02:50:01 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:03 provisioning config files... 02:50:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config1862401762258994048tmp [Pipeline] { [Pipeline] sh 02:50:04 + set +x 02:50:04 + curl -s https://codecov.io/bash 02:50:04 + bash -s -- 02:50:04 02:50:04 _____ _ 02:50:04 / ____| | | 02:50:04 | | ___ __| | ___ ___ _____ __ 02:50:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:04 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:04 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:04 Bash-20201130-cc6d3fe 02:50:04 02:50:04 02:50:04 ==> Jenkins CI detected. 02:50:04 project root: . 02:50:04 --> token set from env 02:50:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:04 ==> Running gcov in . (disable via -X gcov) 02:50:04 ==> Python coveragepy not found 02:50:04 ==> Searching for coverage reports in: 02:50:04 + . 02:50:04 -> Found 1 reports 02:50:04 ==> Detecting git/mercurial file structure 02:50:04 ==> Reading reports 02:50:04 + ./coverage.out bytes=127611 02:50:04 ==> Appending adjustments 02:50:04 https://docs.codecov.io/docs/fixing-reports 02:50:04 + Found adjustments 02:50:04 ==> Gzipping contents 02:50:04 24K /tmp/codecov.UBovdN.gz 02:50:04 ==> Uploading reports 02:50:04 url: https://codecov.io 02:50:04 query: branch=PR-692&commit=b51476b3eb5332e9f205f64ae55ba9fc3f7f6495&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= 02:50:04 -> Pinging Codecov 02:50:04 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-692&commit=b51476b3eb5332e9f205f64ae55ba9fc3f7f6495&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= 02:50:05 -> Uploading to 02:50:05 https://storage.googleapis.com/codecov/v4/raw/2020-12-15/7E55EF52A471D76F132DFD9A03CDDE97/b51476b3eb5332e9f205f64ae55ba9fc3f7f6495/b2c247a5-0fa6-4937-99e2-7547399ef80d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201215T025005Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00f7c52576c73147ae56d328949c49da0a7e03f9e363d91b8e32cf2392fc5f8f 02:50:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:05 Dload Upload Total Spent Left Speed 02:50:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20891 0 0 100 20891 0 44053 --:--:-- --:--:-- --:--:-- 44073 02:50:05 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 [Pipeline] } 02:50:05 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:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:08 ---> package-listing.sh 02:50:08 ++ facter osfamily 02:50:08 ++ tr '[:upper:]' '[:lower:]' 02:50:08 + OS_FAMILY=redhat 02:50:08 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-692 02:50:08 + START_PACKAGES=/tmp/packages_start.txt 02:50:08 + END_PACKAGES=/tmp/packages_end.txt 02:50:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:08 + PACKAGES=/tmp/packages_start.txt 02:50:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' 02:50:08 + PACKAGES=/tmp/packages_end.txt 02:50:08 + case "${OS_FAMILY}" in 02:50:08 + rpm -qa 02:50:08 + sort 02:50:13 + '[' -f /tmp/packages_start.txt ']' 02:50:13 + '[' -f /tmp/packages_end.txt ']' 02:50:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' 02:50:13 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ 02:50:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ [Pipeline] echo 02:50:13 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-692/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:14 02:50:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:14 alpine: Pulling from edgex-lftools-log-publisher 02:50:14 df20fa9351a1: Pulling fs layer 02:50:14 36b3adc4ff6f: Pulling fs layer 02:50:14 8ad3a11d3b57: Pulling fs layer 02:50:14 46f8f816bc3b: Pulling fs layer 02:50:14 93b61091891f: Pulling fs layer 02:50:14 93b9cdb0e59b: Pulling fs layer 02:50:14 5e14af77c1be: Pulling fs layer 02:50:14 01666e4c0597: Pulling fs layer 02:50:14 aa168da1d23b: Pulling fs layer 02:50:14 5e14af77c1be: Waiting 02:50:14 46f8f816bc3b: Waiting 02:50:14 01666e4c0597: Waiting 02:50:14 93b61091891f: Waiting 02:50:14 aa168da1d23b: Waiting 02:50:14 93b9cdb0e59b: Waiting 02:50:14 36b3adc4ff6f: Verifying Checksum 02:50:14 36b3adc4ff6f: Download complete 02:50:14 46f8f816bc3b: Download complete 02:50:14 df20fa9351a1: Download complete 02:50:14 93b9cdb0e59b: Verifying Checksum 02:50:14 93b9cdb0e59b: Download complete 02:50:15 93b61091891f: Verifying Checksum 02:50:15 93b61091891f: Download complete 02:50:15 5e14af77c1be: Download complete 02:50:15 01666e4c0597: Verifying Checksum 02:50:15 01666e4c0597: Download complete 02:50:15 df20fa9351a1: Pull complete 02:50:15 8ad3a11d3b57: Verifying Checksum 02:50:15 8ad3a11d3b57: Download complete 02:50:15 36b3adc4ff6f: Pull complete 02:50:16 8ad3a11d3b57: Pull complete 02:50:16 46f8f816bc3b: Pull complete 02:50:17 93b61091891f: Pull complete 02:50:17 aa168da1d23b: Verifying Checksum 02:50:17 aa168da1d23b: Download complete 02:50:17 93b9cdb0e59b: Pull complete 02:50:17 5e14af77c1be: Pull complete 02:50:17 01666e4c0597: Pull complete 02:50:24 aa168da1d23b: Pull complete 02:50:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:24 prd-centos7-docker-4c-2g-16018 does not seem to be running inside a container 02:50:24 $ 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-692/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-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:31 $ docker top 5fad49e0e9fd1bb802c61ba966fcc8c5f94b147f2ae867ecaaa1eae7bc80cf0e -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:32 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:32 + mkdir -p /var/log/sa [Pipeline] sh 02:50:32 + ls /var/log/sa-host 02:50:32 + sadf -c /var/log/sa-host/sa15 02:50:32 file_magic: OK 02:50:32 HZ: Using current value: 100 02:50:32 file_header: OK 02:50:32 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:50:32 Statistics: 02:50:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:32 File successfully converted to sysstat format version 12.2.1 02:50:32 + sadf -c /var/log/sa-host/sa23 02:50:32 file_magic: OK 02:50:32 HZ: Using current value: 100 02:50:32 file_header: OK 02:50:32 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:50:32 Statistics: 02:50:32 Hnuu...uuuununununu... 02:50:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:33 provisioning config files... 02:50:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config6046853378171871894tmp [Pipeline] { [Pipeline] echo 02:50:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:33 ---> create-netrc.sh [Pipeline] } 02:50:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:34 ---> python-tools-install.sh [Pipeline] echo 02:50:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:34 ---> sudo-logs.sh 02:50:34 Archiving 'sudo' log.. [Pipeline] echo 02:50:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:34 ---> job-cost.sh 02:50:34 lf-activate-venv: SKIPPING 02:50:34 INFO: No Stack... 02:50:35 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:36 INFO: Archiving Costs [Pipeline] echo 02:50:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:36 ---> logs-deploy.sh 02:50:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-692/2 02:50:36 INFO: archiving workspace using pattern(s): 02:50:38 Archives upload complete. 02:50:38 INFO: archiving logs to Nexus 02:50:39 ---> uname -a: 02:50:39 Linux prd-centos7-docker-4c-2g-16018.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:50:39 02:50:39 02:50:39 ---> lscpu: 02:50:39 Architecture: x86_64 02:50:39 CPU op-mode(s): 32-bit, 64-bit 02:50:39 Byte Order: Little Endian 02:50:39 Address sizes: 40 bits physical, 48 bits virtual 02:50:39 CPU(s): 4 02:50:39 On-line CPU(s) list: 0-3 02:50:39 Thread(s) per core: 1 02:50:39 Core(s) per socket: 1 02:50:39 Socket(s): 4 02:50:39 NUMA node(s): 1 02:50:39 Vendor ID: GenuineIntel 02:50:39 CPU family: 6 02:50:39 Model: 44 02:50:39 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:50:39 Stepping: 1 02:50:39 CPU MHz: 2933.438 02:50:39 BogoMIPS: 5866.87 02:50:39 Virtualization: VT-x 02:50:39 Hypervisor vendor: KVM 02:50:39 Virtualization type: full 02:50:39 L1d cache: 128 KiB 02:50:39 L1i cache: 128 KiB 02:50:39 L2 cache: 16 MiB 02:50:39 L3 cache: 64 MiB 02:50:39 NUMA node0 CPU(s): 0-3 02:50:39 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:50:39 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:50:39 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:50:39 Vulnerability Meltdown: Mitigation; PTI 02:50:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:50:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:50:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:50:39 Vulnerability Srbds: Not affected 02:50:39 Vulnerability Tsx async abort: Not affected 02:50:39 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:50:39 02:50:39 02:50:39 ---> nproc: 02:50:39 4 02:50:39 02:50:39 02:50:39 ---> df -h: 02:50:39 Filesystem Size Used Available Use% Mounted on 02:50:39 overlay 50.0G 7.3G 42.7G 15% / 02:50:39 tmpfs 64.0M 0 64.0M 0% /dev 02:50:39 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:50:39 shm 64.0M 0 64.0M 0% /dev/shm 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-692 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:50:39 02:50:39 02:50:39 ---> free -m: 02:50:39 total used free shared buff/cache available 02:50:39 Mem: 1837 633 107 0 1096 1100 02:50:39 Swap: 1023 0 1023 02:50:39 02:50:39 02:50:39 ---> ip addr: 02:50:39 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:50:39 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:50:39 inet 127.0.0.1/8 scope host lo 02:50:39 valid_lft forever preferred_lft forever 02:50:39 inet6 ::1/128 scope host 02:50:39 valid_lft forever preferred_lft forever 02:50:39 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:50:39 link/ether fa:16:3e:29:9a:6c brd ff:ff:ff:ff:ff:ff 02:50:39 inet 10.30.123.254/23 brd 10.30.123.255 scope global dynamic eth0 02:50:39 valid_lft 85852sec preferred_lft 85852sec 02:50:39 inet6 fe80::f816:3eff:fe29:9a6c/64 scope link 02:50:39 valid_lft forever preferred_lft forever 02:50:39 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:50:39 link/ether 02:42:33:9f:f0:ac brd ff:ff:ff:ff:ff:ff 02:50:39 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:50:39 valid_lft forever preferred_lft forever 02:50:39 inet6 fe80::42:33ff:fe9f:f0ac/64 scope link 02:50:39 valid_lft forever preferred_lft forever 02:50:39 02:50:39 02:50:39 ---> sar -b -r -n DEV: 02:50:39 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/15/20 _x86_64_ (4 CPU) 02:50:39 02:50:39 02:41:18 LINUX RESTART (4 CPU) 02:50:39 02:50:39 02:42:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:50:39 02:43:01 40.18 11.38 28.80 0.00 4484.60 3319.38 0.00 02:50:39 02:44:01 0.45 0.00 0.45 0.00 0.00 8.09 0.00 02:50:39 02:45:01 0.17 0.00 0.17 0.00 0.00 2.43 0.00 02:50:39 02:46:01 0.23 0.00 0.23 0.00 0.00 3.06 0.00 02:50:39 02:47:01 0.22 0.00 0.22 0.00 0.00 3.21 0.00 02:50:39 02:48:01 0.35 0.00 0.35 0.00 0.00 4.56 0.00 02:50:39 02:49:01 0.25 0.00 0.25 0.00 0.00 2.56 0.00 02:50:39 02:50:01 0.27 0.00 0.27 0.00 0.00 2.28 0.00 02:50:39 Average: 5.12 1.38 3.74 0.00 544.26 406.14 0.00 02:50:39 02:50:39 02:42:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:50:39 02:43:01 168516 0 525100 27.91 2620 1185308 1024412 34.96 349992 1162116 12 02:50:39 02:44:01 173968 0 519640 27.62 2620 1185316 1008548 34.42 348696 1159056 8 02:50:39 02:45:01 172056 0 521548 27.72 2620 1185320 1008640 34.42 350508 1159232 20 02:50:39 02:46:01 173640 0 519908 27.63 2620 1185376 1006248 34.34 355380 1152580 28 02:50:39 02:47:01 173696 0 519900 27.63 2620 1185328 1005164 34.30 350320 1157904 12 02:50:39 02:48:01 173052 0 520540 27.67 2620 1185332 1002068 34.20 354532 1154436 12 02:50:39 02:49:01 172352 0 521236 27.70 2620 1185336 1002068 34.20 357540 1152392 8 02:50:39 02:50:01 173232 0 520352 27.66 2620 1185340 992600 33.88 356728 1152204 8 02:50:39 Average: 172564 0 521028 27.69 2620 1185332 1006218 34.34 352962 1156240 14 02:50:39 02:50:39 02:42:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:50:39 02:43:01 eth0 277.35 198.48 565.30 128.85 0.00 0.00 0.00 0.00 02:50:39 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:43:01 docker0 7.56 5.43 1.25 20.98 0.00 0.00 0.00 0.00 02:50:39 02:44:01 eth0 2.03 0.45 0.65 0.39 0.00 0.00 0.00 0.00 02:50:39 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:45:01 eth0 2.42 0.33 0.44 0.23 0.00 0.00 0.00 0.00 02:50:39 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:46:01 eth0 7.37 5.44 1.00 13.68 0.00 0.00 0.00 0.00 02:50:39 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:47:01 eth0 2.45 0.80 0.95 0.67 0.00 0.00 0.00 0.00 02:50:39 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:48:01 eth0 1.63 0.43 0.45 0.21 0.00 0.00 0.00 0.00 02:50:39 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:49:01 eth0 0.80 0.45 0.31 0.21 0.00 0.00 0.00 0.00 02:50:39 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:50:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:50:39 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 Average: eth0 35.77 25.09 69.08 17.57 0.00 0.00 0.00 0.00 02:50:39 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 Average: docker0 0.92 0.66 0.15 2.55 0.00 0.00 0.00 0.00 02:50:39 02:50:39 02:50:39 ---> sar -P ALL: 02:50:39 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/15/20 _x86_64_ (4 CPU) 02:50:39 02:50:39 02:41:18 LINUX RESTART (4 CPU) 02:50:39 02:50:39 02:42:03 CPU %user %nice %system %iowait %steal %idle 02:50:39 02:43:01 all 4.63 0.00 2.71 0.96 0.01 91.70 02:50:39 02:43:01 0 5.40 0.00 3.00 0.35 0.00 91.25 02:50:39 02:43:01 1 3.90 0.00 2.32 0.78 0.02 92.98 02:50:39 02:43:01 2 4.66 0.00 2.98 1.58 0.02 90.77 02:50:39 02:43:01 3 4.56 0.00 2.54 1.11 0.00 91.79 02:50:39 02:44:01 all 0.15 0.00 0.05 0.00 0.00 99.80 02:50:39 02:44:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:50:39 02:44:01 1 0.22 0.00 0.05 0.00 0.00 99.73 02:50:39 02:44:01 2 0.32 0.00 0.05 0.00 0.00 99.63 02:50:39 02:44:01 3 0.05 0.00 0.03 0.00 0.00 99.92 02:50:39 02:45:01 all 0.17 0.00 0.03 0.00 0.00 99.80 02:50:39 02:45:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:50:39 02:45:01 1 0.52 0.00 0.03 0.00 0.00 99.45 02:50:39 02:45:01 2 0.05 0.00 0.05 0.00 0.00 99.90 02:50:39 02:45:01 3 0.08 0.00 0.03 0.00 0.00 99.88 02:50:39 02:46:01 all 0.24 0.00 0.08 0.00 0.00 99.68 02:50:39 02:46:01 0 0.08 0.00 0.10 0.00 0.02 99.80 02:50:39 02:46:01 1 0.28 0.00 0.05 0.00 0.00 99.67 02:50:39 02:46:01 2 0.42 0.00 0.10 0.00 0.00 99.48 02:50:39 02:46:01 3 0.18 0.00 0.07 0.00 0.00 99.75 02:50:39 02:47:01 all 0.19 0.00 0.08 0.00 0.02 99.72 02:50:39 02:47:01 0 0.05 0.00 0.05 0.00 0.02 99.88 02:50:39 02:47:01 1 0.13 0.00 0.10 0.00 0.02 99.75 02:50:39 02:47:01 2 0.47 0.00 0.07 0.00 0.00 99.47 02:50:39 02:47:01 3 0.10 0.00 0.08 0.00 0.03 99.78 02:50:39 02:48:01 all 0.15 0.00 0.07 0.00 0.00 99.78 02:50:39 02:48:01 0 0.02 0.00 0.15 0.00 0.00 99.83 02:50:39 02:48:01 1 0.05 0.00 0.07 0.00 0.00 99.88 02:50:39 02:48:01 2 0.52 0.00 0.03 0.00 0.00 99.45 02:50:39 02:48:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:50:39 02:49:01 all 0.16 0.00 0.04 0.00 0.00 99.79 02:50:39 02:49:01 0 0.05 0.00 0.07 0.00 0.02 99.87 02:50:39 02:49:01 1 0.05 0.00 0.05 0.00 0.00 99.90 02:50:39 02:49:01 2 0.53 0.00 0.03 0.00 0.00 99.43 02:50:39 02:49:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:50:39 02:50:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:50:39 02:50:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:50:39 02:50:01 1 0.28 0.00 0.05 0.00 0.00 99.67 02:50:39 02:50:01 2 0.28 0.00 0.02 0.00 0.00 99.70 02:50:39 02:50:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:50:39 Average: all 0.71 0.00 0.37 0.12 0.00 98.80 02:50:39 Average: 0 0.68 0.00 0.42 0.04 0.01 98.85 02:50:39 Average: 1 0.66 0.00 0.33 0.09 0.00 98.91 02:50:39 Average: 2 0.89 0.00 0.40 0.19 0.00 98.52 02:50:39 Average: 3 0.61 0.00 0.34 0.13 0.00 98.91 02:50:39 02:50:39 02:50:39