Pull request #219 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 9e97e59c4dac7cb694d5d934ed4954cb066f7a65+70e702b69c45f69ff489b262dad35652638be375 (a2118f8cc8b09af9f60650f820fb127e587a922e) 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-ssh5518353316523199672.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh14460258944670353120.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-219/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-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7636134522675220915.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-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2067330273903512328.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh8856326610075780461.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-219/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-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11446082580432370602.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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 ‘prd-ubuntu20.04-docker-8c-8g-13158’ Running on prd-ubuntu20.04-docker-8c-8g-13161 in /w/workspace/exfoundry_ci-build-images_PR-219 [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-219 # 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 70e702b69c45f69ff489b262dad35652638be375 into PR head commit 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 Merge succeeded, producing 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 Checking out Revision 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 (PR-219) > 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/219/head:refs/remotes/origin/PR-219 +refs/heads/golang-1.23:refs/remotes/origin/golang-1.23 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 # 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 70e702b69c45f69ff489b262dad35652638be375 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 # timeout=10 Commit message: "ci: update to golang 1.23" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T03:41:06.155Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T03:41:06.542Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T03:41:06.663Z] ========================================================= [2024-10-03T03:41:06.663Z] EdgeX Global Pipelines Version Info [2024-10-03T03:41:06.663Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:41:07.439Z] ------------------- [2024-10-03T03:41:07.439Z] stable info: [2024-10-03T03:41:07.439Z] ------------------- [2024-10-03T03:41:07.439Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T03:41:07.439Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T03:41:07.439Z] Message: update stable to v1.0.264 [2024-10-03T03:41:08.012Z] ------------------- [2024-10-03T03:41:08.012Z] experimental info: [2024-10-03T03:41:08.012Z] ------------------- [2024-10-03T03:41:08.012Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T03:41:08.012Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T03:41:08.012Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2024-10-03T03:41:08.328Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2024-10-03T03:41:08.381Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2024-10-03T03:41:08.437Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2024-10-03T03:41:08.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-03T03:41:08.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T03:41:08.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2024-10-03T03:41:08.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2024-10-03T03:41:08.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2024-10-03T03:41:08.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2024-10-03T03:41:08.807Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T03:41:08.865Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2024-10-03T03:41:08.916Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2024-10-03T03:41:08.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T03:41:09.022Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T03:41:09.073Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.23 [Pipeline] echo [2024-10-03T03:41:09.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.23-alpine 1.23-alpine3.20 [Pipeline] echo [2024-10-03T03:41:09.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo [2024-10-03T03:41:09.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo [2024-10-03T03:41:09.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo [2024-10-03T03:41:09.375Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 [Pipeline] echo [2024-10-03T03:41:09.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e97e59 [Pipeline] echo [2024-10-03T03:41:09.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:41:09.636Z] provisioning config files... [2024-10-03T03:41:09.654Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-219@tmp/config7320924815387169458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:41:10.045Z] ---> ****-login.sh [2024-10-03T03:41:10.045Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:41:10.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:10.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:10.308Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:10.308Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:10.308Z] [2024-10-03T03:41:10.308Z] Login Succeeded [2024-10-03T03:41:10.308Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:41:10.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:10.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:10.569Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:10.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:10.569Z] [2024-10-03T03:41:10.569Z] Login Succeeded [2024-10-03T03:41:10.570Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:41:10.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:10.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:10.570Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:10.570Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:10.570Z] [2024-10-03T03:41:10.570Z] Login Succeeded [2024-10-03T03:41:10.570Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:41:10.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:10.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:10.570Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:10.570Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:10.570Z] [2024-10-03T03:41:10.570Z] Login Succeeded [2024-10-03T03:41:10.831Z] ****.io [2024-10-03T03:41:10.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:10.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:10.831Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:10.831Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:10.831Z] [2024-10-03T03:41:10.831Z] Login Succeeded [2024-10-03T03:41:10.831Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:41:10.862Z] 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 [2024-10-03T03:41:11.915Z] provisioning config files... [2024-10-03T03:41:11.925Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-219@tmp/config17032171785390108844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:41:12.308Z] ---> ****-login.sh [2024-10-03T03:41:12.308Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:41:12.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:12.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:12.308Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:12.309Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:12.309Z] [2024-10-03T03:41:12.309Z] Login Succeeded [2024-10-03T03:41:12.309Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:41:12.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:12.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:12.309Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:12.309Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:12.309Z] [2024-10-03T03:41:12.309Z] Login Succeeded [2024-10-03T03:41:12.309Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:41:12.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:12.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:12.573Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:12.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:12.573Z] [2024-10-03T03:41:12.573Z] Login Succeeded [2024-10-03T03:41:12.573Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:41:12.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:12.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:12.573Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:12.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:12.573Z] [2024-10-03T03:41:12.573Z] Login Succeeded [2024-10-03T03:41:12.573Z] ****.io [2024-10-03T03:41:12.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:41:12.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:41:12.836Z] Configure a credential helper to remove this warning. See [2024-10-03T03:41:12.836Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:41:12.836Z] [2024-10-03T03:41:12.836Z] Login Succeeded [2024-10-03T03:41:12.836Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:41:12.867Z] 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 [2024-10-03T03:41:13.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T03:41:14.023Z] + ls -al . [2024-10-03T03:41:14.023Z] total 28 [2024-10-03T03:41:14.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:41 . [2024-10-03T03:41:14.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:41 .. [2024-10-03T03:41:14.023Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:41 .git [2024-10-03T03:41:14.023Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:41 .github [2024-10-03T03:41:14.023Z] -rw-rw-r-- 1 jenkins jenkins 586 Oct 3 03:41 .golangci.yml [2024-10-03T03:41:14.023Z] -rw-rw-r-- 1 jenkins jenkins 1183 Oct 3 03:41 Dockerfile [2024-10-03T03:41:14.023Z] -rw-rw-r-- 1 jenkins jenkins 952 Oct 3 03:41 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:41:14.482Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=9e97e59c4dac7cb694d5d934ed4954cb066f7a65 --label arch=amd64 . [2024-10-03T03:41:14.482Z] Sending build context to Docker daemon 487.4kB [2024-10-03T03:41:14.482Z] Step 1/9 : FROM golang:1.23-alpine3.20 [2024-10-03T03:41:14.742Z] 1.23-alpine3.20: Pulling from library/golang [2024-10-03T03:41:15.002Z] 43c4264eed91: Pulling fs layer [2024-10-03T03:41:15.002Z] 4cc291be95ef: Pulling fs layer [2024-10-03T03:41:15.002Z] 2ac1f1163629: Pulling fs layer [2024-10-03T03:41:15.002Z] 5c3c966382ef: Pulling fs layer [2024-10-03T03:41:15.002Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T03:41:15.002Z] 5c3c966382ef: Waiting [2024-10-03T03:41:15.002Z] 4f4fb700ef54: Waiting [2024-10-03T03:41:15.002Z] 4cc291be95ef: Download complete [2024-10-03T03:41:15.002Z] 43c4264eed91: Verifying Checksum [2024-10-03T03:41:15.002Z] 43c4264eed91: Download complete [2024-10-03T03:41:15.003Z] 5c3c966382ef: Download complete [2024-10-03T03:41:15.262Z] 4f4fb700ef54: Download complete [2024-10-03T03:41:15.262Z] 43c4264eed91: Pull complete [2024-10-03T03:41:15.262Z] 4cc291be95ef: Pull complete [2024-10-03T03:41:15.522Z] 2ac1f1163629: Verifying Checksum [2024-10-03T03:41:15.522Z] 2ac1f1163629: Download complete [2024-10-03T03:41:18.816Z] 2ac1f1163629: Pull complete [2024-10-03T03:41:19.079Z] 5c3c966382ef: Pull complete [2024-10-03T03:41:19.079Z] 4f4fb700ef54: Pull complete [2024-10-03T03:41:19.079Z] Digest: sha256:9dd2625a1ff2859b8d8b01d8f7822c0f528942fe56cfe7a1e7c38d3b8d72d679 [2024-10-03T03:41:19.079Z] Status: Downloaded newer image for golang:1.23-alpine3.20 [2024-10-03T03:41:19.079Z] ---> 5a72c8b95319 [2024-10-03T03:41:19.079Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' [2024-10-03T03:41:22.390Z] ---> Running in 1c80a4907b74 [2024-10-03T03:41:22.390Z] Removing intermediate container 1c80a4907b74 [2024-10-03T03:41:22.390Z] ---> 5b7fcf6a117a [2024-10-03T03:41:22.390Z] Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.61.0 [2024-10-03T03:41:22.390Z] ---> Running in f5d6d107d41f [2024-10-03T03:41:22.390Z] Removing intermediate container f5d6d107d41f [2024-10-03T03:41:22.390Z] ---> d9247ccd7619 [2024-10-03T03:41:22.390Z] Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml [2024-10-03T03:41:22.390Z] ---> b48f4a39648f [2024-10-03T03:41:22.390Z] 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 [2024-10-03T03:41:22.390Z] ---> Running in eb7f92a4dfcf [2024-10-03T03:41:22.652Z] Connecting to github.com (140.82.114.3:443) [2024-10-03T03:41:22.652Z] Connecting to objects.githubusercontent.com (185.199.111.133:443) [2024-10-03T03:41:22.913Z] saving to '/usr/local/bin/hadolint' [2024-10-03T03:41:22.913Z] hadolint 100% |********************************| 2369k 0:00:00 ETA [2024-10-03T03:41:22.913Z] '/usr/local/bin/hadolint' saved [2024-10-03T03:41:23.174Z] Removing intermediate container eb7f92a4dfcf [2024-10-03T03:41:23.174Z] ---> 91f74ed6c8a4 [2024-10-03T03:41:23.174Z] Step 6/9 : RUN apk add --update --no-cache make git curl bash pkgconfig build-base linux-headers musl-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} [2024-10-03T03:41:23.174Z] ---> Running in 9f277c9ed622 [2024-10-03T03:41:23.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T03:41:23.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T03:41:23.953Z] (1/39) Installing ncurses-terminfo-base (6.4_p20240420-r1) [2024-10-03T03:41:23.953Z] (2/39) Installing libncursesw (6.4_p20240420-r1) [2024-10-03T03:41:23.953Z] (3/39) Installing readline (8.2.10-r0) [2024-10-03T03:41:23.953Z] (4/39) Installing bash (5.2.26-r0) [2024-10-03T03:41:23.953Z] Executing bash-5.2.26-r0.post-install [2024-10-03T03:41:23.953Z] (5/39) Installing libgcc (13.2.1_git20240309-r0) [2024-10-03T03:41:23.953Z] (6/39) Installing jansson (2.14-r4) [2024-10-03T03:41:23.953Z] (7/39) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-03T03:41:23.953Z] (8/39) Installing zstd-libs (1.5.6-r0) [2024-10-03T03:41:23.953Z] (9/39) Installing binutils (2.42-r0) [2024-10-03T03:41:24.214Z] (10/39) Installing libmagic (5.45-r1) [2024-10-03T03:41:24.214Z] (11/39) Installing file (5.45-r1) [2024-10-03T03:41:24.214Z] (12/39) Installing libgomp (13.2.1_git20240309-r0) [2024-10-03T03:41:24.214Z] (13/39) Installing libatomic (13.2.1_git20240309-r0) [2024-10-03T03:41:24.214Z] (14/39) Installing gmp (6.3.0-r1) [2024-10-03T03:41:24.214Z] (15/39) Installing isl26 (0.26-r1) [2024-10-03T03:41:24.214Z] (16/39) Installing mpfr4 (4.2.1-r0) [2024-10-03T03:41:24.214Z] (17/39) Installing mpc1 (1.3.1-r1) [2024-10-03T03:41:24.214Z] (18/39) Installing gcc (13.2.1_git20240309-r0) [2024-10-03T03:41:24.795Z] (19/39) Installing libstdc++-dev (13.2.1_git20240309-r0) [2024-10-03T03:41:25.056Z] (20/39) Installing musl-dev (1.2.5-r0) [2024-10-03T03:41:25.056Z] (21/39) Installing g++ (13.2.1_git20240309-r0) [2024-10-03T03:41:25.315Z] (22/39) Installing make (4.4.1-r2) [2024-10-03T03:41:25.315Z] (23/39) Installing fortify-headers (1.1-r3) [2024-10-03T03:41:25.315Z] (24/39) Installing patch (2.7.6-r10) [2024-10-03T03:41:25.315Z] (25/39) Installing build-base (0.5-r3) [2024-10-03T03:41:25.315Z] (26/39) Installing brotli-libs (1.1.0-r2) [2024-10-03T03:41:25.315Z] (27/39) Installing c-ares (1.33.1-r0) [2024-10-03T03:41:25.315Z] (28/39) Installing libunistring (1.2-r0) [2024-10-03T03:41:25.315Z] (29/39) Installing libidn2 (2.3.7-r0) [2024-10-03T03:41:25.315Z] (30/39) Installing nghttp2-libs (1.62.1-r0) [2024-10-03T03:41:25.315Z] (31/39) Installing libpsl (0.21.5-r1) [2024-10-03T03:41:25.315Z] (32/39) Installing libcurl (8.10.1-r0) [2024-10-03T03:41:25.315Z] (33/39) Installing curl (8.10.1-r0) [2024-10-03T03:41:25.315Z] (34/39) Installing libexpat (2.6.3-r0) [2024-10-03T03:41:25.315Z] (35/39) Installing pcre2 (10.43-r0) [2024-10-03T03:41:25.315Z] (36/39) Installing git (2.45.2-r0) [2024-10-03T03:41:25.315Z] (37/39) Installing git-init-template (2.45.2-r0) [2024-10-03T03:41:25.315Z] (38/39) Installing linux-headers (6.6-r0) [2024-10-03T03:41:25.574Z] (39/39) Installing pkgconf (2.2.0-r0) [2024-10-03T03:41:25.574Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T03:41:25.574Z] OK: 246 MiB in 54 packages [2024-10-03T03:41:25.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T03:41:25.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T03:41:25.833Z] Upgrading critical system libraries and apk-tools: [2024-10-03T03:41:25.833Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-03T03:41:25.833Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T03:41:26.095Z] Continuing the upgrade transaction with new apk-tools: [2024-10-03T03:41:26.355Z] OK: 246 MiB in 54 packages [2024-10-03T03:41:26.355Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2024-10-03T03:41:26.355Z] writing to stdout [2024-10-03T03:41:26.355Z] - 100% |********************************| 11591 0:00:00 ETA [2024-10-03T03:41:26.355Z] written to stdout [2024-10-03T03:41:26.355Z] golangci/golangci-lint info checking GitHub for tag 'v1.61.0' [2024-10-03T03:41:26.600Z] Still waiting to schedule task [2024-10-03T03:41:26.601Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-13160’ [2024-10-03T03:41:26.615Z] golangci/golangci-lint info found version: 1.61.0 for v1.61.0/linux/amd64 [2024-10-03T03:41:27.554Z] golangci/golangci-lint info installed ./bin/golangci-lint [2024-10-03T03:41:34.146Z] Removing intermediate container 9f277c9ed622 [2024-10-03T03:41:34.146Z] ---> ca91d4ffa6e6 [2024-10-03T03:41:34.146Z] Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2024-10-03T03:41:34.146Z] ---> Running in 021abdd4395f [2024-10-03T03:41:34.146Z] go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 [2024-10-03T03:41:34.146Z] go: downloading github.com/gotesttools/gotestfmt v1.1.0 [2024-10-03T03:41:40.722Z] Removing intermediate container 021abdd4395f [2024-10-03T03:41:40.722Z] ---> 4404a4f9bd5a [2024-10-03T03:41:40.722Z] Step 8/9 : LABEL arch=amd64 [2024-10-03T03:41:40.722Z] ---> Running in e8d05cb35b09 [2024-10-03T03:41:40.981Z] Removing intermediate container e8d05cb35b09 [2024-10-03T03:41:40.981Z] ---> 42e3299a79a5 [2024-10-03T03:41:40.981Z] Step 9/9 : LABEL git_sha=9e97e59c4dac7cb694d5d934ed4954cb066f7a65 [2024-10-03T03:41:40.981Z] ---> Running in d9a9385ae04c [2024-10-03T03:41:40.981Z] Removing intermediate container d9a9385ae04c [2024-10-03T03:41:40.981Z] ---> e353eb1f6088 [2024-10-03T03:41:40.981Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T03:41:40.981Z] Successfully built e353eb1f6088 [2024-10-03T03:41:40.981Z] 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 [2024-10-03T03:41:42.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:41:42.080Z] [2024-10-03T03:41:42.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:41:42.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:41:42.483Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T03:41:42.483Z] 5eb5b503b376: Pulling fs layer [2024-10-03T03:41:42.483Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T03:41:42.483Z] ec43610c2a17: Pulling fs layer [2024-10-03T03:41:42.483Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T03:41:42.483Z] 33b1e0a273af: Pulling fs layer [2024-10-03T03:41:42.483Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T03:41:42.483Z] 2f39f015ded8: Pulling fs layer [2024-10-03T03:41:42.483Z] 3a2ae6a8a46f: Waiting [2024-10-03T03:41:42.483Z] 33b1e0a273af: Waiting [2024-10-03T03:41:42.483Z] 2f39f015ded8: Waiting [2024-10-03T03:41:42.483Z] 5d3b04190fa2: Waiting [2024-10-03T03:41:42.483Z] 5c69ac0246d0: Download complete [2024-10-03T03:41:42.483Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-03T03:41:42.483Z] 3a2ae6a8a46f: Download complete [2024-10-03T03:41:42.483Z] 33b1e0a273af: Verifying Checksum [2024-10-03T03:41:42.483Z] 33b1e0a273af: Download complete [2024-10-03T03:41:42.483Z] 5d3b04190fa2: Verifying Checksum [2024-10-03T03:41:42.483Z] 5d3b04190fa2: Download complete [2024-10-03T03:41:42.483Z] ec43610c2a17: Verifying Checksum [2024-10-03T03:41:42.483Z] ec43610c2a17: Download complete [2024-10-03T03:41:42.740Z] 5eb5b503b376: Download complete [2024-10-03T03:41:43.305Z] 2f39f015ded8: Download complete [2024-10-03T03:41:43.870Z] 5eb5b503b376: Pull complete [2024-10-03T03:41:43.870Z] 5c69ac0246d0: Pull complete [2024-10-03T03:41:44.439Z] ec43610c2a17: Pull complete [2024-10-03T03:41:44.439Z] 3a2ae6a8a46f: Pull complete [2024-10-03T03:41:44.697Z] 33b1e0a273af: Pull complete [2024-10-03T03:41:44.697Z] 5d3b04190fa2: Pull complete [2024-10-03T03:41:48.885Z] 2f39f015ded8: Pull complete [2024-10-03T03:41:48.885Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T03:41:48.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:41:48.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:41:49.185Z] prd-ubuntu20.04-docker-8c-8g-13161 does not seem to be running inside a container [2024-10-03T03:41:49.220Z] $ 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-219 -v /w/workspace/exfoundry_ci-build-images_PR-219:/w/workspace/exfoundry_ci-build-images_PR-219:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-219@tmp:/w/workspace/exfoundry_ci-build-images_PR-219@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 [2024-10-03T03:41:53.946Z] $ docker top 150d57ff657a324783e6280a11b83617cf5a957492903b3b86fa6aaf5296c270 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:41:54.411Z] ---> job-cost.sh [2024-10-03T03:41:54.411Z] lf-activate-venv: SKIPPING [2024-10-03T03:41:54.411Z] INFO: No Stack... [2024-10-03T03:41:54.981Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T03:41:55.239Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T03:41:55.555Z] + cat /w/workspace/exfoundry_ci-build-images_PR-219/archives/cost.csv [2024-10-03T03:41:55.555Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T03:41:55.607Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-PR-219-1-stack-cost] [2024-10-03T03:41:55.616Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-219-1-stack-cost] did not exist. Created. [2024-10-03T03:41:55.623Z] Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T03:41:56.029Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T03:41:56.275Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T03:41:56.304Z] Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T03:41:56.390Z] $ docker stop --time=1 150d57ff657a324783e6280a11b83617cf5a957492903b3b86fa6aaf5296c270 [2024-10-03T03:41:57.531Z] $ docker rm -f --volumes 150d57ff657a324783e6280a11b83617cf5a957492903b3b86fa6aaf5296c270 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T03:47:10.941Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13163 in /w/workspace/exfoundry_ci-build-images_PR-219 [Pipeline] { [Pipeline] checkout [2024-10-03T03:47:14.055Z] Selected Git installation does not exist. Using Default [2024-10-03T03:47:14.056Z] The recommended git tool is: NONE [2024-10-03T03:47:23.232Z] using credential edgex-jenkins-ssh [2024-10-03T03:47:23.284Z] Cloning the remote Git repository [2024-10-03T03:47:23.354Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2024-10-03T03:47:23.472Z] > git init /w/workspace/exfoundry_ci-build-images_PR-219 # timeout=10 [2024-10-03T03:47:23.681Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2024-10-03T03:47:23.682Z] > git --version # timeout=10 [2024-10-03T03:47:23.722Z] > git --version # 'git version 2.25.1' [2024-10-03T03:47:23.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T03:47:23.988Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T03:47:24.723Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2024-10-03T03:47:24.760Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T03:47:25.957Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2024-10-03T03:47:26.045Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2024-10-03T03:47:26.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T03:47:26.070Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/golang-1.23:refs/remotes/origin/golang-1.23 # timeout=10 [2024-10-03T03:47:26.597Z] Merging remotes/origin/golang-1.23 commit 70e702b69c45f69ff489b262dad35652638be375 into PR head commit 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 [2024-10-03T03:47:26.946Z] Merge succeeded, producing 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 [2024-10-03T03:47:26.947Z] Checking out Revision 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 (PR-219) [2024-10-03T03:47:26.613Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T03:47:26.691Z] > git checkout -f 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 # timeout=10 [2024-10-03T03:47:26.788Z] > git remote # timeout=10 [2024-10-03T03:47:26.838Z] > git config --get remote.origin.url # timeout=10 [2024-10-03T03:47:26.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T03:47:26.891Z] > git merge 70e702b69c45f69ff489b262dad35652638be375 # timeout=10 [2024-10-03T03:47:26.926Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-03T03:47:26.952Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T03:47:26.967Z] > git checkout -f 9e97e59c4dac7cb694d5d934ed4954cb066f7a65 # timeout=10 [2024-10-03T03:47:30.705Z] Commit message: "ci: update to golang 1.23" [2024-10-03T03:47:30.758Z] > git --version # timeout=10 [2024-10-03T03:47:30.768Z] > git --version # 'git version 2.25.1' [2024-10-03T03:47:30.851Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T03:47:32.969Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-03T03:47:32.969Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T03:47:32.969Z] Dload Upload Total Spent Left Speed [2024-10-03T03:47:32.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-10-03T03:47:33.317Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-03T03:47:33.665Z] + sudo tee /etc/docker/daemon.new [2024-10-03T03:47:33.665Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-03T03:47:33.665Z] { [2024-10-03T03:47:33.665Z] "registry-mirrors": [ [2024-10-03T03:47:33.665Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-03T03:47:33.665Z] ], [2024-10-03T03:47:33.665Z] "bip": "10.250.0.254/24", [2024-10-03T03:47:33.665Z] "hosts": [ [2024-10-03T03:47:33.665Z] "tcp://0.0.0.0:5555", [2024-10-03T03:47:33.665Z] "unix:///var/run/docker.sock" [2024-10-03T03:47:33.665Z] ], [2024-10-03T03:47:33.665Z] "mtu": 1458, [2024-10-03T03:47:33.665Z] "selinux-enabled": true, [2024-10-03T03:47:33.665Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-03T03:47:33.665Z] } [Pipeline] sh [2024-10-03T03:47:34.018Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-03T03:47:34.399Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:47:52.776Z] provisioning config files... [2024-10-03T03:47:52.804Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-219@tmp/config3283583829694523059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:47:53.343Z] ---> ****-login.sh [2024-10-03T03:47:53.343Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:47:53.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:53.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:53.929Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:53.929Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:53.929Z] [2024-10-03T03:47:53.929Z] Login Succeeded [2024-10-03T03:47:53.929Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:47:54.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:54.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:54.198Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:54.198Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:54.198Z] [2024-10-03T03:47:54.198Z] Login Succeeded [2024-10-03T03:47:54.198Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:47:54.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:54.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:54.739Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:54.739Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:54.739Z] [2024-10-03T03:47:54.739Z] Login Succeeded [2024-10-03T03:47:54.739Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:47:54.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:55.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:55.009Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:55.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:55.009Z] [2024-10-03T03:47:55.009Z] Login Succeeded [2024-10-03T03:47:55.009Z] ****.io [2024-10-03T03:47:55.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:55.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:55.547Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:55.547Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:55.547Z] [2024-10-03T03:47:55.547Z] Login Succeeded [2024-10-03T03:47:55.547Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:47:55.587Z] 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 [2024-10-03T03:47:56.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T03:47:56.757Z] + ls -al . [2024-10-03T03:47:56.757Z] total 28 [2024-10-03T03:47:56.757Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:47 . [2024-10-03T03:47:56.757Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:47 .. [2024-10-03T03:47:56.757Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:47 .git [2024-10-03T03:47:56.757Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:47 .github [2024-10-03T03:47:56.757Z] -rw-rw-r-- 1 jenkins jenkins 586 Oct 3 03:47 .golangci.yml [2024-10-03T03:47:56.757Z] -rw-rw-r-- 1 jenkins jenkins 1183 Oct 3 03:47 Dockerfile [2024-10-03T03:47:56.757Z] -rw-rw-r-- 1 jenkins jenkins 952 Oct 3 03:47 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:47:57.215Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=9e97e59c4dac7cb694d5d934ed4954cb066f7a65 --label arch=arm64 . [2024-10-03T03:47:57.482Z] Sending build context to Docker daemon 487.4kB [2024-10-03T03:47:57.482Z] Step 1/9 : FROM golang:1.23-alpine3.20 [2024-10-03T03:47:58.069Z] 1.23-alpine3.20: Pulling from library/golang [2024-10-03T03:47:58.069Z] cf04c63912e1: Pulling fs layer [2024-10-03T03:47:58.069Z] 55b35a11ae5e: Pulling fs layer [2024-10-03T03:47:58.069Z] a37a00ec5f00: Pulling fs layer [2024-10-03T03:47:58.069Z] 50b3750afda1: Pulling fs layer [2024-10-03T03:47:58.069Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T03:47:58.069Z] 50b3750afda1: Waiting [2024-10-03T03:47:58.346Z] 55b35a11ae5e: Download complete [2024-10-03T03:47:58.346Z] cf04c63912e1: Verifying Checksum [2024-10-03T03:47:58.346Z] cf04c63912e1: Download complete [2024-10-03T03:47:58.346Z] 50b3750afda1: Verifying Checksum [2024-10-03T03:47:58.346Z] 50b3750afda1: Download complete [2024-10-03T03:47:58.346Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T03:47:58.346Z] 4f4fb700ef54: Download complete [2024-10-03T03:47:58.937Z] cf04c63912e1: Pull complete [2024-10-03T03:47:59.524Z] 55b35a11ae5e: Pull complete [2024-10-03T03:48:00.115Z] a37a00ec5f00: Verifying Checksum [2024-10-03T03:48:00.115Z] a37a00ec5f00: Download complete [2024-10-03T03:48:15.181Z] a37a00ec5f00: Pull complete [2024-10-03T03:48:15.181Z] 50b3750afda1: Pull complete [2024-10-03T03:48:15.181Z] 4f4fb700ef54: Pull complete [2024-10-03T03:48:15.181Z] Digest: sha256:9dd2625a1ff2859b8d8b01d8f7822c0f528942fe56cfe7a1e7c38d3b8d72d679 [2024-10-03T03:48:15.181Z] Status: Downloaded newer image for golang:1.23-alpine3.20 [2024-10-03T03:48:15.181Z] ---> 70f8e088093d [2024-10-03T03:48:15.181Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' [2024-10-03T03:48:15.455Z] ---> Running in c02c5b107217 [2024-10-03T03:48:15.725Z] Removing intermediate container c02c5b107217 [2024-10-03T03:48:15.725Z] ---> d94ccad81a76 [2024-10-03T03:48:15.725Z] Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.61.0 [2024-10-03T03:48:15.725Z] ---> Running in e68bb61e79a2 [2024-10-03T03:48:15.993Z] Removing intermediate container e68bb61e79a2 [2024-10-03T03:48:15.993Z] ---> ddf6f0cd8173 [2024-10-03T03:48:15.993Z] Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml [2024-10-03T03:48:16.584Z] ---> 591b0f9fa6ea [2024-10-03T03:48:16.584Z] 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 [2024-10-03T03:48:16.584Z] ---> Running in 4bd8232167ae [2024-10-03T03:48:18.552Z] Removing intermediate container 4bd8232167ae [2024-10-03T03:48:18.552Z] ---> 275b0178ec60 [2024-10-03T03:48:18.552Z] Step 6/9 : RUN apk add --update --no-cache make git curl bash pkgconfig build-base linux-headers musl-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} [2024-10-03T03:48:18.552Z] ---> Running in 620e2d63e432 [2024-10-03T03:48:19.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T03:48:19.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T03:48:21.213Z] (1/39) Installing ncurses-terminfo-base (6.4_p20240420-r1) [2024-10-03T03:48:21.213Z] (2/39) Installing libncursesw (6.4_p20240420-r1) [2024-10-03T03:48:21.213Z] (3/39) Installing readline (8.2.10-r0) [2024-10-03T03:48:21.213Z] (4/39) Installing bash (5.2.26-r0) [2024-10-03T03:48:21.213Z] Executing bash-5.2.26-r0.post-install [2024-10-03T03:48:21.213Z] (5/39) Installing libgcc (13.2.1_git20240309-r0) [2024-10-03T03:48:21.213Z] (6/39) Installing jansson (2.14-r4) [2024-10-03T03:48:21.213Z] (7/39) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-03T03:48:21.213Z] (8/39) Installing zstd-libs (1.5.6-r0) [2024-10-03T03:48:21.484Z] (9/39) Installing binutils (2.42-r0) [2024-10-03T03:48:21.756Z] (10/39) Installing libmagic (5.45-r1) [2024-10-03T03:48:21.756Z] (11/39) Installing file (5.45-r1) [2024-10-03T03:48:21.756Z] (12/39) Installing libgomp (13.2.1_git20240309-r0) [2024-10-03T03:48:21.756Z] (13/39) Installing libatomic (13.2.1_git20240309-r0) [2024-10-03T03:48:22.025Z] (14/39) Installing gmp (6.3.0-r1) [2024-10-03T03:48:22.025Z] (15/39) Installing isl26 (0.26-r1) [2024-10-03T03:48:22.025Z] (16/39) Installing mpfr4 (4.2.1-r0) [2024-10-03T03:48:22.025Z] (17/39) Installing mpc1 (1.3.1-r1) [2024-10-03T03:48:22.025Z] (18/39) Installing gcc (13.2.1_git20240309-r0) [2024-10-03T03:48:24.616Z] (19/39) Installing libstdc++-dev (13.2.1_git20240309-r0) [2024-10-03T03:48:25.585Z] (20/39) Installing musl-dev (1.2.5-r0) [2024-10-03T03:48:25.855Z] (21/39) Installing g++ (13.2.1_git20240309-r0) [2024-10-03T03:48:26.825Z] (22/39) Installing make (4.4.1-r2) [2024-10-03T03:48:26.825Z] (23/39) Installing fortify-headers (1.1-r3) [2024-10-03T03:48:26.825Z] (24/39) Installing patch (2.7.6-r10) [2024-10-03T03:48:26.825Z] (25/39) Installing build-base (0.5-r3) [2024-10-03T03:48:26.825Z] (26/39) Installing brotli-libs (1.1.0-r2) [2024-10-03T03:48:26.825Z] (27/39) Installing c-ares (1.33.1-r0) [2024-10-03T03:48:26.825Z] (28/39) Installing libunistring (1.2-r0) [2024-10-03T03:48:26.825Z] (29/39) Installing libidn2 (2.3.7-r0) [2024-10-03T03:48:26.825Z] (30/39) Installing nghttp2-libs (1.62.1-r0) [2024-10-03T03:48:26.825Z] (31/39) Installing libpsl (0.21.5-r1) [2024-10-03T03:48:26.825Z] (32/39) Installing libcurl (8.10.1-r0) [2024-10-03T03:48:26.825Z] (33/39) Installing curl (8.10.1-r0) [2024-10-03T03:48:26.825Z] (34/39) Installing libexpat (2.6.3-r0) [2024-10-03T03:48:26.825Z] (35/39) Installing pcre2 (10.43-r0) [2024-10-03T03:48:26.825Z] (36/39) Installing git (2.45.2-r0) [2024-10-03T03:48:27.096Z] (37/39) Installing git-init-template (2.45.2-r0) [2024-10-03T03:48:27.096Z] (38/39) Installing linux-headers (6.6-r0) [2024-10-03T03:48:27.702Z] (39/39) Installing pkgconf (2.2.0-r0) [2024-10-03T03:48:27.702Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T03:48:27.702Z] OK: 238 MiB in 54 packages [2024-10-03T03:48:27.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T03:48:28.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T03:48:29.679Z] Upgrading critical system libraries and apk-tools: [2024-10-03T03:48:29.679Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-03T03:48:29.679Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T03:48:30.268Z] Continuing the upgrade transaction with new apk-tools: [2024-10-03T03:48:31.690Z] OK: 238 MiB in 54 packages [2024-10-03T03:48:31.957Z] Connecting to raw.githubusercontent.com (185.199.108.133:443) [2024-10-03T03:48:32.223Z] writing to stdout [2024-10-03T03:48:32.223Z] - 100% |********************************| 11591 0:00:00 ETA [2024-10-03T03:48:32.223Z] written to stdout [2024-10-03T03:48:32.223Z] golangci/golangci-lint info checking GitHub for tag 'v1.61.0' [2024-10-03T03:48:32.491Z] golangci/golangci-lint info found version: 1.61.0 for v1.61.0/linux/arm64 [2024-10-03T03:48:35.076Z] golangci/golangci-lint info installed ./bin/golangci-lint [2024-10-03T03:48:45.154Z] Removing intermediate container 620e2d63e432 [2024-10-03T03:48:45.154Z] ---> 42bd22fdef78 [2024-10-03T03:48:45.154Z] Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2024-10-03T03:48:45.154Z] ---> Running in 66473c4cab8b [2024-10-03T03:48:45.154Z] go: downloading github.com/gotesttools/gotestfmt v1.1.0 [2024-10-03T03:48:45.420Z] go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 [2024-10-03T03:49:24.331Z] Removing intermediate container 66473c4cab8b [2024-10-03T03:49:24.331Z] ---> 362f206e7ce0 [2024-10-03T03:49:24.331Z] Step 8/9 : LABEL arch=arm64 [2024-10-03T03:49:24.331Z] ---> Running in 8cbf1cffce77 [2024-10-03T03:49:24.331Z] Removing intermediate container 8cbf1cffce77 [2024-10-03T03:49:24.331Z] ---> ce31bf90ee04 [2024-10-03T03:49:24.331Z] Step 9/9 : LABEL git_sha=9e97e59c4dac7cb694d5d934ed4954cb066f7a65 [2024-10-03T03:49:24.331Z] ---> Running in 8c41ad3aa3cb [2024-10-03T03:49:24.331Z] Removing intermediate container 8c41ad3aa3cb [2024-10-03T03:49:24.331Z] ---> 5a17b3ed4e74 [2024-10-03T03:49:24.331Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T03:49:24.331Z] Successfully built 5a17b3ed4e74 [2024-10-03T03:49:24.331Z] 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 [2024-10-03T03:49:25.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T03:49:25.572Z] [2024-10-03T03:49:25.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:49:25.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T03:49:26.262Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-03T03:49:26.262Z] 8998bd30e6a1: Pulling fs layer [2024-10-03T03:49:26.262Z] 04944245beec: Pulling fs layer [2024-10-03T03:49:26.262Z] 699f458cf7ca: Pulling fs layer [2024-10-03T03:49:26.262Z] 765212b225bb: Pulling fs layer [2024-10-03T03:49:26.262Z] f23df028b6ca: Pulling fs layer [2024-10-03T03:49:26.262Z] d65c8cfc05b1: Pulling fs layer [2024-10-03T03:49:26.262Z] 2437ff75d9bd: Pulling fs layer [2024-10-03T03:49:26.262Z] 765212b225bb: Waiting [2024-10-03T03:49:26.262Z] f23df028b6ca: Waiting [2024-10-03T03:49:26.262Z] 2437ff75d9bd: Waiting [2024-10-03T03:49:26.262Z] d65c8cfc05b1: Waiting [2024-10-03T03:49:26.262Z] 04944245beec: Verifying Checksum [2024-10-03T03:49:26.262Z] 04944245beec: Download complete [2024-10-03T03:49:26.262Z] 765212b225bb: Verifying Checksum [2024-10-03T03:49:26.262Z] 765212b225bb: Download complete [2024-10-03T03:49:26.262Z] f23df028b6ca: Verifying Checksum [2024-10-03T03:49:26.262Z] f23df028b6ca: Download complete [2024-10-03T03:49:26.262Z] d65c8cfc05b1: Verifying Checksum [2024-10-03T03:49:26.262Z] d65c8cfc05b1: Download complete [2024-10-03T03:49:26.528Z] 699f458cf7ca: Verifying Checksum [2024-10-03T03:49:26.528Z] 699f458cf7ca: Download complete [2024-10-03T03:49:26.795Z] 8998bd30e6a1: Download complete [2024-10-03T03:49:29.372Z] 2437ff75d9bd: Verifying Checksum [2024-10-03T03:49:29.373Z] 2437ff75d9bd: Download complete [2024-10-03T03:49:31.314Z] 8998bd30e6a1: Pull complete [2024-10-03T03:49:31.897Z] 04944245beec: Pull complete [2024-10-03T03:49:33.845Z] 699f458cf7ca: Pull complete [2024-10-03T03:49:33.845Z] 765212b225bb: Pull complete [2024-10-03T03:49:34.804Z] f23df028b6ca: Pull complete [2024-10-03T03:49:34.804Z] d65c8cfc05b1: Pull complete [2024-10-03T03:49:49.798Z] 2437ff75d9bd: Pull complete [2024-10-03T03:49:49.798Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-03T03:49:49.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T03:49:49.798Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:49:50.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-13163 does not seem to be running inside a container [2024-10-03T03:49:50.595Z] $ 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-219 -v /w/workspace/exfoundry_ci-build-images_PR-219:/w/workspace/exfoundry_ci-build-images_PR-219:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-219@tmp:/w/workspace/exfoundry_ci-build-images_PR-219@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:arm64 cat [2024-10-03T03:49:53.233Z] $ docker top 2ed19e729a94baf3522894ee7d6b71fb58dac5abfdd559c62352c7411acacd69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:49:54.158Z] ---> job-cost.sh [2024-10-03T03:49:54.158Z] lf-activate-venv: SKIPPING [2024-10-03T03:49:54.158Z] INFO: No Stack... [2024-10-03T03:49:54.426Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-03T03:49:55.384Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T03:49:55.742Z] + cat /w/workspace/exfoundry_ci-build-images_PR-219/archives/cost.csv [2024-10-03T03:49:55.742Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T03:49:56.186Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-PR-219-1-stack-cost] [2024-10-03T03:49:56.193Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-219-1-stack-cost] did not exist. Created. [2024-10-03T03:49:56.200Z] Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T03:49:57.179Z] /w/workspace/exfoundry_ci-build-images_PR-219@tmp/durable-f1b25838/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-03T03:49:57.890Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-03T03:49:57.938Z] Warning: overwriting stash ‘stack-cost’ [2024-10-03T03:49:58.358Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T03:49:58.380Z] Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T03:49:58.476Z] $ docker stop --time=1 2ed19e729a94baf3522894ee7d6b71fb58dac5abfdd559c62352c7411acacd69 [2024-10-03T03:49:59.972Z] $ docker rm -f --volumes 2ed19e729a94baf3522894ee7d6b71fb58dac5abfdd559c62352c7411acacd69 [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 [2024-10-03T03:50:01.842Z] + [ -d /w/workspace/exfoundry_ci-build-images_PR-219/archives ] [2024-10-03T03:50:01.842Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-219/archives [2024-10-03T03:50:01.842Z] total 16 [2024-10-03T03:50:01.842Z] drwxr-xr-x 3 root root 4096 Oct 3 03:41 . [2024-10-03T03:50:01.842Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 03:41 .. [2024-10-03T03:50:01.842Z] drwxr-xr-x 2 root root 4096 Oct 3 03:41 cost [2024-10-03T03:50:01.842Z] -rw-r--r-- 1 root root 87 Oct 3 03:41 cost.csv [2024-10-03T03:50:01.843Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-219/archives [2024-10-03T03:50:01.843Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-219/archives [2024-10-03T03:50:01.843Z] total 16 [2024-10-03T03:50:01.843Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:41 . [2024-10-03T03:50:01.843Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 03:41 .. [2024-10-03T03:50:01.843Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:41 cost [2024-10-03T03:50:01.843Z] -rw-r--r-- 1 jenkins jenkins 87 Oct 3 03:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:50:02.195Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:50:03.102Z] ---> package-listing.sh [2024-10-03T03:50:03.102Z] ++ facter osfamily [2024-10-03T03:50:03.102Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T03:50:03.363Z] + OS_FAMILY=debian [2024-10-03T03:50:03.363Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-219 [2024-10-03T03:50:03.363Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T03:50:03.363Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T03:50:03.363Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T03:50:03.363Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T03:50:03.363Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-219 ']' [2024-10-03T03:50:03.363Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T03:50:03.363Z] + case "${OS_FAMILY}" in [2024-10-03T03:50:03.363Z] + dpkg -l [2024-10-03T03:50:03.363Z] + grep '^ii' [2024-10-03T03:50:03.363Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T03:50:03.363Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T03:50:03.363Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T03:50:03.363Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-219 ']' [2024-10-03T03:50:03.363Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-219/archives/ [2024-10-03T03:50:03.363Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-219/archives/ [Pipeline] echo [2024-10-03T03:50:03.408Z] 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-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-03T03:50:03.707Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:50:04.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:50:04.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:50:04.530Z] prd-ubuntu20.04-docker-8c-8g-13161 does not seem to be running inside a container [2024-10-03T03:50:04.558Z] $ 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-219/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-219 -v /w/workspace/exfoundry_ci-build-images_PR-219:/w/workspace/exfoundry_ci-build-images_PR-219:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-219@tmp:/w/workspace/exfoundry_ci-build-images_PR-219@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T03:50:04.781Z] $ docker top bd4ddc2a1e7b93261380e0be4d0a34b60c452fabda7683dbe31ffb0ac45cb740 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T03:50:05.196Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T03:50:05.540Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T03:50:05.858Z] + ls /var/log/sa-host [2024-10-03T03:50:05.858Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:50:06.014Z] provisioning config files... [2024-10-03T03:50:06.022Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-219@tmp/config5069610196981779640tmp [Pipeline] { [Pipeline] echo [2024-10-03T03:50:06.084Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:50:06.410Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T03:50:06.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:50:06.864Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T03:50:06.900Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:50:07.222Z] ---> sudo-logs.sh [2024-10-03T03:50:07.222Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T03:50:07.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:50:07.642Z] ---> job-cost.sh [2024-10-03T03:50:07.642Z] lf-activate-venv: SKIPPING [2024-10-03T03:50:07.642Z] DEBUG: total: 0.2199999988079071 [2024-10-03T03:50:07.642Z] INFO: Retrieving Stack Cost... [2024-10-03T03:50:07.900Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T03:50:08.158Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T03:50:08.206Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:50:08.531Z] ---> logs-deploy.sh [2024-10-03T03:50:08.531Z] lf-activate-venv: SKIPPING [2024-10-03T03:50:08.531Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-219/1 [2024-10-03T03:50:08.531Z] INFO: archiving workspace using pattern(s): [2024-10-03T03:50:09.469Z] Archives upload complete. [2024-10-03T03:50:09.469Z] INFO: archiving logs to Nexus [2024-10-03T03:50:10.039Z] ---> uname -a: [2024-10-03T03:50:10.039Z] Linux prd-ubuntu20-04-docker-8c-8g-13161 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-10-03T03:50:10.039Z] [2024-10-03T03:50:10.039Z] [2024-10-03T03:50:10.039Z] ---> lscpu: [2024-10-03T03:50:10.039Z] Architecture: x86_64 [2024-10-03T03:50:10.039Z] CPU op-mode(s): 32-bit, 64-bit [2024-10-03T03:50:10.039Z] Byte Order: Little Endian [2024-10-03T03:50:10.039Z] Address sizes: 40 bits physical, 48 bits virtual [2024-10-03T03:50:10.039Z] CPU(s): 8 [2024-10-03T03:50:10.039Z] On-line CPU(s) list: 0-7 [2024-10-03T03:50:10.039Z] Thread(s) per core: 1 [2024-10-03T03:50:10.039Z] Core(s) per socket: 1 [2024-10-03T03:50:10.039Z] Socket(s): 8 [2024-10-03T03:50:10.039Z] NUMA node(s): 1 [2024-10-03T03:50:10.039Z] Vendor ID: AuthenticAMD [2024-10-03T03:50:10.039Z] CPU family: 23 [2024-10-03T03:50:10.039Z] Model: 49 [2024-10-03T03:50:10.039Z] Model name: AMD EPYC-Rome Processor [2024-10-03T03:50:10.039Z] Stepping: 0 [2024-10-03T03:50:10.039Z] CPU MHz: 2799.998 [2024-10-03T03:50:10.039Z] BogoMIPS: 5599.99 [2024-10-03T03:50:10.039Z] Virtualization: AMD-V [2024-10-03T03:50:10.039Z] Hypervisor vendor: KVM [2024-10-03T03:50:10.039Z] Virtualization type: full [2024-10-03T03:50:10.039Z] L1d cache: 256 KiB [2024-10-03T03:50:10.039Z] L1i cache: 256 KiB [2024-10-03T03:50:10.039Z] L2 cache: 4 MiB [2024-10-03T03:50:10.039Z] L3 cache: 128 MiB [2024-10-03T03:50:10.039Z] NUMA node0 CPU(s): 0-7 [2024-10-03T03:50:10.039Z] Vulnerability Itlb multihit: Not affected [2024-10-03T03:50:10.039Z] Vulnerability L1tf: Not affected [2024-10-03T03:50:10.039Z] Vulnerability Mds: Not affected [2024-10-03T03:50:10.039Z] Vulnerability Meltdown: Not affected [2024-10-03T03:50:10.039Z] Vulnerability Mmio stale data: Not affected [2024-10-03T03:50:10.039Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-10-03T03:50:10.039Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-10-03T03:50:10.039Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-10-03T03:50:10.039Z] Vulnerability Srbds: Not affected [2024-10-03T03:50:10.039Z] Vulnerability Tsx async abort: Not affected [2024-10-03T03:50:10.039Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-10-03T03:50:10.039Z] [2024-10-03T03:50:10.039Z] [2024-10-03T03:50:10.039Z] ---> nproc: [2024-10-03T03:50:10.039Z] 8 [2024-10-03T03:50:10.039Z] [2024-10-03T03:50:10.039Z] [2024-10-03T03:50:10.039Z] ---> df -h: [2024-10-03T03:50:10.039Z] Filesystem Size Used Avail Use% Mounted on [2024-10-03T03:50:10.039Z] overlay 155G 11G 145G 7% / [2024-10-03T03:50:10.039Z] tmpfs 64M 0 64M 0% /dev [2024-10-03T03:50:10.039Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-10-03T03:50:10.039Z] shm 64M 0 64M 0% /dev/shm [2024-10-03T03:50:10.039Z] /dev/vda1 155G 11G 145G 7% /facter-os [2024-10-03T03:50:10.039Z] [2024-10-03T03:50:10.039Z]