Pull request #942 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 gy95 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 7e3188cb6f7f988d05cb284df26c8fc32f770518 rather than 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 Obtained Jenkinsfile from 7e3188cb6f7f988d05cb284df26c8fc32f770518 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-ssh203155056165207452.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh3400152839816505383.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 9d0281235b943b7ad605f650702698f9078b2862 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-942/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-942/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7078501010601041108.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh1331354776232376176.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-942/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-942/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6281837016153999976.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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-98 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [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-942 # 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-942@tmp/jenkins-gitclient-ssh4914970261766901238.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 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 Merge succeeded, producing 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 Checking out Revision 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 (PR-942) > 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-942@tmp/jenkins-gitclient-ssh4847552536939582241.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 # 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-942@tmp/jenkins-gitclient-ssh5489649534693542927.key > git merge 7e3188cb6f7f988d05cb284df26c8fc32f770518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 # timeout=10 Commit message: "Merge branch 'master' into update_profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:28:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:28:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:28:43 ========================================================= 08:28:43 EdgeX Global Pipelines Version Info 08:28:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7802a94675146322ba8f15c2d7176586682f587b # timeout=10 08:28:45 ------------------- 08:28:45 stable info: 08:28:45 ------------------- 08:28:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:28:45 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:28:45 Message: update stable to v1.0.192 08:28:45 ------------------- 08:28:45 experimental info: 08:28:45 ------------------- 08:28:45 Commited By: **** collab-it+edgex@linuxfoundation.org 08:28:45 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:28:45 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:28:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:28:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:28:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:28:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:28:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:28:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:28:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-942 [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-942 [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-942 [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83fa2da [Pipeline] echo 08:28:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:28:46 provisioning config files... 08:28:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/config2817535217582219084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:28:47 ---> docker-login.sh 08:28:47 nexus3.edgexfoundry.org:10001 08:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:47 Configure a credential helper to remove this warning. See 08:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:47 08:28:47 Login Succeeded 08:28:47 nexus3.edgexfoundry.org:10002 08:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:47 Configure a credential helper to remove this warning. See 08:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:47 08:28:47 Login Succeeded 08:28:47 nexus3.edgexfoundry.org:10003 08:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:48 Configure a credential helper to remove this warning. See 08:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:48 08:28:48 Login Succeeded 08:28:48 nexus3.edgexfoundry.org:10004 08:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:48 Configure a credential helper to remove this warning. See 08:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:48 08:28:48 Login Succeeded 08:28:48 docker.io 08:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:48 Configure a credential helper to remove this warning. See 08:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:48 08:28:48 Login Succeeded 08:28:48 ---> docker-login.sh ends [Pipeline] } 08:28:48 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 08:28:49 + git log --format=format:%s -1 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 [Pipeline] echo 08:28:49 GIT_COMMIT: 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2, Commit Message: Merge branch 'master' into update_profile [Pipeline] echo 08:28:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:50 08:28:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:28:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:51 latest: Pulling from edgex-devops/git-semver 08:28:51 31603596830f: Pulling fs layer 08:28:51 54011a49482f: Pulling fs layer 08:28:51 a6820b24f6d8: Pulling fs layer 08:28:51 f581987b2513: Pulling fs layer 08:28:51 f581987b2513: Waiting 08:28:51 54011a49482f: Verifying Checksum 08:28:51 54011a49482f: Download complete 08:28:51 31603596830f: Verifying Checksum 08:28:51 31603596830f: Download complete 08:28:51 f581987b2513: Verifying Checksum 08:28:51 f581987b2513: Download complete 08:28:51 a6820b24f6d8: Verifying Checksum 08:28:51 a6820b24f6d8: Download complete 08:28:51 31603596830f: Pull complete 08:28:51 54011a49482f: Pull complete 08:28:52 a6820b24f6d8: Pull complete 08:28:53 f581987b2513: Pull complete 08:28:53 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:28:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:28:53 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 08:28:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-942 -v /w/workspace/dgexfoundry_device-sdk-go_PR-942:/w/workspace/dgexfoundry_device-sdk-go_PR-942:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-942@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:10004/edgex-devops/git-semver:latest cat 08:28:57 $ docker top a179c223eee2e0c6a8dc297db42a3cbb8460614ef9ff1e09c942f0dfa6865061 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:28:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:58 [ssh-agent] Looking for ssh-agent implementation... 08:28:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:58 $ docker exec a179c223eee2e0c6a8dc297db42a3cbb8460614ef9ff1e09c942f0dfa6865061 ssh-agent 08:28:58 SSH_AUTH_SOCK=/tmp/ssh-E1FJwhRIGa9L/agent.14 08:28:58 SSH_AGENT_PID=21 08:28:58 Running ssh-add (command line suppressed) 08:28:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_8089885197794725117.key (/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_8089885197794725117.key) 08:28:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:58 + git tag --points-at HEAD [Pipeline] } 08:28:58 $ docker exec --env ******** --env ******** a179c223eee2e0c6a8dc297db42a3cbb8460614ef9ff1e09c942f0dfa6865061 ssh-agent -k 08:28:58 unset SSH_AUTH_SOCK; 08:28:58 unset SSH_AGENT_PID; 08:28:58 echo Agent pid 21 killed; 08:28:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:28:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:58 [ssh-agent] Looking for ssh-agent implementation... 08:28:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:59 $ docker exec a179c223eee2e0c6a8dc297db42a3cbb8460614ef9ff1e09c942f0dfa6865061 ssh-agent 08:28:59 SSH_AUTH_SOCK=/tmp/ssh-6nUGmAQi7ofB/agent.54 08:28:59 SSH_AGENT_PID=61 08:28:59 Running ssh-add (command line suppressed) 08:28:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_5667565186163297316.key (/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_5667565186163297316.key) 08:28:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:59 + git semver init 08:28:59 # -> Open(): unable to determine branch for HEAD 08:28:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-942/.git 08:28:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-942 08:28:59 # $SEMVER_REMOTE_NAME = origin 08:28:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:28:59 # $SEMVER_USER_NAME = edgex-jenkins 08:28:59 # $SEMVER_BRANCH = PR-942 08:28:59 # $SEMVER_TEMP = /tmp/semver-288094721 08:28:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:29:00 # '/tmp/semver-288094721' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-942/.semver' 08:29:00 # -> Force: false 08:29:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-942/.semver [Pipeline] } 08:29:00 $ docker exec --env ******** --env ******** a179c223eee2e0c6a8dc297db42a3cbb8460614ef9ff1e09c942f0dfa6865061 ssh-agent -k 08:29:00 unset SSH_AUTH_SOCK; 08:29:00 unset SSH_AGENT_PID; 08:29:00 echo Agent pid 61 killed; 08:29:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:29:00 + git semver [Pipeline] } 08:29:00 $ docker stop --time=1 a179c223eee2e0c6a8dc297db42a3cbb8460614ef9ff1e09c942f0dfa6865061 08:29:02 $ docker rm -f a179c223eee2e0c6a8dc297db42a3cbb8460614ef9ff1e09c942f0dfa6865061 [Pipeline] // withDockerContainer [Pipeline] sh 08:29:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:29:03 Stashed 1 file(s) [Pipeline] echo 08:29:03 [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 08:29:18 Still waiting to schedule task 08:29:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:29:18 Still waiting to schedule task 08:29:18 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:31:20 Running on prd-centos7-docker-4c-2g-99 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [Pipeline] { [Pipeline] ws 08:31:20 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 08:31:20 Selected Git installation does not exist. Using Default 08:31:20 The recommended git tool is: NONE 08:31:23 using credential edgex-jenkins-ssh 08:31:23 Cloning the remote Git repository 08:31:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:31:22 > git init /w/workspace/device-sdk-go/3 # timeout=10 08:31:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:31:22 > git --version # timeout=10 08:31:22 > git --version # 'git version 2.24.4' 08:31:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:31:22 [INFO] Currently running in a labeled security context 08:31:22 [INFO] Currently SELinux is 'enforcing' on the host 08:31:22 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7147091455870303868.key 08:31:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:31:24 Merging remotes/origin/master commit 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 08:31:24 Merge succeeded, producing 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 08:31:24 Checking out Revision 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 (PR-942) 08:31:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:31:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:31:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:31:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:31:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:31:23 [INFO] Currently running in a labeled security context 08:31:23 [INFO] Currently SELinux is 'enforcing' on the host 08:31:23 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh485026515996181528.key 08:31:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:31:24 > git config core.sparsecheckout # timeout=10 08:31:24 > git checkout -f 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 # timeout=10 08:31:24 > git remote # timeout=10 08:31:24 > git config --get remote.origin.url # timeout=10 08:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:31:24 [INFO] Currently running in a labeled security context 08:31:24 [INFO] Currently SELinux is 'enforcing' on the host 08:31:24 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4549163226390008755.key 08:31:24 > git merge 7e3188cb6f7f988d05cb284df26c8fc32f770518 # timeout=10 08:31:24 > git rev-parse HEAD^{commit} # timeout=10 08:31:24 > git config core.sparsecheckout # timeout=10 08:31:24 > git checkout -f 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 # timeout=10 08:31:28 Commit message: "Merge branch 'master' into update_profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:31:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:31:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:31:30 + sudo service docker restart 08:31:30 + true 08:31:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:31:48 provisioning config files... 08:31:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4055429177491385766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:48 ---> docker-login.sh 08:31:48 nexus3.edgexfoundry.org:10001 08:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:48 Configure a credential helper to remove this warning. See 08:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:48 08:31:48 Login Succeeded 08:31:48 nexus3.edgexfoundry.org:10002 08:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:49 Configure a credential helper to remove this warning. See 08:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:49 08:31:49 Login Succeeded 08:31:49 nexus3.edgexfoundry.org:10003 08:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:49 Configure a credential helper to remove this warning. See 08:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:49 08:31:49 Login Succeeded 08:31:49 nexus3.edgexfoundry.org:10004 08:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:49 Configure a credential helper to remove this warning. See 08:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:49 08:31:49 Login Succeeded 08:31:49 docker.io 08:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:49 Configure a credential helper to remove this warning. See 08:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:49 08:31:49 Login Succeeded 08:31:49 ---> docker-login.sh ends [Pipeline] } 08:31:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:31:49 ========================================================= 08:31:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:31:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:31:50 + 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 . 08:31:50 Sending build context to Docker daemon 2.623MB 08:31:50 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:31:50 Step 2/8 : FROM ${BASE} 08:31:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:31:50 540db60ca938: Pulling fs layer 08:31:50 adcc1eea9eea: Pulling fs layer 08:31:50 4c4ab2625f07: Pulling fs layer 08:31:50 0510c868ecb4: Pulling fs layer 08:31:50 afea3b2eda06: Pulling fs layer 08:31:50 7809a108b3ef: Pulling fs layer 08:31:50 f706445af74f: Pulling fs layer 08:31:50 0510c868ecb4: Waiting 08:31:50 afea3b2eda06: Waiting 08:31:50 7809a108b3ef: Waiting 08:31:50 f706445af74f: Waiting 08:31:50 4c4ab2625f07: Download complete 08:31:50 adcc1eea9eea: Verifying Checksum 08:31:50 adcc1eea9eea: Download complete 08:31:50 afea3b2eda06: Verifying Checksum 08:31:50 afea3b2eda06: Download complete 08:31:50 7809a108b3ef: Verifying Checksum 08:31:50 7809a108b3ef: Download complete 08:31:50 540db60ca938: Verifying Checksum 08:31:50 540db60ca938: Download complete 08:31:50 540db60ca938: Pull complete 08:31:50 adcc1eea9eea: Pull complete 08:31:51 4c4ab2625f07: Pull complete 08:31:52 f706445af74f: Verifying Checksum 08:31:52 f706445af74f: Download complete 08:31:53 0510c868ecb4: Verifying Checksum 08:31:53 0510c868ecb4: Download complete 08:31:56 0510c868ecb4: Pull complete 08:31:56 afea3b2eda06: Pull complete 08:31:56 7809a108b3ef: Pull complete 08:31:58 f706445af74f: Pull complete 08:31:58 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 08:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:31:58 ---> b068be0155e3 08:31:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:32:02 ---> Running in 89caafd198ff 08:32:02 Removing intermediate container 89caafd198ff 08:32:02 ---> e21f774a5fab 08:32:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:32:02 ---> Running in d5533f722e3d 08:32:03 Removing intermediate container d5533f722e3d 08:32:03 ---> 47dfdf5d0f78 08:32:03 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:32:03 ---> Running in c85d4a54e1b7 08:32:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:32:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:32:04 (1/6) Installing libc-dev (0.7.2-r3) 08:32:04 (2/6) Installing libsodium (1.0.18-r0) 08:32:04 (3/6) Installing pkgconf (1.7.3-r0) 08:32:04 (4/6) Installing libsodium-dev (1.0.18-r0) 08:32:05 (5/6) Installing libzmq (4.3.3-r1) 08:32:05 (6/6) Installing zeromq-dev (4.3.3-r1) 08:32:05 Executing busybox-1.32.1-r6.trigger 08:32:05 OK: 150 MiB in 46 packages 08:32:05 Removing intermediate container c85d4a54e1b7 08:32:05 ---> 918f3ec3b14d 08:32:05 Step 6/8 : WORKDIR /device-sdk-go 08:32:05 ---> Running in eff9cf1c2f93 08:32:05 Removing intermediate container eff9cf1c2f93 08:32:05 ---> 5089efdbfa2b 08:32:05 Step 7/8 : COPY . . 08:32:05 ---> bde2efaa7761 08:32:05 Step 8/8 : RUN go mod download 08:32:06 ---> Running in 7f544dbb9542 08:32:18 Removing intermediate container 7f544dbb9542 08:32:18 ---> ce947e43b49e 08:32:18 Successfully built ce947e43b49e 08:32:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:32:18 + docker inspect -f . ci-base-image-x86_64 08:32:18 . [Pipeline] withDockerContainer 08:32:18 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 08:32:18 $ 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 ******** ci-base-image-x86_64 cat 08:32:19 $ docker top e2b082d7277be5b35e068b0a96b4b122be0c0ae7a6f270a3711808666bab3b0a -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:19 + go version 08:32:19 go version go1.16.3 linux/amd64 [Pipeline] } 08:32:19 $ docker stop --time=1 e2b082d7277be5b35e068b0a96b4b122be0c0ae7a6f270a3711808666bab3b0a 08:32:20 $ docker rm -f e2b082d7277be5b35e068b0a96b4b122be0c0ae7a6f270a3711808666bab3b0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:32:21 + docker inspect -f . ci-base-image-x86_64 08:32:21 . [Pipeline] withDockerContainer 08:32:21 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 08:32:21 $ 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 ******** ci-base-image-x86_64 cat 08:32:21 $ docker top 11e489a43dd1d862ca37e57240e2f7b91214c436bbffc10b95253948ab841fad -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:22 + go mod tidy [Pipeline] sh 08:32:22 + make test 08:32:22 go mod tidy 08:32:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:32:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:32:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:32:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:32:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:32:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 25.3% of statements 08:32:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:32:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements 08:32:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements 08:32:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 9.0% of statements 08:32:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:32:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:32:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:32:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 30.2% of statements 08:32:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:32:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 83.3% of statements 08:32:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:32:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:32:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements 08:32:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.796s coverage: 89.2% of statements 08:32:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:32:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 5.0% of statements 08:32:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:32:56 GO111MODULE=on go vet ./... 08:33:14 gofmt -l . 08:33:14 [ "`gofmt -l .`" = "" ] 08:33:14 ./bin/test-attribution-txt.sh 08:33:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:33:14 $ docker stop --time=1 11e489a43dd1d862ca37e57240e2f7b91214c436bbffc10b95253948ab841fad 08:33:15 $ docker rm -f 11e489a43dd1d862ca37e57240e2f7b91214c436bbffc10b95253948ab841fad [Pipeline] // withDockerContainer [Pipeline] sh 08:33:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:33:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:33:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:33:17 + ls -al . 08:33:17 total 212 08:33:17 drwxrwxr-x. 10 jenkins jenkins 4096 May 25 08:33 . 08:33:17 drwxrwxr-x. 4 jenkins jenkins 28 May 25 08:31 .. 08:33:17 drwxrwxr-x. 2 jenkins jenkins 64 May 25 08:31 bin 08:33:17 -rw-r--r--. 1 jenkins jenkins 126445 May 25 08:32 coverage.out 08:33:17 -rw-rw-r--. 1 jenkins jenkins 987 May 25 08:31 Dockerfile.build 08:33:17 -rw-rw-r--. 1 jenkins jenkins 140 May 25 08:31 .dockerignore 08:33:17 drwxrwxr-x. 5 jenkins jenkins 62 May 25 08:31 example 08:33:17 drwxrwxr-x. 8 jenkins jenkins 179 May 25 08:31 .git 08:33:17 drwxrwxr-x. 2 jenkins jenkins 103 May 25 08:31 .github 08:33:17 -rw-rw-r--. 1 jenkins jenkins 138 May 25 08:31 .gitignore 08:33:17 -rw-r--r--. 1 jenkins jenkins 575 May 25 08:33 go.mod 08:33:17 -rw-r--r--. 1 jenkins jenkins 20803 May 25 08:32 go.sum 08:33:17 drwxrwxr-x. 15 jenkins jenkins 224 May 25 08:31 internal 08:33:17 -rw-rw-r--. 1 jenkins jenkins 894 May 25 08:31 Jenkinsfile 08:33:17 -rw-rw-r--. 1 jenkins jenkins 11341 May 25 08:31 LICENSE 08:33:17 -rw-rw-r--. 1 jenkins jenkins 1026 May 25 08:31 Makefile 08:33:17 drwxrwxr-x. 4 jenkins jenkins 26 May 25 08:31 openapi 08:33:17 drwxrwxr-x. 5 jenkins jenkins 50 May 25 08:31 pkg 08:33:17 -rw-rw-r--. 1 jenkins jenkins 7652 May 25 08:31 README.md 08:33:17 -rw-rw-r--. 1 jenkins jenkins 6616 May 25 08:31 RELEASE-NOTES.txt 08:33:17 drwxrwxr-x. 4 jenkins jenkins 54 May 25 08:31 snap 08:33:17 -rw-rw-r--. 1 jenkins jenkins 5 May 25 08:29 VERSION 08:33:17 -rw-rw-r--. 1 jenkins jenkins 222 May 25 08:31 version.go [Pipeline] isUnix [Pipeline] sh 08:33:18 + 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=83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 --label arch=amd64 --label version=0.0.0 . 08:33:18 Sending build context to Docker daemon 2.75MB 08:33:18 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 08:33:18 Step 2/23 : FROM ${BASE} AS builder 08:33:18 ---> ce947e43b49e 08:33:18 Step 3/23 : WORKDIR /device-sdk-go 08:33:18 ---> Running in 05666fd3e504 08:33:18 Removing intermediate container 05666fd3e504 08:33:18 ---> 96b5cdebeedc 08:33:18 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:33:18 ---> Running in 7714383b74d4 08:33:18 Removing intermediate container 7714383b74d4 08:33:18 ---> b054ac854511 08:33:18 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:33:18 ---> Running in 979ae9b46c02 08:33:18 Removing intermediate container 979ae9b46c02 08:33:18 ---> c8f30b1bd512 08:33:18 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:33:18 ---> Running in 5e725aa3eeb9 08:33:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:33:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:33:20 OK: 150 MiB in 46 packages 08:33:20 Removing intermediate container 5e725aa3eeb9 08:33:20 ---> 38d91cbf25bf 08:33:20 Step 7/23 : COPY . . 08:33:20 ---> 310ec466c5a6 08:33:20 Step 8/23 : RUN go mod download 08:33:21 ---> Running in 05cf87f9d156 08:33:21 Removing intermediate container 05cf87f9d156 08:33:21 ---> 8441c1804719 08:33:21 Step 9/23 : RUN make build 08:33:21 ---> Running in 27d01f7f18b7 08:33:21 go mod tidy 08:33:21 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 08:33:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:33:33 Removing intermediate container 27d01f7f18b7 08:33:33 ---> 01a0ca85f96f 08:33:33 Step 10/23 : FROM alpine:3.12 08:33:33 3.12: Pulling from library/alpine 08:33:34 339de151aab4: Pulling fs layer 08:33:34 339de151aab4: Verifying Checksum 08:33:34 339de151aab4: Download complete 08:33:34 339de151aab4: Pull complete 08:33:34 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:33:34 Status: Downloaded newer image for alpine:3.12 08:33:34 ---> 13621d1b12d4 08:33:34 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:33:34 ---> Running in 38a98c8052bc 08:33:34 Removing intermediate container 38a98c8052bc 08:33:34 ---> db2f77e23fee 08:33:34 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:33:34 ---> Running in eb48706299c0 08:33:34 Removing intermediate container eb48706299c0 08:33:34 ---> 9bbff66edeb3 08:33:34 Step 13/23 : RUN apk add --update --no-cache zeromq 08:33:34 ---> Running in fb9fbf717047 08:33:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:33:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:33:36 (1/5) Installing libgcc (9.3.0-r2) 08:33:36 (2/5) Installing libsodium (1.0.18-r0) 08:33:36 (3/5) Installing libstdc++ (9.3.0-r2) 08:33:37 (4/5) Installing libzmq (4.3.3-r0) 08:33:37 (5/5) Installing zeromq (4.3.3-r0) 08:33:37 Executing busybox-1.31.1-r20.trigger 08:33:37 OK: 8 MiB in 19 packages 08:33:37 Removing intermediate container fb9fbf717047 08:33:37 ---> e1d1252cdc68 08:33:37 Step 14/23 : WORKDIR / 08:33:37 ---> Running in 36ec23d45df5 08:33:37 Removing intermediate container 36ec23d45df5 08:33:37 ---> 1f4e66ed9687 08:33:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:33:38 ---> 48f60099b79e 08:33:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:33:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-100 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [Pipeline] { [Pipeline] ws 08:33:38 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 08:33:38 ---> e3026c8be4e7 08:33:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:33:38 ---> 514dfada5a91 08:33:38 Step 18/23 : EXPOSE 59999 08:33:38 ---> Running in daaf17c4df7d 08:33:38 Removing intermediate container daaf17c4df7d 08:33:38 ---> 9f309f19dbdc 08:33:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:33:38 ---> Running in 1a8c811f7d83 08:33:38 Selected Git installation does not exist. Using Default 08:33:38 The recommended git tool is: NONE 08:33:38 Removing intermediate container 1a8c811f7d83 08:33:38 ---> d8c75a3dbaf6 08:33:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:33:38 ---> Running in fb79303cc81c 08:33:38 Removing intermediate container fb79303cc81c 08:33:38 ---> 42e1de6cedbe 08:33:38 Step 21/23 : LABEL arch=amd64 08:33:38 ---> Running in e5448c7e7e81 08:33:39 Removing intermediate container e5448c7e7e81 08:33:39 ---> 463087373dc0 08:33:39 Step 22/23 : LABEL git_sha=83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 08:33:39 ---> Running in d119004fd6a3 08:33:39 Removing intermediate container d119004fd6a3 08:33:39 ---> a196ee99d023 08:33:39 Step 23/23 : LABEL version=0.0.0 08:33:39 ---> Running in 2dfecefc3638 08:33:39 Removing intermediate container 2dfecefc3638 08:33:39 ---> 70efe5207a3d 08:33:39 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:33:39 Successfully built 70efe5207a3d 08:33:39 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 08:33:39 ---> job-cost.sh 08:33:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gIpU 08:33:43 using credential edgex-jenkins-ssh 08:33:43 Cloning the remote Git repository 08:33:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:33:44 > git init /w/workspace/device-sdk-go/3 # timeout=10 08:33:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:33:44 > git --version # timeout=10 08:33:44 > git --version # 'git version 2.17.1' 08:33:44 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:33:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:33:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:33:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:33:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:33:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:33:46 Merging remotes/origin/master commit 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:33:46 Failed in branch arm64 08:33:46 > git config core.sparsecheckout # timeout=10 08:33:46 > git checkout -f 83fa2da7b3aafd35365ad48b09fddd7a05f9e7b2 # timeout=10 08:33:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:34:03 lf-activate-venv(): INFO: Adding /tmp/venv-gIpU/bin to PATH 08:34:03 INFO: No Stack... 08:34:03 INFO: Retrieving Pricing Info for: v3-standard-2 08:34:03 INFO: Archiving Costs [Pipeline] sh 08:34:03 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 08:34:03 + cut -d, -f6 [Pipeline] lock 08:34:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-942-3-stack-cost] 08:34:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-942-3-stack-cost] did not exist. Created. 08:34:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-942-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:34:03 + echo total: 0.05999999865889549 [Pipeline] stash 08:34:03 Stashed 1 file(s) [Pipeline] } 08:34:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-942-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 08:34:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:34:05 ---> package-listing.sh 08:34:05 ++ tr '[:upper:]' '[:lower:]' 08:34:05 ++ facter osfamily 08:34:05 + OS_FAMILY=redhat 08:34:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-942 08:34:05 + START_PACKAGES=/tmp/packages_start.txt 08:34:05 + END_PACKAGES=/tmp/packages_end.txt 08:34:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:34:05 + PACKAGES=/tmp/packages_start.txt 08:34:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-942 ']' 08:34:05 + PACKAGES=/tmp/packages_end.txt 08:34:05 + case "${OS_FAMILY}" in 08:34:05 + rpm -qa 08:34:05 + sort 08:34:06 + '[' -f /tmp/packages_start.txt ']' 08:34:06 + '[' -f /tmp/packages_end.txt ']' 08:34:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:34:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-942 ']' 08:34:06 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-942/archives/ 08:34:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-942/archives/ [Pipeline] echo 08:34:06 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-942/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:34:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:34:07 08:34:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:34:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:34:08 alpine: Pulling from edgex-lftools-log-publisher 08:34:08 df20fa9351a1: Pulling fs layer 08:34:08 36b3adc4ff6f: Pulling fs layer 08:34:08 8ad3a11d3b57: Pulling fs layer 08:34:08 46f8f816bc3b: Pulling fs layer 08:34:08 93b61091891f: Pulling fs layer 08:34:08 93b9cdb0e59b: Pulling fs layer 08:34:08 5e14af77c1be: Pulling fs layer 08:34:08 01666e4c0597: Pulling fs layer 08:34:08 aa168da1d23b: Pulling fs layer 08:34:08 93b61091891f: Waiting 08:34:08 93b9cdb0e59b: Waiting 08:34:08 5e14af77c1be: Waiting 08:34:08 01666e4c0597: Waiting 08:34:08 aa168da1d23b: Waiting 08:34:08 46f8f816bc3b: Waiting 08:34:08 36b3adc4ff6f: Verifying Checksum 08:34:08 36b3adc4ff6f: Download complete 08:34:08 46f8f816bc3b: Verifying Checksum 08:34:08 46f8f816bc3b: Download complete 08:34:08 df20fa9351a1: Verifying Checksum 08:34:08 df20fa9351a1: Download complete 08:34:08 93b9cdb0e59b: Verifying Checksum 08:34:08 93b9cdb0e59b: Download complete 08:34:08 5e14af77c1be: Verifying Checksum 08:34:08 5e14af77c1be: Download complete 08:34:08 93b61091891f: Verifying Checksum 08:34:08 93b61091891f: Download complete 08:34:08 01666e4c0597: Verifying Checksum 08:34:08 01666e4c0597: Download complete 08:34:08 8ad3a11d3b57: Verifying Checksum 08:34:08 8ad3a11d3b57: Download complete 08:34:08 df20fa9351a1: Pull complete 08:34:09 36b3adc4ff6f: Pull complete 08:34:09 8ad3a11d3b57: Pull complete 08:34:09 46f8f816bc3b: Pull complete 08:34:10 aa168da1d23b: Verifying Checksum 08:34:10 aa168da1d23b: Download complete 08:34:10 93b61091891f: Pull complete 08:34:10 93b9cdb0e59b: Pull complete 08:34:11 5e14af77c1be: Pull complete 08:34:11 01666e4c0597: Pull complete 08:34:19 aa168da1d23b: Pull complete 08:34:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:34:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:34:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:34:19 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 08:34:19 $ 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-942/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-942 -v /w/workspace/dgexfoundry_device-sdk-go_PR-942:/w/workspace/dgexfoundry_device-sdk-go_PR-942:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-942@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:10003/edgex-lftools-log-publisher:alpine cat 08:34:36 $ docker top cd901db8a87d716c406f7751d714603771bb027880597e513a3f6e46b4128f98 -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:37 + touch /tmp/pre-build-complete [Pipeline] sh 08:34:37 + mkdir -p /var/log/sa [Pipeline] sh 08:34:37 + ls /var/log/sa-host 08:34:37 + sadf -c /var/log/sa-host/sa05 08:34:37 file_magic: OK 08:34:37 HZ: Using current value: 100 08:34:37 file_header: OK 08:34:37 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 08:34:37 Statistics: 08:34:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:34:37 File successfully converted to sysstat format version 12.2.1 08:34:37 + sadf -c /var/log/sa-host/sa25 08:34:37 file_magic: OK 08:34:37 HZ: Using current value: 100 08:34:37 file_header: OK 08:34:37 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 08:34:37 Statistics: 08:34:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:34:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:38 provisioning config files... 08:34:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/config1216558259420044700tmp [Pipeline] { [Pipeline] echo 08:34:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:34:38 ---> create-netrc.sh [Pipeline] } 08:34:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:34:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:34:38 ---> python-tools-install.sh [Pipeline] echo 08:34:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:34:39 ---> sudo-logs.sh 08:34:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:34:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:34:39 ---> job-cost.sh 08:34:39 lf-activate-venv: SKIPPING 08:34:39 DEBUG: total: 0.05999999865889549 08:34:39 INFO: Retrieving Stack Cost... 08:34:41 INFO: Retrieving Pricing Info for: v3-standard-2 08:34:41 INFO: Archiving Costs [Pipeline] echo 08:34:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:34:42 ---> logs-deploy.sh 08:34:42 lf-activate-venv: SKIPPING 08:34:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-942/3 08:34:42 INFO: archiving workspace using pattern(s): 08:34:43 Archives upload complete. 08:34:43 INFO: archiving logs to Nexus 08:34:43 ---> uname -a: 08:34:43 Linux prd-centos7-docker-4c-2g-98.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 08:34:43 08:34:43 08:34:43 ---> lscpu: 08:34:43 Architecture: x86_64 08:34:43 CPU op-mode(s): 32-bit, 64-bit 08:34:43 Byte Order: Little Endian 08:34:43 Address sizes: 40 bits physical, 48 bits virtual 08:34:43 CPU(s): 2 08:34:43 On-line CPU(s) list: 0,1 08:34:43 Thread(s) per core: 1 08:34:43 Core(s) per socket: 1 08:34:43 Socket(s): 2 08:34:43 NUMA node(s): 1 08:34:43 Vendor ID: AuthenticAMD 08:34:43 CPU family: 23 08:34:43 Model: 49 08:34:43 Model name: AMD EPYC-Rome Processor 08:34:43 Stepping: 0 08:34:43 CPU MHz: 2800.000 08:34:43 BogoMIPS: 5600.00 08:34:43 Virtualization: AMD-V 08:34:43 Hypervisor vendor: KVM 08:34:43 Virtualization type: full 08:34:43 L1d cache: 64 KiB 08:34:43 L1i cache: 64 KiB 08:34:43 L2 cache: 1 MiB 08:34:43 L3 cache: 32 MiB 08:34:43 NUMA node0 CPU(s): 0,1 08:34:43 Vulnerability Itlb multihit: Not affected 08:34:43 Vulnerability L1tf: Not affected 08:34:43 Vulnerability Mds: Not affected 08:34:43 Vulnerability Meltdown: Not affected 08:34:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:34:43 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:34:43 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:34:43 Vulnerability Srbds: Not affected 08:34:43 Vulnerability Tsx async abort: Not affected 08:34:43 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 08:34:43 08:34:43 08:34:43 ---> nproc: 08:34:43 2 08:34:43 08:34:43 08:34:43 ---> df -h: 08:34:43 Filesystem Size Used Available Use% Mounted on 08:34:43 overlay 40.0G 7.6G 32.4G 19% / 08:34:43 tmpfs 64.0M 0 64.0M 0% /dev 08:34:43 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 08:34:43 shm 64.0M 0 64.0M 0% /dev/shm 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-942 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 08:34:43 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 08:34:43 08:34:43 08:34:43 ---> free -m: 08:34:43 total used free shared buff/cache available 08:34:43 Mem: 7821 960 4766 0 2094 6682 08:34:43 Swap: 1023 0 1023 08:34:43 08:34:43 08:34:43 ---> ip addr: 08:34:43 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:34:43 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:34:43 inet 127.0.0.1/8 scope host lo 08:34:43 valid_lft forever preferred_lft forever 08:34:43 inet6 ::1/128 scope host 08:34:43 valid_lft forever preferred_lft forever 08:34:43 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:34:43 link/ether fa:16:3e:ce:dd:99 brd ff:ff:ff:ff:ff:ff 08:34:43 inet 10.30.122.225/23 brd 10.30.123.255 scope global dynamic eth0 08:34:43 valid_lft 85940sec preferred_lft 85940sec 08:34:43 inet6 fe80::f816:3eff:fece:dd99/64 scope link 08:34:43 valid_lft forever preferred_lft forever 08:34:43 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:34:43 link/ether 02:42:10:2d:d7:0f brd ff:ff:ff:ff:ff:ff 08:34:43 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:34:43 valid_lft forever preferred_lft forever 08:34:43 inet6 fe80::42:10ff:fe2d:d70f/64 scope link 08:34:43 valid_lft forever preferred_lft forever 08:34:43 08:34:43 08:34:44 ---> sar -b -r -n DEV: 08:34:44 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/25/21 _x86_64_ (2 CPU) 08:34:44 08:34:44 08:26:46 LINUX RESTART (2 CPU) 08:34:44 08:34:44 08:28:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:34:44 08:29:01 77.66 15.01 62.65 0.00 4697.02 38737.75 0.00 08:34:44 08:30:01 6.41 0.18 6.23 0.00 23.18 271.56 0.00 08:34:44 08:31:01 0.37 0.00 0.37 0.00 0.00 5.96 0.00 08:34:44 08:32:01 0.25 0.00 0.25 0.00 0.00 3.20 0.00 08:34:44 08:33:01 0.30 0.00 0.30 0.00 0.00 4.26 0.00 08:34:44 08:34:01 0.18 0.00 0.18 0.00 0.00 2.15 0.00 08:34:44 Average: 14.02 2.50 11.52 0.00 775.86 6414.78 0.00 08:34:44 08:34:44 08:28:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:34:44 08:29:01 5432296 0 835004 10.43 2620 1739012 1556584 17.19 598620 1576364 4208 08:34:44 08:30:01 5475844 0 792896 9.90 2620 1737572 1253980 13.84 570912 1563792 20 08:34:44 08:31:01 5481012 0 787728 9.84 2620 1737572 1193100 13.17 566520 1563864 8 08:34:44 08:32:01 5480292 0 788440 9.84 2620 1737580 1193348 13.18 565624 1565796 8 08:34:44 08:33:01 5479828 0 788900 9.85 2620 1737584 1193324 13.17 566056 1566256 20 08:34:44 08:34:01 5476376 0 792352 9.89 2620 1737584 1193384 13.18 564428 1571040 12 08:34:44 Average: 5470941 0 797553 9.96 2620 1737817 1263953 13.95 572027 1567852 713 08:34:44 08:34:44 08:28:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:34:44 08:29:01 vethb9880bc 11.75 8.45 2.07 27.89 0.00 0.00 0.00 0.00 08:34:44 08:29:01 eth0 639.50 447.26 1130.40 90.76 0.00 0.00 0.00 0.00 08:34:44 08:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:29:01 docker0 11.75 8.35 1.91 27.88 0.00 0.00 0.00 0.00 08:34:44 08:30:01 eth0 9.61 6.19 9.13 2.37 0.00 0.00 0.00 0.00 08:34:44 08:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:31:01 eth0 0.55 0.08 0.06 0.01 0.00 0.00 0.00 0.00 08:34:44 08:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:32:01 eth0 0.70 0.32 0.28 0.20 0.00 0.00 0.00 0.00 08:34:44 08:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:33:01 eth0 1.12 0.30 0.32 0.17 0.00 0.00 0.00 0.00 08:34:44 08:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:34:01 eth0 0.65 0.45 0.35 0.30 0.00 0.00 0.00 0.00 08:34:44 08:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 08:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 Average: eth0 107.22 74.74 187.48 15.43 0.00 0.00 0.00 0.00 08:34:44 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:34:44 Average: docker0 1.93 1.37 0.31 4.58 0.00 0.00 0.00 0.00 08:34:44 08:34:44 08:34:44 ---> sar -P ALL: 08:34:44 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/25/21 _x86_64_ (2 CPU) 08:34:44 08:34:44 08:26:46 LINUX RESTART (2 CPU) 08:34:44 08:34:44 08:28:02 CPU %user %nice %system %iowait %steal %idle 08:34:44 08:29:01 all 12.09 0.00 3.96 42.86 0.06 41.03 08:34:44 08:29:01 0 12.62 0.00 4.37 39.25 0.05 43.71 08:34:44 08:29:01 1 11.55 0.00 3.55 46.46 0.07 38.37 08:34:44 08:30:01 all 0.40 0.00 0.22 0.18 0.03 99.18 08:34:44 08:30:01 0 0.30 0.00 0.20 0.23 0.02 99.25 08:34:44 08:30:01 1 0.50 0.00 0.23 0.12 0.03 99.11 08:34:44 08:31:01 all 0.17 0.00 0.03 0.01 0.02 99.77 08:34:44 08:31:01 0 0.03 0.00 0.03 0.02 0.02 99.90 08:34:44 08:31:01 1 0.30 0.00 0.03 0.00 0.02 99.65 08:34:44 08:32:01 all 0.20 0.00 0.04 0.00 0.02 99.74 08:34:44 08:32:01 0 0.03 0.00 0.05 0.00 0.02 99.90 08:34:44 08:32:01 1 0.37 0.00 0.03 0.00 0.02 99.58 08:34:44 08:33:01 all 0.23 0.00 0.04 0.00 0.01 99.72 08:34:44 08:33:01 0 0.08 0.00 0.05 0.00 0.02 99.85 08:34:44 08:33:01 1 0.37 0.00 0.03 0.00 0.00 99.60 08:34:44 08:34:01 all 0.21 0.00 0.03 0.00 0.01 99.75 08:34:44 08:34:01 0 0.05 0.00 0.03 0.00 0.00 99.92 08:34:44 08:34:01 1 0.37 0.00 0.03 0.00 0.02 99.58 08:34:44 Average: all 2.14 0.00 0.70 6.90 0.02 90.24 08:34:44 Average: 0 2.10 0.00 0.76 6.32 0.02 90.80 08:34:44 Average: 1 2.17 0.00 0.63 7.48 0.03 89.69 08:34:44 08:34:44 08:34:44