Pull request #130 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-rest-go Loading trusted files from base branch main at ebfdf0cb37e6937bdbae1f20ddf4825a64340012 rather than 93dcba772c172983cfa5d26d8037de53aefc6924 Obtained Jenkinsfile from ebfdf0cb37e6937bdbae1f20ddf4825a64340012 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-ssh8180380793485402927.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-ssh3863629097676236946.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-130/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-130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6895877256001495184.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-130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5234668648104285622.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-ssh6811787192906883553.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-130/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-130/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3253201293824178845.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-392 in /w/workspace/gexfoundry_device-rest-go_PR-130 [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-130 # 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-130@tmp/jenkins-gitclient-ssh3337199383626558558.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 ebfdf0cb37e6937bdbae1f20ddf4825a64340012 into PR head commit 93dcba772c172983cfa5d26d8037de53aefc6924 Merge succeeded, producing 93dcba772c172983cfa5d26d8037de53aefc6924 Checking out Revision 93dcba772c172983cfa5d26d8037de53aefc6924 (PR-130) > 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-130@tmp/jenkins-gitclient-ssh7233919382844360476.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93dcba772c172983cfa5d26d8037de53aefc6924 # 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-130@tmp/jenkins-gitclient-ssh8054886380846559950.key > git merge ebfdf0cb37e6937bdbae1f20ddf4825a64340012 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93dcba772c172983cfa5d26d8037de53aefc6924 # timeout=10 Commit message: "fix: update all TOML to use quote and not single-quote" 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 19:21:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:21:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:21:48 ========================================================= 19:21:48 EdgeX Global Pipelines Version Info 19:21:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:21:49 ------------------- 19:21:49 stable info: 19:21:49 ------------------- 19:21:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:21:49 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:21:49 Message: update stable to v1.0.205 19:21:50 ------------------- 19:21:50 experimental info: 19:21:50 ------------------- 19:21:50 Commited By: **** collab-it+edgex@linuxfoundation.org 19:21:50 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:21:50 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:21:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:21:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:21:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:21:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:21:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:21:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:21:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-130 [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-130 [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-130 [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93dcba772c172983cfa5d26d8037de53aefc6924 [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93dcba7 [Pipeline] echo 19:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:21:52 provisioning config files... 19:21:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-130@tmp/config1693013310874997891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:53 ---> docker-login.sh 19:21:53 nexus3.edgexfoundry.org:10001 19:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:53 Configure a credential helper to remove this warning. See 19:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:53 19:21:53 Login Succeeded 19:21:53 nexus3.edgexfoundry.org:10002 19:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:53 Configure a credential helper to remove this warning. See 19:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:53 19:21:53 Login Succeeded 19:21:53 nexus3.edgexfoundry.org:10003 19:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:53 Configure a credential helper to remove this warning. See 19:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:53 19:21:53 Login Succeeded 19:21:53 nexus3.edgexfoundry.org:10004 19:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:54 Configure a credential helper to remove this warning. See 19:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:54 19:21:54 Login Succeeded 19:21:54 docker.io 19:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:54 Configure a credential helper to remove this warning. See 19:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:54 19:21:54 Login Succeeded 19:21:54 ---> docker-login.sh ends [Pipeline] } 19:21:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:21:55 + git log --format=format:%s -1 93dcba772c172983cfa5d26d8037de53aefc6924 [Pipeline] echo 19:21:55 GIT_COMMIT: 93dcba772c172983cfa5d26d8037de53aefc6924, Commit Message: fix: update all TOML to use quote and not single-quote [Pipeline] echo 19:21:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:21:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:21:55 19:21:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:21:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:21:56 latest: Pulling from edgex-devops/git-semver 19:21:56 31603596830f: Pulling fs layer 19:21:56 d4622e32a9a9: Pulling fs layer 19:21:56 1030fce36090: Pulling fs layer 19:21:56 6c6cb7e1b49b: Pulling fs layer 19:21:56 6c6cb7e1b49b: Waiting 19:21:56 d4622e32a9a9: Verifying Checksum 19:21:56 d4622e32a9a9: Download complete 19:21:56 31603596830f: Verifying Checksum 19:21:56 31603596830f: Download complete 19:21:56 31603596830f: Pull complete 19:21:56 6c6cb7e1b49b: Verifying Checksum 19:21:56 6c6cb7e1b49b: Download complete 19:21:56 d4622e32a9a9: Pull complete 19:21:57 1030fce36090: Verifying Checksum 19:21:57 1030fce36090: Download complete 19:21:57 1030fce36090: Pull complete 19:21:57 6c6cb7e1b49b: Pull complete 19:21:57 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 19:21:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:21:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:21:58 prd-centos7-docker-4c-2g-392 does not seem to be running inside a container 19:21:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-130 -v /w/workspace/gexfoundry_device-rest-go_PR-130:/w/workspace/gexfoundry_device-rest-go_PR-130:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-130@tmp:/w/workspace/gexfoundry_device-rest-go_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:21:58 $ docker top 517bcbc959de010b49ae18ae045f3bd270507a98b98cb77e698dc9878876274f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:21:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:21:59 [ssh-agent] Looking for ssh-agent implementation... 19:21:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:21:59 $ docker exec 517bcbc959de010b49ae18ae045f3bd270507a98b98cb77e698dc9878876274f ssh-agent 19:21:59 SSH_AUTH_SOCK=/tmp/ssh-11WgmjHkAm6r/agent.14 19:21:59 SSH_AGENT_PID=21 19:21:59 Running ssh-add (command line suppressed) 19:21:59 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-130@tmp/private_key_4349934829075025812.key (/w/workspace/gexfoundry_device-rest-go_PR-130@tmp/private_key_4349934829075025812.key) 19:21:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:21:59 + git tag --points-at HEAD [Pipeline] } 19:21:59 $ docker exec --env ******** --env ******** 517bcbc959de010b49ae18ae045f3bd270507a98b98cb77e698dc9878876274f ssh-agent -k 19:21:59 unset SSH_AUTH_SOCK; 19:21:59 unset SSH_AGENT_PID; 19:21:59 echo Agent pid 21 killed; 19:21:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:22:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:22:00 [ssh-agent] Looking for ssh-agent implementation... 19:22:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:22:00 $ docker exec 517bcbc959de010b49ae18ae045f3bd270507a98b98cb77e698dc9878876274f ssh-agent 19:22:00 SSH_AUTH_SOCK=/tmp/ssh-8F5RUWpvNZvt/agent.54 19:22:00 SSH_AGENT_PID=60 19:22:00 Running ssh-add (command line suppressed) 19:22:00 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-130@tmp/private_key_8745896646503140212.key (/w/workspace/gexfoundry_device-rest-go_PR-130@tmp/private_key_8745896646503140212.key) 19:22:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:22:00 + git semver init 19:22:00 # -> Open(): unable to determine branch for HEAD 19:22:00 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-130/.git 19:22:00 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-130 19:22:00 # $SEMVER_REMOTE_NAME = origin 19:22:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:22:00 # $SEMVER_USER_NAME = edgex-jenkins 19:22:00 # $SEMVER_BRANCH = PR-130 19:22:00 # $SEMVER_TEMP = /tmp/semver-690218187 19:22:00 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 19:22:01 # '/tmp/semver-690218187' -> '/w/workspace/gexfoundry_device-rest-go_PR-130/.semver' 19:22:01 # -> Force: false 19:22:01 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-130/.semver [Pipeline] } 19:22:01 $ docker exec --env ******** --env ******** 517bcbc959de010b49ae18ae045f3bd270507a98b98cb77e698dc9878876274f ssh-agent -k 19:22:01 unset SSH_AUTH_SOCK; 19:22:01 unset SSH_AGENT_PID; 19:22:01 echo Agent pid 60 killed; 19:22:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:22:02 + git semver [Pipeline] } 19:22:02 $ docker stop --time=1 517bcbc959de010b49ae18ae045f3bd270507a98b98cb77e698dc9878876274f 19:22:03 $ docker rm -f 517bcbc959de010b49ae18ae045f3bd270507a98b98cb77e698dc9878876274f [Pipeline] // withDockerContainer [Pipeline] sh 19:22:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:22:04 Stashed 1 file(s) [Pipeline] echo 19:22:04 [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 19:22:19 Still waiting to schedule task 19:22:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:22:20 Still waiting to schedule task 19:22:20 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:24:45 Running on prd-centos7-docker-4c-2g-395 in /w/workspace/gexfoundry_device-rest-go_PR-130 [Pipeline] { [Pipeline] ws 19:24:45 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:24:45 The recommended git tool is: git 19:24:48 using credential edgex-jenkins-ssh 19:24:48 Cloning the remote Git repository 19:24:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:24:48 > git init /w/workspace/device-rest-go/1 # timeout=10 19:24:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:24:48 > git --version # timeout=10 19:24:48 > git --version # 'git version 2.24.4' 19:24:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:48 [INFO] Currently running in a labeled security context 19:24:48 [INFO] Currently SELinux is 'enforcing' on the host 19:24:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh715568592126863556.key 19:24:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:24:49 Merging remotes/origin/main commit ebfdf0cb37e6937bdbae1f20ddf4825a64340012 into PR head commit 93dcba772c172983cfa5d26d8037de53aefc6924 19:24:50 Merge succeeded, producing 93dcba772c172983cfa5d26d8037de53aefc6924 19:24:50 Checking out Revision 93dcba772c172983cfa5d26d8037de53aefc6924 (PR-130) 19:24:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:24:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:24:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:24:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:24:49 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:49 [INFO] Currently running in a labeled security context 19:24:49 [INFO] Currently SELinux is 'enforcing' on the host 19:24:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6808190685748941613.key 19:24:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:24:49 > git config core.sparsecheckout # timeout=10 19:24:49 > git checkout -f 93dcba772c172983cfa5d26d8037de53aefc6924 # timeout=10 19:24:49 > git remote # timeout=10 19:24:50 > git config --get remote.origin.url # timeout=10 19:24:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:50 [INFO] Currently running in a labeled security context 19:24:50 [INFO] Currently SELinux is 'enforcing' on the host 19:24:50 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh168101806003373263.key 19:24:50 > git merge ebfdf0cb37e6937bdbae1f20ddf4825a64340012 # timeout=10 19:24:50 > git rev-parse HEAD^{commit} # timeout=10 19:24:50 > git config core.sparsecheckout # timeout=10 19:24:50 > git checkout -f 93dcba772c172983cfa5d26d8037de53aefc6924 # timeout=10 19:24:53 Commit message: "fix: update all TOML to use quote and not single-quote" 19:24:53 > git --version # timeout=10 19:24:53 > git --version # 'git version 2.24.4' 19:24:53 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:24:54 provisioning config files... 19:24:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4790177654685432467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:24:54 ---> docker-login.sh 19:24:54 nexus3.edgexfoundry.org:10001 19:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:55 Configure a credential helper to remove this warning. See 19:24:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:55 19:24:55 Login Succeeded 19:24:55 nexus3.edgexfoundry.org:10002 19:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:55 Configure a credential helper to remove this warning. See 19:24:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:55 19:24:55 Login Succeeded 19:24:55 nexus3.edgexfoundry.org:10003 19:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:55 Configure a credential helper to remove this warning. See 19:24:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:55 19:24:55 Login Succeeded 19:24:55 nexus3.edgexfoundry.org:10004 19:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:55 Configure a credential helper to remove this warning. See 19:24:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:55 19:24:55 Login Succeeded 19:24:55 docker.io 19:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:56 Configure a credential helper to remove this warning. See 19:24:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:56 19:24:56 Login Succeeded 19:24:56 ---> docker-login.sh ends [Pipeline] } 19:24:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:24:56 ========================================================= 19:24:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:24:56 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:24:56 + 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 . 19:24:56 Sending build context to Docker daemon 119.3kB 19:24:56 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 19:24:56 Step 2/10 : FROM ${BASE} 19:24:56 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:24:56 540db60ca938: Pulling fs layer 19:24:56 adcc1eea9eea: Pulling fs layer 19:24:56 4c4ab2625f07: Pulling fs layer 19:24:56 db62176df00c: Pulling fs layer 19:24:56 3b30891b0d05: Pulling fs layer 19:24:56 06b49ca38bd5: Pulling fs layer 19:24:56 c788192a36de: Pulling fs layer 19:24:56 a77e37c0d609: Pulling fs layer 19:24:56 c3185cebc471: Pulling fs layer 19:24:56 db62176df00c: Waiting 19:24:56 3b30891b0d05: Waiting 19:24:56 06b49ca38bd5: Waiting 19:24:56 c788192a36de: Waiting 19:24:56 a77e37c0d609: Waiting 19:24:56 c3185cebc471: Waiting 19:24:57 4c4ab2625f07: Verifying Checksum 19:24:57 4c4ab2625f07: Download complete 19:24:57 adcc1eea9eea: Verifying Checksum 19:24:57 adcc1eea9eea: Download complete 19:24:57 3b30891b0d05: Verifying Checksum 19:24:57 3b30891b0d05: Download complete 19:24:57 06b49ca38bd5: Verifying Checksum 19:24:57 06b49ca38bd5: Download complete 19:24:57 c788192a36de: Verifying Checksum 19:24:57 c788192a36de: Download complete 19:24:57 540db60ca938: Verifying Checksum 19:24:57 540db60ca938: Download complete 19:24:57 540db60ca938: Pull complete 19:24:57 adcc1eea9eea: Pull complete 19:24:57 4c4ab2625f07: Pull complete 19:24:58 a77e37c0d609: Verifying Checksum 19:24:58 a77e37c0d609: Download complete 19:25:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-394 in /w/workspace/gexfoundry_device-rest-go_PR-130 [Pipeline] { [Pipeline] ws 19:25:03 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:25:04 c3185cebc471: Verifying Checksum 19:25:04 c3185cebc471: Download complete 19:25:04 db62176df00c: Verifying Checksum 19:25:04 db62176df00c: Download complete 19:25:04 The recommended git tool is: git 19:25:07 db62176df00c: Pull complete 19:25:07 3b30891b0d05: Pull complete 19:25:07 06b49ca38bd5: Pull complete 19:25:07 c788192a36de: Pull complete 19:25:07 a77e37c0d609: Pull complete 19:25:09 c3185cebc471: Pull complete 19:25:09 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 19:25:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:25:09 ---> 031687cdd783 19:25:09 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:25:09 using credential edgex-jenkins-ssh 19:25:09 Cloning the remote Git repository 19:25:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:25:09 > git init /w/workspace/device-rest-go/1 # timeout=10 19:25:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:25:09 > git --version # timeout=10 19:25:09 > git --version # 'git version 2.17.1' 19:25:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:25:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:25:11 ---> Running in 7da671122fec 19:25:11 Removing intermediate container 7da671122fec 19:25:11 ---> 05fe93d480f8 19:25:11 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:25:11 ---> Running in 2b6f312a0f00 19:25:11 Removing intermediate container 2b6f312a0f00 19:25:11 ---> 8e0d5bb63d61 19:25:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:25:11 ---> Running in 639960f36649 19:25:11 Removing intermediate container 639960f36649 19:25:11 ---> e7fe7f7bf37e 19:25:11 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:11 ---> Running in c3918a84160b 19:25:12 Removing intermediate container c3918a84160b 19:25:12 ---> e60930e74c18 19:25:12 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:12 ---> Running in fb763acbc004 19:25:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:25:12 Merging remotes/origin/main commit ebfdf0cb37e6937bdbae1f20ddf4825a64340012 into PR head commit 93dcba772c172983cfa5d26d8037de53aefc6924 19:25:12 Merge succeeded, producing 93dcba772c172983cfa5d26d8037de53aefc6924 19:25:12 Checking out Revision 93dcba772c172983cfa5d26d8037de53aefc6924 (PR-130) 19:25:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:25:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:25:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:25:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:25:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:25:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:25:12 > git config core.sparsecheckout # timeout=10 19:25:12 > git checkout -f 93dcba772c172983cfa5d26d8037de53aefc6924 # timeout=10 19:25:12 > git remote # timeout=10 19:25:12 > git config --get remote.origin.url # timeout=10 19:25:12 using GIT_SSH to set credentials SSH Credentials for GitHub 19:25:12 > git merge ebfdf0cb37e6937bdbae1f20ddf4825a64340012 # timeout=10 19:25:12 > git rev-parse HEAD^{commit} # timeout=10 19:25:12 > git config core.sparsecheckout # timeout=10 19:25:12 > git checkout -f 93dcba772c172983cfa5d26d8037de53aefc6924 # timeout=10 19:25:13 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:25:13 (1/3) Installing openssh-keygen (8.4_p1-r3) 19:25:13 (2/3) Installing libedit (20191231.3.1-r1) 19:25:13 (3/3) Installing openssh-client (8.4_p1-r3) 19:25:14 Executing busybox-1.32.1-r6.trigger 19:25:14 OK: 223 MiB in 55 packages 19:25:14 Removing intermediate container fb763acbc004 19:25:14 ---> 3446e9d7a597 19:25:14 Step 8/10 : WORKDIR /device-rest-go 19:25:14 ---> Running in 02c5562d33d2 19:25:14 Removing intermediate container 02c5562d33d2 19:25:14 ---> a3708a742e50 19:25:14 Step 9/10 : COPY . . 19:25:14 ---> 18e1359c242b 19:25:14 Step 10/10 : RUN go mod download 19:25:14 ---> Running in 7641c08a6704 19:25:17 Commit message: "fix: update all TOML to use quote and not single-quote" 19:25:17 > git --version # timeout=10 19:25:17 > git --version # 'git version 2.17.1' 19:25:17 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:25:17 provisioning config files... 19:25:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7962760031784528793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:25:18 ---> docker-login.sh 19:25:18 nexus3.edgexfoundry.org:10001 19:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:19 Configure a credential helper to remove this warning. See 19:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:19 19:25:19 Login Succeeded 19:25:19 nexus3.edgexfoundry.org:10002 19:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:20 Configure a credential helper to remove this warning. See 19:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:20 19:25:20 Login Succeeded 19:25:20 nexus3.edgexfoundry.org:10003 19:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:20 Configure a credential helper to remove this warning. See 19:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:20 19:25:20 Login Succeeded 19:25:20 nexus3.edgexfoundry.org:10004 19:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:21 Configure a credential helper to remove this warning. See 19:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:21 19:25:21 Login Succeeded 19:25:21 docker.io 19:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:22 Configure a credential helper to remove this warning. See 19:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:22 19:25:22 Login Succeeded 19:25:22 ---> docker-login.sh ends [Pipeline] } 19:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:25:23 ========================================================= 19:25:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:25:23 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:25:23 + 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 . 19:25:23 Sending build context to Docker daemon 119.3kB 19:25:24 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 19:25:24 Step 2/10 : FROM ${BASE} 19:25:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:25:24 595b0fe564bb: Pulling fs layer 19:25:24 24495759ef45: Pulling fs layer 19:25:24 d148012ef14d: Pulling fs layer 19:25:24 e90a11edd702: Pulling fs layer 19:25:24 d77568369979: Pulling fs layer 19:25:24 fc1c9f9a7f3b: Pulling fs layer 19:25:24 170f2ba95c9a: Pulling fs layer 19:25:24 97ac5df62f85: Pulling fs layer 19:25:24 fc1c9f9a7f3b: Waiting 19:25:24 97ac5df62f85: Waiting 19:25:24 170f2ba95c9a: Waiting 19:25:24 e90a11edd702: Waiting 19:25:24 d77568369979: Waiting 19:25:24 d148012ef14d: Verifying Checksum 19:25:24 d148012ef14d: Download complete 19:25:24 24495759ef45: Download complete 19:25:24 d77568369979: Verifying Checksum 19:25:24 d77568369979: Download complete 19:25:24 fc1c9f9a7f3b: Download complete 19:25:24 595b0fe564bb: Verifying Checksum 19:25:24 170f2ba95c9a: Download complete 19:25:24 Removing intermediate container 7641c08a6704 19:25:24 ---> 78ab3ddb3eb8 19:25:24 Successfully built 78ab3ddb3eb8 19:25:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:25:25 + docker inspect -f . ci-base-image-x86_64 19:25:25 . [Pipeline] withDockerContainer 19:25:25 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 19:25:25 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:25:25 595b0fe564bb: Pull complete 19:25:25 $ docker top 3376eabc266d050cbc0cef886c9588ba450e78ae0361d2f6b1f4b93d3ed2e087 -eo pid,comm [Pipeline] { [Pipeline] sh 19:25:26 24495759ef45: Pull complete 19:25:26 + go version 19:25:26 go version go1.16.6 linux/amd64 [Pipeline] } 19:25:26 $ docker stop --time=1 3376eabc266d050cbc0cef886c9588ba450e78ae0361d2f6b1f4b93d3ed2e087 19:25:26 d148012ef14d: Pull complete 19:25:27 $ docker rm -f 3376eabc266d050cbc0cef886c9588ba450e78ae0361d2f6b1f4b93d3ed2e087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 19:25:27 97ac5df62f85: Verifying Checksum 19:25:27 97ac5df62f85: Download complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:25:28 + docker inspect -f . ci-base-image-x86_64 19:25:28 . [Pipeline] withDockerContainer 19:25:28 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 19:25:28 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:25:28 e90a11edd702: Verifying Checksum 19:25:28 e90a11edd702: Download complete 19:25:28 $ docker top 1e465e8bbb3d58938ca6497d07cc5c7268d7edd349cbf86a98352fc811e2df5c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:25:29 + go mod tidy [Pipeline] sh 19:25:30 + make test 19:25:30 go mod tidy 19:25:30 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:25:30 ? github.com/edgexfoundry/device-rest-go [no test files] 19:25:39 e90a11edd702: Pull complete 19:25:39 d77568369979: Pull complete 19:25:39 fc1c9f9a7f3b: Pull complete 19:25:40 170f2ba95c9a: Pull complete 19:25:45 97ac5df62f85: Pull complete 19:25:45 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 19:25:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:25:45 ---> 04bc70af865f 19:25:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:25:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:25:45 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 19:25:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:25:49 ---> Running in f569b39bc3a5 19:25:49 Removing intermediate container f569b39bc3a5 19:25:49 ---> 5fa6cd44e021 19:25:49 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:25:50 ---> Running in a5b4aec23900 19:25:50 Removing intermediate container a5b4aec23900 19:25:50 ---> ae2ca3721431 19:25:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:25:50 ---> Running in 57d1e0c0f3b0 19:25:51 Removing intermediate container 57d1e0c0f3b0 19:25:51 ---> fa0008885936 19:25:51 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:51 ---> Running in ad4b63d4e121 19:25:52 gofmt -l . 19:25:52 [ "`gofmt -l .`" = "" ] 19:25:52 ./bin/test-go-mod-tidy.sh 19:25:52 ./bin/test-attribution-txt.sh [Pipeline] } 19:25:53 $ docker stop --time=1 1e465e8bbb3d58938ca6497d07cc5c7268d7edd349cbf86a98352fc811e2df5c 19:25:54 Removing intermediate container ad4b63d4e121 19:25:54 ---> e34c507f2eba 19:25:54 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:54 ---> Running in 6429aae1ae2d 19:25:54 $ docker rm -f 1e465e8bbb3d58938ca6497d07cc5c7268d7edd349cbf86a98352fc811e2df5c [Pipeline] // withDockerContainer [Pipeline] sh 19:25:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:25:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 19:25:55 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:25:56 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] sh 19:25:57 (1/3) Installing openssh-keygen (8.4_p1-r3) 19:25:57 (2/3) Installing libedit (20191231.3.1-r1) 19:25:57 (3/3) Installing openssh-client (8.4_p1-r3) 19:25:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:25:57 + ls -al . 19:25:57 total 120 19:25:57 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 11 19:25 . 19:25:57 drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 19:24 .. 19:25:57 -rw-rw-r--. 1 jenkins jenkins 6792 Aug 11 19:24 Attribution.txt 19:25:57 drwxrwxr-x. 2 jenkins jenkins 64 Aug 11 19:24 bin 19:25:57 -rw-rw-r--. 1 jenkins jenkins 7459 Aug 11 19:24 CHANGELOG.md 19:25:57 drwxrwxr-x. 3 jenkins jenkins 32 Aug 11 19:24 cmd 19:25:57 -rw-r--r--. 1 jenkins jenkins 8513 Aug 11 19:25 coverage.out 19:25:57 -rw-rw-r--. 1 jenkins jenkins 1615 Aug 11 19:24 Dockerfile 19:25:57 -rw-rw-r--. 1 jenkins jenkins 1087 Aug 11 19:24 Dockerfile.build 19:25:57 -rw-rw-r--. 1 jenkins jenkins 151 Aug 11 19:24 .dockerignore 19:25:57 drwxrwxr-x. 2 jenkins jenkins 76 Aug 11 19:24 driver 19:25:57 drwxrwxr-x. 8 jenkins jenkins 179 Aug 11 19:24 .git 19:25:57 drwxrwxr-x. 2 jenkins jenkins 103 Aug 11 19:24 .github 19:25:57 -rw-rw-r--. 1 jenkins jenkins 336 Aug 11 19:24 .gitignore 19:25:57 -rw-r--r--. 1 jenkins jenkins 271 Aug 11 19:25 go.mod 19:25:57 -rw-r--r--. 1 jenkins jenkins 20570 Aug 11 19:25 go.sum 19:25:57 -rw-rw-r--. 1 jenkins jenkins 677 Aug 11 19:24 GOVERNANCE.md 19:25:57 -rw-rw-r--. 1 jenkins jenkins 680 Aug 11 19:24 Jenkinsfile 19:25:57 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 11 19:24 LICENSE 19:25:57 -rw-rw-r--. 1 jenkins jenkins 996 Aug 11 19:24 Makefile 19:25:57 -rw-rw-r--. 1 jenkins jenkins 620 Aug 11 19:24 OWNERS.md 19:25:57 -rw-rw-r--. 1 jenkins jenkins 7661 Aug 11 19:24 README.md 19:25:57 drwxrwxr-x. 4 jenkins jenkins 71 Aug 11 19:24 snap 19:25:57 -rw-rw-r--. 1 jenkins jenkins 5 Aug 11 19:22 VERSION 19:25:57 -rw-rw-r--. 1 jenkins jenkins 713 Aug 11 19:24 version.go [Pipeline] isUnix [Pipeline] sh 19:25:58 Executing busybox-1.32.1-r6.trigger 19:25:58 OK: 222 MiB in 55 packages 19:25:58 + 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=93dcba772c172983cfa5d26d8037de53aefc6924 --label arch=amd64 --label version=0.0.0 . 19:25:58 Sending build context to Docker daemon 129kB 19:25:58 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 19:25:58 Step 2/25 : FROM ${BASE} AS builder 19:25:58 ---> 78ab3ddb3eb8 19:25:58 Step 3/25 : ARG MAKE='make build' 19:25:58 ---> Running in 5db46e933d42 19:25:58 Removing intermediate container 5db46e933d42 19:25:58 ---> dfc4171869a9 19:25:58 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:25:58 ---> Running in e1dd2bfbb39f 19:25:58 Removing intermediate container e1dd2bfbb39f 19:25:58 ---> 5df23f6de743 19:25:58 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:25:58 ---> Running in 0f8e2c264414 19:25:58 Removing intermediate container 0f8e2c264414 19:25:58 ---> 631ee022bfae 19:25:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:58 ---> Running in 0de3333ed8fe 19:25:58 Removing intermediate container 0de3333ed8fe 19:25:58 ---> 55ca7e724b02 19:25:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:58 ---> Running in 51f04f43d0d3 19:25:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:25:59 Removing intermediate container 6429aae1ae2d 19:25:59 ---> 79acff0f76fc 19:25:59 Step 8/10 : WORKDIR /device-rest-go 19:25:59 ---> Running in 9f52118fb97d 19:26:00 Removing intermediate container 9f52118fb97d 19:26:00 ---> 8d5fb4109f29 19:26:00 Step 9/10 : COPY . . 19:26:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:26:00 OK: 223 MiB in 55 packages 19:26:00 Removing intermediate container 51f04f43d0d3 19:26:00 ---> eee3edaa6897 19:26:00 Step 8/25 : WORKDIR /device-rest-go 19:26:00 ---> Running in e7562f5f84cf 19:26:01 ---> af9a41bf6317 19:26:01 Step 10/10 : RUN go mod download 19:26:01 Removing intermediate container e7562f5f84cf 19:26:01 ---> c025d6ce6212 19:26:01 Step 9/25 : COPY . . 19:26:01 ---> 204558fd4f6f 19:26:01 Step 10/25 : RUN go mod tidy 19:26:01 ---> Running in be257f6a5f7f 19:26:01 ---> Running in c19098db2959 19:26:02 Removing intermediate container be257f6a5f7f 19:26:02 ---> eeb618ffe80c 19:26:02 Step 11/25 : RUN make update 19:26:02 ---> Running in 6c61bfe6efa7 19:26:02 CGO_ENABLED=0 GO111MODULE=on go mod download 19:26:02 Removing intermediate container 6c61bfe6efa7 19:26:02 ---> 81972a3f6ee0 19:26:02 Step 12/25 : RUN $MAKE 19:26:02 ---> Running in ba305040651f 19:26:02 go mod tidy 19:26:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 19:26:15 Removing intermediate container ba305040651f 19:26:15 ---> 144bfb91769f 19:26:15 Step 13/25 : FROM alpine:3.12 19:26:15 3.12: Pulling from library/alpine 19:26:15 339de151aab4: Pulling fs layer 19:26:15 339de151aab4: Verifying Checksum 19:26:15 339de151aab4: Download complete 19:26:15 339de151aab4: Pull complete 19:26:15 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 19:26:15 Status: Downloaded newer image for alpine:3.12 19:26:15 ---> 13621d1b12d4 19:26:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:26:15 ---> Running in c14df9f299c3 19:26:15 Removing intermediate container c14df9f299c3 19:26:15 ---> fad75d55d579 19:26:15 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:26:15 ---> Running in 9f94f36ba28b 19:26:15 Removing intermediate container 9f94f36ba28b 19:26:15 ---> aea60dcb575f 19:26:15 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:26:15 ---> Running in c0bbf399dfd9 19:26:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:26:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:26:15 (1/6) Installing dumb-init (1.2.2-r1) 19:26:15 (2/6) Installing libgcc (9.3.0-r2) 19:26:15 (3/6) Installing libsodium (1.0.18-r0) 19:26:15 (4/6) Installing libstdc++ (9.3.0-r2) 19:26:16 (5/6) Installing libzmq (4.3.3-r0) 19:26:16 (6/6) Installing zeromq (4.3.3-r0) 19:26:16 Executing busybox-1.31.1-r20.trigger 19:26:16 OK: 8 MiB in 20 packages 19:26:16 Removing intermediate container c0bbf399dfd9 19:26:16 ---> fe2d3ee4c913 19:26:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:26:16 ---> 578b1f435cde 19:26:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:26:16 ---> d211188875c6 19:26:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:26:16 ---> 3695a4e073dd 19:26:16 Step 20/25 : EXPOSE 59986 19:26:17 ---> Running in c2f8b161b3d6 19:26:17 Removing intermediate container c2f8b161b3d6 19:26:17 ---> 42b3489c7e8f 19:26:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:26:17 ---> Running in a4fcbf3f99f4 19:26:17 Removing intermediate container a4fcbf3f99f4 19:26:17 ---> 8a4c9d6e39b9 19:26:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:26:17 ---> Running in a9586316cf76 19:26:17 Removing intermediate container a9586316cf76 19:26:17 ---> 4fd7177689e4 19:26:17 Step 23/25 : LABEL arch=amd64 19:26:17 ---> Running in 16f6821e6e0b 19:26:17 Removing intermediate container 16f6821e6e0b 19:26:17 ---> 86dc1df3fb1c 19:26:17 Step 24/25 : LABEL git_sha=93dcba772c172983cfa5d26d8037de53aefc6924 19:26:17 ---> Running in 2bfb1124eb42 19:26:17 Removing intermediate container 2bfb1124eb42 19:26:17 ---> d78f354d65be 19:26:17 Step 25/25 : LABEL version=0.0.0 19:26:17 ---> Running in d7a4d8e8c89b 19:26:17 Removing intermediate container d7a4d8e8c89b 19:26:17 ---> 876935c2efde 19:26:17 [Warning] One or more build-args [ARCH] were not consumed 19:26:17 Successfully built 876935c2efde 19:26:17 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 19:26:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:18 19:26:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:26:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:18 latest: Pulling from edgex-lftools-log-publisher 19:26:18 b4d181a07f80: Pulling fs layer 19:26:18 a1111a8f2ec3: Pulling fs layer 19:26:18 ed53099fbce6: Pulling fs layer 19:26:18 dc539afda2c1: Pulling fs layer 19:26:18 77bc0d833cb6: Pulling fs layer 19:26:18 9065ff56babe: Pulling fs layer 19:26:18 d287ab97295c: Pulling fs layer 19:26:18 77bc0d833cb6: Waiting 19:26:18 9065ff56babe: Waiting 19:26:18 d287ab97295c: Waiting 19:26:18 dc539afda2c1: Waiting 19:26:19 a1111a8f2ec3: Verifying Checksum 19:26:19 a1111a8f2ec3: Download complete 19:26:19 dc539afda2c1: Verifying Checksum 19:26:19 dc539afda2c1: Download complete 19:26:19 77bc0d833cb6: Verifying Checksum 19:26:19 77bc0d833cb6: Download complete 19:26:19 9065ff56babe: Verifying Checksum 19:26:19 9065ff56babe: Download complete 19:26:19 ed53099fbce6: Verifying Checksum 19:26:19 ed53099fbce6: Download complete 19:26:20 b4d181a07f80: Verifying Checksum 19:26:20 b4d181a07f80: Download complete 19:26:21 b4d181a07f80: Pull complete 19:26:21 a1111a8f2ec3: Pull complete 19:26:22 ed53099fbce6: Pull complete 19:26:22 dc539afda2c1: Pull complete 19:26:22 77bc0d833cb6: Pull complete 19:26:22 9065ff56babe: Pull complete 19:26:24 d287ab97295c: Verifying Checksum 19:26:24 d287ab97295c: Download complete 19:26:28 Removing intermediate container c19098db2959 19:26:28 ---> 97427aa54d07 19:26:28 Successfully built 97427aa54d07 19:26:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:26:28 + docker inspect -f . ci-base-image-arm64 19:26:28 . [Pipeline] withDockerContainer 19:26:28 d287ab97295c: Pull complete 19:26:28 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:26:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:28 prd-ubuntu18.04-docker-arm64-4c-16g-394 does not seem to be running inside a container 19:26:28 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:26:30 $ docker top 42e2d7d3c73d6dac640d88c25f6ec0f27727238652961182cf5c6fbd7f2a7022 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 19:26:31 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 19:26:31 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:26:33 $ docker top 07c9326b32c97488d8a995eb8ace1dec2a232ed3c867e6e0af20472f40f87766 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 19:26:34 ---> job-cost.sh 19:26:34 lf-activate-venv: SKIPPING 19:26:34 INFO: No Stack... 19:26:34 + go version 19:26:34 go version go1.16.6 linux/arm64 [Pipeline] } 19:26:34 $ docker stop --time=1 42e2d7d3c73d6dac640d88c25f6ec0f27727238652961182cf5c6fbd7f2a7022 19:26:36 $ docker rm -f 42e2d7d3c73d6dac640d88c25f6ec0f27727238652961182cf5c6fbd7f2a7022 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 19:26:37 INFO: Retrieving Pricing Info for: v3-standard-2 19:26:37 INFO: Archiving Costs [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 19:26:37 + cat /w/workspace/device-rest-go/1/archives/cost.csv 19:26:37 + cut -d, -f6 [Pipeline] lock 19:26:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-130-1-stack-cost] 19:26:37 Resource [jenkins-edgexfoundry-device-rest-go-PR-130-1-stack-cost] did not exist. Created. 19:26:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-130-1-stack-cost] [Pipeline] { 19:26:37 + docker inspect -f . ci-base-image-arm64 19:26:37 . [Pipeline] unstash [Pipeline] withDockerContainer 19:26:37 prd-ubuntu18.04-docker-arm64-4c-16g-394 does not seem to be running inside a container 19:26:37 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:26:39 $ docker top 76dbb37f71f767b0fa0aa5064617406078e7c8aa18d10a15636b1732f730c90c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] fileExists [Pipeline] sh 19:26:40 + echo total: 0.05999999865889549 [Pipeline] stash 19:26:40 Stashed 1 file(s) [Pipeline] } 19:26:40 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:26:40 $ docker stop --time=1 07c9326b32c97488d8a995eb8ace1dec2a232ed3c867e6e0af20472f40f87766 19:26:40 + go mod tidy 19:26:41 $ docker rm -f 07c9326b32c97488d8a995eb8ace1dec2a232ed3c867e6e0af20472f40f87766 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:26:42 + make test 19:26:42 go mod tidy 19:26:43 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:26:44 ? github.com/edgexfoundry/device-rest-go [no test files] 19:27:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:27:41 ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements 19:27:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:28:03 gofmt -l . 19:28:03 [ "`gofmt -l .`" = "" ] 19:28:03 ./bin/test-go-mod-tidy.sh 19:28:03 ./bin/test-attribution-txt.sh [Pipeline] } 19:28:03 $ docker stop --time=1 76dbb37f71f767b0fa0aa5064617406078e7c8aa18d10a15636b1732f730c90c 19:28:05 $ docker rm -f 76dbb37f71f767b0fa0aa5064617406078e7c8aa18d10a15636b1732f730c90c [Pipeline] // withDockerContainer [Pipeline] sh 19:28:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:28:06 Warning: overwriting stash ‘coverage-report’ 19:28:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:28:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:28:08 + ls -al . 19:28:08 total 148 19:28:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 19:28 . 19:28:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 19:25 .. 19:28:08 -rw-rw-r-- 1 jenkins jenkins 151 Aug 11 19:25 .dockerignore 19:28:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 19:25 .git 19:28:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 19:25 .github 19:28:08 -rw-rw-r-- 1 jenkins jenkins 336 Aug 11 19:25 .gitignore 19:28:08 -rw-rw-r-- 1 jenkins jenkins 6792 Aug 11 19:25 Attribution.txt 19:28:08 -rw-rw-r-- 1 jenkins jenkins 7459 Aug 11 19:25 CHANGELOG.md 19:28:08 -rw-rw-r-- 1 jenkins jenkins 1615 Aug 11 19:25 Dockerfile 19:28:08 -rw-rw-r-- 1 jenkins jenkins 1087 Aug 11 19:25 Dockerfile.build 19:28:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 19:25 GOVERNANCE.md 19:28:08 -rw-rw-r-- 1 jenkins jenkins 680 Aug 11 19:25 Jenkinsfile 19:28:08 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 19:25 LICENSE 19:28:08 -rw-rw-r-- 1 jenkins jenkins 996 Aug 11 19:25 Makefile 19:28:08 -rw-rw-r-- 1 jenkins jenkins 620 Aug 11 19:25 OWNERS.md 19:28:08 -rw-rw-r-- 1 jenkins jenkins 7661 Aug 11 19:25 README.md 19:28:08 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 19:22 VERSION 19:28:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 19:25 bin 19:28:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 19:25 cmd 19:28:08 -rw-r--r-- 1 jenkins jenkins 8513 Aug 11 19:27 coverage.out 19:28:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 19:25 driver 19:28:08 -rw-r--r-- 1 jenkins jenkins 271 Aug 11 19:28 go.mod 19:28:08 -rw-r--r-- 1 jenkins jenkins 20570 Aug 11 19:26 go.sum 19:28:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 19:25 snap 19:28:08 -rw-rw-r-- 1 jenkins jenkins 713 Aug 11 19:25 version.go [Pipeline] isUnix [Pipeline] sh 19:28:08 + 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=93dcba772c172983cfa5d26d8037de53aefc6924 --label arch=arm64 --label version=0.0.0 . 19:28:08 Sending build context to Docker daemon 129kB 19:28:08 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 19:28:08 Step 2/25 : FROM ${BASE} AS builder 19:28:08 ---> 97427aa54d07 19:28:08 Step 3/25 : ARG MAKE='make build' 19:28:08 ---> Running in 2396a5830b7d 19:28:09 Removing intermediate container 2396a5830b7d 19:28:09 ---> fec9ef04e27b 19:28:09 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:28:09 ---> Running in cb87835a2016 19:28:10 Removing intermediate container cb87835a2016 19:28:10 ---> f644ed61d610 19:28:10 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:28:10 ---> Running in 5a8033cb4f2a 19:28:11 Removing intermediate container 5a8033cb4f2a 19:28:11 ---> 2e8b620a4d22 19:28:11 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:28:11 ---> Running in e2c7e4c8d0a0 19:28:13 Removing intermediate container e2c7e4c8d0a0 19:28:13 ---> e038b255b19e 19:28:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:28:13 ---> Running in a49ccdafac3b 19:28:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:28:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:28:16 OK: 222 MiB in 55 packages 19:28:18 Removing intermediate container a49ccdafac3b 19:28:18 ---> 012d6c5d1eb5 19:28:18 Step 8/25 : WORKDIR /device-rest-go 19:28:18 ---> Running in b71d8c340f3b 19:28:18 Removing intermediate container b71d8c340f3b 19:28:18 ---> 0d66f6298227 19:28:18 Step 9/25 : COPY . . 19:28:19 ---> ac9c3fe8b083 19:28:19 Step 10/25 : RUN go mod tidy 19:28:19 ---> Running in 3bc62e606d43 19:28:22 Removing intermediate container 3bc62e606d43 19:28:22 ---> d1d4b70d0cf8 19:28:22 Step 11/25 : RUN make update 19:28:22 ---> Running in f4ba013e75a2 19:28:23 CGO_ENABLED=0 GO111MODULE=on go mod download 19:28:25 Removing intermediate container f4ba013e75a2 19:28:25 ---> ed441af85fc3 19:28:25 Step 12/25 : RUN $MAKE 19:28:25 ---> Running in c6c4bbeae6aa 19:28:26 go mod tidy 19:28:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 19:29:06 Removing intermediate container c6c4bbeae6aa 19:29:06 ---> 6d6e6f19b7d1 19:29:06 Step 13/25 : FROM alpine:3.12 19:29:06 3.12: Pulling from library/alpine 19:29:06 d2f70382dc9a: Pulling fs layer 19:29:06 d2f70382dc9a: Verifying Checksum 19:29:06 d2f70382dc9a: Download complete 19:29:06 d2f70382dc9a: Pull complete 19:29:06 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 19:29:06 Status: Downloaded newer image for alpine:3.12 19:29:06 ---> c4fd0aeabfcf 19:29:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:29:06 ---> Running in 794558f6bcdb 19:29:06 Removing intermediate container 794558f6bcdb 19:29:06 ---> 22cea0e80c47 19:29:06 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:29:06 ---> Running in aae315c3870e 19:29:06 Removing intermediate container aae315c3870e 19:29:06 ---> 2d1d9285a388 19:29:06 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:29:06 ---> Running in c95e8ea4ae13 19:29:08 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:29:08 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:29:08 (1/6) Installing dumb-init (1.2.2-r1) 19:29:08 (2/6) Installing libgcc (9.3.0-r2) 19:29:08 (3/6) Installing libsodium (1.0.18-r0) 19:29:08 (4/6) Installing libstdc++ (9.3.0-r2) 19:29:08 (5/6) Installing libzmq (4.3.3-r0) 19:29:08 (6/6) Installing zeromq (4.3.3-r0) 19:29:08 Executing busybox-1.31.1-r20.trigger 19:29:08 OK: 8 MiB in 20 packages 19:29:10 Removing intermediate container c95e8ea4ae13 19:29:10 ---> 26c7e362d373 19:29:10 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:29:11 ---> 09a510be1181 19:29:11 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:29:12 ---> 7df44a087fc8 19:29:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:29:13 ---> 51552bd61919 19:29:13 Step 20/25 : EXPOSE 59986 19:29:13 ---> Running in c17d9b3939ad 19:29:14 Removing intermediate container c17d9b3939ad 19:29:14 ---> 9be522c91ca0 19:29:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:29:14 ---> Running in 19825444368e 19:29:14 Removing intermediate container 19825444368e 19:29:14 ---> e24f702f2dc8 19:29:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:29:14 ---> Running in c01eb7c9bc41 19:29:15 Removing intermediate container c01eb7c9bc41 19:29:15 ---> 395d036e0596 19:29:15 Step 23/25 : LABEL arch=arm64 19:29:15 ---> Running in d486ba6a3416 19:29:16 Removing intermediate container d486ba6a3416 19:29:16 ---> 0404485ede99 19:29:16 Step 24/25 : LABEL git_sha=93dcba772c172983cfa5d26d8037de53aefc6924 19:29:16 ---> Running in 4545e972d515 19:29:17 Removing intermediate container 4545e972d515 19:29:17 ---> 32e3e511b3b0 19:29:17 Step 25/25 : LABEL version=0.0.0 19:29:17 ---> Running in b5d9c9e66952 19:29:17 Removing intermediate container b5d9c9e66952 19:29:17 ---> bd1fd9227763 19:29:17 [Warning] One or more build-args [ARCH] were not consumed 19:29:17 Successfully built bd1fd9227763 19:29:17 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 19:29:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:18 19:29:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:29:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:19 arm64: Pulling from edgex-lftools-log-publisher 19:29:19 448f6bf000e3: Pulling fs layer 19:29:19 f757da607395: Pulling fs layer 19:29:19 05883995daec: Pulling fs layer 19:29:19 8603b9c90790: Pulling fs layer 19:29:19 1560dd03e051: Pulling fs layer 19:29:19 27f5ce0e4adf: Pulling fs layer 19:29:19 c2d8d7efcc4b: Pulling fs layer 19:29:19 8603b9c90790: Waiting 19:29:19 1560dd03e051: Waiting 19:29:19 27f5ce0e4adf: Waiting 19:29:19 c2d8d7efcc4b: Waiting 19:29:19 f757da607395: Verifying Checksum 19:29:19 f757da607395: Download complete 19:29:19 8603b9c90790: Verifying Checksum 19:29:19 8603b9c90790: Download complete 19:29:19 1560dd03e051: Download complete 19:29:19 27f5ce0e4adf: Verifying Checksum 19:29:19 27f5ce0e4adf: Download complete 19:29:19 05883995daec: Verifying Checksum 19:29:19 05883995daec: Download complete 19:29:20 448f6bf000e3: Verifying Checksum 19:29:23 c2d8d7efcc4b: Verifying Checksum 19:29:23 c2d8d7efcc4b: Download complete 19:29:24 448f6bf000e3: Pull complete 19:29:25 f757da607395: Pull complete 19:29:26 05883995daec: Pull complete 19:29:27 8603b9c90790: Pull complete 19:29:28 1560dd03e051: Pull complete 19:29:28 27f5ce0e4adf: Pull complete 19:29:43 c2d8d7efcc4b: Pull complete 19:29:43 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 19:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:29:43 prd-ubuntu18.04-docker-arm64-4c-16g-394 does not seem to be running inside a container 19:29:43 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:29:49 $ docker top ec4d9c4717b8196f5ba285fd993e8a3cbbc369663c434628533d7264cc8bbb49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:50 ---> job-cost.sh 19:29:50 lf-activate-venv: SKIPPING 19:29:50 INFO: No Stack... 19:29:51 INFO: Retrieving Pricing Info for: v2-standard-4 19:29:51 INFO: Archiving Costs [Pipeline] sh 19:29:52 + cut -d, -f6 19:29:52 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 19:29:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-130-1-stack-cost] 19:29:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-130-1-stack-cost] did not exist. Created. 19:29:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:29:53 /w/workspace/device-rest-go/1@tmp/durable-eb495b3c/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-eb495b3c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:29:53 + echo total: 0.18000000715255737 [Pipeline] stash 19:29:53 Warning: overwriting stash ‘stack-cost’ 19:29:53 Stashed 1 file(s) [Pipeline] } 19:29:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:29:53 $ docker stop --time=1 ec4d9c4717b8196f5ba285fd993e8a3cbbc369663c434628533d7264cc8bbb49 19:29:55 $ docker rm -f ec4d9c4717b8196f5ba285fd993e8a3cbbc369663c434628533d7264cc8bbb49 [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 19:29:56 provisioning config files... 19:29:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-130@tmp/config8000465979418504288tmp [Pipeline] { [Pipeline] sh 19:29:57 + set +x 19:29:57 + bash -s -- 19:29:57 + curl -s https://codecov.io/bash 19:29:57 19:29:57 _____ _ 19:29:57 / ____| | | 19:29:57 | | ___ __| | ___ ___ _____ __ 19:29:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:29:57 | |___| (_) | (_| | __/ (_| (_) \ V / 19:29:57 \_____\___/ \__,_|\___|\___\___/ \_/ 19:29:57 Bash-1.0.6 19:29:57 19:29:57 19:29:57 ==> git version 2.24.4 found 19:29:57 ==> 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 19:29:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:29:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:29:57 ==> Jenkins CI detected. 19:29:57 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-130 19:29:57 project root: . 19:29:57 --> token set from env 19:29:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:29:57 ==> Running gcov in . (disable via -X gcov) 19:29:57 ==> Python coveragepy not found 19:29:57 ==> Searching for coverage reports in: 19:29:57 + . 19:29:57 -> Found 1 reports 19:29:57 ==> Detecting git/mercurial file structure 19:29:57 ==> Reading reports 19:29:57 + ./coverage.out bytes=8513 19:29:57 ==> Appending adjustments 19:29:57 https://docs.codecov.io/docs/fixing-reports 19:29:57 + Found adjustments 19:29:57 ==> Gzipping contents 19:29:57 4.0K /tmp/codecov.EAYkMr.gz 19:29:57 ==> Uploading reports 19:29:57 url: https://codecov.io 19:29:57 query: branch=PR-130&commit=93dcba772c172983cfa5d26d8037de53aefc6924&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=130&job=&cmd_args= 19:29:57 -> Pinging Codecov 19:29:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-130&commit=93dcba772c172983cfa5d26d8037de53aefc6924&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=130&job=&cmd_args= 19:29:57 -> Uploading to 19:29:57 https://storage.googleapis.com/codecov/v4/raw/2021-08-11/4E5D53B4F1F92C436F7061BF334D961C/93dcba772c172983cfa5d26d8037de53aefc6924/8532730e-dc56-4f28-8689-cb75905c3ef6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T192957Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a58b05953caec32e35d737ab4882934d12de7e8f5814b632a5852f30a8175ef 19:29:57 % Total % Received % Xferd Average Speed Time Time Time Current 19:29:57 Dload Upload Total Spent Left Speed 19:29:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 4364 --:--:-- --:--:-- --:--:-- 4375 19:29:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/93dcba772c172983cfa5d26d8037de53aefc6924 [Pipeline] } 19:29:58 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 19:30:00 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-130/archives ']' [Pipeline] libraryResource [Pipeline] sh 19:30:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:30:01 ---> package-listing.sh 19:30:01 ++ facter osfamily 19:30:01 ++ tr '[:upper:]' '[:lower:]' 19:30:01 + OS_FAMILY=redhat 19:30:01 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-130 19:30:01 + START_PACKAGES=/tmp/packages_start.txt 19:30:01 + END_PACKAGES=/tmp/packages_end.txt 19:30:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:30:01 + PACKAGES=/tmp/packages_start.txt 19:30:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-130 ']' 19:30:01 + PACKAGES=/tmp/packages_end.txt 19:30:01 + case "${OS_FAMILY}" in 19:30:01 + sort 19:30:01 + rpm -qa 19:30:02 + '[' -f /tmp/packages_start.txt ']' 19:30:02 + '[' -f /tmp/packages_end.txt ']' 19:30:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:30:02 + '[' /w/workspace/gexfoundry_device-rest-go_PR-130 ']' 19:30:02 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-130/archives/ 19:30:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-130/archives/ [Pipeline] echo 19:30:02 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-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:30:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:30:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:30:03 19:30:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:30:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:30:03 latest: Pulling from edgex-lftools-log-publisher 19:30:03 b4d181a07f80: Pulling fs layer 19:30:03 a1111a8f2ec3: Pulling fs layer 19:30:03 ed53099fbce6: Pulling fs layer 19:30:03 dc539afda2c1: Pulling fs layer 19:30:03 77bc0d833cb6: Pulling fs layer 19:30:03 9065ff56babe: Pulling fs layer 19:30:03 d287ab97295c: Pulling fs layer 19:30:03 dc539afda2c1: Waiting 19:30:03 77bc0d833cb6: Waiting 19:30:03 9065ff56babe: Waiting 19:30:03 d287ab97295c: Waiting 19:30:04 a1111a8f2ec3: Verifying Checksum 19:30:04 a1111a8f2ec3: Download complete 19:30:04 dc539afda2c1: Verifying Checksum 19:30:04 dc539afda2c1: Download complete 19:30:04 77bc0d833cb6: Verifying Checksum 19:30:04 77bc0d833cb6: Download complete 19:30:04 9065ff56babe: Verifying Checksum 19:30:04 9065ff56babe: Download complete 19:30:04 ed53099fbce6: Verifying Checksum 19:30:04 ed53099fbce6: Download complete 19:30:05 b4d181a07f80: Verifying Checksum 19:30:05 b4d181a07f80: Download complete 19:30:06 b4d181a07f80: Pull complete 19:30:07 a1111a8f2ec3: Pull complete 19:30:07 ed53099fbce6: Pull complete 19:30:07 dc539afda2c1: Pull complete 19:30:07 77bc0d833cb6: Pull complete 19:30:07 9065ff56babe: Pull complete 19:30:09 d287ab97295c: Verifying Checksum 19:30:09 d287ab97295c: Download complete 19:30:14 d287ab97295c: Pull complete 19:30:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:30:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:30:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:30:14 prd-centos7-docker-4c-2g-392 does not seem to be running inside a container 19:30:14 $ 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-130/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-130 -v /w/workspace/gexfoundry_device-rest-go_PR-130:/w/workspace/gexfoundry_device-rest-go_PR-130:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-130@tmp:/w/workspace/gexfoundry_device-rest-go_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:30:16 $ docker top da3f32240328210918050138a9d76e667b0e95735f4c85609695e8f6ce36b884 -eo pid,comm [Pipeline] { [Pipeline] sh 19:30:17 + touch /tmp/pre-build-complete [Pipeline] sh 19:30:17 + mkdir -p /var/log/sysstat [Pipeline] sh 19:30:17 + ls /var/log/sa-host 19:30:17 + sadf -c /var/log/sa-host/sa05 19:30:17 file_magic: OK 19:30:17 HZ: Using current value: 100 19:30:17 file_header: OK 19:30:17 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 19:30:17 Statistics: 19:30:17 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:30:17 File successfully converted to sysstat format version 12.0.3 19:30:17 + sadf -c /var/log/sa-host/sa11 19:30:17 file_magic: OK 19:30:17 HZ: Using current value: 100 19:30:17 file_header: OK 19:30:17 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 19:30:17 Statistics: 19:30:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:30:17 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:30:18 provisioning config files... 19:30:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-130@tmp/config152755575382648647tmp [Pipeline] { [Pipeline] echo 19:30:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:30:18 ---> create-netrc.sh [Pipeline] } 19:30:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:30:18 ---> python-tools-install.sh [Pipeline] echo 19:30:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:30:19 ---> sudo-logs.sh 19:30:19 Archiving 'sudo' log.. 19:30:19 sudo: unable to resolve host prd-centos7-docker-4c-2g-392.vexxhost.local: Name or service not known 19:30:19 sudo: unable to resolve host prd-centos7-docker-4c-2g-392.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 19:30:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:30:19 ---> job-cost.sh 19:30:19 lf-activate-venv: SKIPPING 19:30:19 DEBUG: total: 0.18000000715255737 19:30:19 INFO: Retrieving Stack Cost... 19:30:20 INFO: Retrieving Pricing Info for: v3-standard-2 19:30:21 INFO: Archiving Costs [Pipeline] echo 19:30:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:30:21 ---> logs-deploy.sh 19:30:21 lf-activate-venv: SKIPPING 19:30:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-130/1 19:30:21 INFO: archiving workspace using pattern(s): 19:30:22 Archives upload complete. 19:30:22 INFO: archiving logs to Nexus 19:30:22 ---> uname -a: 19:30:22 Linux prd-centos7-docker-4c-2g-392.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 19:30:22 19:30:22 19:30:22 ---> lscpu: 19:30:22 Architecture: x86_64 19:30:22 CPU op-mode(s): 32-bit, 64-bit 19:30:22 Byte Order: Little Endian 19:30:22 Address sizes: 40 bits physical, 48 bits virtual 19:30:22 CPU(s): 2 19:30:22 On-line CPU(s) list: 0,1 19:30:22 Thread(s) per core: 1 19:30:22 Core(s) per socket: 1 19:30:22 Socket(s): 2 19:30:22 NUMA node(s): 1 19:30:22 Vendor ID: AuthenticAMD 19:30:22 CPU family: 23 19:30:22 Model: 49 19:30:22 Model name: AMD EPYC-Rome Processor 19:30:22 Stepping: 0 19:30:22 CPU MHz: 2799.996 19:30:22 BogoMIPS: 5599.99 19:30:22 Virtualization: AMD-V 19:30:22 Hypervisor vendor: KVM 19:30:22 Virtualization type: full 19:30:22 L1d cache: 32K 19:30:22 L1i cache: 32K 19:30:22 L2 cache: 512K 19:30:22 L3 cache: 16384K 19:30:22 NUMA node0 CPU(s): 0,1 19:30:22 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 19:30:22 19:30:22 19:30:22 ---> nproc: 19:30:22 2 19:30:22 19:30:22 19:30:22 ---> df -h: 19:30:22 Filesystem Size Used Avail Use% Mounted on 19:30:22 overlay 40G 7.7G 33G 20% / 19:30:22 tmpfs 64M 0 64M 0% /dev 19:30:22 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 19:30:22 shm 64M 0 64M 0% /dev/shm 19:30:22 /dev/vda1 40G 7.7G 33G 20% /facter-os 19:30:22 19:30:22 19:30:22 ---> sar -b -r -n DEV: 19:30:22 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) 19:30:22 19:30:22 19:21:09 LINUX RESTART (2 CPU) 19:30:22 19:30:22 19:22:02 tps rtps wtps bread/s bwrtn/s 19:30:22 19:23:01 5.84 0.15 5.69 22.49 668.06 19:30:22 19:24:01 0.50 0.00 0.50 0.00 7.53 19:30:22 19:25:01 0.23 0.00 0.23 0.00 2.70 19:30:22 19:26:01 0.25 0.00 0.25 0.00 3.36 19:30:22 19:27:01 0.28 0.00 0.28 0.00 3.06 19:30:22 19:28:01 0.25 0.00 0.25 0.00 3.50 19:30:22 19:29:01 0.22 0.00 0.22 0.00 3.46 19:30:22 19:30:01 0.45 0.10 0.35 7.20 6.25 19:30:22 Average: 0.99 0.03 0.96 3.67 86.04 19:30:22 19:30:22 19:22:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:30:22 19:23:01 5456224 0 802136 10.02 2620 1747960 1268168 14.00 583540 1570248 12 19:30:22 19:24:01 5461952 0 796400 9.94 2620 1747968 1206260 13.32 581532 1567944 8 19:30:22 19:25:01 5460368 0 797984 9.96 2620 1747968 1206476 13.32 581240 1569396 8 19:30:22 19:26:01 5458636 0 799708 9.99 2620 1747976 1206500 13.32 582908 1569396 12 19:30:22 19:27:01 5456836 0 801504 10.01 2620 1747980 1206428 13.32 581608 1573132 20 19:30:22 19:28:01 5458000 0 800332 9.99 2620 1747988 1206260 13.32 580756 1573140 20 19:30:22 19:29:01 5456116 0 802212 10.02 2620 1747992 1206416 13.32 582036 1573132 20 19:30:22 19:30:01 5432416 0 825604 10.31 2620 1748300 1279744 14.13 603992 1573272 108 19:30:22 Average: 5455068 0 803235 10.03 2620 1748016 1223282 13.51 584702 1571208 26 19:30:22 19:30:22 19:22:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:30:22 19:23:01 eth0 13.45 8.01 11.80 3.04 0.00 0.00 0.00 0.00 19:30:22 19:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:24:01 eth0 0.80 0.07 0.06 0.00 0.00 0.00 0.00 0.00 19:30:22 19:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:25:01 eth0 1.40 0.35 0.37 0.20 0.00 0.00 0.00 0.00 19:30:22 19:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:26:01 eth0 2.05 0.98 0.90 0.61 0.00 0.00 0.00 0.00 19:30:22 19:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:27:01 eth0 0.32 0.18 0.15 0.07 0.00 0.00 0.00 0.00 19:30:22 19:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:28:01 eth0 0.15 0.07 0.01 0.00 0.00 0.00 0.00 0.00 19:30:22 19:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:29:01 eth0 1.50 0.33 0.36 0.17 0.00 0.00 0.00 0.00 19:30:22 19:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:30:01 eth0 10.78 6.00 9.05 2.99 0.00 0.00 0.00 0.00 19:30:22 19:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 Average: eth0 3.78 1.99 2.82 0.88 0.00 0.00 0.00 0.00 19:30:22 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:22 19:30:22 19:30:22 ---> sar -P ALL: 19:30:22 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) 19:30:22 19:30:22 19:21:09 LINUX RESTART (2 CPU) 19:30:22 19:30:22 19:22:02 CPU %user %nice %system %iowait %steal %idle 19:30:22 19:23:01 all 0.52 0.00 0.32 0.05 0.02 99.09 19:30:22 19:23:01 0 0.51 0.00 0.34 0.00 0.02 99.13 19:30:22 19:23:01 1 0.53 0.00 0.31 0.10 0.02 99.05 19:30:22 19:24:01 all 0.19 0.00 0.09 0.00 0.03 99.69 19:30:22 19:24:01 0 0.33 0.00 0.12 0.00 0.03 99.52 19:30:22 19:24:01 1 0.05 0.00 0.07 0.00 0.02 99.87 19:30:22 19:25:01 all 0.08 0.00 0.12 0.00 0.01 99.79 19:30:22 19:25:01 0 0.07 0.00 0.07 0.00 0.00 99.87 19:30:22 19:25:01 1 0.10 0.00 0.17 0.00 0.02 99.72 19:30:22 19:26:01 all 0.21 0.00 0.06 0.00 0.03 99.71 19:30:22 19:26:01 0 0.35 0.00 0.05 0.00 0.02 99.58 19:30:22 19:26:01 1 0.07 0.00 0.07 0.00 0.03 99.83 19:30:22 19:27:01 all 0.23 0.00 0.06 0.00 0.02 99.70 19:30:22 19:27:01 0 0.17 0.00 0.05 0.00 0.02 99.77 19:30:22 19:27:01 1 0.28 0.00 0.07 0.00 0.02 99.63 19:30:22 19:28:01 all 0.21 0.00 0.05 0.00 0.01 99.73 19:30:22 19:28:01 0 0.03 0.00 0.07 0.00 0.02 99.88 19:30:22 19:28:01 1 0.38 0.00 0.03 0.00 0.00 99.58 19:30:22 19:29:01 all 0.26 0.00 0.03 0.00 0.03 99.68 19:30:22 19:29:01 0 0.13 0.00 0.03 0.00 0.03 99.80 19:30:22 19:29:01 1 0.38 0.00 0.03 0.00 0.02 99.57 19:30:22 19:30:01 all 0.83 0.00 0.36 0.01 0.02 98.79 19:30:22 19:30:01 0 0.87 0.00 0.48 0.02 0.02 98.61 19:30:22 19:30:01 1 0.79 0.00 0.23 0.00 0.02 98.96 19:30:22 Average: all 0.31 0.00 0.14 0.01 0.02 99.52 19:30:22 Average: 0 0.31 0.00 0.15 0.00 0.02 99.52 19:30:22 Average: 1 0.32 0.00 0.12 0.01 0.02 99.53 19:30:22 19:30:22 19:30:22