Pull request #123 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-rest-go Obtained Jenkinsfile from 703406679a0bd739babd0126f7438661081b810c+acb551efcb6a1b4088edd326f55b17ef654f475f (2cabba75f3c487c49fd4839015203f47bb2cba6a) 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-ssh4277037348209462731.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-ssh8151362314644355.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-rest-go/branches/PR-123/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-rest-go/branches/PR-123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3637280814741638118.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-ssh1127020645922478443.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-rest-go/branches/PR-123/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-rest-go/branches/PR-123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8980123386516197835.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-323 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-123 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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/gexfoundry_device-rest-go_PR-123@tmp/jenkins-gitclient-ssh1480259519249320977.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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/gexfoundry_device-rest-go_PR-123@tmp/jenkins-gitclient-ssh3147866880080502775.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 703406679a0bd739babd0126f7438661081b810c Merge succeeded, producing 3fe616ed3f063443007c61c3d4a74f8e07d62510 Checking out Revision 3fe616ed3f063443007c61c3d4a74f8e07d62510 (PR-123) > git config core.sparsecheckout # timeout=10 > git checkout -f 703406679a0bd739babd0126f7438661081b810c # 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/gexfoundry_device-rest-go_PR-123@tmp/jenkins-gitclient-ssh6024618342116434462.key > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3fe616ed3f063443007c61c3d4a74f8e07d62510 # timeout=10 Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:14:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:14:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:14:49 ========================================================= 07:14:49 EdgeX Global Pipelines Version Info 07:14:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0df52e22b84e248f35bdc836271b82f752d1d6ec # timeout=10 07:14:51 ------------------- 07:14:51 stable info: 07:14:51 ------------------- 07:14:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:14:51 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 07:14:51 Message: update stable to v1.0.195 07:14:51 ------------------- 07:14:51 experimental info: 07:14:51 ------------------- 07:14:51 Commited By: **** collab-it+edgex@linuxfoundation.org 07:14:51 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 07:14:51 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:14:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 07:14:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 07:14:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:14:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:14:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:14:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:14:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3fe616ed3f063443007c61c3d4a74f8e07d62510 [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3fe616e [Pipeline] echo 07:14:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:52 provisioning config files... 07:14:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config6661775305487368356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:53 ---> docker-login.sh 07:14:53 nexus3.edgexfoundry.org:10001 07:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:53 Configure a credential helper to remove this warning. See 07:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:53 07:14:53 Login Succeeded 07:14:53 nexus3.edgexfoundry.org:10002 07:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:53 Configure a credential helper to remove this warning. See 07:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:53 07:14:53 Login Succeeded 07:14:53 nexus3.edgexfoundry.org:10003 07:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:54 Configure a credential helper to remove this warning. See 07:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:54 07:14:54 Login Succeeded 07:14:54 nexus3.edgexfoundry.org:10004 07:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:54 Configure a credential helper to remove this warning. See 07:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:54 07:14:54 Login Succeeded 07:14:54 docker.io 07:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:54 Configure a credential helper to remove this warning. See 07:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:54 07:14:54 Login Succeeded 07:14:54 ---> docker-login.sh ends [Pipeline] } 07:14:54 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 07:14:55 + git log --format=format:%s -1 3fe616ed3f063443007c61c3d4a74f8e07d62510 [Pipeline] echo 07:14:55 GIT_COMMIT: 3fe616ed3f063443007c61c3d4a74f8e07d62510, Commit Message: Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD [Pipeline] echo 07:14:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:14:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:56 07:14:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:14:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:56 latest: Pulling from edgex-devops/git-semver 07:14:56 31603596830f: Pulling fs layer 07:14:56 54011a49482f: Pulling fs layer 07:14:56 a6820b24f6d8: Pulling fs layer 07:14:56 f581987b2513: Pulling fs layer 07:14:56 f581987b2513: Waiting 07:14:56 54011a49482f: Verifying Checksum 07:14:56 54011a49482f: Download complete 07:14:56 31603596830f: Verifying Checksum 07:14:56 31603596830f: Download complete 07:14:56 a6820b24f6d8: Verifying Checksum 07:14:56 a6820b24f6d8: Download complete 07:14:56 f581987b2513: Verifying Checksum 07:14:56 f581987b2513: Download complete 07:14:56 31603596830f: Pull complete 07:14:57 54011a49482f: Pull complete 07:14:57 a6820b24f6d8: Pull complete 07:14:57 f581987b2513: Pull complete 07:14:57 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 07:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:14:58 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 07:14:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-123 -v /w/workspace/gexfoundry_device-rest-go_PR-123:/w/workspace/gexfoundry_device-rest-go_PR-123:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-123@tmp:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:15:00 $ docker top 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:00 [ssh-agent] Looking for ssh-agent implementation... 07:15:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:00 $ docker exec 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 ssh-agent 07:15:00 SSH_AUTH_SOCK=/tmp/ssh-059gpFxNznLH/agent.14 07:15:00 SSH_AGENT_PID=20 07:15:00 Running ssh-add (command line suppressed) 07:15:00 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_2766130682277148364.key (/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_2766130682277148364.key) 07:15:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:00 + git tag --points-at HEAD [Pipeline] } 07:15:00 $ docker exec --env ******** --env ******** 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 ssh-agent -k 07:15:01 unset SSH_AUTH_SOCK; 07:15:01 unset SSH_AGENT_PID; 07:15:01 echo Agent pid 20 killed; 07:15:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:15:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:01 [ssh-agent] Looking for ssh-agent implementation... 07:15:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:01 $ docker exec 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 ssh-agent 07:15:01 SSH_AUTH_SOCK=/tmp/ssh-NqH1EwFH40Ck/agent.53 07:15:01 SSH_AGENT_PID=60 07:15:01 Running ssh-add (command line suppressed) 07:15:01 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_7121305448451270536.key (/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_7121305448451270536.key) 07:15:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:01 + git semver init 07:15:01 # -> Open(): unable to determine branch for HEAD 07:15:01 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-123/.git 07:15:01 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-123 07:15:01 # $SEMVER_REMOTE_NAME = origin 07:15:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:15:01 # $SEMVER_USER_NAME = edgex-jenkins 07:15:01 # $SEMVER_BRANCH = PR-123 07:15:01 # $SEMVER_TEMP = /tmp/semver-033446022 07:15:01 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 07:15:03 # '/tmp/semver-033446022' -> '/w/workspace/gexfoundry_device-rest-go_PR-123/.semver' 07:15:03 # -> Force: false 07:15:03 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-123/.semver [Pipeline] } 07:15:03 $ docker exec --env ******** --env ******** 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 ssh-agent -k 07:15:03 unset SSH_AUTH_SOCK; 07:15:03 unset SSH_AGENT_PID; 07:15:03 echo Agent pid 60 killed; 07:15:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:03 + git semver [Pipeline] } 07:15:03 $ docker stop --time=1 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 07:15:04 $ docker rm -f 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 [Pipeline] // withDockerContainer [Pipeline] sh 07:15:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:05 Stashed 1 file(s) [Pipeline] echo 07:15:05 [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 07:15:20 Still waiting to schedule task 07:15:20 ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ 07:15:20 ‘prd-centos7-docker-4c-2g-312’ is offline 07:15:20 ‘prd-centos7-docker-4c-2g-320’ is offline 07:15:20 ‘prd-centos7-docker-4c-2g-321’ is offline 07:15:20 ‘prd-centos7-docker-4c-2g-324’ is offline 07:15:20 ‘prd-centos7-docker-4c-2g-915’ is offline 07:15:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ 07:15:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-315’ doesn’t have label ‘centos7-docker-4c-2g’ 07:15:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-319’ doesn’t have label ‘centos7-docker-4c-2g’ 07:15:20 Still waiting to schedule task 07:15:20 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:17:06 Running on prd-centos7-docker-4c-2g-325 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] ws 07:17:06 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 07:17:06 The recommended git tool is: git 07:17:08 using credential edgex-jenkins-ssh 07:17:08 Cloning the remote Git repository 07:17:08 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:17:08 > git init /w/workspace/device-rest-go/4 # timeout=10 07:17:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:17:08 > git --version # timeout=10 07:17:08 > git --version # 'git version 2.24.4' 07:17:08 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:09 [INFO] Currently running in a labeled security context 07:17:09 [INFO] Currently SELinux is 'enforcing' on the host 07:17:09 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh6553386739334611600.key 07:17:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:17:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:17:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:17:09 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:09 [INFO] Currently running in a labeled security context 07:17:09 [INFO] Currently SELinux is 'enforcing' on the host 07:17:09 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh4748254115397580897.key 07:17:10 Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 703406679a0bd739babd0126f7438661081b810c 07:17:10 Merge succeeded, producing 1e1006ff842a54f53d7845e99973857c4cbc3129 07:17:10 Checking out Revision 1e1006ff842a54f53d7845e99973857c4cbc3129 (PR-123) 07:17:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:17:10 > git config core.sparsecheckout # timeout=10 07:17:10 > git checkout -f 703406679a0bd739babd0126f7438661081b810c # timeout=10 07:17:10 > git remote # timeout=10 07:17:10 > git config --get remote.origin.url # timeout=10 07:17:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:10 [INFO] Currently running in a labeled security context 07:17:10 [INFO] Currently SELinux is 'enforcing' on the host 07:17:10 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh8611336555275661353.key 07:17:10 > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 07:17:10 > git rev-parse HEAD^{commit} # timeout=10 07:17:10 > git config core.sparsecheckout # timeout=10 07:17:10 > git checkout -f 1e1006ff842a54f53d7845e99973857c4cbc3129 # timeout=10 07:17:13 Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" 07:17:13 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:17:13 > git rev-list --no-walk 0df52e22b84e248f35bdc836271b82f752d1d6ec # timeout=10 07:17:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:17:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:17:15 + sudo service docker restart 07:17:15 + true 07:17:15 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:17:33 provisioning config files... 07:17:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config4694651512335543343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:34 ---> docker-login.sh 07:17:34 nexus3.edgexfoundry.org:10001 07:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:34 Configure a credential helper to remove this warning. See 07:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:34 07:17:34 Login Succeeded 07:17:34 nexus3.edgexfoundry.org:10002 07:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:34 Configure a credential helper to remove this warning. See 07:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:34 07:17:34 Login Succeeded 07:17:34 nexus3.edgexfoundry.org:10003 07:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:34 Configure a credential helper to remove this warning. See 07:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:34 07:17:34 Login Succeeded 07:17:34 nexus3.edgexfoundry.org:10004 07:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:34 Configure a credential helper to remove this warning. See 07:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:34 07:17:34 Login Succeeded 07:17:34 docker.io 07:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:35 Configure a credential helper to remove this warning. See 07:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:35 07:17:35 Login Succeeded 07:17:35 ---> docker-login.sh ends [Pipeline] } 07:17:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:17:35 ========================================================= 07:17:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:17:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:17:35 + 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 . 07:17:35 Sending build context to Docker daemon 100.4kB 07:17:35 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 07:17:35 Step 2/10 : FROM ${BASE} 07:17:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:17:35 540db60ca938: Pulling fs layer 07:17:35 adcc1eea9eea: Pulling fs layer 07:17:35 4c4ab2625f07: Pulling fs layer 07:17:35 0510c868ecb4: Pulling fs layer 07:17:35 afea3b2eda06: Pulling fs layer 07:17:35 7809a108b3ef: Pulling fs layer 07:17:35 f706445af74f: Pulling fs layer 07:17:35 0510c868ecb4: Waiting 07:17:35 afea3b2eda06: Waiting 07:17:35 7809a108b3ef: Waiting 07:17:35 f706445af74f: Waiting 07:17:35 4c4ab2625f07: Verifying Checksum 07:17:35 4c4ab2625f07: Download complete 07:17:35 adcc1eea9eea: Download complete 07:17:35 afea3b2eda06: Verifying Checksum 07:17:35 afea3b2eda06: Download complete 07:17:35 7809a108b3ef: Verifying Checksum 07:17:35 7809a108b3ef: Download complete 07:17:35 540db60ca938: Verifying Checksum 07:17:35 540db60ca938: Download complete 07:17:36 540db60ca938: Pull complete 07:17:36 adcc1eea9eea: Pull complete 07:17:36 4c4ab2625f07: Pull complete 07:17:38 f706445af74f: Verifying Checksum 07:17:38 f706445af74f: Download complete 07:17:38 0510c868ecb4: Verifying Checksum 07:17:38 0510c868ecb4: Download complete 07:17:41 0510c868ecb4: Pull complete 07:17:41 afea3b2eda06: Pull complete 07:17:41 7809a108b3ef: Pull complete 07:17:43 f706445af74f: Pull complete 07:17:43 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 07:17:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:17:43 ---> b068be0155e3 07:17:43 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:17:58 ---> Running in 77d4d0b742af 07:17:58 Removing intermediate container 77d4d0b742af 07:17:58 ---> 43f4de7a477e 07:17:58 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 07:17:58 ---> Running in d9cd8257feab 07:17:58 Removing intermediate container d9cd8257feab 07:17:58 ---> a6b15cd18779 07:17:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:17:58 ---> Running in 8b6f4532ec60 07:17:58 Removing intermediate container 8b6f4532ec60 07:17:58 ---> a93c751758c8 07:17:58 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:58 ---> Running in ba841c0921fd 07:17:58 Removing intermediate container ba841c0921fd 07:17:58 ---> 9e438f690d92 07:17:58 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:17:59 ---> Running in ff4e2074ac60 07:17:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:18:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:18:00 (1/9) Installing libc-dev (0.7.2-r3) 07:18:00 (2/9) Installing libsodium (1.0.18-r0) 07:18:00 (3/9) Installing pkgconf (1.7.3-r0) 07:18:00 (4/9) Installing libsodium-dev (1.0.18-r0) 07:18:01 (5/9) Installing openssh-keygen (8.4_p1-r3) 07:18:01 (6/9) Installing libedit (20191231.3.1-r1) 07:18:01 (7/9) Installing openssh-client (8.4_p1-r3) 07:18:01 (8/9) Installing libzmq (4.3.3-r1) 07:18:01 (9/9) Installing zeromq-dev (4.3.3-r1) 07:18:01 Executing busybox-1.32.1-r6.trigger 07:18:01 OK: 154 MiB in 49 packages 07:18:02 Removing intermediate container ff4e2074ac60 07:18:02 ---> efdda0605360 07:18:02 Step 8/10 : WORKDIR /device-rest-go 07:18:02 ---> Running in 5c1f764c4e19 07:18:02 Removing intermediate container 5c1f764c4e19 07:18:02 ---> e3b3f67ba095 07:18:02 Step 9/10 : COPY . . 07:18:02 ---> 77310f66171d 07:18:02 Step 10/10 : RUN go mod download 07:18:02 ---> Running in 2c1880db10b9 07:18:17 Removing intermediate container 2c1880db10b9 07:18:17 ---> 150582125793 07:18:17 Successfully built 150582125793 07:18:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:18:17 + docker inspect -f . ci-base-image-x86_64 07:18:17 . [Pipeline] withDockerContainer 07:18:17 prd-centos7-docker-4c-2g-325 does not seem to be running inside a container 07:18:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:18:18 $ docker top 09c3d4289223f7b6dd6969d0dbbc06a24fcbc185790657537ecd41066e1470f3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:18 + go version 07:18:18 go version go1.16.3 linux/amd64 [Pipeline] } 07:18:18 $ docker stop --time=1 09c3d4289223f7b6dd6969d0dbbc06a24fcbc185790657537ecd41066e1470f3 07:18:19 $ docker rm -f 09c3d4289223f7b6dd6969d0dbbc06a24fcbc185790657537ecd41066e1470f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:18:20 + docker inspect -f . ci-base-image-x86_64 07:18:20 . [Pipeline] withDockerContainer 07:18:20 prd-centos7-docker-4c-2g-325 does not seem to be running inside a container 07:18:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:18:21 $ docker top caff5fac38c02c90721f2d9aadaae919b9ad8bcfa7ef3953d3ce0ffa7296d549 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:21 + go mod tidy [Pipeline] sh 07:18:22 + make test 07:18:22 go mod tidy 07:18:22 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:18:22 ? github.com/edgexfoundry/device-rest-go [no test files] 07:18:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-326 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] ws 07:18:24 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 07:18:24 The recommended git tool is: git 07:18:29 using credential edgex-jenkins-ssh 07:18:29 Cloning the remote Git repository 07:18:29 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:18:29 > git init /w/workspace/device-rest-go/4 # timeout=10 07:18:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:18:30 > git --version # timeout=10 07:18:30 > git --version # 'git version 2.17.1' 07:18:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:18:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:32 Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 703406679a0bd739babd0126f7438661081b810c 07:18:32 Merge succeeded, producing a7b00559475b4fe884a99a0c350b14c86e5101c5 07:18:32 Checking out Revision a7b00559475b4fe884a99a0c350b14c86e5101c5 (PR-123) 07:18:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:18:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:18:32 > git config core.sparsecheckout # timeout=10 07:18:32 > git checkout -f 703406679a0bd739babd0126f7438661081b810c # timeout=10 07:18:32 > git remote # timeout=10 07:18:32 > git config --get remote.origin.url # timeout=10 07:18:32 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:32 > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 07:18:32 > git rev-parse HEAD^{commit} # timeout=10 07:18:32 > git config core.sparsecheckout # timeout=10 07:18:32 > git checkout -f a7b00559475b4fe884a99a0c350b14c86e5101c5 # timeout=10 07:18:37 Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" 07:18:37 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:37 > git rev-list --no-walk 0df52e22b84e248f35bdc836271b82f752d1d6ec # timeout=10 07:18:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 07:18:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:18:38 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 07:18:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] sh 07:18:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:18:39 + sudo service docker restart 07:18:39 + true 07:18:44 gofmt -l . 07:18:44 [ "`gofmt -l .`" = "" ] 07:18:44 ./bin/test-go-mod-tidy.sh 07:18:44 ./bin/test-attribution-txt.sh [Pipeline] } 07:18:45 $ docker stop --time=1 caff5fac38c02c90721f2d9aadaae919b9ad8bcfa7ef3953d3ce0ffa7296d549 07:18:47 $ docker rm -f caff5fac38c02c90721f2d9aadaae919b9ad8bcfa7ef3953d3ce0ffa7296d549 [Pipeline] // withDockerContainer [Pipeline] sh 07:18:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:18:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:18:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:18:52 + ls -al . 07:18:52 total 112 07:18:52 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 27 07:18 . 07:18:52 drwxrwxr-x. 4 jenkins jenkins 28 Jun 27 07:17 .. 07:18:52 -rw-rw-r--. 1 jenkins jenkins 6792 Jun 27 07:17 Attribution.txt 07:18:52 drwxrwxr-x. 2 jenkins jenkins 64 Jun 27 07:17 bin 07:18:52 -rw-rw-r--. 1 jenkins jenkins 7459 Jun 27 07:17 CHANGELOG.md 07:18:52 drwxrwxr-x. 3 jenkins jenkins 32 Jun 27 07:17 cmd 07:18:52 -rw-r--r--. 1 jenkins jenkins 8513 Jun 27 07:18 coverage.out 07:18:52 -rw-rw-r--. 1 jenkins jenkins 1615 Jun 27 07:17 Dockerfile 07:18:52 -rw-rw-r--. 1 jenkins jenkins 1087 Jun 27 07:17 Dockerfile.build 07:18:52 -rw-rw-r--. 1 jenkins jenkins 151 Jun 27 07:17 .dockerignore 07:18:52 drwxrwxr-x. 2 jenkins jenkins 76 Jun 27 07:17 driver 07:18:52 drwxrwxr-x. 8 jenkins jenkins 179 Jun 27 07:17 .git 07:18:52 drwxrwxr-x. 2 jenkins jenkins 103 Jun 27 07:17 .github 07:18:52 -rw-rw-r--. 1 jenkins jenkins 336 Jun 27 07:17 .gitignore 07:18:52 -rw-r--r--. 1 jenkins jenkins 286 Jun 27 07:18 go.mod 07:18:52 -rw-r--r--. 1 jenkins jenkins 20777 Jun 27 07:18 go.sum 07:18:52 -rw-rw-r--. 1 jenkins jenkins 680 Jun 27 07:17 Jenkinsfile 07:18:52 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 27 07:17 LICENSE 07:18:52 -rw-rw-r--. 1 jenkins jenkins 996 Jun 27 07:17 Makefile 07:18:52 -rw-rw-r--. 1 jenkins jenkins 7667 Jun 27 07:17 README.md 07:18:52 drwxrwxr-x. 4 jenkins jenkins 71 Jun 27 07:17 snap 07:18:52 -rw-rw-r--. 1 jenkins jenkins 5 Jun 27 07:15 VERSION 07:18:52 -rw-rw-r--. 1 jenkins jenkins 713 Jun 27 07:17 version.go [Pipeline] isUnix [Pipeline] sh 07:18:53 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=1e1006ff842a54f53d7845e99973857c4cbc3129 --label arch=amd64 --label version=0.0.0 . 07:18:53 Sending build context to Docker daemon 110.1kB 07:18:53 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 07:18:53 Step 2/25 : FROM ${BASE} AS builder 07:18:53 ---> 150582125793 07:18:53 Step 3/25 : ARG MAKE='make build' 07:18:53 ---> Running in 298c7763fad4 07:18:53 Removing intermediate container 298c7763fad4 07:18:53 ---> 25349a46608d 07:18:53 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:18:53 ---> Running in b138ffa44809 07:18:53 Removing intermediate container b138ffa44809 07:18:53 ---> 1c5b4d12e1a2 07:18:53 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 07:18:53 ---> Running in 9514b45f6257 07:18:53 Removing intermediate container 9514b45f6257 07:18:53 ---> 4add9a877d48 07:18:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:53 ---> Running in eeaa633d3543 07:18:54 Removing intermediate container eeaa633d3543 07:18:54 ---> 045cdfc28ba4 07:18:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:18:54 ---> Running in 4533e7c87f9d 07:18:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:18:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:18:55 OK: 154 MiB in 49 packages 07:18:56 Removing intermediate container 4533e7c87f9d 07:18:56 ---> 60c6452c1f0a 07:18:56 Step 8/25 : WORKDIR /device-rest-go 07:18:56 ---> Running in d19d7354cd1a 07:18:56 Removing intermediate container d19d7354cd1a 07:18:56 ---> 08814f606b2f 07:18:56 Step 9/25 : COPY . . 07:18:56 ---> 5b90d6a414d9 07:18:56 Step 10/25 : RUN go mod tidy 07:18:56 ---> Running in 7706ceb4b71c [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:57 provisioning config files... 07:18:57 Removing intermediate container 7706ceb4b71c 07:18:57 ---> 6c37c9630ecd 07:18:57 Step 11/25 : RUN make update 07:18:57 ---> Running in 5a966d487146 07:18:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config2478923733710086155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:57 CGO_ENABLED=0 GO111MODULE=on go mod download 07:18:57 ---> docker-login.sh 07:18:57 nexus3.edgexfoundry.org:10001 07:18:57 Removing intermediate container 5a966d487146 07:18:57 ---> 13c09cdea88b 07:18:57 Step 12/25 : RUN $MAKE 07:18:57 ---> Running in 68c8c39ce7c1 07:18:58 go mod tidy 07:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 07:18:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:59 Configure a credential helper to remove this warning. See 07:18:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:59 07:18:59 Login Succeeded 07:18:59 nexus3.edgexfoundry.org:10002 07:18:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:59 Configure a credential helper to remove this warning. See 07:18:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:59 07:18:59 Login Succeeded 07:18:59 nexus3.edgexfoundry.org:10003 07:18:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:00 Configure a credential helper to remove this warning. See 07:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:00 07:19:00 Login Succeeded 07:19:00 nexus3.edgexfoundry.org:10004 07:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:00 Configure a credential helper to remove this warning. See 07:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:00 07:19:00 Login Succeeded 07:19:00 docker.io 07:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:01 Configure a credential helper to remove this warning. See 07:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:01 07:19:01 Login Succeeded 07:19:01 ---> docker-login.sh ends [Pipeline] } 07:19:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:01 ========================================================= 07:19:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:19:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:19:02 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 07:19:02 Sending build context to Docker daemon 100.4kB 07:19:02 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 07:19:02 Step 2/10 : FROM ${BASE} 07:19:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:19:02 595b0fe564bb: Pulling fs layer 07:19:02 3088b5b3c5c0: Pulling fs layer 07:19:02 5b7225fbf94c: Pulling fs layer 07:19:02 ba82ee9f976e: Pulling fs layer 07:19:02 506bd15cee9f: Pulling fs layer 07:19:02 75a0a4a0db45: Pulling fs layer 07:19:02 618dc40b7e24: Pulling fs layer 07:19:02 506bd15cee9f: Waiting 07:19:02 75a0a4a0db45: Waiting 07:19:02 618dc40b7e24: Waiting 07:19:02 ba82ee9f976e: Waiting 07:19:02 5b7225fbf94c: Verifying Checksum 07:19:02 5b7225fbf94c: Download complete 07:19:02 3088b5b3c5c0: Verifying Checksum 07:19:02 3088b5b3c5c0: Download complete 07:19:02 506bd15cee9f: Verifying Checksum 07:19:02 506bd15cee9f: Download complete 07:19:02 595b0fe564bb: Download complete 07:19:02 75a0a4a0db45: Download complete 07:19:03 595b0fe564bb: Pull complete 07:19:04 3088b5b3c5c0: Pull complete 07:19:04 618dc40b7e24: Verifying Checksum 07:19:04 618dc40b7e24: Download complete 07:19:04 5b7225fbf94c: Pull complete 07:19:06 ba82ee9f976e: Verifying Checksum 07:19:06 ba82ee9f976e: Download complete 07:19:10 Removing intermediate container 68c8c39ce7c1 07:19:10 ---> fa329310ce23 07:19:10 Step 13/25 : FROM alpine:3.12 07:19:10 3.12: Pulling from library/alpine 07:19:10 339de151aab4: Pulling fs layer 07:19:10 339de151aab4: Verifying Checksum 07:19:10 339de151aab4: Download complete 07:19:10 339de151aab4: Pull complete 07:19:10 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 07:19:10 Status: Downloaded newer image for alpine:3.12 07:19:10 ---> 13621d1b12d4 07:19:10 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:19:10 ---> Running in 860af4bfa48f 07:19:10 Removing intermediate container 860af4bfa48f 07:19:10 ---> 29dd2dce5dfc 07:19:10 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:19:10 ---> Running in 380b99094b2a 07:19:10 Removing intermediate container 380b99094b2a 07:19:10 ---> 899d77d49f7d 07:19:10 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 07:19:10 ---> Running in d6fd73ba3c0c 07:19:11 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:19:11 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:19:11 (1/6) Installing dumb-init (1.2.2-r1) 07:19:11 (2/6) Installing libgcc (9.3.0-r2) 07:19:11 (3/6) Installing libsodium (1.0.18-r0) 07:19:11 (4/6) Installing libstdc++ (9.3.0-r2) 07:19:11 (5/6) Installing libzmq (4.3.3-r0) 07:19:11 (6/6) Installing zeromq (4.3.3-r0) 07:19:11 Executing busybox-1.31.1-r20.trigger 07:19:11 OK: 8 MiB in 20 packages 07:19:11 Removing intermediate container d6fd73ba3c0c 07:19:11 ---> dfb125ef2628 07:19:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:19:11 ---> 981885cddc5b 07:19:11 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:19:12 ---> e8739bec5937 07:19:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:19:12 ---> dd79d02fbc18 07:19:12 Step 20/25 : EXPOSE 59986 07:19:12 ---> Running in 4c17a83d7736 07:19:12 Removing intermediate container 4c17a83d7736 07:19:12 ---> 3b340e5a019b 07:19:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:19:12 ---> Running in 073f668ea214 07:19:12 Removing intermediate container 073f668ea214 07:19:12 ---> 84ca018cbcb9 07:19:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:19:12 ---> Running in bcfdc8d6714d 07:19:12 Removing intermediate container bcfdc8d6714d 07:19:12 ---> 36eed4536a5d 07:19:12 Step 23/25 : LABEL arch=amd64 07:19:12 ---> Running in 9a6e21837145 07:19:12 Removing intermediate container 9a6e21837145 07:19:12 ---> 77283f6a2ac9 07:19:12 Step 24/25 : LABEL git_sha=1e1006ff842a54f53d7845e99973857c4cbc3129 07:19:12 ---> Running in b0b03b3f14bc 07:19:12 Removing intermediate container b0b03b3f14bc 07:19:12 ---> 159741574f63 07:19:12 Step 25/25 : LABEL version=0.0.0 07:19:12 ---> Running in dcd471663e0e 07:19:12 Removing intermediate container dcd471663e0e 07:19:12 ---> 09f9266d6506 07:19:12 [Warning] One or more build-args [ARCH] were not consumed 07:19:12 Successfully built 09f9266d6506 07:19:12 Successfully tagged device-rest: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 07:19:13 ---> job-cost.sh 07:19:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5ews 07:19:16 ba82ee9f976e: Pull complete 07:19:16 506bd15cee9f: Pull complete 07:19:17 75a0a4a0db45: Pull complete 07:19:21 618dc40b7e24: Pull complete 07:19:21 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 07:19:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:19:21 ---> a36622ca3599 07:19:21 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:19:23 ---> Running in e848461fe4f5 07:19:23 Removing intermediate container e848461fe4f5 07:19:23 ---> 9af763925a8c 07:19:23 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 07:19:23 ---> Running in 882d1accb389 07:19:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:19:24 Removing intermediate container 882d1accb389 07:19:24 ---> 093ba79a1da7 07:19:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:19:24 ---> Running in 782307b62ef0 07:19:24 Removing intermediate container 782307b62ef0 07:19:24 ---> ff73329a37c7 07:19:24 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:24 ---> Running in d88a136b0048 07:19:27 Removing intermediate container d88a136b0048 07:19:27 ---> 787c03ad1950 07:19:27 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:27 ---> Running in c087ae59455b 07:19:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:19:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:19:30 (1/9) Installing libc-dev (0.7.2-r3) 07:19:30 (2/9) Installing libsodium (1.0.18-r0) 07:19:30 (3/9) Installing pkgconf (1.7.3-r0) 07:19:30 (4/9) Installing libsodium-dev (1.0.18-r0) 07:19:30 (5/9) Installing openssh-keygen (8.4_p1-r3) 07:19:30 (6/9) Installing libedit (20191231.3.1-r1) 07:19:31 (7/9) Installing openssh-client (8.4_p1-r3) 07:19:31 (8/9) Installing libzmq (4.3.3-r1) 07:19:31 (9/9) Installing zeromq-dev (4.3.3-r1) 07:19:31 Executing busybox-1.32.1-r6.trigger 07:19:31 OK: 144 MiB in 49 packages 07:19:32 Removing intermediate container c087ae59455b 07:19:32 ---> 4c0eecf86388 07:19:32 Step 8/10 : WORKDIR /device-rest-go 07:19:33 ---> Running in 0a36db75e743 07:19:33 Removing intermediate container 0a36db75e743 07:19:33 ---> 9721d1e30544 07:19:33 Step 9/10 : COPY . . 07:19:34 ---> dff12c14b441 07:19:34 Step 10/10 : RUN go mod download 07:19:34 ---> Running in a7515728b412 07:19:36 lf-activate-venv(): INFO: Adding /tmp/venv-5ews/bin to PATH 07:19:36 INFO: No Stack... 07:19:36 INFO: Retrieving Pricing Info for: v3-standard-2 07:19:36 INFO: Archiving Costs [Pipeline] sh 07:19:37 + cat /w/workspace/device-rest-go/4/archives/cost.csv 07:19:37 + cut -d, -f6 [Pipeline] lock 07:19:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] 07:19:37 Resource [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] did not exist. Created. 07:19:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:19:37 + echo total: 0.05999999865889549 [Pipeline] stash 07:19:37 Stashed 1 file(s) [Pipeline] } 07:19:37 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:20:01 Removing intermediate container a7515728b412 07:20:01 ---> 857b3877eb25 07:20:01 Successfully built 857b3877eb25 07:20:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:20:01 + docker inspect -f . ci-base-image-arm64 07:20:01 . [Pipeline] withDockerContainer 07:20:02 prd-ubuntu18.04-docker-arm64-4c-16g-326 does not seem to be running inside a container 07:20:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:20:03 $ docker top 4bcd762fa02058fd60e19090492708db5637bf3993193db8644d567f6d7badb1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:04 + go version 07:20:04 go version go1.16.5 linux/arm64 [Pipeline] } 07:20:04 $ docker stop --time=1 4bcd762fa02058fd60e19090492708db5637bf3993193db8644d567f6d7badb1 07:20:06 $ docker rm -f 4bcd762fa02058fd60e19090492708db5637bf3993193db8644d567f6d7badb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:20:07 + docker inspect -f . ci-base-image-arm64 07:20:07 . [Pipeline] withDockerContainer 07:20:07 prd-ubuntu18.04-docker-arm64-4c-16g-326 does not seem to be running inside a container 07:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:20:09 $ docker top 3bad68d60622dff26e5ad52c94be94b2e5dcc7aac4815aca3930bff668ddea55 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:10 + go mod tidy [Pipeline] sh 07:20:11 + make test 07:20:11 go mod tidy 07:20:12 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:20:13 ? github.com/edgexfoundry/device-rest-go [no test files] 07:21:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:21:09 ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements 07:21:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:21:32 gofmt -l . 07:21:32 [ "`gofmt -l .`" = "" ] 07:21:32 ./bin/test-go-mod-tidy.sh 07:21:32 ./bin/test-attribution-txt.sh [Pipeline] } 07:21:32 $ docker stop --time=1 3bad68d60622dff26e5ad52c94be94b2e5dcc7aac4815aca3930bff668ddea55 07:21:34 $ docker rm -f 3bad68d60622dff26e5ad52c94be94b2e5dcc7aac4815aca3930bff668ddea55 [Pipeline] // withDockerContainer [Pipeline] sh 07:21:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:35 Warning: overwriting stash ‘coverage-report’ 07:21:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:21:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:36 + ls -al . 07:21:36 total 140 07:21:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:21 . 07:21:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:18 .. 07:21:36 -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 07:18 .dockerignore 07:21:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:18 .git 07:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:18 .github 07:21:36 -rw-rw-r-- 1 jenkins jenkins 336 Jun 27 07:18 .gitignore 07:21:36 -rw-rw-r-- 1 jenkins jenkins 6792 Jun 27 07:18 Attribution.txt 07:21:36 -rw-rw-r-- 1 jenkins jenkins 7459 Jun 27 07:18 CHANGELOG.md 07:21:36 -rw-rw-r-- 1 jenkins jenkins 1615 Jun 27 07:18 Dockerfile 07:21:36 -rw-rw-r-- 1 jenkins jenkins 1087 Jun 27 07:18 Dockerfile.build 07:21:36 -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 07:18 Jenkinsfile 07:21:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 07:18 LICENSE 07:21:36 -rw-rw-r-- 1 jenkins jenkins 996 Jun 27 07:18 Makefile 07:21:36 -rw-rw-r-- 1 jenkins jenkins 7667 Jun 27 07:18 README.md 07:21:36 -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 07:15 VERSION 07:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:18 bin 07:21:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:18 cmd 07:21:36 -rw-r--r-- 1 jenkins jenkins 8513 Jun 27 07:21 coverage.out 07:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:18 driver 07:21:36 -rw-r--r-- 1 jenkins jenkins 286 Jun 27 07:21 go.mod 07:21:36 -rw-r--r-- 1 jenkins jenkins 20777 Jun 27 07:20 go.sum 07:21:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:18 snap 07:21:36 -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 07:18 version.go [Pipeline] isUnix [Pipeline] sh 07:21:36 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a7b00559475b4fe884a99a0c350b14c86e5101c5 --label arch=arm64 --label version=0.0.0 . 07:21:36 Sending build context to Docker daemon 110.1kB 07:21:36 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 07:21:36 Step 2/25 : FROM ${BASE} AS builder 07:21:36 ---> 857b3877eb25 07:21:36 Step 3/25 : ARG MAKE='make build' 07:21:37 ---> Running in 2c84039905af 07:21:37 Removing intermediate container 2c84039905af 07:21:37 ---> 41bfde5055fc 07:21:37 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:21:37 ---> Running in a43aa1cb40c9 07:21:38 Removing intermediate container a43aa1cb40c9 07:21:38 ---> ecd2cd8eab25 07:21:38 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 07:21:38 ---> Running in 6e43a98fd286 07:21:39 Removing intermediate container 6e43a98fd286 07:21:39 ---> e8f8f12949f8 07:21:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:21:39 ---> Running in e24d6ab640b0 07:21:41 Removing intermediate container e24d6ab640b0 07:21:41 ---> e91e335ab0cb 07:21:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:21:41 ---> Running in 6bfafd558431 07:21:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:21:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:21:44 OK: 144 MiB in 49 packages 07:21:45 Removing intermediate container 6bfafd558431 07:21:45 ---> f4558a93e331 07:21:45 Step 8/25 : WORKDIR /device-rest-go 07:21:45 ---> Running in b8805a7e0d61 07:21:46 Removing intermediate container b8805a7e0d61 07:21:46 ---> bfa04b59a43a 07:21:46 Step 9/25 : COPY . . 07:21:47 ---> 285b980b1f74 07:21:47 Step 10/25 : RUN go mod tidy 07:21:47 ---> Running in b12563682e56 07:21:49 Removing intermediate container b12563682e56 07:21:49 ---> 4646ced335f5 07:21:49 Step 11/25 : RUN make update 07:21:50 ---> Running in b804b0cd71d6 07:21:51 CGO_ENABLED=0 GO111MODULE=on go mod download 07:21:52 Removing intermediate container b804b0cd71d6 07:21:52 ---> 510af39766ae 07:21:52 Step 12/25 : RUN $MAKE 07:21:52 ---> Running in 60b13fa804ca 07:21:53 go mod tidy 07:21:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 07:22:33 Removing intermediate container 60b13fa804ca 07:22:33 ---> 31eb30e862f8 07:22:33 Step 13/25 : FROM alpine:3.12 07:22:33 3.12: Pulling from library/alpine 07:22:33 d2f70382dc9a: Pulling fs layer 07:22:33 d2f70382dc9a: Verifying Checksum 07:22:33 d2f70382dc9a: Download complete 07:22:33 d2f70382dc9a: Pull complete 07:22:33 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 07:22:33 Status: Downloaded newer image for alpine:3.12 07:22:33 ---> c4fd0aeabfcf 07:22:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:22:33 ---> Running in 848fab0b0320 07:22:33 Removing intermediate container 848fab0b0320 07:22:33 ---> 7775a546346d 07:22:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:22:33 ---> Running in 59991777f946 07:22:33 Removing intermediate container 59991777f946 07:22:33 ---> 25113d402a33 07:22:33 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 07:22:33 ---> Running in d5d95bc4edb6 07:22:33 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:22:33 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:22:33 (1/6) Installing dumb-init (1.2.2-r1) 07:22:33 (2/6) Installing libgcc (9.3.0-r2) 07:22:33 (3/6) Installing libsodium (1.0.18-r0) 07:22:33 (4/6) Installing libstdc++ (9.3.0-r2) 07:22:33 (5/6) Installing libzmq (4.3.3-r0) 07:22:33 (6/6) Installing zeromq (4.3.3-r0) 07:22:33 Executing busybox-1.31.1-r20.trigger 07:22:33 OK: 8 MiB in 20 packages 07:22:34 Removing intermediate container d5d95bc4edb6 07:22:34 ---> 769ff6b26e75 07:22:34 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:22:35 ---> 66ca6b487756 07:22:35 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:22:36 ---> 1aec5c389e78 07:22:36 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:22:37 ---> 3ce145b0ca07 07:22:37 Step 20/25 : EXPOSE 59986 07:22:37 ---> Running in 90b8b0cb0f7d 07:22:37 Removing intermediate container 90b8b0cb0f7d 07:22:37 ---> db41fc89f851 07:22:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:22:37 ---> Running in c4997985777f 07:22:38 Removing intermediate container c4997985777f 07:22:38 ---> d55e708367ba 07:22:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:22:38 ---> Running in ebe174456073 07:22:39 Removing intermediate container ebe174456073 07:22:39 ---> 4b62c66d604b 07:22:39 Step 23/25 : LABEL arch=arm64 07:22:39 ---> Running in 15d8b341ea7c 07:22:39 Removing intermediate container 15d8b341ea7c 07:22:39 ---> 99dc0d237276 07:22:39 Step 24/25 : LABEL git_sha=a7b00559475b4fe884a99a0c350b14c86e5101c5 07:22:39 ---> Running in 4cfdefd371df 07:22:40 Removing intermediate container 4cfdefd371df 07:22:40 ---> b967123f2c87 07:22:40 Step 25/25 : LABEL version=0.0.0 07:22:40 ---> Running in 87b51606cf66 07:22:40 Removing intermediate container 87b51606cf66 07:22:40 ---> 7a8f26825f5e 07:22:40 [Warning] One or more build-args [ARCH] were not consumed 07:22:40 Successfully built 7a8f26825f5e 07:22:41 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 07:22:41 ---> job-cost.sh 07:22:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-399E 07:23:20 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:24:42 lf-activate-venv(): INFO: Adding /tmp/venv-399E/bin to PATH 07:24:42 INFO: No Stack... 07:24:42 INFO: Retrieving Pricing Info for: v2-standard-4 07:24:43 INFO: Archiving Costs [Pipeline] sh 07:24:43 + + cutcat -d, /w/workspace/device-rest-go/4/archives/cost.csv -f6 07:24:43 [Pipeline] lock 07:24:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] 07:24:43 Resource [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] did not exist. Created. 07:24:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:24:44 /w/workspace/device-rest-go/4@tmp/durable-421a1f58/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-421a1f58/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:24:44 + echo total: 0.18000000715255737 [Pipeline] stash 07:24:44 Warning: overwriting stash ‘stack-cost’ 07:24:44 Stashed 1 file(s) [Pipeline] } 07:24:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-123-4-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) [Pipeline] unstash [Pipeline] configFileProvider 07:24:45 provisioning config files... 07:24:45 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config8042535688346635220tmp [Pipeline] { [Pipeline] sh 07:24:45 + set +x 07:24:45 + curl -s https://codecov.io/bash 07:24:45 + bash -s -- 07:24:45 07:24:45 _____ _ 07:24:45 / ____| | | 07:24:45 | | ___ __| | ___ ___ _____ __ 07:24:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:24:45 | |___| (_) | (_| | __/ (_| (_) \ V / 07:24:45 \_____\___/ \__,_|\___|\___\___/ \_/ 07:24:45 Bash-1.0.3 07:24:45 07:24:45 07:24:45 ==> git version 2.24.4 found 07:24:45 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:24:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:24:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:24:45 ==> Jenkins CI detected. 07:24:45 project root: . 07:24:45 --> token set from env 07:24:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:24:46 ==> Running gcov in . (disable via -X gcov) 07:24:46 ==> Python coveragepy not found 07:24:46 ==> Searching for coverage reports in: 07:24:46 + . 07:24:46 -> Found 1 reports 07:24:46 ==> Detecting git/mercurial file structure 07:24:46 ==> Reading reports 07:24:46 + ./coverage.out bytes=8513 07:24:46 ==> Appending adjustments 07:24:46 https://docs.codecov.io/docs/fixing-reports 07:24:46 + Found adjustments 07:24:46 ==> Gzipping contents 07:24:46 4.0K /tmp/codecov.WYwJDE.gz 07:24:46 ==> Uploading reports 07:24:46 url: https://codecov.io 07:24:46 query: branch=PR-123&commit=3fe616ed3f063443007c61c3d4a74f8e07d62510&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-123%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=123&job=&cmd_args= 07:24:46 -> Pinging Codecov 07:24:46 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-123&commit=3fe616ed3f063443007c61c3d4a74f8e07d62510&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-123%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=123&job=&cmd_args= 07:24:46 -> Uploading to 07:24:46 https://storage.googleapis.com/codecov/v4/raw/2021-06-27/4E5D53B4F1F92C436F7061BF334D961C/3fe616ed3f063443007c61c3d4a74f8e07d62510/a4b2fbab-9dd4-4e68-bd82-24c7401288db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210627T072446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c901db5029a5a791cc9468b1557627f222188623b34c5867f89c7b4dafa844b 07:24:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:24:46 Dload Upload Total Spent Left Speed 07:24:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 4670 --:--:-- --:--:-- --:--:-- 4660 07:24:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/3fe616ed3f063443007c61c3d4a74f8e07d62510 [Pipeline] } 07:24:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:24:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:24:49 ---> package-listing.sh 07:24:49 ++ facter osfamily 07:24:49 ++ tr '[:upper:]' '[:lower:]' 07:24:49 + OS_FAMILY=redhat 07:24:49 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-123 07:24:49 + START_PACKAGES=/tmp/packages_start.txt 07:24:49 + END_PACKAGES=/tmp/packages_end.txt 07:24:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:24:49 + PACKAGES=/tmp/packages_start.txt 07:24:49 + '[' /w/workspace/gexfoundry_device-rest-go_PR-123 ']' 07:24:49 + PACKAGES=/tmp/packages_end.txt 07:24:49 + case "${OS_FAMILY}" in 07:24:49 + sort 07:24:49 + rpm -qa 07:24:50 + '[' -f /tmp/packages_start.txt ']' 07:24:50 + '[' -f /tmp/packages_end.txt ']' 07:24:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:24:50 + '[' /w/workspace/gexfoundry_device-rest-go_PR-123 ']' 07:24:50 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-123/archives/ 07:24:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-123/archives/ [Pipeline] echo 07:24:50 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/gexfoundry_device-rest-go_PR-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:24:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:24:51 07:24:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:24:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:24:51 alpine: Pulling from edgex-lftools-log-publisher 07:24:51 df20fa9351a1: Pulling fs layer 07:24:51 36b3adc4ff6f: Pulling fs layer 07:24:51 8ad3a11d3b57: Pulling fs layer 07:24:51 46f8f816bc3b: Pulling fs layer 07:24:51 93b61091891f: Pulling fs layer 07:24:51 93b9cdb0e59b: Pulling fs layer 07:24:51 5e14af77c1be: Pulling fs layer 07:24:51 01666e4c0597: Pulling fs layer 07:24:51 aa168da1d23b: Pulling fs layer 07:24:51 93b61091891f: Waiting 07:24:51 93b9cdb0e59b: Waiting 07:24:51 5e14af77c1be: Waiting 07:24:51 01666e4c0597: Waiting 07:24:51 aa168da1d23b: Waiting 07:24:51 46f8f816bc3b: Waiting 07:24:51 36b3adc4ff6f: Verifying Checksum 07:24:51 36b3adc4ff6f: Download complete 07:24:51 46f8f816bc3b: Verifying Checksum 07:24:51 46f8f816bc3b: Download complete 07:24:51 df20fa9351a1: Verifying Checksum 07:24:51 df20fa9351a1: Download complete 07:24:51 93b9cdb0e59b: Verifying Checksum 07:24:51 93b9cdb0e59b: Download complete 07:24:51 5e14af77c1be: Verifying Checksum 07:24:51 5e14af77c1be: Download complete 07:24:51 01666e4c0597: Verifying Checksum 07:24:51 01666e4c0597: Download complete 07:24:51 93b61091891f: Verifying Checksum 07:24:51 93b61091891f: Download complete 07:24:51 df20fa9351a1: Pull complete 07:24:52 36b3adc4ff6f: Pull complete 07:24:52 8ad3a11d3b57: Verifying Checksum 07:24:52 8ad3a11d3b57: Download complete 07:24:52 8ad3a11d3b57: Pull complete 07:24:52 46f8f816bc3b: Pull complete 07:24:52 93b61091891f: Pull complete 07:24:52 93b9cdb0e59b: Pull complete 07:24:53 5e14af77c1be: Pull complete 07:24:53 01666e4c0597: Pull complete 07:24:53 aa168da1d23b: Verifying Checksum 07:24:53 aa168da1d23b: Download complete 07:24:58 aa168da1d23b: Pull complete 07:24:58 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:24:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:24:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:24:58 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 07:24:58 $ 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/gexfoundry_device-rest-go_PR-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-123 -v /w/workspace/gexfoundry_device-rest-go_PR-123:/w/workspace/gexfoundry_device-rest-go_PR-123:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-123@tmp:/w/workspace/gexfoundry_device-rest-go_PR-123@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:25:00 $ docker top a0908f7bf803132d56dba9c1b5b18ed38929958262e91905d10faf757be99e9e -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:00 + touch /tmp/pre-build-complete [Pipeline] sh 07:25:00 + mkdir -p /var/log/sa [Pipeline] sh 07:25:01 + ls /var/log/sa-host 07:25:01 + sadf -c /var/log/sa-host/sa05 07:25:01 file_magic: OK 07:25:01 HZ: Using current value: 100 07:25:01 file_header: OK 07:25:01 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 07:25:01 Statistics: 07:25:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:25:01 File successfully converted to sysstat format version 12.2.1 07:25:01 + sadf -c /var/log/sa-host/sa27 07:25:01 file_magic: OK 07:25:01 HZ: Using current value: 100 07:25:01 file_header: OK 07:25:01 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 07:25:01 Statistics: 07:25:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:25:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:25:01 provisioning config files... 07:25:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config4120953447968041188tmp [Pipeline] { [Pipeline] echo 07:25:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:25:02 ---> create-netrc.sh [Pipeline] } 07:25:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:25:02 ---> python-tools-install.sh [Pipeline] echo 07:25:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:25:02 ---> sudo-logs.sh 07:25:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:25:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:25:03 ---> job-cost.sh 07:25:03 lf-activate-venv: SKIPPING 07:25:03 DEBUG: total: 0.18000000715255737 07:25:03 INFO: Retrieving Stack Cost... 07:25:04 INFO: Retrieving Pricing Info for: v3-standard-2 07:25:04 INFO: Archiving Costs [Pipeline] echo 07:25:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:25:05 ---> logs-deploy.sh 07:25:05 lf-activate-venv: SKIPPING 07:25:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-123/4 07:25:05 INFO: archiving workspace using pattern(s): 07:25:06 Archives upload complete. 07:25:06 INFO: archiving logs to Nexus 07:25:06 ---> uname -a: 07:25:06 Linux prd-centos7-docker-4c-2g-323.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 07:25:06 07:25:06 07:25:06 ---> lscpu: 07:25:06 Architecture: x86_64 07:25:06 CPU op-mode(s): 32-bit, 64-bit 07:25:06 Byte Order: Little Endian 07:25:06 Address sizes: 40 bits physical, 48 bits virtual 07:25:06 CPU(s): 2 07:25:06 On-line CPU(s) list: 0,1 07:25:06 Thread(s) per core: 1 07:25:06 Core(s) per socket: 1 07:25:06 Socket(s): 2 07:25:06 NUMA node(s): 1 07:25:06 Vendor ID: AuthenticAMD 07:25:06 CPU family: 23 07:25:06 Model: 49 07:25:06 Model name: AMD EPYC-Rome Processor 07:25:06 Stepping: 0 07:25:06 CPU MHz: 2800.000 07:25:06 BogoMIPS: 5600.00 07:25:06 Virtualization: AMD-V 07:25:06 Hypervisor vendor: KVM 07:25:06 Virtualization type: full 07:25:06 L1d cache: 64 KiB 07:25:06 L1i cache: 64 KiB 07:25:06 L2 cache: 1 MiB 07:25:06 L3 cache: 32 MiB 07:25:06 NUMA node0 CPU(s): 0,1 07:25:06 Vulnerability Itlb multihit: Not affected 07:25:06 Vulnerability L1tf: Not affected 07:25:06 Vulnerability Mds: Not affected 07:25:06 Vulnerability Meltdown: Not affected 07:25:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:25:06 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:25:06 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:25:06 Vulnerability Srbds: Not affected 07:25:06 Vulnerability Tsx async abort: Not affected 07:25:06 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 07:25:06 07:25:06 07:25:06 ---> nproc: 07:25:06 2 07:25:06 07:25:06 07:25:06 ---> df -h: 07:25:06 Filesystem Size Used Available Use% Mounted on 07:25:06 overlay 40.0G 7.6G 32.4G 19% / 07:25:06 tmpfs 64.0M 0 64.0M 0% /dev 07:25:06 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 07:25:06 shm 64.0M 0 64.0M 0% /dev/shm 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-123 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-123@tmp 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 07:25:06 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 07:25:06 07:25:06 07:25:06 ---> free -m: 07:25:06 total used free shared buff/cache available 07:25:06 Mem: 7821 912 4799 0 2108 6730 07:25:06 Swap: 1023 0 1023 07:25:06 07:25:06 07:25:06 ---> ip addr: 07:25:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:25:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:25:06 inet 127.0.0.1/8 scope host lo 07:25:06 valid_lft forever preferred_lft forever 07:25:06 inet6 ::1/128 scope host 07:25:06 valid_lft forever preferred_lft forever 07:25:06 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:25:06 link/ether fa:16:3e:54:20:0a brd ff:ff:ff:ff:ff:ff 07:25:06 inet 10.30.122.153/23 brd 10.30.123.255 scope global dynamic eth0 07:25:06 valid_lft 85755sec preferred_lft 85755sec 07:25:06 inet6 fe80::f816:3eff:fe54:200a/64 scope link 07:25:06 valid_lft forever preferred_lft forever 07:25:06 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:25:06 link/ether 02:42:1b:88:61:e0 brd ff:ff:ff:ff:ff:ff 07:25:06 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:25:06 valid_lft forever preferred_lft forever 07:25:06 inet6 fe80::42:1bff:fe88:61e0/64 scope link 07:25:06 valid_lft forever preferred_lft forever 07:25:06 07:25:06 07:25:06 ---> sar -b -r -n DEV: 07:25:06 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/27/21 _x86_64_ (2 CPU) 07:25:06 07:25:06 07:14:10 LINUX RESTART (2 CPU) 07:25:06 07:25:06 07:15:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:25:06 07:16:01 6.16 0.18 5.98 0.00 23.18 654.25 0.00 07:25:06 07:17:01 0.40 0.00 0.40 0.00 0.00 6.65 0.00 07:25:06 07:18:01 0.22 0.00 0.22 0.00 0.00 2.30 0.00 07:25:06 07:19:01 0.22 0.00 0.22 0.00 0.00 3.63 0.00 07:25:06 07:20:01 0.23 0.00 0.23 0.00 0.00 3.03 0.00 07:25:06 07:21:01 0.35 0.00 0.35 0.00 0.00 4.58 0.00 07:25:06 07:22:01 0.23 0.00 0.23 0.00 0.00 3.17 0.00 07:25:06 07:23:02 0.20 0.00 0.20 0.00 0.00 3.22 0.00 07:25:06 07:24:01 0.27 0.00 0.27 0.00 0.00 3.42 0.00 07:25:06 Average: 0.92 0.02 0.90 0.00 2.58 76.17 0.00 07:25:06 07:25:06 07:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:25:06 07:16:01 5452840 0 801860 10.01 2620 1751620 1191416 13.15 574912 1580304 20 07:25:06 07:17:01 5467228 0 787464 9.83 2620 1751628 1071292 11.83 564976 1578488 8 07:25:06 07:18:01 5466056 0 788636 9.85 2620 1751628 1071484 11.83 567220 1577180 8 07:25:06 07:19:01 5464648 0 790040 9.86 2620 1751632 1071556 11.83 568144 1577796 8 07:25:06 07:20:01 5463632 0 791048 9.88 2620 1751640 1071424 11.83 563988 1583916 16 07:25:06 07:21:01 5461568 0 793112 9.90 2620 1751640 1071292 11.83 565748 1583916 12 07:25:06 07:22:01 5455224 0 799444 9.98 2620 1751652 1071292 11.83 572272 1583920 16 07:25:06 07:23:02 5454536 0 800128 9.99 2620 1751656 1071292 11.83 574052 1582092 8 07:25:06 07:24:01 5454932 0 799728 9.99 2620 1751660 1071292 11.83 574140 1582096 8 07:25:06 Average: 5460074 0 794607 9.92 2620 1751640 1084704 11.98 569495 1581079 12 07:25:06 07:25:06 07:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:25:06 07:16:01 eth0 44.85 57.01 147.31 29.00 0.00 0.00 0.00 0.00 07:25:06 07:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:16:01 docker0 44.75 27.68 4.06 133.14 0.00 0.00 0.00 0.00 07:25:06 07:17:01 eth0 0.88 0.08 0.07 0.01 0.00 0.00 0.00 0.00 07:25:06 07:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:18:01 eth0 1.42 0.27 0.37 0.20 0.00 0.00 0.00 0.00 07:25:06 07:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:19:01 eth0 1.55 0.50 0.59 0.39 0.00 0.00 0.00 0.00 07:25:06 07:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:20:01 eth0 0.73 0.40 0.41 0.26 0.00 0.00 0.00 0.00 07:25:06 07:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:21:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:25:06 07:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:22:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:25:06 07:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:23:02 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:25:06 07:23:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:23:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:24:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:25:06 07:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 07:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 Average: eth0 5.55 6.53 16.56 3.33 0.00 0.00 0.00 0.00 07:25:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:06 Average: docker0 4.98 3.08 0.45 14.82 0.00 0.00 0.00 0.00 07:25:06 07:25:06 07:25:06 ---> sar -P ALL: 07:25:06 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/27/21 _x86_64_ (2 CPU) 07:25:06 07:25:06 07:14:10 LINUX RESTART (2 CPU) 07:25:06 07:25:06 07:15:01 CPU %user %nice %system %iowait %steal %idle 07:25:06 07:16:01 all 1.15 0.00 0.40 0.04 0.02 98.39 07:25:06 07:16:01 0 0.99 0.00 0.52 0.05 0.02 98.43 07:25:06 07:16:01 1 1.31 0.00 0.29 0.03 0.02 98.36 07:25:06 07:17:01 all 0.21 0.00 0.03 0.00 0.02 99.74 07:25:06 07:17:01 0 0.12 0.00 0.03 0.00 0.02 99.83 07:25:06 07:17:01 1 0.30 0.00 0.03 0.00 0.02 99.65 07:25:06 07:18:01 all 0.20 0.00 0.03 0.00 0.02 99.75 07:25:06 07:18:01 0 0.33 0.00 0.03 0.00 0.02 99.62 07:25:06 07:18:01 1 0.07 0.00 0.03 0.00 0.02 99.88 07:25:06 07:19:01 all 0.22 0.00 0.05 0.00 0.01 99.72 07:25:06 07:19:01 0 0.33 0.00 0.07 0.00 0.00 99.60 07:25:06 07:19:01 1 0.10 0.00 0.03 0.00 0.02 99.85 07:25:06 07:20:01 all 0.06 0.00 0.05 0.00 0.02 99.87 07:25:06 07:20:01 0 0.05 0.00 0.05 0.00 0.02 99.88 07:25:06 07:20:01 1 0.07 0.00 0.05 0.00 0.02 99.87 07:25:06 07:21:01 all 0.18 0.00 0.05 0.00 0.01 99.77 07:25:06 07:21:01 0 0.30 0.00 0.03 0.00 0.00 99.67 07:25:06 07:21:01 1 0.05 0.00 0.07 0.00 0.02 99.87 07:25:06 07:22:01 all 0.18 0.00 0.03 0.00 0.02 99.77 07:25:06 07:22:01 0 0.30 0.00 0.02 0.00 0.02 99.67 07:25:06 07:22:01 1 0.05 0.00 0.05 0.00 0.02 99.88 07:25:06 07:23:02 all 0.16 0.00 0.03 0.00 0.02 99.79 07:25:06 07:23:02 0 0.30 0.00 0.05 0.00 0.00 99.65 07:25:06 07:23:02 1 0.02 0.00 0.02 0.00 0.03 99.93 07:25:06 07:24:01 all 0.20 0.00 0.03 0.00 0.02 99.75 07:25:06 07:24:01 0 0.32 0.00 0.02 0.00 0.02 99.64 07:25:06 07:24:01 1 0.07 0.00 0.05 0.00 0.02 99.86 07:25:06 Average: all 0.28 0.00 0.08 0.00 0.01 99.62 07:25:06 Average: 0 0.34 0.00 0.09 0.01 0.01 99.55 07:25:06 Average: 1 0.22 0.00 0.07 0.00 0.02 99.68 07:25:06 07:25:06 07:25:06