Push event to branch gcc Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5bb947235c942ea89325bcb808105ce2e51ba820 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-ssh4223824423163107906.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-ssh14734197674088045447.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 > 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-ssh11618336163859129433.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 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-ssh6178210671956120937.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-ssh7227624144700171957.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:[7], 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: 7 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5428 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-ssh8159228592375678735.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 5bb947235c942ea89325bcb808105ce2e51ba820 (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 5bb947235c942ea89325bcb808105ce2e51ba820 # timeout=10 Commit message: "Merge pull request #186 from ernestojeda/gcc" > git rev-list --no-walk 8dbff7922d1b221651f0b16e872d16215c6a8218 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-17T16:08:03.220Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-17T16:08:03.275Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-17T16:08:03.292Z] ========================================================= [2022-02-17T16:08:03.292Z] EdgeX Global Pipelines Version Info [2022-02-17T16:08:03.292Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:08:04.392Z] ------------------- [2022-02-17T16:08:04.392Z] stable info: [2022-02-17T16:08:04.392Z] ------------------- [2022-02-17T16:08:04.392Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-17T16:08:04.392Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-17T16:08:04.392Z] Message: update stable to v1.0.220 [2022-02-17T16:08:04.967Z] ------------------- [2022-02-17T16:08:04.967Z] experimental info: [2022-02-17T16:08:04.967Z] ------------------- [2022-02-17T16:08:04.967Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-17T16:08:04.967Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-17T16:08:04.967Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-02-17T16:08:05.095Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-02-17T16:08:05.103Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo [2022-02-17T16:08:05.113Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-02-17T16:08:05.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-17T16:08:05.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-17T16:08:05.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo [2022-02-17T16:08:05.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-02-17T16:08:05.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-02-17T16:08:05.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-02-17T16:08:05.180Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-17T16:08:05.189Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-02-17T16:08:05.198Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo [2022-02-17T16:08:05.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-17T16:08:05.216Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-17T16:08:05.225Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo [2022-02-17T16:08:05.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 7 [Pipeline] echo [2022-02-17T16:08:05.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = gcc [Pipeline] echo [2022-02-17T16:08:05.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = gcc [Pipeline] echo [2022-02-17T16:08:05.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = gcc [Pipeline] echo [2022-02-17T16:08:05.274Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bb947235c942ea89325bcb808105ce2e51ba820 [Pipeline] echo [2022-02-17T16:08:05.290Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bb9472 [Pipeline] echo [2022-02-17T16:08:05.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-17T16:08:05.334Z] provisioning config files... [2022-02-17T16:08:05.348Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config5207138577107403856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:08:05.654Z] ---> docker-login.sh [2022-02-17T16:08:05.654Z] nexus3.edgexfoundry.org:10001 [2022-02-17T16:08:05.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:05.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:05.916Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:05.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:05.916Z] [2022-02-17T16:08:05.916Z] Login Succeeded [2022-02-17T16:08:05.916Z] nexus3.edgexfoundry.org:10002 [2022-02-17T16:08:05.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:05.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:05.916Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:05.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:05.916Z] [2022-02-17T16:08:05.916Z] Login Succeeded [2022-02-17T16:08:05.916Z] nexus3.edgexfoundry.org:10003 [2022-02-17T16:08:05.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:06.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:06.181Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:06.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:06.181Z] [2022-02-17T16:08:06.181Z] Login Succeeded [2022-02-17T16:08:06.181Z] nexus3.edgexfoundry.org:10004 [2022-02-17T16:08:06.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:06.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:06.181Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:06.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:06.181Z] [2022-02-17T16:08:06.181Z] Login Succeeded [2022-02-17T16:08:06.181Z] docker.io [2022-02-17T16:08:06.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:06.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:06.753Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:06.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:06.753Z] [2022-02-17T16:08:06.753Z] Login Succeeded [2022-02-17T16:08:06.753Z] ---> docker-login.sh ends [Pipeline] } [2022-02-17T16:08:06.760Z] 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-17T16:08:06.948Z] provisioning config files... [2022-02-17T16:08:06.957Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config2584025312940534256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:08:07.271Z] ---> docker-login.sh [2022-02-17T16:08:07.271Z] nexus3.edgexfoundry.org:10001 [2022-02-17T16:08:07.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:07.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:07.271Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:07.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:07.271Z] [2022-02-17T16:08:07.271Z] Login Succeeded [2022-02-17T16:08:07.271Z] nexus3.edgexfoundry.org:10002 [2022-02-17T16:08:07.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:07.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:07.271Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:07.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:07.271Z] [2022-02-17T16:08:07.271Z] Login Succeeded [2022-02-17T16:08:07.271Z] nexus3.edgexfoundry.org:10003 [2022-02-17T16:08:07.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:07.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:07.535Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:07.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:07.535Z] [2022-02-17T16:08:07.535Z] Login Succeeded [2022-02-17T16:08:07.535Z] nexus3.edgexfoundry.org:10004 [2022-02-17T16:08:07.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:07.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:07.535Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:07.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:07.535Z] [2022-02-17T16:08:07.535Z] Login Succeeded [2022-02-17T16:08:07.535Z] docker.io [2022-02-17T16:08:07.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:08:08.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:08:08.108Z] Configure a credential helper to remove this warning. See [2022-02-17T16:08:08.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:08:08.108Z] [2022-02-17T16:08:08.108Z] Login Succeeded [2022-02-17T16:08:08.108Z] ---> docker-login.sh ends [Pipeline] } [2022-02-17T16:08:08.117Z] 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-17T16:08:09.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-17T16:08:09.719Z] + ls -al . [2022-02-17T16:08:09.719Z] total 8 [2022-02-17T16:08:09.719Z] drwxrwxr-x. 3 jenkins jenkins 55 Feb 17 16:07 . [2022-02-17T16:08:09.719Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 17 16:07 .. [2022-02-17T16:08:09.719Z] -rw-rw-r--. 1 jenkins jenkins 401 Feb 17 16:07 Dockerfile [2022-02-17T16:08:09.719Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 17 16:08 .git [2022-02-17T16:08:09.719Z] -rw-rw-r--. 1 jenkins jenkins 883 Feb 17 16:07 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:08:10.138Z] + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=5bb947235c942ea89325bcb808105ce2e51ba820 --label arch=amd64 . [2022-02-17T16:08:10.138Z] Sending build context to Docker daemon 408.6kB [2022-02-17T16:08:10.138Z] Step 1/6 : FROM alpine:3.15 [2022-02-17T16:08:10.709Z] 3.15: Pulling from library/alpine [2022-02-17T16:08:10.709Z] 59bf1c3509f3: Pulling fs layer [2022-02-17T16:08:10.974Z] 59bf1c3509f3: Verifying Checksum [2022-02-17T16:08:10.974Z] 59bf1c3509f3: Download complete [2022-02-17T16:08:11.236Z] 59bf1c3509f3: Pull complete [2022-02-17T16:08:11.236Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-02-17T16:08:11.236Z] Status: Downloaded newer image for alpine:3.15 [2022-02-17T16:08:11.236Z] ---> c059bfaa849c [2022-02-17T16:08:11.236Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-02-17T16:08:11.236Z] ---> Running in a460a1c98af5 [2022-02-17T16:08:11.504Z] Removing intermediate container a460a1c98af5 [2022-02-17T16:08:11.504Z] ---> 9717b9c0d148 [2022-02-17T16:08:11.504Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-17T16:08:11.504Z] ---> Running in 445e41e6a730 [2022-02-17T16:08:11.774Z] Removing intermediate container 445e41e6a730 [2022-02-17T16:08:11.774Z] ---> 2a1e1e24f44e [2022-02-17T16:08:11.774Z] 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-17T16:08:11.774Z] ---> Running in ee557a017408 [2022-02-17T16:08:12.034Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-17T16:08:12.982Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-17T16:08:13.252Z] (1/65) Upgrading libcrypto1.1 (1.1.1l-r7 -> 1.1.1l-r8) [2022-02-17T16:08:17.483Z] (2/65) Upgrading libssl1.1 (1.1.1l-r7 -> 1.1.1l-r8) [2022-02-17T16:08:17.483Z] (3/65) Installing libgcc (10.3.1_git20211027-r0) [2022-02-17T16:08:17.757Z] (4/65) Installing libstdc++ (10.3.1_git20211027-r0) [2022-02-17T16:08:17.757Z] (5/65) Installing binutils (2.37-r3) [2022-02-17T16:08:18.024Z] (6/65) Installing libmagic (5.41-r0) [2022-02-17T16:08:18.288Z] (7/65) Installing file (5.41-r0) [2022-02-17T16:08:18.288Z] (8/65) Installing libgomp (10.3.1_git20211027-r0) [2022-02-17T16:08:18.288Z] (9/65) Installing libatomic (10.3.1_git20211027-r0) [2022-02-17T16:08:18.553Z] (10/65) Installing libgphobos (10.3.1_git20211027-r0) [2022-02-17T16:08:18.553Z] (11/65) Installing gmp (6.2.1-r1) [2022-02-17T16:08:18.814Z] (12/65) Installing isl22 (0.22-r0) [2022-02-17T16:08:19.076Z] (13/65) Installing mpfr4 (4.1.0-r0) [2022-02-17T16:08:19.076Z] (14/65) Installing mpc1 (1.2.1-r0) [2022-02-17T16:08:19.340Z] (15/65) Installing gcc (10.3.1_git20211027-r0) [2022-02-17T16:08:21.910Z] Still waiting to schedule task [2022-02-17T16:08:21.910Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-17T16:08:22.654Z] (16/65) Installing musl-dev (1.2.2-r7) [2022-02-17T16:08:22.916Z] (17/65) Installing libc-dev (0.7.2-r3) [2022-02-17T16:08:22.916Z] (18/65) Installing g++ (10.3.1_git20211027-r0) [2022-02-17T16:08:27.141Z] (19/65) Installing make (4.3-r0) [2022-02-17T16:08:27.141Z] (20/65) Installing fortify-headers (1.1-r1) [2022-02-17T16:08:27.141Z] (21/65) Installing patch (2.7.6-r7) [2022-02-17T16:08:27.141Z] (22/65) Installing build-base (0.5-r2) [2022-02-17T16:08:27.141Z] (23/65) Installing libacl (2.2.53-r0) [2022-02-17T16:08:27.141Z] (24/65) Installing libbz2 (1.0.8-r1) [2022-02-17T16:08:27.141Z] (25/65) Installing expat (2.4.4-r0) [2022-02-17T16:08:27.402Z] (26/65) Installing lz4-libs (1.9.3-r1) [2022-02-17T16:08:27.402Z] (27/65) Installing xz-libs (5.2.5-r0) [2022-02-17T16:08:27.402Z] (28/65) Installing zstd-libs (1.5.0-r0) [2022-02-17T16:08:27.663Z] (29/65) Installing libarchive (3.5.2-r0) [2022-02-17T16:08:27.663Z] (30/65) Installing ca-certificates (20211220-r0) [2022-02-17T16:08:27.924Z] (31/65) Installing brotli-libs (1.0.9-r5) [2022-02-17T16:08:27.924Z] (32/65) Installing nghttp2-libs (1.46.0-r0) [2022-02-17T16:08:27.924Z] (33/65) Installing libcurl (7.80.0-r0) [2022-02-17T16:08:28.185Z] (34/65) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-02-17T16:08:28.185Z] (35/65) Installing ncurses-libs (6.3_p20211120-r0) [2022-02-17T16:08:28.444Z] (36/65) Installing rhash-libs (1.4.2-r2) [2022-02-17T16:08:28.444Z] (37/65) Installing libuv (1.42.0-r0) [2022-02-17T16:08:28.444Z] (38/65) Installing cmake (3.21.3-r0) [2022-02-17T16:08:35.039Z] (39/65) Installing pkgconf (1.8.0-r0) [2022-02-17T16:08:35.301Z] (40/65) Installing openssl-dev (1.1.1l-r8) [2022-02-17T16:08:35.560Z] (41/65) Installing nghttp2-dev (1.46.0-r0) [2022-02-17T16:08:35.560Z] (42/65) Installing zlib-dev (1.2.11-r3) [2022-02-17T16:08:35.560Z] (43/65) Installing brotli-dev (1.0.9-r5) [2022-02-17T16:08:35.821Z] (44/65) Installing curl-dev (7.80.0-r0) [2022-02-17T16:08:35.821Z] (45/65) Installing pcre2 (10.39-r0) [2022-02-17T16:08:36.083Z] (46/65) Installing git (2.34.1-r0) [2022-02-17T16:08:39.381Z] (47/65) Installing nettle (3.7.3-r0) [2022-02-17T16:08:39.381Z] (48/65) Installing libffi (3.4.2-r1) [2022-02-17T16:08:39.640Z] (49/65) Installing p11-kit (0.24.0-r1) [2022-02-17T16:08:39.901Z] (50/65) Installing libtasn1 (4.18.0-r0) [2022-02-17T16:08:39.901Z] (51/65) Installing libunistring (0.9.10-r1) [2022-02-17T16:08:40.473Z] (52/65) Installing gnutls (3.7.1-r0) [2022-02-17T16:08:41.049Z] (53/65) Installing libmicrohttpd (0.9.73-r0) [2022-02-17T16:08:41.049Z] (54/65) Installing gnutls-c++ (3.7.1-r0) [2022-02-17T16:08:41.311Z] (55/65) Installing libgmpxx (6.2.1-r1) [2022-02-17T16:08:41.311Z] (56/65) Installing gmp-dev (6.2.1-r1) [2022-02-17T16:08:41.571Z] (57/65) Installing nettle-dev (3.7.3-r0) [2022-02-17T16:08:41.831Z] (58/65) Installing libtasn1-progs (4.18.0-r0) [2022-02-17T16:08:41.831Z] (59/65) Installing libtasn1-dev (4.18.0-r0) [2022-02-17T16:08:41.831Z] (60/65) Installing p11-kit-dev (0.24.0-r1) [2022-02-17T16:08:42.093Z] (61/65) Installing gnutls-dev (3.7.1-r0) [2022-02-17T16:08:42.093Z] (62/65) Installing libmicrohttpd-dev (0.9.73-r0) [2022-02-17T16:08:42.093Z] (63/65) Installing linux-headers (5.10.41-r0) [2022-02-17T16:08:43.476Z] (64/65) Installing yaml (0.2.5-r0) [2022-02-17T16:08:43.476Z] (65/65) Installing yaml-dev (0.2.5-r0) [2022-02-17T16:08:43.737Z] Executing busybox-1.34.1-r3.trigger [2022-02-17T16:08:43.737Z] Executing ca-certificates-20211220-r0.trigger [2022-02-17T16:08:43.737Z] OK: 281 MiB in 77 packages [2022-02-17T16:08:53.747Z] Removing intermediate container ee557a017408 [2022-02-17T16:08:53.747Z] ---> dba573dc86fb [2022-02-17T16:08:53.747Z] Step 5/6 : LABEL arch=amd64 [2022-02-17T16:08:53.747Z] ---> Running in 881c2b43199f [2022-02-17T16:08:53.747Z] Removing intermediate container 881c2b43199f [2022-02-17T16:08:53.747Z] ---> ca18ad751980 [2022-02-17T16:08:53.747Z] Step 6/6 : LABEL git_sha=5bb947235c942ea89325bcb808105ce2e51ba820 [2022-02-17T16:08:53.747Z] ---> Running in 473fffe6bc93 [2022-02-17T16:08:53.747Z] Removing intermediate container 473fffe6bc93 [2022-02-17T16:08:53.747Z] ---> c9e13ccc37c5 [2022-02-17T16:08:53.747Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-17T16:08:53.747Z] Successfully built c9e13ccc37c5 [2022-02-17T16:08:53.747Z] Successfully tagged edgex-devops/edgex-gcc-base:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-02-17T16:08:53.864Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base with the following tags: [2022-02-17T16:08:53.864Z] 5bb947235c942ea89325bcb808105ce2e51ba820 [2022-02-17T16:08:53.864Z] latest [2022-02-17T16:08:53.864Z] gcc [2022-02-17T16:08:53.864Z] 7 [2022-02-17T16:08:53.864Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:08:54.180Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:5bb947235c942ea89325bcb808105ce2e51ba820 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:08:54.472Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:5bb947235c942ea89325bcb808105ce2e51ba820 [2022-02-17T16:08:54.472Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-02-17T16:08:54.472Z] bd523aff738f: Preparing [2022-02-17T16:08:54.472Z] ab42309c038c: Preparing [2022-02-17T16:08:54.472Z] 8d3ac3489996: Preparing [2022-02-17T16:08:54.472Z] 8d3ac3489996: Layer already exists [2022-02-17T16:08:54.472Z] ab42309c038c: Pushed [2022-02-17T16:09:21.075Z] bd523aff738f: Pushed [2022-02-17T16:09:21.075Z] 5bb947235c942ea89325bcb808105ce2e51ba820: digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:09:21.374Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:09:21.673Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-17T16:09:21.673Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-02-17T16:09:21.673Z] bd523aff738f: Preparing [2022-02-17T16:09:21.673Z] ab42309c038c: Preparing [2022-02-17T16:09:21.673Z] 8d3ac3489996: Preparing [2022-02-17T16:09:21.673Z] bd523aff738f: Layer already exists [2022-02-17T16:09:21.673Z] ab42309c038c: Layer already exists [2022-02-17T16:09:21.673Z] 8d3ac3489996: Layer already exists [2022-02-17T16:09:21.673Z] latest: digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:09:21.978Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:09:22.277Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2022-02-17T16:09:22.277Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-02-17T16:09:22.277Z] bd523aff738f: Preparing [2022-02-17T16:09:22.277Z] ab42309c038c: Preparing [2022-02-17T16:09:22.277Z] 8d3ac3489996: Preparing [2022-02-17T16:09:22.277Z] 8d3ac3489996: Layer already exists [2022-02-17T16:09:22.277Z] bd523aff738f: Layer already exists [2022-02-17T16:09:22.277Z] ab42309c038c: Layer already exists [2022-02-17T16:09:22.277Z] gcc: digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:09:22.583Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:7 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:09:22.876Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:7 [2022-02-17T16:09:22.877Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-02-17T16:09:22.877Z] bd523aff738f: Preparing [2022-02-17T16:09:22.877Z] ab42309c038c: Preparing [2022-02-17T16:09:22.877Z] 8d3ac3489996: Preparing [2022-02-17T16:09:22.877Z] 8d3ac3489996: Layer already exists [2022-02-17T16:09:22.877Z] ab42309c038c: Layer already exists [2022-02-17T16:09:22.877Z] bd523aff738f: Layer already exists [2022-02-17T16:09:22.877Z] 7: digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 size: 947 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-02-17T16:09:22.910Z] ===================================================== [Pipeline] echo [2022-02-17T16:09:22.918Z] taggedImages: [2022-02-17T16:09:22.918Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:5bb947235c942ea89325bcb808105ce2e51ba820 [2022-02-17T16:09:22.918Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-17T16:09:22.918Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2022-02-17T16:09:22.918Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:7 [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 [2022-02-17T16:09:23.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-17T16:09:23.274Z] [2022-02-17T16:09:23.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:09:23.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-17T16:09:23.579Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-17T16:09:23.579Z] b4d181a07f80: Pulling fs layer [2022-02-17T16:09:23.579Z] a1111a8f2ec3: Pulling fs layer [2022-02-17T16:09:23.579Z] ed53099fbce6: Pulling fs layer [2022-02-17T16:09:23.579Z] dc539afda2c1: Pulling fs layer [2022-02-17T16:09:23.579Z] 77bc0d833cb6: Pulling fs layer [2022-02-17T16:09:23.579Z] 9065ff56babe: Pulling fs layer [2022-02-17T16:09:23.579Z] d287ab97295c: Pulling fs layer [2022-02-17T16:09:23.579Z] 77bc0d833cb6: Waiting [2022-02-17T16:09:23.579Z] 9065ff56babe: Waiting [2022-02-17T16:09:23.579Z] d287ab97295c: Waiting [2022-02-17T16:09:23.579Z] dc539afda2c1: Waiting [2022-02-17T16:09:23.579Z] a1111a8f2ec3: Verifying Checksum [2022-02-17T16:09:23.579Z] a1111a8f2ec3: Download complete [2022-02-17T16:09:23.579Z] dc539afda2c1: Verifying Checksum [2022-02-17T16:09:23.579Z] dc539afda2c1: Download complete [2022-02-17T16:09:23.840Z] 77bc0d833cb6: Verifying Checksum [2022-02-17T16:09:23.840Z] 77bc0d833cb6: Download complete [2022-02-17T16:09:23.840Z] ed53099fbce6: Download complete [2022-02-17T16:09:23.840Z] 9065ff56babe: Verifying Checksum [2022-02-17T16:09:23.840Z] 9065ff56babe: Download complete [2022-02-17T16:09:23.840Z] b4d181a07f80: Verifying Checksum [2022-02-17T16:09:23.840Z] b4d181a07f80: Download complete [2022-02-17T16:09:24.424Z] d287ab97295c: Verifying Checksum [2022-02-17T16:09:24.424Z] d287ab97295c: Download complete [2022-02-17T16:09:25.374Z] b4d181a07f80: Pull complete [2022-02-17T16:09:25.374Z] a1111a8f2ec3: Pull complete [2022-02-17T16:09:25.954Z] ed53099fbce6: Pull complete [2022-02-17T16:09:25.954Z] dc539afda2c1: Pull complete [2022-02-17T16:09:26.220Z] 77bc0d833cb6: Pull complete [2022-02-17T16:09:26.486Z] 9065ff56babe: Pull complete [2022-02-17T16:09:31.812Z] d287ab97295c: Pull complete [2022-02-17T16:09:31.812Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-17T16:09:31.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-17T16:09:31.812Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-17T16:09:31.879Z] prd-centos7-docker-4c-2g-5428 does not seem to be running inside a container [2022-02-17T16:09:31.913Z] $ 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 [2022-02-17T16:09:34.969Z] $ docker top 7374bccd13fdbb90aa31f7c14a3c9819cba2667827e4983fefda6928b800bf33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:09:35.411Z] ---> job-cost.sh [2022-02-17T16:09:35.411Z] lf-activate-venv: SKIPPING [2022-02-17T16:09:35.411Z] INFO: No Stack... [2022-02-17T16:09:35.672Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-17T16:09:36.247Z] INFO: Archiving Costs [Pipeline] sh [2022-02-17T16:09:36.543Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2022-02-17T16:09:36.543Z] + cut -d, -f6 [Pipeline] lock [2022-02-17T16:09:36.569Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-7-stack-cost] [2022-02-17T16:09:36.580Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-7-stack-cost] did not exist. Created. [2022-02-17T16:09:36.580Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-17T16:09:36.888Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-17T16:09:37.105Z] Stashed 1 file(s) [Pipeline] } [2022-02-17T16:09:37.112Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-17T16:09:37.126Z] $ docker stop --time=1 7374bccd13fdbb90aa31f7c14a3c9819cba2667827e4983fefda6928b800bf33 [2022-02-17T16:09:38.271Z] $ docker rm -f 7374bccd13fdbb90aa31f7c14a3c9819cba2667827e4983fefda6928b800bf33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-17T16:09:46.666Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5429 in /w/workspace/edgexfoundry_ci-build-images_gcc [Pipeline] { [Pipeline] checkout [2022-02-17T16:09:46.825Z] Selected Git installation does not exist. Using Default [2022-02-17T16:09:46.825Z] The recommended git tool is: NONE [2022-02-17T16:09:51.215Z] using credential edgex-jenkins-ssh [2022-02-17T16:09:51.230Z] Cloning the remote Git repository [2022-02-17T16:09:51.295Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2022-02-17T16:09:51.366Z] > git init /w/workspace/edgexfoundry_ci-build-images_gcc # timeout=10 [2022-02-17T16:09:51.455Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-02-17T16:09:51.456Z] > git --version # timeout=10 [2022-02-17T16:09:51.482Z] > git --version # 'git version 2.17.1' [2022-02-17T16:09:51.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-17T16:09:51.543Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-17T16:09:52.321Z] Avoid second fetch [2022-02-17T16:09:52.322Z] Checking out Revision 5bb947235c942ea89325bcb808105ce2e51ba820 (gcc) [2022-02-17T16:09:52.285Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-02-17T16:09:52.305Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-17T16:09:52.344Z] > git config core.sparsecheckout # timeout=10 [2022-02-17T16:09:52.357Z] > git checkout -f 5bb947235c942ea89325bcb808105ce2e51ba820 # timeout=10 [2022-02-17T16:09:56.459Z] Commit message: "Merge pull request #186 from ernestojeda/gcc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-17T16:09:57.336Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-17T16:09:57.336Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-17T16:09:57.336Z] Dload Upload Total Spent Left Speed [2022-02-17T16:09:57.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 92523 [Pipeline] sh [2022-02-17T16:09:57.820Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-17T16:09:58.155Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-02-17T16:09:58.155Z] /etc/docker/daemon.json [2022-02-17T16:09:58.155Z] { [2022-02-17T16:09:58.155Z] "registry-mirrors": [ [2022-02-17T16:09:58.155Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-17T16:09:58.155Z] ], [2022-02-17T16:09:58.155Z] "bip": "10.250.0.254/24", [2022-02-17T16:09:58.155Z] "hosts": [ [2022-02-17T16:09:58.155Z] "tcp://0.0.0.0:5555", [2022-02-17T16:09:58.155Z] "unix:///var/run/docker.sock" [2022-02-17T16:09:58.155Z] ], [2022-02-17T16:09:58.155Z] "mtu": 1458, [2022-02-17T16:09:58.155Z] "selinux-enabled": true, [2022-02-17T16:09:58.155Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-17T16:09:58.155Z] } [Pipeline] sh [2022-02-17T16:09:58.499Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-17T16:09:58.848Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-17T16:10:17.249Z] provisioning config files... [2022-02-17T16:10:17.272Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config7879079331472752347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:10:17.628Z] ---> docker-login.sh [2022-02-17T16:10:17.628Z] nexus3.edgexfoundry.org:10001 [2022-02-17T16:10:18.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:10:18.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:10:18.509Z] Configure a credential helper to remove this warning. See [2022-02-17T16:10:18.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:10:18.509Z] [2022-02-17T16:10:18.509Z] Login Succeeded [2022-02-17T16:10:18.509Z] nexus3.edgexfoundry.org:10002 [2022-02-17T16:10:18.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:10:18.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:10:18.784Z] Configure a credential helper to remove this warning. See [2022-02-17T16:10:18.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:10:18.784Z] [2022-02-17T16:10:18.784Z] Login Succeeded [2022-02-17T16:10:18.784Z] nexus3.edgexfoundry.org:10003 [2022-02-17T16:10:19.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:10:19.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:10:19.381Z] Configure a credential helper to remove this warning. See [2022-02-17T16:10:19.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:10:19.381Z] [2022-02-17T16:10:19.381Z] Login Succeeded [2022-02-17T16:10:19.381Z] nexus3.edgexfoundry.org:10004 [2022-02-17T16:10:19.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:10:19.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:10:19.658Z] Configure a credential helper to remove this warning. See [2022-02-17T16:10:19.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:10:19.658Z] [2022-02-17T16:10:19.658Z] Login Succeeded [2022-02-17T16:10:19.658Z] docker.io [2022-02-17T16:10:20.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-17T16:10:20.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-17T16:10:20.529Z] Configure a credential helper to remove this warning. See [2022-02-17T16:10:20.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-17T16:10:20.529Z] [2022-02-17T16:10:20.529Z] Login Succeeded [2022-02-17T16:10:20.529Z] ---> docker-login.sh ends [Pipeline] } [2022-02-17T16:10:20.546Z] 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-17T16:10:20.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-17T16:10:21.280Z] + ls -al . [2022-02-17T16:10:21.280Z] total 20 [2022-02-17T16:10:21.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 16:09 . [2022-02-17T16:10:21.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 16:09 .. [2022-02-17T16:10:21.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 16:09 .git [2022-02-17T16:10:21.280Z] -rw-rw-r-- 1 jenkins jenkins 401 Feb 17 16:09 Dockerfile [2022-02-17T16:10:21.280Z] -rw-rw-r-- 1 jenkins jenkins 883 Feb 17 16:09 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:10:21.621Z] + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=5bb947235c942ea89325bcb808105ce2e51ba820 --label arch=arm64 . [2022-02-17T16:10:21.893Z] Sending build context to Docker daemon 407.6kB [2022-02-17T16:10:21.893Z] Step 1/6 : FROM alpine:3.15 [2022-02-17T16:10:22.489Z] 3.15: Pulling from library/alpine [2022-02-17T16:10:22.761Z] 9b3977197b4f: Pulling fs layer [2022-02-17T16:10:23.035Z] 9b3977197b4f: Download complete [2022-02-17T16:10:23.638Z] 9b3977197b4f: Pull complete [2022-02-17T16:10:23.638Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-02-17T16:10:23.638Z] Status: Downloaded newer image for alpine:3.15 [2022-02-17T16:10:23.638Z] ---> 8e1d7573f448 [2022-02-17T16:10:23.638Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-02-17T16:10:23.638Z] ---> Running in 25be8a8e5c61 [2022-02-17T16:10:23.910Z] Removing intermediate container 25be8a8e5c61 [2022-02-17T16:10:23.910Z] ---> 64346172b9d6 [2022-02-17T16:10:23.910Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-17T16:10:24.184Z] ---> Running in 2eab00b8842b [2022-02-17T16:10:26.161Z] Removing intermediate container 2eab00b8842b [2022-02-17T16:10:26.161Z] ---> a10fd420b003 [2022-02-17T16:10:26.161Z] 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-17T16:10:26.161Z] ---> Running in d517d00a0a46 [2022-02-17T16:10:27.138Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-17T16:10:27.729Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-17T16:10:28.699Z] (1/65) Upgrading libcrypto1.1 (1.1.1l-r7 -> 1.1.1l-r8) [2022-02-17T16:10:28.699Z] (2/65) Upgrading libssl1.1 (1.1.1l-r7 -> 1.1.1l-r8) [2022-02-17T16:10:28.968Z] (3/65) Installing libgcc (10.3.1_git20211027-r0) [2022-02-17T16:10:28.968Z] (4/65) Installing libstdc++ (10.3.1_git20211027-r0) [2022-02-17T16:10:28.968Z] (5/65) Installing binutils (2.37-r3) [2022-02-17T16:10:29.556Z] (6/65) Installing libmagic (5.41-r0) [2022-02-17T16:10:29.556Z] (7/65) Installing file (5.41-r0) [2022-02-17T16:10:29.556Z] (8/65) Installing libgomp (10.3.1_git20211027-r0) [2022-02-17T16:10:29.826Z] (9/65) Installing libatomic (10.3.1_git20211027-r0) [2022-02-17T16:10:29.826Z] (10/65) Installing libgphobos (10.3.1_git20211027-r0) [2022-02-17T16:10:30.096Z] (11/65) Installing gmp (6.2.1-r1) [2022-02-17T16:10:30.365Z] (12/65) Installing isl22 (0.22-r0) [2022-02-17T16:10:30.365Z] (13/65) Installing mpfr4 (4.1.0-r0) [2022-02-17T16:10:30.635Z] (14/65) Installing mpc1 (1.2.1-r0) [2022-02-17T16:10:30.635Z] (15/65) Installing gcc (10.3.1_git20211027-r0) [2022-02-17T16:10:33.998Z] (16/65) Installing musl-dev (1.2.2-r7) [2022-02-17T16:10:34.270Z] (17/65) Installing libc-dev (0.7.2-r3) [2022-02-17T16:10:34.270Z] (18/65) Installing g++ (10.3.1_git20211027-r0) [2022-02-17T16:10:38.547Z] (19/65) Installing make (4.3-r0) [2022-02-17T16:10:38.547Z] (20/65) Installing fortify-headers (1.1-r1) [2022-02-17T16:10:38.547Z] (21/65) Installing patch (2.7.6-r7) [2022-02-17T16:10:38.547Z] (22/65) Installing build-base (0.5-r2) [2022-02-17T16:10:38.547Z] (23/65) Installing libacl (2.2.53-r0) [2022-02-17T16:10:38.547Z] (24/65) Installing libbz2 (1.0.8-r1) [2022-02-17T16:10:38.547Z] (25/65) Installing expat (2.4.4-r0) [2022-02-17T16:10:38.547Z] (26/65) Installing lz4-libs (1.9.3-r1) [2022-02-17T16:10:38.547Z] (27/65) Installing xz-libs (5.2.5-r0) [2022-02-17T16:10:38.817Z] (28/65) Installing zstd-libs (1.5.0-r0) [2022-02-17T16:10:38.817Z] (29/65) Installing libarchive (3.5.2-r0) [2022-02-17T16:10:39.088Z] (30/65) Installing ca-certificates (20211220-r0) [2022-02-17T16:10:39.088Z] (31/65) Installing brotli-libs (1.0.9-r5) [2022-02-17T16:10:39.361Z] (32/65) Installing nghttp2-libs (1.46.0-r0) [2022-02-17T16:10:39.361Z] (33/65) Installing libcurl (7.80.0-r0) [2022-02-17T16:10:39.631Z] (34/65) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-02-17T16:10:39.631Z] (35/65) Installing ncurses-libs (6.3_p20211120-r0) [2022-02-17T16:10:39.901Z] (36/65) Installing rhash-libs (1.4.2-r2) [2022-02-17T16:10:39.901Z] (37/65) Installing libuv (1.42.0-r0) [2022-02-17T16:10:39.901Z] (38/65) Installing cmake (3.21.3-r0) [2022-02-17T16:10:45.271Z] (39/65) Installing pkgconf (1.8.0-r0) [2022-02-17T16:10:45.271Z] (40/65) Installing openssl-dev (1.1.1l-r8) [2022-02-17T16:10:45.541Z] (41/65) Installing nghttp2-dev (1.46.0-r0) [2022-02-17T16:10:45.541Z] (42/65) Installing zlib-dev (1.2.11-r3) [2022-02-17T16:10:45.810Z] (43/65) Installing brotli-dev (1.0.9-r5) [2022-02-17T16:10:45.811Z] (44/65) Installing curl-dev (7.80.0-r0) [2022-02-17T16:10:45.811Z] (45/65) Installing pcre2 (10.39-r0) [2022-02-17T16:10:46.079Z] (46/65) Installing git (2.34.1-r0) [2022-02-17T16:10:48.033Z] (47/65) Installing nettle (3.7.3-r0) [2022-02-17T16:10:48.301Z] (48/65) Installing libffi (3.4.2-r1) [2022-02-17T16:10:48.301Z] (49/65) Installing p11-kit (0.24.0-r1) [2022-02-17T16:10:48.570Z] (50/65) Installing libtasn1 (4.18.0-r0) [2022-02-17T16:10:48.570Z] (51/65) Installing libunistring (0.9.10-r1) [2022-02-17T16:10:48.838Z] (52/65) Installing gnutls (3.7.1-r0) [2022-02-17T16:10:49.110Z] (53/65) Installing libmicrohttpd (0.9.73-r0) [2022-02-17T16:10:49.379Z] (54/65) Installing gnutls-c++ (3.7.1-r0) [2022-02-17T16:10:49.379Z] (55/65) Installing libgmpxx (6.2.1-r1) [2022-02-17T16:10:49.379Z] (56/65) Installing gmp-dev (6.2.1-r1) [2022-02-17T16:10:49.648Z] (57/65) Installing nettle-dev (3.7.3-r0) [2022-02-17T16:10:49.917Z] (58/65) Installing libtasn1-progs (4.18.0-r0) [2022-02-17T16:10:49.917Z] (59/65) Installing libtasn1-dev (4.18.0-r0) [2022-02-17T16:10:50.186Z] (60/65) Installing p11-kit-dev (0.24.0-r1) [2022-02-17T16:10:50.186Z] (61/65) Installing gnutls-dev (3.7.1-r0) [2022-02-17T16:10:50.186Z] (62/65) Installing libmicrohttpd-dev (0.9.73-r0) [2022-02-17T16:10:50.455Z] (63/65) Installing linux-headers (5.10.41-r0) [2022-02-17T16:10:51.047Z] (64/65) Installing yaml (0.2.5-r0) [2022-02-17T16:10:51.318Z] (65/65) Installing yaml-dev (0.2.5-r0) [2022-02-17T16:10:51.318Z] Executing busybox-1.34.1-r3.trigger [2022-02-17T16:10:51.318Z] Executing ca-certificates-20211220-r0.trigger [2022-02-17T16:10:51.588Z] OK: 277 MiB in 77 packages [2022-02-17T16:11:03.967Z] Removing intermediate container d517d00a0a46 [2022-02-17T16:11:03.967Z] ---> 19583f0e82f4 [2022-02-17T16:11:03.967Z] Step 5/6 : LABEL arch=arm64 [2022-02-17T16:11:03.967Z] ---> Running in 6da8f022fd35 [2022-02-17T16:11:03.967Z] Removing intermediate container 6da8f022fd35 [2022-02-17T16:11:03.967Z] ---> 48b9be32dd6e [2022-02-17T16:11:03.967Z] Step 6/6 : LABEL git_sha=5bb947235c942ea89325bcb808105ce2e51ba820 [2022-02-17T16:11:03.967Z] ---> Running in c3b2b809d963 [2022-02-17T16:11:03.967Z] Removing intermediate container c3b2b809d963 [2022-02-17T16:11:03.967Z] ---> 0af3d9908a83 [2022-02-17T16:11:03.967Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-17T16:11:03.967Z] Successfully built 0af3d9908a83 [2022-02-17T16:11:03.967Z] 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 [2022-02-17T16:11:04.084Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base-arm64 with the following tags: [2022-02-17T16:11:04.084Z] 5bb947235c942ea89325bcb808105ce2e51ba820 [2022-02-17T16:11:04.084Z] latest [2022-02-17T16:11:04.084Z] gcc [2022-02-17T16:11:04.084Z] 7 [2022-02-17T16:11:04.084Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:11:04.435Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:5bb947235c942ea89325bcb808105ce2e51ba820 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:11:04.769Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:5bb947235c942ea89325bcb808105ce2e51ba820 [2022-02-17T16:11:04.769Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-02-17T16:11:04.769Z] 189eb67649cb: Preparing [2022-02-17T16:11:04.769Z] 6c30b4f44241: Preparing [2022-02-17T16:11:04.769Z] 07d3c46c9599: Preparing [2022-02-17T16:11:04.769Z] 07d3c46c9599: Layer already exists [2022-02-17T16:11:05.039Z] 6c30b4f44241: Pushed [2022-02-17T16:12:01.532Z] 189eb67649cb: Pushed [2022-02-17T16:12:01.532Z] 5bb947235c942ea89325bcb808105ce2e51ba820: digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:12:01.879Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:12:02.212Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-17T16:12:02.212Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-02-17T16:12:02.212Z] 189eb67649cb: Preparing [2022-02-17T16:12:02.212Z] 6c30b4f44241: Preparing [2022-02-17T16:12:02.212Z] 07d3c46c9599: Preparing [2022-02-17T16:12:02.212Z] 6c30b4f44241: Layer already exists [2022-02-17T16:12:02.212Z] 07d3c46c9599: Layer already exists [2022-02-17T16:12:02.212Z] 189eb67649cb: Layer already exists [2022-02-17T16:12:02.212Z] latest: digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:12:02.822Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:12:03.157Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2022-02-17T16:12:03.157Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-02-17T16:12:03.157Z] 189eb67649cb: Preparing [2022-02-17T16:12:03.157Z] 6c30b4f44241: Preparing [2022-02-17T16:12:03.157Z] 07d3c46c9599: Preparing [2022-02-17T16:12:03.157Z] 6c30b4f44241: Layer already exists [2022-02-17T16:12:03.157Z] 07d3c46c9599: Layer already exists [2022-02-17T16:12:03.157Z] 189eb67649cb: Layer already exists [2022-02-17T16:12:03.427Z] gcc: digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:12:03.777Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:7 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:12:04.110Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:7 [2022-02-17T16:12:04.110Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-02-17T16:12:04.110Z] 189eb67649cb: Preparing [2022-02-17T16:12:04.110Z] 6c30b4f44241: Preparing [2022-02-17T16:12:04.110Z] 07d3c46c9599: Preparing [2022-02-17T16:12:04.110Z] 07d3c46c9599: Layer already exists [2022-02-17T16:12:04.110Z] 6c30b4f44241: Layer already exists [2022-02-17T16:12:04.110Z] 189eb67649cb: Layer already exists [2022-02-17T16:12:04.110Z] 7: digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da size: 947 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-02-17T16:12:04.420Z] ===================================================== [Pipeline] echo [2022-02-17T16:12:04.431Z] taggedImages: [2022-02-17T16:12:04.431Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:5bb947235c942ea89325bcb808105ce2e51ba820 [2022-02-17T16:12:04.431Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-17T16:12:04.431Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2022-02-17T16:12:04.431Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:7 [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 [2022-02-17T16:12:04.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-17T16:12:04.817Z] [2022-02-17T16:12:04.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:12:05.157Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-17T16:12:05.157Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-17T16:12:05.157Z] 448f6bf000e3: Pulling fs layer [2022-02-17T16:12:05.157Z] f757da607395: Pulling fs layer [2022-02-17T16:12:05.157Z] 05883995daec: Pulling fs layer [2022-02-17T16:12:05.157Z] 8603b9c90790: Pulling fs layer [2022-02-17T16:12:05.157Z] 1560dd03e051: Pulling fs layer [2022-02-17T16:12:05.157Z] 27f5ce0e4adf: Pulling fs layer [2022-02-17T16:12:05.157Z] c2d8d7efcc4b: Pulling fs layer [2022-02-17T16:12:05.157Z] 1560dd03e051: Waiting [2022-02-17T16:12:05.157Z] 27f5ce0e4adf: Waiting [2022-02-17T16:12:05.157Z] c2d8d7efcc4b: Waiting [2022-02-17T16:12:05.157Z] 8603b9c90790: Waiting [2022-02-17T16:12:05.430Z] f757da607395: Verifying Checksum [2022-02-17T16:12:05.430Z] f757da607395: Download complete [2022-02-17T16:12:05.430Z] 8603b9c90790: Verifying Checksum [2022-02-17T16:12:05.430Z] 8603b9c90790: Download complete [2022-02-17T16:12:05.430Z] 1560dd03e051: Verifying Checksum [2022-02-17T16:12:05.430Z] 1560dd03e051: Download complete [2022-02-17T16:12:05.430Z] 27f5ce0e4adf: Verifying Checksum [2022-02-17T16:12:05.430Z] 27f5ce0e4adf: Download complete [2022-02-17T16:12:05.430Z] 05883995daec: Verifying Checksum [2022-02-17T16:12:05.430Z] 05883995daec: Download complete [2022-02-17T16:12:06.024Z] 448f6bf000e3: Verifying Checksum [2022-02-17T16:12:06.024Z] 448f6bf000e3: Download complete [2022-02-17T16:12:08.639Z] c2d8d7efcc4b: Verifying Checksum [2022-02-17T16:12:08.639Z] c2d8d7efcc4b: Download complete [2022-02-17T16:12:09.620Z] 448f6bf000e3: Pull complete [2022-02-17T16:12:09.893Z] f757da607395: Pull complete [2022-02-17T16:12:11.322Z] 05883995daec: Pull complete [2022-02-17T16:12:11.916Z] 8603b9c90790: Pull complete [2022-02-17T16:12:12.510Z] 1560dd03e051: Pull complete [2022-02-17T16:12:12.784Z] 27f5ce0e4adf: Pull complete [2022-02-17T16:12:27.912Z] c2d8d7efcc4b: Pull complete [2022-02-17T16:12:27.912Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-17T16:12:27.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-17T16:12:27.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-17T16:12:28.148Z] prd-ubuntu18.04-docker-arm64-4c-16g-5429 does not seem to be running inside a container [2022-02-17T16:12:28.222Z] $ 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:arm64 cat [2022-02-17T16:12:30.798Z] $ docker top fbfd5ee111c6722845fe0eed4c28b25ee6471fa93cede11050850d6bb3117ab5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:12:31.770Z] ---> job-cost.sh [2022-02-17T16:12:31.770Z] lf-activate-venv: SKIPPING [2022-02-17T16:12:31.770Z] INFO: No Stack... [2022-02-17T16:12:32.049Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-17T16:12:32.324Z] INFO: Archiving Costs [Pipeline] sh [2022-02-17T16:12:33.018Z] + + catcut /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv -d, [2022-02-17T16:12:33.018Z] -f6 [Pipeline] lock [2022-02-17T16:12:33.249Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-7-stack-cost] [2022-02-17T16:12:33.262Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-7-stack-cost] did not exist. Created. [2022-02-17T16:12:33.262Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-17T16:12:34.310Z] /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-17ea23be/script.sh: 1: /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-17ea23be/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-17T16:12:34.971Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-17T16:12:34.997Z] Warning: overwriting stash ‘stack-cost’ [2022-02-17T16:12:35.385Z] Stashed 1 file(s) [Pipeline] } [2022-02-17T16:12:35.395Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-17T16:12:35.411Z] $ docker stop --time=1 fbfd5ee111c6722845fe0eed4c28b25ee6471fa93cede11050850d6bb3117ab5 [2022-02-17T16:12:36.904Z] $ docker rm -f fbfd5ee111c6722845fe0eed4c28b25ee6471fa93cede11050850d6bb3117ab5 [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-17T16:12:37.728Z] + '[' -d /w/workspace/edgexfoundry_ci-build-images_gcc/archives ']' [2022-02-17T16:12:37.728Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-02-17T16:12:37.728Z] total 4 [2022-02-17T16:12:37.728Z] drwxr-xr-x. 3 root root 34 Feb 17 16:09 . [2022-02-17T16:12:37.728Z] drwxrwxr-x. 4 jenkins jenkins 89 Feb 17 16:09 .. [2022-02-17T16:12:37.728Z] drwxr-xr-x. 2 root root 6 Feb 17 16:09 cost [2022-02-17T16:12:37.728Z] -rw-r--r--. 1 root root 83 Feb 17 16:09 cost.csv [2022-02-17T16:12:37.728Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-02-17T16:12:37.728Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-02-17T16:12:37.728Z] total 4 [2022-02-17T16:12:37.728Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 17 16:09 . [2022-02-17T16:12:37.728Z] drwxrwxr-x. 4 jenkins jenkins 89 Feb 17 16:09 .. [2022-02-17T16:12:37.728Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 17 16:09 cost [2022-02-17T16:12:37.728Z] -rw-r--r--. 1 jenkins jenkins 83 Feb 17 16:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:12:38.038Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:12:38.601Z] ---> package-listing.sh [2022-02-17T16:12:38.601Z] ++ facter osfamily [2022-02-17T16:12:38.601Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-17T16:12:38.862Z] + OS_FAMILY=redhat [2022-02-17T16:12:38.862Z] + workspace=/w/workspace/edgexfoundry_ci-build-images_gcc [2022-02-17T16:12:38.862Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-17T16:12:38.862Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-17T16:12:38.862Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-17T16:12:38.862Z] + PACKAGES=/tmp/packages_start.txt [2022-02-17T16:12:38.862Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2022-02-17T16:12:38.862Z] + PACKAGES=/tmp/packages_end.txt [2022-02-17T16:12:38.862Z] + case "${OS_FAMILY}" in [2022-02-17T16:12:38.862Z] + rpm -qa [2022-02-17T16:12:38.862Z] + sort [2022-02-17T16:12:39.433Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-17T16:12:39.433Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-17T16:12:39.433Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-17T16:12:39.433Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2022-02-17T16:12:39.433Z] + mkdir -p /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [2022-02-17T16:12:39.433Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [Pipeline] echo [2022-02-17T16:12:39.447Z] 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 [2022-02-17T16:12:39.735Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-17T16:12:40.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-17T16:12:40.303Z] . [Pipeline] withDockerContainer [2022-02-17T16:12:40.372Z] prd-centos7-docker-4c-2g-5428 does not seem to be running inside a container [2022-02-17T16:12:40.408Z] $ 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 [2022-02-17T16:12:40.614Z] $ docker top d20e1f3072c3d01bd698bba99fd858c2cd6a508412181f850d6262fdf3b6129c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-17T16:12:40.971Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-17T16:12:41.265Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-17T16:12:41.558Z] + ls /var/log/sa-host [2022-02-17T16:12:41.558Z] + sadf -c /var/log/sa-host/sa17 [2022-02-17T16:12:41.558Z] file_magic: OK [2022-02-17T16:12:41.558Z] HZ: Using current value: 100 [2022-02-17T16:12:41.558Z] file_header: OK [2022-02-17T16:12:41.558Z] 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-17T16:12:41.558Z] Statistics: [2022-02-17T16:12:41.558Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-17T16:12:41.558Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-17T16:12:41.818Z] provisioning config files... [2022-02-17T16:12:41.827Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config8544376422655394297tmp [Pipeline] { [Pipeline] echo [2022-02-17T16:12:41.845Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:12:42.152Z] ---> create-netrc.sh [Pipeline] } [2022-02-17T16:12:42.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:12:42.517Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-17T16:12:42.527Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:12:42.823Z] ---> sudo-logs.sh [2022-02-17T16:12:42.823Z] Archiving 'sudo' log.. [2022-02-17T16:12:42.823Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5428.novalocal: Name or service not known [2022-02-17T16:12:42.823Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5428.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-17T16:12:42.882Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:12:43.184Z] ---> job-cost.sh [2022-02-17T16:12:43.185Z] lf-activate-venv: SKIPPING [2022-02-17T16:12:43.185Z] DEBUG: total: 0.05999999865889549 [2022-02-17T16:12:43.185Z] INFO: Retrieving Stack Cost... [2022-02-17T16:12:43.444Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-17T16:12:44.013Z] INFO: Archiving Costs [Pipeline] echo [2022-02-17T16:12:44.028Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-17T16:12:44.338Z] ---> logs-deploy.sh [2022-02-17T16:12:44.338Z] lf-activate-venv: SKIPPING [2022-02-17T16:12:44.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/gcc/7 [2022-02-17T16:12:44.338Z] INFO: archiving workspace using pattern(s): [2022-02-17T16:12:44.919Z] Archives upload complete. [2022-02-17T16:12:45.179Z] INFO: archiving logs to Nexus