Pull request #166 event 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 604f2539255828ccb17d287bb85db4037b9550e5+ddb266506e6841fe637311df0315e08e3d2f3462 (a7e1ca5c51dcf915052ca9d49cbd9a37dc38ef08) 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-ssh8976275729987981048.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-ssh4539168680953509062.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-166/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-166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8210582468753107710.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-ssh1894595857140746117.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-166/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-166/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1433766938684229041.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-2335 in /w/workspace/exfoundry_ci-build-images_PR-166 [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-166 # 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-166@tmp/jenkins-gitclient-ssh7027459272691494514.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-166@tmp/jenkins-gitclient-ssh1830696467328242760.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 Merging remotes/origin/golang-1.16 commit ddb266506e6841fe637311df0315e08e3d2f3462 into PR head commit 604f2539255828ccb17d287bb85db4037b9550e5 Merge succeeded, producing 604f2539255828ccb17d287bb85db4037b9550e5 Checking out Revision 604f2539255828ccb17d287bb85db4037b9550e5 (PR-166) > git config core.sparsecheckout # timeout=10 > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # 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-166@tmp/jenkins-gitclient-ssh7861093894638138117.key > git merge ddb266506e6841fe637311df0315e08e3d2f3462 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 Commit message: "ci: add golangci linter" > git rev-list --no-walk 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:49:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:49:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:49:41 ========================================================= 21:49:41 EdgeX Global Pipelines Version Info 21:49:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:49:43 ------------------- 21:49:43 stable info: 21:49:43 ------------------- 21:49:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:49:43 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 21:49:43 Message: update stable to v1.0.196 21:49:43 ------------------- 21:49:43 experimental info: 21:49:43 ------------------- 21:49:43 Commited By: **** collab-it+edgex@linuxfoundation.org 21:49:43 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 21:49:43 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo 21:49:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 604f2539255828ccb17d287bb85db4037b9550e5 [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 604f253 [Pipeline] echo 21:49:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:44 provisioning config files... 21:49:44 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config6298368106971545714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:44 ---> docker-login.sh 21:49:44 nexus3.edgexfoundry.org:10001 21:49:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:44 Configure a credential helper to remove this warning. See 21:49:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:44 21:49:44 Login Succeeded 21:49:44 nexus3.edgexfoundry.org:10002 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 nexus3.edgexfoundry.org:10003 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 nexus3.edgexfoundry.org:10004 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 docker.io 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 ---> docker-login.sh ends [Pipeline] } 21:49:45 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 21:49:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:49:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:49:46 + sudo service docker restart 21:49:46 + true 21:49:46 Redirecting to /bin/systemctl restart docker.service 21:50:00 Still waiting to schedule task 21:50:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:05 provisioning config files... 21:50:05 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config5432458661533183385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:05 ---> docker-login.sh 21:50:05 nexus3.edgexfoundry.org:10001 21:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:05 Configure a credential helper to remove this warning. See 21:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:05 21:50:05 Login Succeeded 21:50:05 nexus3.edgexfoundry.org:10002 21:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:05 Configure a credential helper to remove this warning. See 21:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:05 21:50:05 Login Succeeded 21:50:05 nexus3.edgexfoundry.org:10003 21:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:05 Configure a credential helper to remove this warning. See 21:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:05 21:50:05 Login Succeeded 21:50:05 nexus3.edgexfoundry.org:10004 21:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:05 Configure a credential helper to remove this warning. See 21:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:05 21:50:05 Login Succeeded 21:50:05 docker.io 21:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:06 Configure a credential helper to remove this warning. See 21:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:06 21:50:06 Login Succeeded 21:50:06 ---> docker-login.sh ends [Pipeline] } 21:50:06 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 21:50:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:50:08 + ls -al . 21:50:08 total 12 21:50:08 drwxrwxr-x. 4 jenkins jenkins 91 Jul 9 21:49 . 21:50:08 drwxrwxr-x. 4 jenkins jenkins 112 Jul 9 21:49 .. 21:50:08 -rw-rw-r--. 1 jenkins jenkins 794 Jul 9 21:49 Dockerfile 21:50:08 drwxrwxr-x. 8 jenkins jenkins 179 Jul 9 21:49 .git 21:50:08 drwxrwxr-x. 2 jenkins jenkins 38 Jul 9 21:49 .github 21:50:08 -rw-rw-r--. 1 jenkins jenkins 585 Jul 9 21:49 .golangci.yml 21:50:08 -rw-rw-r--. 1 jenkins jenkins 913 Jul 9 21:49 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 21:50:08 + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=604f2539255828ccb17d287bb85db4037b9550e5 --label arch=amd64 . 21:50:08 Sending build context to Docker daemon 377.9kB 21:50:08 Step 1/9 : FROM golang:1.16.5-alpine3.13 21:50:09 1.16.5-alpine3.13: Pulling from library/golang 21:50:09 540db60ca938: Pulling fs layer 21:50:09 adcc1eea9eea: Pulling fs layer 21:50:09 4c4ab2625f07: Pulling fs layer 21:50:09 0773c198feca: Pulling fs layer 21:50:09 345f892a5656: Pulling fs layer 21:50:09 0773c198feca: Waiting 21:50:09 345f892a5656: Waiting 21:50:09 4c4ab2625f07: Verifying Checksum 21:50:09 4c4ab2625f07: Download complete 21:50:09 540db60ca938: Verifying Checksum 21:50:09 540db60ca938: Download complete 21:50:09 adcc1eea9eea: Verifying Checksum 21:50:09 adcc1eea9eea: Download complete 21:50:09 345f892a5656: Verifying Checksum 21:50:09 345f892a5656: Download complete 21:50:09 540db60ca938: Pull complete 21:50:09 adcc1eea9eea: Pull complete 21:50:09 4c4ab2625f07: Pull complete 21:50:10 0773c198feca: Retrying in 5 seconds 21:50:11 0773c198feca: Retrying in 4 seconds 21:50:12 0773c198feca: Retrying in 3 seconds 21:50:13 0773c198feca: Retrying in 2 seconds 21:50:14 0773c198feca: Retrying in 1 second 21:50:15 0773c198feca: Verifying Checksum 21:50:15 0773c198feca: Download complete 21:50:19 0773c198feca: Pull complete 21:50:19 345f892a5656: Pull complete 21:50:19 Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf 21:50:19 Status: Downloaded newer image for golang:1.16.5-alpine3.13 21:50:19 ---> f5b325add028 21:50:19 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 21:50:21 ---> Running in 84e040e992bd 21:50:21 Removing intermediate container 84e040e992bd 21:50:21 ---> 05d48834dd1f 21:50:21 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:50:21 ---> Running in 02bf2bbe3a7e 21:50:21 Removing intermediate container 02bf2bbe3a7e 21:50:21 ---> 05177626fa71 21:50:21 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 21:50:21 ---> Running in 4b6dfccf438e 21:50:21 Removing intermediate container 4b6dfccf438e 21:50:21 ---> e2227bbd45a6 21:50:21 Step 5/9 : ADD https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 /usr/local/bin/hadolint 21:50:22 21:50:22 21:50:22 ---> c377ffcd18b3 21:50:22 Step 6/9 : COPY ./.golangci.yml /etc/.golangci.yml 21:50:22 ---> 8040bb80a834 21:50:22 Step 7/9 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash && chmod +x /usr/local/bin/hadolint && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} 21:50:22 ---> Running in eb1559d835bb 21:50:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 21:50:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 21:50:24 (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) 21:50:24 (2/25) Installing ncurses-libs (6.2_p20210109-r0) 21:50:24 (3/25) Installing readline (8.1.0-r0) 21:50:24 (4/25) Installing bash (5.1.0-r0) 21:50:24 Executing bash-5.1.0-r0.post-install 21:50:24 (5/25) Installing brotli-libs (1.0.9-r3) 21:50:24 (6/25) Installing nghttp2-libs (1.42.0-r1) 21:50:25 (7/25) Installing libcurl (7.77.0-r1) 21:50:25 (8/25) Installing curl (7.77.0-r1) 21:50:25 (9/25) Installing libgcc (10.2.1_pre1-r3) 21:50:25 (10/25) Installing libstdc++ (10.2.1_pre1-r3) 21:50:25 (11/25) Installing binutils (2.35.2-r1) 21:50:26 (12/25) Installing libgomp (10.2.1_pre1-r3) 21:50:26 (13/25) Installing libatomic (10.2.1_pre1-r3) 21:50:26 (14/25) Installing libgphobos (10.2.1_pre1-r3) 21:50:27 (15/25) Installing gmp (6.2.1-r0) 21:50:27 (16/25) Installing isl22 (0.22-r0) 21:50:27 (17/25) Installing mpfr4 (4.1.0-r0) 21:50:28 (18/25) Installing mpc1 (1.2.0-r0) 21:50:28 (19/25) Installing gcc (10.2.1_pre1-r3) 21:50:36 (20/25) Installing expat (2.2.10-r1) 21:50:36 (21/25) Installing pcre2 (10.36-r0) 21:50:36 (22/25) Installing git (2.30.2-r0) 21:50:37 (23/25) Installing linux-headers (5.7.8-r0) 21:50:38 (24/25) Installing make (4.3-r0) 21:50:38 (25/25) Installing musl-dev (1.2.2-r1) 21:50:39 Executing busybox-1.32.1-r6.trigger 21:50:39 OK: 149 MiB in 40 packages 21:50:39 Connecting to raw.githubusercontent.com (185.199.108.133:443) 21:50:39 writing to stdout 21:50:39 - 100% |********************************| 10739 0:00:00 ETA 21:50:39 written to stdout 21:50:39 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 21:50:39 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 21:50:40 golangci/golangci-lint info installed ./bin/golangci-lint 21:50:44 Removing intermediate container eb1559d835bb 21:50:44 ---> 9f05e700b96e 21:50:44 Step 8/9 : LABEL arch=amd64 21:50:44 ---> Running in d7bc45b0f8a8 21:50:44 Removing intermediate container d7bc45b0f8a8 21:50:44 ---> 7daf78db2f29 21:50:44 Step 9/9 : LABEL git_sha=604f2539255828ccb17d287bb85db4037b9550e5 21:50:44 ---> Running in 08ecca401b1f 21:50:44 Removing intermediate container 08ecca401b1f 21:50:44 ---> 51451dc58411 21:50:44 [Warning] One or more build-args [ARCH] were not consumed 21:50:44 Successfully built 51451dc58411 21:50:44 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] } 21:52:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2337 in /w/workspace/exfoundry_ci-build-images_PR-166 [Pipeline] { [Pipeline] checkout 21:52:59 Selected Git installation does not exist. Using Default 21:52:59 The recommended git tool is: NONE 21:53:05 using credential edgex-jenkins-ssh 21:53:05 Cloning the remote Git repository 21:53:05 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 21:53:05 > git init /w/workspace/exfoundry_ci-build-images_PR-166 # timeout=10 21:53:05 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 21:53:05 > git --version # timeout=10 21:53:05 > git --version # 'git version 2.17.1' 21:53:05 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:53:06 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 21:53:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:53:06 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 21:53:06 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 21:53:06 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 21:53:06 Merging remotes/origin/golang-1.16 commit ddb266506e6841fe637311df0315e08e3d2f3462 into PR head commit 604f2539255828ccb17d287bb85db4037b9550e5 21:53:07 Merge succeeded, producing 604f2539255828ccb17d287bb85db4037b9550e5 21:53:07 Checking out Revision 604f2539255828ccb17d287bb85db4037b9550e5 (PR-166) 21:53:06 > git config core.sparsecheckout # timeout=10 21:53:06 > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 21:53:07 > git remote # timeout=10 21:53:07 > git config --get remote.origin.url # timeout=10 21:53:07 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:07 > git merge ddb266506e6841fe637311df0315e08e3d2f3462 # timeout=10 21:53:07 > git rev-parse HEAD^{commit} # timeout=10 21:53:07 > git config core.sparsecheckout # timeout=10 21:53:07 > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 21:53:11 Commit message: "ci: add golangci linter" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:53:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:53:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:53:13 + true 21:53:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:53:31 provisioning config files... 21:53:31 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config7397706126822260202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:32 ---> docker-login.sh 21:53:32 nexus3.edgexfoundry.org:10001 21:53:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:33 Configure a credential helper to remove this warning. See 21:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:33 21:53:33 Login Succeeded 21:53:33 nexus3.edgexfoundry.org:10002 21:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:33 Configure a credential helper to remove this warning. See 21:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:33 21:53:33 Login Succeeded 21:53:33 nexus3.edgexfoundry.org:10003 21:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:34 Configure a credential helper to remove this warning. See 21:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:34 21:53:34 Login Succeeded 21:53:34 nexus3.edgexfoundry.org:10004 21:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:35 Configure a credential helper to remove this warning. See 21:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:35 21:53:35 Login Succeeded 21:53:35 docker.io 21:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:35 Configure a credential helper to remove this warning. See 21:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:35 21:53:35 Login Succeeded 21:53:35 ---> docker-login.sh ends [Pipeline] } 21:53: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 21:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:53:36 + ls -al . 21:53:36 total 28 21:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 21:53 . 21:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 21:53 .. 21:53:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 21:53 .git 21:53:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 21:53 .github 21:53:36 -rw-rw-r-- 1 jenkins jenkins 585 Jul 9 21:53 .golangci.yml 21:53:36 -rw-rw-r-- 1 jenkins jenkins 794 Jul 9 21:53 Dockerfile 21:53:36 -rw-rw-r-- 1 jenkins jenkins 913 Jul 9 21:53 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 21:53:37 + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=604f2539255828ccb17d287bb85db4037b9550e5 --label arch=arm64 . 21:53:37 Sending build context to Docker daemon 376.8kB 21:53:37 Step 1/9 : FROM golang:1.16.5-alpine3.13 21:53:38 1.16.5-alpine3.13: Pulling from library/golang 21:53:38 595b0fe564bb: Pulling fs layer 21:53:38 24495759ef45: Pulling fs layer 21:53:38 d148012ef14d: Pulling fs layer 21:53:38 cb65c68fc2e2: Pulling fs layer 21:53:38 093eec477d81: Pulling fs layer 21:53:38 cb65c68fc2e2: Waiting 21:53:38 d148012ef14d: Verifying Checksum 21:53:38 d148012ef14d: Download complete 21:53:38 24495759ef45: Download complete 21:53:38 595b0fe564bb: Verifying Checksum 21:53:38 595b0fe564bb: Download complete 21:53:38 093eec477d81: Verifying Checksum 21:53:38 093eec477d81: Download complete 21:53:39 595b0fe564bb: Pull complete 21:53:39 24495759ef45: Pull complete 21:53:40 d148012ef14d: Pull complete 21:53:41 cb65c68fc2e2: Verifying Checksum 21:53:41 cb65c68fc2e2: Download complete 21:53:53 cb65c68fc2e2: Pull complete 21:53:53 093eec477d81: Pull complete 21:53:53 Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf 21:53:53 Status: Downloaded newer image for golang:1.16.5-alpine3.13 21:53:53 ---> 4ac5820bd72c 21:53:53 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 21:53:53 ---> Running in 086e69d2c56c 21:53:54 Removing intermediate container 086e69d2c56c 21:53:54 ---> 460e62c919d3 21:53:54 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:53:54 ---> Running in 8303cb95a673 21:53:56 Removing intermediate container 8303cb95a673 21:53:56 ---> 3c1ff792a954 21:53:56 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 21:53:56 ---> Running in 2d3eaf473e98 21:53:57 Removing intermediate container 2d3eaf473e98 21:53:57 ---> ad44ec6a42c5 21:53:57 Step 5/9 : ADD https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 /usr/local/bin/hadolint 21:53:57 21:53:57 21:53:58 ---> 35eb419d2e08 21:53:58 Step 6/9 : COPY ./.golangci.yml /etc/.golangci.yml 21:53:59 ---> ee86a2321711 21:53:59 Step 7/9 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash && chmod +x /usr/local/bin/hadolint && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} 21:53:59 ---> Running in 917225bb9f55 21:54:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 21:54:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 21:54:02 (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) 21:54:02 (2/25) Installing ncurses-libs (6.2_p20210109-r0) 21:54:02 (3/25) Installing readline (8.1.0-r0) 21:54:02 (4/25) Installing bash (5.1.0-r0) 21:54:02 Executing bash-5.1.0-r0.post-install 21:54:02 (5/25) Installing brotli-libs (1.0.9-r3) 21:54:03 (6/25) Installing nghttp2-libs (1.42.0-r1) 21:54:03 (7/25) Installing libcurl (7.77.0-r1) 21:54:03 (8/25) Installing curl (7.77.0-r1) 21:54:03 (9/25) Installing libgcc (10.2.1_pre1-r3) 21:54:03 (10/25) Installing libstdc++ (10.2.1_pre1-r3) 21:54:03 (11/25) Installing binutils (2.35.2-r1) 21:54:04 (12/25) Installing libgomp (10.2.1_pre1-r3) 21:54:04 (13/25) Installing libatomic (10.2.1_pre1-r3) 21:54:05 (14/25) Installing libgphobos (10.2.1_pre1-r3) 21:54:05 (15/25) Installing gmp (6.2.1-r0) 21:54:05 (16/25) Installing isl22 (0.22-r0) 21:54:06 (17/25) Installing mpfr4 (4.1.0-r0) 21:54:06 (18/25) Installing mpc1 (1.2.0-r0) 21:54:06 (19/25) Installing gcc (10.2.1_pre1-r3) 21:54:14 (20/25) Installing expat (2.2.10-r1) 21:54:14 (21/25) Installing pcre2 (10.36-r0) 21:54:14 (22/25) Installing git (2.30.2-r0) 21:54:16 (23/25) Installing linux-headers (5.7.8-r0) 21:54:16 (24/25) Installing make (4.3-r0) 21:54:16 (25/25) Installing musl-dev (1.2.2-r1) 21:54:17 Executing busybox-1.32.1-r6.trigger 21:54:17 OK: 138 MiB in 40 packages 21:54:17 Connecting to raw.githubusercontent.com (185.199.110.133:443) 21:54:17 writing to stdout 21:54:17 - 100% |********************************| 10739 0:00:00 ETA 21:54:17 written to stdout 21:54:17 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 21:54:18 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 21:54:19 golangci/golangci-lint info installed ./bin/golangci-lint 21:54:26 Removing intermediate container 917225bb9f55 21:54:26 ---> 05c9e67e0c39 21:54:26 Step 8/9 : LABEL arch=arm64 21:54:26 ---> Running in 2ce38646fbf6 21:54:27 Removing intermediate container 2ce38646fbf6 21:54:27 ---> e9052d08f094 21:54:27 Step 9/9 : LABEL git_sha=604f2539255828ccb17d287bb85db4037b9550e5 21:54:27 ---> Running in cbc6ab51b681 21:54:27 Removing intermediate container cbc6ab51b681 21:54:27 ---> e4b666bcf8e4 21:54:27 [Warning] One or more build-args [ARCH] were not consumed 21:54:27 Successfully built e4b666bcf8e4 21:54:27 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 21:54:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:54:29 ---> package-listing.sh 21:54:29 ++ facter osfamily 21:54:29 ++ tr '[:upper:]' '[:lower:]' 21:54:30 + OS_FAMILY=redhat 21:54:30 + workspace=/w/workspace/exfoundry_ci-build-images_PR-166 21:54:30 + START_PACKAGES=/tmp/packages_start.txt 21:54:30 + END_PACKAGES=/tmp/packages_end.txt 21:54:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:54:30 + PACKAGES=/tmp/packages_start.txt 21:54:30 + '[' /w/workspace/exfoundry_ci-build-images_PR-166 ']' 21:54:30 + PACKAGES=/tmp/packages_end.txt 21:54:30 + case "${OS_FAMILY}" in 21:54:30 + rpm -qa 21:54:30 + sort 21:54:30 + '[' -f /tmp/packages_start.txt ']' 21:54:30 + '[' -f /tmp/packages_end.txt ']' 21:54:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:54:30 + '[' /w/workspace/exfoundry_ci-build-images_PR-166 ']' 21:54:30 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-166/archives/ 21:54:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-166/archives/ [Pipeline] echo 21:54:30 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-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:54:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:54:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:54:31 21:54:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:54:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:54:32 alpine: Pulling from edgex-lftools-log-publisher 21:54:32 df20fa9351a1: Pulling fs layer 21:54:32 36b3adc4ff6f: Pulling fs layer 21:54:32 8ad3a11d3b57: Pulling fs layer 21:54:32 46f8f816bc3b: Pulling fs layer 21:54:32 93b61091891f: Pulling fs layer 21:54:32 93b9cdb0e59b: Pulling fs layer 21:54:32 5e14af77c1be: Pulling fs layer 21:54:32 01666e4c0597: Pulling fs layer 21:54:32 aa168da1d23b: Pulling fs layer 21:54:32 46f8f816bc3b: Waiting 21:54:32 93b61091891f: Waiting 21:54:32 93b9cdb0e59b: Waiting 21:54:32 5e14af77c1be: Waiting 21:54:32 01666e4c0597: Waiting 21:54:32 aa168da1d23b: Waiting 21:54:32 36b3adc4ff6f: Verifying Checksum 21:54:32 36b3adc4ff6f: Download complete 21:54:32 46f8f816bc3b: Verifying Checksum 21:54:32 46f8f816bc3b: Download complete 21:54:32 df20fa9351a1: Verifying Checksum 21:54:32 df20fa9351a1: Download complete 21:54:32 93b9cdb0e59b: Verifying Checksum 21:54:32 93b9cdb0e59b: Download complete 21:54:32 93b61091891f: Verifying Checksum 21:54:32 93b61091891f: Download complete 21:54:32 5e14af77c1be: Verifying Checksum 21:54:32 5e14af77c1be: Download complete 21:54:32 01666e4c0597: Verifying Checksum 21:54:32 01666e4c0597: Download complete 21:54:32 8ad3a11d3b57: Verifying Checksum 21:54:32 8ad3a11d3b57: Download complete 21:54:32 df20fa9351a1: Pull complete 21:54:32 36b3adc4ff6f: Pull complete 21:54:33 8ad3a11d3b57: Pull complete 21:54:33 46f8f816bc3b: Pull complete 21:54:33 93b61091891f: Pull complete 21:54:33 93b9cdb0e59b: Pull complete 21:54:33 5e14af77c1be: Pull complete 21:54:33 01666e4c0597: Pull complete 21:54:34 aa168da1d23b: Verifying Checksum 21:54:34 aa168da1d23b: Download complete 21:54:38 aa168da1d23b: Pull complete 21:54:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:54:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:54:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:54:38 prd-centos7-docker-4c-2g-2335 does not seem to be running inside a container 21:54:38 $ 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-166/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-166 -v /w/workspace/exfoundry_ci-build-images_PR-166:/w/workspace/exfoundry_ci-build-images_PR-166:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-166@tmp:/w/workspace/exfoundry_ci-build-images_PR-166@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 21:54:43 $ docker top b5654d2152b5518428103fc4b04ca26aa2a970b73162d2b8bcd3ea161c3b4b39 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:43 + touch /tmp/pre-build-complete [Pipeline] sh 21:54:43 + mkdir -p /var/log/sa [Pipeline] sh 21:54:44 + ls /var/log/sa-host 21:54:44 + sadf -c /var/log/sa-host/sa05 21:54:44 file_magic: OK 21:54:44 HZ: Using current value: 100 21:54:44 file_header: OK 21:54:44 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 21:54:44 Statistics: 21:54:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:54:44 File successfully converted to sysstat format version 12.2.1 21:54:44 + sadf -c /var/log/sa-host/sa09 21:54:44 file_magic: OK 21:54:44 HZ: Using current value: 100 21:54:44 file_header: OK 21:54:44 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 21:54:44 Statistics: 21:54:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:54:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:44 provisioning config files... 21:54:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config6045591085055271983tmp [Pipeline] { [Pipeline] echo 21:54:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:54:44 ---> create-netrc.sh [Pipeline] } 21:54:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:54:45 ---> python-tools-install.sh [Pipeline] echo 21:54:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:54:45 ---> sudo-logs.sh 21:54:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:54:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:54:45 ---> job-cost.sh 21:54:45 lf-activate-venv: SKIPPING 21:54:45 INFO: No Stack... 21:54:46 INFO: Retrieving Pricing Info for: v3-standard-2 21:54:47 INFO: Archiving Costs [Pipeline] echo 21:54:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:54:47 ---> logs-deploy.sh 21:54:47 lf-activate-venv: SKIPPING 21:54:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-166/2 21:54:47 INFO: archiving workspace using pattern(s): 21:54:48 Archives upload complete. 21:54:48 INFO: archiving logs to Nexus 21:54:49 ---> uname -a: 21:54:49 Linux prd-centos7-docker-4c-2g-2335.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 21:54:49 21:54:49 21:54:49 ---> lscpu: 21:54:49 Architecture: x86_64 21:54:49 CPU op-mode(s): 32-bit, 64-bit 21:54:49 Byte Order: Little Endian 21:54:49 Address sizes: 40 bits physical, 48 bits virtual 21:54:49 CPU(s): 2 21:54:49 On-line CPU(s) list: 0,1 21:54:49 Thread(s) per core: 1 21:54:49 Core(s) per socket: 1 21:54:49 Socket(s): 2 21:54:49 NUMA node(s): 1 21:54:49 Vendor ID: AuthenticAMD 21:54:49 CPU family: 23 21:54:49 Model: 49 21:54:49 Model name: AMD EPYC-Rome Processor 21:54:49 Stepping: 0 21:54:49 CPU MHz: 2799.998 21:54:49 BogoMIPS: 5599.99 21:54:49 Virtualization: AMD-V 21:54:49 Hypervisor vendor: KVM 21:54:49 Virtualization type: full 21:54:49 L1d cache: 64 KiB 21:54:49 L1i cache: 64 KiB 21:54:49 L2 cache: 1 MiB 21:54:49 L3 cache: 32 MiB 21:54:49 NUMA node0 CPU(s): 0,1 21:54:49 Vulnerability Itlb multihit: Not affected 21:54:49 Vulnerability L1tf: Not affected 21:54:49 Vulnerability Mds: Not affected 21:54:49 Vulnerability Meltdown: Not affected 21:54:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:54:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 21:54:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 21:54:49 Vulnerability Srbds: Not affected 21:54:49 Vulnerability Tsx async abort: Not affected 21:54:49 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 21:54:49 21:54:49 21:54:49 ---> nproc: 21:54:49 2 21:54:49 21:54:49 21:54:49 ---> df -h: 21:54:49 Filesystem Size Used Available Use% Mounted on 21:54:49 overlay 40.0G 8.0G 32.0G 20% / 21:54:49 tmpfs 64.0M 0 64.0M 0% /dev 21:54:49 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 21:54:49 shm 64.0M 0 64.0M 0% /dev/shm 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /facter-os 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/resolv.conf 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/hostname 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/hosts 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /w/workspace/exfoundry_ci-build-images_PR-166 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /w/workspace/exfoundry_ci-build-images_PR-166@tmp 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/sa-host 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/secure 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/auth.log 21:54:49 /dev/vda1 40.0G 8.0G 32.0G 20% /run/cloud-init/result.json 21:54:49 21:54:49 21:54:49 ---> free -m: 21:54:49 total used free shared buff/cache available 21:54:49 Mem: 7821 1011 4267 0 2542 6645 21:54:49 Swap: 1023 0 1023 21:54:49 21:54:49 21:54:49 ---> ip addr: 21:54:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:54:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:54:49 inet 127.0.0.1/8 scope host lo 21:54:49 valid_lft forever preferred_lft forever 21:54:49 inet6 ::1/128 scope host 21:54:49 valid_lft forever preferred_lft forever 21:54:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 21:54:49 link/ether fa:16:3e:b6:83:e3 brd ff:ff:ff:ff:ff:ff 21:54:49 inet 10.30.122.31/23 brd 10.30.123.255 scope global dynamic eth0 21:54:49 valid_lft 86063sec preferred_lft 86063sec 21:54:49 inet6 fe80::f816:3eff:feb6:83e3/64 scope link 21:54:49 valid_lft forever preferred_lft forever 21:54:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 21:54:49 link/ether 02:42:f8:ee:54:c4 brd ff:ff:ff:ff:ff:ff 21:54:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 21:54:49 valid_lft forever preferred_lft forever 21:54:49 inet6 fe80::42:f8ff:feee:54c4/64 scope link 21:54:49 valid_lft forever preferred_lft forever 21:54:49 21:54:49 21:54:49 ---> sar -b -r -n DEV: 21:54:49 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) 21:54:49 21:54:49 21:49:01 LINUX RESTART (2 CPU) 21:54:49 21:54:49 21:50:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:54:49 21:51:01 88.42 0.52 87.91 0.00 331.11 25385.19 0.00 21:54:49 21:52:01 0.23 0.00 0.23 0.00 0.00 3.12 0.00 21:54:49 21:53:01 0.28 0.00 0.28 0.00 0.00 3.60 0.00 21:54:49 21:54:01 0.20 0.00 0.20 0.00 0.00 2.70 0.00 21:54:49 Average: 22.29 0.13 22.16 0.00 82.79 6349.44 0.00 21:54:49 21:54:49 21:50:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:54:49 21:51:01 4953948 0 856492 10.69 2620 2195872 1239356 13.68 612468 1991604 16 21:54:49 21:52:01 4955968 0 854468 10.67 2620 2195876 1234204 13.63 611896 1991580 16 21:54:49 21:53:01 4956544 0 853884 10.66 2620 2195884 1202528 13.28 605508 1998204 16 21:54:49 21:54:01 4957492 0 852932 10.65 2620 2195888 1202336 13.27 604888 1998204 16 21:54:49 Average: 4955988 0 854444 10.67 2620 2195880 1219606 13.47 608690 1994898 16 21:54:49 21:54:49 21:50:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:54:49 21:51:01 eth0 754.76 576.07 3118.57 55.50 0.00 0.00 0.00 0.00 21:54:49 21:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:49 21:51:01 docker0 167.14 309.53 9.20 1050.18 0.00 0.00 0.00 0.00 21:54:49 21:52:01 eth0 1.48 0.60 0.44 0.22 0.00 0.00 0.00 0.00 21:54:49 21:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:49 21:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:49 21:53:01 eth0 0.53 0.37 0.27 0.17 0.00 0.00 0.00 0.00 21:54:49 21:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:49 21:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:49 21:54:01 eth0 0.17 0.10 0.01 0.04 0.00 0.00 0.00 0.00 21:54:49 21:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:49 21:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:49 Average: eth0 189.26 144.30 779.92 13.98 0.00 0.00 0.00 0.00 21:54:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:49 Average: docker0 41.79 77.39 2.30 262.58 0.00 0.00 0.00 0.00 21:54:49 21:54:49 21:54:49 ---> sar -P ALL: 21:54:49 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) 21:54:49 21:54:49 21:49:01 LINUX RESTART (2 CPU) 21:54:49 21:54:49 21:50:01 CPU %user %nice %system %iowait %steal %idle 21:54:49 21:51:01 all 6.96 0.00 3.49 4.25 0.07 85.23 21:54:49 21:51:01 0 7.65 0.00 3.97 4.84 0.07 83.47 21:54:49 21:51:01 1 6.27 0.00 3.01 3.68 0.07 86.97 21:54:49 21:52:01 all 0.13 0.00 0.03 0.00 0.02 99.82 21:54:49 21:52:01 0 0.23 0.00 0.03 0.00 0.03 99.70 21:54:49 21:52:01 1 0.03 0.00 0.03 0.00 0.00 99.93 21:54:49 21:53:01 all 0.10 0.00 0.02 0.00 0.04 99.84 21:54:49 21:53:01 0 0.17 0.00 0.02 0.00 0.05 99.77 21:54:49 21:53:01 1 0.03 0.00 0.02 0.00 0.03 99.92 21:54:49 21:54:01 all 0.05 0.00 0.02 0.00 0.03 99.90 21:54:49 21:54:01 0 0.07 0.00 0.02 0.00 0.03 99.88 21:54:49 21:54:01 1 0.03 0.00 0.02 0.00 0.03 99.92 21:54:49 Average: all 1.78 0.00 0.87 1.04 0.04 96.27 21:54:49 Average: 0 1.99 0.00 0.99 1.18 0.05 95.80 21:54:49 Average: 1 1.57 0.00 0.76 0.90 0.03 96.74 21:54:49 21:54:49 21:54:49