Pull request #989 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from cf90dbe5cb496db7542168cc70da22dce3802ddc+785b4defdcca312b165faacd9acb4d45f8b13b2d (69dcb1f14ae203945a9a97ab728867702254f05a) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1895293818777509090.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5292111249207853511.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-989/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-989/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8694983168253085391.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6125884414167096337.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-989/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-989/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6622930624283586677.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-38 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-989 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/jenkins-gitclient-ssh2196546447188066406.key > 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 785b4defdcca312b165faacd9acb4d45f8b13b2d into PR head commit cf90dbe5cb496db7542168cc70da22dce3802ddc Merge succeeded, producing cf90dbe5cb496db7542168cc70da22dce3802ddc Checking out Revision cf90dbe5cb496db7542168cc70da22dce3802ddc (PR-989) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/jenkins-gitclient-ssh6386541216627283435.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf90dbe5cb496db7542168cc70da22dce3802ddc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/jenkins-gitclient-ssh513564300987588621.key > git merge 785b4defdcca312b165faacd9acb4d45f8b13b2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf90dbe5cb496db7542168cc70da22dce3802ddc # timeout=10 Commit message: "docs: add Changelog for Ireland release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:20:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk d389b4c374e7e0b458fa8680c3b59ea3fb785880 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:20:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:20:10 ========================================================= 10:20:10 EdgeX Global Pipelines Version Info 10:20:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:20:11 ------------------- 10:20:11 stable info: 10:20:11 ------------------- 10:20:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:20:11 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 10:20:11 Message: update stable to v1.0.195 10:20:12 ------------------- 10:20:12 experimental info: 10:20:12 ------------------- 10:20:12 Commited By: **** collab-it+edgex@linuxfoundation.org 10:20:12 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 10:20:12 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-989 [Pipeline] echo 10:20:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-989 [Pipeline] echo 10:20:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-989 [Pipeline] echo 10:20:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf90dbe5cb496db7542168cc70da22dce3802ddc [Pipeline] echo 10:20:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf90dbe [Pipeline] echo 10:20:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:13 provisioning config files... 10:20:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config2063177156884450911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:13 ---> docker-login.sh 10:20:13 nexus3.edgexfoundry.org:10001 10:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:13 Configure a credential helper to remove this warning. See 10:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:13 10:20:13 Login Succeeded 10:20:13 nexus3.edgexfoundry.org:10002 10:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:14 Configure a credential helper to remove this warning. See 10:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:14 10:20:14 Login Succeeded 10:20:14 nexus3.edgexfoundry.org:10003 10:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:14 Configure a credential helper to remove this warning. See 10:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:14 10:20:14 Login Succeeded 10:20:14 nexus3.edgexfoundry.org:10004 10:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:14 Configure a credential helper to remove this warning. See 10:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:14 10:20:14 Login Succeeded 10:20:14 docker.io 10:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:14 Configure a credential helper to remove this warning. See 10:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:14 10:20:14 Login Succeeded 10:20:14 ---> docker-login.sh ends [Pipeline] } 10:20:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:15 + git log --format=format:%s -1 cf90dbe5cb496db7542168cc70da22dce3802ddc [Pipeline] echo 10:20:15 GIT_COMMIT: cf90dbe5cb496db7542168cc70da22dce3802ddc, Commit Message: docs: add Changelog for Ireland release [Pipeline] echo 10:20:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:20:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:20:15 10:20:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:20:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:20:16 latest: Pulling from edgex-devops/git-semver 10:20:16 31603596830f: Pulling fs layer 10:20:16 54011a49482f: Pulling fs layer 10:20:16 a6820b24f6d8: Pulling fs layer 10:20:16 f581987b2513: Pulling fs layer 10:20:16 f581987b2513: Waiting 10:20:16 54011a49482f: Verifying Checksum 10:20:16 54011a49482f: Download complete 10:20:16 31603596830f: Verifying Checksum 10:20:16 31603596830f: Download complete 10:20:16 f581987b2513: Verifying Checksum 10:20:16 f581987b2513: Download complete 10:20:16 a6820b24f6d8: Verifying Checksum 10:20:16 a6820b24f6d8: Download complete 10:20:16 31603596830f: Pull complete 10:20:16 54011a49482f: Pull complete 10:20:17 a6820b24f6d8: Pull complete 10:20:17 f581987b2513: Pull complete 10:20:17 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 10:20:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:20:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:20:17 prd-centos7-docker-4c-2g-38 does not seem to be running inside a container 10:20:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-989 -v /w/workspace/dgexfoundry_device-sdk-go_PR-989:/w/workspace/dgexfoundry_device-sdk-go_PR-989:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:20:18 $ docker top 2f346ef9a22f9fd133b490f25b0598acd2aa9e1223646ebfe9720ff446848160 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:18 [ssh-agent] Looking for ssh-agent implementation... 10:20:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:18 $ docker exec 2f346ef9a22f9fd133b490f25b0598acd2aa9e1223646ebfe9720ff446848160 ssh-agent 10:20:18 SSH_AUTH_SOCK=/tmp/ssh-2BmmQDLO6sns/agent.14 10:20:18 SSH_AGENT_PID=20 10:20:18 Running ssh-add (command line suppressed) 10:20:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_1140417971158332767.key (/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_1140417971158332767.key) 10:20:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:19 + git tag --points-at HEAD [Pipeline] } 10:20:19 $ docker exec --env ******** --env ******** 2f346ef9a22f9fd133b490f25b0598acd2aa9e1223646ebfe9720ff446848160 ssh-agent -k 10:20:19 unset SSH_AUTH_SOCK; 10:20:19 unset SSH_AGENT_PID; 10:20:19 echo Agent pid 20 killed; 10:20:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:20:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:19 [ssh-agent] Looking for ssh-agent implementation... 10:20:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:19 $ docker exec 2f346ef9a22f9fd133b490f25b0598acd2aa9e1223646ebfe9720ff446848160 ssh-agent 10:20:19 SSH_AUTH_SOCK=/tmp/ssh-JtywdQ0i0XfT/agent.54 10:20:19 SSH_AGENT_PID=60 10:20:19 Running ssh-add (command line suppressed) 10:20:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_8013249603180715579.key (/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_8013249603180715579.key) 10:20:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:20 + git semver init 10:20:20 # -> Open(): unable to determine branch for HEAD 10:20:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-989/.git 10:20:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-989 10:20:20 # $SEMVER_REMOTE_NAME = origin 10:20:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:20:20 # $SEMVER_USER_NAME = edgex-jenkins 10:20:20 # $SEMVER_BRANCH = PR-989 10:20:20 # $SEMVER_TEMP = /tmp/semver-949074836 10:20:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:20:20 # '/tmp/semver-949074836' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-989/.semver' 10:20:20 # -> Force: false 10:20:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-989/.semver [Pipeline] } 10:20:20 $ docker exec --env ******** --env ******** 2f346ef9a22f9fd133b490f25b0598acd2aa9e1223646ebfe9720ff446848160 ssh-agent -k 10:20:20 unset SSH_AUTH_SOCK; 10:20:20 unset SSH_AGENT_PID; 10:20:20 echo Agent pid 60 killed; 10:20:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:21 + git semver [Pipeline] } 10:20:21 $ docker stop --time=1 2f346ef9a22f9fd133b490f25b0598acd2aa9e1223646ebfe9720ff446848160 10:20:22 $ docker rm -f 2f346ef9a22f9fd133b490f25b0598acd2aa9e1223646ebfe9720ff446848160 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:20:23 Stashed 1 file(s) [Pipeline] echo 10:20:23 [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 10:20:38 Still waiting to schedule task 10:20:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:20:38 Still waiting to schedule task 10:20:38 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 10:21:58 Running on prd-centos7-docker-4c-2g-42 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] ws 10:21:58 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:21:58 Selected Git installation does not exist. Using Default 10:21:58 The recommended git tool is: NONE 10:22:01 using credential edgex-jenkins-ssh 10:22:01 Cloning the remote Git repository 10:22:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:22:00 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:22:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:22:00 > git --version # timeout=10 10:22:00 > git --version # 'git version 2.24.4' 10:22:00 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:00 [INFO] Currently running in a labeled security context 10:22:00 [INFO] Currently SELinux is 'enforcing' on the host 10:22:00 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh3916212004254227536.key 10:22:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:22:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:22:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:22:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:02 [INFO] Currently running in a labeled security context 10:22:02 [INFO] Currently SELinux is 'enforcing' on the host 10:22:02 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh5221408413215257691.key 10:22:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:22:03 Merging remotes/origin/master commit 785b4defdcca312b165faacd9acb4d45f8b13b2d into PR head commit cf90dbe5cb496db7542168cc70da22dce3802ddc 10:22:03 Merge succeeded, producing cf90dbe5cb496db7542168cc70da22dce3802ddc 10:22:03 Checking out Revision cf90dbe5cb496db7542168cc70da22dce3802ddc (PR-989) 10:22:02 > git config core.sparsecheckout # timeout=10 10:22:02 > git checkout -f cf90dbe5cb496db7542168cc70da22dce3802ddc # timeout=10 10:22:03 > git remote # timeout=10 10:22:03 > git config --get remote.origin.url # timeout=10 10:22:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:03 [INFO] Currently running in a labeled security context 10:22:03 [INFO] Currently SELinux is 'enforcing' on the host 10:22:03 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8101435437597787288.key 10:22:03 > git merge 785b4defdcca312b165faacd9acb4d45f8b13b2d # timeout=10 10:22:03 > git rev-parse HEAD^{commit} # timeout=10 10:22:03 > git config core.sparsecheckout # timeout=10 10:22:03 > git checkout -f cf90dbe5cb496db7542168cc70da22dce3802ddc # timeout=10 10:22:06 Commit message: "docs: add Changelog for Ireland release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:22:07 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:22:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:22:08 + sudo service docker restart 10:22:08 + true 10:22:08 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:26 provisioning config files... 10:22:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5596268058383420274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:27 ---> docker-login.sh 10:22:27 nexus3.edgexfoundry.org:10001 10:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:27 Configure a credential helper to remove this warning. See 10:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:27 10:22:27 Login Succeeded 10:22:27 nexus3.edgexfoundry.org:10002 10:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:27 Configure a credential helper to remove this warning. See 10:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:27 10:22:27 Login Succeeded 10:22:27 nexus3.edgexfoundry.org:10003 10:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:27 Configure a credential helper to remove this warning. See 10:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:27 10:22:27 Login Succeeded 10:22:27 nexus3.edgexfoundry.org:10004 10:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:27 Configure a credential helper to remove this warning. See 10:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:27 10:22:27 Login Succeeded 10:22:27 docker.io 10:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:28 Configure a credential helper to remove this warning. See 10:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:28 10:22:28 Login Succeeded 10:22:28 ---> docker-login.sh ends [Pipeline] } 10:22:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:22:28 ========================================================= 10:22:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 10:22:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:22:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 10:22:28 Sending build context to Docker daemon 2.7MB 10:22:28 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 10:22:28 Step 2/8 : FROM ${BASE} 10:22:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 10:22:28 540db60ca938: Pulling fs layer 10:22:28 adcc1eea9eea: Pulling fs layer 10:22:28 4c4ab2625f07: Pulling fs layer 10:22:28 0510c868ecb4: Pulling fs layer 10:22:28 afea3b2eda06: Pulling fs layer 10:22:28 7809a108b3ef: Pulling fs layer 10:22:28 f706445af74f: Pulling fs layer 10:22:28 afea3b2eda06: Waiting 10:22:28 7809a108b3ef: Waiting 10:22:28 f706445af74f: Waiting 10:22:28 4c4ab2625f07: Verifying Checksum 10:22:28 4c4ab2625f07: Download complete 10:22:28 adcc1eea9eea: Verifying Checksum 10:22:28 adcc1eea9eea: Download complete 10:22:28 afea3b2eda06: Verifying Checksum 10:22:28 afea3b2eda06: Download complete 10:22:28 7809a108b3ef: Download complete 10:22:28 540db60ca938: Verifying Checksum 10:22:28 540db60ca938: Download complete 10:22:29 540db60ca938: Pull complete 10:22:29 adcc1eea9eea: Pull complete 10:22:29 4c4ab2625f07: Pull complete 10:22:31 0510c868ecb4: Verifying Checksum 10:22:31 0510c868ecb4: Download complete 10:22:31 f706445af74f: Verifying Checksum 10:22:31 f706445af74f: Download complete 10:22:34 0510c868ecb4: Pull complete 10:22:34 afea3b2eda06: Pull complete 10:22:34 7809a108b3ef: Pull complete 10:22:36 f706445af74f: Pull complete 10:22:36 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 10:22:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 10:22:36 ---> b068be0155e3 10:22:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:22:39 ---> Running in 994f9d3d9b6b 10:22:39 Removing intermediate container 994f9d3d9b6b 10:22:39 ---> ee3957500dc5 10:22:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:22:39 ---> Running in 1c451a8e1e27 10:22:40 Removing intermediate container 1c451a8e1e27 10:22:40 ---> cd4c23aa22a0 10:22:40 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:22:40 ---> Running in 5ff3a37f9aae 10:22:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 10:22:41 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 10:22:41 (1/6) Installing libc-dev (0.7.2-r3) 10:22:41 (2/6) Installing libsodium (1.0.18-r0) 10:22:41 (3/6) Installing pkgconf (1.7.3-r0) 10:22:42 (4/6) Installing libsodium-dev (1.0.18-r0) 10:22:42 (5/6) Installing libzmq (4.3.3-r1) 10:22:42 (6/6) Installing zeromq-dev (4.3.3-r1) 10:22:42 Executing busybox-1.32.1-r6.trigger 10:22:42 OK: 150 MiB in 46 packages 10:22:42 Removing intermediate container 5ff3a37f9aae 10:22:42 ---> ec1f0a142680 10:22:42 Step 6/8 : WORKDIR /device-sdk-go 10:22:42 ---> Running in 7aac2c9d98eb 10:22:42 Removing intermediate container 7aac2c9d98eb 10:22:42 ---> 6b1e8d416ea8 10:22:42 Step 7/8 : COPY . . 10:22:43 ---> 56e94222f98d 10:22:43 Step 8/8 : RUN go mod download 10:22:43 ---> Running in 6d870bcd236d 10:22:53 Removing intermediate container 6d870bcd236d 10:22:53 ---> 5c5101847742 10:22:53 Successfully built 5c5101847742 10:22:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:22:53 + docker inspect -f . ci-base-image-x86_64 10:22:53 . [Pipeline] withDockerContainer 10:22:53 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 10:22:53 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:22:54 $ docker top fc02f8218f234375541ed73f4804f2a90467e107128532396b532ac6e4985812 -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:54 + go version 10:22:54 go version go1.16.3 linux/amd64 [Pipeline] } 10:22:54 $ docker stop --time=1 fc02f8218f234375541ed73f4804f2a90467e107128532396b532ac6e4985812 10:22:55 $ docker rm -f fc02f8218f234375541ed73f4804f2a90467e107128532396b532ac6e4985812 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:22:56 + docker inspect -f . ci-base-image-x86_64 10:22:56 . [Pipeline] withDockerContainer 10:22:56 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 10:22:56 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:22:56 $ docker top 95cf296ba5fb0cc8dc8fef9c825f12feef9635de192580b221bbc97a20661d43 -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:57 + go mod tidy [Pipeline] sh 10:22:57 + make test 10:22:57 go mod tidy 10:22:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:23:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:23:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:23:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:23:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 24.2% of statements 10:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 28.1% of statements 10:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements 10:23:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements 10:23:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:23:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:23:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:23:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.061s coverage: 28.7% of statements 10:23:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:23:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 83.3% of statements 10:23:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:23:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:23:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements 10:23:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.806s coverage: 89.2% of statements 10:23:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 10:23:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.045s coverage: 4.9% of statements 10:23:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:23:31 GO111MODULE=on go vet ./... 10:23:49 gofmt -l . 10:23:49 [ "`gofmt -l .`" = "" ] 10:23:49 ./bin/test-attribution-txt.sh 10:23:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:23:49 $ docker stop --time=1 95cf296ba5fb0cc8dc8fef9c825f12feef9635de192580b221bbc97a20661d43 10:23:51 $ docker rm -f 95cf296ba5fb0cc8dc8fef9c825f12feef9635de192580b221bbc97a20661d43 [Pipeline] // withDockerContainer [Pipeline] sh 10:23:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:23:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:23:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:23:53 + ls -al . 10:23:53 total 228 10:23:53 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 25 10:23 . 10:23:53 drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 10:22 .. 10:23:53 drwxrwxr-x. 2 jenkins jenkins 64 Jun 25 10:22 bin 10:23:53 -rw-rw-r--. 1 jenkins jenkins 25425 Jun 25 10:22 CHANGELOG.md 10:23:53 -rw-r--r--. 1 jenkins jenkins 125634 Jun 25 10:23 coverage.out 10:23:53 -rw-rw-r--. 1 jenkins jenkins 987 Jun 25 10:22 Dockerfile.build 10:23:53 -rw-rw-r--. 1 jenkins jenkins 140 Jun 25 10:22 .dockerignore 10:23:53 drwxrwxr-x. 5 jenkins jenkins 62 Jun 25 10:22 example 10:23:53 drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 10:22 .git 10:23:53 drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 10:22 .github 10:23:53 -rw-rw-r--. 1 jenkins jenkins 138 Jun 25 10:22 .gitignore 10:23:53 -rw-r--r--. 1 jenkins jenkins 548 Jun 25 10:23 go.mod 10:23:53 -rw-r--r--. 1 jenkins jenkins 20210 Jun 25 10:22 go.sum 10:23:53 drwxrwxr-x. 15 jenkins jenkins 224 Jun 25 10:22 internal 10:23:53 -rw-rw-r--. 1 jenkins jenkins 894 Jun 25 10:22 Jenkinsfile 10:23:53 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 25 10:22 LICENSE 10:23:53 -rw-rw-r--. 1 jenkins jenkins 1026 Jun 25 10:22 Makefile 10:23:53 drwxrwxr-x. 4 jenkins jenkins 26 Jun 25 10:22 openapi 10:23:53 drwxrwxr-x. 5 jenkins jenkins 50 Jun 25 10:22 pkg 10:23:53 -rw-rw-r--. 1 jenkins jenkins 7652 Jun 25 10:22 README.md 10:23:53 drwxrwxr-x. 4 jenkins jenkins 54 Jun 25 10:22 snap 10:23:53 -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 10:20 VERSION 10:23:53 -rw-rw-r--. 1 jenkins jenkins 222 Jun 25 10:22 version.go [Pipeline] isUnix [Pipeline] sh 10:23:53 + docker build -t 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=cf90dbe5cb496db7542168cc70da22dce3802ddc --label arch=amd64 --label version=0.0.0 . 10:23:53 Sending build context to Docker daemon 2.827MB 10:23:53 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 10:23:53 Step 2/23 : FROM ${BASE} AS builder 10:23:53 ---> 5c5101847742 10:23:53 Step 3/23 : WORKDIR /device-sdk-go 10:23:53 ---> Running in 2d5817614f9a 10:23:54 Removing intermediate container 2d5817614f9a 10:23:54 ---> 38d1a408ccb0 10:23:54 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:23:54 ---> Running in 6f17bfd733f9 10:23:54 Removing intermediate container 6f17bfd733f9 10:23:54 ---> 3e57855e408f 10:23:54 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:54 ---> Running in 7653c983eabd 10:23:54 Removing intermediate container 7653c983eabd 10:23:54 ---> 4cf3e27289c2 10:23:54 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:23:54 ---> Running in 5ddffe3b4315 10:23:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 10:23:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 10:23:56 OK: 150 MiB in 46 packages 10:23:56 Removing intermediate container 5ddffe3b4315 10:23:56 ---> 7a7b4702f4b5 10:23:56 Step 7/23 : COPY . . 10:23:56 ---> 8d1fe2ebe5d2 10:23:56 Step 8/23 : RUN go mod download 10:23:56 ---> Running in d5bbe84204e2 10:23:57 Removing intermediate container d5bbe84204e2 10:23:57 ---> 7faed114df5a 10:23:57 Step 9/23 : RUN make build 10:23:57 ---> Running in 18c2e153bfff 10:23:57 go mod tidy 10:23:58 CGO_ENABLED=1 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 10:24:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:24:09 Removing intermediate container 18c2e153bfff 10:24:09 ---> 6e5399d5ac23 10:24:09 Step 10/23 : FROM alpine:3.12 10:24:09 3.12: Pulling from library/alpine 10:24:09 339de151aab4: Pulling fs layer 10:24:10 339de151aab4: Verifying Checksum 10:24:10 339de151aab4: Download complete 10:24:10 339de151aab4: Pull complete 10:24:10 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 10:24:10 Status: Downloaded newer image for alpine:3.12 10:24:10 ---> 13621d1b12d4 10:24:10 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:24:10 ---> Running in b8ac017eb884 10:24:10 Removing intermediate container b8ac017eb884 10:24:10 ---> f798ec1da6a4 10:24:10 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:10 ---> Running in 56e3170bff6e 10:24:10 Removing intermediate container 56e3170bff6e 10:24:10 ---> 0da63e1b5608 10:24:10 Step 13/23 : RUN apk add --update --no-cache zeromq 10:24:10 ---> Running in b72a0dfa05a8 10:24:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:24:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:24:12 (1/5) Installing libgcc (9.3.0-r2) 10:24:12 (2/5) Installing libsodium (1.0.18-r0) 10:24:12 (3/5) Installing libstdc++ (9.3.0-r2) 10:24:13 (4/5) Installing libzmq (4.3.3-r0) 10:24:13 (5/5) Installing zeromq (4.3.3-r0) 10:24:13 Executing busybox-1.31.1-r20.trigger 10:24:13 OK: 8 MiB in 19 packages 10:24:13 Removing intermediate container b72a0dfa05a8 10:24:13 ---> 204910727eae 10:24:13 Step 14/23 : WORKDIR / 10:24:13 ---> Running in c3511c825e00 10:24:13 Removing intermediate container c3511c825e00 10:24:13 ---> 2d661dfe4c6a 10:24:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:24:13 ---> 57276168bd72 10:24:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:24:14 ---> 76c2bd5421ea 10:24:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:24:14 ---> b89f1004c3ee 10:24:14 Step 18/23 : EXPOSE 59999 10:24:14 ---> Running in c3058a1d5614 10:24:14 Removing intermediate container c3058a1d5614 10:24:14 ---> 0fcd22364864 10:24:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:24:14 ---> Running in 8e51c87b3271 10:24:14 Removing intermediate container 8e51c87b3271 10:24:14 ---> d3760204dd96 10:24:14 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:24:14 ---> Running in deb5437f607c 10:24:14 Removing intermediate container deb5437f607c 10:24:14 ---> 4d6f1ba64f7d 10:24:14 Step 21/23 : LABEL arch=amd64 10:24:14 ---> Running in aaae63e67422 10:24:14 Removing intermediate container aaae63e67422 10:24:14 ---> 5647133498dc 10:24:14 Step 22/23 : LABEL git_sha=cf90dbe5cb496db7542168cc70da22dce3802ddc 10:24:14 ---> Running in 108bcad8089b 10:24:14 Removing intermediate container 108bcad8089b 10:24:14 ---> f8ee1d60361a 10:24:14 Step 23/23 : LABEL version=0.0.0 10:24:14 ---> Running in c9c2be537c33 10:24:14 Removing intermediate container c9c2be537c33 10:24:14 ---> ccba0de978c3 10:24:14 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:24:15 Successfully built ccba0de978c3 10:24:15 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:24:15 ---> job-cost.sh 10:24:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JZzC 10:24:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] ws 10:24:17 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:24:17 Selected Git installation does not exist. Using Default 10:24:17 The recommended git tool is: NONE 10:24:22 using credential edgex-jenkins-ssh 10:24:22 Cloning the remote Git repository 10:24:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:24:22 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:24:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:24:22 > git --version # timeout=10 10:24:22 > git --version # 'git version 2.17.1' 10:24:22 using GIT_SSH to set credentials SSH Credentials for GitHub 10:24:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:24:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:24:24 Merging remotes/origin/master commit 785b4defdcca312b165faacd9acb4d45f8b13b2d into PR head commit cf90dbe5cb496db7542168cc70da22dce3802ddc [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 10:24:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:24:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:24:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:24:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 10:24:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:24:24 > git config core.sparsecheckout # timeout=10 10:24:24 > git checkout -f cf90dbe5cb496db7542168cc70da22dce3802ddc # timeout=10 [Pipeline] // stage [Pipeline] } 10:24:24 Failed in branch arm64 10:24:39 lf-activate-venv(): INFO: Adding /tmp/venv-JZzC/bin to PATH 10:24:39 INFO: No Stack... 10:24:39 INFO: Retrieving Pricing Info for: v3-standard-2 10:24:39 INFO: Archiving Costs [Pipeline] sh 10:24:39 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 10:24:39 + cut -d, -f6 [Pipeline] lock 10:24:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-989-3-stack-cost] 10:24:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-989-3-stack-cost] did not exist. Created. 10:24:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-989-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:24:39 + echo total: 0.05999999865889549 [Pipeline] stash 10:24:39 Stashed 1 file(s) [Pipeline] } 10:24:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-989-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:24:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:24:42 ---> package-listing.sh 10:24:42 ++ tr '[:upper:]' '[:lower:]' 10:24:42 ++ facter osfamily 10:24:42 + OS_FAMILY=redhat 10:24:42 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-989 10:24:42 + START_PACKAGES=/tmp/packages_start.txt 10:24:42 + END_PACKAGES=/tmp/packages_end.txt 10:24:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:24:42 + PACKAGES=/tmp/packages_start.txt 10:24:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-989 ']' 10:24:42 + PACKAGES=/tmp/packages_end.txt 10:24:42 + case "${OS_FAMILY}" in 10:24:42 + rpm -qa 10:24:42 + sort 10:24:43 + '[' -f /tmp/packages_start.txt ']' 10:24:43 + '[' -f /tmp/packages_end.txt ']' 10:24:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:24:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-989 ']' 10:24:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-989/archives/ 10:24:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-989/archives/ [Pipeline] echo 10:24:43 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-989/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:24:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:24:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:24:44 10:24:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:24:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:24:44 alpine: Pulling from edgex-lftools-log-publisher 10:24:44 df20fa9351a1: Pulling fs layer 10:24:44 36b3adc4ff6f: Pulling fs layer 10:24:44 8ad3a11d3b57: Pulling fs layer 10:24:44 46f8f816bc3b: Pulling fs layer 10:24:44 93b61091891f: Pulling fs layer 10:24:44 93b9cdb0e59b: Pulling fs layer 10:24:44 5e14af77c1be: Pulling fs layer 10:24:44 01666e4c0597: Pulling fs layer 10:24:44 aa168da1d23b: Pulling fs layer 10:24:44 46f8f816bc3b: Waiting 10:24:44 93b61091891f: Waiting 10:24:44 93b9cdb0e59b: Waiting 10:24:44 5e14af77c1be: Waiting 10:24:44 01666e4c0597: Waiting 10:24:44 aa168da1d23b: Waiting 10:24:44 36b3adc4ff6f: Verifying Checksum 10:24:44 36b3adc4ff6f: Download complete 10:24:44 46f8f816bc3b: Verifying Checksum 10:24:44 46f8f816bc3b: Download complete 10:24:44 df20fa9351a1: Verifying Checksum 10:24:44 df20fa9351a1: Download complete 10:24:44 93b9cdb0e59b: Verifying Checksum 10:24:44 93b9cdb0e59b: Download complete 10:24:44 5e14af77c1be: Verifying Checksum 10:24:44 5e14af77c1be: Download complete 10:24:44 01666e4c0597: Verifying Checksum 10:24:44 01666e4c0597: Download complete 10:24:44 93b61091891f: Verifying Checksum 10:24:44 93b61091891f: Download complete 10:24:44 8ad3a11d3b57: Verifying Checksum 10:24:44 8ad3a11d3b57: Download complete 10:24:44 df20fa9351a1: Pull complete 10:24:45 36b3adc4ff6f: Pull complete 10:24:45 8ad3a11d3b57: Pull complete 10:24:45 46f8f816bc3b: Pull complete 10:24:45 93b61091891f: Pull complete 10:24:46 93b9cdb0e59b: Pull complete 10:24:46 5e14af77c1be: Pull complete 10:24:46 01666e4c0597: Pull complete 10:24:46 aa168da1d23b: Verifying Checksum 10:24:46 aa168da1d23b: Download complete 10:24:50 aa168da1d23b: Pull complete 10:24:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:24:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:24:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:24:51 prd-centos7-docker-4c-2g-38 does not seem to be running inside a container 10:24:51 $ 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-989/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-989 -v /w/workspace/dgexfoundry_device-sdk-go_PR-989:/w/workspace/dgexfoundry_device-sdk-go_PR-989:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:24:54 $ docker top bb8d5ba764dd02b5326560f6d30cc2fc01d79cf2010427ec5e043717882362ff -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:55 + touch /tmp/pre-build-complete [Pipeline] sh 10:24:55 + mkdir -p /var/log/sa [Pipeline] sh 10:24:55 + ls /var/log/sa-host 10:24:55 + sadf -c /var/log/sa-host/sa05 10:24:55 file_magic: OK 10:24:55 HZ: Using current value: 100 10:24:55 file_header: OK 10:24:55 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 10:24:55 Statistics: 10:24:55 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:24:55 File successfully converted to sysstat format version 12.2.1 10:24:55 + sadf -c /var/log/sa-host/sa25 10:24:55 file_magic: OK 10:24:55 HZ: Using current value: 100 10:24:55 file_header: OK 10:24:55 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 10:24:55 Statistics: 10:24:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:24:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:24:56 provisioning config files... 10:24:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config2653706921473636615tmp [Pipeline] { [Pipeline] echo 10:24:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:24:56 ---> create-netrc.sh [Pipeline] } 10:24:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:24:56 ---> python-tools-install.sh [Pipeline] echo 10:24:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:24:57 ---> sudo-logs.sh 10:24:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:24:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:24:57 ---> job-cost.sh 10:24:57 lf-activate-venv: SKIPPING 10:24:57 DEBUG: total: 0.05999999865889549 10:24:57 INFO: Retrieving Stack Cost... 10:24:58 INFO: Retrieving Pricing Info for: v3-standard-2 10:24:59 INFO: Archiving Costs [Pipeline] echo 10:24:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:24:59 ---> logs-deploy.sh 10:24:59 lf-activate-venv: SKIPPING 10:24:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-989/3 10:24:59 INFO: archiving workspace using pattern(s): 10:25:00 Archives upload complete. 10:25:00 INFO: archiving logs to Nexus 10:25:01 ---> uname -a: 10:25:01 Linux prd-centos7-docker-4c-2g-38.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 10:25:01 10:25:01 10:25:01 ---> lscpu: 10:25:01 Architecture: x86_64 10:25:01 CPU op-mode(s): 32-bit, 64-bit 10:25:01 Byte Order: Little Endian 10:25:01 Address sizes: 40 bits physical, 48 bits virtual 10:25:01 CPU(s): 2 10:25:01 On-line CPU(s) list: 0,1 10:25:01 Thread(s) per core: 1 10:25:01 Core(s) per socket: 1 10:25:01 Socket(s): 2 10:25:01 NUMA node(s): 1 10:25:01 Vendor ID: AuthenticAMD 10:25:01 CPU family: 23 10:25:01 Model: 49 10:25:01 Model name: AMD EPYC-Rome Processor 10:25:01 Stepping: 0 10:25:01 CPU MHz: 2799.998 10:25:01 BogoMIPS: 5599.99 10:25:01 Virtualization: AMD-V 10:25:01 Hypervisor vendor: KVM 10:25:01 Virtualization type: full 10:25:01 L1d cache: 64 KiB 10:25:01 L1i cache: 64 KiB 10:25:01 L2 cache: 1 MiB 10:25:01 L3 cache: 32 MiB 10:25:01 NUMA node0 CPU(s): 0,1 10:25:01 Vulnerability Itlb multihit: Not affected 10:25:01 Vulnerability L1tf: Not affected 10:25:01 Vulnerability Mds: Not affected 10:25:01 Vulnerability Meltdown: Not affected 10:25:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:25:01 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:25:01 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:25:01 Vulnerability Srbds: Not affected 10:25:01 Vulnerability Tsx async abort: Not affected 10:25:01 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 10:25:01 10:25:01 10:25:01 ---> nproc: 10:25:01 2 10:25:01 10:25:01 10:25:01 ---> df -h: 10:25:01 Filesystem Size Used Available Use% Mounted on 10:25:01 overlay 40.0G 7.6G 32.4G 19% / 10:25:01 tmpfs 64.0M 0 64.0M 0% /dev 10:25:01 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 10:25:01 shm 64.0M 0 64.0M 0% /dev/shm 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 10:25:01 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-989 10:25:01 10:25:01 10:25:01 ---> free -m: 10:25:01 total used free shared buff/cache available 10:25:01 Mem: 7821 966 4757 0 2097 6677 10:25:01 Swap: 1023 0 1023 10:25:01 10:25:01 10:25:01 ---> ip addr: 10:25:01 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 10:25:01 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:25:01 inet 127.0.0.1/8 scope host lo 10:25:01 valid_lft forever preferred_lft forever 10:25:01 inet6 ::1/128 scope host 10:25:01 valid_lft forever preferred_lft forever 10:25:01 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 10:25:01 link/ether fa:16:3e:5f:d0:8b brd ff:ff:ff:ff:ff:ff 10:25:01 inet 10.30.123.161/23 brd 10.30.123.255 scope global dynamic eth0 10:25:01 valid_lft 86078sec preferred_lft 86078sec 10:25:01 inet6 fe80::f816:3eff:fe5f:d08b/64 scope link 10:25:01 valid_lft forever preferred_lft forever 10:25:01 3: docker0: mtu 1500 qdisc noqueue state DOWN 10:25:01 link/ether 02:42:aa:a9:3e:19 brd ff:ff:ff:ff:ff:ff 10:25:01 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 10:25:01 valid_lft forever preferred_lft forever 10:25:01 inet6 fe80::42:aaff:fea9:3e19/64 scope link 10:25:01 valid_lft forever preferred_lft forever 10:25:01 10:25:01 10:25:01 ---> sar -b -r -n DEV: 10:25:01 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/25/21 _x86_64_ (2 CPU) 10:25:01 10:25:01 10:19:28 LINUX RESTART (2 CPU) 10:25:01 10:25:01 10:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:25:01 10:21:01 80.05 3.91 76.13 0.00 2645.70 3199.50 0.00 10:25:01 10:22:01 0.48 0.00 0.48 0.00 0.00 7.40 0.00 10:25:01 10:23:01 0.27 0.00 0.27 0.00 0.00 3.12 0.00 10:25:01 10:24:01 0.32 0.00 0.32 0.00 0.00 4.20 0.00 10:25:01 Average: 20.28 0.98 19.30 0.00 661.48 803.62 0.00 10:25:01 10:25:01 10:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:25:01 10:21:01 5447300 0 818360 10.22 2620 1740660 1298924 14.34 584844 1576716 20 10:25:01 10:22:01 5451900 0 813756 10.16 2620 1740664 1265356 13.97 581144 1576680 20 10:25:01 10:23:01 5455212 0 810440 10.12 2620 1740668 1236356 13.65 582584 1572400 8 10:25:01 10:24:01 5455392 0 810256 10.12 2620 1740672 1204488 13.30 582820 1572400 8 10:25:01 Average: 5452451 0 813203 10.15 2620 1740666 1251281 13.81 582848 1574549 14 10:25:01 10:25:01 10:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:25:01 10:21:01 eth0 313.89 228.25 686.76 57.01 0.00 0.00 0.00 0.00 10:25:01 10:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:25:01 10:21:01 docker0 12.26 9.03 2.08 27.98 0.00 0.00 0.00 0.00 10:25:01 10:22:01 eth0 2.22 0.32 0.43 0.23 0.00 0.00 0.00 0.00 10:25:01 10:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:25:01 10:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:25:01 10:23:01 eth0 1.52 0.53 0.57 0.36 0.00 0.00 0.00 0.00 10:25:01 10:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:25:01 10:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:25:01 10:24:01 eth0 1.10 0.08 0.10 0.04 0.00 0.00 0.00 0.00 10:25:01 10:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:25:01 10:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:25:01 Average: eth0 79.69 57.30 171.98 14.41 0.00 0.00 0.00 0.00 10:25:01 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:25:01 Average: docker0 3.06 2.26 0.52 7.00 0.00 0.00 0.00 0.00 10:25:01 10:25:01 10:25:01 ---> sar -P ALL: 10:25:01 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/25/21 _x86_64_ (2 CPU) 10:25:01 10:25:01 10:19:28 LINUX RESTART (2 CPU) 10:25:01 10:25:01 10:20:01 CPU %user %nice %system %iowait %steal %idle 10:25:01 10:21:01 all 7.29 0.00 2.59 2.25 0.05 87.81 10:25:01 10:21:01 0 6.76 0.00 2.33 1.26 0.05 89.60 10:25:01 10:21:01 1 7.83 0.00 2.86 3.25 0.05 86.02 10:25:01 10:22:01 all 0.03 0.00 0.05 0.00 0.03 99.88 10:25:01 10:22:01 0 0.02 0.00 0.05 0.00 0.03 99.90 10:25:01 10:22:01 1 0.05 0.00 0.05 0.00 0.03 99.87 10:25:01 10:23:01 all 0.12 0.00 0.03 0.00 0.02 99.84 10:25:01 10:23:01 0 0.05 0.00 0.02 0.00 0.00 99.93 10:25:01 10:23:01 1 0.18 0.00 0.03 0.00 0.03 99.75 10:25:01 10:24:01 all 0.19 0.00 0.02 0.00 0.03 99.76 10:25:01 10:24:01 0 0.03 0.00 0.02 0.00 0.03 99.92 10:25:01 10:24:01 1 0.35 0.00 0.02 0.00 0.03 99.60 10:25:01 Average: all 1.89 0.00 0.66 0.56 0.03 96.86 10:25:01 Average: 0 1.69 0.00 0.59 0.31 0.03 97.37 10:25:01 Average: 1 2.08 0.00 0.73 0.80 0.04 96.35 10:25:01 10:25:01 10:25:01