Pull request #166 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Waiting for GitHub to create a merge commit for pull request 166. Retrying 4 more times... 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: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3087903508548879539.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-ssh4017894906240793059.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-166/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4488705639351270587.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3640774774218449696.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3384093545400093288.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-166/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-166/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9201492780172379043.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.16-alpine, 1.16-alpine3.13], releaseBranchOverride:golang-1.16] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-golang-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-golang-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-golang-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: golang-1.16 DOCKER_CUSTOM_TAGS: 1.16-alpine 1.16-alpine3.13 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2334 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-ssh4889930598933168602.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-ssh7325952821152280457.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-ssh7859822033842272582.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" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:48:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:48:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:48:46 ========================================================= 21:48:46 EdgeX Global Pipelines Version Info 21:48:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:48:48 ------------------- 21:48:48 stable info: 21:48:48 ------------------- 21:48:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:48:48 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 21:48:48 Message: update stable to v1.0.196 21:48:48 ------------------- 21:48:48 experimental info: 21:48:48 ------------------- 21:48:48 Commited By: **** collab-it+edgex@linuxfoundation.org 21:48:48 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 21:48:48 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo 21:48:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo 21:48:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo 21:48:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo 21:48:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 604f2539255828ccb17d287bb85db4037b9550e5 [Pipeline] echo 21:48:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 604f253 [Pipeline] echo 21:48:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:48:50 provisioning config files... 21:48:50 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config4261964399434465891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:50 ---> docker-login.sh 21:48:50 nexus3.edgexfoundry.org:10001 21:48:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:51 Configure a credential helper to remove this warning. See 21:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:51 21:48:51 Login Succeeded 21:48:51 nexus3.edgexfoundry.org:10002 21:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:51 Configure a credential helper to remove this warning. See 21:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:51 21:48:51 Login Succeeded 21:48:51 nexus3.edgexfoundry.org:10003 21:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:51 Configure a credential helper to remove this warning. See 21:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:51 21:48:51 Login Succeeded 21:48:51 nexus3.edgexfoundry.org:10004 21:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:51 Configure a credential helper to remove this warning. See 21:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:51 21:48:51 Login Succeeded 21:48:51 docker.io 21:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:51 Configure a credential helper to remove this warning. See 21:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:51 21:48:51 Login Succeeded 21:48:51 ---> docker-login.sh ends [Pipeline] } 21:48:51 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:48:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:48:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:48:53 + sudo service docker restart 21:48:53 + true 21:48:53 Redirecting to /bin/systemctl restart docker.service 21:49:07 Still waiting to schedule task 21:49:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:12 provisioning config files... 21:49:12 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config1306470577394406377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:12 ---> docker-login.sh 21:49:12 nexus3.edgexfoundry.org:10001 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:12 Configure a credential helper to remove this warning. See 21:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:12 21:49:12 Login Succeeded 21:49:12 nexus3.edgexfoundry.org:10002 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:12 Configure a credential helper to remove this warning. See 21:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:12 21:49:12 Login Succeeded 21:49:12 nexus3.edgexfoundry.org:10003 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:12 Configure a credential helper to remove this warning. See 21:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:12 21:49:12 Login Succeeded 21:49:12 nexus3.edgexfoundry.org:10004 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:12 Configure a credential helper to remove this warning. See 21:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:12 21:49:12 Login Succeeded 21:49:12 docker.io 21:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:13 Configure a credential helper to remove this warning. See 21:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:13 21:49:13 Login Succeeded 21:49:13 ---> docker-login.sh ends [Pipeline] } 21:49:13 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:49:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:49:17 + ls -al . 21:49:17 total 12 21:49:17 drwxrwxr-x. 4 jenkins jenkins 91 Jul 9 21:48 . 21:49:17 drwxrwxr-x. 4 jenkins jenkins 112 Jul 9 21:48 .. 21:49:17 -rw-rw-r--. 1 jenkins jenkins 794 Jul 9 21:48 Dockerfile 21:49:17 drwxrwxr-x. 8 jenkins jenkins 179 Jul 9 21:48 .git 21:49:17 drwxrwxr-x. 2 jenkins jenkins 38 Jul 9 21:48 .github 21:49:17 -rw-rw-r--. 1 jenkins jenkins 585 Jul 9 21:48 .golangci.yml 21:49:17 -rw-rw-r--. 1 jenkins jenkins 913 Jul 9 21:48 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 21:49:18 + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=604f2539255828ccb17d287bb85db4037b9550e5 --label arch=amd64 . 21:49:18 Sending build context to Docker daemon 377.9kB 21:49:18 Step 1/9 : FROM golang:1.16.5-alpine3.13 21:49:18 1.16.5-alpine3.13: Pulling from library/golang 21:49:18 540db60ca938: Pulling fs layer 21:49:18 adcc1eea9eea: Pulling fs layer 21:49:18 4c4ab2625f07: Pulling fs layer 21:49:18 0773c198feca: Pulling fs layer 21:49:18 345f892a5656: Pulling fs layer 21:49:18 0773c198feca: Waiting 21:49:18 345f892a5656: Waiting 21:49:19 4c4ab2625f07: Verifying Checksum 21:49:19 4c4ab2625f07: Download complete 21:49:19 adcc1eea9eea: Verifying Checksum 21:49:19 adcc1eea9eea: Download complete 21:49:19 345f892a5656: Download complete 21:49:19 540db60ca938: Pull complete 21:49:19 adcc1eea9eea: Pull complete 21:49:19 4c4ab2625f07: Pull complete 21:49:20 0773c198feca: Verifying Checksum 21:49:20 0773c198feca: Download complete 21:49:23 0773c198feca: Pull complete 21:49:23 345f892a5656: Pull complete 21:49:23 Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf 21:49:23 Status: Downloaded newer image for golang:1.16.5-alpine3.13 21:49:23 ---> f5b325add028 21:49:23 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 21:49:25 ---> Running in a67404c622aa 21:49:25 Removing intermediate container a67404c622aa 21:49:25 ---> 32eed9d2e2b6 21:49:25 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:49:26 ---> Running in 74e8efbd207f 21:49:26 Removing intermediate container 74e8efbd207f 21:49:26 ---> 3fdbb8159d31 21:49:26 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 21:49:26 ---> Running in 391aa6c02647 21:49:26 Removing intermediate container 391aa6c02647 21:49:26 ---> ed29cfd7d4de 21:49:26 Step 5/9 : ADD https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 /usr/local/bin/hadolint 21:49:27 21:49:27 21:49:27 ---> a57a5985d282 21:49:27 Step 6/9 : COPY ./.golangci.yml /etc/.golangci.yml 21:49:27 ---> a1b1d5a08c04 21:49:27 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:49:27 ---> Running in c5b04966a7d7 21:49:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 21:49:28 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 21:49:29 (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) 21:49:29 (2/25) Installing ncurses-libs (6.2_p20210109-r0) 21:49:29 (3/25) Installing readline (8.1.0-r0) 21:49:29 (4/25) Installing bash (5.1.0-r0) 21:49:30 Executing bash-5.1.0-r0.post-install 21:49:30 (5/25) Installing brotli-libs (1.0.9-r3) 21:49:30 (6/25) Installing nghttp2-libs (1.42.0-r1) 21:49:30 (7/25) Installing libcurl (7.77.0-r1) 21:49:30 (8/25) Installing curl (7.77.0-r1) 21:49:30 (9/25) Installing libgcc (10.2.1_pre1-r3) 21:49:30 (10/25) Installing libstdc++ (10.2.1_pre1-r3) 21:49:31 (11/25) Installing binutils (2.35.2-r1) 21:49:31 (12/25) Installing libgomp (10.2.1_pre1-r3) 21:49:31 (13/25) Installing libatomic (10.2.1_pre1-r3) 21:49:32 (14/25) Installing libgphobos (10.2.1_pre1-r3) 21:49:32 (15/25) Installing gmp (6.2.1-r0) 21:49:32 (16/25) Installing isl22 (0.22-r0) 21:49:32 (17/25) Installing mpfr4 (4.1.0-r0) 21:49:33 (18/25) Installing mpc1 (1.2.0-r0) 21:49:33 (19/25) Installing gcc (10.2.1_pre1-r3) 21:49:41 (20/25) Installing expat (2.2.10-r1) 21:49:41 (21/25) Installing pcre2 (10.36-r0) 21:49:41 (22/25) Installing git (2.30.2-r0) 21:49:43 (23/25) Installing linux-headers (5.7.8-r0) 21:49:43 (24/25) Installing make (4.3-r0) 21:49:43 (25/25) Installing musl-dev (1.2.2-r1) 21:49:44 Executing busybox-1.32.1-r6.trigger 21:49:44 OK: 149 MiB in 40 packages 21:49:44 Connecting to raw.githubusercontent.com (185.199.109.133:443) 21:49:44 writing to stdout 21:49:44 - 100% |********************************| 10739 0:00:00 ETA 21:49:44 written to stdout 21:49:44 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 21:49:44 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 21:49:45 golangci/golangci-lint info installed ./bin/golangci-lint 21:49:48 Removing intermediate container c5b04966a7d7 21:49:48 ---> 13b42b9b9868 21:49:48 Step 8/9 : LABEL arch=amd64 21:49:48 ---> Running in 5f3b9e2e47ce 21:49:48 Removing intermediate container 5f3b9e2e47ce 21:49:48 ---> 401911b1658b 21:49:48 Step 9/9 : LABEL git_sha=604f2539255828ccb17d287bb85db4037b9550e5 21:49:48 ---> Running in c7c5ed110ff9 21:49:48 Removing intermediate container c7c5ed110ff9 21:49:48 ---> 02553fdac8c0 21:49:48 [Warning] One or more build-args [ARCH] were not consumed 21:49:48 Successfully built 02553fdac8c0 21:49:48 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:51:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2336 in /w/workspace/exfoundry_ci-build-images_PR-166 [Pipeline] { [Pipeline] checkout 21:51:14 Selected Git installation does not exist. Using Default 21:51:14 The recommended git tool is: NONE 21:51:20 using credential edgex-jenkins-ssh 21:51:20 Cloning the remote Git repository 21:51:20 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 21:51:20 > git init /w/workspace/exfoundry_ci-build-images_PR-166 # timeout=10 21:51:20 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 21:51:20 > git --version # timeout=10 21:51:20 > git --version # 'git version 2.17.1' 21:51:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:21 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 21:51:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:21 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 21:51:21 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 21:51:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:21 > 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:51:22 Merging remotes/origin/golang-1.16 commit ddb266506e6841fe637311df0315e08e3d2f3462 into PR head commit 604f2539255828ccb17d287bb85db4037b9550e5 21:51:22 Merge succeeded, producing 604f2539255828ccb17d287bb85db4037b9550e5 21:51:22 Checking out Revision 604f2539255828ccb17d287bb85db4037b9550e5 (PR-166) 21:51:22 > git config core.sparsecheckout # timeout=10 21:51:22 > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 21:51:22 > git remote # timeout=10 21:51:22 > git config --get remote.origin.url # timeout=10 21:51:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:22 > git merge ddb266506e6841fe637311df0315e08e3d2f3462 # timeout=10 21:51:22 > git rev-parse HEAD^{commit} # timeout=10 21:51:22 > git config core.sparsecheckout # timeout=10 21:51:22 > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 21:51:26 Commit message: "ci: add golangci linter" 21:51:26 > git --version # timeout=10 21:51:26 > git --version # 'git version 2.17.1' 21:51:26 fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:51:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:51:29 + true 21:51:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:47 provisioning config files... 21:51:47 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config6745114645500654135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:48 ---> docker-login.sh 21:51:48 nexus3.edgexfoundry.org:10001 21:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:49 Configure a credential helper to remove this warning. See 21:51:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:49 21:51:49 Login Succeeded 21:51:49 nexus3.edgexfoundry.org:10002 21:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:49 Configure a credential helper to remove this warning. See 21:51:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:49 21:51:49 Login Succeeded 21:51:49 nexus3.edgexfoundry.org:10003 21:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:50 Configure a credential helper to remove this warning. See 21:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:50 21:51:50 Login Succeeded 21:51:50 nexus3.edgexfoundry.org:10004 21:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:51 Configure a credential helper to remove this warning. See 21:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:51 21:51:51 Login Succeeded 21:51:51 docker.io 21:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:51 Configure a credential helper to remove this warning. See 21:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:51 21:51:51 Login Succeeded 21:51:51 ---> docker-login.sh ends [Pipeline] } 21:51:51 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:51:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:53 + ls -al . 21:51:53 total 28 21:51:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 21:51 . 21:51:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 21:51 .. 21:51:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 21:51 .git 21:51:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 21:51 .github 21:51:53 -rw-rw-r-- 1 jenkins jenkins 585 Jul 9 21:51 .golangci.yml 21:51:53 -rw-rw-r-- 1 jenkins jenkins 794 Jul 9 21:51 Dockerfile 21:51:53 -rw-rw-r-- 1 jenkins jenkins 913 Jul 9 21:51 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 21:51:53 + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=604f2539255828ccb17d287bb85db4037b9550e5 --label arch=arm64 . 21:51:53 Sending build context to Docker daemon 376.8kB 21:51:53 Step 1/9 : FROM golang:1.16.5-alpine3.13 21:51:54 1.16.5-alpine3.13: Pulling from library/golang 21:51:54 595b0fe564bb: Pulling fs layer 21:51:54 24495759ef45: Pulling fs layer 21:51:54 d148012ef14d: Pulling fs layer 21:51:54 cb65c68fc2e2: Pulling fs layer 21:51:54 093eec477d81: Pulling fs layer 21:51:54 093eec477d81: Waiting 21:51:54 cb65c68fc2e2: Waiting 21:51:54 24495759ef45: Download complete 21:51:55 d148012ef14d: Verifying Checksum 21:51:55 d148012ef14d: Download complete 21:51:55 595b0fe564bb: Download complete 21:51:55 093eec477d81: Verifying Checksum 21:51:55 093eec477d81: Download complete 21:51:57 595b0fe564bb: Pull complete 21:51:57 24495759ef45: Pull complete 21:51:58 d148012ef14d: Pull complete 21:51:59 cb65c68fc2e2: Verifying Checksum 21:51:59 cb65c68fc2e2: Download complete 21:52:09 cb65c68fc2e2: Pull complete 21:52:09 093eec477d81: Pull complete 21:52:09 Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf 21:52:09 Status: Downloaded newer image for golang:1.16.5-alpine3.13 21:52:09 ---> 4ac5820bd72c 21:52:09 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 21:52:11 ---> Running in 1c89716f1cfd 21:52:11 Removing intermediate container 1c89716f1cfd 21:52:11 ---> 65a11a48fedb 21:52:11 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:52:11 ---> Running in a45a7806092b 21:52:14 Removing intermediate container a45a7806092b 21:52:14 ---> b61962f6c6ca 21:52:14 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 21:52:14 ---> Running in f15143561b5b 21:52:14 Removing intermediate container f15143561b5b 21:52:14 ---> 5f35b68f6589 21:52:14 Step 5/9 : ADD https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 /usr/local/bin/hadolint 21:52:14 21:52:14 21:52:15 ---> cb27b8176a5e 21:52:15 Step 6/9 : COPY ./.golangci.yml /etc/.golangci.yml 21:52:16 ---> e75d1a327daa 21:52:16 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:52:16 ---> Running in 772ef3bdcb48 21:52:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 21:52:18 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 21:52:19 (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) 21:52:19 (2/25) Installing ncurses-libs (6.2_p20210109-r0) 21:52:19 (3/25) Installing readline (8.1.0-r0) 21:52:20 (4/25) Installing bash (5.1.0-r0) 21:52:20 Executing bash-5.1.0-r0.post-install 21:52:20 (5/25) Installing brotli-libs (1.0.9-r3) 21:52:20 (6/25) Installing nghttp2-libs (1.42.0-r1) 21:52:20 (7/25) Installing libcurl (7.77.0-r1) 21:52:20 (8/25) Installing curl (7.77.0-r1) 21:52:20 (9/25) Installing libgcc (10.2.1_pre1-r3) 21:52:21 (10/25) Installing libstdc++ (10.2.1_pre1-r3) 21:52:21 (11/25) Installing binutils (2.35.2-r1) 21:52:22 (12/25) Installing libgomp (10.2.1_pre1-r3) 21:52:22 (13/25) Installing libatomic (10.2.1_pre1-r3) 21:52:22 (14/25) Installing libgphobos (10.2.1_pre1-r3) 21:52:22 (15/25) Installing gmp (6.2.1-r0) 21:52:22 (16/25) Installing isl22 (0.22-r0) 21:52:23 (17/25) Installing mpfr4 (4.1.0-r0) 21:52:23 (18/25) Installing mpc1 (1.2.0-r0) 21:52:23 (19/25) Installing gcc (10.2.1_pre1-r3) 21:52:33 (20/25) Installing expat (2.2.10-r1) 21:52:33 (21/25) Installing pcre2 (10.36-r0) 21:52:33 (22/25) Installing git (2.30.2-r0) 21:52:35 (23/25) Installing linux-headers (5.7.8-r0) 21:52:36 (24/25) Installing make (4.3-r0) 21:52:36 (25/25) Installing musl-dev (1.2.2-r1) 21:52:37 Executing busybox-1.32.1-r6.trigger 21:52:37 OK: 138 MiB in 40 packages 21:52:37 Connecting to raw.githubusercontent.com (185.199.109.133:443) 21:52:37 writing to stdout 21:52:37 - 100% |********************************| 10739 0:00:00 ETA 21:52:37 written to stdout 21:52:37 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 21:52:37 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 21:52:39 golangci/golangci-lint info installed ./bin/golangci-lint 21:52:46 Removing intermediate container 772ef3bdcb48 21:52:46 ---> d724b316779d 21:52:46 Step 8/9 : LABEL arch=arm64 21:52:46 ---> Running in d08ed2c387f0 21:52:46 Removing intermediate container d08ed2c387f0 21:52:46 ---> ad56360ebe34 21:52:46 Step 9/9 : LABEL git_sha=604f2539255828ccb17d287bb85db4037b9550e5 21:52:46 ---> Running in 5c6da0eca38d 21:52:47 Removing intermediate container 5c6da0eca38d 21:52:47 ---> bd43edb8101a 21:52:47 [Warning] One or more build-args [ARCH] were not consumed 21:52:47 Successfully built bd43edb8101a 21:52:47 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:52:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:52:50 ---> package-listing.sh 21:52:50 ++ facter osfamily 21:52:50 ++ tr '[:upper:]' '[:lower:]' 21:52:50 + OS_FAMILY=redhat 21:52:50 + workspace=/w/workspace/exfoundry_ci-build-images_PR-166 21:52:50 + START_PACKAGES=/tmp/packages_start.txt 21:52:50 + END_PACKAGES=/tmp/packages_end.txt 21:52:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:52:50 + PACKAGES=/tmp/packages_start.txt 21:52:50 + '[' /w/workspace/exfoundry_ci-build-images_PR-166 ']' 21:52:50 + PACKAGES=/tmp/packages_end.txt 21:52:50 + case "${OS_FAMILY}" in 21:52:50 + sort 21:52:50 + rpm -qa 21:52:51 + '[' -f /tmp/packages_start.txt ']' 21:52:51 + '[' -f /tmp/packages_end.txt ']' 21:52:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:52:51 + '[' /w/workspace/exfoundry_ci-build-images_PR-166 ']' 21:52:51 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-166/archives/ 21:52:51 + 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:52:51 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:52:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:52:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:52:52 21:52:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:52:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:52:52 alpine: Pulling from edgex-lftools-log-publisher 21:52:52 df20fa9351a1: Pulling fs layer 21:52:52 36b3adc4ff6f: Pulling fs layer 21:52:52 8ad3a11d3b57: Pulling fs layer 21:52:52 46f8f816bc3b: Pulling fs layer 21:52:52 93b61091891f: Pulling fs layer 21:52:52 93b9cdb0e59b: Pulling fs layer 21:52:52 5e14af77c1be: Pulling fs layer 21:52:52 01666e4c0597: Pulling fs layer 21:52:52 aa168da1d23b: Pulling fs layer 21:52:52 93b9cdb0e59b: Waiting 21:52:52 5e14af77c1be: Waiting 21:52:52 01666e4c0597: Waiting 21:52:52 aa168da1d23b: Waiting 21:52:52 46f8f816bc3b: Waiting 21:52:52 93b61091891f: Waiting 21:52:52 36b3adc4ff6f: Verifying Checksum 21:52:52 36b3adc4ff6f: Download complete 21:52:52 46f8f816bc3b: Verifying Checksum 21:52:52 46f8f816bc3b: Download complete 21:52:53 df20fa9351a1: Verifying Checksum 21:52:53 df20fa9351a1: Download complete 21:52:53 93b61091891f: Verifying Checksum 21:52:53 93b61091891f: Download complete 21:52:53 93b9cdb0e59b: Verifying Checksum 21:52:53 93b9cdb0e59b: Download complete 21:52:53 5e14af77c1be: Verifying Checksum 21:52:53 5e14af77c1be: Download complete 21:52:53 01666e4c0597: Verifying Checksum 21:52:53 01666e4c0597: Download complete 21:52:53 df20fa9351a1: Pull complete 21:52:53 36b3adc4ff6f: Pull complete 21:52:53 8ad3a11d3b57: Verifying Checksum 21:52:53 8ad3a11d3b57: Download complete 21:52:53 8ad3a11d3b57: Pull complete 21:52:53 46f8f816bc3b: Pull complete 21:52:54 93b61091891f: Pull complete 21:52:54 93b9cdb0e59b: Pull complete 21:52:54 5e14af77c1be: Pull complete 21:52:54 01666e4c0597: Pull complete 21:52:55 aa168da1d23b: Verifying Checksum 21:52:55 aa168da1d23b: Download complete 21:52:59 aa168da1d23b: Pull complete 21:52:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:52:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:52:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:52:59 prd-centos7-docker-4c-2g-2334 does not seem to be running inside a container 21:52:59 $ 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:53:01 $ docker top 1bb7b599e27cf7a63efc01c97d7915f23a3da2bb1543d0fff18105b3cc27dc63 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:02 + touch /tmp/pre-build-complete [Pipeline] sh 21:53:02 + mkdir -p /var/log/sa [Pipeline] sh 21:53:02 + ls /var/log/sa-host 21:53:02 + sadf -c /var/log/sa-host/sa05 21:53:02 file_magic: OK 21:53:02 HZ: Using current value: 100 21:53:02 file_header: OK 21:53:02 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:53:02 Statistics: 21:53:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:53:02 File successfully converted to sysstat format version 12.2.1 21:53:02 + sadf -c /var/log/sa-host/sa09 21:53:02 file_magic: OK 21:53:02 HZ: Using current value: 100 21:53:02 file_header: OK 21:53:02 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:53:02 Statistics: 21:53:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:53:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:53:03 provisioning config files... 21:53:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config2880098906073399962tmp [Pipeline] { [Pipeline] echo 21:53:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:53:04 ---> create-netrc.sh [Pipeline] } 21:53:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:53:04 ---> python-tools-install.sh [Pipeline] echo 21:53:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:53:04 ---> sudo-logs.sh 21:53:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:53:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:53:05 ---> job-cost.sh 21:53:05 lf-activate-venv: SKIPPING 21:53:05 INFO: No Stack... 21:53:06 INFO: Retrieving Pricing Info for: v3-standard-2 21:53:06 INFO: Archiving Costs [Pipeline] echo 21:53:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:53:06 ---> logs-deploy.sh 21:53:06 lf-activate-venv: SKIPPING 21:53:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-166/1 21:53:06 INFO: archiving workspace using pattern(s): 21:53:07 Archives upload complete. 21:53:07 INFO: archiving logs to Nexus 21:53:08 ---> uname -a: 21:53:08 Linux prd-centos7-docker-4c-2g-2334.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:53:08 21:53:08 21:53:08 ---> lscpu: 21:53:08 Architecture: x86_64 21:53:08 CPU op-mode(s): 32-bit, 64-bit 21:53:08 Byte Order: Little Endian 21:53:08 Address sizes: 40 bits physical, 48 bits virtual 21:53:08 CPU(s): 2 21:53:08 On-line CPU(s) list: 0,1 21:53:08 Thread(s) per core: 1 21:53:08 Core(s) per socket: 1 21:53:08 Socket(s): 2 21:53:08 NUMA node(s): 1 21:53:08 Vendor ID: AuthenticAMD 21:53:08 CPU family: 23 21:53:08 Model: 49 21:53:08 Model name: AMD EPYC-Rome Processor 21:53:08 Stepping: 0 21:53:08 CPU MHz: 2800.000 21:53:08 BogoMIPS: 5600.00 21:53:08 Virtualization: AMD-V 21:53:08 Hypervisor vendor: KVM 21:53:08 Virtualization type: full 21:53:08 L1d cache: 64 KiB 21:53:08 L1i cache: 64 KiB 21:53:08 L2 cache: 1 MiB 21:53:08 L3 cache: 32 MiB 21:53:08 NUMA node0 CPU(s): 0,1 21:53:08 Vulnerability Itlb multihit: Not affected 21:53:08 Vulnerability L1tf: Not affected 21:53:08 Vulnerability Mds: Not affected 21:53:08 Vulnerability Meltdown: Not affected 21:53:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:53:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 21:53:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 21:53:08 Vulnerability Srbds: Not affected 21:53:08 Vulnerability Tsx async abort: Not affected 21:53:08 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:53:08 21:53:08 21:53:08 ---> nproc: 21:53:08 2 21:53:08 21:53:08 21:53:08 ---> df -h: 21:53:08 Filesystem Size Used Available Use% Mounted on 21:53:08 overlay 40.0G 8.0G 32.0G 20% / 21:53:08 tmpfs 64.0M 0 64.0M 0% /dev 21:53:08 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 21:53:08 shm 64.0M 0 64.0M 0% /dev/shm 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /facter-os 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/resolv.conf 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/hostname 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /etc/hosts 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/secure 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/auth.log 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /run/cloud-init/result.json 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /w/workspace/exfoundry_ci-build-images_PR-166 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /w/workspace/exfoundry_ci-build-images_PR-166@tmp 21:53:08 /dev/vda1 40.0G 8.0G 32.0G 20% /var/log/sa-host 21:53:08 21:53:08 21:53:08 ---> free -m: 21:53:08 total used free shared buff/cache available 21:53:08 Mem: 7821 1004 4274 0 2542 6652 21:53:08 Swap: 1023 0 1023 21:53:08 21:53:08 21:53:08 ---> ip addr: 21:53:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:53:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:53:08 inet 127.0.0.1/8 scope host lo 21:53:08 valid_lft forever preferred_lft forever 21:53:08 inet6 ::1/128 scope host 21:53:08 valid_lft forever preferred_lft forever 21:53:08 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 21:53:08 link/ether fa:16:3e:29:d6:4f brd ff:ff:ff:ff:ff:ff 21:53:08 inet 10.30.123.76/23 brd 10.30.123.255 scope global dynamic eth0 21:53:08 valid_lft 86107sec preferred_lft 86107sec 21:53:08 inet6 fe80::f816:3eff:fe29:d64f/64 scope link 21:53:08 valid_lft forever preferred_lft forever 21:53:08 3: docker0: mtu 1500 qdisc noqueue state DOWN 21:53:08 link/ether 02:42:70:4a:aa:83 brd ff:ff:ff:ff:ff:ff 21:53:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 21:53:08 valid_lft forever preferred_lft forever 21:53:08 inet6 fe80::42:70ff:fe4a:aa83/64 scope link 21:53:08 valid_lft forever preferred_lft forever 21:53:08 21:53:08 21:53:08 ---> sar -b -r -n DEV: 21:53:08 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:53:08 21:53:08 21:48:04 LINUX RESTART (2 CPU) 21:53:08 21:53:08 21:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:53:08 21:50:01 93.06 0.50 92.56 0.00 330.52 25386.13 0.00 21:53:08 21:51:01 2.42 0.00 2.42 0.00 0.00 94.62 0.00 21:53:08 21:52:01 0.28 0.00 0.28 0.00 0.00 3.60 0.00 21:53:08 21:53:01 54.59 0.13 54.45 0.00 10.26 14633.44 0.00 21:53:08 Average: 37.59 0.16 37.43 0.00 85.21 10030.69 0.00 21:53:08 21:53:08 21:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:53:08 21:50:01 4952844 0 857616 10.71 2620 2195860 1242232 13.71 610004 1995156 16 21:53:08 21:51:01 4957976 0 852480 10.64 2620 2195864 1204184 13.29 607876 1995120 16 21:53:08 21:52:01 4956664 0 853784 10.66 2620 2195872 1204424 13.30 606720 1997836 16 21:53:08 21:53:01 4430196 0 975856 12.18 2620 2600268 1465788 16.18 804056 2259240 76 21:53:08 Average: 4824420 0 884934 11.05 2620 2296966 1279157 14.12 657164 2061838 31 21:53:08 21:53:08 21:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:53:08 21:50:01 eth0 711.01 586.91 3061.07 52.72 0.00 0.00 0.00 0.00 21:53:08 21:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:08 21:50:01 docker0 229.19 308.79 12.39 1049.07 0.00 0.00 0.00 0.00 21:53:08 21:51:01 eth0 0.62 0.23 0.06 0.02 0.00 0.00 0.00 0.00 21:53:08 21:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:08 21:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:08 21:52:01 eth0 1.12 0.37 0.32 0.20 0.00 0.00 0.00 0.00 21:53:08 21:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:08 21:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:08 21:53:01 eth0 189.56 168.43 2169.43 17.00 0.00 0.00 0.00 0.00 21:53:08 21:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:08 21:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:08 Average: eth0 225.60 189.01 1307.88 17.49 0.00 0.00 0.00 0.00 21:53:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:53:08 Average: docker0 57.31 77.21 3.10 262.30 0.00 0.00 0.00 0.00 21:53:08 21:53:08 21:53:08 ---> sar -P ALL: 21:53:08 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:53:08 21:53:08 21:48:04 LINUX RESTART (2 CPU) 21:53:08 21:53:08 21:49:01 CPU %user %nice %system %iowait %steal %idle 21:53:08 21:50:01 all 7.18 0.00 3.87 1.49 0.08 87.38 21:53:08 21:50:01 0 8.00 0.00 4.40 1.59 0.07 85.95 21:53:08 21:50:01 1 6.37 0.00 3.35 1.40 0.09 88.79 21:53:08 21:51:01 all 0.09 0.00 0.03 0.00 0.03 99.85 21:53:08 21:51:01 0 0.07 0.00 0.02 0.00 0.00 99.92 21:53:08 21:51:01 1 0.12 0.00 0.05 0.00 0.05 99.78 21:53:08 21:52:01 all 0.13 0.00 0.03 0.00 0.04 99.80 21:53:08 21:52:01 0 0.20 0.00 0.03 0.00 0.05 99.72 21:53:08 21:52:01 1 0.05 0.00 0.03 0.00 0.03 99.88 21:53:08 21:53:01 all 6.26 0.00 2.50 0.44 0.04 90.75 21:53:08 21:53:01 0 6.35 0.00 2.47 0.41 0.03 90.74 21:53:08 21:53:01 1 6.18 0.00 2.54 0.47 0.05 90.75 21:53:08 Average: all 3.38 0.00 1.59 0.48 0.05 94.50 21:53:08 Average: 0 3.61 0.00 1.70 0.49 0.04 94.16 21:53:08 Average: 1 3.15 0.00 1.48 0.46 0.05 94.85 21:53:08 21:53:08 21:53:08