Pull request #138 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 ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from a12fdca5690b90088d833bec3fed4e33f1f20341+8988443161b762d02568202c1b71a3f56b05d0c9 (ae62b2cf5953bf7844ac2a331e6e8117abc22b65) 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-ssh1210674710104460418.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-ssh1358650245053887423.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-138/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-138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2569693181902358355.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-138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh775344596187805096.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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-ssh1784185708779639987.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-138/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-138/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh598982837074800561.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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 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 Executor slot already in use ‘prd-centos7-docker-4c-2g-285’ is offline ‘prd-centos7-docker-4c-2g-336’ is offline ‘prd-centos7-docker-4c-2g-354’ is offline Running on prd-centos7-docker-4c-2g-358 in /w/workspace/gexfoundry_device-rest-go_PR-138 [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-138 # 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-138@tmp/jenkins-gitclient-ssh3102615416140944958.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8988443161b762d02568202c1b71a3f56b05d0c9 into PR head commit a12fdca5690b90088d833bec3fed4e33f1f20341 Merge succeeded, producing a12fdca5690b90088d833bec3fed4e33f1f20341 Checking out Revision a12fdca5690b90088d833bec3fed4e33f1f20341 (PR-138) > 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-138@tmp/jenkins-gitclient-ssh6238567501058794210.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a12fdca5690b90088d833bec3fed4e33f1f20341 # 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-138@tmp/jenkins-gitclient-ssh2303716441373067679.key > git merge 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a12fdca5690b90088d833bec3fed4e33f1f20341 # timeout=10 Commit message: "ci: changes required for Jakara LTS" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object b96307f5267f6fa8c29f8dc04d3d152726fc6340 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:27:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:27:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:27:57 ========================================================= 22:27:57 EdgeX Global Pipelines Version Info 22:27:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:27:59 ------------------- 22:27:59 stable info: 22:27:59 ------------------- 22:27:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:27:59 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 22:27:59 Message: update stable to v1.0.207 22:27:59 ------------------- 22:27:59 experimental info: 22:27:59 ------------------- 22:27:59 Commited By: **** collab-it+edgex@linuxfoundation.org 22:27:59 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 22:27:59 Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:27:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:28:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-138 [Pipeline] echo 22:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-138 [Pipeline] echo 22:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-138 [Pipeline] echo 22:28:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a12fdca5690b90088d833bec3fed4e33f1f20341 [Pipeline] echo 22:28:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a12fdca [Pipeline] echo 22:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:02 provisioning config files... 22:28:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-138@tmp/config7492427970942983127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:02 ---> docker-login.sh 22:28:02 nexus3.edgexfoundry.org:10001 22:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:03 Configure a credential helper to remove this warning. See 22:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:03 22:28:03 Login Succeeded 22:28:03 nexus3.edgexfoundry.org:10002 22:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:03 Configure a credential helper to remove this warning. See 22:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:03 22:28:03 Login Succeeded 22:28:03 nexus3.edgexfoundry.org:10003 22:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:03 Configure a credential helper to remove this warning. See 22:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:03 22:28:03 Login Succeeded 22:28:03 nexus3.edgexfoundry.org:10004 22:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:03 Configure a credential helper to remove this warning. See 22:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:03 22:28:03 Login Succeeded 22:28:03 docker.io 22:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:04 Configure a credential helper to remove this warning. See 22:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:04 22:28:04 Login Succeeded 22:28:04 ---> docker-login.sh ends [Pipeline] } 22:28:04 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 22:28:05 + git log --format=format:%s -1 a12fdca5690b90088d833bec3fed4e33f1f20341 [Pipeline] echo 22:28:05 GIT_COMMIT: a12fdca5690b90088d833bec3fed4e33f1f20341, Commit Message: ci: changes required for Jakara LTS [Pipeline] echo 22:28:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:28:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:28:05 22:28:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:28:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:28:06 latest: Pulling from edgex-devops/git-semver 22:28:06 31603596830f: Pulling fs layer 22:28:06 04fac38145f0: Pulling fs layer 22:28:06 701f6daf10bf: Pulling fs layer 22:28:06 24f72da36158: Pulling fs layer 22:28:06 24f72da36158: Waiting 22:28:06 04fac38145f0: Verifying Checksum 22:28:06 04fac38145f0: Download complete 22:28:06 31603596830f: Verifying Checksum 22:28:06 31603596830f: Download complete 22:28:06 24f72da36158: Verifying Checksum 22:28:06 24f72da36158: Download complete 22:28:06 31603596830f: Pull complete 22:28:06 701f6daf10bf: Verifying Checksum 22:28:06 701f6daf10bf: Download complete 22:28:06 04fac38145f0: Pull complete 22:28:07 701f6daf10bf: Pull complete 22:28:07 24f72da36158: Pull complete 22:28:07 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 22:28:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:28:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:28:07 prd-centos7-docker-4c-2g-358 does not seem to be running inside a container 22:28:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-138 -v /w/workspace/gexfoundry_device-rest-go_PR-138:/w/workspace/gexfoundry_device-rest-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-138@tmp:/w/workspace/gexfoundry_device-rest-go_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:28:08 $ docker top e957e7759bc9e39b6f8cffd2d648fc214ee904092007f8f1b84820cd00a0b905 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:28:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:08 [ssh-agent] Looking for ssh-agent implementation... 22:28:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:08 $ docker exec e957e7759bc9e39b6f8cffd2d648fc214ee904092007f8f1b84820cd00a0b905 ssh-agent 22:28:08 SSH_AUTH_SOCK=/tmp/ssh-z4CKqWz0eGlV/agent.14 22:28:08 SSH_AGENT_PID=21 22:28:08 Running ssh-add (command line suppressed) 22:28:08 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-138@tmp/private_key_6862192871190634257.key (/w/workspace/gexfoundry_device-rest-go_PR-138@tmp/private_key_6862192871190634257.key) 22:28:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:09 + git tag --points-at HEAD [Pipeline] } 22:28:09 $ docker exec --env ******** --env ******** e957e7759bc9e39b6f8cffd2d648fc214ee904092007f8f1b84820cd00a0b905 ssh-agent -k 22:28:09 unset SSH_AUTH_SOCK; 22:28:09 unset SSH_AGENT_PID; 22:28:09 echo Agent pid 21 killed; 22:28:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:28:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:09 [ssh-agent] Looking for ssh-agent implementation... 22:28:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:09 $ docker exec e957e7759bc9e39b6f8cffd2d648fc214ee904092007f8f1b84820cd00a0b905 ssh-agent 22:28:09 SSH_AUTH_SOCK=/tmp/ssh-HnBoxxf1Pcfl/agent.55 22:28:09 SSH_AGENT_PID=62 22:28:09 Running ssh-add (command line suppressed) 22:28:09 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-138@tmp/private_key_6758541206695002614.key (/w/workspace/gexfoundry_device-rest-go_PR-138@tmp/private_key_6758541206695002614.key) 22:28:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:10 + git semver init 22:28:10 # -> Open(): unable to determine branch for HEAD 22:28:10 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-138/.git 22:28:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-138 22:28:10 # $SEMVER_REMOTE_NAME = origin 22:28:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:28:10 # $SEMVER_USER_NAME = edgex-jenkins 22:28:10 # $SEMVER_BRANCH = PR-138 22:28:10 # $SEMVER_TEMP = /tmp/semver-319092584 22:28:10 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 22:28:11 # '/tmp/semver-319092584' -> '/w/workspace/gexfoundry_device-rest-go_PR-138/.semver' 22:28:11 # -> Force: false 22:28:11 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-138/.semver [Pipeline] } 22:28:11 $ docker exec --env ******** --env ******** e957e7759bc9e39b6f8cffd2d648fc214ee904092007f8f1b84820cd00a0b905 ssh-agent -k 22:28:11 unset SSH_AUTH_SOCK; 22:28:11 unset SSH_AGENT_PID; 22:28:11 echo Agent pid 62 killed; 22:28:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:28:12 + git semver [Pipeline] } 22:28:12 $ docker stop --time=1 e957e7759bc9e39b6f8cffd2d648fc214ee904092007f8f1b84820cd00a0b905 22:28:13 $ docker rm -f e957e7759bc9e39b6f8cffd2d648fc214ee904092007f8f1b84820cd00a0b905 [Pipeline] // withDockerContainer [Pipeline] sh 22:28:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:28:14 Stashed 1 file(s) [Pipeline] echo 22:28:14 [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 22:28:30 Still waiting to schedule task 22:28:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:28:30 Still waiting to schedule task 22:28:30 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-353’ 22:30:41 Running on prd-centos7-docker-4c-2g-366 in /w/workspace/gexfoundry_device-rest-go_PR-138 [Pipeline] { [Pipeline] ws 22:30:41 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:30:41 The recommended git tool is: git 22:30:44 using credential edgex-jenkins-ssh 22:30:44 Cloning the remote Git repository 22:30:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:30:44 > git init /w/workspace/device-rest-go/1 # timeout=10 22:30:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:30:44 > git --version # timeout=10 22:30:44 > git --version # 'git version 2.24.4' 22:30:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:30:44 [INFO] Currently running in a labeled security context 22:30:44 [INFO] Currently SELinux is 'enforcing' on the host 22:30:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8265271446445513404.key 22:30:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:30:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:30:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:30:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:30:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:30:45 using GIT_SSH to set credentials SSH Credentials for GitHub 22:30:45 [INFO] Currently running in a labeled security context 22:30:45 [INFO] Currently SELinux is 'enforcing' on the host 22:30:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh198671637503492853.key 22:30:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:30:46 Merging remotes/origin/main commit 8988443161b762d02568202c1b71a3f56b05d0c9 into PR head commit a12fdca5690b90088d833bec3fed4e33f1f20341 22:30:46 Merge succeeded, producing a12fdca5690b90088d833bec3fed4e33f1f20341 22:30:46 Checking out Revision a12fdca5690b90088d833bec3fed4e33f1f20341 (PR-138) 22:30:46 > git config core.sparsecheckout # timeout=10 22:30:46 > git checkout -f a12fdca5690b90088d833bec3fed4e33f1f20341 # timeout=10 22:30:46 > git remote # timeout=10 22:30:46 > git config --get remote.origin.url # timeout=10 22:30:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:30:46 [INFO] Currently running in a labeled security context 22:30:46 [INFO] Currently SELinux is 'enforcing' on the host 22:30:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8096386575827517060.key 22:30:46 > git merge 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 22:30:46 > git rev-parse HEAD^{commit} # timeout=10 22:30:46 > git config core.sparsecheckout # timeout=10 22:30:46 > git checkout -f a12fdca5690b90088d833bec3fed4e33f1f20341 # timeout=10 22:30:50 Commit message: "ci: changes required for Jakara LTS" 22:30:50 > git --version # timeout=10 22:30:50 > git --version # 'git version 2.24.4' 22:30:50 fatal: bad object b96307f5267f6fa8c29f8dc04d3d152726fc6340 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:51 provisioning config files... 22:30:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1004032578804649451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:51 ---> docker-login.sh 22:30:51 nexus3.edgexfoundry.org:10001 22:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:51 Configure a credential helper to remove this warning. See 22:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:51 22:30:51 Login Succeeded 22:30:51 nexus3.edgexfoundry.org:10002 22:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:51 Configure a credential helper to remove this warning. See 22:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:51 22:30:51 Login Succeeded 22:30:51 nexus3.edgexfoundry.org:10003 22:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:52 Configure a credential helper to remove this warning. See 22:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:52 22:30:52 Login Succeeded 22:30:52 nexus3.edgexfoundry.org:10004 22:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:52 Configure a credential helper to remove this warning. See 22:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:52 22:30:52 Login Succeeded 22:30:52 docker.io 22:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:52 Configure a credential helper to remove this warning. See 22:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:52 22:30:52 Login Succeeded 22:30:52 ---> docker-login.sh ends [Pipeline] } 22:30:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:30:52 ========================================================= 22:30:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:30:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:30:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 22:30:53 Sending build context to Docker daemon 118.8kB 22:30:53 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 22:30:53 Step 2/11 : FROM ${BASE} AS builder 22:30:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:30:53 4e9f2cdf4387: Pulling fs layer 22:30:53 57d31006c564: Pulling fs layer 22:30:53 bd5ccded8296: Pulling fs layer 22:30:53 304dd3a0f381: Pulling fs layer 22:30:53 d37cda54a23b: Pulling fs layer 22:30:53 bae75c0f2455: Pulling fs layer 22:30:53 806579b3d29a: Pulling fs layer 22:30:53 c77eb801bf70: Pulling fs layer 22:30:53 6d0567d44e1a: Pulling fs layer 22:30:53 bae75c0f2455: Waiting 22:30:53 806579b3d29a: Waiting 22:30:53 c77eb801bf70: Waiting 22:30:53 6d0567d44e1a: Waiting 22:30:53 304dd3a0f381: Waiting 22:30:53 d37cda54a23b: Waiting 22:30:53 bd5ccded8296: Verifying Checksum 22:30:53 bd5ccded8296: Download complete 22:30:53 57d31006c564: Verifying Checksum 22:30:53 57d31006c564: Download complete 22:30:53 d37cda54a23b: Verifying Checksum 22:30:53 d37cda54a23b: Download complete 22:30:53 bae75c0f2455: Verifying Checksum 22:30:53 bae75c0f2455: Download complete 22:30:53 806579b3d29a: Verifying Checksum 22:30:53 806579b3d29a: Download complete 22:30:53 4e9f2cdf4387: Verifying Checksum 22:30:53 4e9f2cdf4387: Download complete 22:30:54 4e9f2cdf4387: Pull complete 22:30:54 57d31006c564: Pull complete 22:30:54 bd5ccded8296: Pull complete 22:30:54 304dd3a0f381: Verifying Checksum 22:30:54 304dd3a0f381: Download complete 22:30:54 c77eb801bf70: Verifying Checksum 22:30:54 c77eb801bf70: Download complete 22:30:55 6d0567d44e1a: Verifying Checksum 22:30:55 6d0567d44e1a: Download complete 22:30:58 304dd3a0f381: Pull complete 22:30:58 d37cda54a23b: Pull complete 22:30:58 bae75c0f2455: Pull complete 22:30:58 806579b3d29a: Pull complete 22:30:59 c77eb801bf70: Pull complete 22:31:01 6d0567d44e1a: Pull complete 22:31:01 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 22:31:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:31:01 ---> e839a31ac9d1 22:31:01 Step 3/11 : ARG MAKE='make build' 22:31:03 ---> Running in d09a598af49d 22:31:03 Removing intermediate container d09a598af49d 22:31:03 ---> 770f8b905933 22:31:03 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:31:03 ---> Running in 196ff738f884 22:31:03 Removing intermediate container 196ff738f884 22:31:03 ---> bee56a227a2e 22:31:03 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 22:31:03 ---> Running in 34780a3ae29b 22:31:03 Removing intermediate container 34780a3ae29b 22:31:03 ---> 657b9127bf49 22:31:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:31:03 ---> Running in 9641b3ff7801 22:31:04 Removing intermediate container 9641b3ff7801 22:31:04 ---> 5ae3b9bbc426 22:31:04 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:04 ---> Running in 6f2b91f94566 22:31:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:31:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:31:05 (1/3) Installing openssh-keygen (8.4_p1-r4) 22:31:05 (2/3) Installing libedit (20191231.3.1-r1) 22:31:05 (3/3) Installing openssh-client (8.4_p1-r4) 22:31:06 Executing busybox-1.32.1-r6.trigger 22:31:06 OK: 223 MiB in 55 packages 22:31:06 Removing intermediate container 6f2b91f94566 22:31:06 ---> e6d836ea5a6c 22:31:06 Step 8/11 : WORKDIR /device-rest-go 22:31:06 ---> Running in d1daf33b3c5c 22:31:06 Removing intermediate container d1daf33b3c5c 22:31:06 ---> fc67c860b02b 22:31:06 Step 9/11 : COPY . . 22:31:06 ---> 96f8cc6cd899 22:31:06 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:06 ---> Running in cfc65ae8b7dc 22:31:14 Removing intermediate container cfc65ae8b7dc 22:31:14 ---> d4d003bab5cc 22:31:14 Step 11/11 : RUN $MAKE 22:31:14 ---> Running in eeb29126e150 22:31:15 noop 22:31:15 Removing intermediate container eeb29126e150 22:31:15 ---> c1efa9ff3e6b 22:31:15 Successfully built c1efa9ff3e6b 22:31:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:31:15 + docker inspect -f . ci-base-image-x86_64 22:31:15 . [Pipeline] withDockerContainer 22:31:16 prd-centos7-docker-4c-2g-366 does not seem to be running inside a container 22:31:16 $ 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 22:31:16 $ docker top 3cf11b5c591258f73c2172319ce78e504f7bb4bbea606842069d0f4248a4801d -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:16 + go version 22:31:16 go version go1.16.8 linux/amd64 [Pipeline] } 22:31:16 $ docker stop --time=1 3cf11b5c591258f73c2172319ce78e504f7bb4bbea606842069d0f4248a4801d 22:31:18 $ docker rm -f 3cf11b5c591258f73c2172319ce78e504f7bb4bbea606842069d0f4248a4801d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:31:18 + docker inspect -f . ci-base-image-x86_64 22:31:18 . [Pipeline] withDockerContainer 22:31:19 prd-centos7-docker-4c-2g-366 does not seem to be running inside a container 22:31:19 $ 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 22:31:19 $ docker top 434fa1866c5a95928b49a165a65d94420a622d0570ab7af4c9e597d523ac7d39 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:31:20 + make test 22:31:20 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:31:20 ? github.com/edgexfoundry/device-rest-go [no test files] 22:31:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:31:38 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 53.8% of statements 22:31:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:31:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:31:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:31:45 ./bin/test-attribution-txt.sh [Pipeline] } 22:31:45 $ docker stop --time=1 434fa1866c5a95928b49a165a65d94420a622d0570ab7af4c9e597d523ac7d39 22:31:47 $ docker rm -f 434fa1866c5a95928b49a165a65d94420a622d0570ab7af4c9e597d523ac7d39 [Pipeline] // withDockerContainer [Pipeline] sh 22:31:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:31:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:31:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:31:49 + ls -al . 22:31:49 total 116 22:31:49 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 6 22:31 . 22:31:49 drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 22:30 .. 22:31:49 -rw-rw-r--. 1 jenkins jenkins 6792 Oct 6 22:30 Attribution.txt 22:31:49 drwxrwxr-x. 2 jenkins jenkins 37 Oct 6 22:30 bin 22:31:49 -rw-rw-r--. 1 jenkins jenkins 7459 Oct 6 22:30 CHANGELOG.md 22:31:49 drwxrwxr-x. 3 jenkins jenkins 32 Oct 6 22:30 cmd 22:31:49 -rw-r--r--. 1 jenkins jenkins 8435 Oct 6 22:31 coverage.out 22:31:49 -rw-rw-r--. 1 jenkins jenkins 1649 Oct 6 22:30 Dockerfile 22:31:49 -rw-rw-r--. 1 jenkins jenkins 151 Oct 6 22:30 .dockerignore 22:31:49 drwxrwxr-x. 2 jenkins jenkins 76 Oct 6 22:30 driver 22:31:49 drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 22:30 .git 22:31:49 drwxrwxr-x. 2 jenkins jenkins 103 Oct 6 22:30 .github 22:31:49 -rw-rw-r--. 1 jenkins jenkins 329 Oct 6 22:30 .gitignore 22:31:49 -rw-rw-r--. 1 jenkins jenkins 271 Oct 6 22:30 go.mod 22:31:49 -rw-rw-r--. 1 jenkins jenkins 20570 Oct 6 22:30 go.sum 22:31:49 -rw-rw-r--. 1 jenkins jenkins 677 Oct 6 22:30 GOVERNANCE.md 22:31:49 -rw-rw-r--. 1 jenkins jenkins 680 Oct 6 22:30 Jenkinsfile 22:31:49 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 6 22:30 LICENSE 22:31:49 -rw-rw-r--. 1 jenkins jenkins 1078 Oct 6 22:30 Makefile 22:31:49 -rw-rw-r--. 1 jenkins jenkins 620 Oct 6 22:30 OWNERS.md 22:31:49 -rw-rw-r--. 1 jenkins jenkins 7661 Oct 6 22:30 README.md 22:31:49 drwxrwxr-x. 4 jenkins jenkins 71 Oct 6 22:30 snap 22:31:49 -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 22:28 VERSION 22:31:49 -rw-rw-r--. 1 jenkins jenkins 713 Oct 6 22:30 version.go [Pipeline] isUnix [Pipeline] sh 22:31:49 + 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=a12fdca5690b90088d833bec3fed4e33f1f20341 --label arch=amd64 --label version=0.0.0 . 22:31:49 Sending build context to Docker daemon 128kB 22:31:49 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:31:49 Step 2/24 : FROM ${BASE} AS builder 22:31:49 ---> c1efa9ff3e6b 22:31:49 Step 3/24 : ARG MAKE='make build' 22:31:49 ---> Running in 5fafa02580b0 22:31:49 Removing intermediate container 5fafa02580b0 22:31:49 ---> a565f9256010 22:31:49 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:31:49 ---> Running in 946ef64abee1 22:31:50 Removing intermediate container 946ef64abee1 22:31:50 ---> b74dd0210092 22:31:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:31:50 ---> Running in 3b5568108435 22:31:50 Removing intermediate container 3b5568108435 22:31:50 ---> 6a353e06a0a9 22:31:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:31:50 ---> Running in 77234d8f3459 22:31:50 Removing intermediate container 77234d8f3459 22:31:50 ---> cfd3b2bab2a9 22:31:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:50 ---> Running in 65c4e081f164 22:31:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:31:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:31:52 OK: 223 MiB in 55 packages 22:31:52 Removing intermediate container 65c4e081f164 22:31:52 ---> d20a8a6b4825 22:31:52 Step 8/24 : WORKDIR /device-rest-go 22:31:52 ---> Running in 54488e23f5ca 22:31:52 Removing intermediate container 54488e23f5ca 22:31:52 ---> f4d2828d8cd1 22:31:52 Step 9/24 : COPY . . 22:31:52 ---> 4d532a13b80f 22:31:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:52 ---> Running in 7513599bdd96 22:31:53 Removing intermediate container 7513599bdd96 22:31:53 ---> 7ec206d17471 22:31:53 Step 11/24 : RUN $MAKE 22:31:53 ---> Running in 797403cdcce4 22:31:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 22:32:06 Removing intermediate container 797403cdcce4 22:32:06 ---> 69e87a3485a1 22:32:06 Step 12/24 : FROM alpine:3.14 22:32:06 3.14: Pulling from library/alpine 22:32:06 a0d0a0d46f8b: Pulling fs layer 22:32:06 a0d0a0d46f8b: Verifying Checksum 22:32:06 a0d0a0d46f8b: Download complete 22:32:06 a0d0a0d46f8b: Pull complete 22:32:06 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 22:32:06 Status: Downloaded newer image for alpine:3.14 22:32:06 ---> 14119a10abf4 22:32:06 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:32:06 ---> Running in f52904c1bcfb 22:32:06 Removing intermediate container f52904c1bcfb 22:32:06 ---> 5abe6bcf8112 22:32:06 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 22:32:06 ---> Running in 2a69a67a82f0 22:32:06 Removing intermediate container 2a69a67a82f0 22:32:06 ---> 28403cac3932 22:32:06 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:32:06 ---> Running in 9d1aa21277d6 22:32:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:32:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:32:07 (1/6) Installing dumb-init (1.2.5-r1) 22:32:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:32:07 (3/6) Installing libsodium (1.0.18-r0) 22:32:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:32:07 (5/6) Installing libzmq (4.3.4-r0) 22:32:07 (6/6) Installing zeromq (4.3.4-r0) 22:32:07 Executing busybox-1.33.1-r3.trigger 22:32:07 OK: 8 MiB in 20 packages 22:32:07 Removing intermediate container 9d1aa21277d6 22:32:07 ---> 892e37667b09 22:32:07 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 22:32:08 ---> 685024dcbf32 22:32:08 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 22:32:08 ---> 21d16275bb49 22:32:08 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 22:32:08 ---> 7779c6157e49 22:32:08 Step 19/24 : EXPOSE 59986 22:32:08 ---> Running in 5159f81e2925 22:32:08 Removing intermediate container 5159f81e2925 22:32:08 ---> b83b5201c4f5 22:32:08 Step 20/24 : ENTRYPOINT ["/device-rest"] 22:32:08 ---> Running in 098e49e98ca1 22:32:08 Removing intermediate container 098e49e98ca1 22:32:08 ---> 806104650636 22:32:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:32:08 ---> Running in 454d559fad3c 22:32:09 Removing intermediate container 454d559fad3c 22:32:09 ---> 675cadd9d460 22:32:09 Step 22/24 : LABEL arch=amd64 22:32:09 ---> Running in 6885f3d8e20d 22:32:09 Removing intermediate container 6885f3d8e20d 22:32:09 ---> 5b68a48fa5d7 22:32:09 Step 23/24 : LABEL git_sha=a12fdca5690b90088d833bec3fed4e33f1f20341 22:32:09 ---> Running in ac417070a950 22:32:09 Removing intermediate container ac417070a950 22:32:09 ---> 782adb28ed5d 22:32:09 Step 24/24 : LABEL version=0.0.0 22:32:09 ---> Running in faa90007ed8e 22:32:09 Removing intermediate container faa90007ed8e 22:32:09 ---> 1546364d7651 22:32:09 [Warning] One or more build-args [ARCH] were not consumed 22:32:09 Successfully built 1546364d7651 22:32:09 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 22:32:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:10 22:32:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:32:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:10 latest: Pulling from edgex-lftools-log-publisher 22:32:10 b4d181a07f80: Pulling fs layer 22:32:10 a1111a8f2ec3: Pulling fs layer 22:32:10 ed53099fbce6: Pulling fs layer 22:32:10 dc539afda2c1: Pulling fs layer 22:32:10 77bc0d833cb6: Pulling fs layer 22:32:10 9065ff56babe: Pulling fs layer 22:32:10 d287ab97295c: Pulling fs layer 22:32:10 dc539afda2c1: Waiting 22:32:10 77bc0d833cb6: Waiting 22:32:10 9065ff56babe: Waiting 22:32:10 d287ab97295c: Waiting 22:32:11 a1111a8f2ec3: Verifying Checksum 22:32:11 a1111a8f2ec3: Download complete 22:32:11 dc539afda2c1: Download complete 22:32:11 ed53099fbce6: Verifying Checksum 22:32:11 ed53099fbce6: Download complete 22:32:11 9065ff56babe: Verifying Checksum 22:32:11 9065ff56babe: Download complete 22:32:11 b4d181a07f80: Verifying Checksum 22:32:11 b4d181a07f80: Download complete 22:32:11 77bc0d833cb6: Verifying Checksum 22:32:11 77bc0d833cb6: Download complete 22:32:12 d287ab97295c: Verifying Checksum 22:32:12 d287ab97295c: Download complete 22:32:12 b4d181a07f80: Pull complete 22:32:12 a1111a8f2ec3: Pull complete 22:32:13 ed53099fbce6: Pull complete 22:32:13 dc539afda2c1: Pull complete 22:32:14 77bc0d833cb6: Pull complete 22:32:14 9065ff56babe: Pull complete 22:32:19 d287ab97295c: Pull complete 22:32:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:32:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:32:19 prd-centos7-docker-4c-2g-366 does not seem to be running inside a container 22:32:19 $ 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 22:32:22 $ docker top 8fac3fcd472e4233987fc1ebf665168de95baf44b64d90e46381b034c2f297cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:22 ---> job-cost.sh 22:32:22 lf-activate-venv: SKIPPING 22:32:22 INFO: No Stack... 22:32:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-381 in /w/workspace/gexfoundry_device-rest-go_PR-138 [Pipeline] { [Pipeline] ws 22:32:28 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:32:28 The recommended git tool is: git 22:32:30 INFO: Retrieving Pricing Info for: v3-standard-2 22:32:31 INFO: Archiving Costs [Pipeline] sh 22:32:31 + cat /w/workspace/device-rest-go/1/archives/cost.csv 22:32:31 + cut -d, -f6 [Pipeline] lock 22:32:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-138-1-stack-cost] 22:32:31 Resource [jenkins-edgexfoundry-device-rest-go-PR-138-1-stack-cost] did not exist. Created. 22:32:31 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:32:32 + echo total: 0.05999999865889549 [Pipeline] stash 22:32:32 Stashed 1 file(s) [Pipeline] } 22:32:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:32:32 $ docker stop --time=1 8fac3fcd472e4233987fc1ebf665168de95baf44b64d90e46381b034c2f297cc 22:32:33 $ docker rm -f 8fac3fcd472e4233987fc1ebf665168de95baf44b64d90e46381b034c2f297cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:32:36 using credential edgex-jenkins-ssh 22:32:36 Cloning the remote Git repository 22:32:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:32:36 > git init /w/workspace/device-rest-go/1 # timeout=10 22:32:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:32:36 > git --version # timeout=10 22:32:36 > git --version # 'git version 2.17.1' 22:32:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:32:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:32:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:32:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:32:38 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:32:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:32:39 Merging remotes/origin/main commit 8988443161b762d02568202c1b71a3f56b05d0c9 into PR head commit a12fdca5690b90088d833bec3fed4e33f1f20341 22:32:39 Merge succeeded, producing a12fdca5690b90088d833bec3fed4e33f1f20341 22:32:39 Checking out Revision a12fdca5690b90088d833bec3fed4e33f1f20341 (PR-138) 22:32:39 > git config core.sparsecheckout # timeout=10 22:32:39 > git checkout -f a12fdca5690b90088d833bec3fed4e33f1f20341 # timeout=10 22:32:39 > git remote # timeout=10 22:32:39 > git config --get remote.origin.url # timeout=10 22:32:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:39 > git merge 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 22:32:39 > git rev-parse HEAD^{commit} # timeout=10 22:32:39 > git config core.sparsecheckout # timeout=10 22:32:39 > git checkout -f a12fdca5690b90088d833bec3fed4e33f1f20341 # timeout=10 22:32:44 Commit message: "ci: changes required for Jakara LTS" 22:32:44 > git --version # timeout=10 22:32:44 > git --version # 'git version 2.17.1' 22:32:44 fatal: bad object b96307f5267f6fa8c29f8dc04d3d152726fc6340 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:32:45 provisioning config files... 22:32:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config556719457499540162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:46 ---> docker-login.sh 22:32:46 nexus3.edgexfoundry.org:10001 22:32:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:48 Configure a credential helper to remove this warning. See 22:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:48 22:32:48 Login Succeeded 22:32:48 nexus3.edgexfoundry.org:10002 22:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:48 Configure a credential helper to remove this warning. See 22:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:48 22:32:48 Login Succeeded 22:32:48 nexus3.edgexfoundry.org:10003 22:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:49 Configure a credential helper to remove this warning. See 22:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:49 22:32:49 Login Succeeded 22:32:49 nexus3.edgexfoundry.org:10004 22:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:50 Configure a credential helper to remove this warning. See 22:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:50 22:32:50 Login Succeeded 22:32:50 docker.io 22:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:51 Configure a credential helper to remove this warning. See 22:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:51 22:32:51 Login Succeeded 22:32:51 ---> docker-login.sh ends [Pipeline] } 22:32:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:32:51 ========================================================= 22:32:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:32:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:32:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 22:32:52 Sending build context to Docker daemon 118.8kB 22:32:53 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 22:32:53 Step 2/11 : FROM ${BASE} AS builder 22:32:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:32:53 bbf911997326: Pulling fs layer 22:32:53 58ec367f63d7: Pulling fs layer 22:32:53 1b4a6ffa7d45: Pulling fs layer 22:32:53 fc5181fea5dc: Pulling fs layer 22:32:53 9c418107303f: Pulling fs layer 22:32:53 284eca6f2348: Pulling fs layer 22:32:53 842844d905b1: Pulling fs layer 22:32:53 fc5181fea5dc: Waiting 22:32:53 901a3a57568e: Pulling fs layer 22:32:53 9c418107303f: Waiting 22:32:53 284eca6f2348: Waiting 22:32:53 842844d905b1: Waiting 22:32:53 901a3a57568e: Waiting 22:32:53 1b4a6ffa7d45: Verifying Checksum 22:32:53 1b4a6ffa7d45: Download complete 22:32:53 9c418107303f: Verifying Checksum 22:32:53 9c418107303f: Download complete 22:32:53 284eca6f2348: Download complete 22:32:53 842844d905b1: Download complete 22:32:53 bbf911997326: Download complete 22:32:54 bbf911997326: Pull complete 22:32:55 58ec367f63d7: Pull complete 22:32:55 1b4a6ffa7d45: Pull complete 22:32:56 fc5181fea5dc: Verifying Checksum 22:32:56 fc5181fea5dc: Download complete 22:32:57 901a3a57568e: Verifying Checksum 22:32:57 901a3a57568e: Download complete 22:33:07 fc5181fea5dc: Pull complete 22:33:07 9c418107303f: Pull complete 22:33:07 284eca6f2348: Pull complete 22:33:07 842844d905b1: Pull complete 22:33:13 901a3a57568e: Pull complete 22:33:13 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 22:33:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:33:13 ---> 72ade6ffb461 22:33:13 Step 3/11 : ARG MAKE='make build' 22:33:20 ---> Running in 49705325bd8d 22:33:20 Removing intermediate container 49705325bd8d 22:33:20 ---> 1571be989ed0 22:33:20 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:33:20 ---> Running in daa583f9828d 22:33:20 Removing intermediate container daa583f9828d 22:33:20 ---> b8160a9649a9 22:33:20 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 22:33:20 ---> Running in f2c21c834a4c 22:33:21 Removing intermediate container f2c21c834a4c 22:33:21 ---> 64662024bc27 22:33:21 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:33:21 ---> Running in 0cf033891c7b 22:33:24 Removing intermediate container 0cf033891c7b 22:33:24 ---> 6ba2d95cbb31 22:33:24 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:33:24 ---> Running in 9d7ac782d1d6 22:33:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:33:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:33:27 (1/3) Installing openssh-keygen (8.4_p1-r4) 22:33:27 (2/3) Installing libedit (20191231.3.1-r1) 22:33:28 (3/3) Installing openssh-client (8.4_p1-r4) 22:33:28 Executing busybox-1.32.1-r6.trigger 22:33:28 OK: 222 MiB in 55 packages 22:33:29 Removing intermediate container 9d7ac782d1d6 22:33:29 ---> 4cecabfdd93a 22:33:29 Step 8/11 : WORKDIR /device-rest-go 22:33:29 ---> Running in de93e5b58d3c 22:33:30 Removing intermediate container de93e5b58d3c 22:33:30 ---> 03a7abca249d 22:33:30 Step 9/11 : COPY . . 22:33:31 ---> eafa33ef3856 22:33:31 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:33:31 ---> Running in 3bde7560f610 22:33:58 Removing intermediate container 3bde7560f610 22:33:58 ---> 983c08b393a5 22:33:58 Step 11/11 : RUN $MAKE 22:33:58 ---> Running in 37caab4c9894 22:33:59 noop 22:34:00 Removing intermediate container 37caab4c9894 22:34:00 ---> 49cfd84d97c5 22:34:00 Successfully built 49cfd84d97c5 22:34:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:34:01 + docker inspect -f . ci-base-image-arm64 22:34:01 . [Pipeline] withDockerContainer 22:34:01 prd-ubuntu18.04-docker-arm64-4c-16g-381 does not seem to be running inside a container 22:34:01 $ 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-arm64 cat 22:34:03 $ docker top 2124483129ac1346bcb56f63ca2fe33af191c5e5c7359def62614d85c471f2c2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:34:04 + go version 22:34:04 go version go1.16.8 linux/arm64 [Pipeline] } 22:34:04 $ docker stop --time=1 2124483129ac1346bcb56f63ca2fe33af191c5e5c7359def62614d85c471f2c2 22:34:06 $ docker rm -f 2124483129ac1346bcb56f63ca2fe33af191c5e5c7359def62614d85c471f2c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:34:08 + docker inspect -f . ci-base-image-arm64 22:34:08 . [Pipeline] withDockerContainer 22:34:08 prd-ubuntu18.04-docker-arm64-4c-16g-381 does not seem to be running inside a container 22:34:08 $ 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-arm64 cat 22:34:10 $ docker top 714a2ed73ced0eb14ed4b1663568b1f2f00dc01567f41e873226bdf76219c20e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:34:11 + make test 22:34:11 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:34:13 ? github.com/edgexfoundry/device-rest-go [no test files] 22:35:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:35:12 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 53.8% of statements 22:35:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:35:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:35:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:35:45 ./bin/test-attribution-txt.sh [Pipeline] } 22:35:45 $ docker stop --time=1 714a2ed73ced0eb14ed4b1663568b1f2f00dc01567f41e873226bdf76219c20e 22:35:47 $ docker rm -f 714a2ed73ced0eb14ed4b1663568b1f2f00dc01567f41e873226bdf76219c20e [Pipeline] // withDockerContainer [Pipeline] sh 22:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:35:48 Warning: overwriting stash ‘coverage-report’ 22:35:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:35:50 + ls -al . 22:35:50 total 144 22:35:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 22:35 . 22:35:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 22:32 .. 22:35:50 -rw-rw-r-- 1 jenkins jenkins 151 Oct 6 22:32 .dockerignore 22:35:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 22:32 .git 22:35:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 22:32 .github 22:35:50 -rw-rw-r-- 1 jenkins jenkins 329 Oct 6 22:32 .gitignore 22:35:50 -rw-rw-r-- 1 jenkins jenkins 6792 Oct 6 22:32 Attribution.txt 22:35:50 -rw-rw-r-- 1 jenkins jenkins 7459 Oct 6 22:32 CHANGELOG.md 22:35:50 -rw-rw-r-- 1 jenkins jenkins 1649 Oct 6 22:32 Dockerfile 22:35:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 22:32 GOVERNANCE.md 22:35:50 -rw-rw-r-- 1 jenkins jenkins 680 Oct 6 22:32 Jenkinsfile 22:35:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 6 22:32 LICENSE 22:35:50 -rw-rw-r-- 1 jenkins jenkins 1078 Oct 6 22:32 Makefile 22:35:50 -rw-rw-r-- 1 jenkins jenkins 620 Oct 6 22:32 OWNERS.md 22:35:50 -rw-rw-r-- 1 jenkins jenkins 7661 Oct 6 22:32 README.md 22:35:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 22:28 VERSION 22:35:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 22:32 bin 22:35:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 22:32 cmd 22:35:50 -rw-r--r-- 1 jenkins jenkins 8435 Oct 6 22:35 coverage.out 22:35:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 22:32 driver 22:35:50 -rw-rw-r-- 1 jenkins jenkins 271 Oct 6 22:32 go.mod 22:35:50 -rw-rw-r-- 1 jenkins jenkins 20570 Oct 6 22:32 go.sum 22:35:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 22:32 snap 22:35:50 -rw-rw-r-- 1 jenkins jenkins 713 Oct 6 22:32 version.go [Pipeline] isUnix [Pipeline] sh 22:35:51 + 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=a12fdca5690b90088d833bec3fed4e33f1f20341 --label arch=arm64 --label version=0.0.0 . 22:35:51 Sending build context to Docker daemon 128kB 22:35:51 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:35:51 Step 2/24 : FROM ${BASE} AS builder 22:35:51 ---> 49cfd84d97c5 22:35:51 Step 3/24 : ARG MAKE='make build' 22:35:51 ---> Running in 0749eac669c3 22:35:52 Removing intermediate container 0749eac669c3 22:35:52 ---> b3e963dcd633 22:35:52 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:35:52 ---> Running in 9436a86aaef6 22:35:52 Removing intermediate container 9436a86aaef6 22:35:52 ---> 7f76ecf6ec3c 22:35:52 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:35:52 ---> Running in bd44a02ca52c 22:35:53 Removing intermediate container bd44a02ca52c 22:35:53 ---> e6b5b40ce0e9 22:35:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:35:53 ---> Running in 874d01750ed9 22:35:56 Removing intermediate container 874d01750ed9 22:35:56 ---> da178ba8f316 22:35:56 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:35:56 ---> Running in 198decd34703 22:35:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:35:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:35:58 OK: 222 MiB in 55 packages 22:35:59 Removing intermediate container 198decd34703 22:35:59 ---> 743a36f09330 22:35:59 Step 8/24 : WORKDIR /device-rest-go 22:36:00 ---> Running in c1a78773031e 22:36:00 Removing intermediate container c1a78773031e 22:36:00 ---> 625b072f2e0c 22:36:00 Step 9/24 : COPY . . 22:36:01 ---> fe23a6e49a9a 22:36:01 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:36:01 ---> Running in ddcc7d0c6dcd 22:36:03 Removing intermediate container ddcc7d0c6dcd 22:36:03 ---> de08c081fe65 22:36:03 Step 11/24 : RUN $MAKE 22:36:04 ---> Running in 030e10a1facd 22:36:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 22:36:44 Removing intermediate container 030e10a1facd 22:36:44 ---> 1e90db6908b3 22:36:44 Step 12/24 : FROM alpine:3.14 22:36:44 3.14: Pulling from library/alpine 22:36:44 552d1f2373af: Pulling fs layer 22:36:44 552d1f2373af: Verifying Checksum 22:36:44 552d1f2373af: Download complete 22:36:45 552d1f2373af: Pull complete 22:36:45 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 22:36:45 Status: Downloaded newer image for alpine:3.14 22:36:45 ---> bb3de5531c18 22:36:45 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:36:45 ---> Running in ebf3f67fe055 22:36:46 Removing intermediate container ebf3f67fe055 22:36:46 ---> 6616bd0448e0 22:36:46 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 22:36:46 ---> Running in 24cffb9d9294 22:36:46 Removing intermediate container 24cffb9d9294 22:36:46 ---> 077f5a090223 22:36:46 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:36:46 ---> Running in 12ca983d584f 22:36:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:36:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:36:50 (1/6) Installing dumb-init (1.2.5-r1) 22:36:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:36:50 (3/6) Installing libsodium (1.0.18-r0) 22:36:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:36:50 (5/6) Installing libzmq (4.3.4-r0) 22:36:50 (6/6) Installing zeromq (4.3.4-r0) 22:36:50 Executing busybox-1.33.1-r3.trigger 22:36:50 OK: 8 MiB in 20 packages 22:36:51 Removing intermediate container 12ca983d584f 22:36:51 ---> 9db31c79ff81 22:36:51 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 22:36:52 ---> ed90b1e0dd47 22:36:52 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 22:36:53 ---> a63d2555332d 22:36:53 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 22:36:54 ---> 2c6012107a32 22:36:54 Step 19/24 : EXPOSE 59986 22:36:54 ---> Running in cb1adb47ce15 22:36:55 Removing intermediate container cb1adb47ce15 22:36:55 ---> d20569bed1e5 22:36:55 Step 20/24 : ENTRYPOINT ["/device-rest"] 22:36:55 ---> Running in e4f9c595d978 22:36:56 Removing intermediate container e4f9c595d978 22:36:56 ---> 0432ecf95e80 22:36:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:36:56 ---> Running in ec98e3fe9dbd 22:36:56 Removing intermediate container ec98e3fe9dbd 22:36:56 ---> 866fcbcce150 22:36:56 Step 22/24 : LABEL arch=arm64 22:36:56 ---> Running in 0bd53879e7db 22:36:57 Removing intermediate container 0bd53879e7db 22:36:57 ---> c0e684297b6e 22:36:57 Step 23/24 : LABEL git_sha=a12fdca5690b90088d833bec3fed4e33f1f20341 22:36:57 ---> Running in 46b7086e9c64 22:36:57 Removing intermediate container 46b7086e9c64 22:36:57 ---> 4ded2011b9ac 22:36:57 Step 24/24 : LABEL version=0.0.0 22:36:57 ---> Running in d50ec9c304f9 22:36:58 Removing intermediate container d50ec9c304f9 22:36:58 ---> 4a3fe948baf2 22:36:58 [Warning] One or more build-args [ARCH] were not consumed 22:36:58 Successfully built 4a3fe948baf2 22:36:58 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 22:36:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:36:59 22:36:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:37:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:00 arm64: Pulling from edgex-lftools-log-publisher 22:37:00 448f6bf000e3: Pulling fs layer 22:37:00 f757da607395: Pulling fs layer 22:37:00 05883995daec: Pulling fs layer 22:37:00 8603b9c90790: Pulling fs layer 22:37:00 1560dd03e051: Pulling fs layer 22:37:00 27f5ce0e4adf: Pulling fs layer 22:37:00 c2d8d7efcc4b: Pulling fs layer 22:37:00 8603b9c90790: Waiting 22:37:00 1560dd03e051: Waiting 22:37:00 27f5ce0e4adf: Waiting 22:37:00 c2d8d7efcc4b: Waiting 22:37:00 f757da607395: Verifying Checksum 22:37:00 f757da607395: Download complete 22:37:00 8603b9c90790: Verifying Checksum 22:37:00 8603b9c90790: Download complete 22:37:00 1560dd03e051: Verifying Checksum 22:37:00 1560dd03e051: Download complete 22:37:00 27f5ce0e4adf: Verifying Checksum 22:37:00 27f5ce0e4adf: Download complete 22:37:00 05883995daec: Verifying Checksum 22:37:00 05883995daec: Download complete 22:37:01 448f6bf000e3: Verifying Checksum 22:37:01 448f6bf000e3: Download complete 22:37:04 c2d8d7efcc4b: Verifying Checksum 22:37:04 c2d8d7efcc4b: Download complete 22:37:05 448f6bf000e3: Pull complete 22:37:05 f757da607395: Pull complete 22:37:07 05883995daec: Pull complete 22:37:07 8603b9c90790: Pull complete 22:37:08 1560dd03e051: Pull complete 22:37:09 27f5ce0e4adf: Pull complete 22:37:24 c2d8d7efcc4b: Pull complete 22:37:24 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:37:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:37:24 prd-ubuntu18.04-docker-arm64-4c-16g-381 does not seem to be running inside a container 22:37:24 $ 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:arm64 cat 22:37:29 $ docker top 859a039260d1ac3cc0f2e429027790b1ebc1dcc448388308dd43aaf4f0c57c2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:30 ---> job-cost.sh 22:37:30 lf-activate-venv: SKIPPING 22:37:30 INFO: No Stack... 22:37:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:37:53 INFO: Archiving Costs [Pipeline] sh 22:37:53 + cat /w/workspace/device-rest-go/1/archives/cost.csv 22:37:53 + cut -d, -f6 [Pipeline] lock 22:37:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-138-1-stack-cost] 22:37:54 Resource [jenkins-edgexfoundry-device-rest-go-PR-138-1-stack-cost] did not exist. Created. 22:37:54 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:37:54 /w/workspace/device-rest-go/1@tmp/durable-bd01d556/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-bd01d556/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:37:55 + echo total: 0.10999999940395355 [Pipeline] stash 22:37:55 Warning: overwriting stash ‘stack-cost’ 22:37:55 Stashed 1 file(s) [Pipeline] } 22:37:55 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:37:55 $ docker stop --time=1 859a039260d1ac3cc0f2e429027790b1ebc1dcc448388308dd43aaf4f0c57c2a 22:37:57 $ docker rm -f 859a039260d1ac3cc0f2e429027790b1ebc1dcc448388308dd43aaf4f0c57c2a [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 22:37:58 provisioning config files... 22:37:58 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-138@tmp/config6096489968439764552tmp [Pipeline] { [Pipeline] sh 22:37:59 + set +x 22:37:59 + bash -s -- 22:37:59 + curl -s https://codecov.io/bash 22:37:59 22:37:59 _____ _ 22:37:59 / ____| | | 22:37:59 | | ___ __| | ___ ___ _____ __ 22:37:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:37:59 | |___| (_) | (_| | __/ (_| (_) \ V / 22:37:59 \_____\___/ \__,_|\___|\___\___/ \_/ 22:37:59 Bash-1.0.6 22:37:59 22:37:59 22:37:59 ==> git version 2.24.4 found 22:37:59 ==> 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 22:37:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:37:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:37:59 ==> Jenkins CI detected. 22:37:59 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-138 22:37:59 project root: . 22:37:59 --> token set from env 22:37:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:37:59 ==> Running gcov in . (disable via -X gcov) 22:37:59 ==> Python coveragepy not found 22:37:59 ==> Searching for coverage reports in: 22:37:59 + . 22:37:59 -> Found 1 reports 22:37:59 ==> Detecting git/mercurial file structure 22:37:59 ==> Reading reports 22:37:59 + ./coverage.out bytes=8435 22:37:59 ==> Appending adjustments 22:37:59 https://docs.codecov.io/docs/fixing-reports 22:37:59 + Found adjustments 22:37:59 ==> Gzipping contents 22:37:59 4.0K /tmp/codecov.DTc8Tj.gz 22:37:59 ==> Uploading reports 22:37:59 url: https://codecov.io 22:37:59 query: branch=PR-138&commit=a12fdca5690b90088d833bec3fed4e33f1f20341&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-138%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=138&job=&cmd_args= 22:37:59 -> Pinging Codecov 22:37:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-138&commit=a12fdca5690b90088d833bec3fed4e33f1f20341&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-138%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=138&job=&cmd_args= 22:37:59 -> Uploading to 22:37:59 https://storage.googleapis.com/codecov/v4/raw/2021-10-06/4E5D53B4F1F92C436F7061BF334D961C/a12fdca5690b90088d833bec3fed4e33f1f20341/16d53235-d4d9-445c-9a97-40323df8adc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211006T223759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5de38f38f2331490cbee4ff06778948e1fac93d6fd9de7b79551928b9c555581 22:37:59 % Total % Received % Xferd Average Speed Time Time Time Current 22:37:59 Dload Upload Total Spent Left Speed 22:38:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 6010 --:--:-- --:--:-- --:--:-- 6024 22:38:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a12fdca5690b90088d833bec3fed4e33f1f20341 [Pipeline] } 22:38:00 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 22:38:02 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-138/archives ']' [Pipeline] libraryResource [Pipeline] sh 22:38:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:38:03 ---> package-listing.sh 22:38:03 ++ facter osfamily 22:38:03 ++ tr '[:upper:]' '[:lower:]' 22:38:04 + OS_FAMILY=redhat 22:38:04 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-138 22:38:04 + START_PACKAGES=/tmp/packages_start.txt 22:38:04 + END_PACKAGES=/tmp/packages_end.txt 22:38:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:38:04 + PACKAGES=/tmp/packages_start.txt 22:38:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-138 ']' 22:38:04 + PACKAGES=/tmp/packages_end.txt 22:38:04 + case "${OS_FAMILY}" in 22:38:04 + rpm -qa 22:38:04 + sort 22:38:04 + '[' -f /tmp/packages_start.txt ']' 22:38:04 + '[' -f /tmp/packages_end.txt ']' 22:38:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:38:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-138 ']' 22:38:04 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-138/archives/ 22:38:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-138/archives/ [Pipeline] echo 22:38:04 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-138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:38:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:38:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:38:05 22:38:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:38:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:38:06 latest: Pulling from edgex-lftools-log-publisher 22:38:06 b4d181a07f80: Pulling fs layer 22:38:06 a1111a8f2ec3: Pulling fs layer 22:38:06 ed53099fbce6: Pulling fs layer 22:38:06 dc539afda2c1: Pulling fs layer 22:38:06 77bc0d833cb6: Pulling fs layer 22:38:06 9065ff56babe: Pulling fs layer 22:38:06 d287ab97295c: Pulling fs layer 22:38:06 dc539afda2c1: Waiting 22:38:06 77bc0d833cb6: Waiting 22:38:06 9065ff56babe: Waiting 22:38:06 d287ab97295c: Waiting 22:38:06 a1111a8f2ec3: Verifying Checksum 22:38:06 a1111a8f2ec3: Download complete 22:38:06 dc539afda2c1: Verifying Checksum 22:38:06 dc539afda2c1: Download complete 22:38:06 ed53099fbce6: Verifying Checksum 22:38:06 ed53099fbce6: Download complete 22:38:06 9065ff56babe: Verifying Checksum 22:38:06 9065ff56babe: Download complete 22:38:06 77bc0d833cb6: Verifying Checksum 22:38:06 77bc0d833cb6: Download complete 22:38:06 b4d181a07f80: Verifying Checksum 22:38:06 b4d181a07f80: Download complete 22:38:08 d287ab97295c: Verifying Checksum 22:38:08 d287ab97295c: Download complete 22:38:08 b4d181a07f80: Pull complete 22:38:08 a1111a8f2ec3: Pull complete 22:38:09 ed53099fbce6: Pull complete 22:38:09 dc539afda2c1: Pull complete 22:38:09 77bc0d833cb6: Pull complete 22:38:09 9065ff56babe: Pull complete 22:38:15 d287ab97295c: Pull complete 22:38:15 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:38:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:38:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:38:15 prd-centos7-docker-4c-2g-358 does not seem to be running inside a container 22:38:15 $ 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-138/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-138 -v /w/workspace/gexfoundry_device-rest-go_PR-138:/w/workspace/gexfoundry_device-rest-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-138@tmp:/w/workspace/gexfoundry_device-rest-go_PR-138@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:38:17 $ docker top 60ffec42e016e6aa4082156156f2ca6820155a33e1fc953cc99040a7668c3ff0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:18 + touch /tmp/pre-build-complete [Pipeline] sh 22:38:18 + mkdir -p /var/log/sysstat [Pipeline] sh 22:38:18 + ls /var/log/sa-host 22:38:18 + sadf -c /var/log/sa-host/sa06 22:38:18 file_magic: OK 22:38:18 HZ: Using current value: 100 22:38:18 file_header: OK 22:38:18 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 22:38:18 Statistics: 22:38:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:38:18 File successfully converted to sysstat format version 12.0.3 22:38:18 + sadf -c /var/log/sa-host/sa30 22:38:18 file_magic: OK 22:38:18 HZ: Using current value: 100 22:38:18 file_header: OK 22:38:18 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 22:38:18 Statistics: 22:38:18 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:38:18 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:38:19 provisioning config files... 22:38:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-138@tmp/config7520775036812500949tmp [Pipeline] { [Pipeline] echo 22:38:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:38:19 ---> create-netrc.sh [Pipeline] } 22:38:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:38:20 ---> python-tools-install.sh [Pipeline] echo 22:38:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:38:20 ---> sudo-logs.sh 22:38:20 Archiving 'sudo' log.. 22:38:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-358.novalocal: Name or service not known 22:38:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-358.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 22:38:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:38:21 ---> job-cost.sh 22:38:21 lf-activate-venv: SKIPPING 22:38:21 DEBUG: total: 0.10999999940395355 22:38:21 INFO: Retrieving Stack Cost... 22:38:24 INFO: Retrieving Pricing Info for: v3-standard-2 22:38:24 INFO: Archiving Costs [Pipeline] echo 22:38:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:38:24 ---> logs-deploy.sh 22:38:24 lf-activate-venv: SKIPPING 22:38:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-138/1 22:38:24 INFO: archiving workspace using pattern(s): 22:38:25 Archives upload complete. 22:38:26 INFO: archiving logs to Nexus 22:38:26 ---> uname -a: 22:38:26 Linux prd-centos7-docker-4c-2g-358.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 22:38:26 22:38:26 22:38:26 ---> lscpu: 22:38:26 Architecture: x86_64 22:38:26 CPU op-mode(s): 32-bit, 64-bit 22:38:26 Byte Order: Little Endian 22:38:26 Address sizes: 40 bits physical, 48 bits virtual 22:38:26 CPU(s): 2 22:38:26 On-line CPU(s) list: 0,1 22:38:26 Thread(s) per core: 1 22:38:26 Core(s) per socket: 1 22:38:26 Socket(s): 2 22:38:26 NUMA node(s): 1 22:38:26 Vendor ID: AuthenticAMD 22:38:26 CPU family: 23 22:38:26 Model: 49 22:38:26 Model name: AMD EPYC-Rome Processor 22:38:26 Stepping: 0 22:38:26 CPU MHz: 2799.998 22:38:26 BogoMIPS: 5599.99 22:38:26 Virtualization: AMD-V 22:38:26 Hypervisor vendor: KVM 22:38:26 Virtualization type: full 22:38:26 L1d cache: 32K 22:38:26 L1i cache: 32K 22:38:26 L2 cache: 512K 22:38:26 L3 cache: 16384K 22:38:26 NUMA node0 CPU(s): 0,1 22:38:26 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 22:38:26 22:38:26 22:38:26 ---> nproc: 22:38:26 2 22:38:26 22:38:26 22:38:26 ---> df -h: 22:38:26 Filesystem Size Used Avail Use% Mounted on 22:38:26 overlay 40G 7.7G 33G 20% / 22:38:26 tmpfs 64M 0 64M 0% /dev 22:38:26 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:38:26 shm 64M 0 64M 0% /dev/shm 22:38:26 /dev/vda1 40G 7.7G 33G 20% /facter-os 22:38:26 22:38:26 22:38:26 ---> sar -b -r -n DEV: 22:38:26 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/06/21 _x86_64_ (2 CPU) 22:38:26 22:38:26 22:27:12 LINUX RESTART (2 CPU) 22:38:26 22:38:26 22:28:01 tps rtps wtps bread/s bwrtn/s 22:38:26 22:29:01 21.47 3.18 18.28 2314.74 3348.99 22:38:26 22:30:01 0.70 0.00 0.70 0.00 11.67 22:38:26 22:31:02 0.25 0.00 0.25 0.00 3.36 22:38:26 22:32:01 0.73 0.00 0.73 0.00 8.69 22:38:26 22:33:01 0.23 0.00 0.23 0.00 3.02 22:38:26 22:34:01 0.23 0.00 0.23 0.00 3.25 22:38:26 22:35:01 0.25 0.00 0.25 0.00 3.76 22:38:26 22:36:01 0.32 0.00 0.32 0.00 4.38 22:38:26 22:37:01 0.32 0.00 0.32 0.00 3.22 22:38:26 22:38:01 0.22 0.03 0.18 3.73 3.10 22:38:26 Average: 2.47 0.32 2.15 232.28 339.96 22:38:26 22:38:26 22:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:38:26 22:29:01 5660752 0 627112 7.83 2620 1718456 1235188 13.64 572460 1537332 20 22:38:26 22:30:01 5669016 0 618844 7.73 2620 1718460 1163216 12.84 565920 1537296 8 22:38:26 22:31:02 5666992 0 620868 7.75 2620 1718460 1163480 12.85 567684 1537440 8 22:38:26 22:32:01 5667196 0 620656 7.75 2620 1718468 1163216 12.84 568236 1537440 8 22:38:26 22:33:01 5669544 0 618304 7.72 2620 1718472 1163548 12.85 564852 1538016 12 22:38:26 22:34:01 5671276 0 616568 7.70 2620 1718476 1163284 12.84 563596 1538016 20 22:38:26 22:35:01 5670340 0 617500 7.71 2620 1718480 1163284 12.84 564112 1538016 8 22:38:26 22:36:01 5660184 0 627644 7.84 2620 1718492 1163284 12.84 573996 1538016 8 22:38:26 22:37:01 5660404 0 627424 7.83 2620 1718492 1163284 12.84 575900 1536200 16 22:38:26 22:38:01 5655272 0 632420 7.90 2620 1718628 1165256 12.87 580208 1536252 36 22:38:26 Average: 5665098 0 622734 7.78 2620 1718488 1170704 12.93 569696 1537402 14 22:38:26 22:38:26 22:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:38:26 22:29:01 eth0 85.78 88.69 468.10 17.24 0.00 0.00 0.00 0.00 22:38:26 22:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:29:01 docker0 37.89 13.94 3.35 132.61 0.00 0.00 0.00 0.00 22:38:26 22:30:01 eth0 5.85 0.07 0.60 0.01 0.00 0.00 0.00 0.00 22:38:26 22:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:31:02 eth0 5.81 1.27 1.43 0.81 0.00 0.00 0.00 0.00 22:38:26 22:31:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:31:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:32:01 eth0 0.30 0.05 0.02 0.00 0.00 0.00 0.00 0.00 22:38:26 22:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:33:01 eth0 1.77 0.97 0.95 0.66 0.00 0.00 0.00 0.00 22:38:26 22:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:34:01 eth0 0.37 0.10 0.02 0.01 0.00 0.00 0.00 0.00 22:38:26 22:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:35:01 eth0 0.30 0.10 0.02 0.01 0.00 0.00 0.00 0.00 22:38:26 22:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:36:01 eth0 0.23 0.10 0.02 0.01 0.00 0.00 0.00 0.00 22:38:26 22:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:37:01 eth0 4.85 0.08 0.50 0.01 0.00 0.00 0.00 0.00 22:38:26 22:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:38:01 eth0 6.06 3.73 5.13 1.95 0.00 0.00 0.00 0.00 22:38:26 22:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 22:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 Average: eth0 11.15 9.53 47.77 2.07 0.00 0.00 0.00 0.00 22:38:26 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:26 Average: docker0 3.80 1.40 0.34 13.29 0.00 0.00 0.00 0.00 22:38:26 22:38:26 22:38:26 ---> sar -P ALL: 22:38:26 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/06/21 _x86_64_ (2 CPU) 22:38:26 22:38:26 22:27:12 LINUX RESTART (2 CPU) 22:38:26 22:38:26 22:28:01 CPU %user %nice %system %iowait %steal %idle 22:38:26 22:29:01 all 3.58 0.00 1.62 0.30 0.03 94.46 22:38:26 22:29:01 0 3.98 0.00 1.55 0.30 0.03 94.13 22:38:26 22:29:01 1 3.19 0.00 1.69 0.30 0.03 94.79 22:38:26 22:30:01 all 0.24 0.00 0.07 0.00 0.02 99.67 22:38:26 22:30:01 0 0.42 0.00 0.08 0.00 0.02 99.48 22:38:26 22:30:01 1 0.07 0.00 0.05 0.00 0.02 99.87 22:38:26 22:31:02 all 0.27 0.00 0.08 0.00 0.02 99.63 22:38:26 22:31:02 0 0.33 0.00 0.10 0.00 0.02 99.55 22:38:26 22:31:02 1 0.20 0.00 0.07 0.00 0.02 99.72 22:38:26 22:32:01 all 0.23 0.00 0.07 0.00 0.03 99.68 22:38:26 22:32:01 0 0.37 0.00 0.03 0.00 0.02 99.58 22:38:26 22:32:01 1 0.08 0.00 0.10 0.00 0.03 99.78 22:38:26 22:33:01 all 0.23 0.00 0.07 0.00 0.02 99.68 22:38:26 22:33:01 0 0.23 0.00 0.07 0.00 0.02 99.68 22:38:26 22:33:01 1 0.23 0.00 0.07 0.00 0.02 99.68 22:38:26 22:34:01 all 0.28 0.00 0.04 0.00 0.01 99.67 22:38:26 22:34:01 0 0.12 0.00 0.05 0.00 0.02 99.82 22:38:26 22:34:01 1 0.45 0.00 0.03 0.00 0.00 99.52 22:38:26 22:35:01 all 0.24 0.00 0.05 0.00 0.02 99.69 22:38:26 22:35:01 0 0.10 0.00 0.05 0.00 0.03 99.82 22:38:26 22:35:01 1 0.38 0.00 0.05 0.00 0.00 99.57 22:38:26 22:36:01 all 0.23 0.00 0.07 0.00 0.03 99.68 22:38:26 22:36:01 0 0.07 0.00 0.08 0.00 0.03 99.82 22:38:26 22:36:01 1 0.38 0.00 0.05 0.00 0.02 99.55 22:38:26 22:37:01 all 0.27 0.00 0.05 0.00 0.00 99.68 22:38:26 22:37:01 0 0.12 0.00 0.07 0.00 0.00 99.82 22:38:26 22:37:01 1 0.42 0.00 0.03 0.00 0.00 99.55 22:38:26 22:38:01 all 0.50 0.00 0.31 0.01 0.03 99.16 22:38:26 22:38:01 0 0.43 0.00 0.40 0.02 0.03 99.11 22:38:26 22:38:01 1 0.57 0.00 0.22 0.00 0.02 99.20 22:38:26 Average: all 0.61 0.00 0.24 0.03 0.02 99.10 22:38:26 Average: 0 0.61 0.00 0.25 0.03 0.02 99.08 22:38:26 Average: 1 0.60 0.00 0.23 0.03 0.02 99.12 22:38:26 22:38:26 22:38:26