Pull request #221 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 jinlinGuan for edgexfoundry/ci-build-images Obtained Jenkinsfile from 0b0c4b1b7f82631f7537aab98a6cd613c0b39441+0bfbfe379e00ff97b74c0e4790e2d1d53c98a345 (72d6f663feee6e583f9d4dbe2fa5b0c544bd79c2) 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-ssh16190239263109353282.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh14359565625753598410.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-221/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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9331904652643893748.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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh579079220729989820.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh1328707075909851122.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-221/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-221/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2128273008744057483.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.23-alpine, 1.23-alpine3.20], releaseBranchOverride:golang-1.23] ========================================================= [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-golang-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-golang-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-golang-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: golang-1.23 DOCKER_CUSTOM_TAGS: 1.23-alpine 1.23-alpine3.20 [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-35617 in /w/workspace/exfoundry_ci-build-images_PR-221 [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-221 # 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 Merging remotes/origin/golang-1.23 commit 0bfbfe379e00ff97b74c0e4790e2d1d53c98a345 into PR head commit 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 Merge succeeded, producing 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 Checking out Revision 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 (PR-221) > 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 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/221/head:refs/remotes/origin/PR-221 +refs/heads/golang-1.23:refs/remotes/origin/golang-1.23 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 # 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 0bfbfe379e00ff97b74c0e4790e2d1d53c98a345 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 # timeout=10 Commit message: "ci: add zeromq dependency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:41:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:41:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:41:06 ========================================================= 01:41:06 EdgeX Global Pipelines Version Info 01:41:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:41:07 ------------------- 01:41:07 stable info: 01:41:07 ------------------- 01:41:07 Commited By: Cherry Wang cherry@iotechsys.com 01:41:07 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:41:07 Message: update stable to v1.0.269 01:41:08 ------------------- 01:41:08 experimental info: 01:41:08 ------------------- 01:41:08 Commited By: **** collab-it+edgex@linuxfoundation.org 01:41:08 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:41:08 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:41:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 01:41:08 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo 01:41:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 01:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.23 [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.23-alpine 1.23-alpine3.20 [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b0c4b1 [Pipeline] echo 01:41:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:09 provisioning config files... 01:41:09 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-221@tmp/config7185816083038828352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:10 ---> ****-login.sh 01:41:10 nexus3.edgexfoundry.org:10001 01:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:10 Configure a credential helper to remove this warning. See 01:41:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:10 01:41:10 Login Succeeded 01:41:10 nexus3.edgexfoundry.org:10002 01:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:10 Configure a credential helper to remove this warning. See 01:41:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:10 01:41:10 Login Succeeded 01:41:10 nexus3.edgexfoundry.org:10003 01:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:10 Configure a credential helper to remove this warning. See 01:41:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:10 01:41:10 Login Succeeded 01:41:10 nexus3.edgexfoundry.org:10004 01:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:11 Configure a credential helper to remove this warning. See 01:41:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:11 01:41:11 Login Succeeded 01:41:11 ****.io 01:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:11 Configure a credential helper to remove this warning. See 01:41:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:11 01:41:11 Login Succeeded 01:41:11 ---> ****-login.sh ends [Pipeline] } 01:41: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] getContext [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 01:41:12 provisioning config files... 01:41:12 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-221@tmp/config17522765134360028754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:12 ---> ****-login.sh 01:41:12 nexus3.edgexfoundry.org:10001 01:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:12 Configure a credential helper to remove this warning. See 01:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:12 01:41:12 Login Succeeded 01:41:12 nexus3.edgexfoundry.org:10002 01:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:12 Configure a credential helper to remove this warning. See 01:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:12 01:41:12 Login Succeeded 01:41:12 nexus3.edgexfoundry.org:10003 01:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:12 Configure a credential helper to remove this warning. See 01:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:12 01:41:12 Login Succeeded 01:41:12 nexus3.edgexfoundry.org:10004 01:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:12 Configure a credential helper to remove this warning. See 01:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:12 01:41:12 Login Succeeded 01:41:12 ****.io 01:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:13 Configure a credential helper to remove this warning. See 01:41:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:13 01:41:13 Login Succeeded 01:41:13 ---> ****-login.sh ends [Pipeline] } 01:41: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 01:41:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:14 + ls -al . 01:41:14 total 28 01:41:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 24 01:41 . 01:41:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 24 01:41 .. 01:41:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 24 01:41 .git 01:41:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 24 01:41 .github 01:41:14 -rw-rw-r-- 1 jenkins jenkins 586 Dec 24 01:41 .golangci.yml 01:41:14 -rw-rw-r-- 1 jenkins jenkins 1194 Dec 24 01:41 Dockerfile 01:41:14 -rw-rw-r-- 1 jenkins jenkins 952 Dec 24 01:41 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:14 + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=0b0c4b1b7f82631f7537aab98a6cd613c0b39441 --label arch=amd64 . 01:41:14 Sending build context to Docker daemon 487.9kB 01:41:14 Step 1/9 : FROM golang:1.23-alpine3.20 01:41:15 1.23-alpine3.20: Pulling from library/golang 01:41:15 da9db072f522: Pulling fs layer 01:41:15 6ef4a4ee8ca5: Pulling fs layer 01:41:15 06f05ace1117: Pulling fs layer 01:41:15 5fe327b54edc: Pulling fs layer 01:41:15 4f4fb700ef54: Pulling fs layer 01:41:15 5fe327b54edc: Waiting 01:41:15 4f4fb700ef54: Waiting 01:41:15 da9db072f522: Verifying Checksum 01:41:15 da9db072f522: Download complete 01:41:15 6ef4a4ee8ca5: Verifying Checksum 01:41:15 6ef4a4ee8ca5: Download complete 01:41:15 5fe327b54edc: Verifying Checksum 01:41:15 4f4fb700ef54: Verifying Checksum 01:41:15 4f4fb700ef54: Download complete 01:41:15 da9db072f522: Pull complete 01:41:15 6ef4a4ee8ca5: Pull complete 01:41:16 06f05ace1117: Verifying Checksum 01:41:16 06f05ace1117: Download complete 01:41:20 06f05ace1117: Pull complete 01:41:20 5fe327b54edc: Pull complete 01:41:20 4f4fb700ef54: Pull complete 01:41:20 Digest: sha256:9a31ef0803e6afdf564edc8ba4b4e17caed22a0b1ecd2c55e3c8fdd8d8f68f98 01:41:20 Status: Downloaded newer image for golang:1.23-alpine3.20 01:41:20 ---> bed2b335ca59 01:41:20 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' 01:41:22 ---> Running in 380f5efe4933 01:41:22 Removing intermediate container 380f5efe4933 01:41:22 ---> 07e2469de1b3 01:41:22 Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.61.0 01:41:22 ---> Running in 34a1d9eea7c8 01:41:22 Removing intermediate container 34a1d9eea7c8 01:41:22 ---> 5adc346a3d22 01:41:22 Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml 01:41:22 ---> 9a87180967db 01:41:22 Step 5/9 : RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi 01:41:22 ---> Running in e75a38a914ef 01:41:23 Connecting to github.com (140.82.113.4:443) 01:41:23 Connecting to objects.githubusercontent.com (185.199.111.133:443) 01:41:23 saving to '/usr/local/bin/hadolint' 01:41:23 hadolint 46% |*************** | 1112k 0:00:01 ETA 01:41:23 hadolint 100% |********************************| 2369k 0:00:00 ETA 01:41:23 '/usr/local/bin/hadolint' saved 01:41:23 Removing intermediate container e75a38a914ef 01:41:23 ---> f1c1d1d6335a 01:41:23 Step 6/9 : RUN apk add --update --no-cache make git curl bash pkgconfig build-base linux-headers musl-dev zeromq-dev && apk upgrade && ln -s /bin/touch /usr/bin/touch && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} 01:41:24 ---> Running in c00948a1a126 01:41:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:41:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:41:25 (1/43) Installing ncurses-terminfo-base (6.4_p20240420-r2) 01:41:25 (2/43) Installing libncursesw (6.4_p20240420-r2) 01:41:25 (3/43) Installing readline (8.2.10-r0) 01:41:25 (4/43) Installing bash (5.2.26-r0) 01:41:25 Executing bash-5.2.26-r0.post-install 01:41:25 (5/43) Installing libgcc (13.2.1_git20240309-r0) 01:41:25 (6/43) Installing jansson (2.14-r4) 01:41:25 (7/43) Installing libstdc++ (13.2.1_git20240309-r0) 01:41:25 (8/43) Installing zstd-libs (1.5.6-r0) 01:41:25 (9/43) Installing binutils (2.42-r0) 01:41:25 (10/43) Installing libmagic (5.45-r1) 01:41:25 (11/43) Installing file (5.45-r1) 01:41:25 (12/43) Installing libgomp (13.2.1_git20240309-r0) 01:41:25 (13/43) Installing libatomic (13.2.1_git20240309-r0) 01:41:25 (14/43) Installing gmp (6.3.0-r1) 01:41:25 (15/43) Installing isl26 (0.26-r1) 01:41:25 (16/43) Installing mpfr4 (4.2.1-r0) 01:41:25 (17/43) Installing mpc1 (1.3.1-r1) 01:41:25 (18/43) Installing gcc (13.2.1_git20240309-r0) 01:41:25 (19/43) Installing libstdc++-dev (13.2.1_git20240309-r0) 01:41:26 (20/43) Installing musl-dev (1.2.5-r0) 01:41:26 (21/43) Installing g++ (13.2.1_git20240309-r0) 01:41:26 (22/43) Installing make (4.4.1-r2) 01:41:26 (23/43) Installing fortify-headers (1.1-r3) 01:41:26 (24/43) Installing patch (2.7.6-r10) 01:41:26 (25/43) Installing build-base (0.5-r3) 01:41:26 (26/43) Installing brotli-libs (1.1.0-r2) 01:41:26 (27/43) Installing c-ares (1.33.1-r0) 01:41:26 (28/43) Installing libunistring (1.2-r0) 01:41:26 (29/43) Installing libidn2 (2.3.7-r0) 01:41:26 (30/43) Installing nghttp2-libs (1.62.1-r0) 01:41:26 (31/43) Installing libpsl (0.21.5-r1) 01:41:26 (32/43) Installing libcurl (8.11.1-r0) 01:41:26 (33/43) Installing curl (8.11.1-r0) 01:41:26 (34/43) Installing libexpat (2.6.4-r0) 01:41:26 (35/43) Installing pcre2 (10.43-r0) 01:41:26 (36/43) Installing git (2.45.2-r0) 01:41:26 (37/43) Installing git-init-template (2.45.2-r0) 01:41:26 (38/43) Installing linux-headers (6.6-r0) 01:41:26 (39/43) Installing pkgconf (2.2.0-r0) 01:41:26 (40/43) Installing libsodium (1.0.19-r0) 01:41:26 (41/43) Installing libzmq (4.3.5-r2) 01:41:26 (42/43) Installing libsodium-dev (1.0.19-r0) 01:41:26 (43/43) Installing zeromq-dev (4.3.5-r2) 01:41:26 Executing busybox-1.36.1-r29.trigger 01:41:26 OK: 248 MiB in 58 packages 01:41:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:41:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:41:26 Still waiting to schedule task 01:41:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-35615’ 01:41:27 Upgrading critical system libraries and apk-tools: 01:41:27 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 01:41:27 Executing busybox-1.36.1-r29.trigger 01:41:27 Continuing the upgrade transaction with new apk-tools: 01:41:27 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 01:41:27 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 01:41:27 Executing ca-certificates-20240705-r0.trigger 01:41:27 OK: 248 MiB in 58 packages 01:41:27 Connecting to raw.githubusercontent.com (185.199.108.133:443) 01:41:27 writing to stdout 01:41:27 - 100% |********************************| 11591 0:00:00 ETA 01:41:27 written to stdout 01:41:27 golangci/golangci-lint info checking GitHub for tag 'v1.61.0' 01:41:27 golangci/golangci-lint info found version: 1.61.0 for v1.61.0/linux/amd64 01:41:29 golangci/golangci-lint info installed ./bin/golangci-lint 01:41:34 Removing intermediate container c00948a1a126 01:41:34 ---> 38562816cf09 01:41:34 Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 01:41:34 ---> Running in 22e9181c39ea 01:41:36 go: downloading github.com/gotesttools/gotestfmt v1.1.0 01:41:36 go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 01:41:44 Removing intermediate container 22e9181c39ea 01:41:44 ---> 3e510eed5927 01:41:44 Step 8/9 : LABEL arch=amd64 01:41:44 ---> Running in 2d1b28e38729 01:41:44 Removing intermediate container 2d1b28e38729 01:41:44 ---> 899dbe21d54d 01:41:44 Step 9/9 : LABEL git_sha=0b0c4b1b7f82631f7537aab98a6cd613c0b39441 01:41:44 ---> Running in 7acc72fcd823 01:41:44 Removing intermediate container 7acc72fcd823 01:41:44 ---> a8d3abba4617 01:41:44 [Warning] One or more build-args [ARCH] were not consumed 01:41:44 Successfully built a8d3abba4617 01:41:44 Successfully tagged edgex-devops/edgex-golang-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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:45 01:41:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:45 latest: Pulling from edgex-lftools-log-publisher 01:41:45 5eb5b503b376: Pulling fs layer 01:41:45 5c69ac0246d0: Pulling fs layer 01:41:45 ec43610c2a17: Pulling fs layer 01:41:45 3a2ae6a8a46f: Pulling fs layer 01:41:45 33b1e0a273af: Pulling fs layer 01:41:45 5d3b04190fa2: Pulling fs layer 01:41:45 2f39f015ded8: Pulling fs layer 01:41:45 5d3b04190fa2: Waiting 01:41:45 3a2ae6a8a46f: Waiting 01:41:45 33b1e0a273af: Waiting 01:41:45 5c69ac0246d0: Download complete 01:41:45 3a2ae6a8a46f: Download complete 01:41:45 33b1e0a273af: Verifying Checksum 01:41:45 33b1e0a273af: Download complete 01:41:45 5d3b04190fa2: Verifying Checksum 01:41:45 5d3b04190fa2: Download complete 01:41:45 ec43610c2a17: Verifying Checksum 01:41:45 ec43610c2a17: Download complete 01:41:45 5eb5b503b376: Download complete 01:41:46 2f39f015ded8: Download complete 01:41:46 5eb5b503b376: Pull complete 01:41:47 5c69ac0246d0: Pull complete 01:41:47 ec43610c2a17: Pull complete 01:41:47 3a2ae6a8a46f: Pull complete 01:41:48 33b1e0a273af: Pull complete 01:41:48 5d3b04190fa2: Pull complete 01:41:53 2f39f015ded8: Pull complete 01:41:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:53 prd-ubuntu20.04-docker-8c-8g-35617 does not seem to be running inside a container 01:41:53 $ 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-221 -v /w/workspace/exfoundry_ci-build-images_PR-221:/w/workspace/exfoundry_ci-build-images_PR-221:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-221@tmp:/w/workspace/exfoundry_ci-build-images_PR-221@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 01:41:57 $ docker top fd418c163715a6531364d8a4b6cc69c232491957eeaaa7b0845f0d01885a6891 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:58 ---> job-cost.sh 01:41:58 lf-activate-venv: SKIPPING 01:41:58 INFO: No Stack... 01:41:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:41:59 INFO: Archiving Costs [Pipeline] sh 01:41:59 + cat /w/workspace/exfoundry_ci-build-images_PR-221/archives/cost.csv 01:41:59 + cut -d, -f6 [Pipeline] lock 01:41:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-PR-221-1-stack-cost] 01:41:59 Resource [jenkins-edgexfoundry-ci-build-images-PR-221-1-stack-cost] did not exist. Created. 01:41:59 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:41:59 + echo total: 0.2199999988079071 [Pipeline] stash 01:42:00 Stashed 1 file(s) [Pipeline] } 01:42:00 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:42:00 $ docker stop --time=1 fd418c163715a6531364d8a4b6cc69c232491957eeaaa7b0845f0d01885a6891 01:42:01 $ docker rm -f --volumes fd418c163715a6531364d8a4b6cc69c232491957eeaaa7b0845f0d01885a6891 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:45:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-35619 in /w/workspace/exfoundry_ci-build-images_PR-221 [Pipeline] { [Pipeline] checkout 01:45:00 Selected Git installation does not exist. Using Default 01:45:00 The recommended git tool is: NONE 01:45:06 using credential edgex-jenkins-ssh 01:45:06 Cloning the remote Git repository 01:45:06 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 01:45:06 > git init /w/workspace/exfoundry_ci-build-images_PR-221 # timeout=10 01:45:06 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 01:45:06 > git --version # timeout=10 01:45:06 > git --version # 'git version 2.25.1' 01:45:06 using GIT_SSH to set credentials SSH Credentials for GitHub 01:45:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:45:07 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 01:45:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:45:08 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 01:45:08 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 01:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 01:45:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/golang-1.23:refs/remotes/origin/golang-1.23 # timeout=10 01:45:08 Merging remotes/origin/golang-1.23 commit 0bfbfe379e00ff97b74c0e4790e2d1d53c98a345 into PR head commit 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 01:45:09 Merge succeeded, producing 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 01:45:09 Checking out Revision 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 (PR-221) 01:45:08 > git config core.sparsecheckout # timeout=10 01:45:08 > git checkout -f 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 # timeout=10 01:45:09 > git remote # timeout=10 01:45:09 > git config --get remote.origin.url # timeout=10 01:45:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:45:09 > git merge 0bfbfe379e00ff97b74c0e4790e2d1d53c98a345 # timeout=10 01:45:09 > git rev-parse HEAD^{commit} # timeout=10 01:45:09 > git config core.sparsecheckout # timeout=10 01:45:09 > git checkout -f 0b0c4b1b7f82631f7537aab98a6cd613c0b39441 # timeout=10 01:45:12 Commit message: "ci: add zeromq dependency" 01:45:12 > git --version # timeout=10 01:45:12 > git --version # 'git version 2.25.1' 01:45:12 fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:45:14 % Total % Received % Xferd Average Speed Time Time Time Current 01:45:14 Dload Upload Total Spent Left Speed 01:45:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 70098 0 --:--:-- --:--:-- --:--:-- 70098 [Pipeline] sh 01:45:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:45:15 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:45:15 sudo tee /etc/docker/daemon.new 01:45:15 { 01:45:15 "registry-mirrors": [ 01:45:15 "https://nexus3.edgexfoundry.org:10001" 01:45:15 ], 01:45:15 "bip": "10.250.0.254/24", 01:45:15 "hosts": [ 01:45:15 "tcp://0.0.0.0:5555", 01:45:15 "unix:///var/run/docker.sock" 01:45:15 ], 01:45:15 "mtu": 1458, 01:45:15 "selinux-enabled": true, 01:45:15 "seccomp-profile": "/etc/docker/seccomp.json" 01:45:15 } [Pipeline] sh 01:45:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:45:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:34 provisioning config files... 01:45:34 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-221@tmp/config6068065564539623794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:35 ---> ****-login.sh 01:45:35 nexus3.edgexfoundry.org:10001 01:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:35 Configure a credential helper to remove this warning. See 01:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:35 01:45:35 Login Succeeded 01:45:35 nexus3.edgexfoundry.org:10002 01:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:35 Configure a credential helper to remove this warning. See 01:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:35 01:45:35 Login Succeeded 01:45:35 nexus3.edgexfoundry.org:10003 01:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:36 Configure a credential helper to remove this warning. See 01:45:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:36 01:45:36 Login Succeeded 01:45:36 nexus3.edgexfoundry.org:10004 01:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:36 Configure a credential helper to remove this warning. See 01:45:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:36 01:45:36 Login Succeeded 01:45:36 ****.io 01:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:36 Configure a credential helper to remove this warning. See 01:45:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:36 01:45:36 Login Succeeded 01:45:36 ---> ****-login.sh ends [Pipeline] } 01:45:36 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 01:45:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:45:37 + ls -al . 01:45:37 total 28 01:45:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 24 01:45 . 01:45:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 24 01:45 .. 01:45:37 drwxrwxr-x 8 jenkins jenkins 4096 Dec 24 01:45 .git 01:45:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 24 01:45 .github 01:45:37 -rw-rw-r-- 1 jenkins jenkins 586 Dec 24 01:45 .golangci.yml 01:45:37 -rw-rw-r-- 1 jenkins jenkins 1194 Dec 24 01:45 Dockerfile 01:45:37 -rw-rw-r-- 1 jenkins jenkins 952 Dec 24 01:45 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:38 + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=0b0c4b1b7f82631f7537aab98a6cd613c0b39441 --label arch=arm64 . 01:45:39 #0 building with "default" instance using docker driver 01:45:39 01:45:39 #1 [internal] load .dockerignore 01:45:39 #1 transferring context: 2B 0.0s done 01:45:39 #1 DONE 0.1s 01:45:39 01:45:39 #2 [internal] load build definition from Dockerfile 01:45:39 #2 transferring dockerfile: 1.23kB 0.0s done 01:45:39 #2 DONE 0.1s 01:45:39 01:45:39 #3 [internal] load metadata for docker.io/library/golang:1.23-alpine3.20 01:45:40 #3 DONE 0.9s 01:45:40 01:45:40 #4 [1/5] FROM docker.io/library/golang:1.23-alpine3.20@sha256:9a31ef0803e6afdf564edc8ba4b4e17caed22a0b1ecd2c55e3c8fdd8d8f68f98 01:45:40 #4 resolve docker.io/library/golang:1.23-alpine3.20@sha256:9a31ef0803e6afdf564edc8ba4b4e17caed22a0b1ecd2c55e3c8fdd8d8f68f98 0.1s done 01:45:40 #4 ... 01:45:40 01:45:40 #5 [internal] load build context 01:45:40 #5 transferring context: 628B done 01:45:40 #5 DONE 0.1s 01:45:40 01:45:40 #4 [1/5] FROM docker.io/library/golang:1.23-alpine3.20@sha256:9a31ef0803e6afdf564edc8ba4b4e17caed22a0b1ecd2c55e3c8fdd8d8f68f98 01:45:40 #4 sha256:9a31ef0803e6afdf564edc8ba4b4e17caed22a0b1ecd2c55e3c8fdd8d8f68f98 10.29kB / 10.29kB done 01:45:40 #4 sha256:4f65e5713e23c4fb7d85ffd07d03d79c78b2b971b863e9ffebf347ceb3d4934f 1.92kB / 1.92kB done 01:45:40 #4 sha256:8019a9ee6db8c8805c4ede89b8895b0fdc10d6db973fdabeb2b865151eb29fa0 2.12kB / 2.12kB done 01:45:40 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0B / 4.09MB 0.1s 01:45:40 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0B / 293.53kB 0.1s 01:45:40 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 0B / 70.67MB 0.1s 01:45:40 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 1.05MB / 4.09MB 0.3s 01:45:40 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 293.53kB / 293.53kB 0.2s done 01:45:40 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 0B / 126B 0.3s 01:45:40 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.4s done 01:45:40 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 01:45:41 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 0.4s done 01:45:41 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.4s done 01:45:41 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.3s done 01:45:41 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 01:45:41 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.2s done 01:45:42 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 9.44MB / 70.67MB 1.9s 01:45:42 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 14.81MB / 70.67MB 2.0s 01:45:42 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 26.21MB / 70.67MB 2.2s 01:45:42 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 31.46MB / 70.67MB 2.3s 01:45:42 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 40.89MB / 70.67MB 2.5s 01:45:42 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 46.14MB / 70.67MB 2.6s 01:45:43 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 55.57MB / 70.67MB 2.8s 01:45:43 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 60.82MB / 70.67MB 2.9s 01:45:43 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 66.06MB / 70.67MB 3.0s 01:45:43 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 3.1s 01:45:43 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 3.2s done 01:45:43 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 01:45:50 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.4s 01:45:55 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 11.5s 01:46:04 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 19.2s done 01:46:04 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 done 01:46:04 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:46:04 #4 DONE 24.2s 01:46:04 01:46:04 #6 [2/5] COPY ./.golangci.yml /etc/.golangci.yml 01:46:05 #6 DONE 1.2s 01:46:05 01:46:05 #7 [3/5] RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi 01:46:06 #7 DONE 0.8s 01:46:06 01:46:06 #8 [4/5] RUN apk add --update --no-cache make git curl bash pkgconfig build-base linux-headers musl-dev zeromq-dev && apk upgrade && ln -s /bin/touch /usr/bin/touch && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.61.0 01:46:07 #8 0.819 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:46:08 #8 1.230 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:46:09 #8 2.664 (1/43) Installing ncurses-terminfo-base (6.4_p20240420-r2) 01:46:09 #8 2.692 (2/43) Installing libncursesw (6.4_p20240420-r2) 01:46:09 #8 2.717 (3/43) Installing readline (8.2.10-r0) 01:46:09 #8 2.735 (4/43) Installing bash (5.2.26-r0) 01:46:09 #8 2.807 Executing bash-5.2.26-r0.post-install 01:46:09 #8 2.822 (5/43) Installing libgcc (13.2.1_git20240309-r0) 01:46:09 #8 2.832 (6/43) Installing jansson (2.14-r4) 01:46:09 #8 2.839 (7/43) Installing libstdc++ (13.2.1_git20240309-r0) 01:46:09 #8 2.901 (8/43) Installing zstd-libs (1.5.6-r0) 01:46:09 #8 2.926 (9/43) Installing binutils (2.42-r0) 01:46:10 #8 3.538 (10/43) Installing libmagic (5.45-r1) 01:46:10 #8 3.650 (11/43) Installing file (5.45-r1) 01:46:10 #8 3.657 (12/43) Installing libgomp (13.2.1_git20240309-r0) 01:46:10 #8 3.671 (13/43) Installing libatomic (13.2.1_git20240309-r0) 01:46:10 #8 3.677 (14/43) Installing gmp (6.3.0-r1) 01:46:10 #8 3.695 (15/43) Installing isl26 (0.26-r1) 01:46:10 #8 3.752 (16/43) Installing mpfr4 (4.2.1-r0) 01:46:10 #8 3.774 (17/43) Installing mpc1 (1.3.1-r1) 01:46:10 #8 3.785 (18/43) Installing gcc (13.2.1_git20240309-r0) 01:46:13 #8 6.466 (19/43) Installing libstdc++-dev (13.2.1_git20240309-r0) 01:46:13 #8 7.162 (20/43) Installing musl-dev (1.2.5-r0) 01:46:14 #8 7.459 (21/43) Installing g++ (13.2.1_git20240309-r0) 01:46:15 #8 8.195 (22/43) Installing make (4.4.1-r2) 01:46:15 #8 8.209 (23/43) Installing fortify-headers (1.1-r3) 01:46:15 #8 8.219 (24/43) Installing patch (2.7.6-r10) 01:46:15 #8 8.229 (25/43) Installing build-base (0.5-r3) 01:46:15 #8 8.235 (26/43) Installing brotli-libs (1.1.0-r2) 01:46:15 #8 8.265 (27/43) Installing c-ares (1.33.1-r0) 01:46:15 #8 8.276 (28/43) Installing libunistring (1.2-r0) 01:46:15 #8 8.318 (29/43) Installing libidn2 (2.3.7-r0) 01:46:15 #8 8.378 (30/43) Installing nghttp2-libs (1.62.1-r0) 01:46:15 #8 8.388 (31/43) Installing libpsl (0.21.5-r1) 01:46:15 #8 8.397 (32/43) Installing libcurl (8.11.1-r0) 01:46:15 #8 8.432 (33/43) Installing curl (8.11.1-r0) 01:46:15 #8 8.448 (34/43) Installing libexpat (2.6.4-r0) 01:46:15 #8 8.458 (35/43) Installing pcre2 (10.43-r0) 01:46:15 #8 8.481 (36/43) Installing git (2.45.2-r0) 01:46:15 #8 8.725 (37/43) Installing git-init-template (2.45.2-r0) 01:46:15 #8 8.739 (38/43) Installing linux-headers (6.6-r0) 01:46:15 #8 9.249 (39/43) Installing pkgconf (2.2.0-r0) 01:46:15 #8 9.263 (40/43) Installing libsodium (1.0.19-r0) 01:46:16 #8 9.363 (41/43) Installing libzmq (4.3.5-r2) 01:46:16 #8 9.465 (42/43) Installing libsodium-dev (1.0.19-r0) 01:46:16 #8 9.506 (43/43) Installing zeromq-dev (4.3.5-r2) 01:46:16 #8 9.523 Executing busybox-1.36.1-r29.trigger 01:46:16 #8 9.562 OK: 239 MiB in 58 packages 01:46:16 #8 9.902 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:46:16 #8 10.19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:46:18 #8 11.62 Upgrading critical system libraries and apk-tools: 01:46:18 #8 11.62 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 01:46:18 #8 11.64 Executing busybox-1.36.1-r29.trigger 01:46:18 #8 11.97 Continuing the upgrade transaction with new apk-tools: 01:46:20 #8 13.53 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 01:46:20 #8 13.76 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 01:46:20 #8 13.80 Executing ca-certificates-20240705-r0.trigger 01:46:20 #8 13.99 OK: 239 MiB in 58 packages 01:46:20 #8 14.32 Connecting to raw.githubusercontent.com (185.199.111.133:443) 01:46:21 #8 14.44 writing to stdout 01:46:21 #8 14.44 - 100% |********************************| 11591 0:00:00 ETA 01:46:21 #8 14.44 written to stdout 01:46:21 #8 14.48 golangci/golangci-lint info checking GitHub for tag 'v1.61.0' 01:46:21 #8 14.84 golangci/golangci-lint info found version: 1.61.0 for v1.61.0/linux/arm64 01:46:23 #8 17.21 golangci/golangci-lint info installed ./bin/golangci-lint 01:46:24 #8 DONE 18.0s 01:46:24 01:46:24 #9 [5/5] RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 01:46:26 #9 1.249 go: downloading github.com/gotesttools/gotestfmt v1.1.0 01:46:26 #9 1.264 go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 01:46:58 #9 DONE 29.2s 01:46:58 01:46:58 #10 exporting to image 01:46:58 #10 exporting layers 01:46:59 #10 exporting layers 5.7s done 01:46:59 #10 writing image sha256:603f2e5cacecbdce50e2b0bf1de887fbbecae0156b3c68504e74bbed37416227 done 01:46:59 #10 naming to docker.io/edgex-devops/edgex-golang-base-arm64 0.0s done 01:46:59 #10 DONE 5.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:00 01:47:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:01 arm64: Pulling from edgex-lftools-log-publisher 01:47:01 8998bd30e6a1: Pulling fs layer 01:47:01 04944245beec: Pulling fs layer 01:47:01 699f458cf7ca: Pulling fs layer 01:47:01 765212b225bb: Pulling fs layer 01:47:01 f23df028b6ca: Pulling fs layer 01:47:01 d65c8cfc05b1: Pulling fs layer 01:47:01 2437ff75d9bd: Pulling fs layer 01:47:01 f23df028b6ca: Waiting 01:47:01 d65c8cfc05b1: Waiting 01:47:01 765212b225bb: Waiting 01:47:01 2437ff75d9bd: Waiting 01:47:01 04944245beec: Verifying Checksum 01:47:01 04944245beec: Download complete 01:47:01 765212b225bb: Verifying Checksum 01:47:01 765212b225bb: Download complete 01:47:01 f23df028b6ca: Verifying Checksum 01:47:01 f23df028b6ca: Download complete 01:47:01 d65c8cfc05b1: Download complete 01:47:01 699f458cf7ca: Verifying Checksum 01:47:01 699f458cf7ca: Download complete 01:47:02 8998bd30e6a1: Verifying Checksum 01:47:02 8998bd30e6a1: Download complete 01:47:04 2437ff75d9bd: Verifying Checksum 01:47:04 2437ff75d9bd: Download complete 01:47:08 8998bd30e6a1: Pull complete 01:47:08 04944245beec: Pull complete 01:47:11 699f458cf7ca: Pull complete 01:47:11 765212b225bb: Pull complete 01:47:12 f23df028b6ca: Pull complete 01:47:12 d65c8cfc05b1: Pull complete 01:47:34 2437ff75d9bd: Pull complete 01:47:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:47:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:34 prd-ubuntu20.04-docker-arm64-4c-16g-35619 does not seem to be running inside a container 01:47:34 $ 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-221 -v /w/workspace/exfoundry_ci-build-images_PR-221:/w/workspace/exfoundry_ci-build-images_PR-221:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-221@tmp:/w/workspace/exfoundry_ci-build-images_PR-221@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:47:36 $ docker top 56ec3f34074fd3abcf978f2f7669c12be2ce61400d6b099f40b601b31c7683e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:36 ---> job-cost.sh 01:47:36 lf-activate-venv: SKIPPING 01:47:36 INFO: No Stack... 01:47:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:47:38 INFO: Archiving Costs [Pipeline] sh 01:47:38 + cat /w/workspace/exfoundry_ci-build-images_PR-221/archives/cost.csv 01:47:38 + cut -d, -f6 [Pipeline] lock 01:47:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-PR-221-1-stack-cost] 01:47:38 Resource [jenkins-edgexfoundry-ci-build-images-PR-221-1-stack-cost] did not exist. Created. 01:47:38 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:47:39 /w/workspace/exfoundry_ci-build-images_PR-221@tmp/durable-367a6d4c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:47:39 + echo total: 0.2199999988079071 [Pipeline] stash 01:47:39 Warning: overwriting stash ‘stack-cost’ 01:47:39 Stashed 1 file(s) [Pipeline] } 01:47:39 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:47:40 $ docker stop --time=1 56ec3f34074fd3abcf978f2f7669c12be2ce61400d6b099f40b601b31c7683e9 01:47:41 $ docker rm -f --volumes 56ec3f34074fd3abcf978f2f7669c12be2ce61400d6b099f40b601b31c7683e9 [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] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:47:43 + [ -d /w/workspace/exfoundry_ci-build-images_PR-221/archives ] 01:47:43 + ls -al /w/workspace/exfoundry_ci-build-images_PR-221/archives 01:47:43 total 16 01:47:43 drwxr-xr-x 3 root root 4096 Dec 24 01:41 . 01:47:43 drwxrwxr-x 5 jenkins jenkins 4096 Dec 24 01:41 .. 01:47:43 drwxr-xr-x 2 root root 4096 Dec 24 01:41 cost 01:47:43 -rw-r--r-- 1 root root 87 Dec 24 01:41 cost.csv 01:47:43 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-221/archives 01:47:43 + ls -al /w/workspace/exfoundry_ci-build-images_PR-221/archives 01:47:43 total 16 01:47:43 drwxr-xr-x 3 jenkins jenkins 4096 Dec 24 01:41 . 01:47:43 drwxrwxr-x 5 jenkins jenkins 4096 Dec 24 01:41 .. 01:47:43 drwxr-xr-x 2 jenkins jenkins 4096 Dec 24 01:41 cost 01:47:43 -rw-r--r-- 1 jenkins jenkins 87 Dec 24 01:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:47:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:47:44 ---> package-listing.sh 01:47:44 ++ facter osfamily 01:47:44 ++ tr '[:upper:]' '[:lower:]' 01:47:44 + OS_FAMILY=debian 01:47:44 + workspace=/w/workspace/exfoundry_ci-build-images_PR-221 01:47:44 + START_PACKAGES=/tmp/packages_start.txt 01:47:44 + END_PACKAGES=/tmp/packages_end.txt 01:47:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:47:44 + PACKAGES=/tmp/packages_start.txt 01:47:44 + '[' /w/workspace/exfoundry_ci-build-images_PR-221 ']' 01:47:44 + PACKAGES=/tmp/packages_end.txt 01:47:44 + case "${OS_FAMILY}" in 01:47:44 + dpkg -l 01:47:44 + grep '^ii' 01:47:44 + '[' -f /tmp/packages_start.txt ']' 01:47:44 + '[' -f /tmp/packages_end.txt ']' 01:47:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:47:44 + '[' /w/workspace/exfoundry_ci-build-images_PR-221 ']' 01:47:44 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-221/archives/ 01:47:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-221/archives/ [Pipeline] echo 01:47:44 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-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:47:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:45 prd-ubuntu20.04-docker-8c-8g-35617 does not seem to be running inside a container 01:47:45 $ 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-221/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-221 -v /w/workspace/exfoundry_ci-build-images_PR-221:/w/workspace/exfoundry_ci-build-images_PR-221:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-221@tmp:/w/workspace/exfoundry_ci-build-images_PR-221@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:47:45 $ docker top 91785a7d8c0442e2e852a244864972576094e4117921db910400deaa52938e2d -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:46 + touch /tmp/pre-build-complete [Pipeline] sh 01:47:46 + mkdir -p /var/log/sysstat [Pipeline] sh 01:47:46 + ls /var/log/sa-host 01:47:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:47 provisioning config files... 01:47:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-221@tmp/config14871921953180749615tmp [Pipeline] { [Pipeline] echo 01:47:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:47:47 ---> create-netrc.sh [Pipeline] } 01:47:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:47:47 ---> python-tools-install.sh [Pipeline] echo 01:47:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:47:48 ---> sudo-logs.sh 01:47:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:47:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:47:48 ---> job-cost.sh 01:47:48 lf-activate-venv: SKIPPING 01:47:48 DEBUG: total: 0.2199999988079071 01:47:48 INFO: Retrieving Stack Cost... 01:47:48 INFO: Retrieving Pricing Info for: v3-standard-8 01:47:49 INFO: Archiving Costs [Pipeline] echo 01:47:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:47:49 ---> logs-deploy.sh 01:47:49 lf-activate-venv: SKIPPING 01:47:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-221/1 01:47:49 INFO: archiving workspace using pattern(s): 01:47:50 Archives upload complete. 01:47:50 INFO: archiving logs to Nexus