Pull request #167 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8+8f4a8e27cc3899896b41603114ddd5e9d3e505f7 (cc511461391bfcf23b5c6e16b521854776284d21) 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3152493855774101600.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5439114337990094645.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 144eb70ba3d470a427e699408e811d3f535e987a 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/ci-build-images/branches/PR-167/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1197709597929044080.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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2818540071957296339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5652448638780341411.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5080748945338785250.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a 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 ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.16-alpine, 1.16-alpine3.13], releaseBranchOverride:golang-1.16] ========================================================= [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 ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-golang-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-golang-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-golang-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: golang-1.16 DOCKER_CUSTOM_TAGS: 1.16-alpine 1.16-alpine3.13 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2341’ Running on prd-centos7-docker-4c-2g-2344 in /w/workspace/exfoundry_ci-build-images_PR-167 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/ci-build-images.git Merging remotes/origin/golang-1.16 commit 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 into PR head commit 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 > git init /w/workspace/exfoundry_ci-build-images_PR-167 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-167@tmp/jenkins-gitclient-ssh8252165717404858443.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-167@tmp/jenkins-gitclient-ssh118253050336342735.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 Merge succeeded, producing 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 Checking out Revision 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 (PR-167) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-167@tmp/jenkins-gitclient-ssh2897991445051824945.key > git merge 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 Commit message: "ci: only add hadolint on x86_64 arch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:13:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:13:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:13:32 ========================================================= 22:13:32 EdgeX Global Pipelines Version Info 22:13:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:13:34 ------------------- 22:13:34 stable info: 22:13:34 ------------------- 22:13:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:13:34 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 22:13:34 Message: update stable to v1.0.196 22:13:34 ------------------- 22:13:34 experimental info: 22:13:34 ------------------- 22:13:34 Commited By: **** collab-it+edgex@linuxfoundation.org 22:13:34 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 22:13:34 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-167 [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-167 [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-167 [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65c67ca [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:36 provisioning config files... 22:13:36 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config1219456972579377479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:36 ---> docker-login.sh 22:13:36 nexus3.edgexfoundry.org:10001 22:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:37 Configure a credential helper to remove this warning. See 22:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:37 22:13:37 Login Succeeded 22:13:37 nexus3.edgexfoundry.org:10002 22:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:37 Configure a credential helper to remove this warning. See 22:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:37 22:13:37 Login Succeeded 22:13:37 nexus3.edgexfoundry.org:10003 22:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:37 Configure a credential helper to remove this warning. See 22:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:37 22:13:37 Login Succeeded 22:13:37 nexus3.edgexfoundry.org:10004 22:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:37 Configure a credential helper to remove this warning. See 22:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:37 22:13:37 Login Succeeded 22:13:37 docker.io 22:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:37 Configure a credential helper to remove this warning. See 22:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:37 22:13:37 Login Succeeded 22:13:37 ---> docker-login.sh ends [Pipeline] } 22:13:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:39 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:13:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:13:39 + sudo service docker restart 22:13:39 + true 22:13:39 Redirecting to /bin/systemctl restart docker.service 22:13:53 Still waiting to schedule task 22:13:53 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2342’ is offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:58 provisioning config files... 22:13:58 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config7301652675396115461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:58 ---> docker-login.sh 22:13:58 nexus3.edgexfoundry.org:10001 22:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:58 Configure a credential helper to remove this warning. See 22:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:58 22:13:58 Login Succeeded 22:13:58 nexus3.edgexfoundry.org:10002 22:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:58 Configure a credential helper to remove this warning. See 22:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:58 22:13:58 Login Succeeded 22:13:58 nexus3.edgexfoundry.org:10003 22:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:58 Configure a credential helper to remove this warning. See 22:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:58 22:13:58 Login Succeeded 22:13:58 nexus3.edgexfoundry.org:10004 22:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:58 Configure a credential helper to remove this warning. See 22:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:58 22:13:58 Login Succeeded 22:13:58 docker.io 22:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:59 Configure a credential helper to remove this warning. See 22:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:59 22:13:59 Login Succeeded 22:13:59 ---> docker-login.sh ends [Pipeline] } 22:13:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:01 + ls -al . 22:14:01 total 12 22:14:01 drwxrwxr-x. 4 jenkins jenkins 91 Jul 9 22:13 . 22:14:01 drwxrwxr-x. 4 jenkins jenkins 112 Jul 9 22:13 .. 22:14:01 -rw-rw-r--. 1 jenkins jenkins 835 Jul 9 22:13 Dockerfile 22:14:01 drwxrwxr-x. 8 jenkins jenkins 179 Jul 9 22:13 .git 22:14:01 drwxrwxr-x. 2 jenkins jenkins 38 Jul 9 22:13 .github 22:14:01 -rw-rw-r--. 1 jenkins jenkins 585 Jul 9 22:13 .golangci.yml 22:14:01 -rw-rw-r--. 1 jenkins jenkins 913 Jul 9 22:13 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 22:14:01 + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 --label arch=amd64 . 22:14:01 Sending build context to Docker daemon 379.4kB 22:14:01 Step 1/9 : FROM golang:1.16.5-alpine3.13 22:14:02 1.16.5-alpine3.13: Pulling from library/golang 22:14:02 540db60ca938: Pulling fs layer 22:14:02 adcc1eea9eea: Pulling fs layer 22:14:02 4c4ab2625f07: Pulling fs layer 22:14:02 0773c198feca: Pulling fs layer 22:14:02 345f892a5656: Pulling fs layer 22:14:02 0773c198feca: Waiting 22:14:02 345f892a5656: Waiting 22:14:02 error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/f5/f5b325add028d35be286d0cb4ac3dae60b59ac5f6d3a0318b7475f5475655bd4/data?verify=1625871842-ukLGjcZZ7hbF4%2BXRqz368BZNzxk%3D: dial tcp: lookup production.cloudflare.docker.com on 10.30.120.3:53: server misbehaving [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:03 Failed in branch amd64 22:15:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2345 in /w/workspace/exfoundry_ci-build-images_PR-167 [Pipeline] { [Pipeline] checkout 22:15:59 Selected Git installation does not exist. Using Default 22:15:59 The recommended git tool is: NONE 22:16:04 using credential edgex-jenkins-ssh 22:16:04 Cloning the remote Git repository 22:16:04 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 22:16:04 > git init /w/workspace/exfoundry_ci-build-images_PR-167 # timeout=10 22:16:04 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 22:16:04 > git --version # timeout=10 22:16:04 > git --version # 'git version 2.17.1' 22:16:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:06 Merging remotes/origin/golang-1.16 commit 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 into PR head commit 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 22:16:06 Merge succeeded, producing 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 22:16:06 Checking out Revision 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 (PR-167) 22:16:05 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 22:16:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:05 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 22:16:05 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 22:16:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 22:16:06 > git config core.sparsecheckout # timeout=10 22:16:06 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 22:16:06 > git remote # timeout=10 22:16:06 > git config --get remote.origin.url # timeout=10 22:16:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:06 > git merge 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 # timeout=10 22:16:06 > git rev-parse HEAD^{commit} # timeout=10 22:16:06 > git config core.sparsecheckout # timeout=10 22:16:06 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 22:16:10 Commit message: "ci: only add hadolint on x86_64 arch" 22:16:11 > git --version # timeout=10 22:16:11 > git --version # 'git version 2.17.1' 22:16:11 fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:16:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:16:13 + true 22:16:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:32 provisioning config files... 22:16:32 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config857120191570895989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:32 ---> docker-login.sh 22:16:32 nexus3.edgexfoundry.org:10001 22:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:33 Configure a credential helper to remove this warning. See 22:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:33 22:16:33 Login Succeeded 22:16:33 nexus3.edgexfoundry.org:10002 22:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:34 Configure a credential helper to remove this warning. See 22:16:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:34 22:16:34 Login Succeeded 22:16:34 nexus3.edgexfoundry.org:10003 22:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:34 Configure a credential helper to remove this warning. See 22:16:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:34 22:16:34 Login Succeeded 22:16:34 nexus3.edgexfoundry.org:10004 22:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:35 Configure a credential helper to remove this warning. See 22:16:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:35 22:16:35 Login Succeeded 22:16:35 docker.io 22:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:36 Configure a credential helper to remove this warning. See 22:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:36 22:16:36 Login Succeeded 22:16:36 ---> docker-login.sh ends [Pipeline] } 22:16:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:16:37 + ls -al . 22:16:37 total 28 22:16:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 22:16 . 22:16:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 22:16 .. 22:16:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 22:16 .git 22:16:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 22:16 .github 22:16:37 -rw-rw-r-- 1 jenkins jenkins 585 Jul 9 22:16 .golangci.yml 22:16:37 -rw-rw-r-- 1 jenkins jenkins 835 Jul 9 22:16 Dockerfile 22:16:37 -rw-rw-r-- 1 jenkins jenkins 913 Jul 9 22:16 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 22:16:37 + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 --label arch=arm64 . 22:16:37 Sending build context to Docker daemon 378.4kB 22:16:37 Step 1/9 : FROM golang:1.16.5-alpine3.13 22:16:38 1.16.5-alpine3.13: Pulling from library/golang 22:16:38 595b0fe564bb: Pulling fs layer 22:16:38 24495759ef45: Pulling fs layer 22:16:38 d148012ef14d: Pulling fs layer 22:16:38 cb65c68fc2e2: Pulling fs layer 22:16:38 093eec477d81: Pulling fs layer 22:16:38 cb65c68fc2e2: Waiting 22:16:38 093eec477d81: Waiting 22:16:39 d148012ef14d: Download complete 22:16:39 24495759ef45: Verifying Checksum 22:16:39 24495759ef45: Download complete 22:16:39 595b0fe564bb: Verifying Checksum 22:16:39 595b0fe564bb: Download complete 22:16:39 093eec477d81: Verifying Checksum 22:16:39 093eec477d81: Download complete 22:16:39 595b0fe564bb: Pull complete 22:16:40 24495759ef45: Pull complete 22:16:40 d148012ef14d: Pull complete 22:16:41 cb65c68fc2e2: Verifying Checksum 22:16:41 cb65c68fc2e2: Download complete 22:16:51 cb65c68fc2e2: Pull complete 22:16:51 093eec477d81: Pull complete 22:16:51 Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf 22:16:51 Status: Downloaded newer image for golang:1.16.5-alpine3.13 22:16:51 ---> 4ac5820bd72c 22:16:51 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 22:16:53 ---> Running in f3780f0e54b3 22:16:53 Removing intermediate container f3780f0e54b3 22:16:53 ---> 23dee6083463 22:16:53 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:16:53 ---> Running in 0cdd9d400965 22:16:56 Removing intermediate container 0cdd9d400965 22:16:56 ---> fc203c1d0d32 22:16:56 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 22:16:56 ---> Running in 02f388442693 22:16:56 Removing intermediate container 02f388442693 22:16:56 ---> 41171b5c48bb 22:16:56 Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml 22:16:57 ---> fb380baa97d4 22:16:57 Step 6/9 : RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi 22:16:57 ---> Running in 15097c00955e 22:17:00 Removing intermediate container 15097c00955e 22:17:00 ---> a3609ada2827 22:17:00 Step 7/9 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} 22:17:00 ---> Running in 473988ebd0da 22:17:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:17:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:17:02 (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) 22:17:02 (2/25) Installing ncurses-libs (6.2_p20210109-r0) 22:17:02 (3/25) Installing readline (8.1.0-r0) 22:17:02 (4/25) Installing bash (5.1.0-r0) 22:17:03 Executing bash-5.1.0-r0.post-install 22:17:03 (5/25) Installing brotli-libs (1.0.9-r3) 22:17:03 (6/25) Installing nghttp2-libs (1.42.0-r1) 22:17:03 (7/25) Installing libcurl (7.77.0-r1) 22:17:03 (8/25) Installing curl (7.77.0-r1) 22:17:03 (9/25) Installing libgcc (10.2.1_pre1-r3) 22:17:03 (10/25) Installing libstdc++ (10.2.1_pre1-r3) 22:17:04 (11/25) Installing binutils (2.35.2-r1) 22:17:04 (12/25) Installing libgomp (10.2.1_pre1-r3) 22:17:04 (13/25) Installing libatomic (10.2.1_pre1-r3) 22:17:05 (14/25) Installing libgphobos (10.2.1_pre1-r3) 22:17:05 (15/25) Installing gmp (6.2.1-r0) 22:17:06 (16/25) Installing isl22 (0.22-r0) 22:17:06 (17/25) Installing mpfr4 (4.1.0-r0) 22:17:06 (18/25) Installing mpc1 (1.2.0-r0) 22:17:06 (19/25) Installing gcc (10.2.1_pre1-r3) 22:17:21 (20/25) Installing expat (2.2.10-r1) 22:17:21 (21/25) Installing pcre2 (10.36-r0) 22:17:21 (22/25) Installing git (2.30.2-r0) 22:17:21 (23/25) Installing linux-headers (5.7.8-r0) 22:17:22 (24/25) Installing make (4.3-r0) 22:17:22 (25/25) Installing musl-dev (1.2.2-r1) 22:17:23 Executing busybox-1.32.1-r6.trigger 22:17:23 OK: 138 MiB in 40 packages 22:17:23 Connecting to raw.githubusercontent.com (185.199.111.133:443) 22:17:23 writing to stdout 22:17:23 - 100% |********************************| 10739 0:00:00 ETA 22:17:23 written to stdout 22:17:23 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 22:17:23 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 22:17:25 golangci/golangci-lint info installed ./bin/golangci-lint 22:17:32 Removing intermediate container 473988ebd0da 22:17:32 ---> 0a36681aa30d 22:17:32 Step 8/9 : LABEL arch=arm64 22:17:32 ---> Running in 0d9df2072e13 22:17:32 Removing intermediate container 0d9df2072e13 22:17:32 ---> b67b65956df8 22:17:32 Step 9/9 : LABEL git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 22:17:33 ---> Running in 6a253f391eca 22:17:33 Removing intermediate container 6a253f391eca 22:17:33 ---> 241173fb88a6 22:17:33 [Warning] One or more build-args [ARCH] were not consumed 22:17:33 Successfully built 241173fb88a6 22:17:33 Successfully tagged edgex-devops/edgex-golang-base-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:17:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:17:36 ---> package-listing.sh 22:17:36 ++ facter osfamily 22:17:36 ++ tr '[:upper:]' '[:lower:]' 22:17:37 + OS_FAMILY=redhat 22:17:37 + workspace=/w/workspace/exfoundry_ci-build-images_PR-167 22:17:37 + START_PACKAGES=/tmp/packages_start.txt 22:17:37 + END_PACKAGES=/tmp/packages_end.txt 22:17:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:17:37 + PACKAGES=/tmp/packages_start.txt 22:17:37 + '[' /w/workspace/exfoundry_ci-build-images_PR-167 ']' 22:17:37 + PACKAGES=/tmp/packages_end.txt 22:17:37 + case "${OS_FAMILY}" in 22:17:37 + rpm -qa 22:17:37 + sort 22:17:37 + '[' -f /tmp/packages_start.txt ']' 22:17:37 + '[' -f /tmp/packages_end.txt ']' 22:17:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:17:37 + '[' /w/workspace/exfoundry_ci-build-images_PR-167 ']' 22:17:37 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-167/archives/ 22:17:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-167/archives/ [Pipeline] echo 22:17:37 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/exfoundry_ci-build-images_PR-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:17:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:17:38 22:17:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:17:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:17:39 alpine: Pulling from edgex-lftools-log-publisher 22:17:39 df20fa9351a1: Pulling fs layer 22:17:39 36b3adc4ff6f: Pulling fs layer 22:17:39 8ad3a11d3b57: Pulling fs layer 22:17:39 46f8f816bc3b: Pulling fs layer 22:17:39 93b61091891f: Pulling fs layer 22:17:39 93b9cdb0e59b: Pulling fs layer 22:17:39 5e14af77c1be: Pulling fs layer 22:17:39 01666e4c0597: Pulling fs layer 22:17:39 aa168da1d23b: Pulling fs layer 22:17:39 93b9cdb0e59b: Waiting 22:17:39 5e14af77c1be: Waiting 22:17:39 01666e4c0597: Waiting 22:17:39 aa168da1d23b: Waiting 22:17:39 46f8f816bc3b: Waiting 22:17:39 93b61091891f: Waiting 22:17:39 36b3adc4ff6f: Verifying Checksum 22:17:39 36b3adc4ff6f: Download complete 22:17:39 46f8f816bc3b: Verifying Checksum 22:17:39 46f8f816bc3b: Download complete 22:17:39 df20fa9351a1: Verifying Checksum 22:17:39 df20fa9351a1: Download complete 22:17:39 93b9cdb0e59b: Verifying Checksum 22:17:39 93b9cdb0e59b: Download complete 22:17:39 5e14af77c1be: Verifying Checksum 22:17:39 5e14af77c1be: Download complete 22:17:39 93b61091891f: Verifying Checksum 22:17:39 93b61091891f: Download complete 22:17:39 01666e4c0597: Verifying Checksum 22:17:39 01666e4c0597: Download complete 22:17:39 df20fa9351a1: Pull complete 22:17:39 8ad3a11d3b57: Verifying Checksum 22:17:39 8ad3a11d3b57: Download complete 22:17:39 36b3adc4ff6f: Pull complete 22:17:40 8ad3a11d3b57: Pull complete 22:17:40 46f8f816bc3b: Pull complete 22:17:40 93b61091891f: Pull complete 22:17:40 93b9cdb0e59b: Pull complete 22:17:40 5e14af77c1be: Pull complete 22:17:40 01666e4c0597: Pull complete 22:17:41 aa168da1d23b: Verifying Checksum 22:17:41 aa168da1d23b: Download complete 22:17:45 aa168da1d23b: Pull complete 22:17:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:17:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:17:45 prd-centos7-docker-4c-2g-2344 does not seem to be running inside a container 22:17:45 $ 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/exfoundry_ci-build-images_PR-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-167 -v /w/workspace/exfoundry_ci-build-images_PR-167:/w/workspace/exfoundry_ci-build-images_PR-167:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-167@tmp:/w/workspace/exfoundry_ci-build-images_PR-167@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:17:48 $ docker top 281c3e9af8db00d55d610a4e80620e7f6386c378bfc01c6200f494d756fe5081 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:48 + touch /tmp/pre-build-complete [Pipeline] sh 22:17:48 + mkdir -p /var/log/sa [Pipeline] sh 22:17:49 + ls /var/log/sa-host 22:17:49 + sadf -c /var/log/sa-host/sa05 22:17:49 file_magic: OK 22:17:49 HZ: Using current value: 100 22:17:49 file_header: OK 22:17:49 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:17:49 Statistics: 22:17:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:17:49 File successfully converted to sysstat format version 12.2.1 22:17:49 + sadf -c /var/log/sa-host/sa09 22:17:49 file_magic: OK 22:17:49 HZ: Using current value: 100 22:17:49 file_header: OK 22:17:49 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:17:49 Statistics: 22:17:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:17:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:17:49 provisioning config files... 22:17:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config8881612002628102267tmp [Pipeline] { [Pipeline] echo 22:17:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:17:50 ---> create-netrc.sh [Pipeline] } 22:17:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:17:50 ---> python-tools-install.sh [Pipeline] echo 22:17:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:17:51 ---> sudo-logs.sh 22:17:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:17:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:17:51 ---> job-cost.sh 22:17:51 lf-activate-venv: SKIPPING 22:17:51 INFO: No Stack... 22:17:52 INFO: Retrieving Pricing Info for: v3-standard-2 22:17:52 INFO: Archiving Costs [Pipeline] echo 22:17:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:17:53 ---> logs-deploy.sh 22:17:53 lf-activate-venv: SKIPPING 22:17:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-167/1 22:17:53 INFO: archiving workspace using pattern(s): 22:17:54 Archives upload complete. 22:17:54 INFO: archiving logs to Nexus 22:17:54 ---> uname -a: 22:17:54 Linux prd-centos7-docker-4c-2g-2344.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 22:17:54 22:17:54 22:17:54 ---> lscpu: 22:17:54 Architecture: x86_64 22:17:54 CPU op-mode(s): 32-bit, 64-bit 22:17:54 Byte Order: Little Endian 22:17:54 Address sizes: 40 bits physical, 48 bits virtual 22:17:54 CPU(s): 2 22:17:54 On-line CPU(s) list: 0,1 22:17:54 Thread(s) per core: 1 22:17:54 Core(s) per socket: 1 22:17:54 Socket(s): 2 22:17:54 NUMA node(s): 1 22:17:54 Vendor ID: AuthenticAMD 22:17:54 CPU family: 23 22:17:54 Model: 49 22:17:54 Model name: AMD EPYC-Rome Processor 22:17:54 Stepping: 0 22:17:54 CPU MHz: 2799.998 22:17:54 BogoMIPS: 5599.99 22:17:54 Virtualization: AMD-V 22:17:54 Hypervisor vendor: KVM 22:17:54 Virtualization type: full 22:17:54 L1d cache: 64 KiB 22:17:54 L1i cache: 64 KiB 22:17:54 L2 cache: 1 MiB 22:17:54 L3 cache: 32 MiB 22:17:54 NUMA node0 CPU(s): 0,1 22:17:54 Vulnerability Itlb multihit: Not affected 22:17:54 Vulnerability L1tf: Not affected 22:17:54 Vulnerability Mds: Not affected 22:17:54 Vulnerability Meltdown: Not affected 22:17:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:17:54 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:17:54 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:17:54 Vulnerability Srbds: Not affected 22:17:54 Vulnerability Tsx async abort: Not affected 22:17:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 22:17:54 22:17:54 22:17:54 ---> nproc: 22:17:54 2 22:17:54 22:17:54 22:17:54 ---> df -h: 22:17:54 Filesystem Size Used Available Use% Mounted on 22:17:54 overlay 40.0G 7.5G 32.5G 19% / 22:17:54 tmpfs 64.0M 0 64.0M 0% /dev 22:17:54 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 22:17:54 shm 64.0M 0 64.0M 0% /dev/shm 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /facter-os 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /etc/resolv.conf 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /etc/hostname 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /etc/hosts 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /var/log/auth.log 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /run/cloud-init/result.json 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /w/workspace/exfoundry_ci-build-images_PR-167 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /w/workspace/exfoundry_ci-build-images_PR-167@tmp 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /var/log/sa-host 22:17:54 /dev/vda1 40.0G 7.5G 32.5G 19% /var/log/secure 22:17:54 22:17:54 22:17:54 ---> free -m: 22:17:54 total used free shared buff/cache available 22:17:54 Mem: 7821 917 4852 0 2051 6723 22:17:54 Swap: 1023 0 1023 22:17:54 22:17:54 22:17:54 ---> ip addr: 22:17:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:17:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:17:54 inet 127.0.0.1/8 scope host lo 22:17:54 valid_lft forever preferred_lft forever 22:17:54 inet6 ::1/128 scope host 22:17:54 valid_lft forever preferred_lft forever 22:17:54 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:17:54 link/ether fa:16:3e:8b:47:01 brd ff:ff:ff:ff:ff:ff 22:17:54 inet 10.30.123.108/23 brd 10.30.123.255 scope global dynamic eth0 22:17:54 valid_lft 86105sec preferred_lft 86105sec 22:17:54 inet6 fe80::f816:3eff:fe8b:4701/64 scope link 22:17:54 valid_lft forever preferred_lft forever 22:17:54 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:17:54 link/ether 02:42:56:dd:48:79 brd ff:ff:ff:ff:ff:ff 22:17:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:17:54 valid_lft forever preferred_lft forever 22:17:54 22:17:54 22:17:54 ---> sar -b -r -n DEV: 22:17:54 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/09/21 _x86_64_ (2 CPU) 22:17:54 22:17:54 22:12:45 LINUX RESTART (2 CPU) 22:17:54 22:17:54 22:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:17:54 22:15:01 3.78 0.02 3.76 0.00 0.40 72.04 0.00 22:17:54 22:16:01 0.43 0.00 0.43 0.00 0.00 6.66 0.00 22:17:54 22:17:01 0.15 0.00 0.15 0.00 0.00 1.73 0.00 22:17:54 Average: 1.45 0.01 1.45 0.00 0.13 26.81 0.00 22:17:54 22:17:54 22:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:17:54 22:15:01 5556928 0 766204 9.57 2620 1683188 1080744 11.93 539312 1523976 8 22:17:54 22:16:01 5556552 0 766576 9.57 2620 1683192 1069500 11.81 540120 1523952 8 22:17:54 22:17:01 5556616 0 766508 9.57 2620 1683196 1069524 11.81 535768 1528432 20 22:17:54 Average: 5556699 0 766429 9.57 2620 1683192 1073256 11.85 538400 1525453 12 22:17:54 22:17:54 22:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:17:54 22:15:01 eth0 5.98 4.58 4.07 1.58 0.00 0.00 0.00 0.00 22:17:54 22:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:17:54 22:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:17:54 22:16:01 eth0 0.30 0.23 0.12 0.02 0.00 0.00 0.00 0.00 22:17:54 22:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:17:54 22:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:17:54 22:17:01 eth0 0.55 0.32 0.27 0.20 0.00 0.00 0.00 0.00 22:17:54 22:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:17:54 22:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:17:54 Average: eth0 2.28 1.71 1.49 0.60 0.00 0.00 0.00 0.00 22:17:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:17:54 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:17:54 22:17:54 22:17:54 ---> sar -P ALL: 22:17:54 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/09/21 _x86_64_ (2 CPU) 22:17:54 22:17:54 22:12:45 LINUX RESTART (2 CPU) 22:17:54 22:17:54 22:14:01 CPU %user %nice %system %iowait %steal %idle 22:17:54 22:15:01 all 0.23 0.00 0.11 0.02 0.03 99.62 22:17:54 22:15:01 0 0.32 0.00 0.08 0.02 0.03 99.55 22:17:54 22:15:01 1 0.13 0.00 0.13 0.02 0.03 99.68 22:17:54 22:16:01 all 0.09 0.00 0.03 0.00 0.03 99.86 22:17:54 22:16:01 0 0.12 0.00 0.02 0.00 0.02 99.85 22:17:54 22:16:01 1 0.07 0.00 0.03 0.00 0.03 99.87 22:17:54 22:17:01 all 0.08 0.00 0.03 0.00 0.03 99.87 22:17:54 22:17:01 0 0.10 0.00 0.03 0.00 0.05 99.82 22:17:54 22:17:01 1 0.05 0.00 0.02 0.00 0.02 99.92 22:17:54 Average: all 0.13 0.00 0.05 0.01 0.03 99.78 22:17:54 Average: 0 0.18 0.00 0.04 0.01 0.03 99.74 22:17:54 Average: 1 0.08 0.00 0.06 0.01 0.03 99.82 22:17:54 22:17:54 22:17:54