Pull request #131 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 254ba4e9925da27baec821812c07720a194718c7+2fa5af78a65124eb3e46825fc0444c4be12292c1 (e377e60b41335c524b8155a8a09bcb104a4ec60b) Running in Durability level: MAX_SURVIVABILITY 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3180510728071180099.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5304305259399492985.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-131/workspace@libs/edgex-global-pipelines # timeout=10 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-131/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2371863818600330716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-131/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5584115062755789104.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1333285755408649354.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-131/workspace@libs/lf-pipelines # timeout=10 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-131/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4721445808182743334.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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_BUILD_IMAGE_TARGET: builder 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-987 in /w/workspace/gexfoundry_device-rest-go_PR-131 [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-131 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-131@tmp/jenkins-gitclient-ssh1658438990911612381.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2fa5af78a65124eb3e46825fc0444c4be12292c1 into PR head commit 254ba4e9925da27baec821812c07720a194718c7 Merge succeeded, producing 254ba4e9925da27baec821812c07720a194718c7 Checking out Revision 254ba4e9925da27baec821812c07720a194718c7 (PR-131) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-131@tmp/jenkins-gitclient-ssh1230642316030184873.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-131@tmp/jenkins-gitclient-ssh1358876833942567915.key > git merge 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.0 to 1.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:35 ========================================================= 20:04:35 EdgeX Global Pipelines Version Info 20:04:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:36 ------------------- 20:04:36 stable info: 20:04:36 ------------------- 20:04:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:36 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:04:36 Message: update stable to v1.0.205 20:04:37 ------------------- 20:04:37 experimental info: 20:04:37 ------------------- 20:04:37 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:37 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:04:37 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 254ba4e9925da27baec821812c07720a194718c7 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 254ba4e [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:39 provisioning config files... 20:04:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/config3736703895866627734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:40 ---> docker-login.sh 20:04:40 nexus3.edgexfoundry.org:10001 20:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:41 Configure a credential helper to remove this warning. See 20:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:41 20:04:41 Login Succeeded 20:04:41 nexus3.edgexfoundry.org:10002 20:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:42 Configure a credential helper to remove this warning. See 20:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:42 20:04:42 Login Succeeded 20:04:42 nexus3.edgexfoundry.org:10003 20:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:42 Configure a credential helper to remove this warning. See 20:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:42 20:04:42 Login Succeeded 20:04:42 nexus3.edgexfoundry.org:10004 20:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:43 Configure a credential helper to remove this warning. See 20:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:43 20:04:43 Login Succeeded 20:04:43 docker.io 20:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:43 Configure a credential helper to remove this warning. See 20:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:43 20:04:43 Login Succeeded 20:04:43 ---> docker-login.sh ends [Pipeline] } 20:04:43 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 20:04:44 + git log --format=format:%s -1 254ba4e9925da27baec821812c07720a194718c7 [Pipeline] echo 20:04:44 GIT_COMMIT: 254ba4e9925da27baec821812c07720a194718c7, Commit Message: build(deps): Bump github.com/spf13/cast from 1.4.0 to 1.4.1 [Pipeline] echo 20:04:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:04:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:45 20:04:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:04:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:45 latest: Pulling from edgex-devops/git-semver 20:04:45 31603596830f: Pulling fs layer 20:04:45 d4622e32a9a9: Pulling fs layer 20:04:45 1030fce36090: Pulling fs layer 20:04:45 6c6cb7e1b49b: Pulling fs layer 20:04:45 6c6cb7e1b49b: Waiting 20:04:45 d4622e32a9a9: Verifying Checksum 20:04:45 d4622e32a9a9: Download complete 20:04:46 31603596830f: Verifying Checksum 20:04:46 31603596830f: Download complete 20:04:46 31603596830f: Pull complete 20:04:46 d4622e32a9a9: Pull complete 20:04:46 6c6cb7e1b49b: Verifying Checksum 20:04:46 6c6cb7e1b49b: Download complete 20:04:46 1030fce36090: Verifying Checksum 20:04:46 1030fce36090: Download complete 20:04:46 1030fce36090: Pull complete 20:04:47 6c6cb7e1b49b: Pull complete 20:04:47 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 20:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:04:47 prd-centos7-docker-4c-2g-987 does not seem to be running inside a container 20:04:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-131 -v /w/workspace/gexfoundry_device-rest-go_PR-131:/w/workspace/gexfoundry_device-rest-go_PR-131:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-131@tmp:/w/workspace/gexfoundry_device-rest-go_PR-131@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:04:48 $ docker top 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:48 [ssh-agent] Looking for ssh-agent implementation... 20:04:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:48 $ docker exec 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 ssh-agent 20:04:48 SSH_AUTH_SOCK=/tmp/ssh-IcDIhqNqFBXu/agent.14 20:04:48 SSH_AGENT_PID=20 20:04:48 Running ssh-add (command line suppressed) 20:04:49 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-131@tmp/private_key_4483188578600674257.key (/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/private_key_4483188578600674257.key) 20:04:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:49 + git tag --points-at HEAD [Pipeline] } 20:04:49 $ docker exec --env ******** --env ******** 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 ssh-agent -k 20:04:49 unset SSH_AUTH_SOCK; 20:04:49 unset SSH_AGENT_PID; 20:04:49 echo Agent pid 20 killed; 20:04:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:49 [ssh-agent] Looking for ssh-agent implementation... 20:04:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:49 $ docker exec 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 ssh-agent 20:04:49 SSH_AUTH_SOCK=/tmp/ssh-cn6Qf5sr1RhI/agent.53 20:04:49 SSH_AGENT_PID=59 20:04:49 Running ssh-add (command line suppressed) 20:04:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-131@tmp/private_key_2955776426175777724.key (/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/private_key_2955776426175777724.key) 20:04:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:50 + git semver init 20:04:50 # -> Open(): unable to determine branch for HEAD 20:04:50 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-131/.git 20:04:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-131 20:04:50 # $SEMVER_REMOTE_NAME = origin 20:04:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:04:50 # $SEMVER_USER_NAME = edgex-jenkins 20:04:50 # $SEMVER_BRANCH = PR-131 20:04:50 # $SEMVER_TEMP = /tmp/semver-374958084 20:04:50 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:04:51 # '/tmp/semver-374958084' -> '/w/workspace/gexfoundry_device-rest-go_PR-131/.semver' 20:04:51 # -> Force: false 20:04:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-131/.semver [Pipeline] } 20:04:51 $ docker exec --env ******** --env ******** 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 ssh-agent -k 20:04:51 unset SSH_AUTH_SOCK; 20:04:51 unset SSH_AGENT_PID; 20:04:51 echo Agent pid 59 killed; 20:04:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:52 + git semver [Pipeline] } 20:04:52 $ docker stop --time=1 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 20:04:53 $ docker rm -f 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 [Pipeline] // withDockerContainer [Pipeline] sh 20:04:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:54 Stashed 1 file(s) [Pipeline] echo 20:04:54 [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 20:05:10 Still waiting to schedule task 20:05:10 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-987’ 20:05:10 Still waiting to schedule task 20:05:10 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 20:06:56 Running on prd-centos7-docker-4c-2g-989 in /w/workspace/gexfoundry_device-rest-go_PR-131 [Pipeline] { [Pipeline] ws 20:06:56 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:56 The recommended git tool is: git 20:06:59 using credential edgex-jenkins-ssh 20:06:59 Cloning the remote Git repository 20:06:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:58 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:59 > git --version # timeout=10 20:06:59 > git --version # 'git version 2.24.4' 20:06:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:59 [INFO] Currently running in a labeled security context 20:06:59 [INFO] Currently SELinux is 'enforcing' on the host 20:06:59 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7102719018549956872.key 20:06:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:07:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:07:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:00 [INFO] Currently running in a labeled security context 20:07:00 [INFO] Currently SELinux is 'enforcing' on the host 20:07:00 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6133034566835273956.key 20:07:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:07:01 Merging remotes/origin/main commit 2fa5af78a65124eb3e46825fc0444c4be12292c1 into PR head commit 254ba4e9925da27baec821812c07720a194718c7 20:07:01 Merge succeeded, producing 254ba4e9925da27baec821812c07720a194718c7 20:07:01 Checking out Revision 254ba4e9925da27baec821812c07720a194718c7 (PR-131) 20:07:00 > git config core.sparsecheckout # timeout=10 20:07:00 > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 20:07:00 > git remote # timeout=10 20:07:00 > git config --get remote.origin.url # timeout=10 20:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:00 [INFO] Currently running in a labeled security context 20:07:00 [INFO] Currently SELinux is 'enforcing' on the host 20:07:00 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh473227566604103949.key 20:07:00 > git merge 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 20:07:01 > git rev-parse HEAD^{commit} # timeout=10 20:07:01 > git config core.sparsecheckout # timeout=10 20:07:01 > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 20:07:04 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.0 to 1.4.1" 20:07:04 > git --version # timeout=10 20:07:04 > git --version # 'git version 2.24.4' 20:07:04 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:07:05 provisioning config files... 20:07:05 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5402912523646260671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:06 ---> docker-login.sh 20:07:06 nexus3.edgexfoundry.org:10001 20:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:06 Configure a credential helper to remove this warning. See 20:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:06 20:07:06 Login Succeeded 20:07:06 nexus3.edgexfoundry.org:10002 20:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:06 Configure a credential helper to remove this warning. See 20:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:06 20:07:06 Login Succeeded 20:07:06 nexus3.edgexfoundry.org:10003 20:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:06 Configure a credential helper to remove this warning. See 20:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:06 20:07:06 Login Succeeded 20:07:06 nexus3.edgexfoundry.org:10004 20:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:07 Configure a credential helper to remove this warning. See 20:07:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:07 20:07:07 Login Succeeded 20:07:07 docker.io 20:07:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-988 in /w/workspace/gexfoundry_device-rest-go_PR-131 [Pipeline] { [Pipeline] ws 20:07:07 Running in /w/workspace/device-rest-go/1 [Pipeline] { 20:07:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:07 Configure a credential helper to remove this warning. See 20:07:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:07 20:07:07 Login Succeeded 20:07:07 ---> docker-login.sh ends [Pipeline] checkout [Pipeline] } 20:07:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:07:07 The recommended git tool is: git [Pipeline] echo 20:07:07 ========================================================= 20:07:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:07:07 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:07:08 + 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 . 20:07:08 Sending build context to Docker daemon 119.3kB 20:07:08 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:07:08 Step 2/10 : FROM ${BASE} 20:07:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:07:08 540db60ca938: Pulling fs layer 20:07:08 adcc1eea9eea: Pulling fs layer 20:07:08 4c4ab2625f07: Pulling fs layer 20:07:08 db62176df00c: Pulling fs layer 20:07:08 3b30891b0d05: Pulling fs layer 20:07:08 06b49ca38bd5: Pulling fs layer 20:07:08 c788192a36de: Pulling fs layer 20:07:08 a77e37c0d609: Pulling fs layer 20:07:08 c3185cebc471: Pulling fs layer 20:07:08 db62176df00c: Waiting 20:07:08 3b30891b0d05: Waiting 20:07:08 06b49ca38bd5: Waiting 20:07:08 c788192a36de: Waiting 20:07:08 a77e37c0d609: Waiting 20:07:08 c3185cebc471: Waiting 20:07:08 4c4ab2625f07: Verifying Checksum 20:07:08 4c4ab2625f07: Download complete 20:07:08 adcc1eea9eea: Verifying Checksum 20:07:08 adcc1eea9eea: Download complete 20:07:08 3b30891b0d05: Download complete 20:07:08 06b49ca38bd5: Verifying Checksum 20:07:08 06b49ca38bd5: Download complete 20:07:08 c788192a36de: Verifying Checksum 20:07:08 c788192a36de: Download complete 20:07:08 540db60ca938: Verifying Checksum 20:07:08 540db60ca938: Download complete 20:07:08 540db60ca938: Pull complete 20:07:08 adcc1eea9eea: Pull complete 20:07:08 4c4ab2625f07: Pull complete 20:07:09 a77e37c0d609: Verifying Checksum 20:07:09 a77e37c0d609: Download complete 20:07:12 using credential edgex-jenkins-ssh 20:07:13 Cloning the remote Git repository 20:07:13 c3185cebc471: Verifying Checksum 20:07:13 c3185cebc471: Download complete 20:07:13 db62176df00c: Verifying Checksum 20:07:13 db62176df00c: Download complete 20:07:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:07:13 > git init /w/workspace/device-rest-go/1 # timeout=10 20:07:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:07:13 > git --version # timeout=10 20:07:13 > git --version # 'git version 2.17.1' 20:07:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:15 Merging remotes/origin/main commit 2fa5af78a65124eb3e46825fc0444c4be12292c1 into PR head commit 254ba4e9925da27baec821812c07720a194718c7 20:07:15 Merge succeeded, producing 254ba4e9925da27baec821812c07720a194718c7 20:07:15 Checking out Revision 254ba4e9925da27baec821812c07720a194718c7 (PR-131) 20:07:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:07:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:07:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:07:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:07:15 > git config core.sparsecheckout # timeout=10 20:07:15 > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 20:07:15 > git remote # timeout=10 20:07:15 > git config --get remote.origin.url # timeout=10 20:07:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:15 > git merge 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 20:07:15 > git rev-parse HEAD^{commit} # timeout=10 20:07:15 > git config core.sparsecheckout # timeout=10 20:07:15 > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 20:07:17 db62176df00c: Pull complete 20:07:17 3b30891b0d05: Pull complete 20:07:17 06b49ca38bd5: Pull complete 20:07:17 c788192a36de: Pull complete 20:07:17 a77e37c0d609: Pull complete 20:07:19 c3185cebc471: Pull complete 20:07:19 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 20:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:07:19 ---> 031687cdd783 20:07:19 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:20 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.0 to 1.4.1" 20:07:20 > git --version # timeout=10 20:07:20 > git --version # 'git version 2.17.1' 20:07:20 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:07:20 provisioning config files... 20:07:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config176478290745803703tmp 20:07:21 ---> Running in e904fe7c6c08 20:07:21 Removing intermediate container e904fe7c6c08 20:07:21 ---> 6099fa0f0184 20:07:21 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:07:21 ---> Running in f7e0cfe4fedf [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:21 Removing intermediate container f7e0cfe4fedf 20:07:21 ---> 655ad3693ef0 20:07:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:07:21 ---> Running in 063854ba778c 20:07:21 Removing intermediate container 063854ba778c 20:07:21 ---> 4e7addf6d995 20:07:21 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:21 ---> Running in 267b4a121d3f 20:07:21 ---> docker-login.sh 20:07:21 nexus3.edgexfoundry.org:10001 20:07:21 Removing intermediate container 267b4a121d3f 20:07:21 ---> b8c5131b7dfb 20:07:21 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:21 ---> Running in 4538ecb4b125 20:07:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:22 Configure a credential helper to remove this warning. See 20:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:22 20:07:22 Login Succeeded 20:07:22 nexus3.edgexfoundry.org:10002 20:07:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:07:23 (1/3) Installing openssh-keygen (8.4_p1-r3) 20:07:23 (2/3) Installing libedit (20191231.3.1-r1) 20:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:23 Configure a credential helper to remove this warning. See 20:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:23 20:07:23 Login Succeeded 20:07:23 nexus3.edgexfoundry.org:10003 20:07:23 (3/3) Installing openssh-client (8.4_p1-r3) 20:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:24 Configure a credential helper to remove this warning. See 20:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:24 20:07:24 Login Succeeded 20:07:24 nexus3.edgexfoundry.org:10004 20:07:24 Executing busybox-1.32.1-r6.trigger 20:07:24 OK: 223 MiB in 55 packages 20:07:24 Removing intermediate container 4538ecb4b125 20:07:24 ---> c9d0ad67e908 20:07:24 Step 8/10 : WORKDIR /device-rest-go 20:07:24 ---> Running in 2c4bf1be8812 20:07:24 Removing intermediate container 2c4bf1be8812 20:07:24 ---> bfb1944bedb1 20:07:24 Step 9/10 : COPY . . 20:07:24 ---> c8b9be9b996d 20:07:24 Step 10/10 : RUN go mod download 20:07:24 ---> Running in cee9ec8aa9a5 20:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:24 Configure a credential helper to remove this warning. See 20:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:24 20:07:24 Login Succeeded 20:07:24 docker.io 20:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:25 Configure a credential helper to remove this warning. See 20:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:25 20:07:25 Login Succeeded 20:07:25 ---> docker-login.sh ends [Pipeline] } 20:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:26 ========================================================= 20:07:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:07:26 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:07:26 + 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 . 20:07:26 Sending build context to Docker daemon 119.3kB 20:07:27 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:07:27 Step 2/10 : FROM ${BASE} 20:07:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:07:27 595b0fe564bb: Pulling fs layer 20:07:27 24495759ef45: Pulling fs layer 20:07:27 d148012ef14d: Pulling fs layer 20:07:27 e90a11edd702: Pulling fs layer 20:07:27 d77568369979: Pulling fs layer 20:07:27 fc1c9f9a7f3b: Pulling fs layer 20:07:27 170f2ba95c9a: Pulling fs layer 20:07:27 97ac5df62f85: Pulling fs layer 20:07:27 fc1c9f9a7f3b: Waiting 20:07:27 e90a11edd702: Waiting 20:07:27 d77568369979: Waiting 20:07:27 170f2ba95c9a: Waiting 20:07:27 97ac5df62f85: Waiting 20:07:27 d148012ef14d: Verifying Checksum 20:07:27 d148012ef14d: Download complete 20:07:27 24495759ef45: Verifying Checksum 20:07:27 24495759ef45: Download complete 20:07:27 d77568369979: Verifying Checksum 20:07:27 d77568369979: Download complete 20:07:27 fc1c9f9a7f3b: Verifying Checksum 20:07:27 fc1c9f9a7f3b: Download complete 20:07:27 170f2ba95c9a: Verifying Checksum 20:07:27 595b0fe564bb: Verifying Checksum 20:07:27 595b0fe564bb: Download complete 20:07:28 595b0fe564bb: Pull complete 20:07:28 24495759ef45: Pull complete 20:07:29 d148012ef14d: Pull complete 20:07:31 97ac5df62f85: Verifying Checksum 20:07:31 97ac5df62f85: Download complete 20:07:31 e90a11edd702: Verifying Checksum 20:07:31 e90a11edd702: Download complete 20:07:39 Removing intermediate container cee9ec8aa9a5 20:07:39 ---> 8fd0f1f5ccaa 20:07:39 Successfully built 8fd0f1f5ccaa 20:07:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:07:40 + docker inspect -f . ci-base-image-x86_64 20:07:40 . [Pipeline] withDockerContainer 20:07:40 prd-centos7-docker-4c-2g-989 does not seem to be running inside a container 20:07:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:07:40 $ docker top 516f1f4ebf60771a3934f2f6e65098a453ff428d46d5ed5faee8ef44991985fb -eo pid,comm [Pipeline] { [Pipeline] sh 20:07:41 + go version 20:07:41 go version go1.16.6 linux/amd64 [Pipeline] } 20:07:41 $ docker stop --time=1 516f1f4ebf60771a3934f2f6e65098a453ff428d46d5ed5faee8ef44991985fb 20:07:41 e90a11edd702: Pull complete 20:07:42 d77568369979: Pull complete 20:07:42 fc1c9f9a7f3b: Pull complete 20:07:42 $ docker rm -f 516f1f4ebf60771a3934f2f6e65098a453ff428d46d5ed5faee8ef44991985fb 20:07:42 170f2ba95c9a: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:07:43 + docker inspect -f . ci-base-image-x86_64 20:07:43 . [Pipeline] withDockerContainer 20:07:43 prd-centos7-docker-4c-2g-989 does not seem to be running inside a container 20:07:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:07:44 $ docker top 4bab344666877664d736f6ba5e580b34b6f24120f56ce5f24b44cf5e7ede4806 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:07:44 + go mod tidy [Pipeline] sh 20:07:45 + make test 20:07:45 go mod tidy 20:07:45 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:07:46 ? github.com/edgexfoundry/device-rest-go [no test files] 20:07:49 97ac5df62f85: Pull complete 20:07:49 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 20:07:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:07:49 ---> 04bc70af865f 20:07:49 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:53 ---> Running in 5895ed8e750b 20:07:54 Removing intermediate container 5895ed8e750b 20:07:54 ---> 635cd3345674 20:07:54 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:07:54 ---> Running in 6ed08e93559c 20:07:54 Removing intermediate container 6ed08e93559c 20:07:54 ---> 3377470319e6 20:07:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:07:54 ---> Running in ba43c0b67855 20:07:55 Removing intermediate container ba43c0b67855 20:07:55 ---> acd46cdf7024 20:07:55 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:55 ---> Running in ec255f5a0515 20:07:58 Removing intermediate container ec255f5a0515 20:07:58 ---> 8a5a0bb798d1 20:07:58 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:58 ---> Running in 5dd83eab90a3 20:07:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:08:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:08:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:08:01 (1/3) Installing openssh-keygen (8.4_p1-r3) 20:08:01 (2/3) Installing libedit (20191231.3.1-r1) 20:08:01 (3/3) Installing openssh-client (8.4_p1-r3) 20:08:01 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 20:08:01 Executing busybox-1.32.1-r6.trigger 20:08:01 OK: 222 MiB in 55 packages 20:08:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:08:03 Removing intermediate container 5dd83eab90a3 20:08:03 ---> 1c015b2912f1 20:08:03 Step 8/10 : WORKDIR /device-rest-go 20:08:03 ---> Running in 488c4b4f38e3 20:08:04 Removing intermediate container 488c4b4f38e3 20:08:04 ---> bfed6c56d19d 20:08:04 Step 9/10 : COPY . . 20:08:05 ---> 2960fd123164 20:08:05 Step 10/10 : RUN go mod download 20:08:05 ---> Running in da5f6b428343 20:08:08 gofmt -l . 20:08:08 [ "`gofmt -l .`" = "" ] 20:08:08 ./bin/test-go-mod-tidy.sh 20:08:08 ./bin/test-attribution-txt.sh [Pipeline] } 20:08:08 $ docker stop --time=1 4bab344666877664d736f6ba5e580b34b6f24120f56ce5f24b44cf5e7ede4806 20:08:10 $ docker rm -f 4bab344666877664d736f6ba5e580b34b6f24120f56ce5f24b44cf5e7ede4806 [Pipeline] // withDockerContainer [Pipeline] sh 20:08:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:08:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:08:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:08:14 + ls -al . 20:08:14 total 120 20:08:14 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 16 20:08 . 20:08:14 drwxrwxr-x. 4 jenkins jenkins 28 Aug 16 20:06 .. 20:08:14 -rw-rw-r--. 1 jenkins jenkins 6792 Aug 16 20:07 Attribution.txt 20:08:14 drwxrwxr-x. 2 jenkins jenkins 64 Aug 16 20:07 bin 20:08:14 -rw-rw-r--. 1 jenkins jenkins 7459 Aug 16 20:07 CHANGELOG.md 20:08:14 drwxrwxr-x. 3 jenkins jenkins 32 Aug 16 20:07 cmd 20:08:14 -rw-r--r--. 1 jenkins jenkins 8513 Aug 16 20:08 coverage.out 20:08:14 -rw-rw-r--. 1 jenkins jenkins 1615 Aug 16 20:07 Dockerfile 20:08:14 -rw-rw-r--. 1 jenkins jenkins 1087 Aug 16 20:07 Dockerfile.build 20:08:14 -rw-rw-r--. 1 jenkins jenkins 151 Aug 16 20:07 .dockerignore 20:08:14 drwxrwxr-x. 2 jenkins jenkins 76 Aug 16 20:07 driver 20:08:14 drwxrwxr-x. 8 jenkins jenkins 179 Aug 16 20:07 .git 20:08:14 drwxrwxr-x. 2 jenkins jenkins 103 Aug 16 20:07 .github 20:08:14 -rw-rw-r--. 1 jenkins jenkins 336 Aug 16 20:07 .gitignore 20:08:14 -rw-r--r--. 1 jenkins jenkins 271 Aug 16 20:08 go.mod 20:08:14 -rw-r--r--. 1 jenkins jenkins 20570 Aug 16 20:07 go.sum 20:08:14 -rw-rw-r--. 1 jenkins jenkins 677 Aug 16 20:07 GOVERNANCE.md 20:08:14 -rw-rw-r--. 1 jenkins jenkins 680 Aug 16 20:07 Jenkinsfile 20:08:14 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 16 20:07 LICENSE 20:08:14 -rw-rw-r--. 1 jenkins jenkins 996 Aug 16 20:07 Makefile 20:08:14 -rw-rw-r--. 1 jenkins jenkins 620 Aug 16 20:07 OWNERS.md 20:08:14 -rw-rw-r--. 1 jenkins jenkins 7661 Aug 16 20:07 README.md 20:08:14 drwxrwxr-x. 4 jenkins jenkins 71 Aug 16 20:07 snap 20:08:14 -rw-rw-r--. 1 jenkins jenkins 5 Aug 16 20:04 VERSION 20:08:14 -rw-rw-r--. 1 jenkins jenkins 713 Aug 16 20:07 version.go [Pipeline] isUnix [Pipeline] sh 20:08:14 + 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=254ba4e9925da27baec821812c07720a194718c7 --label arch=amd64 --label version=0.0.0 . 20:08:14 Sending build context to Docker daemon 129kB 20:08:14 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:08:14 Step 2/25 : FROM ${BASE} AS builder 20:08:14 ---> 8fd0f1f5ccaa 20:08:14 Step 3/25 : ARG MAKE='make build' 20:08:14 ---> Running in 311fee860683 20:08:14 Removing intermediate container 311fee860683 20:08:14 ---> 3f75c2ee5923 20:08:14 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:08:15 ---> Running in 7d6b40e09d48 20:08:15 Removing intermediate container 7d6b40e09d48 20:08:15 ---> 8d531e5ac5ab 20:08:15 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:08:15 ---> Running in 985b65af5edb 20:08:15 Removing intermediate container 985b65af5edb 20:08:15 ---> 4bd47a93c97e 20:08:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:08:15 ---> Running in 4828b1d1e175 20:08:15 Removing intermediate container 4828b1d1e175 20:08:15 ---> b35301a4e74d 20:08:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:08:15 ---> Running in adbb92638259 20:08:16 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:08:17 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:08:17 OK: 223 MiB in 55 packages 20:08:17 Removing intermediate container adbb92638259 20:08:17 ---> f238a85b3b2e 20:08:17 Step 8/25 : WORKDIR /device-rest-go 20:08:17 ---> Running in f65c43c4054b 20:08:17 Removing intermediate container f65c43c4054b 20:08:17 ---> 7a7178ab1a62 20:08:17 Step 9/25 : COPY . . 20:08:17 ---> 92e1a096d789 20:08:17 Step 10/25 : RUN go mod tidy 20:08:17 ---> Running in 83b204a790c2 20:08:18 Removing intermediate container 83b204a790c2 20:08:18 ---> 91d338282cce 20:08:18 Step 11/25 : RUN make update 20:08:18 ---> Running in 397f08e5f82f 20:08:19 CGO_ENABLED=0 GO111MODULE=on go mod download 20:08:19 Removing intermediate container 397f08e5f82f 20:08:19 ---> 2c950ad92f73 20:08:19 Step 12/25 : RUN $MAKE 20:08:19 ---> Running in 35eb5ab03285 20:08:19 go mod tidy 20:08:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 20:08:32 Removing intermediate container 35eb5ab03285 20:08:32 ---> 00bafe2cb3bc 20:08:32 Step 13/25 : FROM alpine:3.12 20:08:32 3.12: Pulling from library/alpine 20:08:32 339de151aab4: Pulling fs layer 20:08:32 339de151aab4: Verifying Checksum 20:08:32 339de151aab4: Download complete 20:08:32 339de151aab4: Pull complete 20:08:32 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 20:08:32 Status: Downloaded newer image for alpine:3.12 20:08:32 ---> 13621d1b12d4 20:08:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:08:32 ---> Running in f727b64184c9 20:08:32 Removing intermediate container f727b64184c9 20:08:32 ---> 67bc98a266f3 20:08:32 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:08:32 ---> Running in 97f577959f00 20:08:32 Removing intermediate container 97f577959f00 20:08:32 ---> a1617a4e3de9 20:08:32 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:08:32 ---> Running in 1a3ec33967da 20:08:32 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:08:32 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:08:33 (1/6) Installing dumb-init (1.2.2-r1) 20:08:33 (2/6) Installing libgcc (9.3.0-r2) 20:08:33 (3/6) Installing libsodium (1.0.18-r0) 20:08:33 (4/6) Installing libstdc++ (9.3.0-r2) 20:08:33 (5/6) Installing libzmq (4.3.3-r0) 20:08:33 (6/6) Installing zeromq (4.3.3-r0) 20:08:33 Executing busybox-1.31.1-r20.trigger 20:08:33 OK: 8 MiB in 20 packages 20:08:33 Removing intermediate container 1a3ec33967da 20:08:33 ---> 3b0fc2fed30c 20:08:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:08:34 ---> 11c9a70c3ea5 20:08:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:08:34 ---> 22cbb6245460 20:08:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:08:34 ---> b3f764aa3f67 20:08:34 Step 20/25 : EXPOSE 59986 20:08:34 ---> Running in aaa2a597a1a8 20:08:34 Removing intermediate container aaa2a597a1a8 20:08:34 ---> ec99cc123816 20:08:34 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:08:34 ---> Running in 0c70d0856167 20:08:34 Removing intermediate container 0c70d0856167 20:08:34 ---> c01cb5b2a750 20:08:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:08:34 ---> Running in 5b8b8b334f91 20:08:34 Removing intermediate container 5b8b8b334f91 20:08:34 ---> 369a35982aa2 20:08:34 Step 23/25 : LABEL arch=amd64 20:08:34 ---> Running in 41d93bfb9291 20:08:34 Removing intermediate container 41d93bfb9291 20:08:34 ---> a7823230bd3f 20:08:34 Step 24/25 : LABEL git_sha=254ba4e9925da27baec821812c07720a194718c7 20:08:34 ---> Running in 097031ddf817 20:08:34 Removing intermediate container 097031ddf817 20:08:34 ---> b123dfb436d3 20:08:34 Step 25/25 : LABEL version=0.0.0 20:08:34 ---> Running in b26e410cc047 20:08:34 Removing intermediate container b26e410cc047 20:08:34 ---> 6df5ffe337fd 20:08:34 [Warning] One or more build-args [ARCH] were not consumed 20:08:34 Successfully built 6df5ffe337fd 20:08:34 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:08:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:35 20:08:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:08:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:36 latest: Pulling from edgex-lftools-log-publisher 20:08:36 b4d181a07f80: Pulling fs layer 20:08:36 a1111a8f2ec3: Pulling fs layer 20:08:36 ed53099fbce6: Pulling fs layer 20:08:36 dc539afda2c1: Pulling fs layer 20:08:36 77bc0d833cb6: Pulling fs layer 20:08:36 9065ff56babe: Pulling fs layer 20:08:36 d287ab97295c: Pulling fs layer 20:08:36 dc539afda2c1: Waiting 20:08:36 77bc0d833cb6: Waiting 20:08:36 9065ff56babe: Waiting 20:08:36 d287ab97295c: Waiting 20:08:36 a1111a8f2ec3: Verifying Checksum 20:08:36 a1111a8f2ec3: Download complete 20:08:36 dc539afda2c1: Verifying Checksum 20:08:36 dc539afda2c1: Download complete 20:08:36 77bc0d833cb6: Verifying Checksum 20:08:36 77bc0d833cb6: Download complete 20:08:36 ed53099fbce6: Verifying Checksum 20:08:36 ed53099fbce6: Download complete 20:08:36 9065ff56babe: Verifying Checksum 20:08:36 9065ff56babe: Download complete 20:08:37 Removing intermediate container da5f6b428343 20:08:37 ---> 7db630d2f96d 20:08:37 Successfully built 7db630d2f96d 20:08:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:08:37 + docker inspect -f . ci-base-image-arm64 20:08:37 . [Pipeline] withDockerContainer 20:08:37 b4d181a07f80: Verifying Checksum 20:08:37 b4d181a07f80: Download complete 20:08:38 prd-ubuntu18.04-docker-arm64-4c-16g-988 does not seem to be running inside a container 20:08:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:39 b4d181a07f80: Pull complete 20:08:39 a1111a8f2ec3: Pull complete 20:08:39 ed53099fbce6: Pull complete 20:08:39 dc539afda2c1: Pull complete 20:08:40 $ docker top 4c734a29bc7c6e8f08b5f90fcc2717abceec467ac20498ba83c87de8e3320775 -eo pid,comm 20:08:40 77bc0d833cb6: Pull complete 20:08:40 9065ff56babe: Pull complete [Pipeline] { [Pipeline] sh 20:08:41 + go version 20:08:41 go version go1.16.6 linux/arm64 [Pipeline] } 20:08:41 $ docker stop --time=1 4c734a29bc7c6e8f08b5f90fcc2717abceec467ac20498ba83c87de8e3320775 20:08:41 d287ab97295c: Verifying Checksum 20:08:41 d287ab97295c: Download complete 20:08:43 $ docker rm -f 4c734a29bc7c6e8f08b5f90fcc2717abceec467ac20498ba83c87de8e3320775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:08:44 + docker inspect -f . ci-base-image-arm64 20:08:44 . [Pipeline] withDockerContainer 20:08:44 prd-ubuntu18.04-docker-arm64-4c-16g-988 does not seem to be running inside a container 20:08:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:45 d287ab97295c: Pull complete 20:08:45 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:08:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:46 $ docker top 624635e5d6852f1bfab617731387ea42d0d9afb3eeb049a6040390aa20bc33ac -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 20:08:46 prd-centos7-docker-4c-2g-989 does not seem to be running inside a container 20:08:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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:latest cat 20:08:49 $ docker top fcd8c640bc8e3934d56e12dd185b1da62867a3a9eafa7352708454dda9f2dc43 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh 20:08:50 ---> job-cost.sh 20:08:50 lf-activate-venv: SKIPPING 20:08:50 INFO: No Stack... 20:08:50 + go mod tidy [Pipeline] sh 20:08:51 INFO: Retrieving Pricing Info for: v3-standard-2 20:08:51 INFO: Archiving Costs [Pipeline] sh 20:08:52 + make test 20:08:52 go mod tidy 20:08:52 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:08:52 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:08:52 + cut -d, -f6 [Pipeline] lock 20:08:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] 20:08:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] did not exist. Created. 20:08:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:08:52 + echo total: 0.05999999865889549 [Pipeline] stash 20:08:52 Stashed 1 file(s) [Pipeline] } 20:08:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:08:53 $ docker stop --time=1 fcd8c640bc8e3934d56e12dd185b1da62867a3a9eafa7352708454dda9f2dc43 20:08:53 ? github.com/edgexfoundry/device-rest-go [no test files] 20:08:54 $ docker rm -f fcd8c640bc8e3934d56e12dd185b1da62867a3a9eafa7352708454dda9f2dc43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:09:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:09:50 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 54.0% of statements 20:09:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:12 gofmt -l . 20:10:12 [ "`gofmt -l .`" = "" ] 20:10:12 ./bin/test-go-mod-tidy.sh 20:10:12 ./bin/test-attribution-txt.sh [Pipeline] } 20:10:12 $ docker stop --time=1 624635e5d6852f1bfab617731387ea42d0d9afb3eeb049a6040390aa20bc33ac 20:10:15 $ docker rm -f 624635e5d6852f1bfab617731387ea42d0d9afb3eeb049a6040390aa20bc33ac [Pipeline] // withDockerContainer [Pipeline] sh 20:10:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:16 Warning: overwriting stash ‘coverage-report’ 20:10:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:17 + ls -al . 20:10:17 total 148 20:10:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 20:10 . 20:10:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 20:07 .. 20:10:17 -rw-rw-r-- 1 jenkins jenkins 151 Aug 16 20:07 .dockerignore 20:10:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 20:07 .git 20:10:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 20:07 .github 20:10:17 -rw-rw-r-- 1 jenkins jenkins 336 Aug 16 20:07 .gitignore 20:10:17 -rw-rw-r-- 1 jenkins jenkins 6792 Aug 16 20:07 Attribution.txt 20:10:17 -rw-rw-r-- 1 jenkins jenkins 7459 Aug 16 20:07 CHANGELOG.md 20:10:17 -rw-rw-r-- 1 jenkins jenkins 1615 Aug 16 20:07 Dockerfile 20:10:17 -rw-rw-r-- 1 jenkins jenkins 1087 Aug 16 20:07 Dockerfile.build 20:10:17 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 20:07 GOVERNANCE.md 20:10:17 -rw-rw-r-- 1 jenkins jenkins 680 Aug 16 20:07 Jenkinsfile 20:10:17 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 16 20:07 LICENSE 20:10:17 -rw-rw-r-- 1 jenkins jenkins 996 Aug 16 20:07 Makefile 20:10:17 -rw-rw-r-- 1 jenkins jenkins 620 Aug 16 20:07 OWNERS.md 20:10:17 -rw-rw-r-- 1 jenkins jenkins 7661 Aug 16 20:07 README.md 20:10:17 -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 20:04 VERSION 20:10:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 20:07 bin 20:10:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 20:07 cmd 20:10:17 -rw-r--r-- 1 jenkins jenkins 8513 Aug 16 20:09 coverage.out 20:10:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 20:07 driver 20:10:17 -rw-r--r-- 1 jenkins jenkins 271 Aug 16 20:10 go.mod 20:10:17 -rw-r--r-- 1 jenkins jenkins 20570 Aug 16 20:08 go.sum 20:10:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 20:07 snap 20:10:17 -rw-rw-r-- 1 jenkins jenkins 713 Aug 16 20:07 version.go [Pipeline] isUnix [Pipeline] sh 20:10:18 + 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=254ba4e9925da27baec821812c07720a194718c7 --label arch=arm64 --label version=0.0.0 . 20:10:18 Sending build context to Docker daemon 129kB 20:10:18 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:10:18 Step 2/25 : FROM ${BASE} AS builder 20:10:18 ---> 7db630d2f96d 20:10:18 Step 3/25 : ARG MAKE='make build' 20:10:18 ---> Running in ced03f66479b 20:10:19 Removing intermediate container ced03f66479b 20:10:19 ---> f5dc16803d97 20:10:19 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:19 ---> Running in 73a9f4103e78 20:10:20 Removing intermediate container 73a9f4103e78 20:10:20 ---> f49deb4037db 20:10:20 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:10:20 ---> Running in 4a53b67a773b 20:10:20 Removing intermediate container 4a53b67a773b 20:10:20 ---> 169696b5028f 20:10:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:20 ---> Running in c1f78c79518e 20:10:23 Removing intermediate container c1f78c79518e 20:10:23 ---> df1cf4b61888 20:10:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:23 ---> Running in 51b85cde6a98 20:10:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:10:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:10:26 OK: 222 MiB in 55 packages 20:10:27 Removing intermediate container 51b85cde6a98 20:10:27 ---> a0bc08810e3a 20:10:27 Step 8/25 : WORKDIR /device-rest-go 20:10:27 ---> Running in 6667d2c48056 20:10:28 Removing intermediate container 6667d2c48056 20:10:28 ---> a47a94bf3239 20:10:28 Step 9/25 : COPY . . 20:10:29 ---> 7c1c0c8ac5f9 20:10:29 Step 10/25 : RUN go mod tidy 20:10:29 ---> Running in 2d1586d107f8 20:10:32 Removing intermediate container 2d1586d107f8 20:10:32 ---> 06f6eb7b7789 20:10:32 Step 11/25 : RUN make update 20:10:32 ---> Running in b37f136b5dba 20:10:33 CGO_ENABLED=0 GO111MODULE=on go mod download 20:10:34 Removing intermediate container b37f136b5dba 20:10:34 ---> 50584a4905f6 20:10:34 Step 12/25 : RUN $MAKE 20:10:34 ---> Running in 6b0095915ac4 20:10:36 go mod tidy 20:10:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 20:11:15 Removing intermediate container 6b0095915ac4 20:11:15 ---> fbea9bba41ea 20:11:15 Step 13/25 : FROM alpine:3.12 20:11:15 3.12: Pulling from library/alpine 20:11:15 d2f70382dc9a: Pulling fs layer 20:11:15 d2f70382dc9a: Verifying Checksum 20:11:15 d2f70382dc9a: Download complete 20:11:15 d2f70382dc9a: Pull complete 20:11:15 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 20:11:15 Status: Downloaded newer image for alpine:3.12 20:11:15 ---> c4fd0aeabfcf 20:11:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:11:15 ---> Running in 603fed36c60f 20:11:15 Removing intermediate container 603fed36c60f 20:11:15 ---> 1bd7873a23f2 20:11:15 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:11:15 ---> Running in 71900890d938 20:11:15 Removing intermediate container 71900890d938 20:11:15 ---> b4335a424417 20:11:15 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:11:15 ---> Running in 3b8c2e908ab9 20:11:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:11:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:11:16 (1/6) Installing dumb-init (1.2.2-r1) 20:11:16 (2/6) Installing libgcc (9.3.0-r2) 20:11:16 (3/6) Installing libsodium (1.0.18-r0) 20:11:16 (4/6) Installing libstdc++ (9.3.0-r2) 20:11:16 (5/6) Installing libzmq (4.3.3-r0) 20:11:16 (6/6) Installing zeromq (4.3.3-r0) 20:11:16 Executing busybox-1.31.1-r20.trigger 20:11:16 OK: 8 MiB in 20 packages 20:11:17 Removing intermediate container 3b8c2e908ab9 20:11:17 ---> 4db0d38b908d 20:11:17 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:11:19 ---> d032e5c6d4ec 20:11:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:11:19 ---> 835825e2d9d1 20:11:19 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:11:21 ---> edc379f624e5 20:11:21 Step 20/25 : EXPOSE 59986 20:11:21 ---> Running in 413393f6548a 20:11:21 Removing intermediate container 413393f6548a 20:11:21 ---> 68de159dd8a2 20:11:21 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:11:22 ---> Running in e9a87ede948b 20:11:22 Removing intermediate container e9a87ede948b 20:11:22 ---> bf223fa1a93a 20:11:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:11:22 ---> Running in 767a73fac318 20:11:23 Removing intermediate container 767a73fac318 20:11:23 ---> 9996ddc9a274 20:11:23 Step 23/25 : LABEL arch=arm64 20:11:23 ---> Running in 6f57f04fda5d 20:11:23 Removing intermediate container 6f57f04fda5d 20:11:23 ---> c4cb0c88e015 20:11:23 Step 24/25 : LABEL git_sha=254ba4e9925da27baec821812c07720a194718c7 20:11:24 ---> Running in 7305f187c557 20:11:24 Removing intermediate container 7305f187c557 20:11:24 ---> 19f9db051623 20:11:24 Step 25/25 : LABEL version=0.0.0 20:11:24 ---> Running in a8e1eaded114 20:11:25 Removing intermediate container a8e1eaded114 20:11:25 ---> f71be4cd3465 20:11:25 [Warning] One or more build-args [ARCH] were not consumed 20:11:25 Successfully built f71be4cd3465 20:11:25 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:11:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:26 20:11:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:11:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:26 arm64: Pulling from edgex-lftools-log-publisher 20:11:26 448f6bf000e3: Pulling fs layer 20:11:26 f757da607395: Pulling fs layer 20:11:26 05883995daec: Pulling fs layer 20:11:26 8603b9c90790: Pulling fs layer 20:11:26 1560dd03e051: Pulling fs layer 20:11:26 27f5ce0e4adf: Pulling fs layer 20:11:26 c2d8d7efcc4b: Pulling fs layer 20:11:26 8603b9c90790: Waiting 20:11:26 1560dd03e051: Waiting 20:11:26 27f5ce0e4adf: Waiting 20:11:26 c2d8d7efcc4b: Waiting 20:11:27 f757da607395: Verifying Checksum 20:11:27 f757da607395: Download complete 20:11:27 8603b9c90790: Download complete 20:11:27 1560dd03e051: Verifying Checksum 20:11:27 1560dd03e051: Download complete 20:11:27 27f5ce0e4adf: Verifying Checksum 20:11:27 27f5ce0e4adf: Download complete 20:11:27 05883995daec: Verifying Checksum 20:11:27 05883995daec: Download complete 20:11:28 448f6bf000e3: Verifying Checksum 20:11:28 448f6bf000e3: Download complete 20:11:30 c2d8d7efcc4b: Verifying Checksum 20:11:30 c2d8d7efcc4b: Download complete 20:11:31 448f6bf000e3: Pull complete 20:11:32 f757da607395: Pull complete 20:11:33 05883995daec: Pull complete 20:11:34 8603b9c90790: Pull complete 20:11:35 1560dd03e051: Pull complete 20:11:35 27f5ce0e4adf: Pull complete 20:11:50 c2d8d7efcc4b: Pull complete 20:11:50 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:11:51 prd-ubuntu18.04-docker-arm64-4c-16g-988 does not seem to be running inside a container 20:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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:arm64 cat 20:11:56 $ docker top 3424daccdd2c0d378e7327446d703fb675f40a8001c29563e5171d61cc2b8b13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:57 ---> job-cost.sh 20:11:57 lf-activate-venv: SKIPPING 20:11:57 INFO: No Stack... 20:11:58 INFO: Retrieving Pricing Info for: v2-standard-4 20:11:59 INFO: Archiving Costs [Pipeline] sh 20:11:59 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:11:59 + cut -d, -f6 [Pipeline] lock 20:11:59 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] 20:11:59 Resource [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] did not exist. Created. 20:11:59 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:12:00 /w/workspace/device-rest-go/1@tmp/durable-9b29f576/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-9b29f576/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:12:01 + echo total: 0.18000000715255737 [Pipeline] stash 20:12:01 Warning: overwriting stash ‘stack-cost’ 20:12:01 Stashed 1 file(s) [Pipeline] } 20:12:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:12:01 $ docker stop --time=1 3424daccdd2c0d378e7327446d703fb675f40a8001c29563e5171d61cc2b8b13 20:12:03 $ docker rm -f 3424daccdd2c0d378e7327446d703fb675f40a8001c29563e5171d61cc2b8b13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 20:12:04 provisioning config files... 20:12:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/config4676807757560805102tmp [Pipeline] { [Pipeline] sh 20:12:04 + set +x 20:12:04 + curl -s https://codecov.io/bash 20:12:04 + bash -s -- 20:12:04 20:12:04 _____ _ 20:12:04 / ____| | | 20:12:04 | | ___ __| | ___ ___ _____ __ 20:12:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:12:04 | |___| (_) | (_| | __/ (_| (_) \ V / 20:12:04 \_____\___/ \__,_|\___|\___\___/ \_/ 20:12:04 Bash-1.0.6 20:12:04 20:12:04 20:12:04 ==> git version 2.24.4 found 20:12:04 ==> 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 20:12:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:12:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:12:04 ==> Jenkins CI detected. 20:12:04 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-131 20:12:04 project root: . 20:12:04 --> token set from env 20:12:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:12:05 ==> Running gcov in . (disable via -X gcov) 20:12:05 ==> Python coveragepy not found 20:12:05 ==> Searching for coverage reports in: 20:12:05 + . 20:12:05 -> Found 1 reports 20:12:05 ==> Detecting git/mercurial file structure 20:12:05 ==> Reading reports 20:12:05 + ./coverage.out bytes=8513 20:12:05 ==> Appending adjustments 20:12:05 https://docs.codecov.io/docs/fixing-reports 20:12:05 + Found adjustments 20:12:05 ==> Gzipping contents 20:12:05 4.0K /tmp/codecov.EK6ahl.gz 20:12:05 ==> Uploading reports 20:12:05 url: https://codecov.io 20:12:05 query: branch=PR-131&commit=254ba4e9925da27baec821812c07720a194718c7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=131&job=&cmd_args= 20:12:05 -> Pinging Codecov 20:12:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-131&commit=254ba4e9925da27baec821812c07720a194718c7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=131&job=&cmd_args= 20:12:05 -> Uploading to 20:12:05 https://storage.googleapis.com/codecov/v4/raw/2021-08-16/4E5D53B4F1F92C436F7061BF334D961C/254ba4e9925da27baec821812c07720a194718c7/feddbf1f-a576-4e5a-b0e9-22bddcd2fd93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210816T201205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e6707e59c133b5458bd57ab116edf2a4b4009b8cd0d4cc96151ce8ede44097a 20:12:05 % Total % Received % Xferd Average Speed Time Time Time Current 20:12:05 Dload Upload Total Spent Left Speed 20:12:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 5044 --:--:-- --:--:-- --:--:-- 5040 20:12:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/254ba4e9925da27baec821812c07720a194718c7 [Pipeline] } 20:12:05 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] sh 20:12:08 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-131/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:12:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:12:09 ---> package-listing.sh 20:12:09 ++ facter osfamily 20:12:09 ++ tr '[:upper:]' '[:lower:]' 20:12:09 + OS_FAMILY=redhat 20:12:09 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-131 20:12:09 + START_PACKAGES=/tmp/packages_start.txt 20:12:09 + END_PACKAGES=/tmp/packages_end.txt 20:12:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:12:09 + PACKAGES=/tmp/packages_start.txt 20:12:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-131 ']' 20:12:09 + PACKAGES=/tmp/packages_end.txt 20:12:09 + case "${OS_FAMILY}" in 20:12:09 + rpm -qa 20:12:09 + sort 20:12:09 + '[' -f /tmp/packages_start.txt ']' 20:12:09 + '[' -f /tmp/packages_end.txt ']' 20:12:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:12:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-131 ']' 20:12:09 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-131/archives/ 20:12:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-131/archives/ [Pipeline] echo 20:12:09 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-131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:12:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:12:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:10 20:12:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:12:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:11 latest: Pulling from edgex-lftools-log-publisher 20:12:11 b4d181a07f80: Pulling fs layer 20:12:11 a1111a8f2ec3: Pulling fs layer 20:12:11 ed53099fbce6: Pulling fs layer 20:12:11 dc539afda2c1: Pulling fs layer 20:12:11 77bc0d833cb6: Pulling fs layer 20:12:11 9065ff56babe: Pulling fs layer 20:12:11 d287ab97295c: Pulling fs layer 20:12:11 77bc0d833cb6: Waiting 20:12:11 9065ff56babe: Waiting 20:12:11 d287ab97295c: Waiting 20:12:11 a1111a8f2ec3: Verifying Checksum 20:12:11 a1111a8f2ec3: Download complete 20:12:11 dc539afda2c1: Verifying Checksum 20:12:11 dc539afda2c1: Download complete 20:12:11 ed53099fbce6: Verifying Checksum 20:12:11 ed53099fbce6: Download complete 20:12:11 9065ff56babe: Verifying Checksum 20:12:11 9065ff56babe: Download complete 20:12:12 77bc0d833cb6: Verifying Checksum 20:12:12 77bc0d833cb6: Download complete 20:12:13 b4d181a07f80: Verifying Checksum 20:12:13 b4d181a07f80: Download complete 20:12:14 b4d181a07f80: Pull complete 20:12:14 a1111a8f2ec3: Pull complete 20:12:15 ed53099fbce6: Pull complete 20:12:15 dc539afda2c1: Pull complete 20:12:15 77bc0d833cb6: Pull complete 20:12:15 9065ff56babe: Pull complete 20:12:16 d287ab97295c: Verifying Checksum 20:12:16 d287ab97295c: Download complete 20:12:21 d287ab97295c: Pull complete 20:12:21 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:12:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:12:21 prd-centos7-docker-4c-2g-987 does not seem to be running inside a container 20:12:21 $ 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-131/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-131 -v /w/workspace/gexfoundry_device-rest-go_PR-131:/w/workspace/gexfoundry_device-rest-go_PR-131:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-131@tmp:/w/workspace/gexfoundry_device-rest-go_PR-131@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:12:23 $ docker top b920d72577acf3447e07ef0488993571e496cbfabc4e705f7a59b1200a7ef87e -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:23 + touch /tmp/pre-build-complete [Pipeline] sh 20:12:24 + mkdir -p /var/log/sysstat [Pipeline] sh 20:12:24 + ls /var/log/sa-host 20:12:24 + sadf -c /var/log/sa-host/sa05 20:12:24 file_magic: OK 20:12:24 HZ: Using current value: 100 20:12:24 file_header: OK 20:12: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 20:12:24 Statistics: 20:12:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:12:24 File successfully converted to sysstat format version 12.0.3 20:12:24 + sadf -c /var/log/sa-host/sa16 20:12:24 file_magic: OK 20:12:24 HZ: Using current value: 100 20:12:24 file_header: OK 20:12: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 20:12:24 Statistics: 20:12:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:12:24 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:25 provisioning config files... 20:12:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/config2971767677022732265tmp [Pipeline] { [Pipeline] echo 20:12:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:12:25 ---> create-netrc.sh [Pipeline] } 20:12:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:12:26 ---> python-tools-install.sh [Pipeline] echo 20:12:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:12:26 ---> sudo-logs.sh 20:12:26 Archiving 'sudo' log.. 20:12:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-987.vexxhost.local: Name or service not known 20:12:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-987.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 20:12:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:12:27 ---> job-cost.sh 20:12:27 lf-activate-venv: SKIPPING 20:12:27 DEBUG: total: 0.18000000715255737 20:12:27 INFO: Retrieving Stack Cost... 20:12:28 INFO: Retrieving Pricing Info for: v3-standard-2 20:12:28 INFO: Archiving Costs [Pipeline] echo 20:12:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:12:28 ---> logs-deploy.sh 20:12:28 lf-activate-venv: SKIPPING 20:12:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-131/1 20:12:28 INFO: archiving workspace using pattern(s): 20:12:29 Archives upload complete. 20:12:29 INFO: archiving logs to Nexus 20:12:30 ---> uname -a: 20:12:30 Linux prd-centos7-docker-4c-2g-987.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 20:12:30 20:12:30 20:12:30 ---> lscpu: 20:12:30 Architecture: x86_64 20:12:30 CPU op-mode(s): 32-bit, 64-bit 20:12:30 Byte Order: Little Endian 20:12:30 Address sizes: 40 bits physical, 48 bits virtual 20:12:30 CPU(s): 2 20:12:30 On-line CPU(s) list: 0,1 20:12:30 Thread(s) per core: 1 20:12:30 Core(s) per socket: 1 20:12:30 Socket(s): 2 20:12:30 NUMA node(s): 1 20:12:30 Vendor ID: AuthenticAMD 20:12:30 CPU family: 23 20:12:30 Model: 49 20:12:30 Model name: AMD EPYC-Rome Processor 20:12:30 Stepping: 0 20:12:30 CPU MHz: 2799.998 20:12:30 BogoMIPS: 5599.99 20:12:30 Virtualization: AMD-V 20:12:30 Hypervisor vendor: KVM 20:12:30 Virtualization type: full 20:12:30 L1d cache: 32K 20:12:30 L1i cache: 32K 20:12:30 L2 cache: 512K 20:12:30 L3 cache: 16384K 20:12:30 NUMA node0 CPU(s): 0,1 20:12:30 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 20:12:30 20:12:30 20:12:30 ---> nproc: 20:12:30 2 20:12:30 20:12:30 20:12:30 ---> df -h: 20:12:30 Filesystem Size Used Avail Use% Mounted on 20:12:30 overlay 40G 7.7G 33G 20% / 20:12:30 tmpfs 64M 0 64M 0% /dev 20:12:30 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 20:12:30 shm 64M 0 64M 0% /dev/shm 20:12:30 /dev/vda1 40G 7.7G 33G 20% /facter-os 20:12:30 20:12:30 20:12:30 ---> sar -b -r -n DEV: 20:12:30 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) 20:12:30 20:12:30 20:03:56 LINUX RESTART (2 CPU) 20:12:30 20:12:30 20:05:02 tps rtps wtps bread/s bwrtn/s 20:12:30 20:06:01 1.76 0.00 1.76 0.00 35.86 20:12:30 20:07:01 0.37 0.00 0.37 0.00 5.28 20:12:30 20:08:01 0.38 0.00 0.38 0.00 6.83 20:12:30 20:09:01 0.17 0.00 0.17 0.00 1.75 20:12:30 20:10:01 0.33 0.00 0.33 0.00 4.90 20:12:30 20:11:01 0.33 0.00 0.33 0.00 4.45 20:12:30 20:12:01 0.13 0.00 0.13 0.00 2.32 20:12:30 Average: 0.49 0.00 0.49 0.00 8.70 20:12:30 20:12:30 20:05:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:12:30 20:06:01 5454632 0 803688 10.03 2620 1747992 1273804 14.06 587356 1567768 20 20:12:30 20:07:01 5464484 0 793832 9.91 2620 1747996 1204356 13.30 581036 1566148 20 20:12:30 20:08:01 5462356 0 795956 9.94 2620 1748000 1204416 13.30 582512 1566152 8 20:12:30 20:09:01 5464680 0 793628 9.91 2620 1748004 1204104 13.29 579892 1567076 12 20:12:30 20:10:01 5461808 0 796496 9.95 2620 1748008 1204176 13.29 580096 1569988 8 20:12:30 20:11:01 5460116 0 798184 9.97 2620 1748012 1204332 13.30 582200 1569988 20 20:12:30 20:12:01 5458492 0 799800 9.99 2620 1748020 1204168 13.29 583440 1570168 8 20:12:30 Average: 5460938 0 797369 9.96 2620 1748005 1214194 13.41 582362 1568184 14 20:12:30 20:12:30 20:05:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:12:30 20:06:01 eth0 1.69 0.69 3.83 0.11 0.00 0.00 0.00 0.00 20:12:30 20:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:07:01 eth0 1.02 0.30 0.32 0.17 0.00 0.00 0.00 0.00 20:12:30 20:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:08:01 eth0 0.47 0.28 0.27 0.22 0.00 0.00 0.00 0.00 20:12:30 20:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:09:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:12:30 20:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:10:01 eth0 0.45 0.18 0.11 0.07 0.00 0.00 0.00 0.00 20:12:30 20:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:11:01 eth0 0.58 0.27 0.34 0.20 0.00 0.00 0.00 0.00 20:12:30 20:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:12:01 eth0 0.10 0.03 0.01 0.00 0.00 0.00 0.00 0.00 20:12:30 20:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 Average: eth0 0.63 0.26 0.69 0.11 0.00 0.00 0.00 0.00 20:12:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:30 20:12:30 20:12:30 ---> sar -P ALL: 20:12:30 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) 20:12:30 20:12:30 20:03:56 LINUX RESTART (2 CPU) 20:12:30 20:12:30 20:05:02 CPU %user %nice %system %iowait %steal %idle 20:12:30 20:06:01 all 0.29 0.00 0.07 0.00 0.01 99.64 20:12:30 20:06:01 0 0.19 0.00 0.08 0.00 0.02 99.71 20:12:30 20:06:01 1 0.39 0.00 0.05 0.00 0.00 99.56 20:12:30 20:07:01 all 0.25 0.00 0.04 0.00 0.02 99.69 20:12:30 20:07:01 0 0.43 0.00 0.05 0.00 0.02 99.50 20:12:30 20:07:01 1 0.07 0.00 0.03 0.00 0.02 99.88 20:12:30 20:08:01 all 0.16 0.00 0.04 0.01 0.03 99.77 20:12:30 20:08:01 0 0.27 0.00 0.05 0.00 0.03 99.65 20:12:30 20:08:01 1 0.05 0.00 0.03 0.02 0.02 99.88 20:12:30 20:09:01 all 0.23 0.00 0.03 0.00 0.01 99.73 20:12:30 20:09:01 0 0.40 0.00 0.02 0.00 0.00 99.58 20:12:30 20:09:01 1 0.07 0.00 0.03 0.00 0.02 99.88 20:12:30 20:10:01 all 0.06 0.00 0.05 0.00 0.02 99.87 20:12:30 20:10:01 0 0.08 0.00 0.07 0.00 0.03 99.82 20:12:30 20:10:01 1 0.03 0.00 0.03 0.00 0.00 99.93 20:12:30 20:11:01 all 0.13 0.00 0.04 0.00 0.02 99.82 20:12:30 20:11:01 0 0.22 0.00 0.03 0.00 0.02 99.73 20:12:30 20:11:01 1 0.03 0.00 0.05 0.00 0.02 99.90 20:12:30 20:12:01 all 0.18 0.00 0.03 0.00 0.02 99.77 20:12:30 20:12:01 0 0.30 0.00 0.05 0.00 0.02 99.63 20:12:30 20:12:01 1 0.07 0.00 0.02 0.00 0.02 99.90 20:12:30 Average: all 0.19 0.00 0.04 0.00 0.02 99.75 20:12:30 Average: 0 0.27 0.00 0.05 0.00 0.02 99.66 20:12:30 Average: 1 0.10 0.00 0.04 0.00 0.01 99.85 20:12:30 20:12:30 20:12:30