Push event to branch gcc Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8dbff7922d1b221651f0b16e872d16215c6a8218 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7314887155756717040.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-ssh3197136327307075438.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 c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/gcc/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/gcc/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1971548368637192038.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 # timeout=10 Commit message: "Merge pull request #357 from ernestojeda/fix-previous-commit-sha" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5507790842342758024.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/gcc/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/gcc/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3370032295978890857.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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:[4], 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: 4 [Pipeline] node Running on prd-centos7-docker-4c-2g-138 in /w/workspace/edgexfoundry_ci-build-images_gcc [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/edgexfoundry_ci-build-images_gcc # 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/edgexfoundry_ci-build-images_gcc@tmp/jenkins-gitclient-ssh8677341971558219280.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8dbff7922d1b221651f0b16e872d16215c6a8218 (gcc) > 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 core.sparsecheckout # timeout=10 > git checkout -f 8dbff7922d1b221651f0b16e872d16215c6a8218 # timeout=10 Commit message: "Merge pull request #182 from ernestojeda/gcc" > git rev-list --no-walk be9c61fd48208cf71504682288207441b550d485 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-08T20:23:53.024Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-08T20:23:53.051Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-08T20:23:53.060Z] ========================================================= [2021-10-08T20:23:53.060Z] EdgeX Global Pipelines Version Info [2021-10-08T20:23:53.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:23:54.223Z] ------------------- [2021-10-08T20:23:54.223Z] stable info: [2021-10-08T20:23:54.223Z] ------------------- [2021-10-08T20:23:54.223Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T20:23:54.223Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T20:23:54.223Z] Message: update stable to v1.0.208 [2021-10-08T20:23:54.800Z] ------------------- [2021-10-08T20:23:54.800Z] experimental info: [2021-10-08T20:23:54.800Z] ------------------- [2021-10-08T20:23:54.800Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T20:23:54.800Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T20:23:54.800Z] Message: update experimental to v1.0.208 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-10-08T20:23:54.879Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-10-08T20:23:54.889Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo [2021-10-08T20:23:54.896Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-10-08T20:23:54.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-08T20:23:54.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-08T20:23:54.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo [2021-10-08T20:23:54.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-10-08T20:23:54.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-10-08T20:23:54.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-10-08T20:23:54.951Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-08T20:23:54.958Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-10-08T20:23:54.967Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo [2021-10-08T20:23:54.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-08T20:23:54.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-08T20:23:54.993Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo [2021-10-08T20:23:55.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 4 [Pipeline] echo [2021-10-08T20:23:55.008Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = gcc [Pipeline] echo [2021-10-08T20:23:55.016Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = gcc [Pipeline] echo [2021-10-08T20:23:55.025Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = gcc [Pipeline] echo [2021-10-08T20:23:55.033Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dbff7922d1b221651f0b16e872d16215c6a8218 [Pipeline] echo [2021-10-08T20:23:55.040Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dbff79 [Pipeline] echo [2021-10-08T20:23:55.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T20:23:55.085Z] provisioning config files... [2021-10-08T20:23:55.100Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config2836498378003351619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:23:55.419Z] ---> docker-login.sh [2021-10-08T20:23:55.419Z] nexus3.edgexfoundry.org:10001 [2021-10-08T20:23:55.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:55.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:55.682Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:55.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:55.682Z] [2021-10-08T20:23:55.682Z] Login Succeeded [2021-10-08T20:23:55.682Z] nexus3.edgexfoundry.org:10002 [2021-10-08T20:23:55.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:55.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:55.682Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:55.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:55.682Z] [2021-10-08T20:23:55.682Z] Login Succeeded [2021-10-08T20:23:55.682Z] nexus3.edgexfoundry.org:10003 [2021-10-08T20:23:55.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:55.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:55.948Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:55.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:55.948Z] [2021-10-08T20:23:55.948Z] Login Succeeded [2021-10-08T20:23:55.948Z] nexus3.edgexfoundry.org:10004 [2021-10-08T20:23:55.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:55.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:55.948Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:55.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:55.948Z] [2021-10-08T20:23:55.948Z] Login Succeeded [2021-10-08T20:23:56.211Z] docker.io [2021-10-08T20:23:56.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:56.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:56.472Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:56.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:56.472Z] [2021-10-08T20:23:56.472Z] Login Succeeded [2021-10-08T20:23:56.472Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T20:23:56.480Z] 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 [2021-10-08T20:23:56.747Z] provisioning config files... [2021-10-08T20:23:56.760Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config3366404336482550017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:23:57.070Z] ---> docker-login.sh [2021-10-08T20:23:57.070Z] nexus3.edgexfoundry.org:10001 [2021-10-08T20:23:57.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:57.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:57.070Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:57.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:57.070Z] [2021-10-08T20:23:57.070Z] Login Succeeded [2021-10-08T20:23:57.070Z] nexus3.edgexfoundry.org:10002 [2021-10-08T20:23:57.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:57.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:57.070Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:57.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:57.070Z] [2021-10-08T20:23:57.070Z] Login Succeeded [2021-10-08T20:23:57.070Z] nexus3.edgexfoundry.org:10003 [2021-10-08T20:23:57.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:57.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:57.332Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:57.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:57.332Z] [2021-10-08T20:23:57.332Z] Login Succeeded [2021-10-08T20:23:57.332Z] nexus3.edgexfoundry.org:10004 [2021-10-08T20:23:57.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:57.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:57.332Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:57.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:57.332Z] [2021-10-08T20:23:57.332Z] Login Succeeded [2021-10-08T20:23:57.332Z] docker.io [2021-10-08T20:23:57.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:23:57.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:23:57.853Z] Configure a credential helper to remove this warning. See [2021-10-08T20:23:57.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:23:57.853Z] [2021-10-08T20:23:57.853Z] Login Succeeded [2021-10-08T20:23:57.853Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T20:23:57.861Z] 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 [2021-10-08T20:23:58.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T20:23:58.832Z] + ls -al . [2021-10-08T20:23:58.832Z] total 8 [2021-10-08T20:23:58.832Z] drwxrwxr-x. 3 jenkins jenkins 55 Oct 8 20:23 . [2021-10-08T20:23:58.832Z] drwxrwxr-x. 4 jenkins jenkins 112 Oct 8 20:23 .. [2021-10-08T20:23:58.832Z] -rw-rw-r--. 1 jenkins jenkins 401 Oct 8 20:23 Dockerfile [2021-10-08T20:23:58.832Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 8 20:23 .git [2021-10-08T20:23:58.832Z] -rw-rw-r--. 1 jenkins jenkins 883 Oct 8 20:23 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:23:59.174Z] + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=8dbff7922d1b221651f0b16e872d16215c6a8218 --label arch=amd64 . [2021-10-08T20:23:59.174Z] Sending build context to Docker daemon 395.8kB [2021-10-08T20:23:59.174Z] Step 1/6 : FROM alpine:3.14 [2021-10-08T20:23:59.751Z] 3.14: Pulling from library/alpine [2021-10-08T20:23:59.751Z] a0d0a0d46f8b: Pulling fs layer [2021-10-08T20:24:00.016Z] a0d0a0d46f8b: Verifying Checksum [2021-10-08T20:24:00.016Z] a0d0a0d46f8b: Download complete [2021-10-08T20:24:00.275Z] a0d0a0d46f8b: Pull complete [2021-10-08T20:24:00.276Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-08T20:24:00.276Z] Status: Downloaded newer image for alpine:3.14 [2021-10-08T20:24:00.276Z] ---> 14119a10abf4 [2021-10-08T20:24:00.276Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-10-08T20:24:00.276Z] ---> Running in 5e8eb2a866eb [2021-10-08T20:24:00.541Z] Removing intermediate container 5e8eb2a866eb [2021-10-08T20:24:00.541Z] ---> 9ad95c056beb [2021-10-08T20:24:00.541Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T20:24:00.541Z] ---> Running in 42278cf442f1 [2021-10-08T20:24:01.113Z] Removing intermediate container 42278cf442f1 [2021-10-08T20:24:01.113Z] ---> 54fa3d4ad61d [2021-10-08T20:24:01.113Z] Step 4/6 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev [2021-10-08T20:24:01.113Z] ---> Running in ceaaf0dd0669 [2021-10-08T20:24:01.374Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-08T20:24:02.319Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-08T20:24:02.580Z] (1/63) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T20:24:02.580Z] (2/63) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T20:24:02.840Z] (3/63) Installing binutils (2.35.2-r2) [2021-10-08T20:24:02.840Z] (4/63) Installing libmagic (5.40-r1) [2021-10-08T20:24:03.100Z] (5/63) Installing file (5.40-r1) [2021-10-08T20:24:03.100Z] (6/63) Installing libgomp (10.3.1_git20210424-r2) [2021-10-08T20:24:03.361Z] (7/63) Installing libatomic (10.3.1_git20210424-r2) [2021-10-08T20:24:03.361Z] (8/63) Installing libgphobos (10.3.1_git20210424-r2) [2021-10-08T20:24:03.621Z] (9/63) Installing gmp (6.2.1-r0) [2021-10-08T20:24:03.621Z] (10/63) Installing isl22 (0.22-r0) [2021-10-08T20:24:03.621Z] (11/63) Installing mpfr4 (4.1.0-r0) [2021-10-08T20:24:03.883Z] (12/63) Installing mpc1 (1.2.1-r0) [2021-10-08T20:24:03.883Z] (13/63) Installing gcc (10.3.1_git20210424-r2) [2021-10-08T20:24:05.278Z] (14/63) Installing musl-dev (1.2.2-r3) [2021-10-08T20:24:05.541Z] (15/63) Installing libc-dev (0.7.2-r3) [2021-10-08T20:24:05.541Z] (16/63) Installing g++ (10.3.1_git20210424-r2) [2021-10-08T20:24:06.923Z] (17/63) Installing make (4.3-r0) [2021-10-08T20:24:06.923Z] (18/63) Installing fortify-headers (1.1-r1) [2021-10-08T20:24:06.923Z] (19/63) Installing patch (2.7.6-r7) [2021-10-08T20:24:06.923Z] (20/63) Installing build-base (0.5-r2) [2021-10-08T20:24:07.187Z] (21/63) Installing libacl (2.2.53-r0) [2021-10-08T20:24:07.187Z] (22/63) Installing libbz2 (1.0.8-r1) [2021-10-08T20:24:07.447Z] (23/63) Installing expat (2.4.1-r0) [2021-10-08T20:24:07.447Z] (24/63) Installing lz4-libs (1.9.3-r0) [2021-10-08T20:24:07.447Z] (25/63) Installing xz-libs (5.2.5-r0) [2021-10-08T20:24:07.707Z] (26/63) Installing zstd-libs (1.4.9-r1) [2021-10-08T20:24:07.707Z] (27/63) Installing libarchive (3.5.1-r0) [2021-10-08T20:24:07.707Z] (28/63) Installing ca-certificates (20191127-r5) [2021-10-08T20:24:07.967Z] (29/63) Installing brotli-libs (1.0.9-r5) [2021-10-08T20:24:07.967Z] (30/63) Installing nghttp2-libs (1.43.0-r0) [2021-10-08T20:24:08.227Z] (31/63) Installing libcurl (7.79.1-r0) [2021-10-08T20:24:08.227Z] (32/63) Installing ncurses-terminfo-base (6.2_p20210612-r0) [2021-10-08T20:24:08.227Z] (33/63) Installing ncurses-libs (6.2_p20210612-r0) [2021-10-08T20:24:08.488Z] (34/63) Installing rhash-libs (1.4.1-r0) [2021-10-08T20:24:08.488Z] (35/63) Installing libuv (1.41.0-r0) [2021-10-08T20:24:08.488Z] (36/63) Installing cmake (3.20.3-r0) [2021-10-08T20:24:10.402Z] (37/63) Installing pkgconf (1.7.4-r0) [2021-10-08T20:24:10.402Z] (38/63) Installing openssl-dev (1.1.1l-r0) [2021-10-08T20:24:10.402Z] (39/63) Installing nghttp2-dev (1.43.0-r0) [2021-10-08T20:24:10.402Z] (40/63) Installing zlib-dev (1.2.11-r3) [2021-10-08T20:24:10.402Z] (41/63) Installing brotli-dev (1.0.9-r5) [2021-10-08T20:24:10.662Z] (42/63) Installing curl-dev (7.79.1-r0) [2021-10-08T20:24:10.662Z] (43/63) Installing pcre2 (10.36-r0) [2021-10-08T20:24:10.662Z] (44/63) Installing git (2.32.0-r0) [2021-10-08T20:24:11.230Z] (45/63) Installing nettle (3.7.3-r0) [2021-10-08T20:24:11.230Z] (46/63) Installing libffi (3.3-r2) [2021-10-08T20:24:11.489Z] (47/63) Installing p11-kit (0.23.22-r0) [2021-10-08T20:24:11.489Z] (48/63) Installing libtasn1 (4.17.0-r0) [2021-10-08T20:24:11.489Z] (49/63) Installing libunistring (0.9.10-r1) [2021-10-08T20:24:11.710Z] Still waiting to schedule task [2021-10-08T20:24:11.710Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-08T20:24:11.749Z] (50/63) Installing gnutls (3.7.1-r0) [2021-10-08T20:24:11.749Z] (51/63) Installing libmicrohttpd (0.9.72-r0) [2021-10-08T20:24:12.009Z] (52/63) Installing gnutls-c++ (3.7.1-r0) [2021-10-08T20:24:12.009Z] (53/63) Installing libgmpxx (6.2.1-r0) [2021-10-08T20:24:12.009Z] (54/63) Installing gmp-dev (6.2.1-r0) [2021-10-08T20:24:12.270Z] (55/63) Installing nettle-dev (3.7.3-r0) [2021-10-08T20:24:12.270Z] (56/63) Installing libtasn1-progs (4.17.0-r0) [2021-10-08T20:24:12.270Z] (57/63) Installing libtasn1-dev (4.17.0-r0) [2021-10-08T20:24:12.529Z] (58/63) Installing p11-kit-dev (0.23.22-r0) [2021-10-08T20:24:12.529Z] (59/63) Installing gnutls-dev (3.7.1-r0) [2021-10-08T20:24:12.790Z] (60/63) Installing libmicrohttpd-dev (0.9.72-r0) [2021-10-08T20:24:12.790Z] (61/63) Installing linux-headers (5.10.41-r0) [2021-10-08T20:24:13.050Z] (62/63) Installing yaml (0.2.5-r0) [2021-10-08T20:24:13.050Z] (63/63) Installing yaml-dev (0.2.5-r0) [2021-10-08T20:24:13.311Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T20:24:13.311Z] Executing ca-certificates-20191127-r5.trigger [2021-10-08T20:24:13.311Z] OK: 279 MiB in 77 packages [2021-10-08T20:24:17.535Z] Removing intermediate container ceaaf0dd0669 [2021-10-08T20:24:17.535Z] ---> f454abea7bf5 [2021-10-08T20:24:17.535Z] Step 5/6 : LABEL arch=amd64 [2021-10-08T20:24:17.535Z] ---> Running in 9089a253a6d2 [2021-10-08T20:24:17.535Z] Removing intermediate container 9089a253a6d2 [2021-10-08T20:24:17.535Z] ---> 10b4943eb3dd [2021-10-08T20:24:17.535Z] Step 6/6 : LABEL git_sha=8dbff7922d1b221651f0b16e872d16215c6a8218 [2021-10-08T20:24:17.535Z] ---> Running in cf5302c0f040 [2021-10-08T20:24:17.796Z] Removing intermediate container cf5302c0f040 [2021-10-08T20:24:17.796Z] ---> a4e04833b611 [2021-10-08T20:24:17.796Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-08T20:24:17.796Z] Successfully built a4e04833b611 [2021-10-08T20:24:17.796Z] Successfully tagged edgex-devops/edgex-gcc-base:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2021-10-08T20:24:18.007Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base with the following tags: [2021-10-08T20:24:18.007Z] 8dbff7922d1b221651f0b16e872d16215c6a8218 [2021-10-08T20:24:18.007Z] latest [2021-10-08T20:24:18.007Z] gcc [2021-10-08T20:24:18.007Z] 4 [2021-10-08T20:24:18.007Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:18.306Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8dbff7922d1b221651f0b16e872d16215c6a8218 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:18.599Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8dbff7922d1b221651f0b16e872d16215c6a8218 [2021-10-08T20:24:18.599Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2021-10-08T20:24:18.599Z] 39caa27d5e47: Preparing [2021-10-08T20:24:18.599Z] e59fef36871e: Preparing [2021-10-08T20:24:18.599Z] e2eb06d8af82: Preparing [2021-10-08T20:24:18.599Z] e2eb06d8af82: Layer already exists [2021-10-08T20:24:18.599Z] e59fef36871e: Pushed [2021-10-08T20:24:45.198Z] 39caa27d5e47: Pushed [2021-10-08T20:24:45.198Z] 8dbff7922d1b221651f0b16e872d16215c6a8218: digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 size: 947 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:45.498Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:45.790Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-10-08T20:24:45.790Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2021-10-08T20:24:45.790Z] 39caa27d5e47: Preparing [2021-10-08T20:24:45.790Z] e59fef36871e: Preparing [2021-10-08T20:24:45.790Z] e2eb06d8af82: Preparing [2021-10-08T20:24:45.790Z] e2eb06d8af82: Layer already exists [2021-10-08T20:24:45.790Z] 39caa27d5e47: Layer already exists [2021-10-08T20:24:45.790Z] e59fef36871e: Layer already exists [2021-10-08T20:24:45.790Z] latest: digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 size: 947 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:46.095Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:46.391Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2021-10-08T20:24:46.391Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2021-10-08T20:24:46.391Z] 39caa27d5e47: Preparing [2021-10-08T20:24:46.391Z] e59fef36871e: Preparing [2021-10-08T20:24:46.391Z] e2eb06d8af82: Preparing [2021-10-08T20:24:46.391Z] e2eb06d8af82: Layer already exists [2021-10-08T20:24:46.391Z] 39caa27d5e47: Layer already exists [2021-10-08T20:24:46.391Z] e59fef36871e: Layer already exists [2021-10-08T20:24:46.391Z] gcc: digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 size: 947 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:46.687Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:4 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:46.981Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:4 [2021-10-08T20:24:46.981Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2021-10-08T20:24:46.981Z] 39caa27d5e47: Preparing [2021-10-08T20:24:46.981Z] e59fef36871e: Preparing [2021-10-08T20:24:46.981Z] e2eb06d8af82: Preparing [2021-10-08T20:24:46.981Z] 39caa27d5e47: Layer already exists [2021-10-08T20:24:46.981Z] e59fef36871e: Layer already exists [2021-10-08T20:24:46.981Z] e2eb06d8af82: Layer already exists [2021-10-08T20:24:46.981Z] 4: digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 size: 947 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-08T20:24:47.010Z] ===================================================== [Pipeline] echo [2021-10-08T20:24:47.017Z] taggedImages: [2021-10-08T20:24:47.018Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8dbff7922d1b221651f0b16e872d16215c6a8218 [2021-10-08T20:24:47.018Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-10-08T20:24:47.018Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2021-10-08T20:24:47.018Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:4 [Pipeline] } [Pipeline] // script [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 [2021-10-08T20:24:47.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T20:24:47.463Z] [2021-10-08T20:24:47.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:24:47.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T20:24:47.769Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-08T20:24:47.769Z] b4d181a07f80: Pulling fs layer [2021-10-08T20:24:47.769Z] a1111a8f2ec3: Pulling fs layer [2021-10-08T20:24:47.769Z] ed53099fbce6: Pulling fs layer [2021-10-08T20:24:47.769Z] dc539afda2c1: Pulling fs layer [2021-10-08T20:24:47.769Z] 77bc0d833cb6: Pulling fs layer [2021-10-08T20:24:47.769Z] 9065ff56babe: Pulling fs layer [2021-10-08T20:24:47.769Z] d287ab97295c: Pulling fs layer [2021-10-08T20:24:47.769Z] 77bc0d833cb6: Waiting [2021-10-08T20:24:47.769Z] 9065ff56babe: Waiting [2021-10-08T20:24:47.769Z] d287ab97295c: Waiting [2021-10-08T20:24:47.769Z] dc539afda2c1: Waiting [2021-10-08T20:24:47.769Z] a1111a8f2ec3: Verifying Checksum [2021-10-08T20:24:47.769Z] a1111a8f2ec3: Download complete [2021-10-08T20:24:47.769Z] dc539afda2c1: Verifying Checksum [2021-10-08T20:24:47.769Z] dc539afda2c1: Download complete [2021-10-08T20:24:47.769Z] ed53099fbce6: Verifying Checksum [2021-10-08T20:24:47.769Z] ed53099fbce6: Download complete [2021-10-08T20:24:48.035Z] 9065ff56babe: Verifying Checksum [2021-10-08T20:24:48.035Z] 9065ff56babe: Download complete [2021-10-08T20:24:48.035Z] 77bc0d833cb6: Verifying Checksum [2021-10-08T20:24:48.035Z] 77bc0d833cb6: Download complete [2021-10-08T20:24:48.035Z] b4d181a07f80: Verifying Checksum [2021-10-08T20:24:48.035Z] b4d181a07f80: Download complete [2021-10-08T20:24:48.613Z] d287ab97295c: Verifying Checksum [2021-10-08T20:24:48.613Z] d287ab97295c: Download complete [2021-10-08T20:24:49.568Z] b4d181a07f80: Pull complete [2021-10-08T20:24:49.568Z] a1111a8f2ec3: Pull complete [2021-10-08T20:24:50.145Z] ed53099fbce6: Pull complete [2021-10-08T20:24:50.145Z] dc539afda2c1: Pull complete [2021-10-08T20:24:50.720Z] 77bc0d833cb6: Pull complete [2021-10-08T20:24:50.720Z] 9065ff56babe: Pull complete [2021-10-08T20:24:56.087Z] d287ab97295c: Pull complete [2021-10-08T20:24:56.087Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-08T20:24:56.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T20:24:56.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-08T20:24:56.179Z] prd-centos7-docker-4c-2g-138 does not seem to be running inside a container [2021-10-08T20:24:56.219Z] $ 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/edgexfoundry_ci-build-images_gcc -v /w/workspace/edgexfoundry_ci-build-images_gcc:/w/workspace/edgexfoundry_ci-build-images_gcc:rw,z -v /w/workspace/edgexfoundry_ci-build-images_gcc@tmp:/w/workspace/edgexfoundry_ci-build-images_gcc@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-08T20:24:58.503Z] $ docker top 18c23c362d709d04d80d6a5514915aaf2da330ca4e18576a363baab4e8f8ede8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:24:58.908Z] ---> job-cost.sh [2021-10-08T20:24:58.908Z] lf-activate-venv: SKIPPING [2021-10-08T20:24:58.908Z] INFO: No Stack... [2021-10-08T20:25:05.489Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T20:25:05.489Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T20:25:05.793Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2021-10-08T20:25:05.793Z] + cut -d, -f6 [Pipeline] lock [2021-10-08T20:25:05.822Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-4-stack-cost] [2021-10-08T20:25:05.832Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-4-stack-cost] did not exist. Created. [2021-10-08T20:25:05.832Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T20:25:06.134Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-08T20:25:06.343Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T20:25:06.351Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T20:25:06.364Z] $ docker stop --time=1 18c23c362d709d04d80d6a5514915aaf2da330ca4e18576a363baab4e8f8ede8 [2021-10-08T20:25:07.498Z] $ docker rm -f 18c23c362d709d04d80d6a5514915aaf2da330ca4e18576a363baab4e8f8ede8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-08T20:28:39.537Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-142 in /w/workspace/edgexfoundry_ci-build-images_gcc [Pipeline] { [Pipeline] checkout [2021-10-08T20:28:39.755Z] Selected Git installation does not exist. Using Default [2021-10-08T20:28:39.755Z] The recommended git tool is: NONE [2021-10-08T20:28:45.967Z] using credential edgex-jenkins-ssh [2021-10-08T20:28:45.985Z] Cloning the remote Git repository [2021-10-08T20:28:46.023Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-10-08T20:28:47.245Z] Avoid second fetch [2021-10-08T20:28:47.245Z] Checking out Revision 8dbff7922d1b221651f0b16e872d16215c6a8218 (gcc) [2021-10-08T20:28:46.135Z] > git init /w/workspace/edgexfoundry_ci-build-images_gcc # timeout=10 [2021-10-08T20:28:46.235Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-10-08T20:28:46.237Z] > git --version # timeout=10 [2021-10-08T20:28:46.260Z] > git --version # 'git version 2.17.1' [2021-10-08T20:28:46.262Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T20:28:46.357Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T20:28:47.196Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-10-08T20:28:47.213Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T20:28:47.254Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T20:28:47.271Z] > git checkout -f 8dbff7922d1b221651f0b16e872d16215c6a8218 # timeout=10 [2021-10-08T20:28:51.603Z] Commit message: "Merge pull request #182 from ernestojeda/gcc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T20:28:52.136Z] provisioning config files... [2021-10-08T20:28:52.167Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config4478261927769817363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:28:52.765Z] ---> docker-login.sh [2021-10-08T20:28:52.765Z] nexus3.edgexfoundry.org:10001 [2021-10-08T20:28:54.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:28:54.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:28:54.513Z] Configure a credential helper to remove this warning. See [2021-10-08T20:28:54.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:28:54.513Z] [2021-10-08T20:28:54.513Z] Login Succeeded [2021-10-08T20:28:54.513Z] nexus3.edgexfoundry.org:10002 [2021-10-08T20:28:54.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:28:55.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:28:55.075Z] Configure a credential helper to remove this warning. See [2021-10-08T20:28:55.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:28:55.075Z] [2021-10-08T20:28:55.075Z] Login Succeeded [2021-10-08T20:28:55.075Z] nexus3.edgexfoundry.org:10003 [2021-10-08T20:28:55.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:28:55.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:28:55.638Z] Configure a credential helper to remove this warning. See [2021-10-08T20:28:55.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:28:55.638Z] [2021-10-08T20:28:55.638Z] Login Succeeded [2021-10-08T20:28:55.638Z] nexus3.edgexfoundry.org:10004 [2021-10-08T20:28:56.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:28:56.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:28:56.247Z] Configure a credential helper to remove this warning. See [2021-10-08T20:28:56.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:28:56.247Z] [2021-10-08T20:28:56.247Z] Login Succeeded [2021-10-08T20:28:56.247Z] docker.io [2021-10-08T20:28:56.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:28:57.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:28:57.168Z] Configure a credential helper to remove this warning. See [2021-10-08T20:28:57.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:28:57.168Z] [2021-10-08T20:28:57.168Z] Login Succeeded [2021-10-08T20:28:57.168Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T20:28:57.258Z] 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 [2021-10-08T20:28:57.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T20:28:58.255Z] + ls -al . [2021-10-08T20:28:58.255Z] total 20 [2021-10-08T20:28:58.255Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 20:28 . [2021-10-08T20:28:58.255Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 20:28 .. [2021-10-08T20:28:58.255Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 20:28 .git [2021-10-08T20:28:58.255Z] -rw-rw-r-- 1 jenkins jenkins 401 Oct 8 20:28 Dockerfile [2021-10-08T20:28:58.255Z] -rw-rw-r-- 1 jenkins jenkins 883 Oct 8 20:28 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:28:58.623Z] + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=8dbff7922d1b221651f0b16e872d16215c6a8218 --label arch=arm64 . [2021-10-08T20:28:58.909Z] Sending build context to Docker daemon 396.8kB [2021-10-08T20:28:58.909Z] Step 1/6 : FROM alpine:3.14 [2021-10-08T20:28:59.901Z] 3.14: Pulling from library/alpine [2021-10-08T20:28:59.901Z] 552d1f2373af: Pulling fs layer [2021-10-08T20:29:00.179Z] 552d1f2373af: Verifying Checksum [2021-10-08T20:29:00.179Z] 552d1f2373af: Download complete [2021-10-08T20:29:03.592Z] 552d1f2373af: Pull complete [2021-10-08T20:29:03.592Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-08T20:29:03.592Z] Status: Downloaded newer image for alpine:3.14 [2021-10-08T20:29:03.592Z] ---> bb3de5531c18 [2021-10-08T20:29:03.592Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-10-08T20:29:03.592Z] ---> Running in 707931d26785 [2021-10-08T20:29:04.206Z] Removing intermediate container 707931d26785 [2021-10-08T20:29:04.206Z] ---> 6607ec1bb17a [2021-10-08T20:29:04.206Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T20:29:04.206Z] ---> Running in a33579757950 [2021-10-08T20:29:06.862Z] Removing intermediate container a33579757950 [2021-10-08T20:29:06.862Z] ---> 524ceb394f51 [2021-10-08T20:29:06.862Z] Step 4/6 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev [2021-10-08T20:29:06.862Z] ---> Running in a9c8d7d5f0ff [2021-10-08T20:29:08.340Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-08T20:29:09.332Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-08T20:29:09.939Z] (1/63) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T20:29:09.939Z] (2/63) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T20:29:09.939Z] (3/63) Installing binutils (2.35.2-r2) [2021-10-08T20:29:10.542Z] (4/63) Installing libmagic (5.40-r1) [2021-10-08T20:29:10.542Z] (5/63) Installing file (5.40-r1) [2021-10-08T20:29:10.820Z] (6/63) Installing libgomp (10.3.1_git20210424-r2) [2021-10-08T20:29:10.820Z] (7/63) Installing libatomic (10.3.1_git20210424-r2) [2021-10-08T20:29:10.820Z] (8/63) Installing libgphobos (10.3.1_git20210424-r2) [2021-10-08T20:29:11.097Z] (9/63) Installing gmp (6.2.1-r0) [2021-10-08T20:29:11.097Z] (10/63) Installing isl22 (0.22-r0) [2021-10-08T20:29:11.377Z] (11/63) Installing mpfr4 (4.1.0-r0) [2021-10-08T20:29:11.377Z] (12/63) Installing mpc1 (1.2.1-r0) [2021-10-08T20:29:11.654Z] (13/63) Installing gcc (10.3.1_git20210424-r2) [2021-10-08T20:29:13.652Z] (14/63) Installing musl-dev (1.2.2-r3) [2021-10-08T20:29:13.652Z] (15/63) Installing libc-dev (0.7.2-r3) [2021-10-08T20:29:13.941Z] (16/63) Installing g++ (10.3.1_git20210424-r2) [2021-10-08T20:29:15.939Z] (17/63) Installing make (4.3-r0) [2021-10-08T20:29:15.939Z] (18/63) Installing fortify-headers (1.1-r1) [2021-10-08T20:29:15.939Z] (19/63) Installing patch (2.7.6-r7) [2021-10-08T20:29:15.939Z] (20/63) Installing build-base (0.5-r2) [2021-10-08T20:29:15.939Z] (21/63) Installing libacl (2.2.53-r0) [2021-10-08T20:29:15.939Z] (22/63) Installing libbz2 (1.0.8-r1) [2021-10-08T20:29:16.215Z] (23/63) Installing expat (2.4.1-r0) [2021-10-08T20:29:16.215Z] (24/63) Installing lz4-libs (1.9.3-r0) [2021-10-08T20:29:16.215Z] (25/63) Installing xz-libs (5.2.5-r0) [2021-10-08T20:29:16.495Z] (26/63) Installing zstd-libs (1.4.9-r1) [2021-10-08T20:29:16.495Z] (27/63) Installing libarchive (3.5.1-r0) [2021-10-08T20:29:16.772Z] (28/63) Installing ca-certificates (20191127-r5) [2021-10-08T20:29:16.772Z] (29/63) Installing brotli-libs (1.0.9-r5) [2021-10-08T20:29:16.772Z] (30/63) Installing nghttp2-libs (1.43.0-r0) [2021-10-08T20:29:17.049Z] (31/63) Installing libcurl (7.79.1-r0) [2021-10-08T20:29:17.049Z] (32/63) Installing ncurses-terminfo-base (6.2_p20210612-r0) [2021-10-08T20:29:17.325Z] (33/63) Installing ncurses-libs (6.2_p20210612-r0) [2021-10-08T20:29:17.325Z] (34/63) Installing rhash-libs (1.4.1-r0) [2021-10-08T20:29:17.325Z] (35/63) Installing libuv (1.41.0-r0) [2021-10-08T20:29:17.605Z] (36/63) Installing cmake (3.20.3-r0) [2021-10-08T20:29:19.600Z] (37/63) Installing pkgconf (1.7.4-r0) [2021-10-08T20:29:19.600Z] (38/63) Installing openssl-dev (1.1.1l-r0) [2021-10-08T20:29:19.876Z] (39/63) Installing nghttp2-dev (1.43.0-r0) [2021-10-08T20:29:19.876Z] (40/63) Installing zlib-dev (1.2.11-r3) [2021-10-08T20:29:19.876Z] (41/63) Installing brotli-dev (1.0.9-r5) [2021-10-08T20:29:20.153Z] (42/63) Installing curl-dev (7.79.1-r0) [2021-10-08T20:29:20.153Z] (43/63) Installing pcre2 (10.36-r0) [2021-10-08T20:29:20.153Z] (44/63) Installing git (2.32.0-r0) [2021-10-08T20:29:20.754Z] (45/63) Installing nettle (3.7.3-r0) [2021-10-08T20:29:21.033Z] (46/63) Installing libffi (3.3-r2) [2021-10-08T20:29:21.033Z] (47/63) Installing p11-kit (0.23.22-r0) [2021-10-08T20:29:21.309Z] (48/63) Installing libtasn1 (4.17.0-r0) [2021-10-08T20:29:21.309Z] (49/63) Installing libunistring (0.9.10-r1) [2021-10-08T20:29:21.309Z] (50/63) Installing gnutls (3.7.1-r0) [2021-10-08T20:29:21.585Z] (51/63) Installing libmicrohttpd (0.9.72-r0) [2021-10-08T20:29:21.585Z] (52/63) Installing gnutls-c++ (3.7.1-r0) [2021-10-08T20:29:21.585Z] (53/63) Installing libgmpxx (6.2.1-r0) [2021-10-08T20:29:21.860Z] (54/63) Installing gmp-dev (6.2.1-r0) [2021-10-08T20:29:21.860Z] (55/63) Installing nettle-dev (3.7.3-r0) [2021-10-08T20:29:22.136Z] (56/63) Installing libtasn1-progs (4.17.0-r0) [2021-10-08T20:29:22.433Z] (57/63) Installing libtasn1-dev (4.17.0-r0) [2021-10-08T20:29:22.433Z] (58/63) Installing p11-kit-dev (0.23.22-r0) [2021-10-08T20:29:22.433Z] (59/63) Installing gnutls-dev (3.7.1-r0) [2021-10-08T20:29:22.711Z] (60/63) Installing libmicrohttpd-dev (0.9.72-r0) [2021-10-08T20:29:22.711Z] (61/63) Installing linux-headers (5.10.41-r0) [2021-10-08T20:29:23.318Z] (62/63) Installing yaml (0.2.5-r0) [2021-10-08T20:29:23.318Z] (63/63) Installing yaml-dev (0.2.5-r0) [2021-10-08T20:29:23.318Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T20:29:23.318Z] Executing ca-certificates-20191127-r5.trigger [2021-10-08T20:29:23.593Z] OK: 274 MiB in 77 packages [2021-10-08T20:29:38.758Z] Removing intermediate container a9c8d7d5f0ff [2021-10-08T20:29:38.758Z] ---> 608cd0c5a209 [2021-10-08T20:29:38.758Z] Step 5/6 : LABEL arch=arm64 [2021-10-08T20:29:38.758Z] ---> Running in e11b0b0c4f47 [2021-10-08T20:29:39.036Z] Removing intermediate container e11b0b0c4f47 [2021-10-08T20:29:39.036Z] ---> fc9aa7d075dd [2021-10-08T20:29:39.036Z] Step 6/6 : LABEL git_sha=8dbff7922d1b221651f0b16e872d16215c6a8218 [2021-10-08T20:29:39.312Z] ---> Running in 8bb6f597cd2d [2021-10-08T20:29:39.591Z] Removing intermediate container 8bb6f597cd2d [2021-10-08T20:29:39.591Z] ---> b6d714ea7bf2 [2021-10-08T20:29:39.591Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-08T20:29:39.591Z] Successfully built b6d714ea7bf2 [2021-10-08T20:29:39.868Z] Successfully tagged edgex-devops/edgex-gcc-base-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2021-10-08T20:29:39.997Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base-arm64 with the following tags: [2021-10-08T20:29:39.997Z] 8dbff7922d1b221651f0b16e872d16215c6a8218 [2021-10-08T20:29:39.997Z] latest [2021-10-08T20:29:39.997Z] gcc [2021-10-08T20:29:39.997Z] 4 [2021-10-08T20:29:39.997Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:29:40.347Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8dbff7922d1b221651f0b16e872d16215c6a8218 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:29:40.711Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8dbff7922d1b221651f0b16e872d16215c6a8218 [2021-10-08T20:29:40.711Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2021-10-08T20:29:40.711Z] 3476efc7c259: Preparing [2021-10-08T20:29:40.711Z] 80f69c7ec432: Preparing [2021-10-08T20:29:40.711Z] ee420dfed78a: Preparing [2021-10-08T20:29:40.989Z] ee420dfed78a: Layer already exists [2021-10-08T20:29:40.989Z] 80f69c7ec432: Pushed [2021-10-08T20:30:37.625Z] 3476efc7c259: Pushed [2021-10-08T20:30:37.625Z] 8dbff7922d1b221651f0b16e872d16215c6a8218: digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b size: 947 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:30:37.978Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:30:38.343Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-10-08T20:30:38.343Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2021-10-08T20:30:38.343Z] 3476efc7c259: Preparing [2021-10-08T20:30:38.343Z] 80f69c7ec432: Preparing [2021-10-08T20:30:38.343Z] ee420dfed78a: Preparing [2021-10-08T20:30:38.622Z] ee420dfed78a: Layer already exists [2021-10-08T20:30:38.622Z] 3476efc7c259: Layer already exists [2021-10-08T20:30:38.622Z] 80f69c7ec432: Layer already exists [2021-10-08T20:30:38.622Z] latest: digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b size: 947 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:30:38.986Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:30:39.339Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2021-10-08T20:30:39.339Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2021-10-08T20:30:39.339Z] 3476efc7c259: Preparing [2021-10-08T20:30:39.339Z] 80f69c7ec432: Preparing [2021-10-08T20:30:39.339Z] ee420dfed78a: Preparing [2021-10-08T20:30:39.616Z] ee420dfed78a: Layer already exists [2021-10-08T20:30:39.616Z] 3476efc7c259: Layer already exists [2021-10-08T20:30:39.616Z] 80f69c7ec432: Layer already exists [2021-10-08T20:30:39.616Z] gcc: digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b size: 947 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:30:39.987Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:4 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:30:40.335Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:4 [2021-10-08T20:30:40.335Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2021-10-08T20:30:40.335Z] 3476efc7c259: Preparing [2021-10-08T20:30:40.335Z] 80f69c7ec432: Preparing [2021-10-08T20:30:40.335Z] ee420dfed78a: Preparing [2021-10-08T20:30:40.335Z] ee420dfed78a: Layer already exists [2021-10-08T20:30:40.335Z] 3476efc7c259: Layer already exists [2021-10-08T20:30:40.335Z] 80f69c7ec432: Layer already exists [2021-10-08T20:30:40.613Z] 4: digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b size: 947 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-08T20:30:40.653Z] ===================================================== [Pipeline] echo [2021-10-08T20:30:40.659Z] taggedImages: [2021-10-08T20:30:40.659Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8dbff7922d1b221651f0b16e872d16215c6a8218 [2021-10-08T20:30:40.659Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-10-08T20:30:40.659Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2021-10-08T20:30:40.659Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:4 [Pipeline] } [Pipeline] // script [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 [2021-10-08T20:30:41.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T20:30:41.199Z] [2021-10-08T20:30:41.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:30:41.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T20:30:41.846Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-08T20:30:41.846Z] 448f6bf000e3: Pulling fs layer [2021-10-08T20:30:41.846Z] f757da607395: Pulling fs layer [2021-10-08T20:30:41.846Z] 05883995daec: Pulling fs layer [2021-10-08T20:30:41.846Z] 8603b9c90790: Pulling fs layer [2021-10-08T20:30:41.846Z] 1560dd03e051: Pulling fs layer [2021-10-08T20:30:41.846Z] 27f5ce0e4adf: Pulling fs layer [2021-10-08T20:30:41.846Z] c2d8d7efcc4b: Pulling fs layer [2021-10-08T20:30:41.846Z] 8603b9c90790: Waiting [2021-10-08T20:30:41.846Z] 1560dd03e051: Waiting [2021-10-08T20:30:41.846Z] 27f5ce0e4adf: Waiting [2021-10-08T20:30:41.846Z] c2d8d7efcc4b: Waiting [2021-10-08T20:30:42.124Z] f757da607395: Verifying Checksum [2021-10-08T20:30:42.124Z] f757da607395: Download complete [2021-10-08T20:30:42.124Z] 8603b9c90790: Verifying Checksum [2021-10-08T20:30:42.124Z] 8603b9c90790: Download complete [2021-10-08T20:30:42.124Z] 1560dd03e051: Verifying Checksum [2021-10-08T20:30:42.124Z] 1560dd03e051: Download complete [2021-10-08T20:30:42.124Z] 05883995daec: Verifying Checksum [2021-10-08T20:30:42.124Z] 05883995daec: Download complete [2021-10-08T20:30:42.124Z] 27f5ce0e4adf: Verifying Checksum [2021-10-08T20:30:42.124Z] 27f5ce0e4adf: Download complete [2021-10-08T20:30:42.727Z] 448f6bf000e3: Verifying Checksum [2021-10-08T20:30:42.727Z] 448f6bf000e3: Download complete [2021-10-08T20:30:45.393Z] c2d8d7efcc4b: Verifying Checksum [2021-10-08T20:30:45.393Z] c2d8d7efcc4b: Download complete [2021-10-08T20:30:46.014Z] 448f6bf000e3: Pull complete [2021-10-08T20:30:47.009Z] f757da607395: Pull complete [2021-10-08T20:30:48.475Z] 05883995daec: Pull complete [2021-10-08T20:30:48.751Z] 8603b9c90790: Pull complete [2021-10-08T20:30:49.745Z] 1560dd03e051: Pull complete [2021-10-08T20:30:50.021Z] 27f5ce0e4adf: Pull complete [2021-10-08T20:31:05.194Z] c2d8d7efcc4b: Pull complete [2021-10-08T20:31:05.194Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-08T20:31:05.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T20:31:05.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-08T20:31:05.483Z] prd-ubuntu18.04-docker-arm64-4c-16g-142 does not seem to be running inside a container [2021-10-08T20:31:05.574Z] $ 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/edgexfoundry_ci-build-images_gcc -v /w/workspace/edgexfoundry_ci-build-images_gcc:/w/workspace/edgexfoundry_ci-build-images_gcc:rw,z -v /w/workspace/edgexfoundry_ci-build-images_gcc@tmp:/w/workspace/edgexfoundry_ci-build-images_gcc@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-08T20:31:08.438Z] $ docker top 5672c03822a090a08541087ffc20f79d6205439d4eb83fbda816a885359451ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:31:09.441Z] ---> job-cost.sh [2021-10-08T20:31:09.441Z] lf-activate-venv: SKIPPING [2021-10-08T20:31:09.441Z] INFO: No Stack... [2021-10-08T20:31:10.090Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-08T20:31:10.375Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T20:31:11.141Z] + cut -d, -f6 [2021-10-08T20:31:11.141Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [Pipeline] lock [2021-10-08T20:31:11.233Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-4-stack-cost] [2021-10-08T20:31:11.240Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-4-stack-cost] did not exist. Created. [2021-10-08T20:31:11.240Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T20:31:12.594Z] /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-fd8a7024/script.sh: 1: /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-fd8a7024/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-08T20:31:13.293Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-08T20:31:13.325Z] Warning: overwriting stash ‘stack-cost’ [2021-10-08T20:31:13.864Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T20:31:13.871Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T20:31:13.879Z] $ docker stop --time=1 5672c03822a090a08541087ffc20f79d6205439d4eb83fbda816a885359451ec [2021-10-08T20:31:15.541Z] $ docker rm -f 5672c03822a090a08541087ffc20f79d6205439d4eb83fbda816a885359451ec [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 [2021-10-08T20:31:16.648Z] + '[' -d /w/workspace/edgexfoundry_ci-build-images_gcc/archives ']' [2021-10-08T20:31:16.648Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2021-10-08T20:31:16.648Z] total 4 [2021-10-08T20:31:16.648Z] drwxr-xr-x. 3 root root 34 Oct 8 20:25 . [2021-10-08T20:31:16.648Z] drwxrwxr-x. 4 jenkins jenkins 89 Oct 8 20:25 .. [2021-10-08T20:31:16.648Z] drwxr-xr-x. 2 root root 6 Oct 8 20:25 cost [2021-10-08T20:31:16.648Z] -rw-r--r--. 1 root root 83 Oct 8 20:25 cost.csv [2021-10-08T20:31:16.648Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2021-10-08T20:31:16.648Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2021-10-08T20:31:16.648Z] total 4 [2021-10-08T20:31:16.648Z] drwxr-xr-x. 3 jenkins jenkins 34 Oct 8 20:25 . [2021-10-08T20:31:16.648Z] drwxrwxr-x. 4 jenkins jenkins 89 Oct 8 20:25 .. [2021-10-08T20:31:16.648Z] drwxr-xr-x. 2 jenkins jenkins 6 Oct 8 20:25 cost [2021-10-08T20:31:16.648Z] -rw-r--r--. 1 jenkins jenkins 83 Oct 8 20:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:31:16.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:31:17.516Z] ---> package-listing.sh [2021-10-08T20:31:17.516Z] ++ facter osfamily [2021-10-08T20:31:17.516Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-08T20:31:17.516Z] + OS_FAMILY=redhat [2021-10-08T20:31:17.516Z] + workspace=/w/workspace/edgexfoundry_ci-build-images_gcc [2021-10-08T20:31:17.516Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-08T20:31:17.516Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-08T20:31:17.516Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-08T20:31:17.516Z] + PACKAGES=/tmp/packages_start.txt [2021-10-08T20:31:17.516Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2021-10-08T20:31:17.516Z] + PACKAGES=/tmp/packages_end.txt [2021-10-08T20:31:17.516Z] + case "${OS_FAMILY}" in [2021-10-08T20:31:17.516Z] + rpm -qa [2021-10-08T20:31:17.517Z] + sort [2021-10-08T20:31:18.475Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-08T20:31:18.475Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-08T20:31:18.475Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-08T20:31:18.475Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2021-10-08T20:31:18.475Z] + mkdir -p /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [2021-10-08T20:31:18.475Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [Pipeline] echo [2021-10-08T20:31:18.485Z] 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/edgexfoundry_ci-build-images_gcc/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-08T20:31:18.771Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:31:19.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T20:31:19.332Z] . [Pipeline] withDockerContainer [2021-10-08T20:31:19.404Z] prd-centos7-docker-4c-2g-138 does not seem to be running inside a container [2021-10-08T20:31:19.437Z] $ 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/edgexfoundry_ci-build-images_gcc/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_ci-build-images_gcc -v /w/workspace/edgexfoundry_ci-build-images_gcc:/w/workspace/edgexfoundry_ci-build-images_gcc:rw,z -v /w/workspace/edgexfoundry_ci-build-images_gcc@tmp:/w/workspace/edgexfoundry_ci-build-images_gcc@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-08T20:31:19.633Z] $ docker top 3da4f90af0e8068aec7d9e3b84c46eae8ab48a476933cb5264ba1d5237069ba2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T20:31:19.985Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-08T20:31:20.275Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-08T20:31:20.568Z] + ls /var/log/sa-host [2021-10-08T20:31:20.568Z] + sadf -c /var/log/sa-host/sa08 [2021-10-08T20:31:20.568Z] file_magic: OK [2021-10-08T20:31:20.568Z] HZ: Using current value: 100 [2021-10-08T20:31:20.568Z] file_header: OK [2021-10-08T20:31:20.568Z] 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 [2021-10-08T20:31:20.568Z] Statistics: [2021-10-08T20:31:20.568Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T20:31:20.568Z] File successfully converted to sysstat format version 12.0.3 [2021-10-08T20:31:20.568Z] + sadf -c /var/log/sa-host/sa30 [2021-10-08T20:31:20.568Z] file_magic: OK [2021-10-08T20:31:20.568Z] HZ: Using current value: 100 [2021-10-08T20:31:20.568Z] file_header: OK [2021-10-08T20:31:20.568Z] 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 [2021-10-08T20:31:20.568Z] Statistics: [2021-10-08T20:31:20.568Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T20:31:20.568Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T20:31:20.820Z] provisioning config files... [2021-10-08T20:31:20.831Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config3695884738891263606tmp [Pipeline] { [Pipeline] echo [2021-10-08T20:31:20.842Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:31:21.128Z] ---> create-netrc.sh [Pipeline] } [2021-10-08T20:31:21.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:31:21.483Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-08T20:31:21.493Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:31:21.779Z] ---> sudo-logs.sh [2021-10-08T20:31:21.779Z] Archiving 'sudo' log.. [2021-10-08T20:31:22.040Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-138.novalocal: Name or service not known [2021-10-08T20:31:22.040Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-138.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-08T20:31:22.089Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:31:22.387Z] ---> job-cost.sh [2021-10-08T20:31:22.387Z] lf-activate-venv: SKIPPING [2021-10-08T20:31:22.387Z] DEBUG: total: 0.05999999865889549 [2021-10-08T20:31:22.387Z] INFO: Retrieving Stack Cost... [2021-10-08T20:31:22.645Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T20:31:23.219Z] INFO: Archiving Costs [Pipeline] echo [2021-10-08T20:31:23.231Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:31:23.522Z] ---> logs-deploy.sh [2021-10-08T20:31:23.522Z] lf-activate-venv: SKIPPING [2021-10-08T20:31:23.522Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/gcc/4 [2021-10-08T20:31:23.522Z] INFO: archiving workspace using pattern(s): [2021-10-08T20:31:24.093Z] Archives upload complete. [2021-10-08T20:31:24.356Z] INFO: archiving logs to Nexus