Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c3b2fef99a74ce7813b49848a75e829beb75cd22+405bc14ac6f45c2dca7c5fb451b6f8197ce2523b (7d9b2e8e8af0d4957248c1abf9ed2e0000129ac2) 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-ssh7040374704228905376.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6528798008916006613.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-104/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-104/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3891205004984874377.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh837718238633644642.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-104/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-104/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5914886771206304331.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-builder-2c-1g-955’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-309’ is offline ‘prd-centos7-docker-4c-2g-950’ is offline ‘prd-centos7-docker-4c-2g-956’ is offline ‘prd-ubuntu18.04-docker-8c-8g-954’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-953’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-957 in /w/workspace/gexfoundry_device-rest-go_PR-104 [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-104 # 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-104@tmp/jenkins-gitclient-ssh6229106178849074293.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-104@tmp/jenkins-gitclient-ssh7245629599192613793.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 Merge succeeded, producing 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae Checking out Revision 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae (PR-104) > git config core.sparsecheckout # timeout=10 > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # 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-104@tmp/jenkins-gitclient-ssh2905556785851085196.key > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae # timeout=10 Commit message: "Merge commit '405bc14ac6f45c2dca7c5fb451b6f8197ce2523b' into HEAD" > git rev-list --no-walk c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:29 ========================================================= 23:08:29 EdgeX Global Pipelines Version Info 23:08:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:08:30 ------------------- 23:08:30 stable info: 23:08:30 ------------------- 23:08:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:30 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 23:08:30 Message: update stable to v1.0.192 23:08:31 ------------------- 23:08:31 experimental info: 23:08:31 ------------------- 23:08:31 Commited By: **** collab-it+edgex@linuxfoundation.org 23:08:31 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 23:08:31 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-104 [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-104 [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-104 [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2cec107 [Pipeline] echo 23:08:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:32 provisioning config files... 23:08:32 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config2376806340989084308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:33 ---> docker-login.sh 23:08:33 nexus3.edgexfoundry.org:10001 23:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:33 Configure a credential helper to remove this warning. See 23:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:33 23:08:33 Login Succeeded 23:08:33 nexus3.edgexfoundry.org:10002 23:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:33 Configure a credential helper to remove this warning. See 23:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:33 23:08:33 Login Succeeded 23:08:33 nexus3.edgexfoundry.org:10003 23:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:33 Configure a credential helper to remove this warning. See 23:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:33 23:08:33 Login Succeeded 23:08:33 nexus3.edgexfoundry.org:10004 23:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:33 Configure a credential helper to remove this warning. See 23:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:33 23:08:33 Login Succeeded 23:08:33 docker.io 23:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:34 Configure a credential helper to remove this warning. See 23:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:34 23:08:34 Login Succeeded 23:08:34 ---> docker-login.sh ends [Pipeline] } 23:08:34 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 23:08:34 + git log --format=format:%s -1 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae [Pipeline] echo 23:08:34 GIT_COMMIT: 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae, Commit Message: Merge commit '405bc14ac6f45c2dca7c5fb451b6f8197ce2523b' into HEAD [Pipeline] echo 23:08:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:08:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:35 23:08:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:08:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:35 latest: Pulling from edgex-devops/git-semver 23:08:35 31603596830f: Pulling fs layer 23:08:35 54011a49482f: Pulling fs layer 23:08:35 a6820b24f6d8: Pulling fs layer 23:08:35 f581987b2513: Pulling fs layer 23:08:35 f581987b2513: Waiting 23:08:35 54011a49482f: Verifying Checksum 23:08:35 54011a49482f: Download complete 23:08:35 31603596830f: Verifying Checksum 23:08:35 31603596830f: Download complete 23:08:35 a6820b24f6d8: Verifying Checksum 23:08:35 a6820b24f6d8: Download complete 23:08:35 f581987b2513: Verifying Checksum 23:08:35 f581987b2513: Download complete 23:08:36 31603596830f: Pull complete 23:08:36 54011a49482f: Pull complete 23:08:36 a6820b24f6d8: Pull complete 23:08:37 f581987b2513: Pull complete 23:08:37 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 23:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:08:37 prd-centos7-docker-4c-2g-957 does not seem to be running inside a container 23:08:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-104 -v /w/workspace/gexfoundry_device-rest-go_PR-104:/w/workspace/gexfoundry_device-rest-go_PR-104:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-104@tmp:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:08:38 $ docker top 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:38 [ssh-agent] Looking for ssh-agent implementation... 23:08:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:38 $ docker exec 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 ssh-agent 23:08:38 SSH_AUTH_SOCK=/tmp/ssh-P1IiW8bALnha/agent.13 23:08:38 SSH_AGENT_PID=19 23:08:38 Running ssh-add (command line suppressed) 23:08:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_2159160330719894703.key (/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_2159160330719894703.key) 23:08:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:38 + git tag --points-at HEAD [Pipeline] } 23:08:38 $ docker exec --env ******** --env ******** 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 ssh-agent -k 23:08:38 unset SSH_AUTH_SOCK; 23:08:38 unset SSH_AGENT_PID; 23:08:38 echo Agent pid 19 killed; 23:08:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:39 [ssh-agent] Looking for ssh-agent implementation... 23:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:39 $ docker exec 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 ssh-agent 23:08:39 SSH_AUTH_SOCK=/tmp/ssh-Ljemm5OvMWlc/agent.52 23:08:39 SSH_AGENT_PID=58 23:08:39 Running ssh-add (command line suppressed) 23:08:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_3873974785373098216.key (/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_3873974785373098216.key) 23:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:39 + git semver init 23:08:39 # -> Open(): unable to determine branch for HEAD 23:08:39 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-104/.git 23:08:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-104 23:08:39 # $SEMVER_REMOTE_NAME = origin 23:08:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:08:39 # $SEMVER_USER_NAME = edgex-jenkins 23:08:39 # $SEMVER_BRANCH = PR-104 23:08:39 # $SEMVER_TEMP = /tmp/semver-124156241 23:08:39 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:08:40 # '/tmp/semver-124156241' -> '/w/workspace/gexfoundry_device-rest-go_PR-104/.semver' 23:08:40 # -> Force: false 23:08:40 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-104/.semver [Pipeline] } 23:08:40 $ docker exec --env ******** --env ******** 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 ssh-agent -k 23:08:40 unset SSH_AUTH_SOCK; 23:08:40 unset SSH_AGENT_PID; 23:08:40 echo Agent pid 58 killed; 23:08:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:41 + git semver [Pipeline] } 23:08:41 $ docker stop --time=1 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 23:08:42 $ docker rm -f 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:08:42 Stashed 1 file(s) [Pipeline] echo 23:08:42 [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 23:08:58 Still waiting to schedule task 23:08:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:08:58 Still waiting to schedule task 23:08:58 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:11:09 Running on prd-centos7-docker-4c-2g-961 in /w/workspace/gexfoundry_device-rest-go_PR-104 [Pipeline] { [Pipeline] ws 23:11:09 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 23:11:10 The recommended git tool is: git 23:11:15 using credential edgex-jenkins-ssh 23:11:15 Cloning the remote Git repository 23:11:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:11:15 > git init /w/workspace/device-rest-go/3 # timeout=10 23:11:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:11:15 > git --version # timeout=10 23:11:15 > git --version # 'git version 2.24.4' 23:11:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:15 [INFO] Currently running in a labeled security context 23:11:15 [INFO] Currently SELinux is 'enforcing' on the host 23:11:15 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh3543252422780105983.key 23:11:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:16 Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 23:11:17 Merge succeeded, producing 37f77733386d785e6611e3840a49dc6e6576ee37 23:11:17 Checking out Revision 37f77733386d785e6611e3840a49dc6e6576ee37 (PR-104) 23:11:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:11:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:11:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:16 [INFO] Currently running in a labeled security context 23:11:16 [INFO] Currently SELinux is 'enforcing' on the host 23:11:16 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh8708117880936624299.key 23:11:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:11:16 > git config core.sparsecheckout # timeout=10 23:11:16 > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 23:11:16 > git remote # timeout=10 23:11:16 > git config --get remote.origin.url # timeout=10 23:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:16 [INFO] Currently running in a labeled security context 23:11:16 [INFO] Currently SELinux is 'enforcing' on the host 23:11:16 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh5027840589592592617.key 23:11:16 > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 23:11:17 > git rev-parse HEAD^{commit} # timeout=10 23:11:17 > git config core.sparsecheckout # timeout=10 23:11:17 > git checkout -f 37f77733386d785e6611e3840a49dc6e6576ee37 # timeout=10 23:11:20 Commit message: "Merge commit '405bc14ac6f45c2dca7c5fb451b6f8197ce2523b' into HEAD" 23:11:20 > git rev-list --no-walk c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:11:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:11:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:11:22 + sudo service docker restart 23:11:22 + true 23:11:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:40 provisioning config files... 23:11:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config3568333402560550211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:40 ---> docker-login.sh 23:11:40 nexus3.edgexfoundry.org:10001 23:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:41 Configure a credential helper to remove this warning. See 23:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:41 23:11:41 Login Succeeded 23:11:41 nexus3.edgexfoundry.org:10002 23:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:41 Configure a credential helper to remove this warning. See 23:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:41 23:11:41 Login Succeeded 23:11:41 nexus3.edgexfoundry.org:10003 23:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:41 Configure a credential helper to remove this warning. See 23:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:41 23:11:41 Login Succeeded 23:11:41 nexus3.edgexfoundry.org:10004 23:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:41 Configure a credential helper to remove this warning. See 23:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:41 23:11:41 Login Succeeded 23:11:41 docker.io 23:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:41 Configure a credential helper to remove this warning. See 23:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:41 23:11:41 Login Succeeded 23:11:41 ---> docker-login.sh ends [Pipeline] } 23:11:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:11:42 ========================================================= 23:11:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:11:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:11:42 + 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 . 23:11:42 Sending build context to Docker daemon 92.16kB 23:11:42 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 23:11:42 Step 2/10 : FROM ${BASE} 23:11:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:11:42 540db60ca938: Pulling fs layer 23:11:42 adcc1eea9eea: Pulling fs layer 23:11:42 4c4ab2625f07: Pulling fs layer 23:11:42 0510c868ecb4: Pulling fs layer 23:11:42 afea3b2eda06: Pulling fs layer 23:11:42 7809a108b3ef: Pulling fs layer 23:11:42 f706445af74f: Pulling fs layer 23:11:42 0510c868ecb4: Waiting 23:11:42 afea3b2eda06: Waiting 23:11:42 7809a108b3ef: Waiting 23:11:42 f706445af74f: Waiting 23:11:42 4c4ab2625f07: Verifying Checksum 23:11:42 4c4ab2625f07: Download complete 23:11:42 adcc1eea9eea: Verifying Checksum 23:11:42 adcc1eea9eea: Download complete 23:11:42 afea3b2eda06: Verifying Checksum 23:11:42 afea3b2eda06: Download complete 23:11:42 7809a108b3ef: Verifying Checksum 23:11:42 7809a108b3ef: Download complete 23:11:42 540db60ca938: Verifying Checksum 23:11:42 540db60ca938: Download complete 23:11:43 540db60ca938: Pull complete 23:11:43 adcc1eea9eea: Pull complete 23:11:43 4c4ab2625f07: Pull complete 23:11:44 f706445af74f: Verifying Checksum 23:11:44 f706445af74f: Download complete 23:11:45 0510c868ecb4: Verifying Checksum 23:11:45 0510c868ecb4: Download complete 23:11:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-960 in /w/workspace/gexfoundry_device-rest-go_PR-104 [Pipeline] { [Pipeline] ws 23:11:47 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 23:11:47 The recommended git tool is: git 23:11:48 0510c868ecb4: Pull complete 23:11:48 afea3b2eda06: Pull complete 23:11:48 7809a108b3ef: Pull complete 23:11:50 f706445af74f: Pull complete 23:11:50 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 23:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:11:50 ---> b068be0155e3 23:11:50 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:11:53 using credential edgex-jenkins-ssh 23:11:53 Cloning the remote Git repository 23:11:53 ---> Running in 5be94761f20e 23:11:53 Removing intermediate container 5be94761f20e 23:11:53 ---> 7c64f50bf2ed 23:11:53 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 23:11:53 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:11:53 > git init /w/workspace/device-rest-go/3 # timeout=10 23:11:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:11:53 > git --version # timeout=10 23:11:53 > git --version # 'git version 2.17.1' 23:11:53 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:53 ---> Running in 44996785ac91 23:11:53 Removing intermediate container 44996785ac91 23:11:53 ---> d4bc3efb8b4a 23:11:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:11:53 ---> Running in 3454fe1c500f 23:11:53 Removing intermediate container 3454fe1c500f 23:11:53 ---> ef070ef9f6b4 23:11:53 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:11:53 ---> Running in 97260eff4d96 23:11:54 Removing intermediate container 97260eff4d96 23:11:54 ---> 22c2cf71c889 23:11:54 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:54 ---> Running in 2a0b42b01744 23:11:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:11:55 Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 23:11:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:11:55 Merge succeeded, producing daa8f69b9b3c320c1b5eebad5190060972ccc48b 23:11:55 Checking out Revision daa8f69b9b3c320c1b5eebad5190060972ccc48b (PR-104) 23:11:56 (1/9) Installing libc-dev (0.7.2-r3) 23:11:56 (2/9) Installing libsodium (1.0.18-r0) 23:11:56 (3/9) Installing pkgconf (1.7.3-r0) 23:11:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:11:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:11:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:11:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:11:55 > git config core.sparsecheckout # timeout=10 23:11:55 > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 23:11:55 > git remote # timeout=10 23:11:55 > git config --get remote.origin.url # timeout=10 23:11:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:55 > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 23:11:55 > git rev-parse HEAD^{commit} # timeout=10 23:11:55 > git config core.sparsecheckout # timeout=10 23:11:55 > git checkout -f daa8f69b9b3c320c1b5eebad5190060972ccc48b # timeout=10 23:11:56 (4/9) Installing libsodium-dev (1.0.18-r0) 23:11:56 (5/9) Installing openssh-keygen (8.4_p1-r3) 23:11:56 (6/9) Installing libedit (20191231.3.1-r1) 23:11:56 (7/9) Installing openssh-client (8.4_p1-r3) 23:11:56 (8/9) Installing libzmq (4.3.3-r1) 23:11:56 (9/9) Installing zeromq-dev (4.3.3-r1) 23:11:57 Executing busybox-1.32.1-r6.trigger 23:11:57 OK: 154 MiB in 49 packages 23:11:57 Removing intermediate container 2a0b42b01744 23:11:57 ---> 59f885739c7c 23:11:57 Step 8/10 : WORKDIR /device-rest-go 23:11:57 ---> Running in e33856be8034 23:11:57 Removing intermediate container e33856be8034 23:11:57 ---> 04c8ebdbc2bb 23:11:57 Step 9/10 : COPY . . 23:11:57 ---> bf54bcfe3d4a 23:11:57 Step 10/10 : RUN go mod download 23:11:57 ---> Running in c9e780800da3 23:12:00 Commit message: "Merge commit '405bc14ac6f45c2dca7c5fb451b6f8197ce2523b' into HEAD" 23:12:00 > git rev-list --no-walk c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:12:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:12:02 + + truesudo 23:12:02 service docker restart 23:12:10 Removing intermediate container c9e780800da3 23:12:10 ---> 13f8f5cb59a9 23:12:10 Successfully built 13f8f5cb59a9 23:12:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:12:10 + docker inspect -f . ci-base-image-x86_64 23:12:10 . [Pipeline] withDockerContainer 23:12:10 prd-centos7-docker-4c-2g-961 does not seem to be running inside a container 23:12:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:12:10 $ docker top 2be8ba572b1c693f67af60962df625b306d900c4826db501a7fe93972695ee3d -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:11 + go version 23:12:11 go version go1.16.3 linux/amd64 [Pipeline] } 23:12:11 $ docker stop --time=1 2be8ba572b1c693f67af60962df625b306d900c4826db501a7fe93972695ee3d 23:12:12 $ docker rm -f 2be8ba572b1c693f67af60962df625b306d900c4826db501a7fe93972695ee3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:12:13 + docker inspect -f . ci-base-image-x86_64 23:12:13 . [Pipeline] withDockerContainer 23:12:13 prd-centos7-docker-4c-2g-961 does not seem to be running inside a container 23:12:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:12:13 $ docker top 160ac6bfd5037c26e03501a632335b23ea79131d258db20c18fb2853c4ae81ae -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:13 + go mod tidy [Pipeline] sh 23:12:14 + make test 23:12:14 go mod tidy 23:12:14 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:12:15 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:20 provisioning config files... 23:12:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config5629074230336010643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:21 ---> docker-login.sh 23:12:21 nexus3.edgexfoundry.org:10001 23:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:22 Configure a credential helper to remove this warning. See 23:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:22 23:12:22 Login Succeeded 23:12:22 nexus3.edgexfoundry.org:10002 23:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:23 Configure a credential helper to remove this warning. See 23:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:23 23:12:23 Login Succeeded 23:12:23 nexus3.edgexfoundry.org:10003 23:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:23 Configure a credential helper to remove this warning. See 23:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:23 23:12:23 Login Succeeded 23:12:23 nexus3.edgexfoundry.org:10004 23:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:24 Configure a credential helper to remove this warning. See 23:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:24 23:12:24 Login Succeeded 23:12:24 docker.io 23:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:24 Configure a credential helper to remove this warning. See 23:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:24 23:12:24 Login Succeeded 23:12:24 ---> docker-login.sh ends [Pipeline] } 23:12:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:25 ========================================================= 23:12:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:12:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:12:25 + 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 . 23:12:25 Sending build context to Docker daemon 92.16kB 23:12:26 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 23:12:26 Step 2/10 : FROM ${BASE} 23:12:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:12:26 595b0fe564bb: Pulling fs layer 23:12:26 7186ed65a4f7: Pulling fs layer 23:12:26 316046926c0a: Pulling fs layer 23:12:26 4ebd0625c992: Pulling fs layer 23:12:26 207e8628e3a3: Pulling fs layer 23:12:26 c791037a9be2: Pulling fs layer 23:12:26 ffd874e62e21: Pulling fs layer 23:12:26 4ebd0625c992: Waiting 23:12:26 207e8628e3a3: Waiting 23:12:26 c791037a9be2: Waiting 23:12:26 ffd874e62e21: Waiting 23:12:26 316046926c0a: Download complete 23:12:26 7186ed65a4f7: Verifying Checksum 23:12:26 207e8628e3a3: Verifying Checksum 23:12:26 207e8628e3a3: Download complete 23:12:26 c791037a9be2: Download complete 23:12:26 595b0fe564bb: Verifying Checksum 23:12:26 595b0fe564bb: Download complete 23:12:27 595b0fe564bb: Pull complete 23:12:27 7186ed65a4f7: Pull complete 23:12:28 316046926c0a: Pull complete 23:12:28 ffd874e62e21: Verifying Checksum 23:12:28 ffd874e62e21: Download complete 23:12:29 4ebd0625c992: Verifying Checksum 23:12:29 4ebd0625c992: Download complete 23:12:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:12:33 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 54.0% of statements 23:12:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:12:39 4ebd0625c992: Pull complete 23:12:40 207e8628e3a3: Pull complete 23:12:40 c791037a9be2: Pull complete 23:12:41 gofmt -l . 23:12:41 [ "`gofmt -l .`" = "" ] 23:12:41 ./bin/test-go-mod-tidy.sh 23:12:41 ./bin/test-attribution-txt.sh [Pipeline] } 23:12:41 $ docker stop --time=1 160ac6bfd5037c26e03501a632335b23ea79131d258db20c18fb2853c4ae81ae 23:12:43 $ docker rm -f 160ac6bfd5037c26e03501a632335b23ea79131d258db20c18fb2853c4ae81ae [Pipeline] // withDockerContainer [Pipeline] sh 23:12:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:12:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 23:12:44 ffd874e62e21: Pull complete 23:12:44 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 23:12:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:12:44 ---> cfc18b08335c 23:12:44 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] sh 23:12:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:12:45 + ls -al . 23:12:45 total 104 23:12:45 drwxrwxr-x. 8 jenkins jenkins 4096 May 28 23:12 . 23:12:45 drwxrwxr-x. 4 jenkins jenkins 28 May 28 23:11 .. 23:12:45 -rw-rw-r--. 1 jenkins jenkins 6792 May 28 23:11 Attribution.txt 23:12:45 drwxrwxr-x. 2 jenkins jenkins 64 May 28 23:11 bin 23:12:45 drwxrwxr-x. 3 jenkins jenkins 32 May 28 23:11 cmd 23:12:45 -rw-r--r--. 1 jenkins jenkins 8513 May 28 23:12 coverage.out 23:12:45 -rw-rw-r--. 1 jenkins jenkins 1615 May 28 23:11 Dockerfile 23:12:45 -rw-rw-r--. 1 jenkins jenkins 1087 May 28 23:11 Dockerfile.build 23:12:45 -rw-rw-r--. 1 jenkins jenkins 151 May 28 23:11 .dockerignore 23:12:45 drwxrwxr-x. 2 jenkins jenkins 76 May 28 23:11 driver 23:12:45 drwxrwxr-x. 8 jenkins jenkins 179 May 28 23:11 .git 23:12:45 drwxrwxr-x. 2 jenkins jenkins 103 May 28 23:11 .github 23:12:45 -rw-rw-r--. 1 jenkins jenkins 336 May 28 23:11 .gitignore 23:12:45 -rw-r--r--. 1 jenkins jenkins 285 May 28 23:12 go.mod 23:12:45 -rw-r--r--. 1 jenkins jenkins 21295 May 28 23:12 go.sum 23:12:45 -rw-rw-r--. 1 jenkins jenkins 680 May 28 23:11 Jenkinsfile 23:12:45 -rw-rw-r--. 1 jenkins jenkins 11340 May 28 23:11 LICENSE 23:12:45 -rw-rw-r--. 1 jenkins jenkins 996 May 28 23:11 Makefile 23:12:45 -rw-rw-r--. 1 jenkins jenkins 7667 May 28 23:11 README.md 23:12:45 drwxrwxr-x. 4 jenkins jenkins 71 May 28 23:11 snap 23:12:45 -rw-rw-r--. 1 jenkins jenkins 5 May 28 23:08 VERSION 23:12:45 -rw-rw-r--. 1 jenkins jenkins 713 May 28 23:11 version.go [Pipeline] isUnix [Pipeline] sh 23:12:46 + 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=37f77733386d785e6611e3840a49dc6e6576ee37 --label arch=amd64 --label version=0.0.0 . 23:12:46 Sending build context to Docker daemon 101.9kB 23:12:46 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 23:12:46 Step 2/25 : FROM ${BASE} AS builder 23:12:46 ---> 13f8f5cb59a9 23:12:46 Step 3/25 : ARG MAKE='make build' 23:12:46 ---> Running in 79ebbfc231b8 23:12:46 Removing intermediate container 79ebbfc231b8 23:12:46 ---> 1ce934e562dd 23:12:46 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:12:46 ---> Running in 4605f317529c 23:12:46 ---> Running in 84678f6b2076 23:12:46 Removing intermediate container 84678f6b2076 23:12:46 ---> 9473912962dd 23:12:46 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:12:46 ---> Running in 36e017f8784e 23:12:46 Removing intermediate container 36e017f8784e 23:12:46 ---> ab75ff6d07b2 23:12:46 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:46 ---> Running in 7ca7de770244 23:12:46 Removing intermediate container 4605f317529c 23:12:46 ---> 77d14e03477f 23:12:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 23:12:46 ---> Running in 603dcec40f20 23:12:46 Removing intermediate container 7ca7de770244 23:12:46 ---> b1f9c249154b 23:12:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:47 ---> Running in 2e0fa23ec207 23:12:47 Removing intermediate container 603dcec40f20 23:12:47 ---> b76d67d807f9 23:12:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:12:47 ---> Running in 8ae89b8e31e4 23:12:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:12:47 Removing intermediate container 8ae89b8e31e4 23:12:47 ---> 1ccabbd04f00 23:12:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:47 ---> Running in 7ac649cc89ac 23:12:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:12:48 OK: 154 MiB in 49 packages 23:12:48 Removing intermediate container 2e0fa23ec207 23:12:48 ---> fb85f12d6b5d 23:12:48 Step 8/25 : WORKDIR /device-rest-go 23:12:48 ---> Running in 7009acf4301d 23:12:48 Removing intermediate container 7009acf4301d 23:12:48 ---> 85b67c471d67 23:12:48 Step 9/25 : COPY . . 23:12:49 ---> f0fbe662b985 23:12:49 Step 10/25 : RUN go mod tidy 23:12:49 ---> Running in b7e98c6db179 23:12:50 Removing intermediate container b7e98c6db179 23:12:50 ---> dbbe4c2acd5b 23:12:50 Step 11/25 : RUN make update 23:12:50 ---> Running in b61a2c6b331f 23:12:50 CGO_ENABLED=0 GO111MODULE=on go mod download 23:12:50 Removing intermediate container b61a2c6b331f 23:12:50 ---> b78dcff1083a 23:12:50 Step 12/25 : RUN $MAKE 23:12:50 Removing intermediate container 7ac649cc89ac 23:12:50 ---> 59bb7ea3dee7 23:12:50 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:50 ---> Running in b338c5bc35ab 23:12:50 ---> Running in eba0beb124f4 23:12:50 go mod tidy 23:12:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 23:12:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:12:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:12:53 (1/9) Installing libc-dev (0.7.2-r3) 23:12:53 (2/9) Installing libsodium (1.0.18-r0) 23:12:53 (3/9) Installing pkgconf (1.7.3-r0) 23:12:53 (4/9) Installing libsodium-dev (1.0.18-r0) 23:12:53 (5/9) Installing openssh-keygen (8.4_p1-r3) 23:12:53 (6/9) Installing libedit (20191231.3.1-r1) 23:12:53 (7/9) Installing openssh-client (8.4_p1-r3) 23:12:53 (8/9) Installing libzmq (4.3.3-r1) 23:12:53 (9/9) Installing zeromq-dev (4.3.3-r1) 23:12:54 Executing busybox-1.32.1-r6.trigger 23:12:54 OK: 144 MiB in 49 packages 23:12:55 Removing intermediate container b338c5bc35ab 23:12:55 ---> 5d43148a56b9 23:12:55 Step 8/10 : WORKDIR /device-rest-go 23:12:55 ---> Running in 98d9105ba4e3 23:12:56 Removing intermediate container 98d9105ba4e3 23:12:56 ---> 17ebd34397c6 23:12:56 Step 9/10 : COPY . . 23:12:56 ---> bc48087587f3 23:12:56 Step 10/10 : RUN go mod download 23:12:57 ---> Running in 1d7abb8ffa4b 23:13:03 Removing intermediate container eba0beb124f4 23:13:03 ---> 1fa9c06a195a 23:13:03 Step 13/25 : FROM alpine:3.12 23:13:03 3.12: Pulling from library/alpine 23:13:03 339de151aab4: Pulling fs layer 23:13:03 339de151aab4: Verifying Checksum 23:13:03 339de151aab4: Download complete 23:13:03 339de151aab4: Pull complete 23:13:03 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 23:13:03 Status: Downloaded newer image for alpine:3.12 23:13:03 ---> 13621d1b12d4 23:13:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:13:03 ---> Running in c928d8389ed3 23:13:03 Removing intermediate container c928d8389ed3 23:13:03 ---> a74a582b27e3 23:13:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:13:03 ---> Running in 3874c8e49a13 23:13:03 Removing intermediate container 3874c8e49a13 23:13:03 ---> c70c194b30d5 23:13:03 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:13:03 ---> Running in acfc8f82c819 23:13:03 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:13:03 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:13:03 (1/6) Installing dumb-init (1.2.2-r1) 23:13:03 (2/6) Installing libgcc (9.3.0-r2) 23:13:03 (3/6) Installing libsodium (1.0.18-r0) 23:13:03 (4/6) Installing libstdc++ (9.3.0-r2) 23:13:03 (5/6) Installing libzmq (4.3.3-r0) 23:13:03 (6/6) Installing zeromq (4.3.3-r0) 23:13:03 Executing busybox-1.31.1-r20.trigger 23:13:03 OK: 8 MiB in 20 packages 23:13:03 Removing intermediate container acfc8f82c819 23:13:03 ---> b897654f8e5d 23:13:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:13:04 ---> 96b059d0c9ba 23:13:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:13:04 ---> 963ea19ac294 23:13:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:13:04 ---> 4771da982abe 23:13:04 Step 20/25 : EXPOSE 59986 23:13:04 ---> Running in 19a934447343 23:13:04 Removing intermediate container 19a934447343 23:13:04 ---> cef7fec125a5 23:13:04 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:13:04 ---> Running in 837c85c6947e 23:13:04 Removing intermediate container 837c85c6947e 23:13:04 ---> 47594c9ba28a 23:13:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:13:04 ---> Running in 917d687aad83 23:13:04 Removing intermediate container 917d687aad83 23:13:04 ---> c05928081b0c 23:13:04 Step 23/25 : LABEL arch=amd64 23:13:04 ---> Running in b3cd19dfad8d 23:13:04 Removing intermediate container b3cd19dfad8d 23:13:04 ---> ebd9254c36d4 23:13:04 Step 24/25 : LABEL git_sha=37f77733386d785e6611e3840a49dc6e6576ee37 23:13:04 ---> Running in a239872ea82c 23:13:05 Removing intermediate container a239872ea82c 23:13:05 ---> 1ac6f0160a59 23:13:05 Step 25/25 : LABEL version=0.0.0 23:13:05 ---> Running in 2b440b662179 23:13:05 Removing intermediate container 2b440b662179 23:13:05 ---> ad9430f03425 23:13:05 [Warning] One or more build-args [ARCH] were not consumed 23:13:05 Successfully built ad9430f03425 23:13:05 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 23:13:05 ---> job-cost.sh 23:13:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bZFI 23:13:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:13:24 Removing intermediate container 1d7abb8ffa4b 23:13:24 ---> f208cff95663 23:13:24 Successfully built f208cff95663 23:13:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:13:24 + docker inspect -f . ci-base-image-arm64 23:13:24 . [Pipeline] withDockerContainer 23:13:24 prd-ubuntu18.04-docker-arm64-4c-16g-960 does not seem to be running inside a container 23:13:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:13:26 $ docker top 160f357e66d2ea8a96832f92748ffde4e7bb7f201c7f29cc240d95bf41798f04 -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:27 + go version 23:13:27 go version go1.16.3 linux/arm64 [Pipeline] } 23:13:27 $ docker stop --time=1 160f357e66d2ea8a96832f92748ffde4e7bb7f201c7f29cc240d95bf41798f04 23:13:28 lf-activate-venv(): INFO: Adding /tmp/venv-bZFI/bin to PATH 23:13:28 INFO: No Stack... 23:13:28 INFO: Retrieving Pricing Info for: v3-standard-2 23:13:28 INFO: Archiving Costs 23:13:29 $ docker rm -f 160f357e66d2ea8a96832f92748ffde4e7bb7f201c7f29cc240d95bf41798f04 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:13:29 + cat /w/workspace/device-rest-go/3/archives/cost.csv 23:13:29 + cut -d, -f6 [Pipeline] lock 23:13:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] 23:13:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] did not exist. Created. 23:13:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:13:29 + docker inspect -f . ci-base-image-arm64 23:13:29 . [Pipeline] withDockerContainer 23:13:30 + echo total: 0.05999999865889549 23:13:30 prd-ubuntu18.04-docker-arm64-4c-16g-960 does not seem to be running inside a container 23:13:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:13:31 $ docker top 69c3ca970031e1abe688bfe64fbd367949c2422bd9590fd25dd93130bc89a9ee -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 23:13:32 Stashed 1 file(s) [Pipeline] } 23:13:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:13:32 + go mod tidy [Pipeline] sh 23:13:34 + make test 23:13:34 go mod tidy 23:13:34 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:13:36 ? github.com/edgexfoundry/device-rest-go [no test files] 23:14:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:14:32 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements 23:14:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:14:54 gofmt -l . 23:14:54 [ "`gofmt -l .`" = "" ] 23:14:54 ./bin/test-go-mod-tidy.sh 23:14:54 ./bin/test-attribution-txt.sh [Pipeline] } 23:14:55 $ docker stop --time=1 69c3ca970031e1abe688bfe64fbd367949c2422bd9590fd25dd93130bc89a9ee 23:14:57 $ docker rm -f 69c3ca970031e1abe688bfe64fbd367949c2422bd9590fd25dd93130bc89a9ee [Pipeline] // withDockerContainer [Pipeline] sh 23:14:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:58 Warning: overwriting stash ‘coverage-report’ 23:14:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:59 + ls -al . 23:14:59 total 132 23:14:59 drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:14 . 23:14:59 drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:11 .. 23:14:59 -rw-rw-r-- 1 jenkins jenkins 151 May 28 23:11 .dockerignore 23:14:59 drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:11 .git 23:14:59 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:11 .github 23:14:59 -rw-rw-r-- 1 jenkins jenkins 336 May 28 23:11 .gitignore 23:14:59 -rw-rw-r-- 1 jenkins jenkins 6792 May 28 23:11 Attribution.txt 23:14:59 -rw-rw-r-- 1 jenkins jenkins 1615 May 28 23:11 Dockerfile 23:14:59 -rw-rw-r-- 1 jenkins jenkins 1087 May 28 23:11 Dockerfile.build 23:14:59 -rw-rw-r-- 1 jenkins jenkins 680 May 28 23:11 Jenkinsfile 23:14:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 23:11 LICENSE 23:14:59 -rw-rw-r-- 1 jenkins jenkins 996 May 28 23:11 Makefile 23:14:59 -rw-rw-r-- 1 jenkins jenkins 7667 May 28 23:11 README.md 23:14:59 -rw-rw-r-- 1 jenkins jenkins 5 May 28 23:08 VERSION 23:14:59 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:11 bin 23:14:59 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:11 cmd 23:14:59 -rw-r--r-- 1 jenkins jenkins 8513 May 28 23:14 coverage.out 23:14:59 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:11 driver 23:14:59 -rw-r--r-- 1 jenkins jenkins 285 May 28 23:14 go.mod 23:14:59 -rw-r--r-- 1 jenkins jenkins 21295 May 28 23:13 go.sum 23:14:59 drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:11 snap 23:14:59 -rw-rw-r-- 1 jenkins jenkins 713 May 28 23:11 version.go [Pipeline] isUnix [Pipeline] sh 23:15:00 + 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=daa8f69b9b3c320c1b5eebad5190060972ccc48b --label arch=arm64 --label version=0.0.0 . 23:15:00 Sending build context to Docker daemon 101.9kB 23:15:00 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 23:15:00 Step 2/25 : FROM ${BASE} AS builder 23:15:00 ---> f208cff95663 23:15:00 Step 3/25 : ARG MAKE='make build' 23:15:00 ---> Running in b6e7153b7b22 23:15:01 Removing intermediate container b6e7153b7b22 23:15:01 ---> 18c55cbcbd45 23:15:01 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:15:01 ---> Running in 4d30213f45c4 23:15:01 Removing intermediate container 4d30213f45c4 23:15:01 ---> bf714a513278 23:15:01 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:15:01 ---> Running in edb336bcd677 23:15:02 Removing intermediate container edb336bcd677 23:15:02 ---> ea3fdbc648bd 23:15:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:15:02 ---> Running in 77fdd632c3b7 23:15:05 Removing intermediate container 77fdd632c3b7 23:15:05 ---> b9bdf7be3018 23:15:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:15:05 ---> Running in 2563b6a00fcc 23:15:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:15:07 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:15:07 OK: 144 MiB in 49 packages 23:15:09 Removing intermediate container 2563b6a00fcc 23:15:09 ---> 6f82e217c6e7 23:15:09 Step 8/25 : WORKDIR /device-rest-go 23:15:09 ---> Running in 6120f69e7142 23:15:09 Removing intermediate container 6120f69e7142 23:15:09 ---> 1147495e6bcd 23:15:09 Step 9/25 : COPY . . 23:15:10 ---> c7d8d4757808 23:15:10 Step 10/25 : RUN go mod tidy 23:15:10 ---> Running in 6bc14d565d7c 23:15:13 Removing intermediate container 6bc14d565d7c 23:15:13 ---> 028dae82d300 23:15:13 Step 11/25 : RUN make update 23:15:13 ---> Running in ad5f5a5f9a0b 23:15:14 CGO_ENABLED=0 GO111MODULE=on go mod download 23:15:15 Removing intermediate container ad5f5a5f9a0b 23:15:15 ---> 24d18e2fefce 23:15:15 Step 12/25 : RUN $MAKE 23:15:15 ---> Running in 0c741d19c7b7 23:15:16 go mod tidy 23:15:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 23:15:56 Removing intermediate container 0c741d19c7b7 23:15:56 ---> 81f57432d26a 23:15:56 Step 13/25 : FROM alpine:3.12 23:15:56 3.12: Pulling from library/alpine 23:15:56 d2f70382dc9a: Pulling fs layer 23:15:56 d2f70382dc9a: Download complete 23:15:56 d2f70382dc9a: Pull complete 23:15:56 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 23:15:56 Status: Downloaded newer image for alpine:3.12 23:15:56 ---> 9852663dfa18 23:15:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:15:56 ---> Running in c55cdce1a8d8 23:15:56 Removing intermediate container c55cdce1a8d8 23:15:56 ---> adebee53fa6e 23:15:56 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:15:56 ---> Running in 1e8cf6aaa77e 23:15:56 Removing intermediate container 1e8cf6aaa77e 23:15:56 ---> aa8bd70ffedf 23:15:56 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:15:56 ---> Running in 3a334af964e8 23:15:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:15:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:15:56 (1/6) Installing dumb-init (1.2.2-r1) 23:15:56 (2/6) Installing libgcc (9.3.0-r2) 23:15:56 (3/6) Installing libsodium (1.0.18-r0) 23:15:56 (4/6) Installing libstdc++ (9.3.0-r2) 23:15:56 (5/6) Installing libzmq (4.3.3-r0) 23:15:56 (6/6) Installing zeromq (4.3.3-r0) 23:15:56 Executing busybox-1.31.1-r20.trigger 23:15:56 OK: 8 MiB in 20 packages 23:15:58 Removing intermediate container 3a334af964e8 23:15:58 ---> 8596f311b826 23:15:58 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:15:59 ---> 7015c4ec8b0b 23:15:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:16:00 ---> 8fab361ab20b 23:16:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:16:00 ---> 755d5e99d335 23:16:00 Step 20/25 : EXPOSE 59986 23:16:00 ---> Running in 38f5691d51bd 23:16:01 Removing intermediate container 38f5691d51bd 23:16:01 ---> 9fd2f17793b2 23:16:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:16:01 ---> Running in 8509ea718ba9 23:16:02 Removing intermediate container 8509ea718ba9 23:16:02 ---> fbecfff0f51e 23:16:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:16:02 ---> Running in d37f943a8443 23:16:02 Removing intermediate container d37f943a8443 23:16:02 ---> ea5eb391df0a 23:16:02 Step 23/25 : LABEL arch=arm64 23:16:02 ---> Running in 221891af854e 23:16:03 Removing intermediate container 221891af854e 23:16:03 ---> d592e8788df3 23:16:03 Step 24/25 : LABEL git_sha=daa8f69b9b3c320c1b5eebad5190060972ccc48b 23:16:03 ---> Running in 4807ace81549 23:16:03 Removing intermediate container 4807ace81549 23:16:03 ---> a96c6df5462d 23:16:03 Step 25/25 : LABEL version=0.0.0 23:16:03 ---> Running in 99f857782f9b 23:16:04 Removing intermediate container 99f857782f9b 23:16:04 ---> adaa59aaef3e 23:16:04 [Warning] One or more build-args [ARCH] were not consumed 23:16:04 Successfully built adaa59aaef3e 23:16:04 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 23:16:04 ---> job-cost.sh 23:16:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-P4UX 23:16:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:18:05 lf-activate-venv(): INFO: Adding /tmp/venv-P4UX/bin to PATH 23:18:05 INFO: No Stack... 23:18:05 INFO: Retrieving Pricing Info for: v2-standard-4 23:18:05 INFO: Archiving Costs [Pipeline] sh 23:18:06 + cut -d, -f6 23:18:06 + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock 23:18:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] 23:18:06 Resource [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] did not exist. Created. 23:18:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:18:06 /w/workspace/device-rest-go/3@tmp/durable-35a1d3b0/script.sh: 1: /w/workspace/device-rest-go/3@tmp/durable-35a1d3b0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:18:07 + echo total: 0.18000000715255737 [Pipeline] stash 23:18:07 Warning: overwriting stash ‘stack-cost’ 23:18:07 Stashed 1 file(s) [Pipeline] } 23:18:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:18:07 provisioning config files... 23:18:07 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config5574413117240574903tmp [Pipeline] { [Pipeline] sh 23:18:08 + set +x 23:18:08 + curl -s https://codecov.io/bash 23:18:08 + bash -s -- 23:18:08 23:18:08 _____ _ 23:18:08 / ____| | | 23:18:08 | | ___ __| | ___ ___ _____ __ 23:18:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:18:08 | |___| (_) | (_| | __/ (_| (_) \ V / 23:18:08 \_____\___/ \__,_|\___|\___\___/ \_/ 23:18:08 Bash-1.0.3 23:18:08 23:18:08 23:18:08 ==> git version 2.24.4 found 23:18:08 ==> 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 23:18:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:18:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:18:08 ==> Jenkins CI detected. 23:18:08 project root: . 23:18:08 --> token set from env 23:18:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:18:08 ==> Running gcov in . (disable via -X gcov) 23:18:08 ==> Python coveragepy not found 23:18:08 ==> Searching for coverage reports in: 23:18:08 + . 23:18:08 -> Found 1 reports 23:18:08 ==> Detecting git/mercurial file structure 23:18:08 ==> Reading reports 23:18:08 + ./coverage.out bytes=8513 23:18:08 ==> Appending adjustments 23:18:08 https://docs.codecov.io/docs/fixing-reports 23:18:08 + Found adjustments 23:18:08 ==> Gzipping contents 23:18:08 4.0K /tmp/codecov.5OHQzi.gz 23:18:08 ==> Uploading reports 23:18:08 url: https://codecov.io 23:18:08 query: branch=PR-104&commit=2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-104%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=104&job=&cmd_args= 23:18:08 -> Pinging Codecov 23:18:08 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-104&commit=2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-104%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=104&job=&cmd_args= 23:18:09 -> Uploading to 23:18:09 https://storage.googleapis.com/codecov/v4/raw/2021-05-28/4E5D53B4F1F92C436F7061BF334D961C/2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae/9c1667c0-5f25-4fed-a40b-62c23ecbda8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210528%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210528T231808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c1dab88f6e81a16e80650b8c4cb70bd608bfc8c2b2386905f2411ed504f589d 23:18:09 % Total % Received % Xferd Average Speed Time Time Time Current 23:18:09 Dload Upload Total Spent Left Speed 23:18:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4881 --:--:-- --:--:-- --:--:-- 4896 23:18:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae [Pipeline] } 23:18:09 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 23:18:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:18:10 ---> package-listing.sh 23:18:10 ++ facter osfamily 23:18:10 ++ tr '[:upper:]' '[:lower:]' 23:18:11 + OS_FAMILY=redhat 23:18:11 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-104 23:18:11 + START_PACKAGES=/tmp/packages_start.txt 23:18:11 + END_PACKAGES=/tmp/packages_end.txt 23:18:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:18:11 + PACKAGES=/tmp/packages_start.txt 23:18:11 + '[' /w/workspace/gexfoundry_device-rest-go_PR-104 ']' 23:18:11 + PACKAGES=/tmp/packages_end.txt 23:18:11 + case "${OS_FAMILY}" in 23:18:11 + rpm -qa 23:18:11 + sort 23:18:11 + '[' -f /tmp/packages_start.txt ']' 23:18:11 + '[' -f /tmp/packages_end.txt ']' 23:18:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:18:11 + '[' /w/workspace/gexfoundry_device-rest-go_PR-104 ']' 23:18:11 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-104/archives/ 23:18:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-104/archives/ [Pipeline] echo 23:18:11 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-104/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:18:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:18:12 23:18:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:18:12 alpine: Pulling from edgex-lftools-log-publisher 23:18:12 df20fa9351a1: Pulling fs layer 23:18:12 36b3adc4ff6f: Pulling fs layer 23:18:12 8ad3a11d3b57: Pulling fs layer 23:18:12 46f8f816bc3b: Pulling fs layer 23:18:12 93b61091891f: Pulling fs layer 23:18:12 93b9cdb0e59b: Pulling fs layer 23:18:12 5e14af77c1be: Pulling fs layer 23:18:12 01666e4c0597: Pulling fs layer 23:18:12 aa168da1d23b: Pulling fs layer 23:18:12 46f8f816bc3b: Waiting 23:18:12 93b61091891f: Waiting 23:18:12 93b9cdb0e59b: Waiting 23:18:12 5e14af77c1be: Waiting 23:18:12 01666e4c0597: Waiting 23:18:12 aa168da1d23b: Waiting 23:18:12 36b3adc4ff6f: Verifying Checksum 23:18:12 36b3adc4ff6f: Download complete 23:18:12 46f8f816bc3b: Verifying Checksum 23:18:12 46f8f816bc3b: Download complete 23:18:12 df20fa9351a1: Verifying Checksum 23:18:12 df20fa9351a1: Download complete 23:18:13 93b9cdb0e59b: Verifying Checksum 23:18:13 93b9cdb0e59b: Download complete 23:18:13 5e14af77c1be: Verifying Checksum 23:18:13 5e14af77c1be: Download complete 23:18:13 93b61091891f: Verifying Checksum 23:18:13 93b61091891f: Download complete 23:18:13 01666e4c0597: Verifying Checksum 23:18:13 01666e4c0597: Download complete 23:18:13 df20fa9351a1: Pull complete 23:18:13 8ad3a11d3b57: Verifying Checksum 23:18:13 8ad3a11d3b57: Download complete 23:18:13 36b3adc4ff6f: Pull complete 23:18:13 8ad3a11d3b57: Pull complete 23:18:13 46f8f816bc3b: Pull complete 23:18:14 93b61091891f: Pull complete 23:18:14 93b9cdb0e59b: Pull complete 23:18:14 5e14af77c1be: Pull complete 23:18:14 01666e4c0597: Pull complete 23:18:15 aa168da1d23b: Verifying Checksum 23:18:15 aa168da1d23b: Download complete 23:18:19 aa168da1d23b: Pull complete 23:18:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:18:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:18:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:18:19 prd-centos7-docker-4c-2g-957 does not seem to be running inside a container 23:18:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-104/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-104 -v /w/workspace/gexfoundry_device-rest-go_PR-104:/w/workspace/gexfoundry_device-rest-go_PR-104:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-104@tmp:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:18:23 $ docker top 7c1872ec3c7e7f0cfdc53d2c4a3398f9f8faf9d716e041482860fc2b39c8f18a -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:23 + touch /tmp/pre-build-complete [Pipeline] sh 23:18:23 + mkdir -p /var/log/sa [Pipeline] sh 23:18:24 + ls /var/log/sa-host 23:18:24 + sadf -c /var/log/sa-host/sa05 23:18:24 file_magic: OK 23:18:24 HZ: Using current value: 100 23:18:24 file_header: OK 23:18:24 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 23:18:24 Statistics: 23:18:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:18:24 File successfully converted to sysstat format version 12.2.1 23:18:24 + sadf -c /var/log/sa-host/sa28 23:18:24 file_magic: OK 23:18:24 HZ: Using current value: 100 23:18:24 file_header: OK 23:18:24 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 23:18:24 Statistics: 23:18:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:18:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:24 provisioning config files... 23:18:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config5991763594971686777tmp [Pipeline] { [Pipeline] echo 23:18:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:18:25 ---> create-netrc.sh [Pipeline] } 23:18:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:18:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:18:25 ---> python-tools-install.sh [Pipeline] echo 23:18:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:18:25 ---> sudo-logs.sh 23:18:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:18:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:18:26 ---> job-cost.sh 23:18:26 lf-activate-venv: SKIPPING 23:18:26 DEBUG: total: 0.18000000715255737 23:18:26 INFO: Retrieving Stack Cost... 23:18:28 INFO: Retrieving Pricing Info for: v3-standard-2 23:18:28 INFO: Archiving Costs [Pipeline] echo 23:18:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:18:28 ---> logs-deploy.sh 23:18:28 lf-activate-venv: SKIPPING 23:18:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-104/3 23:18:28 INFO: archiving workspace using pattern(s): 23:18:29 Archives upload complete. 23:18:29 INFO: archiving logs to Nexus 23:18:29 ---> uname -a: 23:18:29 Linux prd-centos7-docker-4c-2g-957.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 23:18:29 23:18:29 23:18:29 ---> lscpu: 23:18:29 Architecture: x86_64 23:18:29 CPU op-mode(s): 32-bit, 64-bit 23:18:29 Byte Order: Little Endian 23:18:29 Address sizes: 40 bits physical, 48 bits virtual 23:18:29 CPU(s): 2 23:18:29 On-line CPU(s) list: 0,1 23:18:29 Thread(s) per core: 1 23:18:29 Core(s) per socket: 1 23:18:29 Socket(s): 2 23:18:29 NUMA node(s): 1 23:18:29 Vendor ID: AuthenticAMD 23:18:29 CPU family: 23 23:18:29 Model: 49 23:18:29 Model name: AMD EPYC-Rome Processor 23:18:29 Stepping: 0 23:18:29 CPU MHz: 2800.000 23:18:29 BogoMIPS: 5600.00 23:18:29 Virtualization: AMD-V 23:18:29 Hypervisor vendor: KVM 23:18:29 Virtualization type: full 23:18:29 L1d cache: 64 KiB 23:18:29 L1i cache: 64 KiB 23:18:29 L2 cache: 1 MiB 23:18:29 L3 cache: 32 MiB 23:18:29 NUMA node0 CPU(s): 0,1 23:18:29 Vulnerability Itlb multihit: Not affected 23:18:29 Vulnerability L1tf: Not affected 23:18:29 Vulnerability Mds: Not affected 23:18:29 Vulnerability Meltdown: Not affected 23:18:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:18:29 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:18:29 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:18:29 Vulnerability Srbds: Not affected 23:18:29 Vulnerability Tsx async abort: Not affected 23:18:29 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 23:18:29 23:18:29 23:18:29 ---> nproc: 23:18:29 2 23:18:29 23:18:29 23:18:29 ---> df -h: 23:18:29 Filesystem Size Used Available Use% Mounted on 23:18:29 overlay 40.0G 7.6G 32.4G 19% / 23:18:29 tmpfs 64.0M 0 64.0M 0% /dev 23:18:29 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 23:18:29 shm 64.0M 0 64.0M 0% /dev/shm 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-104 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-104@tmp 23:18:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 23:18:29 23:18:29 23:18:29 ---> free -m: 23:18:29 total used free shared buff/cache available 23:18:29 Mem: 7821 982 4729 0 2108 6660 23:18:29 Swap: 1023 0 1023 23:18:29 23:18:29 23:18:29 ---> ip addr: 23:18:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:18:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:18:29 inet 127.0.0.1/8 scope host lo 23:18:29 valid_lft forever preferred_lft forever 23:18:29 inet6 ::1/128 scope host 23:18:29 valid_lft forever preferred_lft forever 23:18:29 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:18:29 link/ether fa:16:3e:7a:79:14 brd ff:ff:ff:ff:ff:ff 23:18:29 inet 10.30.123.72/23 brd 10.30.123.255 scope global dynamic eth0 23:18:29 valid_lft 85764sec preferred_lft 85764sec 23:18:29 inet6 fe80::f816:3eff:fe7a:7914/64 scope link 23:18:29 valid_lft forever preferred_lft forever 23:18:29 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:18:29 link/ether 02:42:a4:50:ab:73 brd ff:ff:ff:ff:ff:ff 23:18:29 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:18:29 valid_lft forever preferred_lft forever 23:18:29 inet6 fe80::42:a4ff:fe50:ab73/64 scope link 23:18:29 valid_lft forever preferred_lft forever 23:18:29 23:18:29 23:18:29 ---> sar -b -r -n DEV: 23:18:29 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/28/21 _x86_64_ (2 CPU) 23:18:29 23:18:29 23:07:42 LINUX RESTART (2 CPU) 23:18:29 23:18:29 23:08:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:18:29 23:09:01 150.25 26.51 123.74 0.00 6041.43 40570.90 0.00 23:18:29 23:10:02 1.88 0.00 1.88 0.00 0.00 39.94 0.00 23:18:29 23:11:01 0.41 0.00 0.41 0.00 0.00 6.05 0.00 23:18:29 23:12:01 0.20 0.00 0.20 0.00 0.00 2.07 0.00 23:18:29 23:13:01 0.28 0.00 0.28 0.00 0.00 4.00 0.00 23:18:29 23:14:01 0.30 0.00 0.30 0.00 0.00 4.25 0.00 23:18:29 23:15:01 0.23 0.00 0.23 0.00 0.00 3.36 0.00 23:18:29 23:16:01 0.25 0.00 0.25 0.00 0.00 3.56 0.00 23:18:29 23:17:01 0.23 0.00 0.23 0.00 0.00 2.03 0.00 23:18:29 23:18:01 0.22 0.00 0.22 0.00 0.00 3.33 0.00 23:18:29 Average: 15.46 2.66 12.80 0.00 605.40 4072.41 0.00 23:18:29 23:18:29 23:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:18:29 23:09:01 5448548 0 806232 10.07 2620 1751532 1287812 14.22 578484 1582276 128 23:18:29 23:10:02 5452928 0 801844 10.01 2620 1751540 1258356 13.89 574904 1582240 16 23:18:29 23:11:01 5459348 0 795424 9.93 2620 1751540 1204684 13.30 572228 1579624 12 23:18:29 23:12:01 5455056 0 799712 9.99 2620 1751544 1204912 13.30 576552 1579624 20 23:18:29 23:13:01 5456152 0 798608 9.97 2620 1751552 1204684 13.30 569184 1585632 20 23:18:29 23:14:01 5456072 0 798688 9.97 2620 1751552 1204756 13.30 569560 1585632 8 23:18:29 23:15:01 5455484 0 799268 9.98 2620 1751560 1204888 13.30 570312 1585632 20 23:18:29 23:16:01 5453880 0 800840 10.00 2620 1751592 1204684 13.30 572352 1585640 20 23:18:29 23:17:01 5445048 0 809692 10.11 2620 1751572 1204684 13.30 580792 1585632 8 23:18:29 23:18:01 5445136 0 809600 10.11 2620 1751576 1204684 13.30 582704 1583720 8 23:18:29 Average: 5452765 0 801991 10.01 2620 1751556 1218414 13.45 574707 1583565 26 23:18:29 23:18:29 23:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:18:29 23:09:01 eth0 666.27 502.96 1327.72 94.50 0.00 0.00 0.00 0.00 23:18:29 23:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:09:01 docker0 59.82 40.39 4.90 133.91 0.00 0.00 0.00 0.00 23:18:29 23:10:02 eth0 0.92 0.42 0.53 0.38 0.00 0.00 0.00 0.00 23:18:29 23:10:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:10:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:11:01 eth0 1.24 0.07 0.12 0.01 0.00 0.00 0.00 0.00 23:18:29 23:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:12:01 eth0 1.00 0.70 0.58 0.37 0.00 0.00 0.00 0.00 23:18:29 23:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:13:01 eth0 0.17 0.08 0.01 0.04 0.00 0.00 0.00 0.00 23:18:29 23:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:14:01 eth0 0.30 0.23 0.14 0.07 0.00 0.00 0.00 0.00 23:18:29 23:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:15:01 eth0 0.92 0.33 0.32 0.20 0.00 0.00 0.00 0.00 23:18:29 23:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:16:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:18:29 23:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:17:01 eth0 0.13 0.07 0.01 0.01 0.00 0.00 0.00 0.00 23:18:29 23:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:18:01 eth0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 23:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 Average: eth0 67.25 50.60 133.22 9.58 0.00 0.00 0.00 0.00 23:18:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:29 Average: docker0 5.99 4.05 0.49 13.42 0.00 0.00 0.00 0.00 23:18:29 23:18:29 23:18:29 ---> sar -P ALL: 23:18:29 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/28/21 _x86_64_ (2 CPU) 23:18:29 23:18:29 23:07:42 LINUX RESTART (2 CPU) 23:18:29 23:18:29 23:08:01 CPU %user %nice %system %iowait %steal %idle 23:18:29 23:09:01 all 17.81 0.00 5.82 12.74 0.09 63.54 23:18:29 23:09:01 0 17.28 0.00 6.12 12.62 0.09 63.90 23:18:29 23:09:01 1 18.33 0.00 5.53 12.87 0.09 63.19 23:18:29 23:10:02 all 0.09 0.00 0.04 0.00 0.03 99.83 23:18:29 23:10:02 0 0.08 0.00 0.05 0.00 0.03 99.83 23:18:29 23:10:02 1 0.10 0.00 0.03 0.00 0.03 99.83 23:18:29 23:11:01 all 0.11 0.00 0.03 0.00 0.03 99.82 23:18:29 23:11:01 0 0.03 0.00 0.03 0.00 0.03 99.90 23:18:29 23:11:01 1 0.19 0.00 0.03 0.00 0.03 99.74 23:18:29 23:12:01 all 0.16 0.00 0.03 0.00 0.03 99.78 23:18:29 23:12:01 0 0.08 0.00 0.03 0.00 0.03 99.85 23:18:29 23:12:01 1 0.23 0.00 0.03 0.00 0.02 99.72 23:18:29 23:13:01 all 0.13 0.00 0.03 0.00 0.03 99.82 23:18:29 23:13:01 0 0.07 0.00 0.03 0.00 0.02 99.88 23:18:29 23:13:01 1 0.20 0.00 0.02 0.00 0.03 99.75 23:18:29 23:14:01 all 0.03 0.00 0.03 0.00 0.03 99.92 23:18:29 23:14:01 0 0.02 0.00 0.02 0.00 0.02 99.95 23:18:29 23:14:01 1 0.05 0.00 0.03 0.00 0.03 99.88 23:18:29 23:15:01 all 0.07 0.00 0.03 0.00 0.03 99.87 23:18:29 23:15:01 0 0.07 0.00 0.05 0.00 0.03 99.85 23:18:29 23:15:01 1 0.07 0.00 0.02 0.00 0.02 99.90 23:18:29 23:16:01 all 0.08 0.00 0.03 0.00 0.03 99.87 23:18:29 23:16:01 0 0.12 0.00 0.03 0.00 0.03 99.82 23:18:29 23:16:01 1 0.03 0.00 0.02 0.00 0.03 99.92 23:18:29 23:17:01 all 0.05 0.00 0.02 0.00 0.03 99.90 23:18:29 23:17:01 0 0.05 0.00 0.03 0.00 0.05 99.87 23:18:29 23:17:01 1 0.05 0.00 0.00 0.00 0.02 99.93 23:18:29 23:18:01 all 0.08 0.00 0.03 0.00 0.03 99.87 23:18:29 23:18:01 0 0.07 0.00 0.03 0.00 0.03 99.87 23:18:29 23:18:01 1 0.10 0.00 0.02 0.00 0.02 99.87 23:18:29 Average: all 1.80 0.00 0.59 1.23 0.03 96.35 23:18:29 Average: 0 1.72 0.00 0.62 1.21 0.04 96.41 23:18:29 Average: 1 1.88 0.00 0.56 1.25 0.03 96.28 23:18:29 23:18:29 23:18:29