Pull request #225 updated 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 cherrycl for edgexfoundry/ci-build-images Obtained Jenkinsfile from 090a1002ba57503c9d2eedabe96d913531858e95+83416c26bb2dafbdb546ee79f7d5c99020093f9c (2c0a60db99e392b3fcc7cfd050a2d26ada603670) 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-ssh15504456002797870402.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 056ae7b86453181957306e7078512cbe12174832 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-ssh8068141055326405795.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 056ae7b86453181957306e7078512cbe12174832 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-225/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-225/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11627865624377678958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 056ae7b86453181957306e7078512cbe12174832 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 056ae7b86453181957306e7078512cbe12174832 # timeout=10 Commit message: "Merge pull request #473 from cherrycl/fix-seccomp-profile-error" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14109338820576296338.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-225/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-225/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4348228370240730836.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.25-alpine, 1.25-alpine3.22], releaseBranchOverride:golang-1.25] ========================================================= [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.25 DOCKER_CUSTOM_TAGS: 1.25-alpine 1.25-alpine3.22 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-232721 in /w/workspace/exfoundry_ci-build-images_PR-225 [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-225 # 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.25 commit 83416c26bb2dafbdb546ee79f7d5c99020093f9c into PR head commit 090a1002ba57503c9d2eedabe96d913531858e95 Merge succeeded, producing 090a1002ba57503c9d2eedabe96d913531858e95 Checking out Revision 090a1002ba57503c9d2eedabe96d913531858e95 (PR-225) > 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/225/head:refs/remotes/origin/PR-225 +refs/heads/golang-1.25:refs/remotes/origin/golang-1.25 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 090a1002ba57503c9d2eedabe96d913531858e95 # 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 83416c26bb2dafbdb546ee79f7d5c99020093f9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 090a1002ba57503c9d2eedabe96d913531858e95 # timeout=10 Commit message: "ci: update golang version to 1.25. Update .golangci.yml to support golangci-lint v2" First time build. Skipping changelog. > git rev-list --no-walk 64a20589b6085a58b21e7e730a2ae8f7c098b654 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:56:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:56:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:56:30 ========================================================= 06:56:30 EdgeX Global Pipelines Version Info 06:56:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:56:31 ------------------- 06:56:31 stable info: 06:56:31 ------------------- 06:56:31 Commited By: Cherry Wang cherry@iotechsys.com 06:56:31 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 06:56:31 Message: update stable to v1.0.276 06:56:32 ------------------- 06:56:32 experimental info: 06:56:32 ------------------- 06:56:32 Commited By: **** collab-it+edgex@linuxfoundation.org 06:56:32 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 06:56:32 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.25 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.25-alpine 1.25-alpine3.22 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-225 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-225 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-225 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 090a1002ba57503c9d2eedabe96d913531858e95 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 090a100 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:56:32 provisioning config files... 06:56:32 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-225@tmp/config4978774948370761930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:33 ---> ****-login.sh 06:56:33 nexus3.edgexfoundry.org:10001 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:33 06:56:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:56:33 Configure a credential helper to remove this warning. See 06:56:33 https://docs.****.com/go/credential-store/ 06:56:33 06:56:33 Login Succeeded 06:56:33 nexus3.edgexfoundry.org:10002 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:33 06:56:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:56:33 Configure a credential helper to remove this warning. See 06:56:33 https://docs.****.com/go/credential-store/ 06:56:33 06:56:33 Login Succeeded 06:56:33 nexus3.edgexfoundry.org:10003 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:33 06:56:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:56:33 Configure a credential helper to remove this warning. See 06:56:33 https://docs.****.com/go/credential-store/ 06:56:33 06:56:33 Login Succeeded 06:56:33 nexus3.edgexfoundry.org:10004 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:33 06:56:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:56:33 Configure a credential helper to remove this warning. See 06:56:33 https://docs.****.com/go/credential-store/ 06:56:33 06:56:33 Login Succeeded 06:56:33 ****.io 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:33 06:56:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:56:33 Configure a credential helper to remove this warning. See 06:56:33 https://docs.****.com/go/credential-store/ 06:56:33 06:56:33 Login Succeeded 06:56:33 ---> ****-login.sh ends [Pipeline] } 06:56:33 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 06:56:34 provisioning config files... 06:56:34 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-225@tmp/config151274213928167060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:34 ---> ****-login.sh 06:56:34 nexus3.edgexfoundry.org:10001 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 Login Succeeded 06:56:34 nexus3.edgexfoundry.org:10002 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 Login Succeeded 06:56:34 nexus3.edgexfoundry.org:10003 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 Login Succeeded 06:56:34 nexus3.edgexfoundry.org:10004 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 Login Succeeded 06:56:34 ****.io 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 Login Succeeded 06:56:34 ---> ****-login.sh ends [Pipeline] } 06:56:34 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 06:56:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:56:35 + ls -al . 06:56:35 total 28 06:56:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 06:56 . 06:56:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 06:56 .. 06:56:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 06:56 .git 06:56:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 06:56 .github 06:56:35 -rw-rw-r-- 1 jenkins jenkins 282 Oct 13 06:56 .golangci.yml 06:56:35 -rw-rw-r-- 1 jenkins jenkins 1198 Oct 13 06:56 Dockerfile 06:56:35 -rw-rw-r-- 1 jenkins jenkins 957 Oct 13 06:56 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:36 + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=090a1002ba57503c9d2eedabe96d913531858e95 --label arch=amd64 . 06:56:36 #0 building with "default" instance using docker driver 06:56:36 06:56:36 #1 [internal] load build definition from Dockerfile 06:56:36 #1 transferring dockerfile: 1.24kB done 06:56:36 #1 DONE 0.0s 06:56:36 06:56:36 #2 [internal] load metadata for docker.io/library/golang:1.25-alpine3.22 06:56:36 #2 DONE 0.1s 06:56:37 06:56:37 #3 [internal] load .dockerignore 06:56:37 #3 transferring context: 2B done 06:56:37 #3 DONE 0.0s 06:56:37 06:56:37 #4 [internal] load build context 06:56:37 #4 transferring context: 324B done 06:56:37 #4 DONE 0.0s 06:56:37 06:56:37 #5 [1/5] FROM docker.io/library/golang:1.25-alpine3.22@sha256:06cdd34bd531b810650e47762c01e025eb9b1c7eadd191553b91c9f2d549fae8 06:56:37 #5 resolve docker.io/library/golang:1.25-alpine3.22@sha256:06cdd34bd531b810650e47762c01e025eb9b1c7eadd191553b91c9f2d549fae8 0.0s done 06:56:37 #5 sha256:f87d2639c296390bc3a14ff1eeab4f205119215f27e8c574af7e3f8e496e5314 2.08kB / 2.08kB done 06:56:37 #5 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s 06:56:37 #5 sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 291.15kB / 291.15kB 0.0s done 06:56:37 #5 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 3.15MB / 60.15MB 0.1s 06:56:37 #5 sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 125B / 125B 0.1s done 06:56:37 #5 sha256:06cdd34bd531b810650e47762c01e025eb9b1c7eadd191553b91c9f2d549fae8 10.29kB / 10.29kB done 06:56:37 #5 sha256:2096b2779e9643ea6c987e729c5cc5225c50014bf9d23518cacd4f00c19fb9c6 1.92kB / 1.92kB done 06:56:37 #5 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 06:56:37 #5 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 13.63MB / 60.15MB 0.2s 06:56:37 #5 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s 06:56:37 #5 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 06:56:37 #5 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 27.26MB / 60.15MB 0.3s 06:56:37 #5 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s done 06:56:37 #5 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 0.0s done 06:56:37 #5 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 58.72MB / 60.15MB 0.5s 06:56:37 #5 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.7s done 06:56:37 #5 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 06:56:43 #5 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.4s done 06:56:43 #5 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 06:56:43 #5 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 done 06:56:43 #5 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 06:56:43 #5 DONE 5.5s 06:56:43 06:56:43 #6 [2/5] COPY ./.golangci.yml /etc/.golangci.yml 06:56:43 #6 DONE 0.8s 06:56:43 06:56:43 #7 [3/5] RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.14.0/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi 06:56:43 #7 0.243 Connecting to github.com (140.82.114.3:443) 06:56:43 #7 0.431 Connecting to release-assets.githubusercontent.com (185.199.110.133:443) 06:56:44 #7 0.464 saving to '/usr/local/bin/hadolint' 06:56:44 #7 0.677 hadolint 56% |***************** | 29.3M 0:00:00 ETA 06:56:44 #7 0.824 hadolint 100% |********************************| 52.1M 0:00:00 ETA 06:56:44 #7 0.824 '/usr/local/bin/hadolint' saved 06:56:44 #7 DONE 1.0s 06:56:44 06:56:44 #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 v2.5.0 06:56:44 #8 0.205 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 06:56:44 #8 0.424 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 06:56:45 #8 0.789 (1/43) Installing ncurses-terminfo-base (6.5_p20250503-r0) 06:56:45 #8 0.793 (2/43) Installing libncursesw (6.5_p20250503-r0) 06:56:45 #8 0.801 (3/43) Installing readline (8.2.13-r1) 06:56:45 #8 0.806 (4/43) Installing bash (5.2.37-r0) 06:56:45 #8 0.822 Executing bash-5.2.37-r0.post-install 06:56:45 #8 0.825 (5/43) Installing libgcc (14.2.0-r6) 06:56:45 #8 0.829 (6/43) Installing jansson (2.14.1-r0) 06:56:45 #8 0.833 (7/43) Installing libstdc++ (14.2.0-r6) 06:56:45 #8 0.854 (8/43) Installing zstd-libs (1.5.7-r0) 06:56:45 #8 0.866 (9/43) Installing binutils (2.44-r3) 06:56:45 #8 0.928 (10/43) Installing libmagic (5.46-r2) 06:56:45 #8 0.956 (11/43) Installing file (5.46-r2) 06:56:45 #8 0.959 (12/43) Installing libgomp (14.2.0-r6) 06:56:45 #8 0.966 (13/43) Installing libatomic (14.2.0-r6) 06:56:45 #8 0.969 (14/43) Installing gmp (6.3.0-r3) 06:56:45 #8 0.976 (15/43) Installing isl26 (0.26-r1) 06:56:45 #8 0.994 (16/43) Installing mpfr4 (4.2.1_p1-r0) 06:56:45 #8 1.003 (17/43) Installing mpc1 (1.3.1-r1) 06:56:45 #8 1.006 (18/43) Installing gcc (14.2.0-r6) 06:56:46 #8 1.741 (19/43) Installing libstdc++-dev (14.2.0-r6) 06:56:46 #8 1.855 (20/43) Installing musl-dev (1.2.5-r10) 06:56:46 #8 1.906 (21/43) Installing g++ (14.2.0-r6) 06:56:46 #8 2.138 (22/43) Installing make (4.4.1-r3) 06:56:46 #8 2.143 (23/43) Installing fortify-headers (1.1-r5) 06:56:46 #8 2.146 (24/43) Installing patch (2.8-r0) 06:56:46 #8 2.151 (25/43) Installing build-base (0.5-r3) 06:56:46 #8 2.151 (26/43) Installing brotli-libs (1.1.0-r2) 06:56:46 #8 2.166 (27/43) Installing c-ares (1.34.5-r0) 06:56:46 #8 2.171 (28/43) Installing libunistring (1.3-r0) 06:56:46 #8 2.191 (29/43) Installing libidn2 (2.3.7-r0) 06:56:46 #8 2.195 (30/43) Installing nghttp2-libs (1.65.0-r0) 06:56:46 #8 2.199 (31/43) Installing libpsl (0.21.5-r3) 06:56:46 #8 2.202 (32/43) Installing libcurl (8.14.1-r2) 06:56:46 #8 2.212 (33/43) Installing curl (8.14.1-r2) 06:56:46 #8 2.218 (34/43) Installing libexpat (2.7.3-r0) 06:56:46 #8 2.222 (35/43) Installing pcre2 (10.43-r1) 06:56:46 #8 2.232 (36/43) Installing git (2.49.1-r0) 06:56:46 #8 2.289 (37/43) Installing git-init-template (2.49.1-r0) 06:56:46 #8 2.300 (38/43) Installing linux-headers (6.14.2-r0) 06:56:46 #8 2.376 (39/43) Installing pkgconf (2.4.3-r0) 06:56:46 #8 2.380 (40/43) Installing libsodium (1.0.20-r0) 06:56:46 #8 2.389 (41/43) Installing libzmq (4.3.5-r2) 06:56:47 #8 2.399 (42/43) Installing libsodium-dev (1.0.20-r0) 06:56:47 #8 2.407 (43/43) Installing zeromq-dev (4.3.5-r2) 06:56:47 #8 2.411 Executing busybox-1.37.0-r19.trigger 06:56:47 #8 2.420 OK: 265 MiB in 60 packages 06:56:47 #8 2.487 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 06:56:47 #8 2.565 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 06:56:47 #8 2.868 OK: 265 MiB in 60 packages 06:56:47 #8 2.916 Connecting to raw.githubusercontent.com (185.199.108.133:443) 06:56:47 #8 2.982 writing to stdout 06:56:47 #8 2.982 - 100% |********************************| 11589 0:00:00 ETA 06:56:47 #8 2.982 written to stdout 06:56:47 #8 2.993 golangci/golangci-lint info checking GitHub for tag 'v2.5.0' 06:56:47 #8 3.194 golangci/golangci-lint info found version: 2.5.0 for v2.5.0/linux/amd64 06:56:48 #8 4.062 golangci/golangci-lint info installed ./bin/golangci-lint 06:56:49 Still waiting to schedule task 06:56:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:56:49 #8 DONE 4.8s 06:56:49 06:56:49 #9 [5/5] RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 06:56:50 #9 0.794 go: downloading github.com/gotesttools/gotestfmt v1.1.0 06:56:50 #9 0.850 go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 06:56:55 #9 DONE 6.1s 06:56:55 06:56:55 #10 exporting to image 06:56:55 #10 exporting layers 06:56:56 #10 exporting layers 1.3s done 06:56:56 #10 writing image sha256:5227ae7f2b8e3620e45f3394a73396913cf4167f29427dad59af5ff9baf81da5 done 06:56:56 #10 naming to docker.io/edgex-devops/edgex-golang-base done 06:56:56 #10 DONE 1.3s [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 06:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:56:57 06:56:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:56:57 latest: Pulling from edgex-lftools-log-publisher 06:56:57 5eb5b503b376: Pulling fs layer 06:56:57 5c69ac0246d0: Pulling fs layer 06:56:57 ec43610c2a17: Pulling fs layer 06:56:57 3a2ae6a8a46f: Pulling fs layer 06:56:57 33b1e0a273af: Pulling fs layer 06:56:57 5d3b04190fa2: Pulling fs layer 06:56:57 2f39f015ded8: Pulling fs layer 06:56:57 3a2ae6a8a46f: Waiting 06:56:57 33b1e0a273af: Waiting 06:56:57 5d3b04190fa2: Waiting 06:56:57 2f39f015ded8: Waiting 06:56:57 5c69ac0246d0: Verifying Checksum 06:56:57 5c69ac0246d0: Download complete 06:56:57 3a2ae6a8a46f: Verifying Checksum 06:56:57 3a2ae6a8a46f: Download complete 06:56:57 33b1e0a273af: Verifying Checksum 06:56:57 33b1e0a273af: Download complete 06:56:57 5d3b04190fa2: Verifying Checksum 06:56:57 5d3b04190fa2: Download complete 06:56:58 ec43610c2a17: Verifying Checksum 06:56:58 ec43610c2a17: Download complete 06:56:58 5eb5b503b376: Verifying Checksum 06:56:58 5eb5b503b376: Download complete 06:56:58 2f39f015ded8: Download complete 06:56:59 5eb5b503b376: Pull complete 06:56:59 5c69ac0246d0: Pull complete 06:57:00 ec43610c2a17: Pull complete 06:57:00 3a2ae6a8a46f: Pull complete 06:57:00 33b1e0a273af: Pull complete 06:57:00 5d3b04190fa2: Pull complete 06:57:07 2f39f015ded8: Pull complete 06:57:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:57:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:57:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:07 prd-ubuntu20.04-docker-8c-8g-232721 does not seem to be running inside a container 06:57: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-225 -v /w/workspace/exfoundry_ci-build-images_PR-225:/w/workspace/exfoundry_ci-build-images_PR-225:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-225@tmp:/w/workspace/exfoundry_ci-build-images_PR-225@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:57:09 $ docker top 550be679719a1894fe0e5874cdfd1cfbe192677e717dbb375a6496ecba7b971a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:09 ---> job-cost.sh 06:57:09 lf-activate-venv: SKIPPING 06:57:09 INFO: No Stack... 06:57:09 INFO: Retrieving Pricing Info for: v3-standard-8 06:57:10 INFO: Archiving Costs [Pipeline] sh 06:57:10 + cat /w/workspace/exfoundry_ci-build-images_PR-225/archives/cost.csv 06:57:10 + cut -d, -f6 [Pipeline] lock 06:57:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-PR-225-3-stack-cost] 06:57:10 Resource [jenkins-edgexfoundry-ci-build-images-PR-225-3-stack-cost] did not exist. Created. 06:57:10 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-PR-225-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:57:10 + echo total: 0.2199999988079071 [Pipeline] stash 06:57:11 Stashed 1 file(s) [Pipeline] } 06:57:11 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-PR-225-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:57:11 $ docker stop --time=1 550be679719a1894fe0e5874cdfd1cfbe192677e717dbb375a6496ecba7b971a 06:57:12 $ docker rm -f --volumes 550be679719a1894fe0e5874cdfd1cfbe192677e717dbb375a6496ecba7b971a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:58:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-232743 in /w/workspace/exfoundry_ci-build-images_PR-225 [Pipeline] { [Pipeline] checkout 06:58:40 Selected Git installation does not exist. Using Default 06:58:40 The recommended git tool is: NONE 06:58:47 using credential edgex-jenkins-ssh 06:58:47 Cloning the remote Git repository 06:58:47 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 06:58:47 > git init /w/workspace/exfoundry_ci-build-images_PR-225 # timeout=10 06:58:47 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 06:58:47 > git --version # timeout=10 06:58:47 > git --version # 'git version 2.25.1' 06:58:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:58:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:58:48 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 06:58:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:58:49 Merging remotes/origin/golang-1.25 commit 83416c26bb2dafbdb546ee79f7d5c99020093f9c into PR head commit 090a1002ba57503c9d2eedabe96d913531858e95 06:58:50 Merge succeeded, producing 090a1002ba57503c9d2eedabe96d913531858e95 06:58:50 Checking out Revision 090a1002ba57503c9d2eedabe96d913531858e95 (PR-225) 06:58:49 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 06:58:49 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 06:58:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:58:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/225/head:refs/remotes/origin/PR-225 +refs/heads/golang-1.25:refs/remotes/origin/golang-1.25 # timeout=10 06:58:49 > git config core.sparsecheckout # timeout=10 06:58:49 > git checkout -f 090a1002ba57503c9d2eedabe96d913531858e95 # timeout=10 06:58:49 > git remote # timeout=10 06:58:50 > git config --get remote.origin.url # timeout=10 06:58:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:58:50 > git merge 83416c26bb2dafbdb546ee79f7d5c99020093f9c # timeout=10 06:58:50 > git rev-parse HEAD^{commit} # timeout=10 06:58:50 > git config core.sparsecheckout # timeout=10 06:58:50 > git checkout -f 090a1002ba57503c9d2eedabe96d913531858e95 # timeout=10 06:58:53 Commit message: "ci: update golang version to 1.25. Update .golangci.yml to support golangci-lint v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:54 provisioning config files... 06:58:55 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-225@tmp/config12314968484973728371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:55 ---> ****-login.sh 06:58:55 nexus3.edgexfoundry.org:10001 06:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:56 Configure a credential helper to remove this warning. See 06:58:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:56 06:58:56 Login Succeeded 06:58:56 nexus3.edgexfoundry.org:10002 06:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:56 Configure a credential helper to remove this warning. See 06:58:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:56 06:58:56 Login Succeeded 06:58:56 nexus3.edgexfoundry.org:10003 06:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:56 Configure a credential helper to remove this warning. See 06:58:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:56 06:58:56 Login Succeeded 06:58:56 nexus3.edgexfoundry.org:10004 06:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:57 Configure a credential helper to remove this warning. See 06:58:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:57 06:58:57 Login Succeeded 06:58:57 ****.io 06:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:57 Configure a credential helper to remove this warning. See 06:58:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:57 06:58:57 Login Succeeded 06:58:57 ---> ****-login.sh ends [Pipeline] } 06:58:57 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 06:58:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:58:58 + ls -al . 06:58:58 total 28 06:58:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 06:58 . 06:58:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 06:58 .. 06:58:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 06:58 .git 06:58:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 06:58 .github 06:58:58 -rw-rw-r-- 1 jenkins jenkins 282 Oct 13 06:58 .golangci.yml 06:58:58 -rw-rw-r-- 1 jenkins jenkins 1198 Oct 13 06:58 Dockerfile 06:58:58 -rw-rw-r-- 1 jenkins jenkins 957 Oct 13 06:58 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:58 + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=090a1002ba57503c9d2eedabe96d913531858e95 --label arch=arm64 . 06:58:58 Sending build context to Docker daemon 499.2kB 06:58:58 Step 1/9 : FROM golang:1.25-alpine3.22 06:58:59 1.25-alpine3.22: Pulling from library/golang 06:58:59 6b59a28fa201: Pulling fs layer 06:58:59 00abc3ba1385: Pulling fs layer 06:58:59 66626199bcfa: Pulling fs layer 06:58:59 a89982c42756: Pulling fs layer 06:58:59 4f4fb700ef54: Pulling fs layer 06:58:59 a89982c42756: Waiting 06:58:59 4f4fb700ef54: Waiting 06:58:59 00abc3ba1385: Download complete 06:58:59 a89982c42756: Verifying Checksum 06:58:59 a89982c42756: Download complete 06:58:59 6b59a28fa201: Verifying Checksum 06:58:59 6b59a28fa201: Download complete 06:58:59 4f4fb700ef54: Verifying Checksum 06:58:59 4f4fb700ef54: Download complete 06:59:00 6b59a28fa201: Pull complete 06:59:01 00abc3ba1385: Pull complete 06:59:01 66626199bcfa: Verifying Checksum 06:59:01 66626199bcfa: Download complete 06:59:16 66626199bcfa: Pull complete 06:59:16 a89982c42756: Pull complete 06:59:16 4f4fb700ef54: Pull complete 06:59:16 Digest: sha256:06cdd34bd531b810650e47762c01e025eb9b1c7eadd191553b91c9f2d549fae8 06:59:16 Status: Downloaded newer image for golang:1.25-alpine3.22 06:59:16 ---> e252f9315a5d 06:59:16 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' 06:59:16 ---> Running in d3546af32cc0 06:59:16 Removing intermediate container d3546af32cc0 06:59:16 ---> 2b42783e2836 06:59:16 Step 3/9 : ENV HADOLINT_VERSION=2.14.0 GOLANGCI_VERSION=2.5.0 06:59:16 ---> Running in f3a668eeeef9 06:59:17 Removing intermediate container f3a668eeeef9 06:59:17 ---> 5c78c17d2cdc 06:59:17 Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml 06:59:17 ---> 38fc2f3aec52 06:59:17 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 06:59:17 ---> Running in 8baf19b02501 06:59:19 Removing intermediate container 8baf19b02501 06:59:19 ---> 6f6ebd1157f0 06:59:19 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} 06:59:19 ---> Running in 596171d79596 06:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 06:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 06:59:21 (1/43) Installing ncurses-terminfo-base (6.5_p20250503-r0) 06:59:21 (2/43) Installing libncursesw (6.5_p20250503-r0) 06:59:21 (3/43) Installing readline (8.2.13-r1) 06:59:21 (4/43) Installing bash (5.2.37-r0) 06:59:21 Executing bash-5.2.37-r0.post-install 06:59:21 (5/43) Installing libgcc (14.2.0-r6) 06:59:21 (6/43) Installing jansson (2.14.1-r0) 06:59:21 (7/43) Installing libstdc++ (14.2.0-r6) 06:59:21 (8/43) Installing zstd-libs (1.5.7-r0) 06:59:21 (9/43) Installing binutils (2.44-r3) 06:59:22 (10/43) Installing libmagic (5.46-r2) 06:59:22 (11/43) Installing file (5.46-r2) 06:59:22 (12/43) Installing libgomp (14.2.0-r6) 06:59:22 (13/43) Installing libatomic (14.2.0-r6) 06:59:22 (14/43) Installing gmp (6.3.0-r3) 06:59:22 (15/43) Installing isl26 (0.26-r1) 06:59:22 (16/43) Installing mpfr4 (4.2.1_p1-r0) 06:59:22 (17/43) Installing mpc1 (1.3.1-r1) 06:59:22 (18/43) Installing gcc (14.2.0-r6) 06:59:25 (19/43) Installing libstdc++-dev (14.2.0-r6) 06:59:26 (20/43) Installing musl-dev (1.2.5-r10) 06:59:26 (21/43) Installing g++ (14.2.0-r6) 06:59:27 (22/43) Installing make (4.4.1-r3) 06:59:27 (23/43) Installing fortify-headers (1.1-r5) 06:59:27 (24/43) Installing patch (2.8-r0) 06:59:27 (25/43) Installing build-base (0.5-r3) 06:59:27 (26/43) Installing brotli-libs (1.1.0-r2) 06:59:27 (27/43) Installing c-ares (1.34.5-r0) 06:59:27 (28/43) Installing libunistring (1.3-r0) 06:59:27 (29/43) Installing libidn2 (2.3.7-r0) 06:59:27 (30/43) Installing nghttp2-libs (1.65.0-r0) 06:59:27 (31/43) Installing libpsl (0.21.5-r3) 06:59:27 (32/43) Installing libcurl (8.14.1-r2) 06:59:27 (33/43) Installing curl (8.14.1-r2) 06:59:27 (34/43) Installing libexpat (2.7.3-r0) 06:59:27 (35/43) Installing pcre2 (10.43-r1) 06:59:27 (36/43) Installing git (2.49.1-r0) 06:59:27 (37/43) Installing git-init-template (2.49.1-r0) 06:59:27 (38/43) Installing linux-headers (6.14.2-r0) 06:59:28 (39/43) Installing pkgconf (2.4.3-r0) 06:59:28 (40/43) Installing libsodium (1.0.20-r0) 06:59:28 (41/43) Installing libzmq (4.3.5-r2) 06:59:28 (42/43) Installing libsodium-dev (1.0.20-r0) 06:59:28 (43/43) Installing zeromq-dev (4.3.5-r2) 06:59:28 Executing busybox-1.37.0-r19.trigger 06:59:28 OK: 255 MiB in 60 packages 06:59:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 06:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 06:59:30 OK: 255 MiB in 60 packages 06:59:30 Connecting to raw.githubusercontent.com (185.199.109.133:443) 06:59:30 writing to stdout 06:59:30 - 100% |********************************| 11589 0:00:00 ETA 06:59:30 written to stdout 06:59:30 golangci/golangci-lint info checking GitHub for tag 'v2.5.0' 06:59:30 golangci/golangci-lint info found version: 2.5.0 for v2.5.0/linux/arm64 06:59:33 golangci/golangci-lint info installed ./bin/golangci-lint 06:59:43 Removing intermediate container 596171d79596 06:59:43 ---> fb36ae73d686 06:59:43 Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 06:59:43 ---> Running in e8d2dbf10dc0 06:59:43 go: downloading github.com/gotesttools/gotestfmt v1.1.0 06:59:43 go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 07:00:22 Removing intermediate container e8d2dbf10dc0 07:00:22 ---> d66ab3b99a24 07:00:22 Step 8/9 : LABEL arch=arm64 07:00:22 ---> Running in 38857b3c124a 07:00:22 Removing intermediate container 38857b3c124a 07:00:22 ---> 75a0cd60fb90 07:00:22 Step 9/9 : LABEL git_sha=090a1002ba57503c9d2eedabe96d913531858e95 07:00:22 ---> Running in ebb0cd1092e4 07:00:22 Removing intermediate container ebb0cd1092e4 07:00:22 ---> 1a21697117da 07:00:22 [Warning] One or more build-args [ARCH] were not consumed 07:00:22 Successfully built 1a21697117da 07:00:22 Successfully tagged edgex-devops/edgex-golang-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] 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 07:00:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:00:23 07:00:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:00:23 arm64: Pulling from edgex-lftools-log-publisher 07:00:23 8998bd30e6a1: Pulling fs layer 07:00:23 04944245beec: Pulling fs layer 07:00:23 699f458cf7ca: Pulling fs layer 07:00:23 765212b225bb: Pulling fs layer 07:00:23 f23df028b6ca: Pulling fs layer 07:00:23 d65c8cfc05b1: Pulling fs layer 07:00:23 2437ff75d9bd: Pulling fs layer 07:00:23 765212b225bb: Waiting 07:00:23 f23df028b6ca: Waiting 07:00:23 d65c8cfc05b1: Waiting 07:00:23 2437ff75d9bd: Waiting 07:00:23 04944245beec: Verifying Checksum 07:00:23 04944245beec: Download complete 07:00:23 765212b225bb: Verifying Checksum 07:00:23 765212b225bb: Download complete 07:00:23 f23df028b6ca: Verifying Checksum 07:00:23 f23df028b6ca: Download complete 07:00:23 d65c8cfc05b1: Verifying Checksum 07:00:23 d65c8cfc05b1: Download complete 07:00:23 699f458cf7ca: Verifying Checksum 07:00:23 699f458cf7ca: Download complete 07:00:24 8998bd30e6a1: Download complete 07:00:27 2437ff75d9bd: Verifying Checksum 07:00:27 2437ff75d9bd: Download complete 07:00:29 8998bd30e6a1: Pull complete 07:00:29 04944245beec: Pull complete 07:00:31 699f458cf7ca: Pull complete 07:00:31 765212b225bb: Pull complete 07:00:31 f23df028b6ca: Pull complete 07:00:32 d65c8cfc05b1: Pull complete 07:00:50 2437ff75d9bd: Pull complete 07:00:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:00:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:50 prd-ubuntu20.04-docker-arm64-4c-16g-232743 does not seem to be running inside a container 07:00:50 $ 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-225 -v /w/workspace/exfoundry_ci-build-images_PR-225:/w/workspace/exfoundry_ci-build-images_PR-225:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-225@tmp:/w/workspace/exfoundry_ci-build-images_PR-225@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:00:53 $ docker top cdd749e9d6f8bd4b3b52a3a4309cfbf4cbd1902be17b630681559093e981749f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:53 ---> job-cost.sh 07:00:53 lf-activate-venv: SKIPPING 07:00:53 INFO: No Stack... 07:00:54 INFO: Retrieving Pricing Info for: v3-standard-4 07:00:55 INFO: Archiving Costs [Pipeline] sh 07:00:55 + cut -d, -f6 07:00:55 + cat /w/workspace/exfoundry_ci-build-images_PR-225/archives/cost.csv [Pipeline] lock 07:00:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-PR-225-3-stack-cost] 07:00:55 Resource [jenkins-edgexfoundry-ci-build-images-PR-225-3-stack-cost] did not exist. Created. 07:00:55 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-PR-225-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:00:56 /w/workspace/exfoundry_ci-build-images_PR-225@tmp/durable-b811d3c3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:00:57 + echo total: 0.10999999940395355 [Pipeline] stash 07:00:57 Warning: overwriting stash ‘stack-cost’ 07:00:57 Stashed 1 file(s) [Pipeline] } 07:00:57 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-PR-225-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:00:57 $ docker stop --time=1 cdd749e9d6f8bd4b3b52a3a4309cfbf4cbd1902be17b630681559093e981749f 07:00:59 $ docker rm -f --volumes cdd749e9d6f8bd4b3b52a3a4309cfbf4cbd1902be17b630681559093e981749f [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 07:01:00 + [ -d /w/workspace/exfoundry_ci-build-images_PR-225/archives ] 07:01:00 + ls -al /w/workspace/exfoundry_ci-build-images_PR-225/archives 07:01:00 total 16 07:01:00 drwxr-xr-x 3 root root 4096 Oct 13 06:57 . 07:01:00 drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 06:57 .. 07:01:00 drwxr-xr-x 2 root root 4096 Oct 13 06:57 cost 07:01:00 -rw-r--r-- 1 root root 86 Oct 13 06:57 cost.csv 07:01:00 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-225/archives 07:01:00 + ls -al /w/workspace/exfoundry_ci-build-images_PR-225/archives 07:01:00 total 16 07:01:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 06:57 . 07:01:00 drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 06:57 .. 07:01:00 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 06:57 cost 07:01:00 -rw-r--r-- 1 jenkins jenkins 86 Oct 13 06:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:01:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:01:01 ---> package-listing.sh 07:01:01 ++ facter osfamily 07:01:01 ++ tr '[:upper:]' '[:lower:]' 07:01:01 + OS_FAMILY=debian 07:01:01 + workspace=/w/workspace/exfoundry_ci-build-images_PR-225 07:01:01 + START_PACKAGES=/tmp/packages_start.txt 07:01:01 + END_PACKAGES=/tmp/packages_end.txt 07:01:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:01:01 + PACKAGES=/tmp/packages_start.txt 07:01:01 + '[' /w/workspace/exfoundry_ci-build-images_PR-225 ']' 07:01:01 + PACKAGES=/tmp/packages_end.txt 07:01:01 + case "${OS_FAMILY}" in 07:01:01 + dpkg -l 07:01:01 + grep '^ii' 07:01:01 + '[' -f /tmp/packages_start.txt ']' 07:01:01 + '[' -f /tmp/packages_end.txt ']' 07:01:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:01:01 + '[' /w/workspace/exfoundry_ci-build-images_PR-225 ']' 07:01:01 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-225/archives/ 07:01:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-225/archives/ [Pipeline] echo 07:01:01 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-225/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:01:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:01:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:02 prd-ubuntu20.04-docker-8c-8g-232721 does not seem to be running inside a container 07:01:02 $ 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-225/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-225 -v /w/workspace/exfoundry_ci-build-images_PR-225:/w/workspace/exfoundry_ci-build-images_PR-225:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-225@tmp:/w/workspace/exfoundry_ci-build-images_PR-225@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:01:02 $ docker top 5c1f3a1b4211480a9b641be8fb36ecaed16d0e541dd711feab31551dacce5725 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:03 + touch /tmp/pre-build-complete [Pipeline] sh 07:01:03 + mkdir -p /var/log/sysstat [Pipeline] sh 07:01:03 + ls /var/log/sa-host 07:01:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:03 provisioning config files... 07:01:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-225@tmp/config12885133615219307373tmp [Pipeline] { [Pipeline] echo 07:01:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:01:04 ---> create-netrc.sh [Pipeline] } 07:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:01:04 ---> python-tools-install.sh [Pipeline] echo 07:01:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:01:04 ---> sudo-logs.sh 07:01:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:01:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:01:05 ---> job-cost.sh 07:01:05 lf-activate-venv: SKIPPING 07:01:05 DEBUG: total: 0.2199999988079071 07:01:05 INFO: Retrieving Stack Cost... 07:01:05 INFO: Retrieving Pricing Info for: v3-standard-8 07:01:05 INFO: Archiving Costs [Pipeline] echo 07:01:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:01:06 ---> logs-deploy.sh 07:01:06 lf-activate-venv: SKIPPING 07:01:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-225/3 07:01:06 INFO: archiving workspace using pattern(s): 07:01:07 Archives upload complete. 07:01:07 INFO: archiving logs to Nexus