Started by user Ernesto Ojeda 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: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6452496312280525782.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-ssh1129223279624515501.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8063666078980886944.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 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-ssh5601231162746400293.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4519435797141736958.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2346 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 > 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-ssh4415117948447321988.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-ssh2973695987239389218.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 Merging remotes/origin/golang-1.16 commit 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 into PR head commit 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 Merge succeeded, producing 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 Checking out Revision 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 (PR-167) > git config core.sparsecheckout # timeout=10 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-167@tmp/jenkins-gitclient-ssh3516346367230870157.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" > git rev-list --no-walk 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:20:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:20:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:20:56 ========================================================= 22:20:56 EdgeX Global Pipelines Version Info 22:20:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:20:58 ------------------- 22:20:58 stable info: 22:20:58 ------------------- 22:20:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:20:58 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 22:20:58 Message: update stable to v1.0.196 22:20:58 ------------------- 22:20:58 experimental info: 22:20:58 ------------------- 22:20:58 Commited By: **** collab-it+edgex@linuxfoundation.org 22:20:58 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 22:20:58 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:20:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 22:20:58 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-167 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-167 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-167 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65c67ca [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:59 provisioning config files... 22:20:59 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config2303074789429803977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:59 ---> docker-login.sh 22:20:59 nexus3.edgexfoundry.org:10001 22:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 nexus3.edgexfoundry.org:10002 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 nexus3.edgexfoundry.org:10003 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 nexus3.edgexfoundry.org:10004 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 docker.io 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 ---> docker-login.sh ends [Pipeline] } 22:21:00 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:21:01 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:21:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:21:02 + sudo service docker restart 22:21:02 + true 22:21:02 Redirecting to /bin/systemctl restart docker.service 22:21:16 Still waiting to schedule task 22:21:16 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2345’ is offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:20 provisioning config files... 22:21:20 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config7644261546415683355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:20 ---> docker-login.sh 22:21:20 nexus3.edgexfoundry.org:10001 22:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:20 Configure a credential helper to remove this warning. See 22:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:20 22:21:20 Login Succeeded 22:21:20 nexus3.edgexfoundry.org:10002 22:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:20 Configure a credential helper to remove this warning. See 22:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:20 22:21:20 Login Succeeded 22:21:20 nexus3.edgexfoundry.org:10003 22:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:20 Configure a credential helper to remove this warning. See 22:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:20 22:21:20 Login Succeeded 22:21:20 nexus3.edgexfoundry.org:10004 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 docker.io 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 ---> docker-login.sh ends [Pipeline] } 22:21:21 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:21:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:23 + ls -al . 22:21:23 total 12 22:21:23 drwxrwxr-x. 4 jenkins jenkins 91 Jul 9 22:20 . 22:21:23 drwxrwxr-x. 4 jenkins jenkins 112 Jul 9 22:20 .. 22:21:23 -rw-rw-r--. 1 jenkins jenkins 835 Jul 9 22:20 Dockerfile 22:21:23 drwxrwxr-x. 8 jenkins jenkins 179 Jul 9 22:20 .git 22:21:23 drwxrwxr-x. 2 jenkins jenkins 38 Jul 9 22:20 .github 22:21:23 -rw-rw-r--. 1 jenkins jenkins 585 Jul 9 22:20 .golangci.yml 22:21:23 -rw-rw-r--. 1 jenkins jenkins 913 Jul 9 22:20 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 22:21:24 + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 --label arch=amd64 . 22:21:24 Sending build context to Docker daemon 379.4kB 22:21:24 Step 1/9 : FROM golang:1.16.5-alpine3.13 22:21:24 1.16.5-alpine3.13: Pulling from library/golang 22:21:24 540db60ca938: Pulling fs layer 22:21:24 adcc1eea9eea: Pulling fs layer 22:21:24 4c4ab2625f07: Pulling fs layer 22:21:24 0773c198feca: Pulling fs layer 22:21:24 345f892a5656: Pulling fs layer 22:21:24 0773c198feca: Waiting 22:21:24 345f892a5656: Waiting 22:21:24 4c4ab2625f07: Verifying Checksum 22:21:24 4c4ab2625f07: Download complete 22:21:24 adcc1eea9eea: Verifying Checksum 22:21:24 adcc1eea9eea: Download complete 22:21:24 540db60ca938: Verifying Checksum 22:21:24 540db60ca938: Download complete 22:21:24 345f892a5656: Verifying Checksum 22:21:24 345f892a5656: Download complete 22:21:25 540db60ca938: Pull complete 22:21:25 adcc1eea9eea: Pull complete 22:21:25 4c4ab2625f07: Pull complete 22:21:26 0773c198feca: Verifying Checksum 22:21:26 0773c198feca: Download complete 22:21:29 0773c198feca: Pull complete 22:21:29 345f892a5656: Pull complete 22:21:29 Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf 22:21:29 Status: Downloaded newer image for golang:1.16.5-alpine3.13 22:21:29 ---> f5b325add028 22:21:29 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 22:21:31 ---> Running in 7108e84ff1e8 22:21:31 Removing intermediate container 7108e84ff1e8 22:21:31 ---> 922429b6755c 22:21:31 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:21:31 ---> Running in fccd7bd48527 22:21:32 Removing intermediate container fccd7bd48527 22:21:32 ---> ec62c88401bf 22:21:32 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 22:21:32 ---> Running in f07a07e8e634 22:21:32 Removing intermediate container f07a07e8e634 22:21:32 ---> 28bdb22bbab7 22:21:32 Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml 22:21:32 ---> 1852f8123645 22:21:32 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:21:32 ---> Running in 22c63ab2f7bc 22:21:33 Connecting to github.com (140.82.113.3:443) 22:21:33 Connecting to github-releases.githubusercontent.com (185.199.110.154:443) 22:21:33 saving to '/usr/local/bin/hadolint' 22:21:33 hadolint 100% |********************************| 5676k 0:00:00 ETA 22:21:33 '/usr/local/bin/hadolint' saved 22:21:33 Removing intermediate container 22c63ab2f7bc 22:21:33 ---> cd3595af8ea8 22:21:33 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:21:33 ---> Running in 6c50b2b09781 22:21:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:21:35 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:21:35 (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) 22:21:35 (2/25) Installing ncurses-libs (6.2_p20210109-r0) 22:21:35 (3/25) Installing readline (8.1.0-r0) 22:21:35 (4/25) Installing bash (5.1.0-r0) 22:21:36 Executing bash-5.1.0-r0.post-install 22:21:36 (5/25) Installing brotli-libs (1.0.9-r3) 22:21:36 (6/25) Installing nghttp2-libs (1.42.0-r1) 22:21:36 (7/25) Installing libcurl (7.77.0-r1) 22:21:36 (8/25) Installing curl (7.77.0-r1) 22:21:36 (9/25) Installing libgcc (10.2.1_pre1-r3) 22:21:36 (10/25) Installing libstdc++ (10.2.1_pre1-r3) 22:21:36 (11/25) Installing binutils (2.35.2-r1) 22:21:37 (12/25) Installing libgomp (10.2.1_pre1-r3) 22:21:37 (13/25) Installing libatomic (10.2.1_pre1-r3) 22:21:37 (14/25) Installing libgphobos (10.2.1_pre1-r3) 22:21:38 (15/25) Installing gmp (6.2.1-r0) 22:21:38 (16/25) Installing isl22 (0.22-r0) 22:21:38 (17/25) Installing mpfr4 (4.1.0-r0) 22:21:39 (18/25) Installing mpc1 (1.2.0-r0) 22:21:39 (19/25) Installing gcc (10.2.1_pre1-r3) 22:21:46 (20/25) Installing expat (2.2.10-r1) 22:21:46 (21/25) Installing pcre2 (10.36-r0) 22:21:46 (22/25) Installing git (2.30.2-r0) 22:21:46 (23/25) Installing linux-headers (5.7.8-r0) 22:21:46 (24/25) Installing make (4.3-r0) 22:21:46 (25/25) Installing musl-dev (1.2.2-r1) 22:21:47 Executing busybox-1.32.1-r6.trigger 22:21:47 OK: 149 MiB in 40 packages 22:21:47 Connecting to raw.githubusercontent.com (185.199.110.133:443) 22:21:47 writing to stdout 22:21:47 - 100% |********************************| 10739 0:00:00 ETA 22:21:47 written to stdout 22:21:47 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 22:21:47 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 22:21:48 golangci/golangci-lint info installed ./bin/golangci-lint 22:21:50 Removing intermediate container 6c50b2b09781 22:21:50 ---> 0655e7d1f741 22:21:50 Step 8/9 : LABEL arch=amd64 22:21:50 ---> Running in 147baddf3f73 22:21:50 Removing intermediate container 147baddf3f73 22:21:50 ---> c2ca2fba3b6a 22:21:50 Step 9/9 : LABEL git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 22:21:51 ---> Running in edff027998c4 22:21:51 Removing intermediate container edff027998c4 22:21:51 ---> 145cbedee027 22:21:51 [Warning] One or more build-args [ARCH] were not consumed 22:21:51 Successfully built 145cbedee027 22:21:51 Successfully tagged edgex-devops/edgex-golang-base: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] // stage [Pipeline] } 22:23:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2347 in /w/workspace/exfoundry_ci-build-images_PR-167 [Pipeline] { [Pipeline] checkout 22:23:19 Selected Git installation does not exist. Using Default 22:23:19 The recommended git tool is: NONE 22:23:24 using credential edgex-jenkins-ssh 22:23:24 Cloning the remote Git repository 22:23:24 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 22:23:24 > git init /w/workspace/exfoundry_ci-build-images_PR-167 # timeout=10 22:23:25 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 22:23:25 > git --version # timeout=10 22:23:25 > git --version # 'git version 2.17.1' 22:23:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:23:26 Merging remotes/origin/golang-1.16 commit 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 into PR head commit 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 22:23:26 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 22:23:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:23:26 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 22:23:26 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 22:23:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:26 > 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:23:26 > git config core.sparsecheckout # timeout=10 22:23:26 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 22:23:26 > git remote # timeout=10 22:23:27 Merge succeeded, producing 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 22:23:27 Checking out Revision 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 (PR-167) 22:23:26 > git config --get remote.origin.url # timeout=10 22:23:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:26 > git merge 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 # timeout=10 22:23:26 > git rev-parse HEAD^{commit} # timeout=10 22:23:27 > git config core.sparsecheckout # timeout=10 22:23:27 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 22:23:31 Commit message: "ci: only add hadolint on x86_64 arch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:23:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:23:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:23:33 + true 22:23:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:51 provisioning config files... 22:23:51 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config4188476341155324257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:52 ---> docker-login.sh 22:23:52 nexus3.edgexfoundry.org:10001 22:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:53 Configure a credential helper to remove this warning. See 22:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:53 22:23:53 Login Succeeded 22:23:53 nexus3.edgexfoundry.org:10002 22:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:53 Configure a credential helper to remove this warning. See 22:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:53 22:23:53 Login Succeeded 22:23:53 nexus3.edgexfoundry.org:10003 22:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:54 Configure a credential helper to remove this warning. See 22:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:54 22:23:54 Login Succeeded 22:23:54 nexus3.edgexfoundry.org:10004 22:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:54 Configure a credential helper to remove this warning. See 22:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:54 22:23:54 Login Succeeded 22:23:54 docker.io 22:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:55 Configure a credential helper to remove this warning. See 22:23:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:55 22:23:55 Login Succeeded 22:23:55 ---> docker-login.sh ends [Pipeline] } 22:23:55 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:23:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:23:56 + ls -al . 22:23:56 total 28 22:23:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 22:23 . 22:23:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 22:23 .. 22:23:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 22:23 .git 22:23:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 22:23 .github 22:23:56 -rw-rw-r-- 1 jenkins jenkins 585 Jul 9 22:23 .golangci.yml 22:23:56 -rw-rw-r-- 1 jenkins jenkins 835 Jul 9 22:23 Dockerfile 22:23:56 -rw-rw-r-- 1 jenkins jenkins 913 Jul 9 22:23 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 22:23:57 + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 --label arch=arm64 . 22:23:57 Sending build context to Docker daemon 378.4kB 22:23:57 Step 1/9 : FROM golang:1.16.5-alpine3.13 22:23:57 1.16.5-alpine3.13: Pulling from library/golang 22:23:58 595b0fe564bb: Pulling fs layer 22:23:58 24495759ef45: Pulling fs layer 22:23:58 d148012ef14d: Pulling fs layer 22:23:58 cb65c68fc2e2: Pulling fs layer 22:23:58 093eec477d81: Pulling fs layer 22:23:58 cb65c68fc2e2: Waiting 22:23:58 093eec477d81: Waiting 22:23:58 d148012ef14d: Verifying Checksum 22:23:58 d148012ef14d: Download complete 22:23:58 24495759ef45: Download complete 22:23:58 595b0fe564bb: Verifying Checksum 22:23:58 595b0fe564bb: Download complete 22:23:58 093eec477d81: Verifying Checksum 22:23:59 595b0fe564bb: Pull complete 22:23:59 24495759ef45: Pull complete 22:24:00 d148012ef14d: Pull complete 22:24:01 cb65c68fc2e2: Verifying Checksum 22:24:01 cb65c68fc2e2: Download complete 22:24:13 cb65c68fc2e2: Pull complete 22:24:13 093eec477d81: Pull complete 22:24:13 Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf 22:24:13 Status: Downloaded newer image for golang:1.16.5-alpine3.13 22:24:13 ---> 4ac5820bd72c 22:24:13 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 22:24:13 ---> Running in d22d1e09e7a3 22:24:14 Removing intermediate container d22d1e09e7a3 22:24:14 ---> 2158539cd282 22:24:14 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:24:14 ---> Running in c1764a782f84 22:24:16 Removing intermediate container c1764a782f84 22:24:16 ---> 080191523486 22:24:16 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 22:24:16 ---> Running in b7bb94f62d6a 22:24:17 Removing intermediate container b7bb94f62d6a 22:24:17 ---> ced9b76f288a 22:24:17 Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml 22:24:18 ---> 0de39f21e377 22:24:18 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:24:18 ---> Running in b63622458660 22:24:20 Removing intermediate container b63622458660 22:24:20 ---> 5ad43f802a3d 22:24:20 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:24:20 ---> Running in 9c44c4cca2c0 22:24:21 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:24:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:24:23 (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) 22:24:23 (2/25) Installing ncurses-libs (6.2_p20210109-r0) 22:24:23 (3/25) Installing readline (8.1.0-r0) 22:24:23 (4/25) Installing bash (5.1.0-r0) 22:24:23 Executing bash-5.1.0-r0.post-install 22:24:23 (5/25) Installing brotli-libs (1.0.9-r3) 22:24:23 (6/25) Installing nghttp2-libs (1.42.0-r1) 22:24:24 (7/25) Installing libcurl (7.77.0-r1) 22:24:24 (8/25) Installing curl (7.77.0-r1) 22:24:24 (9/25) Installing libgcc (10.2.1_pre1-r3) 22:24:24 (10/25) Installing libstdc++ (10.2.1_pre1-r3) 22:24:24 (11/25) Installing binutils (2.35.2-r1) 22:24:25 (12/25) Installing libgomp (10.2.1_pre1-r3) 22:24:25 (13/25) Installing libatomic (10.2.1_pre1-r3) 22:24:25 (14/25) Installing libgphobos (10.2.1_pre1-r3) 22:24:26 (15/25) Installing gmp (6.2.1-r0) 22:24:26 (16/25) Installing isl22 (0.22-r0) 22:24:26 (17/25) Installing mpfr4 (4.1.0-r0) 22:24:26 (18/25) Installing mpc1 (1.2.0-r0) 22:24:26 (19/25) Installing gcc (10.2.1_pre1-r3) 22:24:34 (20/25) Installing expat (2.2.10-r1) 22:24:34 (21/25) Installing pcre2 (10.36-r0) 22:24:34 (22/25) Installing git (2.30.2-r0) 22:24:35 (23/25) Installing linux-headers (5.7.8-r0) 22:24:35 (24/25) Installing make (4.3-r0) 22:24:35 (25/25) Installing musl-dev (1.2.2-r1) 22:24:36 Executing busybox-1.32.1-r6.trigger 22:24:36 OK: 138 MiB in 40 packages 22:24:36 Connecting to raw.githubusercontent.com (185.199.111.133:443) 22:24:37 writing to stdout 22:24:37 - 100% |********************************| 10739 0:00:00 ETA 22:24:37 written to stdout 22:24:37 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 22:24:37 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 22:24:39 golangci/golangci-lint info installed ./bin/golangci-lint 22:24:45 Removing intermediate container 9c44c4cca2c0 22:24:45 ---> 759f1ad00780 22:24:45 Step 8/9 : LABEL arch=arm64 22:24:45 ---> Running in d58d80534edb 22:24:45 Removing intermediate container d58d80534edb 22:24:45 ---> 260c7caf9ac6 22:24:45 Step 9/9 : LABEL git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 22:24:45 ---> Running in 49f364152cb5 22:24:46 Removing intermediate container 49f364152cb5 22:24:46 ---> f46f36de5a24 22:24:46 [Warning] One or more build-args [ARCH] were not consumed 22:24:46 Successfully built f46f36de5a24 22:24:46 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 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:24:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:24:48 ---> package-listing.sh 22:24:48 ++ facter osfamily 22:24:48 ++ tr '[:upper:]' '[:lower:]' 22:24:49 + OS_FAMILY=redhat 22:24:49 + workspace=/w/workspace/exfoundry_ci-build-images_PR-167 22:24:49 + START_PACKAGES=/tmp/packages_start.txt 22:24:49 + END_PACKAGES=/tmp/packages_end.txt 22:24:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:24:49 + PACKAGES=/tmp/packages_start.txt 22:24:49 + '[' /w/workspace/exfoundry_ci-build-images_PR-167 ']' 22:24:49 + PACKAGES=/tmp/packages_end.txt 22:24:49 + case "${OS_FAMILY}" in 22:24:49 + sort 22:24:49 + rpm -qa 22:24:49 + '[' -f /tmp/packages_start.txt ']' 22:24:49 + '[' -f /tmp/packages_end.txt ']' 22:24:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:24:49 + '[' /w/workspace/exfoundry_ci-build-images_PR-167 ']' 22:24:49 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-167/archives/ 22:24:49 + 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:24:49 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:24:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:24:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:24:50 22:24:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:24:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:24:50 alpine: Pulling from edgex-lftools-log-publisher 22:24:50 df20fa9351a1: Pulling fs layer 22:24:50 36b3adc4ff6f: Pulling fs layer 22:24:50 8ad3a11d3b57: Pulling fs layer 22:24:50 46f8f816bc3b: Pulling fs layer 22:24:50 93b61091891f: Pulling fs layer 22:24:50 93b9cdb0e59b: Pulling fs layer 22:24:50 5e14af77c1be: Pulling fs layer 22:24:50 01666e4c0597: Pulling fs layer 22:24:50 aa168da1d23b: Pulling fs layer 22:24:50 46f8f816bc3b: Waiting 22:24:50 93b61091891f: Waiting 22:24:50 93b9cdb0e59b: Waiting 22:24:50 5e14af77c1be: Waiting 22:24:50 01666e4c0597: Waiting 22:24:50 aa168da1d23b: Waiting 22:24:50 36b3adc4ff6f: Verifying Checksum 22:24:50 36b3adc4ff6f: Download complete 22:24:50 46f8f816bc3b: Verifying Checksum 22:24:50 46f8f816bc3b: Download complete 22:24:50 df20fa9351a1: Verifying Checksum 22:24:50 df20fa9351a1: Download complete 22:24:51 93b9cdb0e59b: Verifying Checksum 22:24:51 93b9cdb0e59b: Download complete 22:24:51 5e14af77c1be: Verifying Checksum 22:24:51 5e14af77c1be: Download complete 22:24:51 93b61091891f: Verifying Checksum 22:24:51 93b61091891f: Download complete 22:24:51 01666e4c0597: Verifying Checksum 22:24:51 01666e4c0597: Download complete 22:24:51 df20fa9351a1: Pull complete 22:24:51 36b3adc4ff6f: Pull complete 22:24:51 8ad3a11d3b57: Verifying Checksum 22:24:51 8ad3a11d3b57: Download complete 22:24:51 8ad3a11d3b57: Pull complete 22:24:51 46f8f816bc3b: Pull complete 22:24:52 93b61091891f: Pull complete 22:24:52 93b9cdb0e59b: Pull complete 22:24:52 5e14af77c1be: Pull complete 22:24:52 01666e4c0597: Pull complete 22:24:53 aa168da1d23b: Verifying Checksum 22:24:53 aa168da1d23b: Download complete 22:24:57 aa168da1d23b: Pull complete 22:24:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:24:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:24:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:24:57 prd-centos7-docker-4c-2g-2346 does not seem to be running inside a container 22:24:57 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:24:59 $ docker top 4dba90ecf37a633e4c57a9b55db0a5322dec973a49b8410eb428d541f09e8dc3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:59 + touch /tmp/pre-build-complete [Pipeline] sh 22:25:00 + mkdir -p /var/log/sa [Pipeline] sh 22:25:00 + ls /var/log/sa-host 22:25:00 + sadf -c /var/log/sa-host/sa05 22:25:00 file_magic: OK 22:25:00 HZ: Using current value: 100 22:25:00 file_header: OK 22:25:00 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:25:00 Statistics: 22:25:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:25:00 File successfully converted to sysstat format version 12.2.1 22:25:00 + sadf -c /var/log/sa-host/sa09 22:25:00 file_magic: OK 22:25:00 HZ: Using current value: 100 22:25:00 file_header: OK 22:25:00 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:25:00 Statistics: 22:25:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:25:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:00 provisioning config files... 22:25:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config6440632974388899655tmp [Pipeline] { [Pipeline] echo 22:25:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:25:00 ---> create-netrc.sh [Pipeline] } 22:25:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:25:01 ---> python-tools-install.sh [Pipeline] echo 22:25:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:25:01 ---> sudo-logs.sh 22:25:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:25:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:25:02 ---> job-cost.sh 22:25:02 lf-activate-venv: SKIPPING 22:25:02 INFO: No Stack... 22:25:02 INFO: Retrieving Pricing Info for: v3-standard-2 22:25:03 INFO: Archiving Costs [Pipeline] echo 22:25:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:25:03 ---> logs-deploy.sh 22:25:03 lf-activate-venv: SKIPPING 22:25:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-167/2 22:25:03 INFO: archiving workspace using pattern(s): 22:25:04 Archives upload complete. 22:25:04 INFO: archiving logs to Nexus 22:25:05 ---> uname -a: 22:25:05 Linux prd-centos7-docker-4c-2g-2346.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:25:05 22:25:05 22:25:05 ---> lscpu: 22:25:05 Architecture: x86_64 22:25:05 CPU op-mode(s): 32-bit, 64-bit 22:25:05 Byte Order: Little Endian 22:25:05 Address sizes: 40 bits physical, 48 bits virtual 22:25:05 CPU(s): 2 22:25:05 On-line CPU(s) list: 0,1 22:25:05 Thread(s) per core: 1 22:25:05 Core(s) per socket: 1 22:25:05 Socket(s): 2 22:25:05 NUMA node(s): 1 22:25:05 Vendor ID: AuthenticAMD 22:25:05 CPU family: 23 22:25:05 Model: 49 22:25:05 Model name: AMD EPYC-Rome Processor 22:25:05 Stepping: 0 22:25:05 CPU MHz: 2800.000 22:25:05 BogoMIPS: 5600.00 22:25:05 Virtualization: AMD-V 22:25:05 Hypervisor vendor: KVM 22:25:05 Virtualization type: full 22:25:05 L1d cache: 64 KiB 22:25:05 L1i cache: 64 KiB 22:25:05 L2 cache: 1 MiB 22:25:05 L3 cache: 32 MiB 22:25:05 NUMA node0 CPU(s): 0,1 22:25:05 Vulnerability Itlb multihit: Not affected 22:25:05 Vulnerability L1tf: Not affected 22:25:05 Vulnerability Mds: Not affected 22:25:05 Vulnerability Meltdown: Not affected 22:25:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:25:05 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:25:05 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:25:05 Vulnerability Srbds: Not affected 22:25:05 Vulnerability Tsx async abort: Not affected 22:25:05 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:25:05 22:25:05 22:25:05 ---> nproc: 22:25:05 2 22:25:05 22:25:05 22:25:05 ---> df -h: 22:25:05 Filesystem Size Used Available Use% Mounted on 22:25:05 overlay 40.0G 8.0G 32.0G 20% / 22:25:05 tmpfs 64.0M 0 64.0M 0% /dev 22:25:05 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 22:25:05 shm 64.0M 0 64.0M 0% /dev/shm 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /facter-os 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/resolv.conf 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/hostname 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/hosts 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/auth.log 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /run/cloud-init/result.json 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /w/workspace/exfoundry_ci-build-images_PR-167 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /w/workspace/exfoundry_ci-build-images_PR-167@tmp 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/sa-host 22:25:05 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/secure 22:25:05 22:25:05 22:25:05 ---> free -m: 22:25:05 total used free shared buff/cache available 22:25:05 Mem: 7821 971 4313 0 2536 6685 22:25:05 Swap: 1023 0 1023 22:25:05 22:25:05 22:25:05 ---> ip addr: 22:25:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:25:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:25:05 inet 127.0.0.1/8 scope host lo 22:25:05 valid_lft forever preferred_lft forever 22:25:05 inet6 ::1/128 scope host 22:25:05 valid_lft forever preferred_lft forever 22:25:05 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:25:05 link/ether fa:16:3e:0b:41:ab brd ff:ff:ff:ff:ff:ff 22:25:05 inet 10.30.123.120/23 brd 10.30.123.255 scope global dynamic eth0 22:25:05 valid_lft 86124sec preferred_lft 86124sec 22:25:05 inet6 fe80::f816:3eff:fe0b:41ab/64 scope link 22:25:05 valid_lft forever preferred_lft forever 22:25:05 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:25:05 link/ether 02:42:26:3b:9e:08 brd ff:ff:ff:ff:ff:ff 22:25:05 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:25:05 valid_lft forever preferred_lft forever 22:25:05 inet6 fe80::42:26ff:fe3b:9e08/64 scope link 22:25:05 valid_lft forever preferred_lft forever 22:25:05 22:25:05 22:25:05 ---> sar -b -r -n DEV: 22:25:05 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:25:05 22:25:05 22:20:19 LINUX RESTART (2 CPU) 22:25:05 22:25:05 22:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:25:05 22:22:01 96.69 0.52 96.17 0.00 330.71 24456.70 0.00 22:25:05 22:23:01 2.37 0.00 2.37 0.00 0.00 82.78 0.00 22:25:05 22:24:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 22:25:05 Average: 33.11 0.17 32.94 0.00 110.24 8181.39 0.00 22:25:05 22:25:05 22:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:25:05 22:22:01 4951772 0 864332 10.79 2620 2190208 1266664 13.98 613072 1993068 20 22:25:05 22:23:01 4957424 0 858672 10.72 2620 2190216 1218336 13.45 610308 1993036 16 22:25:05 22:24:01 4958008 0 858088 10.71 2620 2190216 1218360 13.45 603728 1999672 8 22:25:05 Average: 4955735 0 860364 10.74 2620 2190213 1234453 13.63 609036 1995259 15 22:25:05 22:25:05 22:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:25:05 22:22:01 eth0 713.99 562.74 3051.19 55.10 0.00 0.00 0.00 0.00 22:25:05 22:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:25:05 22:22:01 docker0 183.36 296.09 10.96 1144.08 0.00 0.00 0.00 0.00 22:25:05 22:23:01 eth0 0.65 0.15 0.19 0.01 0.00 0.00 0.00 0.00 22:25:05 22:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:25:05 22:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:25:05 22:24:01 eth0 0.52 0.35 0.27 0.20 0.00 0.00 0.00 0.00 22:25:05 22:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:25:05 22:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:25:05 Average: eth0 238.40 187.76 1017.27 18.44 0.00 0.00 0.00 0.00 22:25:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:25:05 Average: docker0 61.12 98.70 3.65 381.38 0.00 0.00 0.00 0.00 22:25:05 22:25:05 22:25:05 ---> sar -P ALL: 22:25:05 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:25:05 22:25:05 22:20:19 LINUX RESTART (2 CPU) 22:25:05 22:25:05 22:21:01 CPU %user %nice %system %iowait %steal %idle 22:25:05 22:22:01 all 7.16 0.00 3.61 1.44 0.06 87.73 22:25:05 22:22:01 0 7.73 0.00 4.06 1.77 0.05 86.38 22:25:05 22:22:01 1 6.59 0.00 3.16 1.11 0.07 89.07 22:25:05 22:23:01 all 0.12 0.00 0.03 0.00 0.03 99.82 22:25:05 22:23:01 0 0.18 0.00 0.02 0.00 0.02 99.78 22:25:05 22:23:01 1 0.05 0.00 0.05 0.00 0.03 99.87 22:25:05 22:24:01 all 0.11 0.00 0.04 0.00 0.03 99.82 22:25:05 22:24:01 0 0.17 0.00 0.05 0.00 0.02 99.77 22:25:05 22:24:01 1 0.05 0.00 0.03 0.00 0.05 99.87 22:25:05 Average: all 2.42 0.00 1.21 0.47 0.04 95.86 22:25:05 Average: 0 2.65 0.00 1.35 0.58 0.03 95.39 22:25:05 Average: 1 2.20 0.00 1.07 0.36 0.05 96.32 22:25:05 22:25:05 22:25:05