Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5bb947235c942ea89325bcb808105ce2e51ba820 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7874036899582229191.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh17649993224366866359.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13800679909826217835.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh1770819604177852148.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh9584181444730886324.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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:[8], 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: 8 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10978 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Avoid second fetch Checking out Revision 5bb947235c942ea89325bcb808105ce2e51ba820 (gcc) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bb947235c942ea89325bcb808105ce2e51ba820 # timeout=10 Commit message: "Merge pull request #186 from ernestojeda/gcc" > git rev-list --no-walk 5bb947235c942ea89325bcb808105ce2e51ba820 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T19:58:31.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T19:58:31.872Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T19:58:31.885Z] ========================================================= [2022-04-06T19:58:31.885Z] EdgeX Global Pipelines Version Info [2022-04-06T19:58:31.885Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:58:32.638Z] ------------------- [2022-04-06T19:58:32.638Z] stable info: [2022-04-06T19:58:32.638Z] ------------------- [2022-04-06T19:58:32.639Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T19:58:32.639Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T19:58:32.639Z] Message: update stable to v1.0.221 [2022-04-06T19:58:33.215Z] ------------------- [2022-04-06T19:58:33.215Z] experimental info: [2022-04-06T19:58:33.215Z] ------------------- [2022-04-06T19:58:33.215Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T19:58:33.215Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T19:58:33.215Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-04-06T19:58:33.356Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-04-06T19:58:33.364Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo [2022-04-06T19:58:33.372Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-04-06T19:58:33.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T19:58:33.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T19:58:33.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo [2022-04-06T19:58:33.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-04-06T19:58:33.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-04-06T19:58:33.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-04-06T19:58:33.435Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T19:58:33.448Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-04-06T19:58:33.456Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo [2022-04-06T19:58:33.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T19:58:33.474Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T19:58:33.483Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo [2022-04-06T19:58:33.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 8 [Pipeline] echo [2022-04-06T19:58:33.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = gcc [Pipeline] echo [2022-04-06T19:58:33.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = gcc [Pipeline] echo [2022-04-06T19:58:33.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = gcc [Pipeline] echo [2022-04-06T19:58:33.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bb947235c942ea89325bcb808105ce2e51ba820 [Pipeline] echo [2022-04-06T19:58:33.549Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bb9472 [Pipeline] echo [2022-04-06T19:58:33.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T19:58:33.596Z] provisioning config files... [2022-04-06T19:58:33.611Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config8418630394474380733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:58:33.946Z] ---> docker-login.sh [2022-04-06T19:58:33.946Z] nexus3.edgexfoundry.org:10001 [2022-04-06T19:58:34.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:34.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:34.207Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:34.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:34.207Z] [2022-04-06T19:58:34.207Z] Login Succeeded [2022-04-06T19:58:34.207Z] nexus3.edgexfoundry.org:10002 [2022-04-06T19:58:34.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:34.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:34.474Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:34.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:34.474Z] [2022-04-06T19:58:34.474Z] Login Succeeded [2022-04-06T19:58:34.474Z] nexus3.edgexfoundry.org:10003 [2022-04-06T19:58:34.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:34.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:34.474Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:34.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:34.474Z] [2022-04-06T19:58:34.474Z] Login Succeeded [2022-04-06T19:58:34.474Z] nexus3.edgexfoundry.org:10004 [2022-04-06T19:58:34.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:34.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:34.735Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:34.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:34.735Z] [2022-04-06T19:58:34.735Z] Login Succeeded [2022-04-06T19:58:34.735Z] docker.io [2022-04-06T19:58:34.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:35.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:35.311Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:35.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:35.311Z] [2022-04-06T19:58:35.311Z] Login Succeeded [2022-04-06T19:58:35.311Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T19:58:35.320Z] 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-04-06T19:58:35.524Z] provisioning config files... [2022-04-06T19:58:35.536Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config9115728431291029882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:58:35.852Z] ---> docker-login.sh [2022-04-06T19:58:35.852Z] nexus3.edgexfoundry.org:10001 [2022-04-06T19:58:35.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:35.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:35.852Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:35.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:35.852Z] [2022-04-06T19:58:35.852Z] Login Succeeded [2022-04-06T19:58:35.852Z] nexus3.edgexfoundry.org:10002 [2022-04-06T19:58:35.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:36.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:36.113Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:36.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:36.113Z] [2022-04-06T19:58:36.113Z] Login Succeeded [2022-04-06T19:58:36.113Z] nexus3.edgexfoundry.org:10003 [2022-04-06T19:58:36.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:36.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:36.113Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:36.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:36.113Z] [2022-04-06T19:58:36.113Z] Login Succeeded [2022-04-06T19:58:36.113Z] nexus3.edgexfoundry.org:10004 [2022-04-06T19:58:36.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:36.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:36.375Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:36.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:36.375Z] [2022-04-06T19:58:36.375Z] Login Succeeded [2022-04-06T19:58:36.375Z] docker.io [2022-04-06T19:58:36.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:58:36.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:58:36.637Z] Configure a credential helper to remove this warning. See [2022-04-06T19:58:36.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:58:36.637Z] [2022-04-06T19:58:36.637Z] Login Succeeded [2022-04-06T19:58:36.638Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T19:58:36.652Z] 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-04-06T19:58:37.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T19:58:38.190Z] + ls -al . [2022-04-06T19:58:38.190Z] total 20 [2022-04-06T19:58:38.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 19:58 . [2022-04-06T19:58:38.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:58 .. [2022-04-06T19:58:38.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 19:58 .git [2022-04-06T19:58:38.190Z] -rw-rw-r-- 1 jenkins jenkins 401 Apr 6 19:58 Dockerfile [2022-04-06T19:58:38.190Z] -rw-rw-r-- 1 jenkins jenkins 883 Apr 6 19:58 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:58:38.545Z] + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=5bb947235c942ea89325bcb808105ce2e51ba820 --label arch=amd64 . [2022-04-06T19:58:38.546Z] Sending build context to Docker daemon 410.6kB [2022-04-06T19:58:38.546Z] Step 1/6 : FROM alpine:3.15 [2022-04-06T19:58:39.120Z] 3.15: Pulling from library/alpine [2022-04-06T19:58:39.120Z] df9b9388f04a: Pulling fs layer [2022-04-06T19:58:39.381Z] df9b9388f04a: Verifying Checksum [2022-04-06T19:58:39.381Z] df9b9388f04a: Download complete [2022-04-06T19:58:39.642Z] df9b9388f04a: Pull complete [2022-04-06T19:58:39.642Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-06T19:58:39.642Z] Status: Downloaded newer image for alpine:3.15 [2022-04-06T19:58:39.642Z] ---> 0ac33e5f5afa [2022-04-06T19:58:39.642Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-06T19:58:39.904Z] ---> Running in e8b098889748 [2022-04-06T19:58:39.904Z] Removing intermediate container e8b098889748 [2022-04-06T19:58:39.904Z] ---> 7fb65a5a9a68 [2022-04-06T19:58:39.904Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T19:58:39.904Z] ---> Running in 93af85c7ce59 [2022-04-06T19:58:40.848Z] Removing intermediate container 93af85c7ce59 [2022-04-06T19:58:40.848Z] ---> 6a66456ac614 [2022-04-06T19:58:40.848Z] Step 4/6 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev [2022-04-06T19:58:40.848Z] ---> Running in 480fa532d2a3 [2022-04-06T19:58:41.110Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T19:58:42.059Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T19:58:42.059Z] (1/63) Installing libgcc (10.3.1_git20211027-r0) [2022-04-06T19:58:42.323Z] (2/63) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-06T19:58:42.323Z] (3/63) Installing binutils (2.37-r3) [2022-04-06T19:58:42.585Z] (4/63) Installing libmagic (5.41-r0) [2022-04-06T19:58:42.585Z] (5/63) Installing file (5.41-r0) [2022-04-06T19:58:42.848Z] (6/63) Installing libgomp (10.3.1_git20211027-r0) [2022-04-06T19:58:42.848Z] (7/63) Installing libatomic (10.3.1_git20211027-r0) [2022-04-06T19:58:42.848Z] (8/63) Installing libgphobos (10.3.1_git20211027-r0) [2022-04-06T19:58:43.111Z] (9/63) Installing gmp (6.2.1-r1) [2022-04-06T19:58:43.111Z] (10/63) Installing isl22 (0.22-r0) [2022-04-06T19:58:43.374Z] (11/63) Installing mpfr4 (4.1.0-r0) [2022-04-06T19:58:44.773Z] (12/63) Installing mpc1 (1.2.1-r0) [2022-04-06T19:58:44.773Z] (13/63) Installing gcc (10.3.1_git20211027-r0) [2022-04-06T19:58:46.167Z] (14/63) Installing musl-dev (1.2.2-r7) [2022-04-06T19:58:46.428Z] (15/63) Installing libc-dev (0.7.2-r3) [2022-04-06T19:58:46.428Z] (16/63) Installing g++ (10.3.1_git20211027-r0) [2022-04-06T19:58:47.374Z] (17/63) Installing make (4.3-r0) [2022-04-06T19:58:47.374Z] (18/63) Installing fortify-headers (1.1-r1) [2022-04-06T19:58:47.374Z] (19/63) Installing patch (2.7.6-r7) [2022-04-06T19:58:47.374Z] (20/63) Installing build-base (0.5-r2) [2022-04-06T19:58:47.648Z] (21/63) Installing libacl (2.2.53-r0) [2022-04-06T19:58:47.648Z] (22/63) Installing libbz2 (1.0.8-r1) [2022-04-06T19:58:47.648Z] (23/63) Installing expat (2.4.7-r0) [2022-04-06T19:58:47.910Z] (24/63) Installing lz4-libs (1.9.3-r1) [2022-04-06T19:58:47.910Z] (25/63) Installing xz-libs (5.2.5-r0) [2022-04-06T19:58:47.910Z] (26/63) Installing zstd-libs (1.5.0-r0) [2022-04-06T19:58:48.173Z] (27/63) Installing libarchive (3.6.0-r0) [2022-04-06T19:58:48.173Z] (28/63) Installing ca-certificates (20211220-r0) [2022-04-06T19:58:48.435Z] (29/63) Installing brotli-libs (1.0.9-r5) [2022-04-06T19:58:48.435Z] (30/63) Installing nghttp2-libs (1.46.0-r0) [2022-04-06T19:58:48.435Z] (31/63) Installing libcurl (7.80.0-r0) [2022-04-06T19:58:48.697Z] (32/63) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-04-06T19:58:48.697Z] (33/63) Installing ncurses-libs (6.3_p20211120-r0) [2022-04-06T19:58:48.697Z] (34/63) Installing rhash-libs (1.4.2-r2) [2022-04-06T19:58:48.958Z] (35/63) Installing libuv (1.42.0-r0) [2022-04-06T19:58:48.958Z] (36/63) Installing cmake (3.21.3-r0) [2022-04-06T19:58:49.900Z] (37/63) Installing pkgconf (1.8.0-r0) [2022-04-06T19:58:50.160Z] (38/63) Installing openssl-dev (1.1.1n-r0) [2022-04-06T19:58:50.160Z] (39/63) Installing nghttp2-dev (1.46.0-r0) [2022-04-06T19:58:50.160Z] (40/63) Installing zlib-dev (1.2.12-r0) [2022-04-06T19:58:50.420Z] (41/63) Installing brotli-dev (1.0.9-r5) [2022-04-06T19:58:50.420Z] (42/63) Installing curl-dev (7.80.0-r0) [2022-04-06T19:58:50.420Z] (43/63) Installing pcre2 (10.39-r0) [2022-04-06T19:58:50.477Z] Still waiting to schedule task [2022-04-06T19:58:50.477Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-06T19:58:50.683Z] (44/63) Installing git (2.34.1-r0) [2022-04-06T19:58:50.947Z] (45/63) Installing nettle (3.7.3-r0) [2022-04-06T19:58:51.209Z] (46/63) Installing libffi (3.4.2-r1) [2022-04-06T19:58:51.209Z] (47/63) Installing p11-kit (0.24.0-r1) [2022-04-06T19:58:51.209Z] (48/63) Installing libtasn1 (4.18.0-r0) [2022-04-06T19:58:51.472Z] (49/63) Installing libunistring (0.9.10-r1) [2022-04-06T19:58:51.472Z] (50/63) Installing gnutls (3.7.1-r0) [2022-04-06T19:58:51.472Z] (51/63) Installing libmicrohttpd (0.9.73-r0) [2022-04-06T19:58:51.732Z] (52/63) Installing gnutls-c++ (3.7.1-r0) [2022-04-06T19:58:51.732Z] (53/63) Installing libgmpxx (6.2.1-r1) [2022-04-06T19:58:51.732Z] (54/63) Installing gmp-dev (6.2.1-r1) [2022-04-06T19:58:51.993Z] (55/63) Installing nettle-dev (3.7.3-r0) [2022-04-06T19:58:51.994Z] (56/63) Installing libtasn1-progs (4.18.0-r0) [2022-04-06T19:58:52.256Z] (57/63) Installing libtasn1-dev (4.18.0-r0) [2022-04-06T19:58:52.256Z] (58/63) Installing p11-kit-dev (0.24.0-r1) [2022-04-06T19:58:52.256Z] (59/63) Installing gnutls-dev (3.7.1-r0) [2022-04-06T19:58:52.517Z] (60/63) Installing libmicrohttpd-dev (0.9.73-r0) [2022-04-06T19:58:52.517Z] (61/63) Installing linux-headers (5.10.41-r0) [2022-04-06T19:58:52.779Z] (62/63) Installing yaml (0.2.5-r0) [2022-04-06T19:58:52.779Z] (63/63) Installing yaml-dev (0.2.5-r0) [2022-04-06T19:58:52.779Z] Executing busybox-1.34.1-r5.trigger [2022-04-06T19:58:52.779Z] Executing ca-certificates-20211220-r0.trigger [2022-04-06T19:58:53.039Z] OK: 281 MiB in 77 packages [2022-04-06T19:58:58.329Z] Removing intermediate container 480fa532d2a3 [2022-04-06T19:58:58.329Z] ---> ad368080ddad [2022-04-06T19:58:58.329Z] Step 5/6 : LABEL arch=amd64 [2022-04-06T19:58:58.329Z] ---> Running in b6f7edbfb989 [2022-04-06T19:58:58.329Z] Removing intermediate container b6f7edbfb989 [2022-04-06T19:58:58.329Z] ---> 37d6057a1f98 [2022-04-06T19:58:58.329Z] Step 6/6 : LABEL git_sha=5bb947235c942ea89325bcb808105ce2e51ba820 [2022-04-06T19:58:58.329Z] ---> Running in b268dd2660af [2022-04-06T19:58:58.329Z] Removing intermediate container b268dd2660af [2022-04-06T19:58:58.329Z] ---> 31512f8d4d04 [2022-04-06T19:58:58.329Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T19:58:58.329Z] Successfully built 31512f8d4d04 [2022-04-06T19:58:58.329Z] 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-04-06T19:58:58.461Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base with the following tags: [2022-04-06T19:58:58.461Z] 5bb947235c942ea89325bcb808105ce2e51ba820 [2022-04-06T19:58:58.461Z] latest [2022-04-06T19:58:58.461Z] gcc [2022-04-06T19:58:58.461Z] 8 [2022-04-06T19:58:58.461Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:58:58.786Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:5bb947235c942ea89325bcb808105ce2e51ba820 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:58:59.079Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:5bb947235c942ea89325bcb808105ce2e51ba820 [2022-04-06T19:58:59.079Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-04-06T19:58:59.079Z] 93b38529b116: Preparing [2022-04-06T19:58:59.079Z] 387956d343bc: Preparing [2022-04-06T19:58:59.079Z] 4fc242d58285: Preparing [2022-04-06T19:58:59.079Z] 387956d343bc: Pushed [2022-04-06T19:59:00.023Z] 4fc242d58285: Pushed [2022-04-06T19:59:32.148Z] 93b38529b116: Pushed [2022-04-06T19:59:32.148Z] 5bb947235c942ea89325bcb808105ce2e51ba820: digest: sha256:856fb40ca3d1125b2c93e717e1a89c2d5d9bc42c48810694e872c08d802a7fb7 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:32.453Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:32.754Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-04-06T19:59:32.754Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-04-06T19:59:32.754Z] 93b38529b116: Preparing [2022-04-06T19:59:32.754Z] 387956d343bc: Preparing [2022-04-06T19:59:32.754Z] 4fc242d58285: Preparing [2022-04-06T19:59:32.754Z] 387956d343bc: Layer already exists [2022-04-06T19:59:32.754Z] 93b38529b116: Layer already exists [2022-04-06T19:59:32.754Z] 4fc242d58285: Layer already exists [2022-04-06T19:59:32.754Z] latest: digest: sha256:856fb40ca3d1125b2c93e717e1a89c2d5d9bc42c48810694e872c08d802a7fb7 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:33.062Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:33.358Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2022-04-06T19:59:33.358Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-04-06T19:59:33.358Z] 93b38529b116: Preparing [2022-04-06T19:59:33.358Z] 387956d343bc: Preparing [2022-04-06T19:59:33.358Z] 4fc242d58285: Preparing [2022-04-06T19:59:33.358Z] 93b38529b116: Layer already exists [2022-04-06T19:59:33.358Z] 4fc242d58285: Layer already exists [2022-04-06T19:59:33.358Z] 387956d343bc: Layer already exists [2022-04-06T19:59:33.358Z] gcc: digest: sha256:856fb40ca3d1125b2c93e717e1a89c2d5d9bc42c48810694e872c08d802a7fb7 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:33.659Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:33.952Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8 [2022-04-06T19:59:33.952Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2022-04-06T19:59:33.952Z] 93b38529b116: Preparing [2022-04-06T19:59:33.952Z] 387956d343bc: Preparing [2022-04-06T19:59:33.952Z] 4fc242d58285: Preparing [2022-04-06T19:59:33.952Z] 4fc242d58285: Layer already exists [2022-04-06T19:59:33.952Z] 387956d343bc: Layer already exists [2022-04-06T19:59:33.952Z] 93b38529b116: Layer already exists [2022-04-06T19:59:33.952Z] 8: digest: sha256:856fb40ca3d1125b2c93e717e1a89c2d5d9bc42c48810694e872c08d802a7fb7 size: 947 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T19:59:33.979Z] ===================================================== [Pipeline] echo [2022-04-06T19:59:33.984Z] taggedImages: [2022-04-06T19:59:33.984Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:5bb947235c942ea89325bcb808105ce2e51ba820 [2022-04-06T19:59:33.984Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-04-06T19:59:33.984Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2022-04-06T19:59:33.984Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:8 [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-04-06T19:59:34.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T19:59:34.342Z] [2022-04-06T19:59:34.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:34.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T19:59:34.649Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T19:59:34.649Z] 5eb5b503b376: Pulling fs layer [2022-04-06T19:59:34.649Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T19:59:34.649Z] ec43610c2a17: Pulling fs layer [2022-04-06T19:59:34.649Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T19:59:34.649Z] 33b1e0a273af: Pulling fs layer [2022-04-06T19:59:34.649Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T19:59:34.649Z] 2f39f015ded8: Pulling fs layer [2022-04-06T19:59:34.649Z] 3a2ae6a8a46f: Waiting [2022-04-06T19:59:34.649Z] 33b1e0a273af: Waiting [2022-04-06T19:59:34.649Z] 5d3b04190fa2: Waiting [2022-04-06T19:59:34.649Z] 2f39f015ded8: Waiting [2022-04-06T19:59:34.649Z] 5c69ac0246d0: Download complete [2022-04-06T19:59:34.649Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T19:59:34.649Z] 3a2ae6a8a46f: Download complete [2022-04-06T19:59:34.649Z] 33b1e0a273af: Verifying Checksum [2022-04-06T19:59:34.649Z] 33b1e0a273af: Download complete [2022-04-06T19:59:34.649Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T19:59:34.649Z] 5d3b04190fa2: Download complete [2022-04-06T19:59:34.649Z] ec43610c2a17: Verifying Checksum [2022-04-06T19:59:34.649Z] ec43610c2a17: Download complete [2022-04-06T19:59:34.908Z] 5eb5b503b376: Verifying Checksum [2022-04-06T19:59:34.908Z] 5eb5b503b376: Download complete [2022-04-06T19:59:35.478Z] 2f39f015ded8: Download complete [2022-04-06T19:59:36.418Z] 5eb5b503b376: Pull complete [2022-04-06T19:59:36.418Z] 5c69ac0246d0: Pull complete [2022-04-06T19:59:36.988Z] ec43610c2a17: Pull complete [2022-04-06T19:59:36.988Z] 3a2ae6a8a46f: Pull complete [2022-04-06T19:59:37.248Z] 33b1e0a273af: Pull complete [2022-04-06T19:59:37.509Z] 5d3b04190fa2: Pull complete [2022-04-06T19:59:42.792Z] 2f39f015ded8: Pull complete [2022-04-06T19:59:42.792Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T19:59:42.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T19:59:42.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T19:59:42.872Z] prd-ubuntu20.04-docker-8c-8g-10978 does not seem to be running inside a container [2022-04-06T19:59:42.917Z] $ 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-04-06T19:59:44.392Z] $ docker top 001cb62caa0c1ba2915c88526fc9997f0a9d9f9bf9ac9478cd03172e191a3c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:44.790Z] ---> job-cost.sh [2022-04-06T19:59:44.791Z] lf-activate-venv: SKIPPING [2022-04-06T19:59:44.791Z] INFO: No Stack... [2022-04-06T19:59:45.053Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T19:59:45.625Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T19:59:45.926Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2022-04-06T19:59:45.926Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T19:59:45.961Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-8-stack-cost] [2022-04-06T19:59:45.966Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-8-stack-cost] did not exist. Created. [2022-04-06T19:59:45.966Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T19:59:46.271Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T19:59:46.515Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T19:59:46.520Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T19:59:46.543Z] $ docker stop --time=1 001cb62caa0c1ba2915c88526fc9997f0a9d9f9bf9ac9478cd03172e191a3c6f [2022-04-06T19:59:47.727Z] $ docker rm -f 001cb62caa0c1ba2915c88526fc9997f0a9d9f9bf9ac9478cd03172e191a3c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T20:00:21.212Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10980 in /w/workspace/edgexfoundry_ci-build-images_gcc [Pipeline] { [Pipeline] checkout [2022-04-06T20:00:21.399Z] Selected Git installation does not exist. Using Default [2022-04-06T20:00:21.399Z] The recommended git tool is: NONE [2022-04-06T20:00:26.472Z] using credential edgex-jenkins-ssh [2022-04-06T20:00:26.491Z] Cloning the remote Git repository [2022-04-06T20:00:26.555Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2022-04-06T20:00:26.634Z] > git init /w/workspace/edgexfoundry_ci-build-images_gcc # timeout=10 [2022-04-06T20:00:26.744Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-04-06T20:00:26.746Z] > git --version # timeout=10 [2022-04-06T20:00:26.771Z] > git --version # 'git version 2.25.1' [2022-04-06T20:00:26.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T20:00:26.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T20:00:27.727Z] Avoid second fetch [2022-04-06T20:00:27.728Z] Checking out Revision 5bb947235c942ea89325bcb808105ce2e51ba820 (gcc) [2022-04-06T20:00:27.686Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-04-06T20:00:27.711Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T20:00:27.748Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T20:00:27.769Z] > git checkout -f 5bb947235c942ea89325bcb808105ce2e51ba820 # timeout=10 [2022-04-06T20:00:31.938Z] Commit message: "Merge pull request #186 from ernestojeda/gcc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T20:00:32.750Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T20:00:32.750Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T20:00:32.750Z] Dload Upload Total Spent Left Speed [2022-04-06T20:00:32.750Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43540 0 --:--:-- --:--:-- --:--:-- 43540 [Pipeline] sh [2022-04-06T20:00:33.278Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T20:00:33.632Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-04-06T20:00:33.632Z] sudo tee /etc/docker/daemon.new [2022-04-06T20:00:33.632Z] { [2022-04-06T20:00:33.632Z] "registry-mirrors": [ [2022-04-06T20:00:33.632Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T20:00:33.632Z] ], [2022-04-06T20:00:33.632Z] "bip": "10.250.0.254/24", [2022-04-06T20:00:33.632Z] "hosts": [ [2022-04-06T20:00:33.632Z] "tcp://0.0.0.0:5555", [2022-04-06T20:00:33.632Z] "unix:///var/run/docker.sock" [2022-04-06T20:00:33.632Z] ], [2022-04-06T20:00:33.632Z] "mtu": 1458, [2022-04-06T20:00:33.632Z] "selinux-enabled": true, [2022-04-06T20:00:33.632Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T20:00:33.632Z] } [Pipeline] sh [2022-04-06T20:00:33.983Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T20:00:34.337Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T20:00:52.693Z] provisioning config files... [2022-04-06T20:00:52.717Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config5867968092007930817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:00:53.193Z] ---> docker-login.sh [2022-04-06T20:00:53.193Z] nexus3.edgexfoundry.org:10001 [2022-04-06T20:00:53.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T20:00:54.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T20:00:54.075Z] Configure a credential helper to remove this warning. See [2022-04-06T20:00:54.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T20:00:54.075Z] [2022-04-06T20:00:54.075Z] Login Succeeded [2022-04-06T20:00:54.075Z] nexus3.edgexfoundry.org:10002 [2022-04-06T20:00:54.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T20:00:54.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T20:00:54.642Z] Configure a credential helper to remove this warning. See [2022-04-06T20:00:54.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T20:00:54.642Z] [2022-04-06T20:00:54.642Z] Login Succeeded [2022-04-06T20:00:54.642Z] nexus3.edgexfoundry.org:10003 [2022-04-06T20:00:54.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T20:00:54.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T20:00:54.918Z] Configure a credential helper to remove this warning. See [2022-04-06T20:00:54.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T20:00:54.918Z] [2022-04-06T20:00:54.918Z] Login Succeeded [2022-04-06T20:00:54.918Z] nexus3.edgexfoundry.org:10004 [2022-04-06T20:00:55.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T20:00:55.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T20:00:55.519Z] Configure a credential helper to remove this warning. See [2022-04-06T20:00:55.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T20:00:55.519Z] [2022-04-06T20:00:55.519Z] Login Succeeded [2022-04-06T20:00:55.519Z] docker.io [2022-04-06T20:00:55.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T20:00:56.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T20:00:56.399Z] Configure a credential helper to remove this warning. See [2022-04-06T20:00:56.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T20:00:56.399Z] [2022-04-06T20:00:56.399Z] Login Succeeded [2022-04-06T20:00:56.399Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T20:00:56.419Z] 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-04-06T20:00:56.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T20:00:57.182Z] + ls -al . [2022-04-06T20:00:57.183Z] total 20 [2022-04-06T20:00:57.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 20:00 . [2022-04-06T20:00:57.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 20:00 .. [2022-04-06T20:00:57.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 20:00 .git [2022-04-06T20:00:57.183Z] -rw-rw-r-- 1 jenkins jenkins 401 Apr 6 20:00 Dockerfile [2022-04-06T20:00:57.183Z] -rw-rw-r-- 1 jenkins jenkins 883 Apr 6 20:00 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:00:57.543Z] + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=5bb947235c942ea89325bcb808105ce2e51ba820 --label arch=arm64 . [2022-04-06T20:00:57.818Z] Sending build context to Docker daemon 410.6kB [2022-04-06T20:00:57.818Z] Step 1/6 : FROM alpine:3.15 [2022-04-06T20:00:58.414Z] 3.15: Pulling from library/alpine [2022-04-06T20:00:58.696Z] 9981e73032c8: Pulling fs layer [2022-04-06T20:00:58.970Z] 9981e73032c8: Verifying Checksum [2022-04-06T20:00:58.970Z] 9981e73032c8: Download complete [2022-04-06T20:00:59.568Z] 9981e73032c8: Pull complete [2022-04-06T20:00:59.568Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-06T20:00:59.568Z] Status: Downloaded newer image for alpine:3.15 [2022-04-06T20:00:59.568Z] ---> 3fb3c9af89a9 [2022-04-06T20:00:59.568Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-06T20:00:59.568Z] ---> Running in d1ece30ac1e7 [2022-04-06T20:00:59.849Z] Removing intermediate container d1ece30ac1e7 [2022-04-06T20:00:59.849Z] ---> 6cca59f511d8 [2022-04-06T20:00:59.849Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T20:00:59.849Z] ---> Running in 10c27cfce642 [2022-04-06T20:01:01.845Z] Removing intermediate container 10c27cfce642 [2022-04-06T20:01:01.845Z] ---> 36117699e849 [2022-04-06T20:01:01.845Z] Step 4/6 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev [2022-04-06T20:01:01.845Z] ---> Running in 491ec616b88a [2022-04-06T20:01:02.840Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T20:01:03.823Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T20:01:04.418Z] (1/63) Installing libgcc (10.3.1_git20211027-r0) [2022-04-06T20:01:04.694Z] (2/63) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-06T20:01:04.694Z] (3/63) Installing binutils (2.37-r3) [2022-04-06T20:01:04.967Z] (4/63) Installing libmagic (5.41-r0) [2022-04-06T20:01:05.240Z] (5/63) Installing file (5.41-r0) [2022-04-06T20:01:05.240Z] (6/63) Installing libgomp (10.3.1_git20211027-r0) [2022-04-06T20:01:05.514Z] (7/63) Installing libatomic (10.3.1_git20211027-r0) [2022-04-06T20:01:05.514Z] (8/63) Installing libgphobos (10.3.1_git20211027-r0) [2022-04-06T20:01:05.789Z] (9/63) Installing gmp (6.2.1-r1) [2022-04-06T20:01:05.789Z] (10/63) Installing isl22 (0.22-r0) [2022-04-06T20:01:06.069Z] (11/63) Installing mpfr4 (4.1.0-r0) [2022-04-06T20:01:06.069Z] (12/63) Installing mpc1 (1.2.1-r0) [2022-04-06T20:01:06.069Z] (13/63) Installing gcc (10.3.1_git20211027-r0) [2022-04-06T20:01:08.059Z] (14/63) Installing musl-dev (1.2.2-r7) [2022-04-06T20:01:08.683Z] (15/63) Installing libc-dev (0.7.2-r3) [2022-04-06T20:01:08.683Z] (16/63) Installing g++ (10.3.1_git20211027-r0) [2022-04-06T20:01:10.124Z] (17/63) Installing make (4.3-r0) [2022-04-06T20:01:10.398Z] (18/63) Installing fortify-headers (1.1-r1) [2022-04-06T20:01:10.398Z] (19/63) Installing patch (2.7.6-r7) [2022-04-06T20:01:10.398Z] (20/63) Installing build-base (0.5-r2) [2022-04-06T20:01:10.679Z] (21/63) Installing libacl (2.2.53-r0) [2022-04-06T20:01:10.679Z] (22/63) Installing libbz2 (1.0.8-r1) [2022-04-06T20:01:10.679Z] (23/63) Installing expat (2.4.7-r0) [2022-04-06T20:01:10.952Z] (24/63) Installing lz4-libs (1.9.3-r1) [2022-04-06T20:01:10.952Z] (25/63) Installing xz-libs (5.2.5-r0) [2022-04-06T20:01:10.952Z] (26/63) Installing zstd-libs (1.5.0-r0) [2022-04-06T20:01:11.224Z] (27/63) Installing libarchive (3.6.0-r0) [2022-04-06T20:01:11.224Z] (28/63) Installing ca-certificates (20211220-r0) [2022-04-06T20:01:11.497Z] (29/63) Installing brotli-libs (1.0.9-r5) [2022-04-06T20:01:11.497Z] (30/63) Installing nghttp2-libs (1.46.0-r0) [2022-04-06T20:01:11.497Z] (31/63) Installing libcurl (7.80.0-r0) [2022-04-06T20:01:11.769Z] (32/63) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-04-06T20:01:11.769Z] (33/63) Installing ncurses-libs (6.3_p20211120-r0) [2022-04-06T20:01:12.039Z] (34/63) Installing rhash-libs (1.4.2-r2) [2022-04-06T20:01:12.039Z] (35/63) Installing libuv (1.42.0-r0) [2022-04-06T20:01:12.039Z] (36/63) Installing cmake (3.21.3-r0) [2022-04-06T20:01:14.663Z] (37/63) Installing pkgconf (1.8.0-r0) [2022-04-06T20:01:14.663Z] (38/63) Installing openssl-dev (1.1.1n-r0) [2022-04-06T20:01:14.663Z] (39/63) Installing nghttp2-dev (1.46.0-r0) [2022-04-06T20:01:14.663Z] (40/63) Installing zlib-dev (1.2.12-r0) [2022-04-06T20:01:14.934Z] (41/63) Installing brotli-dev (1.0.9-r5) [2022-04-06T20:01:14.934Z] (42/63) Installing curl-dev (7.80.0-r0) [2022-04-06T20:01:14.934Z] (43/63) Installing pcre2 (10.39-r0) [2022-04-06T20:01:15.203Z] (44/63) Installing git (2.34.1-r0) [2022-04-06T20:01:15.797Z] (45/63) Installing nettle (3.7.3-r0) [2022-04-06T20:01:15.797Z] (46/63) Installing libffi (3.4.2-r1) [2022-04-06T20:01:15.797Z] (47/63) Installing p11-kit (0.24.0-r1) [2022-04-06T20:01:16.067Z] (48/63) Installing libtasn1 (4.18.0-r0) [2022-04-06T20:01:16.067Z] (49/63) Installing libunistring (0.9.10-r1) [2022-04-06T20:01:16.067Z] (50/63) Installing gnutls (3.7.1-r0) [2022-04-06T20:01:16.337Z] (51/63) Installing libmicrohttpd (0.9.73-r0) [2022-04-06T20:01:16.337Z] (52/63) Installing gnutls-c++ (3.7.1-r0) [2022-04-06T20:01:16.337Z] (53/63) Installing libgmpxx (6.2.1-r1) [2022-04-06T20:01:16.608Z] (54/63) Installing gmp-dev (6.2.1-r1) [2022-04-06T20:01:16.608Z] (55/63) Installing nettle-dev (3.7.3-r0) [2022-04-06T20:01:16.881Z] (56/63) Installing libtasn1-progs (4.18.0-r0) [2022-04-06T20:01:16.881Z] (57/63) Installing libtasn1-dev (4.18.0-r0) [2022-04-06T20:01:16.881Z] (58/63) Installing p11-kit-dev (0.24.0-r1) [2022-04-06T20:01:17.151Z] (59/63) Installing gnutls-dev (3.7.1-r0) [2022-04-06T20:01:17.151Z] (60/63) Installing libmicrohttpd-dev (0.9.73-r0) [2022-04-06T20:01:17.151Z] (61/63) Installing linux-headers (5.10.41-r0) [2022-04-06T20:01:17.742Z] (62/63) Installing yaml (0.2.5-r0) [2022-04-06T20:01:17.742Z] (63/63) Installing yaml-dev (0.2.5-r0) [2022-04-06T20:01:18.020Z] Executing busybox-1.34.1-r5.trigger [2022-04-06T20:01:18.020Z] Executing ca-certificates-20211220-r0.trigger [2022-04-06T20:01:18.020Z] OK: 277 MiB in 77 packages [2022-04-06T20:01:30.447Z] Removing intermediate container 491ec616b88a [2022-04-06T20:01:30.447Z] ---> 44841eafc594 [2022-04-06T20:01:30.447Z] Step 5/6 : LABEL arch=arm64 [2022-04-06T20:01:30.447Z] ---> Running in bb1dfc544b56 [2022-04-06T20:01:30.447Z] Removing intermediate container bb1dfc544b56 [2022-04-06T20:01:30.447Z] ---> c5d1c8db8ba1 [2022-04-06T20:01:30.447Z] Step 6/6 : LABEL git_sha=5bb947235c942ea89325bcb808105ce2e51ba820 [2022-04-06T20:01:30.722Z] ---> Running in 34e16d20dba1 [2022-04-06T20:01:30.996Z] Removing intermediate container 34e16d20dba1 [2022-04-06T20:01:30.996Z] ---> 69c73aa914e4 [2022-04-06T20:01:30.996Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T20:01:30.996Z] Successfully built 69c73aa914e4 [2022-04-06T20:01:30.996Z] 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-04-06T20:01:31.108Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base-arm64 with the following tags: [2022-04-06T20:01:31.108Z] 5bb947235c942ea89325bcb808105ce2e51ba820 [2022-04-06T20:01:31.108Z] latest [2022-04-06T20:01:31.108Z] gcc [2022-04-06T20:01:31.108Z] 8 [2022-04-06T20:01:31.108Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:01:31.460Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:5bb947235c942ea89325bcb808105ce2e51ba820 [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:01:31.898Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:5bb947235c942ea89325bcb808105ce2e51ba820 [2022-04-06T20:01:31.898Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-04-06T20:01:31.898Z] 592af8b275c3: Preparing [2022-04-06T20:01:31.898Z] 939588277dbf: Preparing [2022-04-06T20:01:31.898Z] 4f4ce317c6bb: Preparing [2022-04-06T20:01:32.213Z] 939588277dbf: Pushed [2022-04-06T20:01:33.665Z] 4f4ce317c6bb: Pushed [2022-04-06T20:02:30.188Z] 592af8b275c3: Pushed [2022-04-06T20:02:30.188Z] 5bb947235c942ea89325bcb808105ce2e51ba820: digest: sha256:0f124dd3b6ead62312a5009ba0dc35a1224119791cb8964a66759dbb1cb35c90 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:02:30.543Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:02:30.895Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-04-06T20:02:30.895Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-04-06T20:02:30.895Z] 592af8b275c3: Preparing [2022-04-06T20:02:30.895Z] 939588277dbf: Preparing [2022-04-06T20:02:30.895Z] 4f4ce317c6bb: Preparing [2022-04-06T20:02:30.895Z] 592af8b275c3: Layer already exists [2022-04-06T20:02:30.895Z] 939588277dbf: Layer already exists [2022-04-06T20:02:30.895Z] 4f4ce317c6bb: Layer already exists [2022-04-06T20:02:31.171Z] latest: digest: sha256:0f124dd3b6ead62312a5009ba0dc35a1224119791cb8964a66759dbb1cb35c90 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:02:31.527Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:02:31.882Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2022-04-06T20:02:31.883Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-04-06T20:02:31.883Z] 592af8b275c3: Preparing [2022-04-06T20:02:31.883Z] 939588277dbf: Preparing [2022-04-06T20:02:31.883Z] 4f4ce317c6bb: Preparing [2022-04-06T20:02:31.883Z] 592af8b275c3: Layer already exists [2022-04-06T20:02:31.883Z] 939588277dbf: Layer already exists [2022-04-06T20:02:31.883Z] 4f4ce317c6bb: Layer already exists [2022-04-06T20:02:32.157Z] gcc: digest: sha256:0f124dd3b6ead62312a5009ba0dc35a1224119791cb8964a66759dbb1cb35c90 size: 947 [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:02:32.519Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8 [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:02:32.862Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8 [2022-04-06T20:02:32.862Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2022-04-06T20:02:32.862Z] 592af8b275c3: Preparing [2022-04-06T20:02:32.862Z] 939588277dbf: Preparing [2022-04-06T20:02:32.862Z] 4f4ce317c6bb: Preparing [2022-04-06T20:02:32.862Z] 4f4ce317c6bb: Layer already exists [2022-04-06T20:02:32.862Z] 592af8b275c3: Layer already exists [2022-04-06T20:02:32.862Z] 939588277dbf: Layer already exists [2022-04-06T20:02:33.136Z] 8: digest: sha256:0f124dd3b6ead62312a5009ba0dc35a1224119791cb8964a66759dbb1cb35c90 size: 947 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T20:02:33.179Z] ===================================================== [Pipeline] echo [2022-04-06T20:02:33.185Z] taggedImages: [2022-04-06T20:02:33.185Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:5bb947235c942ea89325bcb808105ce2e51ba820 [2022-04-06T20:02:33.185Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-04-06T20:02:33.185Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2022-04-06T20:02:33.185Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:8 [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-04-06T20:02:33.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T20:02:33.565Z] [2022-04-06T20:02:33.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:02:33.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T20:02:34.204Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T20:02:34.204Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T20:02:34.204Z] 04944245beec: Pulling fs layer [2022-04-06T20:02:34.204Z] 699f458cf7ca: Pulling fs layer [2022-04-06T20:02:34.204Z] 765212b225bb: Pulling fs layer [2022-04-06T20:02:34.204Z] f23df028b6ca: Pulling fs layer [2022-04-06T20:02:34.204Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T20:02:34.204Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T20:02:34.204Z] f23df028b6ca: Waiting [2022-04-06T20:02:34.204Z] d65c8cfc05b1: Waiting [2022-04-06T20:02:34.204Z] 2437ff75d9bd: Waiting [2022-04-06T20:02:34.204Z] 765212b225bb: Waiting [2022-04-06T20:02:34.204Z] 04944245beec: Verifying Checksum [2022-04-06T20:02:34.204Z] 04944245beec: Download complete [2022-04-06T20:02:34.204Z] 765212b225bb: Verifying Checksum [2022-04-06T20:02:34.204Z] 765212b225bb: Download complete [2022-04-06T20:02:34.204Z] f23df028b6ca: Verifying Checksum [2022-04-06T20:02:34.204Z] f23df028b6ca: Download complete [2022-04-06T20:02:34.204Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T20:02:34.204Z] d65c8cfc05b1: Download complete [2022-04-06T20:02:34.478Z] 699f458cf7ca: Verifying Checksum [2022-04-06T20:02:34.478Z] 699f458cf7ca: Download complete [2022-04-06T20:02:34.752Z] 8998bd30e6a1: Verifying Checksum [2022-04-06T20:02:34.752Z] 8998bd30e6a1: Download complete [2022-04-06T20:02:37.392Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T20:02:37.392Z] 2437ff75d9bd: Download complete [2022-04-06T20:02:38.825Z] 8998bd30e6a1: Pull complete [2022-04-06T20:02:39.417Z] 04944245beec: Pull complete [2022-04-06T20:02:40.852Z] 699f458cf7ca: Pull complete [2022-04-06T20:02:40.852Z] 765212b225bb: Pull complete [2022-04-06T20:02:41.829Z] f23df028b6ca: Pull complete [2022-04-06T20:02:41.829Z] d65c8cfc05b1: Pull complete [2022-04-06T20:02:56.928Z] 2437ff75d9bd: Pull complete [2022-04-06T20:02:56.928Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T20:02:56.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T20:02:56.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T20:02:57.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-10980 does not seem to be running inside a container [2022-04-06T20:02:57.306Z] $ 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-04-06T20:03:00.091Z] $ docker top 8f0875ffbc17e1dbacc4a808ee834ced5c14c3cde8bc9950720aa71f4d61dd80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:03:01.084Z] ---> job-cost.sh [2022-04-06T20:03:01.360Z] lf-activate-venv: SKIPPING [2022-04-06T20:03:01.360Z] INFO: No Stack... [2022-04-06T20:03:01.636Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T20:03:02.617Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T20:03:03.301Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2022-04-06T20:03:03.301Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T20:03:03.375Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-8-stack-cost] [2022-04-06T20:03:03.383Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-8-stack-cost] did not exist. Created. [2022-04-06T20:03:03.383Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T20:03:04.346Z] /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-42fafb2d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T20:03:05.035Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T20:03:05.062Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T20:03:05.537Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T20:03:05.544Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T20:03:05.563Z] $ docker stop --time=1 8f0875ffbc17e1dbacc4a808ee834ced5c14c3cde8bc9950720aa71f4d61dd80 [2022-04-06T20:03:07.096Z] $ docker rm -f 8f0875ffbc17e1dbacc4a808ee834ced5c14c3cde8bc9950720aa71f4d61dd80 [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-04-06T20:03:07.946Z] + [ -d /w/workspace/edgexfoundry_ci-build-images_gcc/archives ] [2022-04-06T20:03:07.946Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-04-06T20:03:07.946Z] total 16 [2022-04-06T20:03:07.946Z] drwxr-xr-x 3 root root 4096 Apr 6 19:59 . [2022-04-06T20:03:07.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:59 .. [2022-04-06T20:03:07.946Z] drwxr-xr-x 2 root root 4096 Apr 6 19:59 cost [2022-04-06T20:03:07.946Z] -rw-r--r-- 1 root root 83 Apr 6 19:59 cost.csv [2022-04-06T20:03:07.946Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-04-06T20:03:07.946Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2022-04-06T20:03:07.946Z] total 16 [2022-04-06T20:03:07.946Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 19:59 . [2022-04-06T20:03:07.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:59 .. [2022-04-06T20:03:07.946Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 19:59 cost [2022-04-06T20:03:07.946Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 6 19:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:03:08.246Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:03:09.115Z] ---> package-listing.sh [2022-04-06T20:03:09.116Z] ++ facter osfamily [2022-04-06T20:03:09.116Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T20:03:09.377Z] + OS_FAMILY=debian [2022-04-06T20:03:09.377Z] + workspace=/w/workspace/edgexfoundry_ci-build-images_gcc [2022-04-06T20:03:09.377Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T20:03:09.377Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T20:03:09.377Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T20:03:09.377Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T20:03:09.377Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2022-04-06T20:03:09.377Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T20:03:09.377Z] + case "${OS_FAMILY}" in [2022-04-06T20:03:09.377Z] + dpkg -l [2022-04-06T20:03:09.377Z] + grep '^ii' [2022-04-06T20:03:09.377Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T20:03:09.377Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T20:03:09.377Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T20:03:09.377Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2022-04-06T20:03:09.377Z] + mkdir -p /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [2022-04-06T20:03:09.377Z] + 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-04-06T20:03:09.389Z] 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-04-06T20:03:09.674Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T20:03:10.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T20:03:10.240Z] . [Pipeline] withDockerContainer [2022-04-06T20:03:10.544Z] prd-ubuntu20.04-docker-8c-8g-10978 does not seem to be running inside a container [2022-04-06T20:03:10.611Z] $ 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-04-06T20:03:10.881Z] $ docker top d1d09992307716bda7f300f5de59e273f55b2599fdf0cc2c56c0e2d3e68c7165 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T20:03:11.250Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T20:03:11.545Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T20:03:11.836Z] + ls /var/log/sa-host [2022-04-06T20:03:11.836Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T20:03:11.930Z] provisioning config files... [2022-04-06T20:03:11.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config3761542793155989184tmp [Pipeline] { [Pipeline] echo [2022-04-06T20:03:11.951Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:03:12.240Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T20:03:12.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:03:12.576Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T20:03:12.587Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:03:12.880Z] ---> sudo-logs.sh [2022-04-06T20:03:12.880Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T20:03:12.928Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:03:13.217Z] ---> job-cost.sh [2022-04-06T20:03:13.218Z] lf-activate-venv: SKIPPING [2022-04-06T20:03:13.218Z] DEBUG: total: 0.2199999988079071 [2022-04-06T20:03:13.218Z] INFO: Retrieving Stack Cost... [2022-04-06T20:03:13.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T20:03:14.051Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T20:03:14.068Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T20:03:14.358Z] ---> logs-deploy.sh [2022-04-06T20:03:14.358Z] lf-activate-venv: SKIPPING [2022-04-06T20:03:14.358Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/gcc/8 [2022-04-06T20:03:14.358Z] INFO: archiving workspace using pattern(s): [2022-04-06T20:03:15.300Z] Archives upload complete. [2022-04-06T20:03:15.300Z] INFO: archiving logs to Nexus