Pull request #186 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from 6188ef22a24d6816de2af32ae2e57b00f9637501+8dbff7922d1b221651f0b16e872d16215c6a8218 (282dd47a26d75b7d67730a6e5177ad2a4e3a16ac) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10462540608934316787.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12181187109071461038.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-186/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-186/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6366742261757578096.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-186/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5900502266002161940.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12173431724412496072.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-186/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-186/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11896935330951146019.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-gcc-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-gcc-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1], releaseBranchOverride:gcc] ========================================================= [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-gcc-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-gcc-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-gcc-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: gcc DOCKER_CUSTOM_TAGS: 1 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5425 in /w/workspace/exfoundry_ci-build-images_PR-186 [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-186 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-186@tmp/jenkins-gitclient-ssh4051744128480149425.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-186@tmp/jenkins-gitclient-ssh2024514008868463635.key Merging remotes/origin/gcc commit 8dbff7922d1b221651f0b16e872d16215c6a8218 into PR head commit 6188ef22a24d6816de2af32ae2e57b00f9637501 Merge succeeded, producing 6188ef22a24d6816de2af32ae2e57b00f9637501 Checking out Revision 6188ef22a24d6816de2af32ae2e57b00f9637501 (PR-186) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/gcc:refs/remotes/origin/gcc # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6188ef22a24d6816de2af32ae2e57b00f9637501 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-186@tmp/jenkins-gitclient-ssh607076187820043600.key > git merge 8dbff7922d1b221651f0b16e872d16215c6a8218 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6188ef22a24d6816de2af32ae2e57b00f9637501 # timeout=10 Commit message: "ci: update to Alpine 3.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-17T15:50:24.020Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-17T15:50:24.188Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-17T15:50:24.280Z] ========================================================= [2022-02-17T15:50:24.280Z] EdgeX Global Pipelines Version Info [2022-02-17T15:50:24.280Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:50:25.476Z] ------------------- [2022-02-17T15:50:25.476Z] stable info: [2022-02-17T15:50:25.476Z] ------------------- [2022-02-17T15:50:25.476Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-17T15:50:25.476Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-17T15:50:25.476Z] Message: update stable to v1.0.220 [2022-02-17T15:50:26.051Z] ------------------- [2022-02-17T15:50:26.051Z] experimental info: [2022-02-17T15:50:26.051Z] ------------------- [2022-02-17T15:50:26.051Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-17T15:50:26.051Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-17T15:50:26.051Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-02-17T15:50:26.336Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-02-17T15:50:26.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo [2022-02-17T15:50:26.393Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-02-17T15:50:26.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-17T15:50:26.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-17T15:50:26.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo [2022-02-17T15:50:26.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-02-17T15:50:26.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-02-17T15:50:26.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-02-17T15:50:26.626Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-17T15:50:26.658Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-02-17T15:50:26.691Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo [2022-02-17T15:50:26.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-17T15:50:26.756Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-17T15:50:26.787Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo [2022-02-17T15:50:26.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1 [Pipeline] echo [2022-02-17T15:50:26.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo [2022-02-17T15:50:26.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo [2022-02-17T15:50:26.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo [2022-02-17T15:50:26.952Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6188ef22a24d6816de2af32ae2e57b00f9637501 [Pipeline] echo [2022-02-17T15:50:26.984Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6188ef2 [Pipeline] echo [2022-02-17T15:50:27.017Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-17T15:50:27.121Z] provisioning config files... [2022-02-17T15:50:27.137Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-186@tmp/config1800855584848301338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:50:27.478Z] ---> docker-login.sh [2022-02-17T15:50:27.478Z] nexus3.edgexfoundry.org:10001 [2022-02-17T15:50:27.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:27.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:27.740Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:27.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:27.740Z] [2022-02-17T15:50:27.740Z] Login Succeeded [2022-02-17T15:50:27.740Z] nexus3.edgexfoundry.org:10002 [2022-02-17T15:50:27.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:27.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:27.740Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:27.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:27.740Z] [2022-02-17T15:50:27.740Z] Login Succeeded [2022-02-17T15:50:27.740Z] nexus3.edgexfoundry.org:10003 [2022-02-17T15:50:27.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:27.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:27.740Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:27.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:27.740Z] [2022-02-17T15:50:27.740Z] Login Succeeded [2022-02-17T15:50:27.740Z] nexus3.edgexfoundry.org:10004 [2022-02-17T15:50:28.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:28.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:28.000Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:28.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:28.000Z] [2022-02-17T15:50:28.000Z] Login Succeeded [2022-02-17T15:50:28.000Z] docker.io [2022-02-17T15:50:28.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:28.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:28.264Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:28.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:28.264Z] [2022-02-17T15:50:28.264Z] Login Succeeded [2022-02-17T15:50:28.264Z] ---> docker-login.sh ends [Pipeline] } [2022-02-17T15:50:28.289Z] 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] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-17T15:50:29.085Z] provisioning config files... [2022-02-17T15:50:29.097Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-186@tmp/config4844379545757845765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:50:29.450Z] ---> docker-login.sh [2022-02-17T15:50:29.450Z] nexus3.edgexfoundry.org:10001 [2022-02-17T15:50:29.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:29.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:29.450Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:29.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:29.450Z] [2022-02-17T15:50:29.450Z] Login Succeeded [2022-02-17T15:50:29.450Z] nexus3.edgexfoundry.org:10002 [2022-02-17T15:50:29.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:29.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:29.713Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:29.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:29.713Z] [2022-02-17T15:50:29.713Z] Login Succeeded [2022-02-17T15:50:29.713Z] nexus3.edgexfoundry.org:10003 [2022-02-17T15:50:29.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:29.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:29.713Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:29.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:29.713Z] [2022-02-17T15:50:29.713Z] Login Succeeded [2022-02-17T15:50:29.713Z] nexus3.edgexfoundry.org:10004 [2022-02-17T15:50:29.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:29.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:29.713Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:29.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:29.713Z] [2022-02-17T15:50:29.713Z] Login Succeeded [2022-02-17T15:50:29.713Z] docker.io [2022-02-17T15:50:29.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:50:30.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:50:30.242Z] Configure a credential helper to remove this warning. See [2022-02-17T15:50:30.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:50:30.242Z] [2022-02-17T15:50:30.242Z] Login Succeeded [2022-02-17T15:50:30.242Z] ---> docker-login.sh ends [Pipeline] } [2022-02-17T15:50:30.269Z] 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 [2022-02-17T15:50:31.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-17T15:50:32.208Z] + ls -al . [2022-02-17T15:50:32.208Z] total 8 [2022-02-17T15:50:32.208Z] drwxrwxr-x. 3 jenkins jenkins 55 Feb 17 15:50 . [2022-02-17T15:50:32.208Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 17 15:50 .. [2022-02-17T15:50:32.208Z] -rw-rw-r--. 1 jenkins jenkins 401 Feb 17 15:50 Dockerfile [2022-02-17T15:50:32.208Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 17 15:50 .git [2022-02-17T15:50:32.208Z] -rw-rw-r--. 1 jenkins jenkins 883 Feb 17 15:50 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-02-17T15:50:32.656Z] + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=6188ef22a24d6816de2af32ae2e57b00f9637501 --label arch=amd64 . [2022-02-17T15:50:32.657Z] Sending build context to Docker daemon 413.2kB [2022-02-17T15:50:32.657Z] Step 1/6 : FROM alpine:3.15 [2022-02-17T15:50:33.231Z] 3.15: Pulling from library/alpine [2022-02-17T15:50:33.498Z] 59bf1c3509f3: Pulling fs layer [2022-02-17T15:50:33.498Z] 59bf1c3509f3: Verifying Checksum [2022-02-17T15:50:33.498Z] 59bf1c3509f3: Download complete [2022-02-17T15:50:33.763Z] 59bf1c3509f3: Pull complete [2022-02-17T15:50:33.763Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-02-17T15:50:33.763Z] Status: Downloaded newer image for alpine:3.15 [2022-02-17T15:50:33.763Z] ---> c059bfaa849c [2022-02-17T15:50:33.763Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-02-17T15:50:33.763Z] ---> Running in fec2abc7be2a [2022-02-17T15:50:34.028Z] Removing intermediate container fec2abc7be2a [2022-02-17T15:50:34.028Z] ---> d4867b5e30bb [2022-02-17T15:50:34.028Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-17T15:50:34.028Z] ---> Running in 08e0b25372a5 [2022-02-17T15:50:34.605Z] Removing intermediate container 08e0b25372a5 [2022-02-17T15:50:34.605Z] ---> f316a7e6423f [2022-02-17T15:50:34.605Z] Step 4/6 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev [2022-02-17T15:50:34.605Z] ---> Running in cfc73c934796 [2022-02-17T15:50:34.879Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-17T15:50:35.822Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-17T15:50:36.082Z] (1/65) Upgrading libcrypto1.1 (1.1.1l-r7 -> 1.1.1l-r8) [2022-02-17T15:50:36.343Z] (2/65) Upgrading libssl1.1 (1.1.1l-r7 -> 1.1.1l-r8) [2022-02-17T15:50:36.604Z] (3/65) Installing libgcc (10.3.1_git20211027-r0) [2022-02-17T15:50:36.604Z] (4/65) Installing libstdc++ (10.3.1_git20211027-r0) [2022-02-17T15:50:36.604Z] (5/65) Installing binutils (2.37-r3) [2022-02-17T15:50:36.867Z] (6/65) Installing libmagic (5.41-r0) [2022-02-17T15:50:37.130Z] (7/65) Installing file (5.41-r0) [2022-02-17T15:50:37.130Z] (8/65) Installing libgomp (10.3.1_git20211027-r0) [2022-02-17T15:50:37.130Z] (9/65) Installing libatomic (10.3.1_git20211027-r0) [2022-02-17T15:50:37.391Z] (10/65) Installing libgphobos (10.3.1_git20211027-r0) [2022-02-17T15:50:37.391Z] (11/65) Installing gmp (6.2.1-r1) [2022-02-17T15:50:37.651Z] (12/65) Installing isl22 (0.22-r0) [2022-02-17T15:50:37.651Z] (13/65) Installing mpfr4 (4.1.0-r0) [2022-02-17T15:50:37.913Z] (14/65) Installing mpc1 (1.2.1-r0) [2022-02-17T15:50:37.913Z] (15/65) Installing gcc (10.3.1_git20211027-r0) [2022-02-17T15:50:40.463Z] (16/65) Installing musl-dev (1.2.2-r7) [2022-02-17T15:50:40.724Z] (17/65) Installing libc-dev (0.7.2-r3) [2022-02-17T15:50:40.987Z] (18/65) Installing g++ (10.3.1_git20211027-r0) [2022-02-17T15:50:43.538Z] (19/65) Installing make (4.3-r0) [2022-02-17T15:50:43.538Z] (20/65) Installing fortify-headers (1.1-r1) [2022-02-17T15:50:43.538Z] (21/65) Installing patch (2.7.6-r7) [2022-02-17T15:50:43.538Z] (22/65) Installing build-base (0.5-r2) [2022-02-17T15:50:43.538Z] (23/65) Installing libacl (2.2.53-r0) [2022-02-17T15:50:43.801Z] (24/65) Installing libbz2 (1.0.8-r1) [2022-02-17T15:50:43.801Z] (25/65) Installing expat (2.4.4-r0) [2022-02-17T15:50:43.801Z] (26/65) Installing lz4-libs (1.9.3-r1) [2022-02-17T15:50:43.842Z] Still waiting to schedule task [2022-02-17T15:50:43.843Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-17T15:50:44.061Z] (27/65) Installing xz-libs (5.2.5-r0) [2022-02-17T15:50:44.061Z] (28/65) Installing zstd-libs (1.5.0-r0) [2022-02-17T15:50:44.061Z] (29/65) Installing libarchive (3.5.2-r0) [2022-02-17T15:50:44.321Z] (30/65) Installing ca-certificates (20211220-r0) [2022-02-17T15:50:44.321Z] (31/65) Installing brotli-libs (1.0.9-r5) [2022-02-17T15:50:44.582Z] (32/65) Installing nghttp2-libs (1.46.0-r0) [2022-02-17T15:50:44.582Z] (33/65) Installing libcurl (7.80.0-r0) [2022-02-17T15:50:44.582Z] (34/65) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-02-17T15:50:44.844Z] (35/65) Installing ncurses-libs (6.3_p20211120-r0) [2022-02-17T15:50:44.844Z] (36/65) Installing rhash-libs (1.4.2-r2) [2022-02-17T15:50:44.844Z] (37/65) Installing libuv (1.42.0-r0) [2022-02-17T15:50:45.105Z] (38/65) Installing cmake (3.21.3-r0) [2022-02-17T15:50:49.323Z] (39/65) Installing pkgconf (1.8.0-r0) [2022-02-17T15:50:49.323Z] (40/65) Installing openssl-dev (1.1.1l-r8) [2022-02-17T15:50:49.584Z] (41/65) Installing nghttp2-dev (1.46.0-r0) [2022-02-17T15:50:49.584Z] (42/65) Installing zlib-dev (1.2.11-r3) [2022-02-17T15:50:49.584Z] (43/65) Installing brotli-dev (1.0.9-r5) [2022-02-17T15:50:49.845Z] (44/65) Installing curl-dev (7.80.0-r0) [2022-02-17T15:50:49.845Z] (45/65) Installing pcre2 (10.39-r0) [2022-02-17T15:50:50.108Z] (46/65) Installing git (2.34.1-r0) [2022-02-17T15:50:52.671Z] (47/65) Installing nettle (3.7.3-r0) [2022-02-17T15:50:52.671Z] (48/65) Installing libffi (3.4.2-r1) [2022-02-17T15:50:52.671Z] (49/65) Installing p11-kit (0.24.0-r1) [2022-02-17T15:50:52.671Z] (50/65) Installing libtasn1 (4.18.0-r0) [2022-02-17T15:50:52.931Z] (51/65) Installing libunistring (0.9.10-r1) [2022-02-17T15:50:53.191Z] (52/65) Installing gnutls (3.7.1-r0) [2022-02-17T15:50:53.454Z] (53/65) Installing libmicrohttpd (0.9.73-r0) [2022-02-17T15:50:53.454Z] (54/65) Installing gnutls-c++ (3.7.1-r0) [2022-02-17T15:50:53.714Z] (55/65) Installing libgmpxx (6.2.1-r1) [2022-02-17T15:50:53.714Z] (56/65) Installing gmp-dev (6.2.1-r1) [2022-02-17T15:50:53.975Z] (57/65) Installing nettle-dev (3.7.3-r0) [2022-02-17T15:50:53.975Z] (58/65) Installing libtasn1-progs (4.18.0-r0) [2022-02-17T15:50:53.975Z] (59/65) Installing libtasn1-dev (4.18.0-r0) [2022-02-17T15:50:54.235Z] (60/65) Installing p11-kit-dev (0.24.0-r1) [2022-02-17T15:50:54.235Z] (61/65) Installing gnutls-dev (3.7.1-r0) [2022-02-17T15:50:54.235Z] (62/65) Installing libmicrohttpd-dev (0.9.73-r0) [2022-02-17T15:50:54.498Z] (63/65) Installing linux-headers (5.10.41-r0) [2022-02-17T15:50:55.068Z] (64/65) Installing yaml (0.2.5-r0) [2022-02-17T15:50:55.333Z] (65/65) Installing yaml-dev (0.2.5-r0) [2022-02-17T15:50:55.333Z] Executing busybox-1.34.1-r3.trigger [2022-02-17T15:50:55.333Z] Executing ca-certificates-20211220-r0.trigger [2022-02-17T15:50:55.333Z] OK: 281 MiB in 77 packages [2022-02-17T15:51:00.635Z] Removing intermediate container cfc73c934796 [2022-02-17T15:51:00.635Z] ---> 9ffc1cd10935 [2022-02-17T15:51:00.635Z] Step 5/6 : LABEL arch=amd64 [2022-02-17T15:51:00.635Z] ---> Running in 499dea94d59e [2022-02-17T15:51:00.635Z] Removing intermediate container 499dea94d59e [2022-02-17T15:51:00.635Z] ---> d05f5f8a786b [2022-02-17T15:51:00.635Z] Step 6/6 : LABEL git_sha=6188ef22a24d6816de2af32ae2e57b00f9637501 [2022-02-17T15:51:00.635Z] ---> Running in cb04f5e6e172 [2022-02-17T15:51:00.635Z] Removing intermediate container cb04f5e6e172 [2022-02-17T15:51:00.635Z] ---> 0af3d3b1d210 [2022-02-17T15:51:00.635Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-17T15:51:00.635Z] Successfully built 0af3d3b1d210 [2022-02-17T15:51:00.635Z] Successfully tagged edgex-devops/edgex-gcc-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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-17T15:51:01.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-17T15:51:01.451Z] [2022-02-17T15:51:01.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-17T15:51:01.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-17T15:51:01.795Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-17T15:51:01.795Z] b4d181a07f80: Pulling fs layer [2022-02-17T15:51:01.795Z] a1111a8f2ec3: Pulling fs layer [2022-02-17T15:51:01.795Z] ed53099fbce6: Pulling fs layer [2022-02-17T15:51:01.795Z] dc539afda2c1: Pulling fs layer [2022-02-17T15:51:01.795Z] 77bc0d833cb6: Pulling fs layer [2022-02-17T15:51:01.795Z] 9065ff56babe: Pulling fs layer [2022-02-17T15:51:01.795Z] d287ab97295c: Pulling fs layer [2022-02-17T15:51:01.795Z] dc539afda2c1: Waiting [2022-02-17T15:51:01.795Z] 77bc0d833cb6: Waiting [2022-02-17T15:51:01.795Z] 9065ff56babe: Waiting [2022-02-17T15:51:01.795Z] d287ab97295c: Waiting [2022-02-17T15:51:01.795Z] a1111a8f2ec3: Verifying Checksum [2022-02-17T15:51:01.795Z] a1111a8f2ec3: Download complete [2022-02-17T15:51:01.795Z] dc539afda2c1: Verifying Checksum [2022-02-17T15:51:01.795Z] dc539afda2c1: Download complete [2022-02-17T15:51:02.062Z] ed53099fbce6: Verifying Checksum [2022-02-17T15:51:02.062Z] ed53099fbce6: Download complete [2022-02-17T15:51:02.062Z] 77bc0d833cb6: Verifying Checksum [2022-02-17T15:51:02.062Z] 77bc0d833cb6: Download complete [2022-02-17T15:51:02.062Z] 9065ff56babe: Verifying Checksum [2022-02-17T15:51:02.062Z] 9065ff56babe: Download complete [2022-02-17T15:51:02.062Z] b4d181a07f80: Download complete [2022-02-17T15:51:02.646Z] d287ab97295c: Verifying Checksum [2022-02-17T15:51:02.646Z] d287ab97295c: Download complete [2022-02-17T15:51:03.608Z] b4d181a07f80: Pull complete [2022-02-17T15:51:03.608Z] a1111a8f2ec3: Pull complete [2022-02-17T15:51:04.202Z] ed53099fbce6: Pull complete [2022-02-17T15:51:04.202Z] dc539afda2c1: Pull complete [2022-02-17T15:51:04.465Z] 77bc0d833cb6: Pull complete [2022-02-17T15:51:04.465Z] 9065ff56babe: Pull complete [2022-02-17T15:51:09.799Z] d287ab97295c: Pull complete [2022-02-17T15:51:09.799Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-17T15:51:09.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-17T15:51:09.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-17T15:51:09.896Z] prd-centos7-docker-4c-2g-5425 does not seem to be running inside a container [2022-02-17T15:51:09.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-186 -v /w/workspace/exfoundry_ci-build-images_PR-186:/w/workspace/exfoundry_ci-build-images_PR-186:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-186@tmp:/w/workspace/exfoundry_ci-build-images_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-17T15:51:12.100Z] $ docker top 84decf9d5a4dae18076f46974f7b4aa4cc602993623080bc92a296172f9667ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:51:12.609Z] ---> job-cost.sh [2022-02-17T15:51:12.609Z] lf-activate-venv: SKIPPING [2022-02-17T15:51:12.609Z] INFO: No Stack... [2022-02-17T15:51:12.869Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-17T15:51:13.134Z] INFO: Archiving Costs [Pipeline] sh [2022-02-17T15:51:13.458Z] + cat /w/workspace/exfoundry_ci-build-images_PR-186/archives/cost.csv [2022-02-17T15:51:13.458Z] + cut -d, -f6 [Pipeline] lock [2022-02-17T15:51:13.507Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-186-1-stack-cost] [2022-02-17T15:51:13.514Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-186-1-stack-cost] did not exist. Created. [2022-02-17T15:51:13.514Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-17T15:51:13.895Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-17T15:51:14.128Z] Stashed 1 file(s) [Pipeline] } [2022-02-17T15:51:14.143Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-17T15:51:14.229Z] $ docker stop --time=1 84decf9d5a4dae18076f46974f7b4aa4cc602993623080bc92a296172f9667ab [2022-02-17T15:51:15.379Z] $ docker rm -f 84decf9d5a4dae18076f46974f7b4aa4cc602993623080bc92a296172f9667ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-17T15:52:07.944Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5426 in /w/workspace/exfoundry_ci-build-images_PR-186 [Pipeline] { [Pipeline] checkout [2022-02-17T15:52:08.171Z] Selected Git installation does not exist. Using Default [2022-02-17T15:52:08.171Z] The recommended git tool is: NONE [2022-02-17T15:52:12.788Z] using credential edgex-jenkins-ssh [2022-02-17T15:52:12.803Z] Cloning the remote Git repository [2022-02-17T15:52:12.851Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2022-02-17T15:52:12.921Z] > git init /w/workspace/exfoundry_ci-build-images_PR-186 # timeout=10 [2022-02-17T15:52:13.008Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-02-17T15:52:13.009Z] > git --version # timeout=10 [2022-02-17T15:52:13.031Z] > git --version # 'git version 2.17.1' [2022-02-17T15:52:13.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-17T15:52:13.166Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-17T15:52:13.890Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-02-17T15:52:13.904Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-17T15:52:13.932Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-02-17T15:52:13.974Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-02-17T15:52:13.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-17T15:52:13.986Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/gcc:refs/remotes/origin/gcc # timeout=10 [2022-02-17T15:52:14.590Z] Merging remotes/origin/gcc commit 8dbff7922d1b221651f0b16e872d16215c6a8218 into PR head commit 6188ef22a24d6816de2af32ae2e57b00f9637501 [2022-02-17T15:52:14.790Z] Merge succeeded, producing 6188ef22a24d6816de2af32ae2e57b00f9637501 [2022-02-17T15:52:14.791Z] Checking out Revision 6188ef22a24d6816de2af32ae2e57b00f9637501 (PR-186) [2022-02-17T15:52:14.616Z] > git config core.sparsecheckout # timeout=10 [2022-02-17T15:52:14.632Z] > git checkout -f 6188ef22a24d6816de2af32ae2e57b00f9637501 # timeout=10 [2022-02-17T15:52:14.700Z] > git remote # timeout=10 [2022-02-17T15:52:14.715Z] > git config --get remote.origin.url # timeout=10 [2022-02-17T15:52:14.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-17T15:52:14.744Z] > git merge 8dbff7922d1b221651f0b16e872d16215c6a8218 # timeout=10 [2022-02-17T15:52:14.769Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-17T15:52:14.800Z] > git config core.sparsecheckout # timeout=10 [2022-02-17T15:52:14.811Z] > git checkout -f 6188ef22a24d6816de2af32ae2e57b00f9637501 # timeout=10 [2022-02-17T15:52:18.880Z] Commit message: "ci: update to Alpine 3.15" [2022-02-17T15:52:18.933Z] > git --version # timeout=10 [2022-02-17T15:52:18.943Z] > git --version # 'git version 2.17.1' [2022-02-17T15:52:18.955Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-17T15:52:20.038Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-17T15:52:20.038Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-17T15:52:20.038Z] Dload Upload Total Spent Left Speed [2022-02-17T15:52:20.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 86445 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh [2022-02-17T15:52:20.636Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-17T15:52:20.986Z] + sudo tee /etc/docker/daemon.new [2022-02-17T15:52:20.986Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-17T15:52:20.986Z] { [2022-02-17T15:52:20.986Z] "registry-mirrors": [ [2022-02-17T15:52:20.986Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-17T15:52:20.986Z] ], [2022-02-17T15:52:20.986Z] "bip": "10.250.0.254/24", [2022-02-17T15:52:20.986Z] "hosts": [ [2022-02-17T15:52:20.986Z] "tcp://0.0.0.0:5555", [2022-02-17T15:52:20.986Z] "unix:///var/run/docker.sock" [2022-02-17T15:52:20.986Z] ], [2022-02-17T15:52:20.986Z] "mtu": 1458, [2022-02-17T15:52:20.986Z] "selinux-enabled": true, [2022-02-17T15:52:20.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-17T15:52:20.986Z] } [Pipeline] sh [2022-02-17T15:52:21.338Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-17T15:52:21.699Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-17T15:52:40.057Z] provisioning config files... [2022-02-17T15:52:40.082Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-186@tmp/config6438616817778714697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:52:40.474Z] ---> docker-login.sh [2022-02-17T15:52:40.474Z] nexus3.edgexfoundry.org:10001 [2022-02-17T15:52:41.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:52:41.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:52:41.340Z] Configure a credential helper to remove this warning. See [2022-02-17T15:52:41.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:52:41.340Z] [2022-02-17T15:52:41.340Z] Login Succeeded [2022-02-17T15:52:41.340Z] nexus3.edgexfoundry.org:10002 [2022-02-17T15:52:41.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:52:41.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:52:41.612Z] Configure a credential helper to remove this warning. See [2022-02-17T15:52:41.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:52:41.612Z] [2022-02-17T15:52:41.612Z] Login Succeeded [2022-02-17T15:52:41.612Z] nexus3.edgexfoundry.org:10003 [2022-02-17T15:52:42.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:52:42.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:52:42.210Z] Configure a credential helper to remove this warning. See [2022-02-17T15:52:42.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:52:42.210Z] [2022-02-17T15:52:42.210Z] Login Succeeded [2022-02-17T15:52:42.210Z] nexus3.edgexfoundry.org:10004 [2022-02-17T15:52:42.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:52:42.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:52:42.485Z] Configure a credential helper to remove this warning. See [2022-02-17T15:52:42.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:52:42.485Z] [2022-02-17T15:52:42.485Z] Login Succeeded [2022-02-17T15:52:42.485Z] docker.io [2022-02-17T15:52:43.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T15:52:43.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T15:52:43.430Z] Configure a credential helper to remove this warning. See [2022-02-17T15:52:43.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T15:52:43.430Z] [2022-02-17T15:52:43.430Z] Login Succeeded [2022-02-17T15:52:43.430Z] ---> docker-login.sh ends [Pipeline] } [2022-02-17T15:52:43.476Z] 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 [2022-02-17T15:52:44.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-17T15:52:44.563Z] + ls -al . [2022-02-17T15:52:44.563Z] total 20 [2022-02-17T15:52:44.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 15:52 . [2022-02-17T15:52:44.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 15:52 .. [2022-02-17T15:52:44.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 15:52 .git [2022-02-17T15:52:44.563Z] -rw-rw-r-- 1 jenkins jenkins 401 Feb 17 15:52 Dockerfile [2022-02-17T15:52:44.563Z] -rw-rw-r-- 1 jenkins jenkins 883 Feb 17 15:52 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-02-17T15:52:44.944Z] + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=6188ef22a24d6816de2af32ae2e57b00f9637501 --label arch=arm64 . [2022-02-17T15:52:45.215Z] Sending build context to Docker daemon 412.2kB [2022-02-17T15:52:45.215Z] Step 1/6 : FROM alpine:3.15 [2022-02-17T15:52:45.807Z] 3.15: Pulling from library/alpine [2022-02-17T15:52:46.079Z] 9b3977197b4f: Pulling fs layer [2022-02-17T15:52:46.351Z] 9b3977197b4f: Verifying Checksum [2022-02-17T15:52:46.351Z] 9b3977197b4f: Download complete [2022-02-17T15:52:46.946Z] 9b3977197b4f: Pull complete [2022-02-17T15:52:46.946Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-02-17T15:52:46.946Z] Status: Downloaded newer image for alpine:3.15 [2022-02-17T15:52:46.946Z] ---> 8e1d7573f448 [2022-02-17T15:52:46.946Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-02-17T15:52:46.946Z] ---> Running in 0fb4b415a55b [2022-02-17T15:52:47.541Z] Removing intermediate container 0fb4b415a55b [2022-02-17T15:52:47.541Z] ---> 5f3e0b99152b [2022-02-17T15:52:47.541Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-17T15:52:47.541Z] ---> Running in ef7fd989ba32 [2022-02-17T15:52:49.517Z] Removing intermediate container ef7fd989ba32 [2022-02-17T15:52:49.517Z] ---> 6daf60af0a4a [2022-02-17T15:52:49.517Z] Step 4/6 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev [2022-02-17T15:52:49.517Z] ---> Running in f74c088595fe [2022-02-17T15:52:50.110Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-17T15:52:51.079Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-17T15:52:52.052Z] (1/65) Upgrading libcrypto1.1 (1.1.1l-r7 -> 1.1.1l-r8) [2022-02-17T15:52:52.052Z] (2/65) Upgrading libssl1.1 (1.1.1l-r7 -> 1.1.1l-r8) [2022-02-17T15:52:52.052Z] (3/65) Installing libgcc (10.3.1_git20211027-r0) [2022-02-17T15:52:52.331Z] (4/65) Installing libstdc++ (10.3.1_git20211027-r0) [2022-02-17T15:52:52.331Z] (5/65) Installing binutils (2.37-r3) [2022-02-17T15:52:52.602Z] (6/65) Installing libmagic (5.41-r0) [2022-02-17T15:52:52.872Z] (7/65) Installing file (5.41-r0) [2022-02-17T15:52:52.872Z] (8/65) Installing libgomp (10.3.1_git20211027-r0) [2022-02-17T15:52:53.144Z] (9/65) Installing libatomic (10.3.1_git20211027-r0) [2022-02-17T15:52:53.144Z] (10/65) Installing libgphobos (10.3.1_git20211027-r0) [2022-02-17T15:52:53.414Z] (11/65) Installing gmp (6.2.1-r1) [2022-02-17T15:52:53.414Z] (12/65) Installing isl22 (0.22-r0) [2022-02-17T15:52:53.685Z] (13/65) Installing mpfr4 (4.1.0-r0) [2022-02-17T15:52:53.685Z] (14/65) Installing mpc1 (1.2.1-r0) [2022-02-17T15:52:53.959Z] (15/65) Installing gcc (10.3.1_git20211027-r0) [2022-02-17T15:52:55.927Z] (16/65) Installing musl-dev (1.2.2-r7) [2022-02-17T15:52:56.198Z] (17/65) Installing libc-dev (0.7.2-r3) [2022-02-17T15:52:56.198Z] (18/65) Installing g++ (10.3.1_git20211027-r0) [2022-02-17T15:52:59.573Z] (19/65) Installing make (4.3-r0) [2022-02-17T15:52:59.573Z] (20/65) Installing fortify-headers (1.1-r1) [2022-02-17T15:52:59.573Z] (21/65) Installing patch (2.7.6-r7) [2022-02-17T15:52:59.573Z] (22/65) Installing build-base (0.5-r2) [2022-02-17T15:52:59.573Z] (23/65) Installing libacl (2.2.53-r0) [2022-02-17T15:52:59.573Z] (24/65) Installing libbz2 (1.0.8-r1) [2022-02-17T15:52:59.573Z] (25/65) Installing expat (2.4.4-r0) [2022-02-17T15:52:59.573Z] (26/65) Installing lz4-libs (1.9.3-r1) [2022-02-17T15:52:59.843Z] (27/65) Installing xz-libs (5.2.5-r0) [2022-02-17T15:52:59.843Z] (28/65) Installing zstd-libs (1.5.0-r0) [2022-02-17T15:52:59.843Z] (29/65) Installing libarchive (3.5.2-r0) [2022-02-17T15:53:00.113Z] (30/65) Installing ca-certificates (20211220-r0) [2022-02-17T15:53:00.113Z] (31/65) Installing brotli-libs (1.0.9-r5) [2022-02-17T15:53:00.383Z] (32/65) Installing nghttp2-libs (1.46.0-r0) [2022-02-17T15:53:00.383Z] (33/65) Installing libcurl (7.80.0-r0) [2022-02-17T15:53:00.383Z] (34/65) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-02-17T15:53:00.654Z] (35/65) Installing ncurses-libs (6.3_p20211120-r0) [2022-02-17T15:53:00.654Z] (36/65) Installing rhash-libs (1.4.2-r2) [2022-02-17T15:53:00.925Z] (37/65) Installing libuv (1.42.0-r0) [2022-02-17T15:53:00.925Z] (38/65) Installing cmake (3.21.3-r0) [2022-02-17T15:53:04.299Z] (39/65) Installing pkgconf (1.8.0-r0) [2022-02-17T15:53:04.299Z] (40/65) Installing openssl-dev (1.1.1l-r8) [2022-02-17T15:53:04.570Z] (41/65) Installing nghttp2-dev (1.46.0-r0) [2022-02-17T15:53:04.843Z] (42/65) Installing zlib-dev (1.2.11-r3) [2022-02-17T15:53:04.843Z] (43/65) Installing brotli-dev (1.0.9-r5) [2022-02-17T15:53:04.843Z] (44/65) Installing curl-dev (7.80.0-r0) [2022-02-17T15:53:05.117Z] (45/65) Installing pcre2 (10.39-r0) [2022-02-17T15:53:05.117Z] (46/65) Installing git (2.34.1-r0) [2022-02-17T15:53:06.095Z] (47/65) Installing nettle (3.7.3-r0) [2022-02-17T15:53:06.364Z] (48/65) Installing libffi (3.4.2-r1) [2022-02-17T15:53:06.364Z] (49/65) Installing p11-kit (0.24.0-r1) [2022-02-17T15:53:06.364Z] (50/65) Installing libtasn1 (4.18.0-r0) [2022-02-17T15:53:06.638Z] (51/65) Installing libunistring (0.9.10-r1) [2022-02-17T15:53:06.638Z] (52/65) Installing gnutls (3.7.1-r0) [2022-02-17T15:53:06.911Z] (53/65) Installing libmicrohttpd (0.9.73-r0) [2022-02-17T15:53:07.185Z] (54/65) Installing gnutls-c++ (3.7.1-r0) [2022-02-17T15:53:07.185Z] (55/65) Installing libgmpxx (6.2.1-r1) [2022-02-17T15:53:07.185Z] (56/65) Installing gmp-dev (6.2.1-r1) [2022-02-17T15:53:07.457Z] (57/65) Installing nettle-dev (3.7.3-r0) [2022-02-17T15:53:07.457Z] (58/65) Installing libtasn1-progs (4.18.0-r0) [2022-02-17T15:53:07.457Z] (59/65) Installing libtasn1-dev (4.18.0-r0) [2022-02-17T15:53:07.728Z] (60/65) Installing p11-kit-dev (0.24.0-r1) [2022-02-17T15:53:07.728Z] (61/65) Installing gnutls-dev (3.7.1-r0) [2022-02-17T15:53:07.728Z] (62/65) Installing libmicrohttpd-dev (0.9.73-r0) [2022-02-17T15:53:07.999Z] (63/65) Installing linux-headers (5.10.41-r0) [2022-02-17T15:53:08.592Z] (64/65) Installing yaml (0.2.5-r0) [2022-02-17T15:53:08.592Z] (65/65) Installing yaml-dev (0.2.5-r0) [2022-02-17T15:53:08.592Z] Executing busybox-1.34.1-r3.trigger [2022-02-17T15:53:08.592Z] Executing ca-certificates-20211220-r0.trigger [2022-02-17T15:53:08.863Z] OK: 277 MiB in 77 packages [2022-02-17T15:53:21.252Z] Removing intermediate container f74c088595fe [2022-02-17T15:53:21.252Z] ---> 2fbdbd3a67fd [2022-02-17T15:53:21.252Z] Step 5/6 : LABEL arch=arm64 [2022-02-17T15:53:21.252Z] ---> Running in 3f104ba07120 [2022-02-17T15:53:21.252Z] Removing intermediate container 3f104ba07120 [2022-02-17T15:53:21.252Z] ---> de380e53f13f [2022-02-17T15:53:21.252Z] Step 6/6 : LABEL git_sha=6188ef22a24d6816de2af32ae2e57b00f9637501 [2022-02-17T15:53:21.252Z] ---> Running in b17a96f9e602 [2022-02-17T15:53:21.524Z] Removing intermediate container b17a96f9e602 [2022-02-17T15:53:21.524Z] ---> 77bafc61f593 [2022-02-17T15:53:21.524Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-17T15:53:21.524Z] Successfully built 77bafc61f593 [2022-02-17T15:53:21.524Z] Successfully tagged edgex-devops/edgex-gcc-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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-17T15:53:22.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-17T15:53:22.302Z] [2022-02-17T15:53:22.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-17T15:53:22.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-17T15:53:22.684Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-17T15:53:22.684Z] 448f6bf000e3: Pulling fs layer [2022-02-17T15:53:22.684Z] f757da607395: Pulling fs layer [2022-02-17T15:53:22.684Z] 05883995daec: Pulling fs layer [2022-02-17T15:53:22.684Z] 8603b9c90790: Pulling fs layer [2022-02-17T15:53:22.684Z] 1560dd03e051: Pulling fs layer [2022-02-17T15:53:22.684Z] 27f5ce0e4adf: Pulling fs layer [2022-02-17T15:53:22.684Z] c2d8d7efcc4b: Pulling fs layer [2022-02-17T15:53:22.684Z] 1560dd03e051: Waiting [2022-02-17T15:53:22.684Z] 27f5ce0e4adf: Waiting [2022-02-17T15:53:22.684Z] c2d8d7efcc4b: Waiting [2022-02-17T15:53:22.684Z] 8603b9c90790: Waiting [2022-02-17T15:53:22.965Z] f757da607395: Verifying Checksum [2022-02-17T15:53:22.965Z] f757da607395: Download complete [2022-02-17T15:53:22.965Z] 8603b9c90790: Verifying Checksum [2022-02-17T15:53:22.965Z] 8603b9c90790: Download complete [2022-02-17T15:53:22.965Z] 1560dd03e051: Verifying Checksum [2022-02-17T15:53:22.965Z] 1560dd03e051: Download complete [2022-02-17T15:53:22.965Z] 27f5ce0e4adf: Verifying Checksum [2022-02-17T15:53:22.965Z] 27f5ce0e4adf: Download complete [2022-02-17T15:53:22.965Z] 05883995daec: Verifying Checksum [2022-02-17T15:53:22.965Z] 05883995daec: Download complete [2022-02-17T15:53:23.565Z] 448f6bf000e3: Verifying Checksum [2022-02-17T15:53:23.565Z] 448f6bf000e3: Download complete [2022-02-17T15:53:26.184Z] c2d8d7efcc4b: Verifying Checksum [2022-02-17T15:53:26.184Z] c2d8d7efcc4b: Download complete [2022-02-17T15:53:27.165Z] 448f6bf000e3: Pull complete [2022-02-17T15:53:27.778Z] f757da607395: Pull complete [2022-02-17T15:53:29.206Z] 05883995daec: Pull complete [2022-02-17T15:53:29.206Z] 8603b9c90790: Pull complete [2022-02-17T15:53:30.186Z] 1560dd03e051: Pull complete [2022-02-17T15:53:30.461Z] 27f5ce0e4adf: Pull complete [2022-02-17T15:53:45.550Z] c2d8d7efcc4b: Pull complete [2022-02-17T15:53:45.550Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-17T15:53:45.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-17T15:53:45.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-17T15:53:45.770Z] prd-ubuntu18.04-docker-arm64-4c-16g-5426 does not seem to be running inside a container [2022-02-17T15:53:45.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-186 -v /w/workspace/exfoundry_ci-build-images_PR-186:/w/workspace/exfoundry_ci-build-images_PR-186:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-186@tmp:/w/workspace/exfoundry_ci-build-images_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-17T15:53:48.348Z] $ docker top 621b01cfe0a97d030fc90f518574fa9a98698644dd2e5186351855da9d920d69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:53:49.306Z] ---> job-cost.sh [2022-02-17T15:53:49.306Z] lf-activate-venv: SKIPPING [2022-02-17T15:53:49.306Z] INFO: No Stack... [2022-02-17T15:53:49.577Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-17T15:53:49.849Z] INFO: Archiving Costs [Pipeline] sh [2022-02-17T15:53:50.533Z] + + cutcat -d, -f6 /w/workspace/exfoundry_ci-build-images_PR-186/archives/cost.csv [2022-02-17T15:53:50.533Z] [Pipeline] lock [2022-02-17T15:53:50.619Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-186-1-stack-cost] [2022-02-17T15:53:50.624Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-186-1-stack-cost] did not exist. Created. [2022-02-17T15:53:50.624Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-17T15:53:51.524Z] /w/workspace/exfoundry_ci-build-images_PR-186@tmp/durable-50c1886d/script.sh: 1: /w/workspace/exfoundry_ci-build-images_PR-186@tmp/durable-50c1886d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-17T15:53:52.210Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-17T15:53:52.248Z] Warning: overwriting stash ‘stack-cost’ [2022-02-17T15:53:52.629Z] Stashed 1 file(s) [Pipeline] } [2022-02-17T15:53:52.645Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-17T15:53:52.726Z] $ docker stop --time=1 621b01cfe0a97d030fc90f518574fa9a98698644dd2e5186351855da9d920d69 [2022-02-17T15:53:54.220Z] $ docker rm -f 621b01cfe0a97d030fc90f518574fa9a98698644dd2e5186351855da9d920d69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] sh [2022-02-17T15:53:55.877Z] + '[' -d /w/workspace/exfoundry_ci-build-images_PR-186/archives ']' [2022-02-17T15:53:55.878Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-186/archives [2022-02-17T15:53:55.878Z] total 4 [2022-02-17T15:53:55.878Z] drwxr-xr-x. 3 root root 34 Feb 17 15:51 . [2022-02-17T15:53:55.878Z] drwxrwxr-x. 4 jenkins jenkins 89 Feb 17 15:51 .. [2022-02-17T15:53:55.878Z] drwxr-xr-x. 2 root root 6 Feb 17 15:51 cost [2022-02-17T15:53:55.878Z] -rw-r--r--. 1 root root 85 Feb 17 15:51 cost.csv [2022-02-17T15:53:55.878Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-186/archives [2022-02-17T15:53:55.878Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-186/archives [2022-02-17T15:53:55.878Z] total 4 [2022-02-17T15:53:55.878Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 17 15:51 . [2022-02-17T15:53:55.878Z] drwxrwxr-x. 4 jenkins jenkins 89 Feb 17 15:51 .. [2022-02-17T15:53:55.878Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 17 15:51 cost [2022-02-17T15:53:55.878Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 17 15:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:53:56.226Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:53:56.823Z] ---> package-listing.sh [2022-02-17T15:53:56.823Z] ++ facter osfamily [2022-02-17T15:53:56.823Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-17T15:53:57.082Z] + OS_FAMILY=redhat [2022-02-17T15:53:57.082Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-186 [2022-02-17T15:53:57.082Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-17T15:53:57.082Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-17T15:53:57.082Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-17T15:53:57.082Z] + PACKAGES=/tmp/packages_start.txt [2022-02-17T15:53:57.082Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-186 ']' [2022-02-17T15:53:57.082Z] + PACKAGES=/tmp/packages_end.txt [2022-02-17T15:53:57.082Z] + case "${OS_FAMILY}" in [2022-02-17T15:53:57.082Z] + rpm -qa [2022-02-17T15:53:57.082Z] + sort [2022-02-17T15:53:57.654Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-17T15:53:57.654Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-17T15:53:57.654Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-17T15:53:57.654Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-186 ']' [2022-02-17T15:53:57.654Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-186/archives/ [2022-02-17T15:53:57.654Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-186/archives/ [Pipeline] echo [2022-02-17T15:53:57.686Z] 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-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-17T15:53:57.994Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-17T15:53:58.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-17T15:53:58.599Z] . [Pipeline] withDockerContainer [2022-02-17T15:53:58.683Z] prd-centos7-docker-4c-2g-5425 does not seem to be running inside a container [2022-02-17T15:53:58.716Z] $ 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-186/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-186 -v /w/workspace/exfoundry_ci-build-images_PR-186:/w/workspace/exfoundry_ci-build-images_PR-186:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-186@tmp:/w/workspace/exfoundry_ci-build-images_PR-186@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:latest cat [2022-02-17T15:53:58.911Z] $ docker top c9e634214ae5011eb996241c2c198adfea966d2ac70cf4b7f171fdd7ac21a139 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-17T15:53:59.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-17T15:53:59.637Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-17T15:53:59.955Z] + ls /var/log/sa-host [2022-02-17T15:53:59.956Z] + sadf -c /var/log/sa-host/sa17 [2022-02-17T15:53:59.956Z] file_magic: OK [2022-02-17T15:53:59.956Z] HZ: Using current value: 100 [2022-02-17T15:53:59.956Z] file_header: OK [2022-02-17T15:53:59.956Z] 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 [2022-02-17T15:53:59.956Z] Statistics: [2022-02-17T15:53:59.956Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-17T15:53:59.956Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-17T15:54:00.225Z] provisioning config files... [2022-02-17T15:54:00.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-186@tmp/config1944100833368950020tmp [Pipeline] { [Pipeline] echo [2022-02-17T15:54:00.279Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:54:00.598Z] ---> create-netrc.sh [Pipeline] } [2022-02-17T15:54:00.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:54:01.034Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-17T15:54:01.066Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:54:01.385Z] ---> sudo-logs.sh [2022-02-17T15:54:01.386Z] Archiving 'sudo' log.. [2022-02-17T15:54:01.386Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5425.novalocal: Name or service not known [2022-02-17T15:54:01.386Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5425.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-17T15:54:01.479Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:54:01.807Z] ---> job-cost.sh [2022-02-17T15:54:01.807Z] lf-activate-venv: SKIPPING [2022-02-17T15:54:01.807Z] DEBUG: total: 0.05999999865889549 [2022-02-17T15:54:01.807Z] INFO: Retrieving Stack Cost... [2022-02-17T15:54:02.073Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-17T15:54:02.651Z] INFO: Archiving Costs [Pipeline] echo [2022-02-17T15:54:02.685Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T15:54:03.028Z] ---> logs-deploy.sh [2022-02-17T15:54:03.028Z] lf-activate-venv: SKIPPING [2022-02-17T15:54:03.028Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-186/1 [2022-02-17T15:54:03.028Z] INFO: archiving workspace using pattern(s): [2022-02-17T15:54:03.601Z] Archives upload complete. [2022-02-17T15:54:03.863Z] INFO: archiving logs to Nexus