Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 02f2b605e8d179b9aa683026d421aa6d8df6cc7a 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-ssh6214752873018432754.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12733193450189365723.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3372928544357177588.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh13994259015679970095.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10931014868264812908.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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:[13], releaseBranchOverride:gcc] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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: 13 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2183’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2185 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 02f2b605e8d179b9aa683026d421aa6d8df6cc7a (gcc) Commit message: "Merge pull request #194 from ernestojeda/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 02f2b605e8d179b9aa683026d421aa6d8df6cc7a # timeout=10 > git rev-list --no-walk 02f2b605e8d179b9aa683026d421aa6d8df6cc7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-29T22:18:57.104Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-29T22:18:57.156Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-29T22:18:57.170Z] ========================================================= [2022-09-29T22:18:57.170Z] EdgeX Global Pipelines Version Info [2022-09-29T22:18:57.170Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:18:57.889Z] ------------------- [2022-09-29T22:18:57.889Z] stable info: [2022-09-29T22:18:57.889Z] ------------------- [2022-09-29T22:18:57.889Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-29T22:18:57.889Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-29T22:18:57.889Z] Message: update stable to v1.0.239 [2022-09-29T22:18:58.461Z] ------------------- [2022-09-29T22:18:58.461Z] experimental info: [2022-09-29T22:18:58.461Z] ------------------- [2022-09-29T22:18:58.461Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-29T22:18:58.461Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-29T22:18:58.461Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-09-29T22:18:58.651Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-09-29T22:18:58.659Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo [2022-09-29T22:18:58.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-09-29T22:18:58.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-29T22:18:58.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-29T22:18:58.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo [2022-09-29T22:18:58.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-09-29T22:18:58.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-09-29T22:18:58.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-09-29T22:18:58.729Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-29T22:18:58.738Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-09-29T22:18:58.747Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo [2022-09-29T22:18:58.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-29T22:18:58.769Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-29T22:18:58.777Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo [2022-09-29T22:18:58.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 13 [Pipeline] echo [2022-09-29T22:18:58.796Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = gcc [Pipeline] echo [2022-09-29T22:18:58.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = gcc [Pipeline] echo [2022-09-29T22:18:58.812Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = gcc [Pipeline] echo [2022-09-29T22:18:58.820Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02f2b605e8d179b9aa683026d421aa6d8df6cc7a [Pipeline] echo [2022-09-29T22:18:58.832Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02f2b60 [Pipeline] echo [2022-09-29T22:18:58.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T22:18:58.883Z] provisioning config files... [2022-09-29T22:18:58.897Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config8006174930884753654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:18:59.198Z] ---> docker-login.sh [2022-09-29T22:18:59.198Z] nexus3.edgexfoundry.org:10001 [2022-09-29T22:18:59.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:18:59.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:18:59.458Z] Configure a credential helper to remove this warning. See [2022-09-29T22:18:59.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:18:59.458Z] [2022-09-29T22:18:59.458Z] Login Succeeded [2022-09-29T22:18:59.458Z] nexus3.edgexfoundry.org:10002 [2022-09-29T22:18:59.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:18:59.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:18:59.458Z] Configure a credential helper to remove this warning. See [2022-09-29T22:18:59.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:18:59.458Z] [2022-09-29T22:18:59.458Z] Login Succeeded [2022-09-29T22:18:59.458Z] nexus3.edgexfoundry.org:10003 [2022-09-29T22:18:59.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:18:59.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:18:59.716Z] Configure a credential helper to remove this warning. See [2022-09-29T22:18:59.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:18:59.716Z] [2022-09-29T22:18:59.716Z] Login Succeeded [2022-09-29T22:18:59.716Z] nexus3.edgexfoundry.org:10004 [2022-09-29T22:18:59.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:18:59.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:18:59.716Z] Configure a credential helper to remove this warning. See [2022-09-29T22:18:59.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:18:59.716Z] [2022-09-29T22:18:59.716Z] Login Succeeded [2022-09-29T22:18:59.716Z] docker.io [2022-09-29T22:18:59.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:19:00.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:19:00.237Z] Configure a credential helper to remove this warning. See [2022-09-29T22:19:00.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:19:00.237Z] [2022-09-29T22:19:00.237Z] Login Succeeded [2022-09-29T22:19:00.237Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T22:19:00.245Z] 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-09-29T22:19:00.419Z] provisioning config files... [2022-09-29T22:19:00.427Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config13279384703555890861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:19:00.769Z] ---> docker-login.sh [2022-09-29T22:19:00.770Z] nexus3.edgexfoundry.org:10001 [2022-09-29T22:19:00.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:19:00.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:19:00.770Z] Configure a credential helper to remove this warning. See [2022-09-29T22:19:00.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:19:00.770Z] [2022-09-29T22:19:00.770Z] Login Succeeded [2022-09-29T22:19:00.770Z] nexus3.edgexfoundry.org:10002 [2022-09-29T22:19:00.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:19:00.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:19:00.770Z] Configure a credential helper to remove this warning. See [2022-09-29T22:19:00.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:19:00.770Z] [2022-09-29T22:19:00.770Z] Login Succeeded [2022-09-29T22:19:00.770Z] nexus3.edgexfoundry.org:10003 [2022-09-29T22:19:01.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:19:01.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:19:01.036Z] Configure a credential helper to remove this warning. See [2022-09-29T22:19:01.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:19:01.036Z] [2022-09-29T22:19:01.036Z] Login Succeeded [2022-09-29T22:19:01.036Z] nexus3.edgexfoundry.org:10004 [2022-09-29T22:19:01.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:19:01.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:19:01.036Z] Configure a credential helper to remove this warning. See [2022-09-29T22:19:01.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:19:01.036Z] [2022-09-29T22:19:01.036Z] Login Succeeded [2022-09-29T22:19:01.036Z] docker.io [2022-09-29T22:19:01.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:19:01.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:19:01.606Z] Configure a credential helper to remove this warning. See [2022-09-29T22:19:01.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:19:01.606Z] [2022-09-29T22:19:01.606Z] Login Succeeded [2022-09-29T22:19:01.606Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T22:19:01.616Z] 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-09-29T22:19:02.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-29T22:19:02.414Z] + ls -al . [2022-09-29T22:19:02.414Z] total 20 [2022-09-29T22:19:02.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 22:18 . [2022-09-29T22:19:02.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:18 .. [2022-09-29T22:19:02.414Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 22:18 .git [2022-09-29T22:19:02.414Z] -rw-rw-r-- 1 jenkins jenkins 313 Sep 29 22:18 Dockerfile [2022-09-29T22:19:02.414Z] -rw-rw-r-- 1 jenkins jenkins 883 Sep 29 22:18 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:02.753Z] + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=02f2b605e8d179b9aa683026d421aa6d8df6cc7a --label arch=amd64 . [2022-09-29T22:19:02.753Z] Sending build context to Docker daemon 426kB [2022-09-29T22:19:02.753Z] Step 1/5 : FROM alpine:3.15 [2022-09-29T22:19:03.322Z] 3.15: Pulling from library/alpine [2022-09-29T22:19:03.583Z] 9621f1afde84: Pulling fs layer [2022-09-29T22:19:03.847Z] 9621f1afde84: Verifying Checksum [2022-09-29T22:19:03.847Z] 9621f1afde84: Download complete [2022-09-29T22:19:03.847Z] 9621f1afde84: Pull complete [2022-09-29T22:19:03.847Z] Digest: sha256:69463fdff1f025c908939e86d4714b4d5518776954ca627cbeff4c74bcea5b22 [2022-09-29T22:19:03.847Z] Status: Downloaded newer image for alpine:3.15 [2022-09-29T22:19:03.847Z] ---> c4fc93816858 [2022-09-29T22:19:03.847Z] Step 2/5 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-29T22:19:04.107Z] ---> Running in afcafe0347f4 [2022-09-29T22:19:04.371Z] Removing intermediate container afcafe0347f4 [2022-09-29T22:19:04.371Z] ---> 317911a03603 [2022-09-29T22:19:04.371Z] Step 3/5 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev [2022-09-29T22:19:04.371Z] ---> Running in d16e93504f5a [2022-09-29T22:19:04.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-09-29T22:19:04.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-09-29T22:19:04.941Z] (1/63) Installing libgcc (10.3.1_git20211027-r0) [2022-09-29T22:19:05.202Z] (2/63) Installing libstdc++ (10.3.1_git20211027-r0) [2022-09-29T22:19:05.202Z] (3/63) Installing binutils (2.37-r3) [2022-09-29T22:19:05.202Z] (4/63) Installing libmagic (5.41-r0) [2022-09-29T22:19:05.202Z] (5/63) Installing file (5.41-r0) [2022-09-29T22:19:05.202Z] (6/63) Installing libgomp (10.3.1_git20211027-r0) [2022-09-29T22:19:05.202Z] (7/63) Installing libatomic (10.3.1_git20211027-r0) [2022-09-29T22:19:05.202Z] (8/63) Installing libgphobos (10.3.1_git20211027-r0) [2022-09-29T22:19:05.202Z] (9/63) Installing gmp (6.2.1-r1) [2022-09-29T22:19:05.202Z] (10/63) Installing isl22 (0.22-r0) [2022-09-29T22:19:05.202Z] (11/63) Installing mpfr4 (4.1.0-r0) [2022-09-29T22:19:05.202Z] (12/63) Installing mpc1 (1.2.1-r0) [2022-09-29T22:19:05.202Z] (13/63) Installing gcc (10.3.1_git20211027-r0) [2022-09-29T22:19:05.772Z] (14/63) Installing musl-dev (1.2.2-r7) [2022-09-29T22:19:05.772Z] (15/63) Installing libc-dev (0.7.2-r3) [2022-09-29T22:19:05.772Z] (16/63) Installing g++ (10.3.1_git20211027-r0) [2022-09-29T22:19:06.034Z] (17/63) Installing make (4.3-r0) [2022-09-29T22:19:06.034Z] (18/63) Installing fortify-headers (1.1-r1) [2022-09-29T22:19:06.034Z] (19/63) Installing patch (2.7.6-r7) [2022-09-29T22:19:06.034Z] (20/63) Installing build-base (0.5-r3) [2022-09-29T22:19:06.034Z] (21/63) Installing libacl (2.2.53-r0) [2022-09-29T22:19:06.034Z] (22/63) Installing libbz2 (1.0.8-r1) [2022-09-29T22:19:06.295Z] (23/63) Installing expat (2.4.9-r0) [2022-09-29T22:19:06.295Z] (24/63) Installing lz4-libs (1.9.3-r1) [2022-09-29T22:19:06.295Z] (25/63) Installing xz-libs (5.2.5-r1) [2022-09-29T22:19:06.295Z] (26/63) Installing zstd-libs (1.5.0-r0) [2022-09-29T22:19:06.295Z] (27/63) Installing libarchive (3.6.1-r0) [2022-09-29T22:19:06.295Z] (28/63) Installing ca-certificates (20220614-r0) [2022-09-29T22:19:06.295Z] (29/63) Installing brotli-libs (1.0.9-r5) [2022-09-29T22:19:06.295Z] (30/63) Installing nghttp2-libs (1.46.0-r0) [2022-09-29T22:19:06.295Z] (31/63) Installing libcurl (7.80.0-r3) [2022-09-29T22:19:06.295Z] (32/63) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-09-29T22:19:06.295Z] (33/63) Installing ncurses-libs (6.3_p20211120-r1) [2022-09-29T22:19:06.295Z] (34/63) Installing rhash-libs (1.4.2-r2) [2022-09-29T22:19:06.295Z] (35/63) Installing libuv (1.42.0-r0) [2022-09-29T22:19:06.295Z] (36/63) Installing cmake (3.21.3-r0) [2022-09-29T22:19:06.865Z] (37/63) Installing pkgconf (1.8.0-r0) [2022-09-29T22:19:06.865Z] (38/63) Installing openssl-dev (1.1.1q-r0) [2022-09-29T22:19:06.865Z] (39/63) Installing nghttp2-dev (1.46.0-r0) [2022-09-29T22:19:06.865Z] (40/63) Installing zlib-dev (1.2.12-r3) [2022-09-29T22:19:06.865Z] (41/63) Installing brotli-dev (1.0.9-r5) [2022-09-29T22:19:06.865Z] (42/63) Installing curl-dev (7.80.0-r3) [2022-09-29T22:19:06.865Z] (43/63) Installing pcre2 (10.40-r0) [2022-09-29T22:19:06.865Z] (44/63) Installing git (2.34.4-r0) [2022-09-29T22:19:06.865Z] (45/63) Installing nettle (3.7.3-r0) [2022-09-29T22:19:06.865Z] (46/63) Installing libffi (3.4.2-r1) [2022-09-29T22:19:06.865Z] (47/63) Installing p11-kit (0.24.0-r1) [2022-09-29T22:19:06.865Z] (48/63) Installing libtasn1 (4.18.0-r0) [2022-09-29T22:19:06.865Z] (49/63) Installing libunistring (0.9.10-r1) [2022-09-29T22:19:06.865Z] (50/63) Installing gnutls (3.7.1-r1) [2022-09-29T22:19:07.126Z] (51/63) Installing libmicrohttpd (0.9.73-r0) [2022-09-29T22:19:07.126Z] (52/63) Installing gnutls-c++ (3.7.1-r1) [2022-09-29T22:19:07.126Z] (53/63) Installing libgmpxx (6.2.1-r1) [2022-09-29T22:19:07.126Z] (54/63) Installing gmp-dev (6.2.1-r1) [2022-09-29T22:19:07.126Z] (55/63) Installing nettle-dev (3.7.3-r0) [2022-09-29T22:19:07.126Z] (56/63) Installing libtasn1-progs (4.18.0-r0) [2022-09-29T22:19:07.126Z] (57/63) Installing libtasn1-dev (4.18.0-r0) [2022-09-29T22:19:07.126Z] (58/63) Installing p11-kit-dev (0.24.0-r1) [2022-09-29T22:19:07.126Z] (59/63) Installing gnutls-dev (3.7.1-r1) [2022-09-29T22:19:07.126Z] (60/63) Installing libmicrohttpd-dev (0.9.73-r0) [2022-09-29T22:19:07.126Z] (61/63) Installing linux-headers (5.10.41-r0) [2022-09-29T22:19:07.126Z] (62/63) Installing yaml (0.2.5-r0) [2022-09-29T22:19:07.386Z] (63/63) Installing yaml-dev (0.2.5-r0) [2022-09-29T22:19:07.386Z] Executing busybox-1.34.1-r7.trigger [2022-09-29T22:19:07.386Z] Executing ca-certificates-20220614-r0.trigger [2022-09-29T22:19:07.386Z] OK: 281 MiB in 77 packages [2022-09-29T22:19:13.970Z] Removing intermediate container d16e93504f5a [2022-09-29T22:19:13.970Z] ---> 0c7da585ffaa [2022-09-29T22:19:13.970Z] Step 4/5 : LABEL arch=amd64 [2022-09-29T22:19:13.970Z] ---> Running in 662a4f5e207f [2022-09-29T22:19:13.970Z] Removing intermediate container 662a4f5e207f [2022-09-29T22:19:13.970Z] ---> c26f9040fb8c [2022-09-29T22:19:13.970Z] Step 5/5 : LABEL git_sha=02f2b605e8d179b9aa683026d421aa6d8df6cc7a [2022-09-29T22:19:13.970Z] ---> Running in 5cc4d5978e95 [2022-09-29T22:19:13.970Z] Removing intermediate container 5cc4d5978e95 [2022-09-29T22:19:13.970Z] ---> e707ee6a6b38 [2022-09-29T22:19:13.970Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-29T22:19:13.970Z] Successfully built e707ee6a6b38 [2022-09-29T22:19:13.970Z] Successfully tagged edgex-devops/edgex-gcc-base:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-09-29T22:19:14.066Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base with the following tags: [2022-09-29T22:19:14.066Z] 02f2b605e8d179b9aa683026d421aa6d8df6cc7a [2022-09-29T22:19:14.066Z] latest [2022-09-29T22:19:14.066Z] gcc [2022-09-29T22:19:14.066Z] 13 [2022-09-29T22:19:14.066Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:14.380Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:02f2b605e8d179b9aa683026d421aa6d8df6cc7a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:14.698Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:02f2b605e8d179b9aa683026d421aa6d8df6cc7a [2022-09-29T22:19:14.698Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-09-29T22:19:14.698Z] f7412a2e12ec: Preparing [2022-09-29T22:19:14.698Z] 34d5ebaa5410: Preparing [2022-09-29T22:19:15.369Z] Still waiting to schedule task [2022-09-29T22:19:15.370Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-29T22:19:15.634Z] 34d5ebaa5410: Pushed [2022-09-29T22:19:47.751Z] f7412a2e12ec: Pushed [2022-09-29T22:19:47.751Z] 02f2b605e8d179b9aa683026d421aa6d8df6cc7a: digest: sha256:8d089e23d47b820511ff25cb0a5ce749395ad09d16657f852daa1fdd05e548e9 size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:48.060Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:48.358Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-09-29T22:19:48.358Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-09-29T22:19:48.358Z] f7412a2e12ec: Preparing [2022-09-29T22:19:48.358Z] 34d5ebaa5410: Preparing [2022-09-29T22:19:48.358Z] f7412a2e12ec: Layer already exists [2022-09-29T22:19:48.358Z] 34d5ebaa5410: Layer already exists [2022-09-29T22:19:48.358Z] latest: digest: sha256:8d089e23d47b820511ff25cb0a5ce749395ad09d16657f852daa1fdd05e548e9 size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:48.660Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:48.955Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2022-09-29T22:19:48.955Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-09-29T22:19:48.955Z] f7412a2e12ec: Preparing [2022-09-29T22:19:48.955Z] 34d5ebaa5410: Preparing [2022-09-29T22:19:48.955Z] 34d5ebaa5410: Layer already exists [2022-09-29T22:19:48.955Z] f7412a2e12ec: Layer already exists [2022-09-29T22:19:48.955Z] gcc: digest: sha256:8d089e23d47b820511ff25cb0a5ce749395ad09d16657f852daa1fdd05e548e9 size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:49.265Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:49.572Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:13 [2022-09-29T22:19:49.572Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-09-29T22:19:49.572Z] f7412a2e12ec: Preparing [2022-09-29T22:19:49.572Z] 34d5ebaa5410: Preparing [2022-09-29T22:19:49.572Z] 34d5ebaa5410: Layer already exists [2022-09-29T22:19:49.572Z] f7412a2e12ec: Layer already exists [2022-09-29T22:19:49.572Z] 13: digest: sha256:8d089e23d47b820511ff25cb0a5ce749395ad09d16657f852daa1fdd05e548e9 size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-29T22:19:49.611Z] ===================================================== [Pipeline] echo [2022-09-29T22:19:49.621Z] taggedImages: [2022-09-29T22:19:49.621Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:02f2b605e8d179b9aa683026d421aa6d8df6cc7a [2022-09-29T22:19:49.621Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-09-29T22:19:49.621Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2022-09-29T22:19:49.621Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:13 [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] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:49.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T22:19:49.963Z] [2022-09-29T22:19:49.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:19:50.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T22:19:50.252Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-29T22:19:50.252Z] 5eb5b503b376: Pulling fs layer [2022-09-29T22:19:50.252Z] 5c69ac0246d0: Pulling fs layer [2022-09-29T22:19:50.252Z] ec43610c2a17: Pulling fs layer [2022-09-29T22:19:50.252Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-29T22:19:50.252Z] 33b1e0a273af: Pulling fs layer [2022-09-29T22:19:50.252Z] 5d3b04190fa2: Pulling fs layer [2022-09-29T22:19:50.252Z] 2f39f015ded8: Pulling fs layer [2022-09-29T22:19:50.252Z] 5d3b04190fa2: Waiting [2022-09-29T22:19:50.252Z] 2f39f015ded8: Waiting [2022-09-29T22:19:50.252Z] 33b1e0a273af: Waiting [2022-09-29T22:19:50.252Z] 5c69ac0246d0: Verifying Checksum [2022-09-29T22:19:50.252Z] 5c69ac0246d0: Download complete [2022-09-29T22:19:50.252Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-29T22:19:50.252Z] 3a2ae6a8a46f: Download complete [2022-09-29T22:19:50.252Z] 33b1e0a273af: Verifying Checksum [2022-09-29T22:19:50.252Z] 33b1e0a273af: Download complete [2022-09-29T22:19:50.252Z] 5d3b04190fa2: Verifying Checksum [2022-09-29T22:19:50.252Z] 5d3b04190fa2: Download complete [2022-09-29T22:19:50.510Z] ec43610c2a17: Verifying Checksum [2022-09-29T22:19:50.510Z] ec43610c2a17: Download complete [2022-09-29T22:19:50.510Z] 5eb5b503b376: Verifying Checksum [2022-09-29T22:19:50.510Z] 5eb5b503b376: Download complete [2022-09-29T22:19:51.085Z] 2f39f015ded8: Download complete [2022-09-29T22:19:52.017Z] 5eb5b503b376: Pull complete [2022-09-29T22:19:52.017Z] 5c69ac0246d0: Pull complete [2022-09-29T22:19:52.583Z] ec43610c2a17: Pull complete [2022-09-29T22:19:52.583Z] 3a2ae6a8a46f: Pull complete [2022-09-29T22:19:52.840Z] 33b1e0a273af: Pull complete [2022-09-29T22:19:52.840Z] 5d3b04190fa2: Pull complete [2022-09-29T22:19:58.108Z] 2f39f015ded8: Pull complete [2022-09-29T22:19:58.108Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-29T22:19:58.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T22:19:58.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T22:19:58.183Z] prd-ubuntu20.04-docker-8c-8g-2185 does not seem to be running inside a container [2022-09-29T22:19:58.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_ci-build-images_gcc -v /w/workspace/edgexfoundry_ci-build-images_gcc:/w/workspace/edgexfoundry_ci-build-images_gcc:rw,z -v /w/workspace/edgexfoundry_ci-build-images_gcc@tmp:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-29T22:20:01.245Z] $ docker top f53c658183b749bf2b9ec5523f45ff83d68ef6bc3900faed59a2395940ae7701 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:20:01.628Z] ---> job-cost.sh [2022-09-29T22:20:01.628Z] lf-activate-venv: SKIPPING [2022-09-29T22:20:01.628Z] INFO: No Stack... [2022-09-29T22:20:01.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-29T22:20:02.150Z] INFO: Archiving Costs [Pipeline] sh [2022-09-29T22:20:02.436Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2022-09-29T22:20:02.436Z] + cut -d, -f6 [Pipeline] lock [2022-09-29T22:20:02.467Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-13-stack-cost] [2022-09-29T22:20:02.476Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-13-stack-cost] did not exist. Created. [2022-09-29T22:20:02.476Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-29T22:20:02.776Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-29T22:20:02.942Z] Stashed 1 file(s) [Pipeline] } [2022-09-29T22:20:02.948Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-29T22:20:02.967Z] $ docker stop --time=1 f53c658183b749bf2b9ec5523f45ff83d68ef6bc3900faed59a2395940ae7701 [2022-09-29T22:20:04.128Z] $ docker rm -f f53c658183b749bf2b9ec5523f45ff83d68ef6bc3900faed59a2395940ae7701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-29T22:20:43.725Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2186 in /w/workspace/edgexfoundry_ci-build-images_gcc [Pipeline] { [Pipeline] checkout [2022-09-29T22:20:43.756Z] Selected Git installation does not exist. Using Default [2022-09-29T22:20:43.756Z] The recommended git tool is: NONE [2022-09-29T22:20:48.858Z] using credential edgex-jenkins-ssh [2022-09-29T22:20:48.879Z] Cloning the remote Git repository [2022-09-29T22:20:48.919Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2022-09-29T22:20:49.004Z] > git init /w/workspace/edgexfoundry_ci-build-images_gcc # timeout=10 [2022-09-29T22:20:49.152Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-09-29T22:20:49.153Z] > git --version # timeout=10 [2022-09-29T22:20:49.176Z] > git --version # 'git version 2.25.1' [2022-09-29T22:20:49.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-29T22:20:49.225Z] Verifying host key using known hosts file [2022-09-29T22:20:49.417Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-29T22:20:49.429Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-29T22:20:50.994Z] Avoid second fetch [2022-09-29T22:20:50.994Z] Checking out Revision 02f2b605e8d179b9aa683026d421aa6d8df6cc7a (gcc) [2022-09-29T22:20:50.133Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-09-29T22:20:50.153Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-29T22:20:51.000Z] > git config core.sparsecheckout # timeout=10 [2022-09-29T22:20:51.017Z] > git checkout -f 02f2b605e8d179b9aa683026d421aa6d8df6cc7a # timeout=10 [2022-09-29T22:20:51.463Z] Commit message: "Merge pull request #194 from ernestojeda/gcc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-29T22:20:52.289Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-29T22:20:52.289Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-29T22:20:52.289Z] Dload Upload Total Spent Left Speed [2022-09-29T22:20:52.289Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2022-09-29T22:20:52.987Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-29T22:20:53.316Z] + sudo tee /etc/docker/daemon.new+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-29T22:20:53.316Z] [2022-09-29T22:20:53.316Z] { [2022-09-29T22:20:53.316Z] "registry-mirrors": [ [2022-09-29T22:20:53.316Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-29T22:20:53.316Z] ], [2022-09-29T22:20:53.316Z] "bip": "10.250.0.254/24", [2022-09-29T22:20:53.316Z] "hosts": [ [2022-09-29T22:20:53.316Z] "tcp://0.0.0.0:5555", [2022-09-29T22:20:53.316Z] "unix:///var/run/docker.sock" [2022-09-29T22:20:53.316Z] ], [2022-09-29T22:20:53.316Z] "mtu": 1458, [2022-09-29T22:20:53.316Z] "selinux-enabled": true, [2022-09-29T22:20:53.316Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-29T22:20:53.316Z] } [Pipeline] sh [2022-09-29T22:20:53.649Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-29T22:20:53.996Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T22:21:12.262Z] provisioning config files... [2022-09-29T22:21:12.286Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config14733356701721549748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:21:12.635Z] ---> docker-login.sh [2022-09-29T22:21:12.635Z] nexus3.edgexfoundry.org:10001 [2022-09-29T22:21:12.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:21:13.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:21:13.174Z] Configure a credential helper to remove this warning. See [2022-09-29T22:21:13.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:21:13.174Z] [2022-09-29T22:21:13.174Z] Login Succeeded [2022-09-29T22:21:13.174Z] nexus3.edgexfoundry.org:10002 [2022-09-29T22:21:13.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:21:13.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:21:13.446Z] Configure a credential helper to remove this warning. See [2022-09-29T22:21:13.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:21:13.446Z] [2022-09-29T22:21:13.446Z] Login Succeeded [2022-09-29T22:21:13.446Z] nexus3.edgexfoundry.org:10003 [2022-09-29T22:21:13.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:21:13.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:21:13.987Z] Configure a credential helper to remove this warning. See [2022-09-29T22:21:13.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:21:13.987Z] [2022-09-29T22:21:13.987Z] Login Succeeded [2022-09-29T22:21:13.987Z] nexus3.edgexfoundry.org:10004 [2022-09-29T22:21:14.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:21:14.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:21:14.257Z] Configure a credential helper to remove this warning. See [2022-09-29T22:21:14.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:21:14.257Z] [2022-09-29T22:21:14.257Z] Login Succeeded [2022-09-29T22:21:14.257Z] docker.io [2022-09-29T22:21:14.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:21:14.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:21:14.795Z] Configure a credential helper to remove this warning. See [2022-09-29T22:21:14.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:21:14.795Z] [2022-09-29T22:21:14.795Z] Login Succeeded [2022-09-29T22:21:14.795Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T22:21:14.809Z] 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-09-29T22:21:15.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-29T22:21:15.504Z] + ls -al . [2022-09-29T22:21:15.504Z] total 20 [2022-09-29T22:21:15.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 22:20 . [2022-09-29T22:21:15.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:20 .. [2022-09-29T22:21:15.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 22:20 .git [2022-09-29T22:21:15.504Z] -rw-rw-r-- 1 jenkins jenkins 313 Sep 29 22:20 Dockerfile [2022-09-29T22:21:15.504Z] -rw-rw-r-- 1 jenkins jenkins 883 Sep 29 22:20 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:21:15.848Z] + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=02f2b605e8d179b9aa683026d421aa6d8df6cc7a --label arch=arm64 . [2022-09-29T22:21:16.114Z] Sending build context to Docker daemon 426kB [2022-09-29T22:21:16.114Z] Step 1/5 : FROM alpine:3.15 [2022-09-29T22:21:16.707Z] 3.15: Pulling from library/alpine [2022-09-29T22:21:16.976Z] 47517142f6ba: Pulling fs layer [2022-09-29T22:21:17.244Z] 47517142f6ba: Verifying Checksum [2022-09-29T22:21:17.244Z] 47517142f6ba: Download complete [2022-09-29T22:21:17.514Z] 47517142f6ba: Pull complete [2022-09-29T22:21:17.514Z] Digest: sha256:69463fdff1f025c908939e86d4714b4d5518776954ca627cbeff4c74bcea5b22 [2022-09-29T22:21:17.514Z] Status: Downloaded newer image for alpine:3.15 [2022-09-29T22:21:17.514Z] ---> 02e0d6fdf486 [2022-09-29T22:21:17.514Z] Step 2/5 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-29T22:21:17.790Z] ---> Running in 4fab45b194ab [2022-09-29T22:21:18.065Z] Removing intermediate container 4fab45b194ab [2022-09-29T22:21:18.065Z] ---> 92749992bf64 [2022-09-29T22:21:18.065Z] Step 3/5 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev [2022-09-29T22:21:18.065Z] ---> Running in 5eb225f73317 [2022-09-29T22:21:19.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-09-29T22:21:19.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-09-29T22:21:20.948Z] (1/63) Installing libgcc (10.3.1_git20211027-r0) [2022-09-29T22:21:20.948Z] (2/63) Installing libstdc++ (10.3.1_git20211027-r0) [2022-09-29T22:21:20.948Z] (3/63) Installing binutils (2.37-r3) [2022-09-29T22:21:21.218Z] (4/63) Installing libmagic (5.41-r0) [2022-09-29T22:21:21.218Z] (5/63) Installing file (5.41-r0) [2022-09-29T22:21:21.218Z] (6/63) Installing libgomp (10.3.1_git20211027-r0) [2022-09-29T22:21:21.218Z] (7/63) Installing libatomic (10.3.1_git20211027-r0) [2022-09-29T22:21:21.218Z] (8/63) Installing libgphobos (10.3.1_git20211027-r0) [2022-09-29T22:21:21.486Z] (9/63) Installing gmp (6.2.1-r1) [2022-09-29T22:21:21.486Z] (10/63) Installing isl22 (0.22-r0) [2022-09-29T22:21:21.486Z] (11/63) Installing mpfr4 (4.1.0-r0) [2022-09-29T22:21:21.486Z] (12/63) Installing mpc1 (1.2.1-r0) [2022-09-29T22:21:21.486Z] (13/63) Installing gcc (10.3.1_git20211027-r0) [2022-09-29T22:21:23.435Z] (14/63) Installing musl-dev (1.2.2-r7) [2022-09-29T22:21:23.435Z] (15/63) Installing libc-dev (0.7.2-r3) [2022-09-29T22:21:23.435Z] (16/63) Installing g++ (10.3.1_git20211027-r0) [2022-09-29T22:21:25.383Z] (17/63) Installing make (4.3-r0) [2022-09-29T22:21:25.383Z] (18/63) Installing fortify-headers (1.1-r1) [2022-09-29T22:21:25.383Z] (19/63) Installing patch (2.7.6-r7) [2022-09-29T22:21:25.383Z] (20/63) Installing build-base (0.5-r3) [2022-09-29T22:21:25.383Z] (21/63) Installing libacl (2.2.53-r0) [2022-09-29T22:21:25.383Z] (22/63) Installing libbz2 (1.0.8-r1) [2022-09-29T22:21:25.383Z] (23/63) Installing expat (2.4.9-r0) [2022-09-29T22:21:25.383Z] (24/63) Installing lz4-libs (1.9.3-r1) [2022-09-29T22:21:25.383Z] (25/63) Installing xz-libs (5.2.5-r1) [2022-09-29T22:21:25.383Z] (26/63) Installing zstd-libs (1.5.0-r0) [2022-09-29T22:21:25.383Z] (27/63) Installing libarchive (3.6.1-r0) [2022-09-29T22:21:25.383Z] (28/63) Installing ca-certificates (20220614-r0) [2022-09-29T22:21:25.383Z] (29/63) Installing brotli-libs (1.0.9-r5) [2022-09-29T22:21:25.383Z] (30/63) Installing nghttp2-libs (1.46.0-r0) [2022-09-29T22:21:25.383Z] (31/63) Installing libcurl (7.80.0-r3) [2022-09-29T22:21:25.383Z] (32/63) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-09-29T22:21:25.383Z] (33/63) Installing ncurses-libs (6.3_p20211120-r1) [2022-09-29T22:21:25.383Z] (34/63) Installing rhash-libs (1.4.2-r2) [2022-09-29T22:21:25.383Z] (35/63) Installing libuv (1.42.0-r0) [2022-09-29T22:21:25.383Z] (36/63) Installing cmake (3.21.3-r0) [2022-09-29T22:21:27.336Z] (37/63) Installing pkgconf (1.8.0-r0) [2022-09-29T22:21:27.336Z] (38/63) Installing openssl-dev (1.1.1q-r0) [2022-09-29T22:21:27.609Z] (39/63) Installing nghttp2-dev (1.46.0-r0) [2022-09-29T22:21:27.609Z] (40/63) Installing zlib-dev (1.2.12-r3) [2022-09-29T22:21:27.609Z] (41/63) Installing brotli-dev (1.0.9-r5) [2022-09-29T22:21:27.609Z] (42/63) Installing curl-dev (7.80.0-r3) [2022-09-29T22:21:27.609Z] (43/63) Installing pcre2 (10.40-r0) [2022-09-29T22:21:27.609Z] (44/63) Installing git (2.34.4-r0) [2022-09-29T22:21:27.877Z] (45/63) Installing nettle (3.7.3-r0) [2022-09-29T22:21:27.877Z] (46/63) Installing libffi (3.4.2-r1) [2022-09-29T22:21:27.877Z] (47/63) Installing p11-kit (0.24.0-r1) [2022-09-29T22:21:27.877Z] (48/63) Installing libtasn1 (4.18.0-r0) [2022-09-29T22:21:27.877Z] (49/63) Installing libunistring (0.9.10-r1) [2022-09-29T22:21:28.143Z] (50/63) Installing gnutls (3.7.1-r1) [2022-09-29T22:21:28.143Z] (51/63) Installing libmicrohttpd (0.9.73-r0) [2022-09-29T22:21:28.143Z] (52/63) Installing gnutls-c++ (3.7.1-r1) [2022-09-29T22:21:28.143Z] (53/63) Installing libgmpxx (6.2.1-r1) [2022-09-29T22:21:28.143Z] (54/63) Installing gmp-dev (6.2.1-r1) [2022-09-29T22:21:28.143Z] (55/63) Installing nettle-dev (3.7.3-r0) [2022-09-29T22:21:28.143Z] (56/63) Installing libtasn1-progs (4.18.0-r0) [2022-09-29T22:21:28.143Z] (57/63) Installing libtasn1-dev (4.18.0-r0) [2022-09-29T22:21:28.143Z] (58/63) Installing p11-kit-dev (0.24.0-r1) [2022-09-29T22:21:28.143Z] (59/63) Installing gnutls-dev (3.7.1-r1) [2022-09-29T22:21:28.410Z] (60/63) Installing libmicrohttpd-dev (0.9.73-r0) [2022-09-29T22:21:28.410Z] (61/63) Installing linux-headers (5.10.41-r0) [2022-09-29T22:21:28.677Z] (62/63) Installing yaml (0.2.5-r0) [2022-09-29T22:21:28.678Z] (63/63) Installing yaml-dev (0.2.5-r0) [2022-09-29T22:21:28.678Z] Executing busybox-1.34.1-r7.trigger [2022-09-29T22:21:28.948Z] Executing ca-certificates-20220614-r0.trigger [2022-09-29T22:21:28.948Z] OK: 277 MiB in 77 packages [2022-09-29T22:21:41.286Z] Removing intermediate container 5eb225f73317 [2022-09-29T22:21:41.286Z] ---> eb7f47c88069 [2022-09-29T22:21:41.286Z] Step 4/5 : LABEL arch=arm64 [2022-09-29T22:21:41.286Z] ---> Running in 5299b5ea3f69 [2022-09-29T22:21:41.286Z] Removing intermediate container 5299b5ea3f69 [2022-09-29T22:21:41.286Z] ---> a81283d031aa [2022-09-29T22:21:41.286Z] Step 5/5 : LABEL git_sha=02f2b605e8d179b9aa683026d421aa6d8df6cc7a [2022-09-29T22:21:41.286Z] ---> Running in 1757b2f8cbf0 [2022-09-29T22:21:41.286Z] Removing intermediate container 1757b2f8cbf0 [2022-09-29T22:21:41.286Z] ---> f192a6432ac9 [2022-09-29T22:21:41.286Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-29T22:21:41.286Z] Successfully built f192a6432ac9 [2022-09-29T22:21:41.286Z] Successfully tagged edgex-devops/edgex-gcc-base-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-09-29T22:21:41.383Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base-arm64 with the following tags: [2022-09-29T22:21:41.383Z] 02f2b605e8d179b9aa683026d421aa6d8df6cc7a [2022-09-29T22:21:41.383Z] latest [2022-09-29T22:21:41.383Z] gcc [2022-09-29T22:21:41.383Z] 13 [2022-09-29T22:21:41.383Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:21:41.728Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:02f2b605e8d179b9aa683026d421aa6d8df6cc7a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:21:42.069Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:02f2b605e8d179b9aa683026d421aa6d8df6cc7a [2022-09-29T22:21:42.069Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-09-29T22:21:42.069Z] 8e36c1d3ef36: Preparing [2022-09-29T22:21:42.069Z] 9833f26c6bda: Preparing [2022-09-29T22:21:43.498Z] 9833f26c6bda: Pushed [2022-09-29T22:22:40.037Z] 8e36c1d3ef36: Pushed [2022-09-29T22:22:40.037Z] 02f2b605e8d179b9aa683026d421aa6d8df6cc7a: digest: sha256:b4797a0decde543329611e793e2fe00c37f71866d083e0bae715a887fd9e8dbb size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:22:40.383Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:22:40.725Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-09-29T22:22:40.725Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-09-29T22:22:40.725Z] 8e36c1d3ef36: Preparing [2022-09-29T22:22:40.725Z] 9833f26c6bda: Preparing [2022-09-29T22:22:40.725Z] 8e36c1d3ef36: Layer already exists [2022-09-29T22:22:40.725Z] 9833f26c6bda: Layer already exists [2022-09-29T22:22:40.725Z] latest: digest: sha256:b4797a0decde543329611e793e2fe00c37f71866d083e0bae715a887fd9e8dbb size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:22:41.071Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:22:41.406Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2022-09-29T22:22:41.406Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-09-29T22:22:41.406Z] 8e36c1d3ef36: Preparing [2022-09-29T22:22:41.406Z] 9833f26c6bda: Preparing [2022-09-29T22:22:41.406Z] 9833f26c6bda: Layer already exists [2022-09-29T22:22:41.406Z] 8e36c1d3ef36: Layer already exists [2022-09-29T22:22:41.406Z] gcc: digest: sha256:b4797a0decde543329611e793e2fe00c37f71866d083e0bae715a887fd9e8dbb size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:22:42.007Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:22:42.343Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:13 [2022-09-29T22:22:42.343Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-09-29T22:22:42.343Z] 8e36c1d3ef36: Preparing [2022-09-29T22:22:42.343Z] 9833f26c6bda: Preparing [2022-09-29T22:22:42.343Z] 8e36c1d3ef36: Layer already exists [2022-09-29T22:22:42.343Z] 9833f26c6bda: Layer already exists [2022-09-29T22:22:42.343Z] 13: digest: sha256:b4797a0decde543329611e793e2fe00c37f71866d083e0bae715a887fd9e8dbb size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-29T22:22:42.648Z] ===================================================== [Pipeline] echo [2022-09-29T22:22:42.654Z] taggedImages: [2022-09-29T22:22:42.654Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:02f2b605e8d179b9aa683026d421aa6d8df6cc7a [2022-09-29T22:22:42.654Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-09-29T22:22:42.654Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2022-09-29T22:22:42.654Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:13 [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] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:22:43.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T22:22:43.028Z] [2022-09-29T22:22:43.028Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:22:43.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T22:22:43.362Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-29T22:22:43.362Z] 8998bd30e6a1: Pulling fs layer [2022-09-29T22:22:43.362Z] 04944245beec: Pulling fs layer [2022-09-29T22:22:43.362Z] 699f458cf7ca: Pulling fs layer [2022-09-29T22:22:43.362Z] 765212b225bb: Pulling fs layer [2022-09-29T22:22:43.362Z] f23df028b6ca: Pulling fs layer [2022-09-29T22:22:43.362Z] d65c8cfc05b1: Pulling fs layer [2022-09-29T22:22:43.362Z] 2437ff75d9bd: Pulling fs layer [2022-09-29T22:22:43.362Z] 765212b225bb: Waiting [2022-09-29T22:22:43.362Z] f23df028b6ca: Waiting [2022-09-29T22:22:43.362Z] d65c8cfc05b1: Waiting [2022-09-29T22:22:43.362Z] 2437ff75d9bd: Waiting [2022-09-29T22:22:43.630Z] 04944245beec: Verifying Checksum [2022-09-29T22:22:43.630Z] 04944245beec: Download complete [2022-09-29T22:22:43.630Z] 765212b225bb: Verifying Checksum [2022-09-29T22:22:43.630Z] 765212b225bb: Download complete [2022-09-29T22:22:43.630Z] f23df028b6ca: Verifying Checksum [2022-09-29T22:22:43.630Z] f23df028b6ca: Download complete [2022-09-29T22:22:43.630Z] d65c8cfc05b1: Verifying Checksum [2022-09-29T22:22:43.630Z] d65c8cfc05b1: Download complete [2022-09-29T22:22:43.630Z] 699f458cf7ca: Verifying Checksum [2022-09-29T22:22:43.630Z] 699f458cf7ca: Download complete [2022-09-29T22:22:44.215Z] 8998bd30e6a1: Download complete [2022-09-29T22:22:46.179Z] 2437ff75d9bd: Verifying Checksum [2022-09-29T22:22:46.179Z] 2437ff75d9bd: Download complete [2022-09-29T22:22:48.126Z] 8998bd30e6a1: Pull complete [2022-09-29T22:22:48.708Z] 04944245beec: Pull complete [2022-09-29T22:22:50.123Z] 699f458cf7ca: Pull complete [2022-09-29T22:22:50.123Z] 765212b225bb: Pull complete [2022-09-29T22:22:50.731Z] f23df028b6ca: Pull complete [2022-09-29T22:22:50.999Z] d65c8cfc05b1: Pull complete [2022-09-29T22:23:06.017Z] 2437ff75d9bd: Pull complete [2022-09-29T22:23:06.017Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-29T22:23:06.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T22:23:06.017Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T22:23:06.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-2186 does not seem to be running inside a container [2022-09-29T22:23:06.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_ci-build-images_gcc -v /w/workspace/edgexfoundry_ci-build-images_gcc:/w/workspace/edgexfoundry_ci-build-images_gcc:rw,z -v /w/workspace/edgexfoundry_ci-build-images_gcc@tmp:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-29T22:23:08.531Z] $ docker top 4b051742850dc7ef3cedb8389c19b9ee0676a9b327410013b50bcba92c6d23d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:23:09.039Z] ---> job-cost.sh [2022-09-29T22:23:09.306Z] lf-activate-venv: SKIPPING [2022-09-29T22:23:09.306Z] INFO: No Stack... [2022-09-29T22:23:09.570Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-29T22:23:10.525Z] INFO: Archiving Costs [Pipeline] sh [2022-09-29T22:23:11.158Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2022-09-29T22:23:11.158Z] + cut -d, -f6 [Pipeline] lock [2022-09-29T22:23:11.216Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-13-stack-cost] [2022-09-29T22:23:11.225Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-13-stack-cost] did not exist. Created. [2022-09-29T22:23:11.226Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-29T22:23:11.649Z] /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-aea7c7f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-29T22:23:12.310Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-29T22:23:12.329Z] Warning: overwriting stash ‘stack-cost’ [2022-09-29T22:23:12.672Z] Stashed 1 file(s) [Pipeline] } [2022-09-29T22:23:12.678Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-29T22:23:12.695Z] $ docker stop --time=1 4b051742850dc7ef3cedb8389c19b9ee0676a9b327410013b50bcba92c6d23d5 [2022-09-29T22:23:14.175Z] $ docker rm -f 4b051742850dc7ef3cedb8389c19b9ee0676a9b327410013b50bcba92c6d23d5 [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-09-29T22:23:14.786Z] + [ -d /w/workspace/edgexfoundry_ci-build-images_gcc/archives ] [2022-09-29T22:23:14.786Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-09-29T22:23:14.786Z] total 16 [2022-09-29T22:23:14.786Z] drwxr-xr-x 3 root root 4096 Sep 29 22:20 . [2022-09-29T22:23:14.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:20 .. [2022-09-29T22:23:14.786Z] drwxr-xr-x 2 root root 4096 Sep 29 22:20 cost [2022-09-29T22:23:14.786Z] -rw-r--r-- 1 root root 85 Sep 29 22:20 cost.csv [2022-09-29T22:23:14.786Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-09-29T22:23:14.786Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-09-29T22:23:14.786Z] total 16 [2022-09-29T22:23:14.786Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 22:20 . [2022-09-29T22:23:14.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:20 .. [2022-09-29T22:23:14.786Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 22:20 cost [2022-09-29T22:23:14.786Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 29 22:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:23:15.076Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:23:15.936Z] ---> package-listing.sh [2022-09-29T22:23:15.936Z] ++ facter osfamily [2022-09-29T22:23:15.936Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-29T22:23:16.195Z] + OS_FAMILY=debian [2022-09-29T22:23:16.195Z] + workspace=/w/workspace/edgexfoundry_ci-build-images_gcc [2022-09-29T22:23:16.195Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-29T22:23:16.195Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-29T22:23:16.195Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-29T22:23:16.195Z] + PACKAGES=/tmp/packages_start.txt [2022-09-29T22:23:16.195Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2022-09-29T22:23:16.195Z] + PACKAGES=/tmp/packages_end.txt [2022-09-29T22:23:16.195Z] + case "${OS_FAMILY}" in [2022-09-29T22:23:16.195Z] + dpkg -l [2022-09-29T22:23:16.195Z] + grep '^ii' [2022-09-29T22:23:16.195Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-29T22:23:16.195Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-29T22:23:16.195Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-29T22:23:16.195Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2022-09-29T22:23:16.195Z] + mkdir -p /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [2022-09-29T22:23:16.195Z] + 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-09-29T22:23:16.205Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-09-29T22:23:16.484Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:23:17.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T22:23:17.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T22:23:17.105Z] prd-ubuntu20.04-docker-8c-8g-2185 does not seem to be running inside a container [2022-09-29T22:23:17.143Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-09-29T22:23:17.372Z] $ docker top 4b2fb03d80296808df5a5bc6b71804a048d2b819bad59dc06ea2dbb299194e0f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T22:23:17.700Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-29T22:23:17.987Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-29T22:23:18.273Z] + ls /var/log/sa-host [2022-09-29T22:23:18.273Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T22:23:18.331Z] provisioning config files... [2022-09-29T22:23:18.340Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config5788310884960269422tmp [Pipeline] { [Pipeline] echo [2022-09-29T22:23:18.353Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:23:18.635Z] ---> create-netrc.sh [Pipeline] } [2022-09-29T22:23:18.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:23:18.959Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-29T22:23:18.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:23:19.250Z] ---> sudo-logs.sh [2022-09-29T22:23:19.250Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-29T22:23:19.290Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:23:19.575Z] ---> job-cost.sh [2022-09-29T22:23:19.576Z] lf-activate-venv: SKIPPING [2022-09-29T22:23:19.576Z] DEBUG: total: 0.2199999988079071 [2022-09-29T22:23:19.576Z] INFO: Retrieving Stack Cost... [2022-09-29T22:23:20.145Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-29T22:23:20.404Z] INFO: Archiving Costs [Pipeline] echo [2022-09-29T22:23:20.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:23:20.698Z] ---> logs-deploy.sh [2022-09-29T22:23:20.698Z] lf-activate-venv: SKIPPING [2022-09-29T22:23:20.698Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/gcc/13 [2022-09-29T22:23:20.698Z] INFO: archiving workspace using pattern(s): [2022-09-29T22:23:21.634Z] Archives upload complete. [2022-09-29T22:23:21.634Z] INFO: archiving logs to Nexus