Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8dbff7922d1b221651f0b16e872d16215c6a8218 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-ssh7770998229728728470.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-ssh4842468363770765176.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-ssh3774249988860093093.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-ssh5517834994612018122.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-ssh17361319699844615718.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:[6], 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: 6 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4841 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-ssh2688448585586965307.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 8dbff7922d1b221651f0b16e872d16215c6a8218 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-08T16:54:59.073Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-08T16:54:59.130Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-08T16:54:59.142Z] ========================================================= [2022-02-08T16:54:59.142Z] EdgeX Global Pipelines Version Info [2022-02-08T16:54:59.142Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:55:00.255Z] ------------------- [2022-02-08T16:55:00.255Z] stable info: [2022-02-08T16:55:00.255Z] ------------------- [2022-02-08T16:55:00.255Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-08T16:55:00.255Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-08T16:55:00.255Z] Message: update stable to v1.0.220 [2022-02-08T16:55:00.828Z] ------------------- [2022-02-08T16:55:00.828Z] experimental info: [2022-02-08T16:55:00.828Z] ------------------- [2022-02-08T16:55:00.828Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-08T16:55:00.828Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-08T16:55:00.828Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-02-08T16:55:00.980Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-02-08T16:55:00.992Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo [2022-02-08T16:55:01.005Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-02-08T16:55:01.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-08T16:55:01.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-08T16:55:01.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo [2022-02-08T16:55:01.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-02-08T16:55:01.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-02-08T16:55:01.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-02-08T16:55:01.081Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-08T16:55:01.090Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-02-08T16:55:01.100Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo [2022-02-08T16:55:01.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-08T16:55:01.119Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-08T16:55:01.131Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo [2022-02-08T16:55:01.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 6 [Pipeline] echo [2022-02-08T16:55:01.153Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = gcc [Pipeline] echo [2022-02-08T16:55:01.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = gcc [Pipeline] echo [2022-02-08T16:55:01.187Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = gcc [Pipeline] echo [2022-02-08T16:55:01.200Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dbff7922d1b221651f0b16e872d16215c6a8218 [Pipeline] echo [2022-02-08T16:55:01.209Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dbff79 [Pipeline] echo [2022-02-08T16:55:01.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-08T16:55:01.272Z] provisioning config files... [2022-02-08T16:55:01.286Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config542130318258980411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:55:01.600Z] ---> docker-login.sh [2022-02-08T16:55:01.600Z] nexus3.edgexfoundry.org:10001 [2022-02-08T16:55:01.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:01.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:01.867Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:01.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:01.867Z] [2022-02-08T16:55:01.867Z] Login Succeeded [2022-02-08T16:55:01.867Z] nexus3.edgexfoundry.org:10002 [2022-02-08T16:55:01.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:01.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:01.867Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:01.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:01.867Z] [2022-02-08T16:55:01.867Z] Login Succeeded [2022-02-08T16:55:01.867Z] nexus3.edgexfoundry.org:10003 [2022-02-08T16:55:02.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:02.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:02.130Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:02.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:02.130Z] [2022-02-08T16:55:02.130Z] Login Succeeded [2022-02-08T16:55:02.130Z] nexus3.edgexfoundry.org:10004 [2022-02-08T16:55:02.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:02.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:02.130Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:02.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:02.130Z] [2022-02-08T16:55:02.130Z] Login Succeeded [2022-02-08T16:55:02.130Z] docker.io [2022-02-08T16:55:02.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:02.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:02.704Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:02.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:02.704Z] [2022-02-08T16:55:02.704Z] Login Succeeded [2022-02-08T16:55:02.704Z] ---> docker-login.sh ends [Pipeline] } [2022-02-08T16:55:02.712Z] 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-08T16:55:02.930Z] provisioning config files... [2022-02-08T16:55:02.941Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config2202430636019738350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:55:03.257Z] ---> docker-login.sh [2022-02-08T16:55:03.257Z] nexus3.edgexfoundry.org:10001 [2022-02-08T16:55:03.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:03.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:03.257Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:03.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:03.257Z] [2022-02-08T16:55:03.257Z] Login Succeeded [2022-02-08T16:55:03.257Z] nexus3.edgexfoundry.org:10002 [2022-02-08T16:55:03.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:03.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:03.257Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:03.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:03.257Z] [2022-02-08T16:55:03.257Z] Login Succeeded [2022-02-08T16:55:03.257Z] nexus3.edgexfoundry.org:10003 [2022-02-08T16:55:03.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:03.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:03.525Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:03.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:03.525Z] [2022-02-08T16:55:03.525Z] Login Succeeded [2022-02-08T16:55:03.525Z] nexus3.edgexfoundry.org:10004 [2022-02-08T16:55:03.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:03.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:03.525Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:03.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:03.525Z] [2022-02-08T16:55:03.525Z] Login Succeeded [2022-02-08T16:55:03.525Z] docker.io [2022-02-08T16:55:03.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:55:04.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:55:04.049Z] Configure a credential helper to remove this warning. See [2022-02-08T16:55:04.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:55:04.049Z] [2022-02-08T16:55:04.049Z] Login Succeeded [2022-02-08T16:55:04.049Z] ---> docker-login.sh ends [Pipeline] } [2022-02-08T16:55:04.059Z] 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-08T16:55:05.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-08T16:55:05.846Z] + ls -al . [2022-02-08T16:55:05.846Z] total 8 [2022-02-08T16:55:05.846Z] drwxrwxr-x. 3 jenkins jenkins 55 Feb 8 16:54 . [2022-02-08T16:55:05.846Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 8 16:54 .. [2022-02-08T16:55:05.846Z] -rw-rw-r--. 1 jenkins jenkins 401 Feb 8 16:54 Dockerfile [2022-02-08T16:55:05.846Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 8 16:54 .git [2022-02-08T16:55:05.846Z] -rw-rw-r--. 1 jenkins jenkins 883 Feb 8 16:54 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:06.318Z] + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=8dbff7922d1b221651f0b16e872d16215c6a8218 --label arch=amd64 . [2022-02-08T16:55:06.318Z] Sending build context to Docker daemon 407kB [2022-02-08T16:55:06.318Z] Step 1/6 : FROM alpine:3.14 [2022-02-08T16:55:06.893Z] 3.14: Pulling from library/alpine [2022-02-08T16:55:06.893Z] 97518928ae5f: Pulling fs layer [2022-02-08T16:55:07.160Z] 97518928ae5f: Download complete [2022-02-08T16:55:07.424Z] 97518928ae5f: Pull complete [2022-02-08T16:55:07.424Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-08T16:55:07.424Z] Status: Downloaded newer image for alpine:3.14 [2022-02-08T16:55:07.424Z] ---> 0a97eee8041e [2022-02-08T16:55:07.424Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-02-08T16:55:07.424Z] ---> Running in 9692704b5a68 [2022-02-08T16:55:07.424Z] Removing intermediate container 9692704b5a68 [2022-02-08T16:55:07.424Z] ---> 63682a511a50 [2022-02-08T16:55:07.424Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-08T16:55:07.688Z] ---> Running in bdf982e503de [2022-02-08T16:55:07.950Z] Removing intermediate container bdf982e503de [2022-02-08T16:55:07.950Z] ---> aa9482bd1126 [2022-02-08T16:55:07.950Z] 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-08T16:55:07.950Z] ---> Running in 9924c605b517 [2022-02-08T16:55:08.212Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-08T16:55:09.156Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-08T16:55:09.735Z] (1/63) Installing libgcc (10.3.1_git20210424-r2) [2022-02-08T16:55:09.735Z] (2/63) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-08T16:55:09.735Z] (3/63) Installing binutils (2.35.2-r2) [2022-02-08T16:55:09.995Z] (4/63) Installing libmagic (5.40-r1) [2022-02-08T16:55:09.995Z] (5/63) Installing file (5.40-r1) [2022-02-08T16:55:10.255Z] (6/63) Installing libgomp (10.3.1_git20210424-r2) [2022-02-08T16:55:10.255Z] (7/63) Installing libatomic (10.3.1_git20210424-r2) [2022-02-08T16:55:10.255Z] (8/63) Installing libgphobos (10.3.1_git20210424-r2) [2022-02-08T16:55:10.517Z] (9/63) Installing gmp (6.2.1-r0) [2022-02-08T16:55:10.517Z] (10/63) Installing isl22 (0.22-r0) [2022-02-08T16:55:10.517Z] (11/63) Installing mpfr4 (4.1.0-r0) [2022-02-08T16:55:10.778Z] (12/63) Installing mpc1 (1.2.1-r0) [2022-02-08T16:55:10.778Z] (13/63) Installing gcc (10.3.1_git20210424-r2) [2022-02-08T16:55:12.705Z] (14/63) Installing musl-dev (1.2.2-r3) [2022-02-08T16:55:13.648Z] (15/63) Installing libc-dev (0.7.2-r3) [2022-02-08T16:55:13.648Z] (16/63) Installing g++ (10.3.1_git20210424-r2) [2022-02-08T16:55:15.031Z] (17/63) Installing make (4.3-r0) [2022-02-08T16:55:15.031Z] (18/63) Installing fortify-headers (1.1-r1) [2022-02-08T16:55:15.031Z] (19/63) Installing patch (2.7.6-r7) [2022-02-08T16:55:15.292Z] (20/63) Installing build-base (0.5-r2) [2022-02-08T16:55:15.292Z] (21/63) Installing libacl (2.2.53-r0) [2022-02-08T16:55:15.292Z] (22/63) Installing libbz2 (1.0.8-r1) [2022-02-08T16:55:15.552Z] (23/63) Installing expat (2.4.4-r0) [2022-02-08T16:55:15.552Z] (24/63) Installing lz4-libs (1.9.3-r1) [2022-02-08T16:55:15.552Z] (25/63) Installing xz-libs (5.2.5-r0) [2022-02-08T16:55:15.813Z] (26/63) Installing zstd-libs (1.4.9-r1) [2022-02-08T16:55:15.813Z] (27/63) Installing libarchive (3.5.2-r0) [2022-02-08T16:55:15.813Z] (28/63) Installing ca-certificates (20211220-r0) [2022-02-08T16:55:16.073Z] (29/63) Installing brotli-libs (1.0.9-r5) [2022-02-08T16:55:16.073Z] (30/63) Installing nghttp2-libs (1.43.0-r0) [2022-02-08T16:55:16.334Z] (31/63) Installing libcurl (7.79.1-r0) [2022-02-08T16:55:16.334Z] (32/63) Installing ncurses-terminfo-base (6.2_p20210612-r0) [2022-02-08T16:55:16.334Z] (33/63) Installing ncurses-libs (6.2_p20210612-r0) [2022-02-08T16:55:16.595Z] (34/63) Installing rhash-libs (1.4.1-r0) [2022-02-08T16:55:16.595Z] (35/63) Installing libuv (1.41.0-r0) [2022-02-08T16:55:16.595Z] (36/63) Installing cmake (3.20.3-r0) [2022-02-08T16:55:17.877Z] Still waiting to schedule task [2022-02-08T16:55:17.878Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-08T16:55:17.979Z] (37/63) Installing pkgconf (1.7.4-r0) [2022-02-08T16:55:17.979Z] (38/63) Installing openssl-dev (1.1.1l-r0) [2022-02-08T16:55:18.241Z] (39/63) Installing nghttp2-dev (1.43.0-r0) [2022-02-08T16:55:18.241Z] (40/63) Installing zlib-dev (1.2.11-r3) [2022-02-08T16:55:18.241Z] (41/63) Installing brotli-dev (1.0.9-r5) [2022-02-08T16:55:18.503Z] (42/63) Installing curl-dev (7.79.1-r0) [2022-02-08T16:55:18.503Z] (43/63) Installing pcre2 (10.36-r0) [2022-02-08T16:55:18.503Z] (44/63) Installing git (2.32.0-r0) [2022-02-08T16:55:19.076Z] (45/63) Installing nettle (3.7.3-r0) [2022-02-08T16:55:19.076Z] (46/63) Installing libffi (3.3-r2) [2022-02-08T16:55:19.076Z] (47/63) Installing p11-kit (0.23.22-r0) [2022-02-08T16:55:19.337Z] (48/63) Installing libtasn1 (4.17.0-r0) [2022-02-08T16:55:19.337Z] (49/63) Installing libunistring (0.9.10-r1) [2022-02-08T16:55:19.599Z] (50/63) Installing gnutls (3.7.1-r0) [2022-02-08T16:55:19.599Z] (51/63) Installing libmicrohttpd (0.9.72-r0) [2022-02-08T16:55:19.599Z] (52/63) Installing gnutls-c++ (3.7.1-r0) [2022-02-08T16:55:19.860Z] (53/63) Installing libgmpxx (6.2.1-r0) [2022-02-08T16:55:19.860Z] (54/63) Installing gmp-dev (6.2.1-r0) [2022-02-08T16:55:19.860Z] (55/63) Installing nettle-dev (3.7.3-r0) [2022-02-08T16:55:20.121Z] (56/63) Installing libtasn1-progs (4.17.0-r0) [2022-02-08T16:55:20.121Z] (57/63) Installing libtasn1-dev (4.17.0-r0) [2022-02-08T16:55:20.121Z] (58/63) Installing p11-kit-dev (0.23.22-r0) [2022-02-08T16:55:20.381Z] (59/63) Installing gnutls-dev (3.7.1-r0) [2022-02-08T16:55:20.381Z] (60/63) Installing libmicrohttpd-dev (0.9.72-r0) [2022-02-08T16:55:20.381Z] (61/63) Installing linux-headers (5.10.41-r0) [2022-02-08T16:55:20.641Z] (62/63) Installing yaml (0.2.5-r0) [2022-02-08T16:55:20.904Z] (63/63) Installing yaml-dev (0.2.5-r0) [2022-02-08T16:55:20.904Z] Executing busybox-1.33.1-r6.trigger [2022-02-08T16:55:20.904Z] Executing ca-certificates-20211220-r0.trigger [2022-02-08T16:55:20.904Z] OK: 279 MiB in 77 packages [2022-02-08T16:55:27.525Z] Removing intermediate container 9924c605b517 [2022-02-08T16:55:27.525Z] ---> 5bef852172f6 [2022-02-08T16:55:27.525Z] Step 5/6 : LABEL arch=amd64 [2022-02-08T16:55:27.525Z] ---> Running in 9c42bf08bef8 [2022-02-08T16:55:27.525Z] Removing intermediate container 9c42bf08bef8 [2022-02-08T16:55:27.525Z] ---> a2f54fb2c467 [2022-02-08T16:55:27.525Z] Step 6/6 : LABEL git_sha=8dbff7922d1b221651f0b16e872d16215c6a8218 [2022-02-08T16:55:27.525Z] ---> Running in b9ebb2aa670a [2022-02-08T16:55:27.525Z] Removing intermediate container b9ebb2aa670a [2022-02-08T16:55:27.525Z] ---> 621855499e4c [2022-02-08T16:55:27.525Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-08T16:55:27.525Z] Successfully built 621855499e4c [2022-02-08T16:55:27.525Z] 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-08T16:55:27.681Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base with the following tags: [2022-02-08T16:55:27.681Z] 8dbff7922d1b221651f0b16e872d16215c6a8218 [2022-02-08T16:55:27.681Z] latest [2022-02-08T16:55:27.681Z] gcc [2022-02-08T16:55:27.681Z] 6 [2022-02-08T16:55:27.681Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:28.011Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8dbff7922d1b221651f0b16e872d16215c6a8218 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:28.327Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8dbff7922d1b221651f0b16e872d16215c6a8218 [2022-02-08T16:55:28.327Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-02-08T16:55:28.327Z] 9b968b119b1b: Preparing [2022-02-08T16:55:28.327Z] 16d35db4ebd3: Preparing [2022-02-08T16:55:28.327Z] 1a058d5342cc: Preparing [2022-02-08T16:55:28.327Z] 1a058d5342cc: Layer already exists [2022-02-08T16:55:28.327Z] 16d35db4ebd3: Pushed [2022-02-08T16:55:54.928Z] 9b968b119b1b: Pushed [2022-02-08T16:55:54.928Z] 8dbff7922d1b221651f0b16e872d16215c6a8218: digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:55.242Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:55.538Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-08T16:55:55.538Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-02-08T16:55:55.538Z] 9b968b119b1b: Preparing [2022-02-08T16:55:55.538Z] 16d35db4ebd3: Preparing [2022-02-08T16:55:55.538Z] 1a058d5342cc: Preparing [2022-02-08T16:55:55.538Z] 1a058d5342cc: Layer already exists [2022-02-08T16:55:55.538Z] 16d35db4ebd3: Layer already exists [2022-02-08T16:55:55.538Z] 9b968b119b1b: Layer already exists [2022-02-08T16:55:55.538Z] latest: digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:55.853Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:56.151Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2022-02-08T16:55:56.152Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-02-08T16:55:56.152Z] 9b968b119b1b: Preparing [2022-02-08T16:55:56.152Z] 16d35db4ebd3: Preparing [2022-02-08T16:55:56.152Z] 1a058d5342cc: Preparing [2022-02-08T16:55:56.152Z] 9b968b119b1b: Layer already exists [2022-02-08T16:55:56.152Z] 1a058d5342cc: Layer already exists [2022-02-08T16:55:56.152Z] 16d35db4ebd3: Layer already exists [2022-02-08T16:55:56.152Z] gcc: digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:56.456Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:6 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:56.755Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:6 [2022-02-08T16:55:56.755Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-02-08T16:55:56.755Z] 9b968b119b1b: Preparing [2022-02-08T16:55:56.755Z] 16d35db4ebd3: Preparing [2022-02-08T16:55:56.755Z] 1a058d5342cc: Preparing [2022-02-08T16:55:56.755Z] 1a058d5342cc: Layer already exists [2022-02-08T16:55:56.755Z] 9b968b119b1b: Layer already exists [2022-02-08T16:55:56.755Z] 16d35db4ebd3: Layer already exists [2022-02-08T16:55:56.755Z] 6: digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c size: 947 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-02-08T16:55:56.794Z] ===================================================== [Pipeline] echo [2022-02-08T16:55:56.804Z] taggedImages: [2022-02-08T16:55:56.804Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8dbff7922d1b221651f0b16e872d16215c6a8218 [2022-02-08T16:55:56.804Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-08T16:55:56.804Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2022-02-08T16:55:56.804Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:6 [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-08T16:55:57.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-08T16:55:57.170Z] [2022-02-08T16:55:57.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:55:57.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-08T16:55:57.483Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-08T16:55:57.483Z] b4d181a07f80: Pulling fs layer [2022-02-08T16:55:57.483Z] a1111a8f2ec3: Pulling fs layer [2022-02-08T16:55:57.483Z] ed53099fbce6: Pulling fs layer [2022-02-08T16:55:57.483Z] dc539afda2c1: Pulling fs layer [2022-02-08T16:55:57.483Z] 77bc0d833cb6: Pulling fs layer [2022-02-08T16:55:57.483Z] 9065ff56babe: Pulling fs layer [2022-02-08T16:55:57.483Z] d287ab97295c: Pulling fs layer [2022-02-08T16:55:57.483Z] 77bc0d833cb6: Waiting [2022-02-08T16:55:57.483Z] 9065ff56babe: Waiting [2022-02-08T16:55:57.483Z] d287ab97295c: Waiting [2022-02-08T16:55:57.483Z] dc539afda2c1: Waiting [2022-02-08T16:55:57.483Z] a1111a8f2ec3: Verifying Checksum [2022-02-08T16:55:57.483Z] a1111a8f2ec3: Download complete [2022-02-08T16:55:57.484Z] dc539afda2c1: Verifying Checksum [2022-02-08T16:55:57.484Z] dc539afda2c1: Download complete [2022-02-08T16:55:57.484Z] ed53099fbce6: Verifying Checksum [2022-02-08T16:55:57.484Z] ed53099fbce6: Download complete [2022-02-08T16:55:57.484Z] 9065ff56babe: Verifying Checksum [2022-02-08T16:55:57.484Z] 9065ff56babe: Download complete [2022-02-08T16:55:57.752Z] 77bc0d833cb6: Verifying Checksum [2022-02-08T16:55:57.752Z] 77bc0d833cb6: Download complete [2022-02-08T16:55:57.752Z] b4d181a07f80: Verifying Checksum [2022-02-08T16:55:57.752Z] b4d181a07f80: Download complete [2022-02-08T16:55:58.339Z] d287ab97295c: Verifying Checksum [2022-02-08T16:55:58.339Z] d287ab97295c: Download complete [2022-02-08T16:55:59.300Z] b4d181a07f80: Pull complete [2022-02-08T16:55:59.300Z] a1111a8f2ec3: Pull complete [2022-02-08T16:55:59.895Z] ed53099fbce6: Pull complete [2022-02-08T16:55:59.895Z] dc539afda2c1: Pull complete [2022-02-08T16:56:00.155Z] 77bc0d833cb6: Pull complete [2022-02-08T16:56:00.413Z] 9065ff56babe: Pull complete [2022-02-08T16:56:05.759Z] d287ab97295c: Pull complete [2022-02-08T16:56:05.759Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-08T16:56:05.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-08T16:56:05.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-08T16:56:05.862Z] prd-centos7-docker-4c-2g-4841 does not seem to be running inside a container [2022-02-08T16:56:05.899Z] $ 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-08T16:56:08.548Z] $ docker top 0f378badc1bbb692ff177a7b14bf69e959a97bab4dde04d0750f8f4b0fa6d2b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:56:09.006Z] ---> job-cost.sh [2022-02-08T16:56:09.006Z] lf-activate-venv: SKIPPING [2022-02-08T16:56:09.006Z] INFO: No Stack... [2022-02-08T16:56:09.266Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-08T16:56:09.837Z] INFO: Archiving Costs [Pipeline] sh [2022-02-08T16:56:10.151Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2022-02-08T16:56:10.151Z] + cut -d, -f6 [Pipeline] lock [2022-02-08T16:56:10.182Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-6-stack-cost] [2022-02-08T16:56:10.189Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-6-stack-cost] did not exist. Created. [2022-02-08T16:56:10.189Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-08T16:56:10.492Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-08T16:56:10.700Z] Stashed 1 file(s) [Pipeline] } [2022-02-08T16:56:10.707Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-08T16:56:10.718Z] $ docker stop --time=1 0f378badc1bbb692ff177a7b14bf69e959a97bab4dde04d0750f8f4b0fa6d2b0 [2022-02-08T16:56:11.860Z] $ docker rm -f 0f378badc1bbb692ff177a7b14bf69e959a97bab4dde04d0750f8f4b0fa6d2b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-08T16:56:46.112Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4842 in /w/workspace/edgexfoundry_ci-build-images_gcc [Pipeline] { [Pipeline] checkout [2022-02-08T16:56:46.281Z] Selected Git installation does not exist. Using Default [2022-02-08T16:56:46.281Z] The recommended git tool is: NONE [2022-02-08T16:56:50.933Z] using credential edgex-jenkins-ssh [2022-02-08T16:56:50.954Z] Cloning the remote Git repository [2022-02-08T16:56:51.007Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2022-02-08T16:56:51.080Z] > git init /w/workspace/edgexfoundry_ci-build-images_gcc # timeout=10 [2022-02-08T16:56:51.184Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-02-08T16:56:51.185Z] > git --version # timeout=10 [2022-02-08T16:56:51.199Z] > git --version # 'git version 2.17.1' [2022-02-08T16:56:51.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-08T16:56:51.267Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-08T16:56:52.161Z] Avoid second fetch [2022-02-08T16:56:52.162Z] Checking out Revision 8dbff7922d1b221651f0b16e872d16215c6a8218 (gcc) [2022-02-08T16:56:52.109Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-02-08T16:56:52.124Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-08T16:56:52.176Z] > git config core.sparsecheckout # timeout=10 [2022-02-08T16:56:52.199Z] > git checkout -f 8dbff7922d1b221651f0b16e872d16215c6a8218 # timeout=10 [2022-02-08T16:56:56.318Z] Commit message: "Merge pull request #182 from ernestojeda/gcc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-08T16:56:57.210Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-08T16:56:57.210Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-08T16:56:57.210Z] Dload Upload Total Spent Left Speed [2022-02-08T16:56:57.210Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 92523 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh [2022-02-08T16:56:57.750Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-08T16:56:58.098Z] + sudo tee /etc/docker/daemon.new [2022-02-08T16:56:58.098Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-08T16:56:58.098Z] { [2022-02-08T16:56:58.098Z] "registry-mirrors": [ [2022-02-08T16:56:58.098Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-08T16:56:58.098Z] ], [2022-02-08T16:56:58.098Z] "bip": "10.250.0.254/24", [2022-02-08T16:56:58.098Z] "hosts": [ [2022-02-08T16:56:58.098Z] "tcp://0.0.0.0:5555", [2022-02-08T16:56:58.098Z] "unix:///var/run/docker.sock" [2022-02-08T16:56:58.098Z] ], [2022-02-08T16:56:58.098Z] "mtu": 1458, [2022-02-08T16:56:58.098Z] "selinux-enabled": true, [2022-02-08T16:56:58.098Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-08T16:56:58.098Z] } [Pipeline] sh [2022-02-08T16:56:58.448Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-08T16:56:58.885Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-08T16:57:17.225Z] provisioning config files... [2022-02-08T16:57:17.247Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config6425193010853529307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:57:17.600Z] ---> docker-login.sh [2022-02-08T16:57:17.600Z] nexus3.edgexfoundry.org:10001 [2022-02-08T16:57:18.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:57:18.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:57:18.193Z] Configure a credential helper to remove this warning. See [2022-02-08T16:57:18.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:57:18.193Z] [2022-02-08T16:57:18.193Z] Login Succeeded [2022-02-08T16:57:18.464Z] nexus3.edgexfoundry.org:10002 [2022-02-08T16:57:18.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:57:18.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:57:18.735Z] Configure a credential helper to remove this warning. See [2022-02-08T16:57:18.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:57:18.735Z] [2022-02-08T16:57:18.735Z] Login Succeeded [2022-02-08T16:57:18.735Z] nexus3.edgexfoundry.org:10003 [2022-02-08T16:57:19.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:57:19.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:57:19.013Z] Configure a credential helper to remove this warning. See [2022-02-08T16:57:19.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:57:19.013Z] [2022-02-08T16:57:19.013Z] Login Succeeded [2022-02-08T16:57:19.013Z] nexus3.edgexfoundry.org:10004 [2022-02-08T16:57:19.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:57:19.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:57:19.561Z] Configure a credential helper to remove this warning. See [2022-02-08T16:57:19.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:57:19.561Z] [2022-02-08T16:57:19.561Z] Login Succeeded [2022-02-08T16:57:19.561Z] docker.io [2022-02-08T16:57:19.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T16:57:20.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T16:57:20.100Z] Configure a credential helper to remove this warning. See [2022-02-08T16:57:20.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T16:57:20.100Z] [2022-02-08T16:57:20.100Z] Login Succeeded [2022-02-08T16:57:20.100Z] ---> docker-login.sh ends [Pipeline] } [2022-02-08T16:57:20.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-08T16:57:20.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-08T16:57:20.895Z] + ls -al . [2022-02-08T16:57:20.895Z] total 20 [2022-02-08T16:57:20.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 16:56 . [2022-02-08T16:57:20.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 16:56 .. [2022-02-08T16:57:20.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 16:56 .git [2022-02-08T16:57:20.895Z] -rw-rw-r-- 1 jenkins jenkins 401 Feb 8 16:56 Dockerfile [2022-02-08T16:57:20.895Z] -rw-rw-r-- 1 jenkins jenkins 883 Feb 8 16:56 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:57:21.244Z] + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=8dbff7922d1b221651f0b16e872d16215c6a8218 --label arch=arm64 . [2022-02-08T16:57:21.516Z] Sending build context to Docker daemon 406kB [2022-02-08T16:57:21.517Z] Step 1/6 : FROM alpine:3.14 [2022-02-08T16:57:22.107Z] 3.14: Pulling from library/alpine [2022-02-08T16:57:22.378Z] be307f383ecc: Pulling fs layer [2022-02-08T16:57:22.652Z] be307f383ecc: Verifying Checksum [2022-02-08T16:57:22.652Z] be307f383ecc: Download complete [2022-02-08T16:57:22.941Z] be307f383ecc: Pull complete [2022-02-08T16:57:22.941Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-08T16:57:22.941Z] Status: Downloaded newer image for alpine:3.14 [2022-02-08T16:57:22.941Z] ---> 5b8b7b635229 [2022-02-08T16:57:22.941Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-02-08T16:57:23.211Z] ---> Running in d0c0ce9c32da [2022-02-08T16:57:23.486Z] Removing intermediate container d0c0ce9c32da [2022-02-08T16:57:23.486Z] ---> 2c1399ba6b9a [2022-02-08T16:57:23.486Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-08T16:57:23.486Z] ---> Running in 04f2029adeeb [2022-02-08T16:57:25.453Z] Removing intermediate container 04f2029adeeb [2022-02-08T16:57:25.453Z] ---> 9c66293bdc59 [2022-02-08T16:57:25.453Z] 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-08T16:57:25.453Z] ---> Running in 2c8b5cef7728 [2022-02-08T16:57:26.426Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-08T16:57:27.016Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-08T16:57:27.984Z] (1/63) Installing libgcc (10.3.1_git20210424-r2) [2022-02-08T16:57:27.984Z] (2/63) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-08T16:57:27.984Z] (3/63) Installing binutils (2.35.2-r2) [2022-02-08T16:57:28.255Z] (4/63) Installing libmagic (5.40-r1) [2022-02-08T16:57:28.531Z] (5/63) Installing file (5.40-r1) [2022-02-08T16:57:28.531Z] (6/63) Installing libgomp (10.3.1_git20210424-r2) [2022-02-08T16:57:28.804Z] (7/63) Installing libatomic (10.3.1_git20210424-r2) [2022-02-08T16:57:28.804Z] (8/63) Installing libgphobos (10.3.1_git20210424-r2) [2022-02-08T16:57:29.073Z] (9/63) Installing gmp (6.2.1-r0) [2022-02-08T16:57:29.073Z] (10/63) Installing isl22 (0.22-r0) [2022-02-08T16:57:29.073Z] (11/63) Installing mpfr4 (4.1.0-r0) [2022-02-08T16:57:29.343Z] (12/63) Installing mpc1 (1.2.1-r0) [2022-02-08T16:57:29.343Z] (13/63) Installing gcc (10.3.1_git20210424-r2) [2022-02-08T16:57:31.307Z] (14/63) Installing musl-dev (1.2.2-r3) [2022-02-08T16:57:31.577Z] (15/63) Installing libc-dev (0.7.2-r3) [2022-02-08T16:57:31.848Z] (16/63) Installing g++ (10.3.1_git20210424-r2) [2022-02-08T16:57:33.290Z] (17/63) Installing make (4.3-r0) [2022-02-08T16:57:33.291Z] (18/63) Installing fortify-headers (1.1-r1) [2022-02-08T16:57:33.291Z] (19/63) Installing patch (2.7.6-r7) [2022-02-08T16:57:33.561Z] (20/63) Installing build-base (0.5-r2) [2022-02-08T16:57:33.561Z] (21/63) Installing libacl (2.2.53-r0) [2022-02-08T16:57:33.561Z] (22/63) Installing libbz2 (1.0.8-r1) [2022-02-08T16:57:33.831Z] (23/63) Installing expat (2.4.4-r0) [2022-02-08T16:57:33.831Z] (24/63) Installing lz4-libs (1.9.3-r1) [2022-02-08T16:57:33.831Z] (25/63) Installing xz-libs (5.2.5-r0) [2022-02-08T16:57:34.100Z] (26/63) Installing zstd-libs (1.4.9-r1) [2022-02-08T16:57:34.100Z] (27/63) Installing libarchive (3.5.2-r0) [2022-02-08T16:57:34.100Z] (28/63) Installing ca-certificates (20211220-r0) [2022-02-08T16:57:34.369Z] (29/63) Installing brotli-libs (1.0.9-r5) [2022-02-08T16:57:34.369Z] (30/63) Installing nghttp2-libs (1.43.0-r0) [2022-02-08T16:57:34.640Z] (31/63) Installing libcurl (7.79.1-r0) [2022-02-08T16:57:34.640Z] (32/63) Installing ncurses-terminfo-base (6.2_p20210612-r0) [2022-02-08T16:57:34.640Z] (33/63) Installing ncurses-libs (6.2_p20210612-r0) [2022-02-08T16:57:34.907Z] (34/63) Installing rhash-libs (1.4.1-r0) [2022-02-08T16:57:34.907Z] (35/63) Installing libuv (1.41.0-r0) [2022-02-08T16:57:34.907Z] (36/63) Installing cmake (3.20.3-r0) [2022-02-08T16:57:37.523Z] (37/63) Installing pkgconf (1.7.4-r0) [2022-02-08T16:57:37.523Z] (38/63) Installing openssl-dev (1.1.1l-r0) [2022-02-08T16:57:37.523Z] (39/63) Installing nghttp2-dev (1.43.0-r0) [2022-02-08T16:57:37.523Z] (40/63) Installing zlib-dev (1.2.11-r3) [2022-02-08T16:57:37.523Z] (41/63) Installing brotli-dev (1.0.9-r5) [2022-02-08T16:57:37.523Z] (42/63) Installing curl-dev (7.79.1-r0) [2022-02-08T16:57:37.793Z] (43/63) Installing pcre2 (10.36-r0) [2022-02-08T16:57:37.793Z] (44/63) Installing git (2.32.0-r0) [2022-02-08T16:57:38.382Z] (45/63) Installing nettle (3.7.3-r0) [2022-02-08T16:57:38.382Z] (46/63) Installing libffi (3.3-r2) [2022-02-08T16:57:38.651Z] (47/63) Installing p11-kit (0.23.22-r0) [2022-02-08T16:57:38.651Z] (48/63) Installing libtasn1 (4.17.0-r0) [2022-02-08T16:57:38.651Z] (49/63) Installing libunistring (0.9.10-r1) [2022-02-08T16:57:38.920Z] (50/63) Installing gnutls (3.7.1-r0) [2022-02-08T16:57:38.920Z] (51/63) Installing libmicrohttpd (0.9.72-r0) [2022-02-08T16:57:39.187Z] (52/63) Installing gnutls-c++ (3.7.1-r0) [2022-02-08T16:57:39.187Z] (53/63) Installing libgmpxx (6.2.1-r0) [2022-02-08T16:57:39.187Z] (54/63) Installing gmp-dev (6.2.1-r0) [2022-02-08T16:57:39.457Z] (55/63) Installing nettle-dev (3.7.3-r0) [2022-02-08T16:57:39.457Z] (56/63) Installing libtasn1-progs (4.17.0-r0) [2022-02-08T16:57:39.457Z] (57/63) Installing libtasn1-dev (4.17.0-r0) [2022-02-08T16:57:39.730Z] (58/63) Installing p11-kit-dev (0.23.22-r0) [2022-02-08T16:57:39.730Z] (59/63) Installing gnutls-dev (3.7.1-r0) [2022-02-08T16:57:39.730Z] (60/63) Installing libmicrohttpd-dev (0.9.72-r0) [2022-02-08T16:57:40.000Z] (61/63) Installing linux-headers (5.10.41-r0) [2022-02-08T16:57:40.270Z] (62/63) Installing yaml (0.2.5-r0) [2022-02-08T16:57:40.542Z] (63/63) Installing yaml-dev (0.2.5-r0) [2022-02-08T16:57:40.542Z] Executing busybox-1.33.1-r6.trigger [2022-02-08T16:57:40.542Z] Executing ca-certificates-20211220-r0.trigger [2022-02-08T16:57:40.813Z] OK: 274 MiB in 77 packages [2022-02-08T16:57:53.178Z] Removing intermediate container 2c8b5cef7728 [2022-02-08T16:57:53.178Z] ---> 6abe59b8fd7f [2022-02-08T16:57:53.178Z] Step 5/6 : LABEL arch=arm64 [2022-02-08T16:57:53.178Z] ---> Running in 89cbf1cb2c1c [2022-02-08T16:57:53.178Z] Removing intermediate container 89cbf1cb2c1c [2022-02-08T16:57:53.178Z] ---> 884fbb4b99c2 [2022-02-08T16:57:53.178Z] Step 6/6 : LABEL git_sha=8dbff7922d1b221651f0b16e872d16215c6a8218 [2022-02-08T16:57:53.178Z] ---> Running in 528e10188278 [2022-02-08T16:57:53.179Z] Removing intermediate container 528e10188278 [2022-02-08T16:57:53.179Z] ---> 3722cfcf980c [2022-02-08T16:57:53.179Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-08T16:57:53.179Z] Successfully built 3722cfcf980c [2022-02-08T16:57:53.179Z] 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-08T16:57:53.291Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base-arm64 with the following tags: [2022-02-08T16:57:53.291Z] 8dbff7922d1b221651f0b16e872d16215c6a8218 [2022-02-08T16:57:53.291Z] latest [2022-02-08T16:57:53.291Z] gcc [2022-02-08T16:57:53.291Z] 6 [2022-02-08T16:57:53.291Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:57:53.641Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8dbff7922d1b221651f0b16e872d16215c6a8218 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:57:53.983Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8dbff7922d1b221651f0b16e872d16215c6a8218 [2022-02-08T16:57:53.983Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-02-08T16:57:53.983Z] 05d4016cf696: Preparing [2022-02-08T16:57:53.983Z] 774369914629: Preparing [2022-02-08T16:57:53.983Z] 62170e181a92: Preparing [2022-02-08T16:57:53.983Z] 62170e181a92: Layer already exists [2022-02-08T16:57:54.255Z] 774369914629: Pushed [2022-02-08T16:58:50.786Z] 05d4016cf696: Pushed [2022-02-08T16:58:50.786Z] 8dbff7922d1b221651f0b16e872d16215c6a8218: digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:58:51.129Z] + 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-08T16:58:51.463Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-08T16:58:51.463Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-02-08T16:58:51.463Z] 05d4016cf696: Preparing [2022-02-08T16:58:51.463Z] 774369914629: Preparing [2022-02-08T16:58:51.463Z] 62170e181a92: Preparing [2022-02-08T16:58:51.463Z] 05d4016cf696: Layer already exists [2022-02-08T16:58:51.463Z] 774369914629: Layer already exists [2022-02-08T16:58:51.463Z] 62170e181a92: Layer already exists [2022-02-08T16:58:51.733Z] latest: digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:58:52.073Z] + 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-08T16:58:52.409Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2022-02-08T16:58:52.409Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-02-08T16:58:52.409Z] 05d4016cf696: Preparing [2022-02-08T16:58:52.409Z] 774369914629: Preparing [2022-02-08T16:58:52.409Z] 62170e181a92: Preparing [2022-02-08T16:58:52.409Z] 62170e181a92: Layer already exists [2022-02-08T16:58:52.409Z] 774369914629: Layer already exists [2022-02-08T16:58:52.409Z] 05d4016cf696: Layer already exists [2022-02-08T16:58:52.680Z] gcc: digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:58:53.022Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:6 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:58:53.355Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:6 [2022-02-08T16:58:53.355Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-02-08T16:58:53.355Z] 05d4016cf696: Preparing [2022-02-08T16:58:53.355Z] 774369914629: Preparing [2022-02-08T16:58:53.355Z] 62170e181a92: Preparing [2022-02-08T16:58:53.355Z] 62170e181a92: Layer already exists [2022-02-08T16:58:53.355Z] 05d4016cf696: Layer already exists [2022-02-08T16:58:53.355Z] 774369914629: Layer already exists [2022-02-08T16:58:53.628Z] 6: digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 size: 947 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-02-08T16:58:53.668Z] ===================================================== [Pipeline] echo [2022-02-08T16:58:53.677Z] taggedImages: [2022-02-08T16:58:53.677Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8dbff7922d1b221651f0b16e872d16215c6a8218 [2022-02-08T16:58:53.677Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-08T16:58:53.677Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2022-02-08T16:58:53.677Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:6 [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-08T16:58:54.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-08T16:58:54.071Z] [2022-02-08T16:58:54.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:58:54.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-08T16:58:54.415Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-08T16:58:54.415Z] 448f6bf000e3: Pulling fs layer [2022-02-08T16:58:54.415Z] f757da607395: Pulling fs layer [2022-02-08T16:58:54.415Z] 05883995daec: Pulling fs layer [2022-02-08T16:58:54.415Z] 8603b9c90790: Pulling fs layer [2022-02-08T16:58:54.415Z] 1560dd03e051: Pulling fs layer [2022-02-08T16:58:54.415Z] 27f5ce0e4adf: Pulling fs layer [2022-02-08T16:58:54.415Z] c2d8d7efcc4b: Pulling fs layer [2022-02-08T16:58:54.415Z] 8603b9c90790: Waiting [2022-02-08T16:58:54.415Z] 1560dd03e051: Waiting [2022-02-08T16:58:54.415Z] 27f5ce0e4adf: Waiting [2022-02-08T16:58:54.415Z] c2d8d7efcc4b: Waiting [2022-02-08T16:58:54.692Z] f757da607395: Download complete [2022-02-08T16:58:54.692Z] 8603b9c90790: Verifying Checksum [2022-02-08T16:58:54.692Z] 8603b9c90790: Download complete [2022-02-08T16:58:54.692Z] 1560dd03e051: Verifying Checksum [2022-02-08T16:58:54.692Z] 1560dd03e051: Download complete [2022-02-08T16:58:54.966Z] 27f5ce0e4adf: Download complete [2022-02-08T16:58:54.966Z] 05883995daec: Verifying Checksum [2022-02-08T16:58:54.966Z] 05883995daec: Download complete [2022-02-08T16:58:55.241Z] 448f6bf000e3: Verifying Checksum [2022-02-08T16:58:55.241Z] 448f6bf000e3: Download complete [2022-02-08T16:58:57.858Z] c2d8d7efcc4b: Verifying Checksum [2022-02-08T16:58:57.858Z] c2d8d7efcc4b: Download complete [2022-02-08T16:58:58.837Z] 448f6bf000e3: Pull complete [2022-02-08T16:58:59.437Z] f757da607395: Pull complete [2022-02-08T16:59:00.882Z] 05883995daec: Pull complete [2022-02-08T16:59:01.154Z] 8603b9c90790: Pull complete [2022-02-08T16:59:02.135Z] 1560dd03e051: Pull complete [2022-02-08T16:59:02.135Z] 27f5ce0e4adf: Pull complete [2022-02-08T16:59:17.221Z] c2d8d7efcc4b: Pull complete [2022-02-08T16:59:17.221Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-08T16:59:17.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-08T16:59:17.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-08T16:59:17.619Z] prd-ubuntu18.04-docker-arm64-4c-16g-4842 does not seem to be running inside a container [2022-02-08T16:59:17.747Z] $ 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-08T16:59:19.195Z] $ docker top 35cd6d35aa57f2d2a43cb468a1ad987855c2fe64cbeace904622fe624163c340 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:59:20.129Z] ---> job-cost.sh [2022-02-08T16:59:20.129Z] lf-activate-venv: SKIPPING [2022-02-08T16:59:20.129Z] INFO: No Stack... [2022-02-08T16:59:20.403Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-08T16:59:20.677Z] INFO: Archiving Costs [Pipeline] sh [2022-02-08T16:59:21.353Z] + + cutcat -d, /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv -f6 [2022-02-08T16:59:21.353Z] [Pipeline] lock [2022-02-08T16:59:21.416Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-6-stack-cost] [2022-02-08T16:59:21.422Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-6-stack-cost] did not exist. Created. [2022-02-08T16:59:21.422Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-08T16:59:22.267Z] /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-24707747/script.sh: 1: /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-24707747/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-08T16:59:22.936Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-08T16:59:22.961Z] Warning: overwriting stash ‘stack-cost’ [2022-02-08T16:59:23.365Z] Stashed 1 file(s) [Pipeline] } [2022-02-08T16:59:23.372Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-08T16:59:23.401Z] $ docker stop --time=1 35cd6d35aa57f2d2a43cb468a1ad987855c2fe64cbeace904622fe624163c340 [2022-02-08T16:59:24.900Z] $ docker rm -f 35cd6d35aa57f2d2a43cb468a1ad987855c2fe64cbeace904622fe624163c340 [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-08T16:59:25.672Z] + '[' -d /w/workspace/edgexfoundry_ci-build-images_gcc/archives ']' [2022-02-08T16:59:25.672Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-02-08T16:59:25.672Z] total 4 [2022-02-08T16:59:25.672Z] drwxr-xr-x. 3 root root 34 Feb 8 16:56 . [2022-02-08T16:59:25.672Z] drwxrwxr-x. 4 jenkins jenkins 89 Feb 8 16:56 .. [2022-02-08T16:59:25.672Z] drwxr-xr-x. 2 root root 6 Feb 8 16:56 cost [2022-02-08T16:59:25.672Z] -rw-r--r--. 1 root root 83 Feb 8 16:56 cost.csv [2022-02-08T16:59:25.672Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-02-08T16:59:25.672Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-02-08T16:59:25.672Z] total 4 [2022-02-08T16:59:25.672Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 8 16:56 . [2022-02-08T16:59:25.672Z] drwxrwxr-x. 4 jenkins jenkins 89 Feb 8 16:56 .. [2022-02-08T16:59:25.672Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 8 16:56 cost [2022-02-08T16:59:25.672Z] -rw-r--r--. 1 jenkins jenkins 83 Feb 8 16:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:59:25.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:59:26.549Z] ---> package-listing.sh [2022-02-08T16:59:26.549Z] ++ facter osfamily [2022-02-08T16:59:26.549Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-08T16:59:26.813Z] + OS_FAMILY=redhat [2022-02-08T16:59:26.813Z] + workspace=/w/workspace/edgexfoundry_ci-build-images_gcc [2022-02-08T16:59:26.813Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-08T16:59:26.813Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-08T16:59:26.813Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-08T16:59:26.813Z] + PACKAGES=/tmp/packages_start.txt [2022-02-08T16:59:26.813Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2022-02-08T16:59:26.813Z] + PACKAGES=/tmp/packages_end.txt [2022-02-08T16:59:26.813Z] + case "${OS_FAMILY}" in [2022-02-08T16:59:26.813Z] + sort [2022-02-08T16:59:26.813Z] + rpm -qa [2022-02-08T16:59:27.389Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-08T16:59:27.389Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-08T16:59:27.389Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-08T16:59:27.389Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2022-02-08T16:59:27.389Z] + mkdir -p /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [2022-02-08T16:59:27.389Z] + 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-08T16:59:27.402Z] 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-08T16:59:27.703Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-08T16:59:28.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-08T16:59:28.265Z] . [Pipeline] withDockerContainer [2022-02-08T16:59:28.334Z] prd-centos7-docker-4c-2g-4841 does not seem to be running inside a container [2022-02-08T16:59:28.365Z] $ 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-08T16:59:28.549Z] $ docker top 7bef102ef98d10c253a9c53f5db98016489734eb881cab23d4e4655f40c7e6b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-08T16:59:28.908Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-08T16:59:29.206Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-08T16:59:29.508Z] + ls /var/log/sa-host [2022-02-08T16:59:29.509Z] + sadf -c /var/log/sa-host/sa08 [2022-02-08T16:59:29.509Z] file_magic: OK [2022-02-08T16:59:29.509Z] HZ: Using current value: 100 [2022-02-08T16:59:29.509Z] file_header: OK [2022-02-08T16:59:29.509Z] 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-08T16:59:29.509Z] Statistics: [2022-02-08T16:59:29.509Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-08T16:59:29.509Z] File successfully converted to sysstat format version 12.0.3 [2022-02-08T16:59:29.509Z] + sadf -c /var/log/sa-host/sa17 [2022-02-08T16:59:29.509Z] file_magic: OK [2022-02-08T16:59:29.509Z] HZ: Using current value: 100 [2022-02-08T16:59:29.509Z] file_header: OK [2022-02-08T16:59:29.509Z] 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-08T16:59:29.509Z] Statistics: [2022-02-08T16:59:29.509Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-08T16:59:29.509Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-08T16:59:29.760Z] provisioning config files... [2022-02-08T16:59:29.769Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config536510914007852272tmp [Pipeline] { [Pipeline] echo [2022-02-08T16:59:29.784Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:59:30.069Z] ---> create-netrc.sh [Pipeline] } [2022-02-08T16:59:30.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:59:30.425Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-08T16:59:30.434Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:59:30.723Z] ---> sudo-logs.sh [2022-02-08T16:59:30.723Z] Archiving 'sudo' log.. [2022-02-08T16:59:30.723Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4841.novalocal: Name or service not known [2022-02-08T16:59:30.723Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4841.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-08T16:59:30.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:59:31.053Z] ---> job-cost.sh [2022-02-08T16:59:31.053Z] lf-activate-venv: SKIPPING [2022-02-08T16:59:31.053Z] DEBUG: total: 0.05999999865889549 [2022-02-08T16:59:31.053Z] INFO: Retrieving Stack Cost... [2022-02-08T16:59:31.313Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-08T16:59:31.573Z] INFO: Archiving Costs [Pipeline] echo [2022-02-08T16:59:31.585Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T16:59:31.890Z] ---> logs-deploy.sh [2022-02-08T16:59:31.890Z] lf-activate-venv: SKIPPING [2022-02-08T16:59:31.890Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/gcc/6 [2022-02-08T16:59:31.890Z] INFO: archiving workspace using pattern(s): [2022-02-08T16:59:32.461Z] Archives upload complete. [2022-02-08T16:59:32.721Z] INFO: archiving logs to Nexus