Pull request #194 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 f6429c61ac09ea619b6dce44b8b13783a6987fd3+5bb947235c942ea89325bcb808105ce2e51ba820 (650b07f7341d7c36261935eb7d80e4b17c69ef30) 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-ssh6512014252897018542.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh13489808256619472188.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-194/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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3448485803060449264.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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13635010487445095406.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh18328336620981067185.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-194/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-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15707377068221629157.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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:[1], 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: 1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19560’ Running on prd-ubuntu20.04-docker-8c-8g-19563 in /w/workspace/exfoundry_ci-build-images_PR-194 [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-194 # 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 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Merging remotes/origin/gcc commit 5bb947235c942ea89325bcb808105ce2e51ba820 into PR head commit f6429c61ac09ea619b6dce44b8b13783a6987fd3 Merge succeeded, producing f6429c61ac09ea619b6dce44b8b13783a6987fd3 Checking out Revision f6429c61ac09ea619b6dce44b8b13783a6987fd3 (PR-194) 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/194/head:refs/remotes/origin/PR-194 +refs/heads/gcc:refs/remotes/origin/gcc # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6429c61ac09ea619b6dce44b8b13783a6987fd3 # 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 5bb947235c942ea89325bcb808105ce2e51ba820 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6429c61ac09ea619b6dce44b8b13783a6987fd3 # timeout=10 Commit message: "ci: remove nl repository" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:56:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:56:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:56:49 ========================================================= 15:56:49 EdgeX Global Pipelines Version Info 15:56:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:56:50 ------------------- 15:56:50 stable info: 15:56:50 ------------------- 15:56:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:56:50 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 15:56:50 Message: update stable to v1.0.237 15:56:51 ------------------- 15:56:51 experimental info: 15:56:51 ------------------- 15:56:51 Commited By: **** collab-it+edgex@linuxfoundation.org 15:56:51 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 15:56:51 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 15:56:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1 [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6429c61ac09ea619b6dce44b8b13783a6987fd3 [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6429c6 [Pipeline] echo 15:56:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:52 provisioning config files... 15:56:52 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-194@tmp/config2522891458577268496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:52 ---> docker-login.sh 15:56:52 nexus3.edgexfoundry.org:10001 15:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:53 Configure a credential helper to remove this warning. See 15:56:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:53 15:56:53 Login Succeeded 15:56:53 nexus3.edgexfoundry.org:10002 15:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:53 Configure a credential helper to remove this warning. See 15:56:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:53 15:56:53 Login Succeeded 15:56:53 nexus3.edgexfoundry.org:10003 15:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:53 Configure a credential helper to remove this warning. See 15:56:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:53 15:56:53 Login Succeeded 15:56:53 nexus3.edgexfoundry.org:10004 15:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:53 Configure a credential helper to remove this warning. See 15:56:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:53 15:56:53 Login Succeeded 15:56:53 docker.io 15:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:54 Configure a credential helper to remove this warning. See 15:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:54 15:56:54 Login Succeeded 15:56:54 ---> docker-login.sh ends [Pipeline] } 15:56:54 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 15:56:55 provisioning config files... 15:56:55 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-194@tmp/config811596860412106955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:55 ---> docker-login.sh 15:56:55 nexus3.edgexfoundry.org:10001 15:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:55 Configure a credential helper to remove this warning. See 15:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:55 15:56:55 Login Succeeded 15:56:55 nexus3.edgexfoundry.org:10002 15:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:55 Configure a credential helper to remove this warning. See 15:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:55 15:56:55 Login Succeeded 15:56:55 nexus3.edgexfoundry.org:10003 15:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:55 Configure a credential helper to remove this warning. See 15:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:55 15:56:55 Login Succeeded 15:56:55 nexus3.edgexfoundry.org:10004 15:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:55 Configure a credential helper to remove this warning. See 15:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:55 15:56:55 Login Succeeded 15:56:55 docker.io 15:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:56 Configure a credential helper to remove this warning. See 15:56:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:56 15:56:56 Login Succeeded 15:56:56 ---> docker-login.sh ends [Pipeline] } 15:56:56 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 15:56:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:56:57 + ls -al . 15:56:57 total 20 15:56:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 15:56 . 15:56:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 15:56 .. 15:56:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 15:56 .git 15:56:57 -rw-rw-r-- 1 jenkins jenkins 313 Jul 12 15:56 Dockerfile 15:56:57 -rw-rw-r-- 1 jenkins jenkins 883 Jul 12 15:56 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:57 + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=f6429c61ac09ea619b6dce44b8b13783a6987fd3 --label arch=amd64 . 15:56:57 Sending build context to Docker daemon 430.1kB 15:56:57 Step 1/5 : FROM alpine:3.15 15:56:58 3.15: Pulling from library/alpine 15:56:58 df9b9388f04a: Pulling fs layer 15:56:58 df9b9388f04a: Verifying Checksum 15:56:58 df9b9388f04a: Download complete 15:56:58 df9b9388f04a: Pull complete 15:56:58 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:56:58 Status: Downloaded newer image for alpine:3.15 15:56:58 ---> 0ac33e5f5afa 15:56:58 Step 2/5 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:56:59 ---> Running in 4f48d2687a02 15:56:59 Removing intermediate container 4f48d2687a02 15:56:59 ---> 413f3fad22f8 15:56:59 Step 3/5 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev 15:56:59 ---> Running in e7ddb5e7fdd8 15:56:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:56:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:56:59 (1/66) Upgrading libcrypto1.1 (1.1.1n-r0 -> 1.1.1q-r0) 15:56:59 (2/66) Upgrading libssl1.1 (1.1.1n-r0 -> 1.1.1q-r0) 15:56:59 (3/66) Upgrading zlib (1.2.12-r0 -> 1.2.12-r1) 15:56:59 (4/66) Installing libgcc (10.3.1_git20211027-r0) 15:56:59 (5/66) Installing libstdc++ (10.3.1_git20211027-r0) 15:56:59 (6/66) Installing binutils (2.37-r3) 15:56:59 (7/66) Installing libmagic (5.41-r0) 15:56:59 (8/66) Installing file (5.41-r0) 15:56:59 (9/66) Installing libgomp (10.3.1_git20211027-r0) 15:56:59 (10/66) Installing libatomic (10.3.1_git20211027-r0) 15:56:59 (11/66) Installing libgphobos (10.3.1_git20211027-r0) 15:57:00 (12/66) Installing gmp (6.2.1-r1) 15:57:00 (13/66) Installing isl22 (0.22-r0) 15:57:00 (14/66) Installing mpfr4 (4.1.0-r0) 15:57:00 (15/66) Installing mpc1 (1.2.1-r0) 15:57:00 (16/66) Installing gcc (10.3.1_git20211027-r0) 15:57:00 (17/66) Installing musl-dev (1.2.2-r7) 15:57:00 (18/66) Installing libc-dev (0.7.2-r3) 15:57:00 (19/66) Installing g++ (10.3.1_git20211027-r0) 15:57:01 (20/66) Installing make (4.3-r0) 15:57:01 (21/66) Installing fortify-headers (1.1-r1) 15:57:01 (22/66) Installing patch (2.7.6-r7) 15:57:01 (23/66) Installing build-base (0.5-r3) 15:57:01 (24/66) Installing libacl (2.2.53-r0) 15:57:01 (25/66) Installing libbz2 (1.0.8-r1) 15:57:01 (26/66) Installing expat (2.4.7-r0) 15:57:01 (27/66) Installing lz4-libs (1.9.3-r1) 15:57:01 (28/66) Installing xz-libs (5.2.5-r1) 15:57:01 (29/66) Installing zstd-libs (1.5.0-r0) 15:57:01 (30/66) Installing libarchive (3.6.1-r0) 15:57:01 (31/66) Installing ca-certificates (20211220-r0) 15:57:01 (32/66) Installing brotli-libs (1.0.9-r5) 15:57:01 (33/66) Installing nghttp2-libs (1.46.0-r0) 15:57:01 (34/66) Installing libcurl (7.80.0-r2) 15:57:01 (35/66) Installing ncurses-terminfo-base (6.3_p20211120-r0) 15:57:01 (36/66) Installing ncurses-libs (6.3_p20211120-r0) 15:57:01 (37/66) Installing rhash-libs (1.4.2-r2) 15:57:01 (38/66) Installing libuv (1.42.0-r0) 15:57:01 (39/66) Installing cmake (3.21.3-r0) 15:57:01 (40/66) Installing pkgconf (1.8.0-r0) 15:57:01 (41/66) Installing openssl-dev (1.1.1q-r0) 15:57:01 (42/66) Installing nghttp2-dev (1.46.0-r0) 15:57:01 (43/66) Installing zlib-dev (1.2.12-r1) 15:57:01 (44/66) Installing brotli-dev (1.0.9-r5) 15:57:01 (45/66) Installing curl-dev (7.80.0-r2) 15:57:01 (46/66) Installing pcre2 (10.40-r0) 15:57:01 (47/66) Installing git (2.34.2-r0) 15:57:01 (48/66) Installing nettle (3.7.3-r0) 15:57:01 (49/66) Installing libffi (3.4.2-r1) 15:57:01 (50/66) Installing p11-kit (0.24.0-r1) 15:57:01 (51/66) Installing libtasn1 (4.18.0-r0) 15:57:01 (52/66) Installing libunistring (0.9.10-r1) 15:57:01 (53/66) Installing gnutls (3.7.1-r0) 15:57:01 (54/66) Installing libmicrohttpd (0.9.73-r0) 15:57:01 (55/66) Installing gnutls-c++ (3.7.1-r0) 15:57:01 (56/66) Installing libgmpxx (6.2.1-r1) 15:57:01 (57/66) Installing gmp-dev (6.2.1-r1) 15:57:01 (58/66) Installing nettle-dev (3.7.3-r0) 15:57:01 (59/66) Installing libtasn1-progs (4.18.0-r0) 15:57:01 (60/66) Installing libtasn1-dev (4.18.0-r0) 15:57:01 (61/66) Installing p11-kit-dev (0.24.0-r1) 15:57:01 (62/66) Installing gnutls-dev (3.7.1-r0) 15:57:01 (63/66) Installing libmicrohttpd-dev (0.9.73-r0) 15:57:01 (64/66) Installing linux-headers (5.10.41-r0) 15:57:01 (65/66) Installing yaml (0.2.5-r0) 15:57:01 (66/66) Installing yaml-dev (0.2.5-r0) 15:57:01 Executing busybox-1.34.1-r5.trigger 15:57:01 Executing ca-certificates-20211220-r0.trigger 15:57:01 OK: 281 MiB in 77 packages 15:57:07 Removing intermediate container e7ddb5e7fdd8 15:57:07 ---> 7055386ec566 15:57:07 Step 4/5 : LABEL arch=amd64 15:57:07 ---> Running in f00b69fe2acd 15:57:07 Removing intermediate container f00b69fe2acd 15:57:07 ---> 2e685696eaa6 15:57:07 Step 5/5 : LABEL git_sha=f6429c61ac09ea619b6dce44b8b13783a6987fd3 15:57:07 ---> Running in 1fe5a3407f8f 15:57:07 Removing intermediate container 1fe5a3407f8f 15:57:07 ---> a2c991185df8 15:57:07 [Warning] One or more build-args [ARCH] were not consumed 15:57:07 Successfully built a2c991185df8 15:57:07 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 15:57:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:08 15:57:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:08 latest: Pulling from edgex-lftools-log-publisher 15:57:08 5eb5b503b376: Pulling fs layer 15:57:08 5c69ac0246d0: Pulling fs layer 15:57:08 ec43610c2a17: Pulling fs layer 15:57:08 3a2ae6a8a46f: Pulling fs layer 15:57:08 33b1e0a273af: Pulling fs layer 15:57:08 3a2ae6a8a46f: Waiting 15:57:08 33b1e0a273af: Waiting 15:57:08 5d3b04190fa2: Pulling fs layer 15:57:08 2f39f015ded8: Pulling fs layer 15:57:08 5d3b04190fa2: Waiting 15:57:08 2f39f015ded8: Waiting 15:57:08 5c69ac0246d0: Verifying Checksum 15:57:08 5c69ac0246d0: Download complete 15:57:08 3a2ae6a8a46f: Download complete 15:57:08 33b1e0a273af: Verifying Checksum 15:57:08 33b1e0a273af: Download complete 15:57:09 5d3b04190fa2: Verifying Checksum 15:57:09 5d3b04190fa2: Download complete 15:57:09 ec43610c2a17: Verifying Checksum 15:57:09 ec43610c2a17: Download complete 15:57:09 5eb5b503b376: Verifying Checksum 15:57:09 5eb5b503b376: Download complete 15:57:09 Still waiting to schedule task 15:57:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19561’ 15:57:09 2f39f015ded8: Download complete 15:57:10 5eb5b503b376: Pull complete 15:57:10 5c69ac0246d0: Pull complete 15:57:11 ec43610c2a17: Pull complete 15:57:11 3a2ae6a8a46f: Pull complete 15:57:11 33b1e0a273af: Pull complete 15:57:11 5d3b04190fa2: Pull complete 15:57:16 2f39f015ded8: Pull complete 15:57:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:57:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:16 prd-ubuntu20.04-docker-8c-8g-19563 does not seem to be running inside a container 15:57:16 $ 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-194 -v /w/workspace/exfoundry_ci-build-images_PR-194:/w/workspace/exfoundry_ci-build-images_PR-194:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-194@tmp:/w/workspace/exfoundry_ci-build-images_PR-194@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 15:57:19 $ docker top 591a08eb39fee3f948efedd85251e29f266b0b4ac55d32870dcdcf178a6c78b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:19 ---> job-cost.sh 15:57:19 lf-activate-venv: SKIPPING 15:57:19 INFO: No Stack... 15:57:20 INFO: Retrieving Pricing Info for: v3-standard-8 15:57:20 INFO: Archiving Costs [Pipeline] sh 15:57:20 + cat /w/workspace/exfoundry_ci-build-images_PR-194/archives/cost.csv 15:57:20 + cut -d, -f6 [Pipeline] lock 15:57:20 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-194-1-stack-cost] 15:57:20 Resource [jenkins-edgexfoundry-ci-build-images-PR-194-1-stack-cost] did not exist. Created. 15:57:20 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:57:21 + echo total: 0.2199999988079071 [Pipeline] stash 15:57:21 Stashed 1 file(s) [Pipeline] } 15:57:21 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:57:21 $ docker stop --time=1 591a08eb39fee3f948efedd85251e29f266b0b4ac55d32870dcdcf178a6c78b7 15:57:22 $ docker rm -f 591a08eb39fee3f948efedd85251e29f266b0b4ac55d32870dcdcf178a6c78b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:00:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19565 in /w/workspace/exfoundry_ci-build-images_PR-194 [Pipeline] { [Pipeline] checkout 16:00:38 Selected Git installation does not exist. Using Default 16:00:38 The recommended git tool is: NONE 16:00:43 using credential edgex-jenkins-ssh 16:00:43 Cloning the remote Git repository 16:00:43 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 16:00:43 > git init /w/workspace/exfoundry_ci-build-images_PR-194 # timeout=10 16:00:43 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 16:00:43 > git --version # timeout=10 16:00:43 > git --version # 'git version 2.25.1' 16:00:43 using GIT_SSH to set credentials SSH Credentials for GitHub 16:00:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:00:44 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 16:00:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:00:45 Merging remotes/origin/gcc commit 5bb947235c942ea89325bcb808105ce2e51ba820 into PR head commit f6429c61ac09ea619b6dce44b8b13783a6987fd3 16:00:45 Merge succeeded, producing f6429c61ac09ea619b6dce44b8b13783a6987fd3 16:00:45 Checking out Revision f6429c61ac09ea619b6dce44b8b13783a6987fd3 (PR-194) 16:00:44 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 16:00:44 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 16:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 16:00:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/gcc:refs/remotes/origin/gcc # timeout=10 16:00:45 > git config core.sparsecheckout # timeout=10 16:00:45 > git checkout -f f6429c61ac09ea619b6dce44b8b13783a6987fd3 # timeout=10 16:00:45 > git remote # timeout=10 16:00:45 > git config --get remote.origin.url # timeout=10 16:00:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:00:45 > git merge 5bb947235c942ea89325bcb808105ce2e51ba820 # timeout=10 16:00:45 > git rev-parse HEAD^{commit} # timeout=10 16:00:45 > git config core.sparsecheckout # timeout=10 16:00:45 > git checkout -f f6429c61ac09ea619b6dce44b8b13783a6987fd3 # timeout=10 16:00:49 Commit message: "ci: remove nl repository" 16:00:49 > git --version # timeout=10 16:00:49 > git --version # 'git version 2.25.1' 16:00:49 fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:00:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:00:50 % Total % Received % Xferd Average Speed Time Time Time Current 16:00:50 Dload Upload Total Spent Left Speed 16:00:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 68966 0 --:--:-- --:--:-- --:--:-- 68966 [Pipeline] sh 16:00:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:00:51 + sudo tee /etc/docker/daemon.new 16:00:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:00:51 { 16:00:51 "registry-mirrors": [ 16:00:51 "https://nexus3.edgexfoundry.org:10001" 16:00:51 ], 16:00:51 "bip": "10.250.0.254/24", 16:00:51 "hosts": [ 16:00:51 "tcp://0.0.0.0:5555", 16:00:51 "unix:///var/run/docker.sock" 16:00:51 ], 16:00:51 "mtu": 1458, 16:00:51 "selinux-enabled": true, 16:00:51 "seccomp-profile": "/etc/docker/seccomp.json" 16:00:51 } [Pipeline] sh 16:00:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:00:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:11 provisioning config files... 16:01:11 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-194@tmp/config527551173006573052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:11 ---> docker-login.sh 16:01:11 nexus3.edgexfoundry.org:10001 16:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:12 Configure a credential helper to remove this warning. See 16:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:12 16:01:12 Login Succeeded 16:01:12 nexus3.edgexfoundry.org:10002 16:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:13 Configure a credential helper to remove this warning. See 16:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:13 16:01:13 Login Succeeded 16:01:13 nexus3.edgexfoundry.org:10003 16:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:13 Configure a credential helper to remove this warning. See 16:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:13 16:01:13 Login Succeeded 16:01:13 nexus3.edgexfoundry.org:10004 16:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:13 Configure a credential helper to remove this warning. See 16:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:13 16:01:13 Login Succeeded 16:01:13 docker.io 16:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:14 Configure a credential helper to remove this warning. See 16:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:14 16:01:14 Login Succeeded 16:01:14 ---> docker-login.sh ends [Pipeline] } 16:01:14 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 16:01:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:01:15 + ls -al . 16:01:15 total 20 16:01:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:00 . 16:01:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:00 .. 16:01:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 16:00 .git 16:01:15 -rw-rw-r-- 1 jenkins jenkins 313 Jul 12 16:00 Dockerfile 16:01:15 -rw-rw-r-- 1 jenkins jenkins 883 Jul 12 16:00 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:16 + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=f6429c61ac09ea619b6dce44b8b13783a6987fd3 --label arch=arm64 . 16:01:16 Sending build context to Docker daemon 430.1kB 16:01:16 Step 1/5 : FROM alpine:3.15 16:01:17 3.15: Pulling from library/alpine 16:01:17 9981e73032c8: Pulling fs layer 16:01:17 9981e73032c8: Verifying Checksum 16:01:17 9981e73032c8: Download complete 16:01:18 9981e73032c8: Pull complete 16:01:18 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:01:18 Status: Downloaded newer image for alpine:3.15 16:01:18 ---> 3fb3c9af89a9 16:01:18 Step 2/5 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:01:18 ---> Running in 8c779185d571 16:01:18 Removing intermediate container 8c779185d571 16:01:18 ---> 5bc5916b69c8 16:01:18 Step 3/5 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev 16:01:18 ---> Running in 14b74e887606 16:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:01:21 (1/66) Upgrading libcrypto1.1 (1.1.1n-r0 -> 1.1.1q-r0) 16:01:21 (2/66) Upgrading libssl1.1 (1.1.1n-r0 -> 1.1.1q-r0) 16:01:21 (3/66) Upgrading zlib (1.2.12-r0 -> 1.2.12-r1) 16:01:21 (4/66) Installing libgcc (10.3.1_git20211027-r0) 16:01:21 (5/66) Installing libstdc++ (10.3.1_git20211027-r0) 16:01:21 (6/66) Installing binutils (2.37-r3) 16:01:21 (7/66) Installing libmagic (5.41-r0) 16:01:21 (8/66) Installing file (5.41-r0) 16:01:21 (9/66) Installing libgomp (10.3.1_git20211027-r0) 16:01:21 (10/66) Installing libatomic (10.3.1_git20211027-r0) 16:01:21 (11/66) Installing libgphobos (10.3.1_git20211027-r0) 16:01:21 (12/66) Installing gmp (6.2.1-r1) 16:01:21 (13/66) Installing isl22 (0.22-r0) 16:01:21 (14/66) Installing mpfr4 (4.1.0-r0) 16:01:21 (15/66) Installing mpc1 (1.2.1-r0) 16:01:21 (16/66) Installing gcc (10.3.1_git20211027-r0) 16:01:23 (17/66) Installing musl-dev (1.2.2-r7) 16:01:23 (18/66) Installing libc-dev (0.7.2-r3) 16:01:23 (19/66) Installing g++ (10.3.1_git20211027-r0) 16:01:25 (20/66) Installing make (4.3-r0) 16:01:25 (21/66) Installing fortify-headers (1.1-r1) 16:01:25 (22/66) Installing patch (2.7.6-r7) 16:01:25 (23/66) Installing build-base (0.5-r3) 16:01:25 (24/66) Installing libacl (2.2.53-r0) 16:01:25 (25/66) Installing libbz2 (1.0.8-r1) 16:01:25 (26/66) Installing expat (2.4.7-r0) 16:01:25 (27/66) Installing lz4-libs (1.9.3-r1) 16:01:25 (28/66) Installing xz-libs (5.2.5-r1) 16:01:25 (29/66) Installing zstd-libs (1.5.0-r0) 16:01:25 (30/66) Installing libarchive (3.6.1-r0) 16:01:25 (31/66) Installing ca-certificates (20211220-r0) 16:01:25 (32/66) Installing brotli-libs (1.0.9-r5) 16:01:25 (33/66) Installing nghttp2-libs (1.46.0-r0) 16:01:25 (34/66) Installing libcurl (7.80.0-r2) 16:01:25 (35/66) Installing ncurses-terminfo-base (6.3_p20211120-r0) 16:01:25 (36/66) Installing ncurses-libs (6.3_p20211120-r0) 16:01:25 (37/66) Installing rhash-libs (1.4.2-r2) 16:01:25 (38/66) Installing libuv (1.42.0-r0) 16:01:25 (39/66) Installing cmake (3.21.3-r0) 16:01:27 (40/66) Installing pkgconf (1.8.0-r0) 16:01:27 (41/66) Installing openssl-dev (1.1.1q-r0) 16:01:28 (42/66) Installing nghttp2-dev (1.46.0-r0) 16:01:28 (43/66) Installing zlib-dev (1.2.12-r1) 16:01:28 (44/66) Installing brotli-dev (1.0.9-r5) 16:01:28 (45/66) Installing curl-dev (7.80.0-r2) 16:01:28 (46/66) Installing pcre2 (10.40-r0) 16:01:28 (47/66) Installing git (2.34.2-r0) 16:01:28 (48/66) Installing nettle (3.7.3-r0) 16:01:28 (49/66) Installing libffi (3.4.2-r1) 16:01:28 (50/66) Installing p11-kit (0.24.0-r1) 16:01:28 (51/66) Installing libtasn1 (4.18.0-r0) 16:01:28 (52/66) Installing libunistring (0.9.10-r1) 16:01:28 (53/66) Installing gnutls (3.7.1-r0) 16:01:28 (54/66) Installing libmicrohttpd (0.9.73-r0) 16:01:28 (55/66) Installing gnutls-c++ (3.7.1-r0) 16:01:28 (56/66) Installing libgmpxx (6.2.1-r1) 16:01:28 (57/66) Installing gmp-dev (6.2.1-r1) 16:01:28 (58/66) Installing nettle-dev (3.7.3-r0) 16:01:28 (59/66) Installing libtasn1-progs (4.18.0-r0) 16:01:28 (60/66) Installing libtasn1-dev (4.18.0-r0) 16:01:28 (61/66) Installing p11-kit-dev (0.24.0-r1) 16:01:28 (62/66) Installing gnutls-dev (3.7.1-r0) 16:01:28 (63/66) Installing libmicrohttpd-dev (0.9.73-r0) 16:01:28 (64/66) Installing linux-headers (5.10.41-r0) 16:01:29 (65/66) Installing yaml (0.2.5-r0) 16:01:29 (66/66) Installing yaml-dev (0.2.5-r0) 16:01:29 Executing busybox-1.34.1-r5.trigger 16:01:29 Executing ca-certificates-20211220-r0.trigger 16:01:29 OK: 277 MiB in 77 packages 16:01:42 Removing intermediate container 14b74e887606 16:01:42 ---> 863455d8091d 16:01:42 Step 4/5 : LABEL arch=arm64 16:01:42 ---> Running in 110d394fc356 16:01:42 Removing intermediate container 110d394fc356 16:01:42 ---> 526c66e6065c 16:01:42 Step 5/5 : LABEL git_sha=f6429c61ac09ea619b6dce44b8b13783a6987fd3 16:01:42 ---> Running in 69a875c55b12 16:01:42 Removing intermediate container 69a875c55b12 16:01:42 ---> dcb7e201e8e4 16:01:42 [Warning] One or more build-args [ARCH] were not consumed 16:01:42 Successfully built dcb7e201e8e4 16:01:42 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 16:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:01:43 16:01:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:01:44 arm64: Pulling from edgex-lftools-log-publisher 16:01:44 8998bd30e6a1: Pulling fs layer 16:01:44 04944245beec: Pulling fs layer 16:01:44 699f458cf7ca: Pulling fs layer 16:01:44 765212b225bb: Pulling fs layer 16:01:44 f23df028b6ca: Pulling fs layer 16:01:44 d65c8cfc05b1: Pulling fs layer 16:01:44 2437ff75d9bd: Pulling fs layer 16:01:44 765212b225bb: Waiting 16:01:44 f23df028b6ca: Waiting 16:01:44 d65c8cfc05b1: Waiting 16:01:44 2437ff75d9bd: Waiting 16:01:44 04944245beec: Verifying Checksum 16:01:44 04944245beec: Download complete 16:01:44 765212b225bb: Verifying Checksum 16:01:44 765212b225bb: Download complete 16:01:44 f23df028b6ca: Verifying Checksum 16:01:44 f23df028b6ca: Download complete 16:01:44 d65c8cfc05b1: Verifying Checksum 16:01:44 d65c8cfc05b1: Download complete 16:01:44 699f458cf7ca: Verifying Checksum 16:01:44 699f458cf7ca: Download complete 16:01:44 8998bd30e6a1: Verifying Checksum 16:01:44 8998bd30e6a1: Download complete 16:01:47 2437ff75d9bd: Verifying Checksum 16:01:47 2437ff75d9bd: Download complete 16:01:49 8998bd30e6a1: Pull complete 16:01:49 04944245beec: Pull complete 16:01:51 699f458cf7ca: Pull complete 16:01:51 765212b225bb: Pull complete 16:01:52 f23df028b6ca: Pull complete 16:01:52 d65c8cfc05b1: Pull complete 16:02:07 2437ff75d9bd: Pull complete 16:02:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:02:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:07 prd-ubuntu20.04-docker-arm64-4c-16g-19565 does not seem to be running inside a container 16:02:07 $ 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-194 -v /w/workspace/exfoundry_ci-build-images_PR-194:/w/workspace/exfoundry_ci-build-images_PR-194:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-194@tmp:/w/workspace/exfoundry_ci-build-images_PR-194@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 16:02:10 $ docker top b42952d04f4d3eebfa9df3882bbc5f59232d897cf8f5c576a3c88ec980a60991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:02:11 ---> job-cost.sh 16:02:11 lf-activate-venv: SKIPPING 16:02:11 INFO: No Stack... 16:02:11 INFO: Retrieving Pricing Info for: v3-standard-4 16:02:12 INFO: Archiving Costs [Pipeline] sh 16:02:13 + cat /w/workspace/exfoundry_ci-build-images_PR-194/archives/cost.csv 16:02:13 + cut -d, -f6 [Pipeline] lock 16:02:13 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-194-1-stack-cost] 16:02:13 Resource [jenkins-edgexfoundry-ci-build-images-PR-194-1-stack-cost] did not exist. Created. 16:02:13 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:02:14 /w/workspace/exfoundry_ci-build-images_PR-194@tmp/durable-4be6a1ee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:02:15 + echo total: 0.10999999940395355 [Pipeline] stash 16:02:15 Warning: overwriting stash ‘stack-cost’ 16:02:15 Stashed 1 file(s) [Pipeline] } 16:02:15 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:02:15 $ docker stop --time=1 b42952d04f4d3eebfa9df3882bbc5f59232d897cf8f5c576a3c88ec980a60991 16:02:17 $ docker rm -f b42952d04f4d3eebfa9df3882bbc5f59232d897cf8f5c576a3c88ec980a60991 [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 16:02:18 + [ -d /w/workspace/exfoundry_ci-build-images_PR-194/archives ] 16:02:18 + ls -al /w/workspace/exfoundry_ci-build-images_PR-194/archives 16:02:18 total 16 16:02:18 drwxr-xr-x 3 root root 4096 Jul 12 15:57 . 16:02:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 15:57 .. 16:02:18 drwxr-xr-x 2 root root 4096 Jul 12 15:57 cost 16:02:18 -rw-r--r-- 1 root root 85 Jul 12 15:57 cost.csv 16:02:18 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-194/archives 16:02:18 + ls -al /w/workspace/exfoundry_ci-build-images_PR-194/archives 16:02:18 total 16 16:02:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 15:57 . 16:02:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 15:57 .. 16:02:18 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 15:57 cost 16:02:18 -rw-r--r-- 1 jenkins jenkins 85 Jul 12 15:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:02:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:02:20 ---> package-listing.sh 16:02:20 ++ facter osfamily 16:02:20 ++ tr '[:upper:]' '[:lower:]' 16:02:20 + OS_FAMILY=debian 16:02:20 + workspace=/w/workspace/exfoundry_ci-build-images_PR-194 16:02:20 + START_PACKAGES=/tmp/packages_start.txt 16:02:20 + END_PACKAGES=/tmp/packages_end.txt 16:02:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:02:20 + PACKAGES=/tmp/packages_start.txt 16:02:20 + '[' /w/workspace/exfoundry_ci-build-images_PR-194 ']' 16:02:20 + PACKAGES=/tmp/packages_end.txt 16:02:20 + case "${OS_FAMILY}" in 16:02:20 + dpkg -l 16:02:20 + grep '^ii' 16:02:20 + '[' -f /tmp/packages_start.txt ']' 16:02:20 + '[' -f /tmp/packages_end.txt ']' 16:02:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:02:20 + '[' /w/workspace/exfoundry_ci-build-images_PR-194 ']' 16:02:20 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-194/archives/ 16:02:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-194/archives/ [Pipeline] echo 16:02:20 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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:02:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:02:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:21 prd-ubuntu20.04-docker-8c-8g-19563 does not seem to be running inside a container 16:02:21 $ 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-194/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-194 -v /w/workspace/exfoundry_ci-build-images_PR-194:/w/workspace/exfoundry_ci-build-images_PR-194:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-194@tmp:/w/workspace/exfoundry_ci-build-images_PR-194@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 16:02:21 $ docker top 600e8b49450101a59b996a7097c76b6c3c3b5059af21f5394d46300f5b02cc70 -eo pid,comm [Pipeline] { [Pipeline] sh 16:02:21 + touch /tmp/pre-build-complete [Pipeline] sh 16:02:22 + mkdir -p /var/log/sysstat [Pipeline] sh 16:02:22 + ls /var/log/sa-host 16:02:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:02:22 provisioning config files... 16:02:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-194@tmp/config2487520344164779186tmp [Pipeline] { [Pipeline] echo 16:02:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:02:22 ---> create-netrc.sh [Pipeline] } 16:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:02:23 ---> python-tools-install.sh [Pipeline] echo 16:02:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:02:23 ---> sudo-logs.sh 16:02:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:02:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:02:24 ---> job-cost.sh 16:02:24 lf-activate-venv: SKIPPING 16:02:24 DEBUG: total: 0.2199999988079071 16:02:24 INFO: Retrieving Stack Cost... 16:02:24 INFO: Retrieving Pricing Info for: v3-standard-8 16:02:25 INFO: Archiving Costs [Pipeline] echo 16:02:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:02:25 ---> logs-deploy.sh 16:02:25 lf-activate-venv: SKIPPING 16:02:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-194/1 16:02:25 INFO: archiving workspace using pattern(s): 16:02:26 Archives upload complete. 16:02:26 INFO: archiving logs to Nexus