Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 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-ssh9303957515483073618.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10159266949088096073.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2254011092394674882.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh17841806635509385204.key > 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-ssh1014008168050750324.key > 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:[15], 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: 15 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15468 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 Avoid second fetch Checking out Revision e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 (gcc) Commit message: "Merge pull request #202 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 e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 # timeout=10 > git rev-list --no-walk e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-15T22:38:13.454Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-15T22:38:13.507Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-15T22:38:13.521Z] ========================================================= [2023-05-15T22:38:13.521Z] EdgeX Global Pipelines Version Info [2023-05-15T22:38:13.521Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:38:14.225Z] ------------------- [2023-05-15T22:38:14.225Z] stable info: [2023-05-15T22:38:14.225Z] ------------------- [2023-05-15T22:38:14.225Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-15T22:38:14.225Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-15T22:38:14.225Z] Message: update stable to v1.0.249 [2023-05-15T22:38:14.797Z] ------------------- [2023-05-15T22:38:14.797Z] experimental info: [2023-05-15T22:38:14.797Z] ------------------- [2023-05-15T22:38:14.797Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-15T22:38:14.797Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-15T22:38:14.797Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2023-05-15T22:38:14.997Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2023-05-15T22:38:15.013Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo [2023-05-15T22:38:15.024Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2023-05-15T22:38:15.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-15T22:38:15.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-15T22:38:15.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo [2023-05-15T22:38:15.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2023-05-15T22:38:15.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2023-05-15T22:38:15.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2023-05-15T22:38:15.099Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-15T22:38:15.108Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2023-05-15T22:38:15.119Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo [2023-05-15T22:38:15.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-15T22:38:15.138Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-15T22:38:15.148Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo [2023-05-15T22:38:15.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 15 [Pipeline] echo [2023-05-15T22:38:15.175Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = gcc [Pipeline] echo [2023-05-15T22:38:15.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = gcc [Pipeline] echo [2023-05-15T22:38:15.210Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = gcc [Pipeline] echo [2023-05-15T22:38:15.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [Pipeline] echo [2023-05-15T22:38:15.231Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3d0a43 [Pipeline] echo [2023-05-15T22:38:15.241Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-15T22:38:15.288Z] provisioning config files... [2023-05-15T22:38:15.301Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config8523745934104850804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:38:15.599Z] ---> docker-login.sh [2023-05-15T22:38:15.599Z] nexus3.edgexfoundry.org:10001 [2023-05-15T22:38:15.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:15.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:15.860Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:15.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:15.860Z] [2023-05-15T22:38:15.860Z] Login Succeeded [2023-05-15T22:38:15.860Z] nexus3.edgexfoundry.org:10002 [2023-05-15T22:38:15.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:16.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:16.122Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:16.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:16.122Z] [2023-05-15T22:38:16.122Z] Login Succeeded [2023-05-15T22:38:16.122Z] nexus3.edgexfoundry.org:10003 [2023-05-15T22:38:16.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:16.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:16.122Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:16.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:16.122Z] [2023-05-15T22:38:16.122Z] Login Succeeded [2023-05-15T22:38:16.122Z] nexus3.edgexfoundry.org:10004 [2023-05-15T22:38:16.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:16.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:16.383Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:16.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:16.383Z] [2023-05-15T22:38:16.383Z] Login Succeeded [2023-05-15T22:38:16.383Z] docker.io [2023-05-15T22:38:16.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:16.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:16.647Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:16.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:16.647Z] [2023-05-15T22:38:16.647Z] Login Succeeded [2023-05-15T22:38:16.907Z] ---> docker-login.sh ends [Pipeline] } [2023-05-15T22:38:16.915Z] 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 [2023-05-15T22:38:17.097Z] provisioning config files... [2023-05-15T22:38:17.109Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config12545387457404262051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:38:17.411Z] ---> docker-login.sh [2023-05-15T22:38:17.411Z] nexus3.edgexfoundry.org:10001 [2023-05-15T22:38:17.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:17.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:17.411Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:17.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:17.411Z] [2023-05-15T22:38:17.411Z] Login Succeeded [2023-05-15T22:38:17.411Z] nexus3.edgexfoundry.org:10002 [2023-05-15T22:38:17.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:17.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:17.411Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:17.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:17.411Z] [2023-05-15T22:38:17.411Z] Login Succeeded [2023-05-15T22:38:17.411Z] nexus3.edgexfoundry.org:10003 [2023-05-15T22:38:17.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:17.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:17.672Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:17.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:17.672Z] [2023-05-15T22:38:17.672Z] Login Succeeded [2023-05-15T22:38:17.672Z] nexus3.edgexfoundry.org:10004 [2023-05-15T22:38:17.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:17.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:17.672Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:17.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:17.672Z] [2023-05-15T22:38:17.672Z] Login Succeeded [2023-05-15T22:38:17.672Z] docker.io [2023-05-15T22:38:17.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:38:17.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:38:17.933Z] Configure a credential helper to remove this warning. See [2023-05-15T22:38:17.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:38:17.933Z] [2023-05-15T22:38:17.933Z] Login Succeeded [2023-05-15T22:38:17.933Z] ---> docker-login.sh ends [Pipeline] } [2023-05-15T22:38:17.942Z] 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 [2023-05-15T22:38:18.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-15T22:38:18.939Z] + ls -al . [2023-05-15T22:38:18.939Z] total 20 [2023-05-15T22:38:18.939Z] drwxrwxr-x 3 jenkins jenkins 4096 May 15 22:38 . [2023-05-15T22:38:18.939Z] drwxrwxr-x 4 jenkins jenkins 4096 May 15 22:38 .. [2023-05-15T22:38:18.939Z] drwxrwxr-x 8 jenkins jenkins 4096 May 15 22:38 .git [2023-05-15T22:38:18.939Z] -rw-rw-r-- 1 jenkins jenkins 332 May 15 22:38 Dockerfile [2023-05-15T22:38:18.939Z] -rw-rw-r-- 1 jenkins jenkins 883 May 15 22:38 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:38:19.320Z] + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 --label arch=amd64 . [2023-05-15T22:38:19.320Z] Sending build context to Docker daemon 446kB [2023-05-15T22:38:19.320Z] Step 1/5 : FROM alpine:3.16 [2023-05-15T22:38:19.581Z] 3.16: Pulling from library/alpine [2023-05-15T22:38:19.841Z] 91d30c5bc195: Pulling fs layer [2023-05-15T22:38:19.841Z] 91d30c5bc195: Download complete [2023-05-15T22:38:20.102Z] 91d30c5bc195: Pull complete [2023-05-15T22:38:20.102Z] Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f [2023-05-15T22:38:20.102Z] Status: Downloaded newer image for alpine:3.16 [2023-05-15T22:38:20.102Z] ---> 8471affe5de5 [2023-05-15T22:38:20.102Z] Step 2/5 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-15T22:38:20.364Z] ---> Running in 48a6820fb380 [2023-05-15T22:38:20.364Z] Removing intermediate container 48a6820fb380 [2023-05-15T22:38:20.364Z] ---> e9dc88b025f6 [2023-05-15T22:38:20.364Z] Step 3/5 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev && apk upgrade [2023-05-15T22:38:20.364Z] ---> Running in 003106caa686 [2023-05-15T22:38:20.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-15T22:38:21.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-15T22:38:21.459Z] (1/62) Installing libgcc (11.2.1_git20220219-r2) [2023-05-15T22:38:21.459Z] (2/62) Installing libstdc++ (11.2.1_git20220219-r2) [2023-05-15T22:38:21.459Z] (3/62) Installing binutils (2.38-r3) [2023-05-15T22:38:21.459Z] (4/62) Installing libmagic (5.41-r0) [2023-05-15T22:38:21.459Z] (5/62) Installing file (5.41-r0) [2023-05-15T22:38:21.460Z] (6/62) Installing libgomp (11.2.1_git20220219-r2) [2023-05-15T22:38:21.460Z] (7/62) Installing libatomic (11.2.1_git20220219-r2) [2023-05-15T22:38:21.460Z] (8/62) Installing gmp (6.2.1-r2) [2023-05-15T22:38:21.460Z] (9/62) Installing isl22 (0.22-r0) [2023-05-15T22:38:21.460Z] (10/62) Installing mpfr4 (4.1.0-r0) [2023-05-15T22:38:21.460Z] (11/62) Installing mpc1 (1.2.1-r0) [2023-05-15T22:38:21.460Z] (12/62) Installing gcc (11.2.1_git20220219-r2) [2023-05-15T22:38:22.033Z] (13/62) Installing musl-dev (1.2.3-r2) [2023-05-15T22:38:22.033Z] (14/62) Installing libc-dev (0.7.2-r3) [2023-05-15T22:38:22.033Z] (15/62) Installing g++ (11.2.1_git20220219-r2) [2023-05-15T22:38:22.294Z] (16/62) Installing make (4.3-r0) [2023-05-15T22:38:22.294Z] (17/62) Installing fortify-headers (1.1-r1) [2023-05-15T22:38:22.294Z] (18/62) Installing patch (2.7.6-r7) [2023-05-15T22:38:22.294Z] (19/62) Installing build-base (0.5-r3) [2023-05-15T22:38:22.294Z] (20/62) Installing libacl (2.3.1-r0) [2023-05-15T22:38:22.294Z] (21/62) Installing libbz2 (1.0.8-r1) [2023-05-15T22:38:22.294Z] (22/62) Installing expat (2.5.0-r0) [2023-05-15T22:38:22.555Z] (23/62) Installing lz4-libs (1.9.3-r1) [2023-05-15T22:38:22.555Z] (24/62) Installing xz-libs (5.2.5-r1) [2023-05-15T22:38:22.555Z] (25/62) Installing zstd-libs (1.5.2-r1) [2023-05-15T22:38:22.555Z] (26/62) Installing libarchive (3.6.1-r1) [2023-05-15T22:38:22.555Z] (27/62) Installing ca-certificates (20230506-r0) [2023-05-15T22:38:22.555Z] (28/62) Installing brotli-libs (1.0.9-r6) [2023-05-15T22:38:22.555Z] (29/62) Installing nghttp2-libs (1.47.0-r0) [2023-05-15T22:38:22.555Z] (30/62) Installing libcurl (8.0.1-r0) [2023-05-15T22:38:22.555Z] (31/62) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-05-15T22:38:22.555Z] (32/62) Installing ncurses-libs (6.3_p20220521-r0) [2023-05-15T22:38:22.555Z] (33/62) Installing rhash-libs (1.4.2-r2) [2023-05-15T22:38:22.555Z] (34/62) Installing libuv (1.44.1-r0) [2023-05-15T22:38:22.555Z] (35/62) Installing cmake (3.23.5-r0) [2023-05-15T22:38:23.125Z] (36/62) Installing pkgconf (1.8.1-r0) [2023-05-15T22:38:23.125Z] (37/62) Installing openssl-dev (1.1.1t-r2) [2023-05-15T22:38:23.125Z] (38/62) Installing nghttp2-dev (1.47.0-r0) [2023-05-15T22:38:23.125Z] (39/62) Installing zlib-dev (1.2.12-r3) [2023-05-15T22:38:23.125Z] (40/62) Installing brotli-dev (1.0.9-r6) [2023-05-15T22:38:23.125Z] (41/62) Installing curl-dev (8.0.1-r0) [2023-05-15T22:38:23.125Z] (42/62) Installing pcre2 (10.40-r0) [2023-05-15T22:38:23.125Z] (43/62) Installing git (2.36.6-r0) [2023-05-15T22:38:23.125Z] (44/62) Installing nettle (3.7.3-r0) [2023-05-15T22:38:23.125Z] (45/62) Installing libffi (3.4.2-r1) [2023-05-15T22:38:23.125Z] (46/62) Installing p11-kit (0.24.1-r0) [2023-05-15T22:38:23.125Z] (47/62) Installing libtasn1 (4.18.0-r1) [2023-05-15T22:38:23.385Z] (48/62) Installing libunistring (1.0-r0) [2023-05-15T22:38:23.385Z] (49/62) Installing gnutls (3.7.7-r1) [2023-05-15T22:38:23.385Z] (50/62) Installing libmicrohttpd (0.9.75-r0) [2023-05-15T22:38:23.385Z] (51/62) Installing gnutls-c++ (3.7.7-r1) [2023-05-15T22:38:23.385Z] (52/62) Installing libgmpxx (6.2.1-r2) [2023-05-15T22:38:23.385Z] (53/62) Installing gmp-dev (6.2.1-r2) [2023-05-15T22:38:23.385Z] (54/62) Installing nettle-dev (3.7.3-r0) [2023-05-15T22:38:23.652Z] (55/62) Installing libtasn1-progs (4.18.0-r1) [2023-05-15T22:38:23.652Z] (56/62) Installing libtasn1-dev (4.18.0-r1) [2023-05-15T22:38:23.652Z] (57/62) Installing p11-kit-dev (0.24.1-r0) [2023-05-15T22:38:23.652Z] (58/62) Installing gnutls-dev (3.7.7-r1) [2023-05-15T22:38:23.912Z] (59/62) Installing libmicrohttpd-dev (0.9.75-r0) [2023-05-15T22:38:23.912Z] (60/62) Installing linux-headers (5.16.7-r1) [2023-05-15T22:38:23.912Z] (61/62) Installing yaml (0.2.5-r0) [2023-05-15T22:38:23.912Z] (62/62) Installing yaml-dev (0.2.5-r0) [2023-05-15T22:38:23.912Z] Executing busybox-1.35.0-r17.trigger [2023-05-15T22:38:23.912Z] Executing ca-certificates-20230506-r0.trigger [2023-05-15T22:38:23.912Z] OK: 273 MiB in 76 packages [2023-05-15T22:38:24.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-15T22:38:24.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-15T22:38:24.434Z] (1/1) Upgrading ca-certificates-bundle (20220614-r0 -> 20230506-r0) [2023-05-15T22:38:24.434Z] Executing ca-certificates-20230506-r0.trigger [2023-05-15T22:38:24.434Z] OK: 273 MiB in 76 packages [2023-05-15T22:38:31.031Z] Removing intermediate container 003106caa686 [2023-05-15T22:38:31.031Z] ---> 6913b8e7fd68 [2023-05-15T22:38:31.031Z] Step 4/5 : LABEL arch=amd64 [2023-05-15T22:38:31.032Z] ---> Running in ed77be95b4fb [2023-05-15T22:38:31.032Z] Removing intermediate container ed77be95b4fb [2023-05-15T22:38:31.032Z] ---> 2e168d52f792 [2023-05-15T22:38:31.032Z] Step 5/5 : LABEL git_sha=e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [2023-05-15T22:38:31.032Z] ---> Running in ff09e4e814de [2023-05-15T22:38:31.032Z] Removing intermediate container ff09e4e814de [2023-05-15T22:38:31.032Z] ---> e83ffa357ff4 [2023-05-15T22:38:31.032Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-15T22:38:31.032Z] Successfully built e83ffa357ff4 [2023-05-15T22:38:31.032Z] 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 [2023-05-15T22:38:31.133Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base with the following tags: [2023-05-15T22:38:31.134Z] e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [2023-05-15T22:38:31.134Z] latest [2023-05-15T22:38:31.134Z] gcc [2023-05-15T22:38:31.134Z] 15 [2023-05-15T22:38:31.134Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:38:31.442Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:38:31.750Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [2023-05-15T22:38:31.750Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2023-05-15T22:38:31.750Z] 0e6a37334b9d: Preparing [2023-05-15T22:38:31.750Z] 5bc340f6d4f5: Preparing [2023-05-15T22:38:31.750Z] 5bc340f6d4f5: Layer already exists [2023-05-15T22:38:32.062Z] Still waiting to schedule task [2023-05-15T22:38:32.062Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-15T22:39:05.541Z] 0e6a37334b9d: Pushed [2023-05-15T22:39:05.541Z] e3d0a43e9674deeada2b07a855cc9a8eaf1f9647: digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:39:05.859Z] + 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 [2023-05-15T22:39:06.167Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-15T22:39:06.167Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2023-05-15T22:39:06.167Z] 0e6a37334b9d: Preparing [2023-05-15T22:39:06.167Z] 5bc340f6d4f5: Preparing [2023-05-15T22:39:06.167Z] 5bc340f6d4f5: Layer already exists [2023-05-15T22:39:06.167Z] 0e6a37334b9d: Layer already exists [2023-05-15T22:39:06.167Z] latest: digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:39:06.481Z] + 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 [2023-05-15T22:39:06.784Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2023-05-15T22:39:06.784Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2023-05-15T22:39:06.784Z] 0e6a37334b9d: Preparing [2023-05-15T22:39:06.784Z] 5bc340f6d4f5: Preparing [2023-05-15T22:39:06.784Z] 5bc340f6d4f5: Layer already exists [2023-05-15T22:39:06.784Z] 0e6a37334b9d: Layer already exists [2023-05-15T22:39:06.784Z] gcc: digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:39:07.096Z] + docker tag edgex-devops/edgex-gcc-base nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:39:07.397Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:15 [2023-05-15T22:39:07.397Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base] [2023-05-15T22:39:07.397Z] 0e6a37334b9d: Preparing [2023-05-15T22:39:07.397Z] 5bc340f6d4f5: Preparing [2023-05-15T22:39:07.397Z] 5bc340f6d4f5: Layer already exists [2023-05-15T22:39:07.397Z] 0e6a37334b9d: Layer already exists [2023-05-15T22:39:07.397Z] 15: digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-15T22:39:07.431Z] ===================================================== [Pipeline] echo [2023-05-15T22:39:07.437Z] taggedImages: [2023-05-15T22:39:07.437Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [2023-05-15T22:39:07.437Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-15T22:39:07.437Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:gcc [2023-05-15T22:39:07.437Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:15 [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 [2023-05-15T22:39:07.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-15T22:39:07.802Z] [2023-05-15T22:39:07.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:39:08.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-15T22:39:08.103Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-15T22:39:08.103Z] 5eb5b503b376: Pulling fs layer [2023-05-15T22:39:08.103Z] 5c69ac0246d0: Pulling fs layer [2023-05-15T22:39:08.103Z] ec43610c2a17: Pulling fs layer [2023-05-15T22:39:08.103Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-15T22:39:08.103Z] 33b1e0a273af: Pulling fs layer [2023-05-15T22:39:08.103Z] 5d3b04190fa2: Pulling fs layer [2023-05-15T22:39:08.103Z] 2f39f015ded8: Pulling fs layer [2023-05-15T22:39:08.103Z] 3a2ae6a8a46f: Waiting [2023-05-15T22:39:08.103Z] 33b1e0a273af: Waiting [2023-05-15T22:39:08.103Z] 5d3b04190fa2: Waiting [2023-05-15T22:39:08.103Z] 2f39f015ded8: Waiting [2023-05-15T22:39:08.103Z] 5c69ac0246d0: Download complete [2023-05-15T22:39:08.103Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-15T22:39:08.103Z] 3a2ae6a8a46f: Download complete [2023-05-15T22:39:08.103Z] 33b1e0a273af: Verifying Checksum [2023-05-15T22:39:08.103Z] 33b1e0a273af: Download complete [2023-05-15T22:39:08.103Z] 5d3b04190fa2: Verifying Checksum [2023-05-15T22:39:08.103Z] 5d3b04190fa2: Download complete [2023-05-15T22:39:08.363Z] ec43610c2a17: Verifying Checksum [2023-05-15T22:39:08.363Z] ec43610c2a17: Download complete [2023-05-15T22:39:08.363Z] 5eb5b503b376: Verifying Checksum [2023-05-15T22:39:08.363Z] 5eb5b503b376: Download complete [2023-05-15T22:39:08.930Z] 2f39f015ded8: Download complete [2023-05-15T22:39:09.498Z] 5eb5b503b376: Pull complete [2023-05-15T22:39:09.757Z] 5c69ac0246d0: Pull complete [2023-05-15T22:39:10.325Z] ec43610c2a17: Pull complete [2023-05-15T22:39:10.325Z] 3a2ae6a8a46f: Pull complete [2023-05-15T22:39:10.585Z] 33b1e0a273af: Pull complete [2023-05-15T22:39:10.585Z] 5d3b04190fa2: Pull complete [2023-05-15T22:39:15.873Z] 2f39f015ded8: Pull complete [2023-05-15T22:39:15.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-15T22:39:15.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-15T22:39:15.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T22:39:15.985Z] prd-ubuntu20.04-docker-8c-8g-15468 does not seem to be running inside a container [2023-05-15T22:39:16.026Z] $ 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:latest cat [2023-05-15T22:39:18.757Z] $ docker top f9a13a56a202d18f5438accfe214d3ea743576e66c1230bc7c362bfb95343e02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:39:19.165Z] ---> job-cost.sh [2023-05-15T22:39:19.165Z] lf-activate-venv: SKIPPING [2023-05-15T22:39:19.165Z] INFO: No Stack... [2023-05-15T22:39:19.426Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-15T22:39:19.996Z] INFO: Archiving Costs [Pipeline] sh [2023-05-15T22:39:20.283Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2023-05-15T22:39:20.283Z] + cut -d, -f6 [Pipeline] lock [2023-05-15T22:39:20.312Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-15-stack-cost] [2023-05-15T22:39:20.325Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-15-stack-cost] did not exist. Created. [2023-05-15T22:39:20.326Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-15T22:39:20.623Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-15T22:39:20.816Z] Stashed 1 file(s) [Pipeline] } [2023-05-15T22:39:20.824Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-15T22:39:20.844Z] $ docker stop --time=1 f9a13a56a202d18f5438accfe214d3ea743576e66c1230bc7c362bfb95343e02 [2023-05-15T22:39:22.012Z] $ docker rm -f --volumes f9a13a56a202d18f5438accfe214d3ea743576e66c1230bc7c362bfb95343e02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-15T22:40:09.510Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15469 in /w/workspace/edgexfoundry_ci-build-images_gcc [Pipeline] { [Pipeline] checkout [2023-05-15T22:40:09.547Z] Selected Git installation does not exist. Using Default [2023-05-15T22:40:09.547Z] The recommended git tool is: NONE [2023-05-15T22:40:15.205Z] using credential edgex-jenkins-ssh [2023-05-15T22:40:15.225Z] Cloning the remote Git repository [2023-05-15T22:40:15.269Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2023-05-15T22:40:15.368Z] > git init /w/workspace/edgexfoundry_ci-build-images_gcc # timeout=10 [2023-05-15T22:40:15.536Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2023-05-15T22:40:15.538Z] > git --version # timeout=10 [2023-05-15T22:40:15.563Z] > git --version # 'git version 2.25.1' [2023-05-15T22:40:15.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-15T22:40:15.717Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-15T22:40:16.363Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2023-05-15T22:40:16.390Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-15T22:40:17.309Z] Avoid second fetch [2023-05-15T22:40:17.310Z] Checking out Revision e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 (gcc) [2023-05-15T22:40:17.869Z] Commit message: "Merge pull request #202 from ernestojeda/gcc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-15T22:40:17.327Z] > git config core.sparsecheckout # timeout=10 [2023-05-15T22:40:17.405Z] > git checkout -f e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 # timeout=10 [2023-05-15T22:40:18.960Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-15T22:40:18.960Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-15T22:40:18.960Z] Dload Upload Total Spent Left Speed [2023-05-15T22:40:18.960Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 75445 0 --:--:-- --:--:-- --:--:-- 75445 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-05-15T22:40:19.584Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-15T22:40:19.932Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-15T22:40:19.932Z] + sudo tee /etc/docker/daemon.new [2023-05-15T22:40:19.932Z] { [2023-05-15T22:40:19.932Z] "registry-mirrors": [ [2023-05-15T22:40:19.932Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-15T22:40:19.932Z] ], [2023-05-15T22:40:19.932Z] "bip": "10.250.0.254/24", [2023-05-15T22:40:19.932Z] "hosts": [ [2023-05-15T22:40:19.932Z] "tcp://0.0.0.0:5555", [2023-05-15T22:40:19.932Z] "unix:///var/run/docker.sock" [2023-05-15T22:40:19.932Z] ], [2023-05-15T22:40:19.932Z] "mtu": 1458, [2023-05-15T22:40:19.932Z] "selinux-enabled": true, [2023-05-15T22:40:19.932Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-15T22:40:19.932Z] } [Pipeline] sh [2023-05-15T22:40:20.262Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-15T22:40:20.595Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-15T22:40:38.862Z] provisioning config files... [2023-05-15T22:40:38.888Z] copy managed file [ci-build-images-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config10540771177262002460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:40:39.240Z] ---> docker-login.sh [2023-05-15T22:40:39.240Z] nexus3.edgexfoundry.org:10001 [2023-05-15T22:40:39.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:40:39.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:40:39.828Z] Configure a credential helper to remove this warning. See [2023-05-15T22:40:39.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:40:39.828Z] [2023-05-15T22:40:39.828Z] Login Succeeded [2023-05-15T22:40:39.828Z] nexus3.edgexfoundry.org:10002 [2023-05-15T22:40:40.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:40:40.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:40:40.370Z] Configure a credential helper to remove this warning. See [2023-05-15T22:40:40.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:40:40.370Z] [2023-05-15T22:40:40.370Z] Login Succeeded [2023-05-15T22:40:40.370Z] nexus3.edgexfoundry.org:10003 [2023-05-15T22:40:40.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:40:40.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:40:40.643Z] Configure a credential helper to remove this warning. See [2023-05-15T22:40:40.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:40:40.643Z] [2023-05-15T22:40:40.643Z] Login Succeeded [2023-05-15T22:40:40.643Z] nexus3.edgexfoundry.org:10004 [2023-05-15T22:40:40.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:40:40.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:40:40.917Z] Configure a credential helper to remove this warning. See [2023-05-15T22:40:40.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:40:40.917Z] [2023-05-15T22:40:40.917Z] Login Succeeded [2023-05-15T22:40:40.917Z] docker.io [2023-05-15T22:40:41.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T22:40:41.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T22:40:41.459Z] Configure a credential helper to remove this warning. See [2023-05-15T22:40:41.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T22:40:41.459Z] [2023-05-15T22:40:41.459Z] Login Succeeded [2023-05-15T22:40:41.459Z] ---> docker-login.sh ends [Pipeline] } [2023-05-15T22:40:41.475Z] 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 [2023-05-15T22:40:41.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-15T22:40:42.222Z] + ls -al . [2023-05-15T22:40:42.222Z] total 20 [2023-05-15T22:40:42.222Z] drwxrwxr-x 3 jenkins jenkins 4096 May 15 22:40 . [2023-05-15T22:40:42.222Z] drwxrwxr-x 4 jenkins jenkins 4096 May 15 22:40 .. [2023-05-15T22:40:42.222Z] drwxrwxr-x 8 jenkins jenkins 4096 May 15 22:40 .git [2023-05-15T22:40:42.222Z] -rw-rw-r-- 1 jenkins jenkins 332 May 15 22:40 Dockerfile [2023-05-15T22:40:42.222Z] -rw-rw-r-- 1 jenkins jenkins 883 May 15 22:40 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:40:42.570Z] + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 --label arch=arm64 . [2023-05-15T22:40:42.841Z] Sending build context to Docker daemon 446kB [2023-05-15T22:40:42.841Z] Step 1/5 : FROM alpine:3.16 [2023-05-15T22:40:43.427Z] 3.16: Pulling from library/alpine [2023-05-15T22:40:43.427Z] 547446be3368: Pulling fs layer [2023-05-15T22:40:43.697Z] 547446be3368: Verifying Checksum [2023-05-15T22:40:43.697Z] 547446be3368: Download complete [2023-05-15T22:40:44.286Z] 547446be3368: Pull complete [2023-05-15T22:40:44.286Z] Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f [2023-05-15T22:40:44.286Z] Status: Downloaded newer image for alpine:3.16 [2023-05-15T22:40:44.286Z] ---> 3b5033019969 [2023-05-15T22:40:44.286Z] Step 2/5 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-15T22:40:44.286Z] ---> Running in 5a3e564835b2 [2023-05-15T22:40:44.566Z] Removing intermediate container 5a3e564835b2 [2023-05-15T22:40:44.566Z] ---> 0aadb285f59b [2023-05-15T22:40:44.566Z] Step 3/5 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev && apk upgrade [2023-05-15T22:40:44.566Z] ---> Running in 958a42ba6499 [2023-05-15T22:40:45.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-15T22:40:45.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-15T22:40:46.951Z] (1/62) Installing libgcc (11.2.1_git20220219-r2) [2023-05-15T22:40:46.951Z] (2/62) Installing libstdc++ (11.2.1_git20220219-r2) [2023-05-15T22:40:46.951Z] (3/62) Installing binutils (2.38-r3) [2023-05-15T22:40:47.221Z] (4/62) Installing libmagic (5.41-r0) [2023-05-15T22:40:47.221Z] (5/62) Installing file (5.41-r0) [2023-05-15T22:40:47.221Z] (6/62) Installing libgomp (11.2.1_git20220219-r2) [2023-05-15T22:40:47.221Z] (7/62) Installing libatomic (11.2.1_git20220219-r2) [2023-05-15T22:40:47.221Z] (8/62) Installing gmp (6.2.1-r2) [2023-05-15T22:40:47.490Z] (9/62) Installing isl22 (0.22-r0) [2023-05-15T22:40:47.490Z] (10/62) Installing mpfr4 (4.1.0-r0) [2023-05-15T22:40:47.490Z] (11/62) Installing mpc1 (1.2.1-r0) [2023-05-15T22:40:47.490Z] (12/62) Installing gcc (11.2.1_git20220219-r2) [2023-05-15T22:40:49.443Z] (13/62) Installing musl-dev (1.2.3-r2) [2023-05-15T22:40:49.720Z] (14/62) Installing libc-dev (0.7.2-r3) [2023-05-15T22:40:49.720Z] (15/62) Installing g++ (11.2.1_git20220219-r2) [2023-05-15T22:40:51.139Z] (16/62) Installing make (4.3-r0) [2023-05-15T22:40:51.139Z] (17/62) Installing fortify-headers (1.1-r1) [2023-05-15T22:40:51.139Z] (18/62) Installing patch (2.7.6-r7) [2023-05-15T22:40:51.139Z] (19/62) Installing build-base (0.5-r3) [2023-05-15T22:40:51.139Z] (20/62) Installing libacl (2.3.1-r0) [2023-05-15T22:40:51.139Z] (21/62) Installing libbz2 (1.0.8-r1) [2023-05-15T22:40:51.139Z] (22/62) Installing expat (2.5.0-r0) [2023-05-15T22:40:51.139Z] (23/62) Installing lz4-libs (1.9.3-r1) [2023-05-15T22:40:51.139Z] (24/62) Installing xz-libs (5.2.5-r1) [2023-05-15T22:40:51.409Z] (25/62) Installing zstd-libs (1.5.2-r1) [2023-05-15T22:40:51.409Z] (26/62) Installing libarchive (3.6.1-r1) [2023-05-15T22:40:51.409Z] (27/62) Installing ca-certificates (20230506-r0) [2023-05-15T22:40:51.409Z] (28/62) Installing brotli-libs (1.0.9-r6) [2023-05-15T22:40:51.409Z] (29/62) Installing nghttp2-libs (1.47.0-r0) [2023-05-15T22:40:51.409Z] (30/62) Installing libcurl (8.0.1-r0) [2023-05-15T22:40:51.409Z] (31/62) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-05-15T22:40:51.409Z] (32/62) Installing ncurses-libs (6.3_p20220521-r0) [2023-05-15T22:40:51.409Z] (33/62) Installing rhash-libs (1.4.2-r2) [2023-05-15T22:40:51.409Z] (34/62) Installing libuv (1.44.1-r0) [2023-05-15T22:40:51.409Z] (35/62) Installing cmake (3.23.5-r0) [2023-05-15T22:40:54.003Z] (36/62) Installing pkgconf (1.8.1-r0) [2023-05-15T22:40:54.003Z] (37/62) Installing openssl-dev (1.1.1t-r2) [2023-05-15T22:40:54.003Z] (38/62) Installing nghttp2-dev (1.47.0-r0) [2023-05-15T22:40:54.003Z] (39/62) Installing zlib-dev (1.2.12-r3) [2023-05-15T22:40:54.003Z] (40/62) Installing brotli-dev (1.0.9-r6) [2023-05-15T22:40:54.003Z] (41/62) Installing curl-dev (8.0.1-r0) [2023-05-15T22:40:54.003Z] (42/62) Installing pcre2 (10.40-r0) [2023-05-15T22:40:54.003Z] (43/62) Installing git (2.36.6-r0) [2023-05-15T22:40:54.003Z] (44/62) Installing nettle (3.7.3-r0) [2023-05-15T22:40:54.271Z] (45/62) Installing libffi (3.4.2-r1) [2023-05-15T22:40:54.271Z] (46/62) Installing p11-kit (0.24.1-r0) [2023-05-15T22:40:54.271Z] (47/62) Installing libtasn1 (4.18.0-r1) [2023-05-15T22:40:54.271Z] (48/62) Installing libunistring (1.0-r0) [2023-05-15T22:40:54.271Z] (49/62) Installing gnutls (3.7.7-r1) [2023-05-15T22:40:54.271Z] (50/62) Installing libmicrohttpd (0.9.75-r0) [2023-05-15T22:40:54.271Z] (51/62) Installing gnutls-c++ (3.7.7-r1) [2023-05-15T22:40:54.271Z] (52/62) Installing libgmpxx (6.2.1-r2) [2023-05-15T22:40:54.271Z] (53/62) Installing gmp-dev (6.2.1-r2) [2023-05-15T22:40:54.271Z] (54/62) Installing nettle-dev (3.7.3-r0) [2023-05-15T22:40:54.271Z] (55/62) Installing libtasn1-progs (4.18.0-r1) [2023-05-15T22:40:54.542Z] (56/62) Installing libtasn1-dev (4.18.0-r1) [2023-05-15T22:40:54.542Z] (57/62) Installing p11-kit-dev (0.24.1-r0) [2023-05-15T22:40:54.542Z] (58/62) Installing gnutls-dev (3.7.7-r1) [2023-05-15T22:40:54.542Z] (59/62) Installing libmicrohttpd-dev (0.9.75-r0) [2023-05-15T22:40:54.542Z] (60/62) Installing linux-headers (5.16.7-r1) [2023-05-15T22:40:55.129Z] (61/62) Installing yaml (0.2.5-r0) [2023-05-15T22:40:55.129Z] (62/62) Installing yaml-dev (0.2.5-r0) [2023-05-15T22:40:55.129Z] Executing busybox-1.35.0-r17.trigger [2023-05-15T22:40:55.129Z] Executing ca-certificates-20230506-r0.trigger [2023-05-15T22:40:55.401Z] OK: 279 MiB in 76 packages [2023-05-15T22:40:55.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-15T22:40:55.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-15T22:40:56.901Z] (1/1) Upgrading ca-certificates-bundle (20220614-r0 -> 20230506-r0) [2023-05-15T22:40:56.901Z] Executing ca-certificates-20230506-r0.trigger [2023-05-15T22:40:56.901Z] OK: 279 MiB in 76 packages [2023-05-15T22:41:09.220Z] Removing intermediate container 958a42ba6499 [2023-05-15T22:41:09.220Z] ---> 25e5aeca7505 [2023-05-15T22:41:09.220Z] Step 4/5 : LABEL arch=arm64 [2023-05-15T22:41:09.220Z] ---> Running in 4f5e0227b4f6 [2023-05-15T22:41:09.220Z] Removing intermediate container 4f5e0227b4f6 [2023-05-15T22:41:09.220Z] ---> 9b54b91a430f [2023-05-15T22:41:09.220Z] Step 5/5 : LABEL git_sha=e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [2023-05-15T22:41:09.220Z] ---> Running in 76a44d7c9b1c [2023-05-15T22:41:09.220Z] Removing intermediate container 76a44d7c9b1c [2023-05-15T22:41:09.220Z] ---> 295cd00e64f4 [2023-05-15T22:41:09.220Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-15T22:41:09.220Z] Successfully built 295cd00e64f4 [2023-05-15T22:41:09.220Z] 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 [2023-05-15T22:41:09.348Z] [edgeXDocker.push] Tagging docker image edgex-gcc-base-arm64 with the following tags: [2023-05-15T22:41:09.348Z] e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [2023-05-15T22:41:09.348Z] latest [2023-05-15T22:41:09.348Z] gcc [2023-05-15T22:41:09.348Z] 15 [2023-05-15T22:41:09.348Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:41:09.702Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:41:10.128Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [2023-05-15T22:41:10.128Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2023-05-15T22:41:10.128Z] 3d3642417570: Preparing [2023-05-15T22:41:10.128Z] dc65b23a4b7c: Preparing [2023-05-15T22:41:10.128Z] dc65b23a4b7c: Layer already exists [2023-05-15T22:42:06.541Z] 3d3642417570: Pushed [2023-05-15T22:42:06.541Z] e3d0a43e9674deeada2b07a855cc9a8eaf1f9647: digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:42:06.892Z] + 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 [2023-05-15T22:42:07.238Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-15T22:42:07.238Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2023-05-15T22:42:07.238Z] 3d3642417570: Preparing [2023-05-15T22:42:07.238Z] dc65b23a4b7c: Preparing [2023-05-15T22:42:07.238Z] dc65b23a4b7c: Layer already exists [2023-05-15T22:42:07.238Z] 3d3642417570: Layer already exists [2023-05-15T22:42:07.238Z] latest: digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:42:07.586Z] + 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 [2023-05-15T22:42:07.937Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2023-05-15T22:42:07.937Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2023-05-15T22:42:07.937Z] 3d3642417570: Preparing [2023-05-15T22:42:07.937Z] dc65b23a4b7c: Preparing [2023-05-15T22:42:07.937Z] dc65b23a4b7c: Layer already exists [2023-05-15T22:42:07.937Z] 3d3642417570: Layer already exists [2023-05-15T22:42:07.937Z] gcc: digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:42:08.425Z] + docker tag edgex-devops/edgex-gcc-base-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:42:08.762Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:15 [2023-05-15T22:42:08.762Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64] [2023-05-15T22:42:08.762Z] 3d3642417570: Preparing [2023-05-15T22:42:08.762Z] dc65b23a4b7c: Preparing [2023-05-15T22:42:08.762Z] dc65b23a4b7c: Layer already exists [2023-05-15T22:42:08.762Z] 3d3642417570: Layer already exists [2023-05-15T22:42:08.762Z] 15: digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe size: 740 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-15T22:42:08.801Z] ===================================================== [Pipeline] echo [2023-05-15T22:42:08.806Z] taggedImages: [2023-05-15T22:42:08.806Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:e3d0a43e9674deeada2b07a855cc9a8eaf1f9647 [2023-05-15T22:42:08.806Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-15T22:42:08.806Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:gcc [2023-05-15T22:42:08.806Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:15 [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 [2023-05-15T22:42:09.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-15T22:42:09.176Z] [2023-05-15T22:42:09.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:42:09.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-15T22:42:09.514Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-15T22:42:09.514Z] 8998bd30e6a1: Pulling fs layer [2023-05-15T22:42:09.514Z] 04944245beec: Pulling fs layer [2023-05-15T22:42:09.514Z] 699f458cf7ca: Pulling fs layer [2023-05-15T22:42:09.514Z] 765212b225bb: Pulling fs layer [2023-05-15T22:42:09.514Z] f23df028b6ca: Pulling fs layer [2023-05-15T22:42:09.514Z] 765212b225bb: Waiting [2023-05-15T22:42:09.514Z] f23df028b6ca: Waiting [2023-05-15T22:42:09.515Z] d65c8cfc05b1: Pulling fs layer [2023-05-15T22:42:09.515Z] 2437ff75d9bd: Pulling fs layer [2023-05-15T22:42:09.515Z] d65c8cfc05b1: Waiting [2023-05-15T22:42:09.515Z] 2437ff75d9bd: Waiting [2023-05-15T22:42:09.789Z] 04944245beec: Verifying Checksum [2023-05-15T22:42:09.789Z] 04944245beec: Download complete [2023-05-15T22:42:09.789Z] 765212b225bb: Verifying Checksum [2023-05-15T22:42:09.789Z] 765212b225bb: Download complete [2023-05-15T22:42:09.789Z] f23df028b6ca: Verifying Checksum [2023-05-15T22:42:09.789Z] f23df028b6ca: Download complete [2023-05-15T22:42:09.789Z] d65c8cfc05b1: Verifying Checksum [2023-05-15T22:42:09.789Z] d65c8cfc05b1: Download complete [2023-05-15T22:42:09.789Z] 699f458cf7ca: Verifying Checksum [2023-05-15T22:42:09.789Z] 699f458cf7ca: Download complete [2023-05-15T22:42:10.376Z] 8998bd30e6a1: Verifying Checksum [2023-05-15T22:42:10.376Z] 8998bd30e6a1: Download complete [2023-05-15T22:42:12.332Z] 2437ff75d9bd: Verifying Checksum [2023-05-15T22:42:12.332Z] 2437ff75d9bd: Download complete [2023-05-15T22:42:14.280Z] 8998bd30e6a1: Pull complete [2023-05-15T22:42:16.883Z] 04944245beec: Pull complete [2023-05-15T22:42:17.846Z] 699f458cf7ca: Pull complete [2023-05-15T22:42:18.114Z] 765212b225bb: Pull complete [2023-05-15T22:42:18.701Z] f23df028b6ca: Pull complete [2023-05-15T22:42:18.969Z] d65c8cfc05b1: Pull complete [2023-05-15T22:42:33.987Z] 2437ff75d9bd: Pull complete [2023-05-15T22:42:33.987Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-15T22:42:33.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-15T22:42:33.987Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T22:42:34.240Z] prd-ubuntu20.04-docker-arm64-4c-16g-15469 does not seem to be running inside a container [2023-05-15T22:42:34.310Z] $ 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 [2023-05-15T22:42:36.810Z] $ docker top c84d5eca5be1f624c519e4e21238758ca9dc21ae7ef7fa343877468311878f92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:42:37.327Z] ---> job-cost.sh [2023-05-15T22:42:37.597Z] lf-activate-venv: SKIPPING [2023-05-15T22:42:37.597Z] INFO: No Stack... [2023-05-15T22:42:37.861Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-15T22:42:38.817Z] INFO: Archiving Costs [Pipeline] sh [2023-05-15T22:42:39.138Z] + cat /w/workspace/edgexfoundry_ci-build-images_gcc/archives/cost.csv [2023-05-15T22:42:39.139Z] + cut -d, -f6 [Pipeline] lock [2023-05-15T22:42:39.469Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-gcc-15-stack-cost] [2023-05-15T22:42:39.476Z] Resource [jenkins-edgexfoundry-ci-build-images-gcc-15-stack-cost] did not exist. Created. [2023-05-15T22:42:39.476Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-gcc-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-15T22:42:39.967Z] /w/workspace/edgexfoundry_ci-build-images_gcc@tmp/durable-3b9a5931/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-15T22:42:40.302Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-15T22:42:40.323Z] Warning: overwriting stash ‘stack-cost’ [2023-05-15T22:42:40.688Z] Stashed 1 file(s) [Pipeline] } [2023-05-15T22:42:40.698Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-gcc-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-15T22:42:40.718Z] $ docker stop --time=1 c84d5eca5be1f624c519e4e21238758ca9dc21ae7ef7fa343877468311878f92 [2023-05-15T22:42:44.511Z] $ docker rm -f --volumes c84d5eca5be1f624c519e4e21238758ca9dc21ae7ef7fa343877468311878f92 [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 [2023-05-15T22:42:45.242Z] + [ -d /w/workspace/edgexfoundry_ci-build-images_gcc/archives ] [2023-05-15T22:42:45.242Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2023-05-15T22:42:45.242Z] total 16 [2023-05-15T22:42:45.242Z] drwxr-xr-x 3 root root 4096 May 15 22:39 . [2023-05-15T22:42:45.242Z] drwxrwxr-x 4 jenkins jenkins 4096 May 15 22:39 .. [2023-05-15T22:42:45.242Z] drwxr-xr-x 2 root root 4096 May 15 22:39 cost [2023-05-15T22:42:45.242Z] -rw-r--r-- 1 root root 85 May 15 22:39 cost.csv [2023-05-15T22:42:45.242Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2023-05-15T22:42:45.242Z] + ls -al /w/workspace/edgexfoundry_ci-build-images_gcc/archives [2023-05-15T22:42:45.242Z] total 16 [2023-05-15T22:42:45.242Z] drwxr-xr-x 3 jenkins jenkins 4096 May 15 22:39 . [2023-05-15T22:42:45.242Z] drwxrwxr-x 4 jenkins jenkins 4096 May 15 22:39 .. [2023-05-15T22:42:45.242Z] drwxr-xr-x 2 jenkins jenkins 4096 May 15 22:39 cost [2023-05-15T22:42:45.242Z] -rw-r--r-- 1 jenkins jenkins 85 May 15 22:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:42:45.538Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:42:46.405Z] ---> package-listing.sh [2023-05-15T22:42:46.405Z] ++ facter osfamily [2023-05-15T22:42:46.405Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-15T22:42:46.666Z] + OS_FAMILY=debian [2023-05-15T22:42:46.666Z] + workspace=/w/workspace/edgexfoundry_ci-build-images_gcc [2023-05-15T22:42:46.666Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-15T22:42:46.666Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-15T22:42:46.666Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-15T22:42:46.666Z] + PACKAGES=/tmp/packages_start.txt [2023-05-15T22:42:46.666Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2023-05-15T22:42:46.666Z] + PACKAGES=/tmp/packages_end.txt [2023-05-15T22:42:46.666Z] + case "${OS_FAMILY}" in [2023-05-15T22:42:46.666Z] + dpkg -l [2023-05-15T22:42:46.666Z] + grep '^ii' [2023-05-15T22:42:46.666Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-15T22:42:46.666Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-15T22:42:46.666Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-15T22:42:46.666Z] + '[' /w/workspace/edgexfoundry_ci-build-images_gcc ']' [2023-05-15T22:42:46.666Z] + mkdir -p /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [2023-05-15T22:42:46.666Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_ci-build-images_gcc/archives/ [Pipeline] echo [2023-05-15T22:42:46.678Z] 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 [2023-05-15T22:42:46.962Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T22:42:47.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-15T22:42:47.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T22:42:47.599Z] prd-ubuntu20.04-docker-8c-8g-15468 does not seem to be running inside a container [2023-05-15T22:42:47.633Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-15T22:42:47.835Z] $ docker top 2ccc9d5e87824827443c456541fb3b0a9f42470a2e64836843d466e494feec95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-15T22:42:48.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-15T22:42:48.476Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-15T22:42:48.765Z] + ls /var/log/sa-host [2023-05-15T22:42:48.765Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-15T22:42:48.939Z] provisioning config files... [2023-05-15T22:42:48.949Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_ci-build-images_gcc@tmp/config13489327190676215141tmp [Pipeline] { [Pipeline] echo [2023-05-15T22:42:48.962Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:42:49.246Z] ---> create-netrc.sh [Pipeline] } [2023-05-15T22:42:49.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:42:49.578Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-15T22:42:49.588Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:42:49.872Z] ---> sudo-logs.sh [2023-05-15T22:42:49.872Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-15T22:42:49.918Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:42:50.204Z] ---> job-cost.sh [2023-05-15T22:42:50.204Z] lf-activate-venv: SKIPPING [2023-05-15T22:42:50.204Z] DEBUG: total: 0.2199999988079071 [2023-05-15T22:42:50.204Z] INFO: Retrieving Stack Cost... [2023-05-15T22:42:50.464Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-15T22:42:50.723Z] INFO: Archiving Costs [Pipeline] echo [2023-05-15T22:42:50.735Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T22:42:51.021Z] ---> logs-deploy.sh [2023-05-15T22:42:51.021Z] lf-activate-venv: SKIPPING [2023-05-15T22:42:51.021Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/gcc/15 [2023-05-15T22:42:51.021Z] INFO: archiving workspace using pattern(s): [2023-05-15T22:42:51.964Z] Archives upload complete. [2023-05-15T22:42:52.224Z] INFO: archiving logs to Nexus