Pull request #210 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from a42ae1c99325b83b3284b510c6e37dd8ed33d42b+cefdbfca2cd607d828298202a2a50e4487d1b950 (93dc77f6043a2506a032c59038ca208bd0904307) 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-ssh9413033454974694136.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh756887427599839514.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8091303684146274136.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16110446378926997760.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11229769026644292750.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh546238901120431710.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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:release, dockerTags:[lts], releaseBranchOverride:gcc-lts] ========================================================= [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: release 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-lts DOCKER_CUSTOM_TAGS: lts [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15372 in /w/workspace/exfoundry_ci-build-images_PR-210 [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/exfoundry_ci-build-images_PR-210 # 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 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/gcc-lts commit cefdbfca2cd607d828298202a2a50e4487d1b950 into PR head commit a42ae1c99325b83b3284b510c6e37dd8ed33d42b Merge succeeded, producing a42ae1c99325b83b3284b510c6e37dd8ed33d42b Checking out Revision a42ae1c99325b83b3284b510c6e37dd8ed33d42b (PR-210) > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/gcc-lts:refs/remotes/origin/gcc-lts # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a42ae1c99325b83b3284b510c6e37dd8ed33d42b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cefdbfca2cd607d828298202a2a50e4487d1b950 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a42ae1c99325b83b3284b510c6e37dd8ed33d42b # timeout=10 Commit message: "ci: move gcc-lts image to alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:23:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:23:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:23:06 ========================================================= 23:23:06 EdgeX Global Pipelines Version Info 23:23:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:23:07 ------------------- 23:23:07 stable info: 23:23:07 ------------------- 23:23:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:23:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:23:07 Message: update stable to v1.0.254 23:23:07 ------------------- 23:23:07 experimental info: 23:23:07 ------------------- 23:23:07 Commited By: **** collab-it+edgex@linuxfoundation.org 23:23:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:23:07 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = release [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc-lts [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = lts [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-210 [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-210 [Pipeline] echo 23:23:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-210 [Pipeline] echo 23:23:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a42ae1c99325b83b3284b510c6e37dd8ed33d42b [Pipeline] echo 23:23:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a42ae1c [Pipeline] echo 23:23:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:09 provisioning config files... 23:23:09 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-210@tmp/config13570434954712842496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:09 ---> docker-login.sh 23:23:09 nexus3.edgexfoundry.org:10001 23:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:10 Configure a credential helper to remove this warning. See 23:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:10 23:23:10 Login Succeeded 23:23:10 nexus3.edgexfoundry.org:10002 23:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:10 Configure a credential helper to remove this warning. See 23:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:10 23:23:10 Login Succeeded 23:23:10 nexus3.edgexfoundry.org:10003 23:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:11 Configure a credential helper to remove this warning. See 23:23:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:11 23:23:11 Login Succeeded 23:23:11 nexus3.edgexfoundry.org:10004 23:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:11 Configure a credential helper to remove this warning. See 23:23:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:11 23:23:11 Login Succeeded 23:23:11 docker.io 23:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:11 Configure a credential helper to remove this warning. See 23:23:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:11 23:23:11 Login Succeeded 23:23:11 ---> docker-login.sh ends [Pipeline] } 23:23:11 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 23:23:12 provisioning config files... 23:23:12 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-210@tmp/config9175669526022766039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:12 ---> docker-login.sh 23:23:12 nexus3.edgexfoundry.org:10001 23:23:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:12 Configure a credential helper to remove this warning. See 23:23:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:12 23:23:12 Login Succeeded 23:23:12 nexus3.edgexfoundry.org:10002 23:23:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:12 Configure a credential helper to remove this warning. See 23:23:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:12 23:23:12 Login Succeeded 23:23:12 nexus3.edgexfoundry.org:10003 23:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:13 Configure a credential helper to remove this warning. See 23:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:13 23:23:13 Login Succeeded 23:23:13 nexus3.edgexfoundry.org:10004 23:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:13 Configure a credential helper to remove this warning. See 23:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:13 23:23:13 Login Succeeded 23:23:13 docker.io 23:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:13 Configure a credential helper to remove this warning. See 23:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:13 23:23:13 Login Succeeded 23:23:13 ---> docker-login.sh ends [Pipeline] } 23:23:13 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 23:23:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:23:14 + ls -al . 23:23:14 total 20 23:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 23:23 . 23:23:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 23:23 .. 23:23:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 23:23 .git 23:23:14 -rw-rw-r-- 1 jenkins jenkins 401 Oct 30 23:23 Dockerfile 23:23:14 -rw-rw-r-- 1 jenkins jenkins 874 Oct 30 23:23 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:15 + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=a42ae1c99325b83b3284b510c6e37dd8ed33d42b --label arch=amd64 . 23:23:15 Sending build context to Docker daemon 464.4kB 23:23:15 Step 1/6 : FROM alpine:3.18 23:23:15 3.18: Pulling from library/alpine 23:23:16 96526aa774ef: Pulling fs layer 23:23:16 96526aa774ef: Verifying Checksum 23:23:16 96526aa774ef: Download complete 23:23:16 96526aa774ef: Pull complete 23:23:16 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:23:16 Status: Downloaded newer image for alpine:3.18 23:23:16 ---> 8ca4688f4f35 23:23:16 Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:23:17 ---> Running in b79787651261 23:23:18 Removing intermediate container b79787651261 23:23:18 ---> 93809ff8c9b7 23:23:18 Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:23:18 ---> Running in 2e7d668d0373 23:23:20 Removing intermediate container 2e7d668d0373 23:23:20 ---> ebf20fdf4959 23:23:20 Step 4/6 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev 23:23:20 ---> Running in 61a7ed110a4f 23:23:21 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:23:21 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:23:22 (1/70) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 23:23:22 (2/70) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r0) 23:23:23 (3/70) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r0) 23:23:24 (4/70) Installing libgcc (12.2.1_git20220924-r10) 23:23:24 (5/70) Installing libstdc++ (12.2.1_git20220924-r10) 23:23:24 (6/70) Installing zstd-libs (1.5.5-r4) 23:23:25 (7/70) Installing binutils (2.40-r7) 23:23:26 (8/70) Installing libmagic (5.45-r0) 23:23:26 (9/70) Installing file (5.45-r0) 23:23:26 (10/70) Installing libgomp (12.2.1_git20220924-r10) 23:23:27 (11/70) Installing libatomic (12.2.1_git20220924-r10) 23:23:27 Still waiting to schedule task 23:23:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:23:27 (12/70) Installing gmp (6.2.1-r3) 23:23:27 (13/70) Installing isl26 (0.26-r1) 23:23:28 (14/70) Installing mpfr4 (4.2.0_p12-r0) 23:23:28 (15/70) Installing mpc1 (1.3.1-r1) 23:23:29 (16/70) Installing gcc (12.2.1_git20220924-r10) 23:23:39 (17/70) Installing libstdc++-dev (12.2.1_git20220924-r10) 23:23:39 (18/70) Installing musl-dev (1.2.4-r2) 23:23:39 (19/70) Installing libc-dev (0.7.2-r5) 23:23:39 (20/70) Installing g++ (12.2.1_git20220924-r10) 23:23:40 (21/70) Installing make (4.4.1-r1) 23:23:40 (22/70) Installing fortify-headers (1.1-r3) 23:23:40 (23/70) Installing patch (2.7.6-r10) 23:23:41 (24/70) Installing build-base (0.5-r3) 23:23:41 (25/70) Installing libacl (2.3.1-r3) 23:23:41 (26/70) Installing libbz2 (1.0.8-r5) 23:23:42 (27/70) Installing libexpat (2.5.0-r1) 23:23:42 (28/70) Installing lz4-libs (1.9.4-r4) 23:23:42 (29/70) Installing xz-libs (5.4.3-r0) 23:23:43 (30/70) Installing libarchive (3.7.2-r0) 23:23:43 (31/70) Installing ca-certificates (20230506-r0) 23:23:44 (32/70) Installing brotli-libs (1.0.9-r14) 23:23:44 (33/70) Installing libunistring (1.1-r1) 23:23:44 (34/70) Installing libidn2 (2.3.4-r1) 23:23:45 (35/70) Installing nghttp2-libs (1.57.0-r0) 23:23:45 (36/70) Installing libcurl (8.4.0-r0) 23:23:46 (37/70) Installing ncurses-terminfo-base (6.4_p20230506-r0) 23:23:46 (38/70) Installing libncursesw (6.4_p20230506-r0) 23:23:46 (39/70) Installing libformw (6.4_p20230506-r0) 23:23:47 (40/70) Installing rhash-libs (1.4.3-r2) 23:23:47 (41/70) Installing libuv (1.44.2-r2) 23:23:47 (42/70) Installing cmake (3.26.5-r0) 23:23:48 (43/70) Installing pkgconf (1.9.5-r0) 23:23:49 (44/70) Installing libidn2-dev (2.3.4-r1) 23:23:49 (45/70) Installing openssl-dev (3.1.4-r0) 23:23:50 (46/70) Installing nghttp2-dev (1.57.0-r0) 23:23:50 (47/70) Installing zlib-dev (1.2.13-r1) 23:23:50 (48/70) Installing brotli (1.0.9-r14) 23:23:50 (49/70) Installing brotli-dev (1.0.9-r14) 23:23:51 (50/70) Installing curl-dev (8.4.0-r0) 23:23:51 (51/70) Installing pcre2 (10.42-r1) 23:23:51 (52/70) Installing git (2.40.1-r0) 23:23:52 (53/70) Installing nettle (3.8.1-r2) 23:23:53 (54/70) Installing libffi (3.4.4-r2) 23:23:53 (55/70) Installing p11-kit (0.24.1-r2) 23:23:53 (56/70) Installing libtasn1 (4.19.0-r1) 23:23:53 (57/70) Installing gnutls (3.8.0-r2) 23:23:54 (58/70) Installing libmicrohttpd (0.9.77-r0) 23:23:54 (59/70) Installing gnutls-c++ (3.8.0-r2) 23:23:55 (60/70) Installing libgmpxx (6.2.1-r3) 23:23:55 (61/70) Installing gmp-dev (6.2.1-r3) 23:23:55 (62/70) Installing nettle-dev (3.8.1-r2) 23:23:56 (63/70) Installing libtasn1-progs (4.19.0-r1) 23:23:56 (64/70) Installing libtasn1-dev (4.19.0-r1) 23:23:56 (65/70) Installing p11-kit-dev (0.24.1-r2) 23:23:57 (66/70) Installing gnutls-dev (3.8.0-r2) 23:23:57 (67/70) Installing libmicrohttpd-dev (0.9.77-r0) 23:23:57 (68/70) Installing linux-headers (6.3-r0) 23:23:58 (69/70) Installing yaml (0.2.5-r1) 23:23:58 (70/70) Installing yaml-dev (0.2.5-r1) 23:23:58 Executing busybox-1.36.1-r2.trigger 23:23:58 Executing ca-certificates-20230506-r0.trigger 23:23:59 OK: 329 MiB in 82 packages 23:24:09 Removing intermediate container 61a7ed110a4f 23:24:09 ---> f88046947ea4 23:24:09 Step 5/6 : LABEL arch=amd64 23:24:09 ---> Running in a8554ed282a3 23:24:09 Removing intermediate container a8554ed282a3 23:24:09 ---> 883040a410c5 23:24:09 Step 6/6 : LABEL git_sha=a42ae1c99325b83b3284b510c6e37dd8ed33d42b 23:24:09 ---> Running in f056474af810 23:24:09 Removing intermediate container f056474af810 23:24:09 ---> d23712e5aa81 23:24:09 [Warning] One or more build-args [ARCH] were not consumed 23:24:09 Successfully built d23712e5aa81 23:24:09 Successfully tagged edgex-devops/edgex-gcc-base:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 23:24:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:24:10 23:24:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:24:10 latest: Pulling from edgex-lftools-log-publisher 23:24:10 5eb5b503b376: Pulling fs layer 23:24:10 5c69ac0246d0: Pulling fs layer 23:24:10 ec43610c2a17: Pulling fs layer 23:24:10 3a2ae6a8a46f: Pulling fs layer 23:24:10 33b1e0a273af: Pulling fs layer 23:24:10 5d3b04190fa2: Pulling fs layer 23:24:10 2f39f015ded8: Pulling fs layer 23:24:10 3a2ae6a8a46f: Waiting 23:24:10 33b1e0a273af: Waiting 23:24:10 5d3b04190fa2: Waiting 23:24:10 2f39f015ded8: Waiting 23:24:10 5c69ac0246d0: Verifying Checksum 23:24:10 5c69ac0246d0: Download complete 23:24:10 3a2ae6a8a46f: Verifying Checksum 23:24:10 3a2ae6a8a46f: Download complete 23:24:10 33b1e0a273af: Verifying Checksum 23:24:10 33b1e0a273af: Download complete 23:24:10 ec43610c2a17: Verifying Checksum 23:24:10 ec43610c2a17: Download complete 23:24:10 5d3b04190fa2: Download complete 23:24:10 5eb5b503b376: Verifying Checksum 23:24:10 5eb5b503b376: Download complete 23:24:11 2f39f015ded8: Verifying Checksum 23:24:11 2f39f015ded8: Download complete 23:24:12 5eb5b503b376: Pull complete 23:24:12 5c69ac0246d0: Pull complete 23:24:12 ec43610c2a17: Pull complete 23:24:12 3a2ae6a8a46f: Pull complete 23:24:13 33b1e0a273af: Pull complete 23:24:13 5d3b04190fa2: Pull complete 23:24:18 2f39f015ded8: Pull complete 23:24:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:24:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:24:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:18 prd-ubuntu20.04-docker-8c-8g-15372 does not seem to be running inside a container 23:24:18 $ 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/exfoundry_ci-build-images_PR-210 -v /w/workspace/exfoundry_ci-build-images_PR-210:/w/workspace/exfoundry_ci-build-images_PR-210:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-210@tmp:/w/workspace/exfoundry_ci-build-images_PR-210@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:24:25 $ docker top 5f2ee4670b1393acd08f89f2e9d28566d6256e74f89bf0d4e6ae1067746f9b3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:25 ---> job-cost.sh 23:24:25 lf-activate-venv: SKIPPING 23:24:25 INFO: No Stack... 23:24:25 INFO: Retrieving Pricing Info for: v3-standard-8 23:24:26 INFO: Archiving Costs [Pipeline] sh 23:24:26 + cat /w/workspace/exfoundry_ci-build-images_PR-210/archives/cost.csv 23:24:26 + cut -d, -f6 [Pipeline] lock 23:24:26 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-210-1-stack-cost] 23:24:26 Resource [jenkins-edgexfoundry-ci-build-images-PR-210-1-stack-cost] did not exist. Created. 23:24:26 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-210-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:24:27 + echo total: 0.2199999988079071 [Pipeline] stash 23:24:27 Stashed 1 file(s) [Pipeline] } 23:24:27 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-210-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:24:27 $ docker stop --time=1 5f2ee4670b1393acd08f89f2e9d28566d6256e74f89bf0d4e6ae1067746f9b3a 23:24:28 $ docker rm -f --volumes 5f2ee4670b1393acd08f89f2e9d28566d6256e74f89bf0d4e6ae1067746f9b3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:25:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15384 in /w/workspace/exfoundry_ci-build-images_PR-210 [Pipeline] { [Pipeline] checkout 23:25:19 Selected Git installation does not exist. Using Default 23:25:19 The recommended git tool is: NONE 23:25:27 using credential edgex-jenkins-ssh 23:25:27 Cloning the remote Git repository 23:25:27 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 23:25:28 > git init /w/workspace/exfoundry_ci-build-images_PR-210 # timeout=10 23:25:28 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 23:25:28 > git --version # timeout=10 23:25:28 > git --version # 'git version 2.25.1' 23:25:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:29 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 23:25:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:31 Merging remotes/origin/gcc-lts commit cefdbfca2cd607d828298202a2a50e4487d1b950 into PR head commit a42ae1c99325b83b3284b510c6e37dd8ed33d42b 23:25:31 Merge succeeded, producing a42ae1c99325b83b3284b510c6e37dd8ed33d42b 23:25:31 Checking out Revision a42ae1c99325b83b3284b510c6e37dd8ed33d42b (PR-210) 23:25:30 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 23:25:30 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 23:25:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/gcc-lts:refs/remotes/origin/gcc-lts # timeout=10 23:25:31 > git config core.sparsecheckout # timeout=10 23:25:31 > git checkout -f a42ae1c99325b83b3284b510c6e37dd8ed33d42b # timeout=10 23:25:31 > git remote # timeout=10 23:25:31 > git config --get remote.origin.url # timeout=10 23:25:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:31 > git merge cefdbfca2cd607d828298202a2a50e4487d1b950 # timeout=10 23:25:31 > git rev-parse HEAD^{commit} # timeout=10 23:25:31 > git config core.sparsecheckout # timeout=10 23:25:31 > git checkout -f a42ae1c99325b83b3284b510c6e37dd8ed33d42b # timeout=10 23:25:35 Commit message: "ci: move gcc-lts image to alpine 3.18" 23:25:35 > git --version # timeout=10 23:25:35 > git --version # 'git version 2.25.1' 23:25:35 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:25:36 % Total % Received % Xferd Average Speed Time Time Time Current 23:25:36 Dload Upload Total Spent Left Speed 23:25:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 23:25:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:25:37 + sudo tee /etc/docker/daemon.new 23:25:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:25:37 { 23:25:37 "registry-mirrors": [ 23:25:37 "https://nexus3.edgexfoundry.org:10001" 23:25:37 ], 23:25:37 "bip": "10.250.0.254/24", 23:25:37 "hosts": [ 23:25:37 "tcp://0.0.0.0:5555", 23:25:37 "unix:///var/run/docker.sock" 23:25:37 ], 23:25:37 "mtu": 1458, 23:25:37 "selinux-enabled": true, 23:25:37 "seccomp-profile": "/etc/docker/seccomp.json" 23:25:37 } [Pipeline] sh 23:25:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:25:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:57 provisioning config files... 23:25:57 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-210@tmp/config8401254318948496079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:57 ---> docker-login.sh 23:25:57 nexus3.edgexfoundry.org:10001 23:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:58 Configure a credential helper to remove this warning. See 23:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:58 23:25:58 Login Succeeded 23:25:58 nexus3.edgexfoundry.org:10002 23:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:58 Configure a credential helper to remove this warning. See 23:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:58 23:25:58 Login Succeeded 23:25:58 nexus3.edgexfoundry.org:10003 23:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:59 Configure a credential helper to remove this warning. See 23:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:59 23:25:59 Login Succeeded 23:25:59 nexus3.edgexfoundry.org:10004 23:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:59 Configure a credential helper to remove this warning. See 23:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:59 23:25:59 Login Succeeded 23:25:59 docker.io 23:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:00 Configure a credential helper to remove this warning. See 23:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:00 23:26:00 Login Succeeded 23:26:00 ---> docker-login.sh ends [Pipeline] } 23:26:00 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 23:26:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:26:01 + ls -al . 23:26:01 total 20 23:26:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 23:25 . 23:26:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 23:25 .. 23:26:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 23:25 .git 23:26:01 -rw-rw-r-- 1 jenkins jenkins 401 Oct 30 23:25 Dockerfile 23:26:01 -rw-rw-r-- 1 jenkins jenkins 874 Oct 30 23:25 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:01 + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=a42ae1c99325b83b3284b510c6e37dd8ed33d42b --label arch=arm64 . 23:26:01 Sending build context to Docker daemon 464.4kB 23:26:01 Step 1/6 : FROM alpine:3.18 23:26:02 3.18: Pulling from library/alpine 23:26:02 579b34f0a95b: Pulling fs layer 23:26:03 579b34f0a95b: Download complete 23:26:03 579b34f0a95b: Pull complete 23:26:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:26:03 Status: Downloaded newer image for alpine:3.18 23:26:03 ---> 3cc203321400 23:26:03 Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:26:03 ---> Running in 865d5399f3f2 23:26:04 Removing intermediate container 865d5399f3f2 23:26:04 ---> ba733159fc9b 23:26:04 Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:26:04 ---> Running in b54696a94240 23:26:11 Removing intermediate container b54696a94240 23:26:11 ---> b8bb8ac2ac88 23:26:11 Step 4/6 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev 23:26:11 ---> Running in 7e24d2d896a9 23:26:12 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:26:13 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:26:15 (1/70) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 23:26:15 (2/70) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r0) 23:26:16 (3/70) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r0) 23:26:16 (4/70) Installing libgcc (12.2.1_git20220924-r10) 23:26:17 (5/70) Installing libstdc++ (12.2.1_git20220924-r10) 23:26:17 (6/70) Installing zstd-libs (1.5.5-r4) 23:26:18 (7/70) Installing binutils (2.40-r7) 23:26:19 (8/70) Installing libmagic (5.45-r0) 23:26:19 (9/70) Installing file (5.45-r0) 23:26:20 (10/70) Installing libgomp (12.2.1_git20220924-r10) 23:26:21 (11/70) Installing libatomic (12.2.1_git20220924-r10) 23:26:21 (12/70) Installing gmp (6.2.1-r3) 23:26:21 (13/70) Installing isl26 (0.26-r1) 23:26:22 (14/70) Installing mpfr4 (4.2.0_p12-r0) 23:26:23 (15/70) Installing mpc1 (1.3.1-r1) 23:26:23 (16/70) Installing gcc (12.2.1_git20220924-r10) 23:26:32 (17/70) Installing libstdc++-dev (12.2.1_git20220924-r10) 23:26:33 (18/70) Installing musl-dev (1.2.4-r2) 23:26:34 (19/70) Installing libc-dev (0.7.2-r5) 23:26:34 (20/70) Installing g++ (12.2.1_git20220924-r10) 23:26:38 (21/70) Installing make (4.4.1-r1) 23:26:38 (22/70) Installing fortify-headers (1.1-r3) 23:26:38 (23/70) Installing patch (2.7.6-r10) 23:26:38 (24/70) Installing build-base (0.5-r3) 23:26:39 (25/70) Installing libacl (2.3.1-r3) 23:26:39 (26/70) Installing libbz2 (1.0.8-r5) 23:26:40 (27/70) Installing libexpat (2.5.0-r1) 23:26:40 (28/70) Installing lz4-libs (1.9.4-r4) 23:26:40 (29/70) Installing xz-libs (5.4.3-r0) 23:26:41 (30/70) Installing libarchive (3.7.2-r0) 23:26:42 (31/70) Installing ca-certificates (20230506-r0) 23:26:42 (32/70) Installing brotli-libs (1.0.9-r14) 23:26:43 (33/70) Installing libunistring (1.1-r1) 23:26:43 (34/70) Installing libidn2 (2.3.4-r1) 23:26:44 (35/70) Installing nghttp2-libs (1.57.0-r0) 23:26:44 (36/70) Installing libcurl (8.4.0-r0) 23:26:45 (37/70) Installing ncurses-terminfo-base (6.4_p20230506-r0) 23:26:45 (38/70) Installing libncursesw (6.4_p20230506-r0) 23:26:46 (39/70) Installing libformw (6.4_p20230506-r0) 23:26:47 (40/70) Installing rhash-libs (1.4.3-r2) 23:26:47 (41/70) Installing libuv (1.44.2-r2) 23:26:47 (42/70) Installing cmake (3.26.5-r0) 23:26:53 (43/70) Installing pkgconf (1.9.5-r0) 23:26:53 (44/70) Installing libidn2-dev (2.3.4-r1) 23:26:54 (45/70) Installing openssl-dev (3.1.4-r0) 23:26:54 (46/70) Installing nghttp2-dev (1.57.0-r0) 23:26:55 (47/70) Installing zlib-dev (1.2.13-r1) 23:26:55 (48/70) Installing brotli (1.0.9-r14) 23:26:55 (49/70) Installing brotli-dev (1.0.9-r14) 23:26:56 (50/70) Installing curl-dev (8.4.0-r0) 23:26:56 (51/70) Installing pcre2 (10.42-r1) 23:26:57 (52/70) Installing git (2.40.1-r0) 23:26:58 (53/70) Installing nettle (3.8.1-r2) 23:26:58 (54/70) Installing libffi (3.4.4-r2) 23:26:59 (55/70) Installing p11-kit (0.24.1-r2) 23:26:59 (56/70) Installing libtasn1 (4.19.0-r1) 23:27:00 (57/70) Installing gnutls (3.8.0-r2) 23:27:00 (58/70) Installing libmicrohttpd (0.9.77-r0) 23:27:01 (59/70) Installing gnutls-c++ (3.8.0-r2) 23:27:01 (60/70) Installing libgmpxx (6.2.1-r3) 23:27:02 (61/70) Installing gmp-dev (6.2.1-r3) 23:27:02 (62/70) Installing nettle-dev (3.8.1-r2) 23:27:03 (63/70) Installing libtasn1-progs (4.19.0-r1) 23:27:03 (64/70) Installing libtasn1-dev (4.19.0-r1) 23:27:03 (65/70) Installing p11-kit-dev (0.24.1-r2) 23:27:04 (66/70) Installing gnutls-dev (3.8.0-r2) 23:27:04 (67/70) Installing libmicrohttpd-dev (0.9.77-r0) 23:27:05 (68/70) Installing linux-headers (6.3-r0) 23:27:06 (69/70) Installing yaml (0.2.5-r1) 23:27:06 (70/70) Installing yaml-dev (0.2.5-r1) 23:27:07 Executing busybox-1.36.1-r2.trigger 23:27:07 Executing ca-certificates-20230506-r0.trigger 23:27:07 OK: 325 MiB in 82 packages 23:27:25 Removing intermediate container 7e24d2d896a9 23:27:25 ---> 318b72aa3642 23:27:25 Step 5/6 : LABEL arch=arm64 23:27:25 ---> Running in aad5697a2a64 23:27:25 Removing intermediate container aad5697a2a64 23:27:25 ---> 0945b2e6fdf3 23:27:25 Step 6/6 : LABEL git_sha=a42ae1c99325b83b3284b510c6e37dd8ed33d42b 23:27:25 ---> Running in e0bd1da3c5c9 23:27:25 Removing intermediate container e0bd1da3c5c9 23:27:25 ---> 16c1e522dd04 23:27:25 [Warning] One or more build-args [ARCH] were not consumed 23:27:25 Successfully built 16c1e522dd04 23:27:25 Successfully tagged edgex-devops/edgex-gcc-base-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 23:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:26 23:27:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:27 arm64: Pulling from edgex-lftools-log-publisher 23:27:27 8998bd30e6a1: Pulling fs layer 23:27:27 04944245beec: Pulling fs layer 23:27:27 699f458cf7ca: Pulling fs layer 23:27:27 765212b225bb: Pulling fs layer 23:27:27 f23df028b6ca: Pulling fs layer 23:27:27 d65c8cfc05b1: Pulling fs layer 23:27:27 2437ff75d9bd: Pulling fs layer 23:27:27 d65c8cfc05b1: Waiting 23:27:27 765212b225bb: Waiting 23:27:27 2437ff75d9bd: Waiting 23:27:27 f23df028b6ca: Waiting 23:27:27 04944245beec: Verifying Checksum 23:27:27 04944245beec: Download complete 23:27:27 765212b225bb: Verifying Checksum 23:27:27 765212b225bb: Download complete 23:27:27 f23df028b6ca: Verifying Checksum 23:27:27 f23df028b6ca: Download complete 23:27:27 d65c8cfc05b1: Verifying Checksum 23:27:27 d65c8cfc05b1: Download complete 23:27:27 699f458cf7ca: Verifying Checksum 23:27:27 699f458cf7ca: Download complete 23:27:28 8998bd30e6a1: Verifying Checksum 23:27:28 8998bd30e6a1: Download complete 23:27:30 2437ff75d9bd: Verifying Checksum 23:27:30 2437ff75d9bd: Download complete 23:27:32 8998bd30e6a1: Pull complete 23:27:33 04944245beec: Pull complete 23:27:34 699f458cf7ca: Pull complete 23:27:34 765212b225bb: Pull complete 23:27:35 f23df028b6ca: Pull complete 23:27:36 d65c8cfc05b1: Pull complete 23:27:54 2437ff75d9bd: Pull complete 23:27:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:27:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:54 prd-ubuntu20.04-docker-arm64-4c-16g-15384 does not seem to be running inside a container 23:27:54 $ 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/exfoundry_ci-build-images_PR-210 -v /w/workspace/exfoundry_ci-build-images_PR-210:/w/workspace/exfoundry_ci-build-images_PR-210:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-210@tmp:/w/workspace/exfoundry_ci-build-images_PR-210@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:27:57 $ docker top bb2e45319313cbd95c595d2fa43d9ac530f5f5e5d2f28cbabd2195a51ad5613a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:58 ---> job-cost.sh 23:27:58 lf-activate-venv: SKIPPING 23:27:58 INFO: No Stack... 23:28:01 INFO: Retrieving Pricing Info for: v3-standard-4 23:28:01 INFO: Archiving Costs [Pipeline] sh 23:28:02 + cat /w/workspace/exfoundry_ci-build-images_PR-210/archives/cost.csv 23:28:02 + cut -d, -f6 [Pipeline] lock 23:28:02 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-210-1-stack-cost] 23:28:02 Resource [jenkins-edgexfoundry-ci-build-images-PR-210-1-stack-cost] did not exist. Created. 23:28:02 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-210-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:03 /w/workspace/exfoundry_ci-build-images_PR-210@tmp/durable-64fcc8a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:28:04 + echo total: 0.10999999940395355 [Pipeline] stash 23:28:04 Warning: overwriting stash ‘stack-cost’ 23:28:05 Stashed 1 file(s) [Pipeline] } 23:28:05 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-210-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:05 $ docker stop --time=1 bb2e45319313cbd95c595d2fa43d9ac530f5f5e5d2f28cbabd2195a51ad5613a 23:28:09 $ docker rm -f --volumes bb2e45319313cbd95c595d2fa43d9ac530f5f5e5d2f28cbabd2195a51ad5613a [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 23:28:11 + [ -d /w/workspace/exfoundry_ci-build-images_PR-210/archives ] 23:28:11 + ls -al /w/workspace/exfoundry_ci-build-images_PR-210/archives 23:28:11 total 16 23:28:11 drwxr-xr-x 3 root root 4096 Oct 30 23:24 . 23:28:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 23:24 .. 23:28:11 drwxr-xr-x 2 root root 4096 Oct 30 23:24 cost 23:28:11 -rw-r--r-- 1 root root 87 Oct 30 23:24 cost.csv 23:28:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-210/archives 23:28:11 + ls -al /w/workspace/exfoundry_ci-build-images_PR-210/archives 23:28:11 total 16 23:28:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 23:24 . 23:28:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 23:24 .. 23:28:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 23:24 cost 23:28:11 -rw-r--r-- 1 jenkins jenkins 87 Oct 30 23:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:28:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:28:12 ---> package-listing.sh 23:28:12 ++ facter osfamily 23:28:12 ++ tr '[:upper:]' '[:lower:]' 23:28:12 + OS_FAMILY=debian 23:28:12 + workspace=/w/workspace/exfoundry_ci-build-images_PR-210 23:28:12 + START_PACKAGES=/tmp/packages_start.txt 23:28:12 + END_PACKAGES=/tmp/packages_end.txt 23:28:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:28:12 + PACKAGES=/tmp/packages_start.txt 23:28:12 + '[' /w/workspace/exfoundry_ci-build-images_PR-210 ']' 23:28:12 + PACKAGES=/tmp/packages_end.txt 23:28:12 + case "${OS_FAMILY}" in 23:28:12 + dpkg -l 23:28:12 + grep '^ii' 23:28:12 + '[' -f /tmp/packages_start.txt ']' 23:28:12 + '[' -f /tmp/packages_end.txt ']' 23:28:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:28:12 + '[' /w/workspace/exfoundry_ci-build-images_PR-210 ']' 23:28:12 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-210/archives/ 23:28:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-210/archives/ [Pipeline] echo 23:28:12 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/exfoundry_ci-build-images_PR-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:28:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:13 prd-ubuntu20.04-docker-8c-8g-15372 does not seem to be running inside a container 23:28:14 $ 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/exfoundry_ci-build-images_PR-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-210 -v /w/workspace/exfoundry_ci-build-images_PR-210:/w/workspace/exfoundry_ci-build-images_PR-210:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-210@tmp:/w/workspace/exfoundry_ci-build-images_PR-210@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:28:14 $ docker top 859d043d215f3c110c15412be4d288ce4a0a9e2cca6d92ad1cb232349ed38d4b -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:14 + touch /tmp/pre-build-complete [Pipeline] sh 23:28:14 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:15 + ls /var/log/sa-host 23:28:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:15 provisioning config files... 23:28:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-210@tmp/config1572635543221500694tmp [Pipeline] { [Pipeline] echo 23:28:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:15 ---> create-netrc.sh [Pipeline] } 23:28:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:16 ---> python-tools-install.sh [Pipeline] echo 23:28:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:16 ---> sudo-logs.sh 23:28:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:16 ---> job-cost.sh 23:28:16 lf-activate-venv: SKIPPING 23:28:16 DEBUG: total: 0.2199999988079071 23:28:16 INFO: Retrieving Stack Cost... 23:28:17 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:17 INFO: Archiving Costs [Pipeline] echo 23:28:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:17 ---> logs-deploy.sh 23:28:17 lf-activate-venv: SKIPPING 23:28:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-210/1 23:28:17 INFO: archiving workspace using pattern(s): 23:28:18 Archives upload complete. 23:28:18 INFO: archiving logs to Nexus