Pull request #216 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 cloudxxx8 for edgexfoundry/ci-build-images Loading trusted files from base branch golang-1.21-lts at d73bd051f59c59a12b60358af36ceb0b1512c253 rather than 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b Obtained Jenkinsfile from d73bd051f59c59a12b60358af36ceb0b1512c253 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-ssh12480420117005658126.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12471435555456761895.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-216/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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3662052964298795252.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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12613741338638830446.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh10287046248950636447.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-216/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-216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16823287680696326261.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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:release, dockerTags:[1.21-alpine-lts, 1.21-alpine3.18-lts], releaseBranchOverride:golang-1.21-lts] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-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: release 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.21-lts DOCKER_CUSTOM_TAGS: 1.21-alpine-lts 1.21-alpine3.18-lts [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-2829 in /w/workspace/exfoundry_ci-build-images_PR-216 [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-216 # 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.21-lts commit d73bd051f59c59a12b60358af36ceb0b1512c253 into PR head commit 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b Merge succeeded, producing 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b Checking out Revision 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b (PR-216) > 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/216/head:refs/remotes/origin/PR-216 +refs/heads/golang-1.21-lts:refs/remotes/origin/golang-1.21-lts # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b # 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 d73bd051f59c59a12b60358af36ceb0b1512c253 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b # timeout=10 Commit message: "fix: Use the latest patch version of golang 1.21" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-19T13:14:54.486Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-19T13:14:54.665Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-19T13:14:54.769Z] ========================================================= [2024-04-19T13:14:54.769Z] EdgeX Global Pipelines Version Info [2024-04-19T13:14:54.769Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:14:55.965Z] ------------------- [2024-04-19T13:14:55.965Z] stable info: [2024-04-19T13:14:55.965Z] ------------------- [2024-04-19T13:14:55.965Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-19T13:14:55.965Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:14:55.965Z] Message: update stable to v1.0.258 [2024-04-19T13:14:56.227Z] ------------------- [2024-04-19T13:14:56.227Z] experimental info: [2024-04-19T13:14:56.227Z] ------------------- [2024-04-19T13:14:56.227Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-19T13:14:56.227Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:14:56.227Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2024-04-19T13:14:56.484Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2024-04-19T13:14:56.534Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2024-04-19T13:14:56.577Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2024-04-19T13:14:56.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-19T13:14:56.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-19T13:14:56.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2024-04-19T13:14:56.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2024-04-19T13:14:56.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = release [Pipeline] echo [2024-04-19T13:14:56.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2024-04-19T13:14:56.901Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-19T13:14:56.949Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2024-04-19T13:14:56.990Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2024-04-19T13:14:57.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-19T13:14:57.086Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-19T13:14:57.133Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.21-lts [Pipeline] echo [2024-04-19T13:14:57.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.21-alpine-lts 1.21-alpine3.18-lts [Pipeline] echo [2024-04-19T13:14:57.232Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2024-04-19T13:14:57.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2024-04-19T13:14:57.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2024-04-19T13:14:57.368Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b [Pipeline] echo [2024-04-19T13:14:57.417Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14e67f2 [Pipeline] echo [2024-04-19T13:14:57.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:14:57.589Z] provisioning config files... [2024-04-19T13:14:57.605Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-216@tmp/config3621107515352577900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:14:57.986Z] ---> ****-login.sh [2024-04-19T13:14:57.986Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:14:58.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:14:58.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:14:58.251Z] Configure a credential helper to remove this warning. See [2024-04-19T13:14:58.251Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:14:58.251Z] [2024-04-19T13:14:58.251Z] Login Succeeded [2024-04-19T13:14:58.251Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:14:58.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:14:58.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:14:58.251Z] Configure a credential helper to remove this warning. See [2024-04-19T13:14:58.251Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:14:58.251Z] [2024-04-19T13:14:58.251Z] Login Succeeded [2024-04-19T13:14:58.251Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:14:58.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:14:58.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:14:58.510Z] Configure a credential helper to remove this warning. See [2024-04-19T13:14:58.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:14:58.510Z] [2024-04-19T13:14:58.510Z] Login Succeeded [2024-04-19T13:14:58.510Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:14:58.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:14:58.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:14:58.511Z] Configure a credential helper to remove this warning. See [2024-04-19T13:14:58.511Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:14:58.511Z] [2024-04-19T13:14:58.511Z] Login Succeeded [2024-04-19T13:14:58.511Z] ****.io [2024-04-19T13:14:58.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:14:58.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:14:58.771Z] Configure a credential helper to remove this warning. See [2024-04-19T13:14:58.771Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:14:58.771Z] [2024-04-19T13:14:58.771Z] Login Succeeded [2024-04-19T13:14:58.771Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:14:58.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:14:59.651Z] provisioning config files... [2024-04-19T13:14:59.661Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-216@tmp/config6522084957054248653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:15:00.012Z] ---> ****-login.sh [2024-04-19T13:15:00.012Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:15:00.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:15:00.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:15:00.012Z] Configure a credential helper to remove this warning. See [2024-04-19T13:15:00.012Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:15:00.012Z] [2024-04-19T13:15:00.012Z] Login Succeeded [2024-04-19T13:15:00.012Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:15:00.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:15:00.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:15:00.012Z] Configure a credential helper to remove this warning. See [2024-04-19T13:15:00.012Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:15:00.012Z] [2024-04-19T13:15:00.012Z] Login Succeeded [2024-04-19T13:15:00.012Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:15:00.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:15:00.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:15:00.273Z] Configure a credential helper to remove this warning. See [2024-04-19T13:15:00.273Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:15:00.273Z] [2024-04-19T13:15:00.273Z] Login Succeeded [2024-04-19T13:15:00.273Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:15:00.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:15:00.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:15:00.273Z] Configure a credential helper to remove this warning. See [2024-04-19T13:15:00.273Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:15:00.273Z] [2024-04-19T13:15:00.273Z] Login Succeeded [2024-04-19T13:15:00.273Z] ****.io [2024-04-19T13:15:00.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:15:00.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:15:00.533Z] Configure a credential helper to remove this warning. See [2024-04-19T13:15:00.533Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:15:00.533Z] [2024-04-19T13:15:00.533Z] Login Succeeded [2024-04-19T13:15:00.533Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:15:00.561Z] 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-04-19T13:15:01.349Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-19T13:15:01.665Z] + ls -al . [2024-04-19T13:15:01.665Z] total 28 [2024-04-19T13:15:01.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:14 . [2024-04-19T13:15:01.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:14 .. [2024-04-19T13:15:01.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:14 .git [2024-04-19T13:15:01.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:14 .github [2024-04-19T13:15:01.665Z] -rw-rw-r-- 1 jenkins jenkins 585 Apr 19 13:14 .golangci.yml [2024-04-19T13:15:01.665Z] -rw-rw-r-- 1 jenkins jenkins 910 Apr 19 13:14 Dockerfile [2024-04-19T13:15:01.665Z] -rw-rw-r-- 1 jenkins jenkins 923 Apr 19 13:14 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:15:02.116Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b --label arch=amd64 . [2024-04-19T13:15:02.116Z] Sending build context to Docker daemon 475.6kB [2024-04-19T13:15:02.116Z] Step 1/9 : FROM golang:1.21-alpine3.18 [2024-04-19T13:15:03.055Z] 1.21-alpine3.18: Pulling from library/golang [2024-04-19T13:15:03.313Z] 619be1103602: Pulling fs layer [2024-04-19T13:15:03.313Z] 7862e08f4a3e: Pulling fs layer [2024-04-19T13:15:03.313Z] 5df492c9dc93: Pulling fs layer [2024-04-19T13:15:03.313Z] 7629e6793208: Pulling fs layer [2024-04-19T13:15:03.313Z] 4f4fb700ef54: Pulling fs layer [2024-04-19T13:15:03.313Z] 4f4fb700ef54: Waiting [2024-04-19T13:15:03.313Z] 7629e6793208: Waiting [2024-04-19T13:15:03.572Z] 7862e08f4a3e: Verifying Checksum [2024-04-19T13:15:03.572Z] 7862e08f4a3e: Download complete [2024-04-19T13:15:03.572Z] 619be1103602: Verifying Checksum [2024-04-19T13:15:03.572Z] 619be1103602: Download complete [2024-04-19T13:15:03.572Z] 7629e6793208: Verifying Checksum [2024-04-19T13:15:03.572Z] 7629e6793208: Download complete [2024-04-19T13:15:03.572Z] 4f4fb700ef54: Download complete [2024-04-19T13:15:03.832Z] 619be1103602: Pull complete [2024-04-19T13:15:04.092Z] 7862e08f4a3e: Pull complete [2024-04-19T13:15:05.028Z] 5df492c9dc93: Verifying Checksum [2024-04-19T13:15:05.028Z] 5df492c9dc93: Download complete [2024-04-19T13:15:09.215Z] 5df492c9dc93: Pull complete [2024-04-19T13:15:09.513Z] 7629e6793208: Pull complete [2024-04-19T13:15:09.774Z] 4f4fb700ef54: Pull complete [2024-04-19T13:15:09.774Z] Digest: sha256:b09322e4dc407962c34a2a40b1bda49cb9b0bebafd87411c32ac093a3fbc0d75 [2024-04-19T13:15:09.774Z] Status: Downloaded newer image for golang:1.21-alpine3.18 [2024-04-19T13:15:09.774Z] ---> a87ab66af294 [2024-04-19T13:15:09.774Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' [2024-04-19T13:15:13.193Z] ---> Running in ffc296899b68 [2024-04-19T13:15:13.193Z] Removing intermediate container ffc296899b68 [2024-04-19T13:15:13.193Z] ---> 9b4ed7facb6e [2024-04-19T13:15:13.193Z] Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.54.2 [2024-04-19T13:15:13.193Z] ---> Running in bad419f8b25d [2024-04-19T13:15:13.193Z] Removing intermediate container bad419f8b25d [2024-04-19T13:15:13.193Z] ---> ba2d5536a486 [2024-04-19T13:15:13.193Z] Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml [2024-04-19T13:15:13.193Z] ---> 9de4da3c47a3 [2024-04-19T13:15:13.193Z] 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-04-19T13:15:13.193Z] ---> Running in fd7cd21972c2 [2024-04-19T13:15:13.468Z] Connecting to github.com (140.82.112.4:443) [2024-04-19T13:15:13.729Z] Connecting to objects.githubusercontent.com (185.199.108.133:443) [2024-04-19T13:15:13.729Z] saving to '/usr/local/bin/hadolint' [2024-04-19T13:15:13.995Z] hadolint 100% |********************************| 2369k 0:00:00 ETA [2024-04-19T13:15:13.995Z] '/usr/local/bin/hadolint' saved [2024-04-19T13:15:14.260Z] Removing intermediate container fd7cd21972c2 [2024-04-19T13:15:14.260Z] ---> b9fcad883bb5 [2024-04-19T13:15:14.260Z] 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-04-19T13:15:14.260Z] ---> Running in dc64ecdbd276 [2024-04-19T13:15:14.423Z] Still waiting to schedule task [2024-04-19T13:15:14.423Z] ‘prd-centos7-blackbox-4c-2g-2400’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-04-19T13:15:14.423Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2831’ is offline [2024-04-19T13:15:14.423Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2832’ is offline [2024-04-19T13:15:14.423Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2833’ is offline [2024-04-19T13:15:14.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:14.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:14.776Z] (1/36) Installing ncurses-terminfo-base (6.4_p20230506-r0) [2024-04-19T13:15:14.776Z] (2/36) Installing libncursesw (6.4_p20230506-r0) [2024-04-19T13:15:14.776Z] (3/36) Installing readline (8.2.1-r1) [2024-04-19T13:15:14.776Z] (4/36) Installing bash (5.2.15-r5) [2024-04-19T13:15:14.776Z] Executing bash-5.2.15-r5.post-install [2024-04-19T13:15:14.776Z] (5/36) Installing libgcc (12.2.1_git20220924-r10) [2024-04-19T13:15:14.776Z] (6/36) Installing libstdc++ (12.2.1_git20220924-r10) [2024-04-19T13:15:14.776Z] (7/36) Installing zstd-libs (1.5.5-r4) [2024-04-19T13:15:14.776Z] (8/36) Installing binutils (2.40-r7) [2024-04-19T13:15:15.034Z] (9/36) Installing libmagic (5.45-r0) [2024-04-19T13:15:15.035Z] (10/36) Installing file (5.45-r0) [2024-04-19T13:15:15.035Z] (11/36) Installing libgomp (12.2.1_git20220924-r10) [2024-04-19T13:15:15.035Z] (12/36) Installing libatomic (12.2.1_git20220924-r10) [2024-04-19T13:15:15.035Z] (13/36) Installing gmp (6.2.1-r3) [2024-04-19T13:15:15.035Z] (14/36) Installing isl26 (0.26-r1) [2024-04-19T13:15:15.035Z] (15/36) Installing mpfr4 (4.2.0_p12-r0) [2024-04-19T13:15:15.035Z] (16/36) Installing mpc1 (1.3.1-r1) [2024-04-19T13:15:15.035Z] (17/36) Installing gcc (12.2.1_git20220924-r10) [2024-04-19T13:15:15.602Z] (18/36) Installing libstdc++-dev (12.2.1_git20220924-r10) [2024-04-19T13:15:15.870Z] (19/36) Installing musl-dev (1.2.4-r2) [2024-04-19T13:15:15.870Z] (20/36) Installing libc-dev (0.7.2-r5) [2024-04-19T13:15:15.870Z] (21/36) Installing g++ (12.2.1_git20220924-r10) [2024-04-19T13:15:16.161Z] (22/36) Installing make (4.4.1-r1) [2024-04-19T13:15:16.161Z] (23/36) Installing fortify-headers (1.1-r3) [2024-04-19T13:15:16.161Z] (24/36) Installing patch (2.7.6-r10) [2024-04-19T13:15:16.161Z] (25/36) Installing build-base (0.5-r3) [2024-04-19T13:15:16.161Z] (26/36) Installing brotli-libs (1.0.9-r14) [2024-04-19T13:15:16.161Z] (27/36) Installing libunistring (1.1-r1) [2024-04-19T13:15:16.161Z] (28/36) Installing libidn2 (2.3.4-r1) [2024-04-19T13:15:16.161Z] (29/36) Installing nghttp2-libs (1.57.0-r0) [2024-04-19T13:15:16.161Z] (30/36) Installing libcurl (8.5.0-r0) [2024-04-19T13:15:16.161Z] (31/36) Installing curl (8.5.0-r0) [2024-04-19T13:15:16.161Z] (32/36) Installing libexpat (2.6.2-r0) [2024-04-19T13:15:16.161Z] (33/36) Installing pcre2 (10.42-r1) [2024-04-19T13:15:16.161Z] (34/36) Installing git (2.40.1-r0) [2024-04-19T13:15:16.161Z] (35/36) Installing linux-headers (6.3-r0) [2024-04-19T13:15:16.161Z] (36/36) Installing pkgconf (1.9.5-r0) [2024-04-19T13:15:16.161Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:15:16.420Z] OK: 264 MiB in 52 packages [2024-04-19T13:15:16.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:16.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:16.681Z] Upgrading critical system libraries and apk-tools: [2024-04-19T13:15:16.681Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-19T13:15:16.681Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:15:16.681Z] Continuing the upgrade transaction with new apk-tools: [2024-04-19T13:15:16.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:16.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:16.941Z] (1/4) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-19T13:15:16.941Z] (2/4) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:15:17.225Z] (3/4) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:15:17.225Z] (4/4) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-04-19T13:15:17.225Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:15:17.225Z] Executing ca-certificates-20240226-r0.trigger [2024-04-19T13:15:17.225Z] OK: 264 MiB in 52 packages [2024-04-19T13:15:17.225Z] Connecting to raw.githubusercontent.com (185.199.109.133:443) [2024-04-19T13:15:17.225Z] writing to stdout [2024-04-19T13:15:17.225Z] - 100% |********************************| 11019 0:00:00 ETA [2024-04-19T13:15:17.225Z] written to stdout [2024-04-19T13:15:17.225Z] golangci/golangci-lint info checking GitHub for tag 'v1.54.2' [2024-04-19T13:15:17.483Z] golangci/golangci-lint info found version: 1.54.2 for v1.54.2/linux/amd64 [2024-04-19T13:15:18.061Z] golangci/golangci-lint info installed ./bin/golangci-lint [2024-04-19T13:15:36.572Z] Removing intermediate container dc64ecdbd276 [2024-04-19T13:15:36.572Z] ---> 6206e497024b [2024-04-19T13:15:36.572Z] Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2024-04-19T13:15:36.572Z] ---> Running in 2c5c1e083ffc [2024-04-19T13:15:37.141Z] go: downloading github.com/gotesttools/gotestfmt v1.1.0 [2024-04-19T13:15:37.141Z] go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 [2024-04-19T13:15:43.945Z] Removing intermediate container 2c5c1e083ffc [2024-04-19T13:15:43.945Z] ---> faf8f796a20d [2024-04-19T13:15:43.945Z] Step 8/9 : LABEL arch=amd64 [2024-04-19T13:15:43.945Z] ---> Running in 437cf1a3396a [2024-04-19T13:15:43.945Z] Removing intermediate container 437cf1a3396a [2024-04-19T13:15:43.945Z] ---> 1576f29890d7 [2024-04-19T13:15:43.945Z] Step 9/9 : LABEL git_sha=14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b [2024-04-19T13:15:43.945Z] ---> Running in 5bc06c4facbf [2024-04-19T13:15:43.945Z] Removing intermediate container 5bc06c4facbf [2024-04-19T13:15:43.945Z] ---> b00cc7e14be2 [2024-04-19T13:15:43.945Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-19T13:15:43.945Z] Successfully built b00cc7e14be2 [2024-04-19T13:15:43.945Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:15:44.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:15:44.865Z] [2024-04-19T13:15:44.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:15:45.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:15:45.256Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-19T13:15:45.256Z] 5eb5b503b376: Pulling fs layer [2024-04-19T13:15:45.256Z] 5c69ac0246d0: Pulling fs layer [2024-04-19T13:15:45.256Z] ec43610c2a17: Pulling fs layer [2024-04-19T13:15:45.256Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-19T13:15:45.256Z] 33b1e0a273af: Pulling fs layer [2024-04-19T13:15:45.256Z] 5d3b04190fa2: Pulling fs layer [2024-04-19T13:15:45.256Z] 2f39f015ded8: Pulling fs layer [2024-04-19T13:15:45.256Z] 3a2ae6a8a46f: Waiting [2024-04-19T13:15:45.256Z] 33b1e0a273af: Waiting [2024-04-19T13:15:45.256Z] 5d3b04190fa2: Waiting [2024-04-19T13:15:45.256Z] 2f39f015ded8: Waiting [2024-04-19T13:15:45.256Z] 5c69ac0246d0: Verifying Checksum [2024-04-19T13:15:45.256Z] 5c69ac0246d0: Download complete [2024-04-19T13:15:45.256Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-19T13:15:45.256Z] 3a2ae6a8a46f: Download complete [2024-04-19T13:15:45.513Z] 33b1e0a273af: Verifying Checksum [2024-04-19T13:15:45.514Z] 33b1e0a273af: Download complete [2024-04-19T13:15:45.514Z] 5d3b04190fa2: Verifying Checksum [2024-04-19T13:15:45.514Z] 5d3b04190fa2: Download complete [2024-04-19T13:15:45.514Z] ec43610c2a17: Verifying Checksum [2024-04-19T13:15:45.514Z] ec43610c2a17: Download complete [2024-04-19T13:15:45.772Z] 5eb5b503b376: Verifying Checksum [2024-04-19T13:15:45.772Z] 5eb5b503b376: Download complete [2024-04-19T13:15:46.335Z] 2f39f015ded8: Download complete [2024-04-19T13:15:46.905Z] 5eb5b503b376: Pull complete [2024-04-19T13:15:47.166Z] 5c69ac0246d0: Pull complete [2024-04-19T13:15:47.433Z] ec43610c2a17: Pull complete [2024-04-19T13:15:47.691Z] 3a2ae6a8a46f: Pull complete [2024-04-19T13:15:47.691Z] 33b1e0a273af: Pull complete [2024-04-19T13:15:47.949Z] 5d3b04190fa2: Pull complete [2024-04-19T13:15:52.135Z] 2f39f015ded8: Pull complete [2024-04-19T13:15:52.135Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-19T13:15:52.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:15:52.135Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:15:52.392Z] prd-ubuntu20.04-docker-8c-8g-2829 does not seem to be running inside a container [2024-04-19T13:15:52.431Z] $ 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-216 -v /w/workspace/exfoundry_ci-build-images_PR-216:/w/workspace/exfoundry_ci-build-images_PR-216:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-216@tmp:/w/workspace/exfoundry_ci-build-images_PR-216@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-04-19T13:15:57.561Z] $ docker top 2284e16e1b07914a2f8041c9f1abc73558bf46e82e028ba054ea67a90173b32d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:15:57.986Z] ---> job-cost.sh [2024-04-19T13:15:57.986Z] lf-activate-venv: SKIPPING [2024-04-19T13:15:57.986Z] INFO: No Stack... [2024-04-19T13:15:58.245Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-19T13:15:58.504Z] INFO: Archiving Costs [Pipeline] sh [2024-04-19T13:15:58.818Z] + cat /w/workspace/exfoundry_ci-build-images_PR-216/archives/cost.csv [2024-04-19T13:15:58.818Z] + cut -d, -f6 [Pipeline] lock [2024-04-19T13:15:58.869Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-216-1-stack-cost] [2024-04-19T13:15:58.874Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-216-1-stack-cost] did not exist. Created. [2024-04-19T13:15:58.880Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-19T13:15:59.269Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-19T13:15:59.507Z] Stashed 1 file(s) [Pipeline] } [2024-04-19T13:15:59.523Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-19T13:15:59.608Z] $ docker stop --time=1 2284e16e1b07914a2f8041c9f1abc73558bf46e82e028ba054ea67a90173b32d [2024-04-19T13:16:00.974Z] $ docker rm -f --volumes 2284e16e1b07914a2f8041c9f1abc73558bf46e82e028ba054ea67a90173b32d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-19T13:16:44.994Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2836 in /w/workspace/exfoundry_ci-build-images_PR-216 [Pipeline] { [Pipeline] checkout [2024-04-19T13:16:48.088Z] Selected Git installation does not exist. Using Default [2024-04-19T13:16:48.088Z] The recommended git tool is: NONE [2024-04-19T13:16:54.434Z] using credential edgex-jenkins-ssh [2024-04-19T13:16:54.466Z] Cloning the remote Git repository [2024-04-19T13:16:54.533Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2024-04-19T13:16:54.675Z] > git init /w/workspace/exfoundry_ci-build-images_PR-216 # timeout=10 [2024-04-19T13:16:54.892Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2024-04-19T13:16:54.893Z] > git --version # timeout=10 [2024-04-19T13:16:54.928Z] > git --version # 'git version 2.25.1' [2024-04-19T13:16:54.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:55.162Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-19T13:16:55.922Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2024-04-19T13:16:55.956Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-19T13:16:57.050Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2024-04-19T13:16:57.733Z] Merging remotes/origin/golang-1.21-lts commit d73bd051f59c59a12b60358af36ceb0b1512c253 into PR head commit 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b [2024-04-19T13:16:58.067Z] Merge succeeded, producing 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b [2024-04-19T13:16:58.068Z] Checking out Revision 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b (PR-216) [2024-04-19T13:16:57.099Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2024-04-19T13:16:57.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:57.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/golang-1.21-lts:refs/remotes/origin/golang-1.21-lts # timeout=10 [2024-04-19T13:16:57.758Z] > git config core.sparsecheckout # timeout=10 [2024-04-19T13:16:57.840Z] > git checkout -f 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b # timeout=10 [2024-04-19T13:16:57.936Z] > git remote # timeout=10 [2024-04-19T13:16:57.964Z] > git config --get remote.origin.url # timeout=10 [2024-04-19T13:16:57.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:58.015Z] > git merge d73bd051f59c59a12b60358af36ceb0b1512c253 # timeout=10 [2024-04-19T13:16:58.044Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-19T13:16:58.081Z] > git config core.sparsecheckout # timeout=10 [2024-04-19T13:16:58.098Z] > git checkout -f 14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b # timeout=10 [2024-04-19T13:17:01.870Z] Commit message: "fix: Use the latest patch version of golang 1.21" [2024-04-19T13:17:01.943Z] > git --version # timeout=10 [2024-04-19T13:17:01.956Z] > git --version # 'git version 2.25.1' [2024-04-19T13:17:01.970Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-19T13:17:04.221Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-19T13:17:04.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-19T13:17:04.221Z] Dload Upload Total Spent Left Speed [2024-04-19T13:17:04.221Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 171k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh [2024-04-19T13:17:04.595Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-19T13:17:04.965Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-19T13:17:04.966Z] + sudo tee /etc/docker/daemon.new [2024-04-19T13:17:04.966Z] { [2024-04-19T13:17:04.966Z] "registry-mirrors": [ [2024-04-19T13:17:04.966Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-19T13:17:04.966Z] ], [2024-04-19T13:17:04.966Z] "bip": "10.250.0.254/24", [2024-04-19T13:17:04.966Z] "hosts": [ [2024-04-19T13:17:04.966Z] "tcp://0.0.0.0:5555", [2024-04-19T13:17:04.966Z] "unix:///var/run/docker.sock" [2024-04-19T13:17:04.966Z] ], [2024-04-19T13:17:04.966Z] "mtu": 1458, [2024-04-19T13:17:04.966Z] "selinux-enabled": true, [2024-04-19T13:17:04.966Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-19T13:17:04.966Z] } [Pipeline] sh [2024-04-19T13:17:05.329Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-19T13:17:05.690Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:17:24.099Z] provisioning config files... [2024-04-19T13:17:24.348Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-216@tmp/config7440717670966941393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:17:24.872Z] ---> ****-login.sh [2024-04-19T13:17:24.872Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:17:25.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:25.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:25.733Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:25.733Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:25.733Z] [2024-04-19T13:17:25.733Z] Login Succeeded [2024-04-19T13:17:25.733Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:17:26.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:26.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:26.006Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:26.006Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:26.006Z] [2024-04-19T13:17:26.006Z] Login Succeeded [2024-04-19T13:17:26.006Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:17:26.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:26.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:26.564Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:26.564Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:26.564Z] [2024-04-19T13:17:26.564Z] Login Succeeded [2024-04-19T13:17:26.564Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:17:26.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:27.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:27.108Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:27.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:27.108Z] [2024-04-19T13:17:27.108Z] Login Succeeded [2024-04-19T13:17:27.108Z] ****.io [2024-04-19T13:17:27.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:27.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:27.647Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:27.647Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:27.647Z] [2024-04-19T13:17:27.647Z] Login Succeeded [2024-04-19T13:17:27.647Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:17:27.673Z] 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-04-19T13:17:28.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-19T13:17:28.780Z] + ls -al . [2024-04-19T13:17:28.780Z] total 28 [2024-04-19T13:17:28.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:16 . [2024-04-19T13:17:28.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:16 .. [2024-04-19T13:17:28.780Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:16 .git [2024-04-19T13:17:28.780Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:16 .github [2024-04-19T13:17:28.780Z] -rw-rw-r-- 1 jenkins jenkins 585 Apr 19 13:16 .golangci.yml [2024-04-19T13:17:28.780Z] -rw-rw-r-- 1 jenkins jenkins 910 Apr 19 13:16 Dockerfile [2024-04-19T13:17:28.780Z] -rw-rw-r-- 1 jenkins jenkins 923 Apr 19 13:16 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:17:29.214Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b --label arch=arm64 . [2024-04-19T13:17:29.487Z] Sending build context to Docker daemon 475.6kB [2024-04-19T13:17:29.487Z] Step 1/9 : FROM golang:1.21-alpine3.18 [2024-04-19T13:17:30.078Z] 1.21-alpine3.18: Pulling from library/golang [2024-04-19T13:17:30.351Z] c6b39de5b339: Pulling fs layer [2024-04-19T13:17:30.351Z] a69c41024577: Pulling fs layer [2024-04-19T13:17:30.351Z] d6de4b400683: Pulling fs layer [2024-04-19T13:17:30.351Z] 35cb2a7552d0: Pulling fs layer [2024-04-19T13:17:30.351Z] 4f4fb700ef54: Pulling fs layer [2024-04-19T13:17:30.351Z] 35cb2a7552d0: Waiting [2024-04-19T13:17:30.351Z] 4f4fb700ef54: Waiting [2024-04-19T13:17:30.634Z] a69c41024577: Verifying Checksum [2024-04-19T13:17:30.634Z] a69c41024577: Download complete [2024-04-19T13:17:30.907Z] c6b39de5b339: Verifying Checksum [2024-04-19T13:17:30.907Z] c6b39de5b339: Download complete [2024-04-19T13:17:31.180Z] 4f4fb700ef54: Verifying Checksum [2024-04-19T13:17:31.180Z] 4f4fb700ef54: Download complete [2024-04-19T13:17:32.156Z] c6b39de5b339: Pull complete [2024-04-19T13:17:32.156Z] 35cb2a7552d0: Verifying Checksum [2024-04-19T13:17:32.156Z] 35cb2a7552d0: Download complete [2024-04-19T13:17:32.481Z] a69c41024577: Pull complete [2024-04-19T13:17:32.755Z] d6de4b400683: Verifying Checksum [2024-04-19T13:17:32.755Z] d6de4b400683: Download complete [2024-04-19T13:17:47.782Z] d6de4b400683: Pull complete [2024-04-19T13:17:47.782Z] 35cb2a7552d0: Pull complete [2024-04-19T13:17:47.782Z] 4f4fb700ef54: Pull complete [2024-04-19T13:17:47.782Z] Digest: sha256:b09322e4dc407962c34a2a40b1bda49cb9b0bebafd87411c32ac093a3fbc0d75 [2024-04-19T13:17:47.782Z] Status: Downloaded newer image for golang:1.21-alpine3.18 [2024-04-19T13:17:47.782Z] ---> 9095431a6bb1 [2024-04-19T13:17:47.782Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' [2024-04-19T13:17:48.760Z] ---> Running in 6ef7adcfa33f [2024-04-19T13:17:49.040Z] Removing intermediate container 6ef7adcfa33f [2024-04-19T13:17:49.040Z] ---> 1e23ba768504 [2024-04-19T13:17:49.040Z] Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.54.2 [2024-04-19T13:17:49.311Z] ---> Running in 6906cbe19144 [2024-04-19T13:17:49.583Z] Removing intermediate container 6906cbe19144 [2024-04-19T13:17:49.583Z] ---> 8b04bd7dd711 [2024-04-19T13:17:49.583Z] Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml [2024-04-19T13:17:50.176Z] ---> b7ea7443d651 [2024-04-19T13:17:50.176Z] 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-04-19T13:17:50.449Z] ---> Running in ebcce2b25326 [2024-04-19T13:17:52.421Z] Removing intermediate container ebcce2b25326 [2024-04-19T13:17:52.421Z] ---> 65d47e2ac099 [2024-04-19T13:17:52.421Z] 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-04-19T13:17:52.421Z] ---> Running in 9f1d19d78cf5 [2024-04-19T13:17:53.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:17:54.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:17:55.553Z] (1/36) Installing ncurses-terminfo-base (6.4_p20230506-r0) [2024-04-19T13:17:55.553Z] (2/36) Installing libncursesw (6.4_p20230506-r0) [2024-04-19T13:17:55.827Z] (3/36) Installing readline (8.2.1-r1) [2024-04-19T13:17:55.827Z] (4/36) Installing bash (5.2.15-r5) [2024-04-19T13:17:55.827Z] Executing bash-5.2.15-r5.post-install [2024-04-19T13:17:55.827Z] (5/36) Installing libgcc (12.2.1_git20220924-r10) [2024-04-19T13:17:55.827Z] (6/36) Installing libstdc++ (12.2.1_git20220924-r10) [2024-04-19T13:17:55.827Z] (7/36) Installing zstd-libs (1.5.5-r4) [2024-04-19T13:17:55.827Z] (8/36) Installing binutils (2.40-r7) [2024-04-19T13:17:56.420Z] (9/36) Installing libmagic (5.45-r0) [2024-04-19T13:17:56.420Z] (10/36) Installing file (5.45-r0) [2024-04-19T13:17:56.420Z] (11/36) Installing libgomp (12.2.1_git20220924-r10) [2024-04-19T13:17:56.420Z] (12/36) Installing libatomic (12.2.1_git20220924-r10) [2024-04-19T13:17:56.420Z] (13/36) Installing gmp (6.2.1-r3) [2024-04-19T13:17:56.420Z] (14/36) Installing isl26 (0.26-r1) [2024-04-19T13:17:56.420Z] (15/36) Installing mpfr4 (4.2.0_p12-r0) [2024-04-19T13:17:56.694Z] (16/36) Installing mpc1 (1.3.1-r1) [2024-04-19T13:17:56.694Z] (17/36) Installing gcc (12.2.1_git20220924-r10) [2024-04-19T13:17:59.306Z] (18/36) Installing libstdc++-dev (12.2.1_git20220924-r10) [2024-04-19T13:18:01.276Z] (19/36) Installing musl-dev (1.2.4-r2) [2024-04-19T13:18:01.276Z] (20/36) Installing libc-dev (0.7.2-r5) [2024-04-19T13:18:01.276Z] (21/36) Installing g++ (12.2.1_git20220924-r10) [2024-04-19T13:18:01.870Z] (22/36) Installing make (4.4.1-r1) [2024-04-19T13:18:01.870Z] (23/36) Installing fortify-headers (1.1-r3) [2024-04-19T13:18:01.870Z] (24/36) Installing patch (2.7.6-r10) [2024-04-19T13:18:01.870Z] (25/36) Installing build-base (0.5-r3) [2024-04-19T13:18:01.870Z] (26/36) Installing brotli-libs (1.0.9-r14) [2024-04-19T13:18:02.144Z] (27/36) Installing libunistring (1.1-r1) [2024-04-19T13:18:02.144Z] (28/36) Installing libidn2 (2.3.4-r1) [2024-04-19T13:18:02.144Z] (29/36) Installing nghttp2-libs (1.57.0-r0) [2024-04-19T13:18:02.144Z] (30/36) Installing libcurl (8.5.0-r0) [2024-04-19T13:18:02.144Z] (31/36) Installing curl (8.5.0-r0) [2024-04-19T13:18:02.144Z] (32/36) Installing libexpat (2.6.2-r0) [2024-04-19T13:18:02.144Z] (33/36) Installing pcre2 (10.42-r1) [2024-04-19T13:18:02.144Z] (34/36) Installing git (2.40.1-r0) [2024-04-19T13:18:02.415Z] (35/36) Installing linux-headers (6.3-r0) [2024-04-19T13:18:03.006Z] (36/36) Installing pkgconf (1.9.5-r0) [2024-04-19T13:18:03.006Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:18:03.278Z] OK: 266 MiB in 52 packages [2024-04-19T13:18:03.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:03.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:05.181Z] Upgrading critical system libraries and apk-tools: [2024-04-19T13:18:05.181Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-19T13:18:05.181Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:18:05.451Z] Continuing the upgrade transaction with new apk-tools: [2024-04-19T13:18:05.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:06.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:07.447Z] (1/4) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-19T13:18:07.447Z] (2/4) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:18:07.447Z] (3/4) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:18:07.447Z] (4/4) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-04-19T13:18:07.447Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:18:07.447Z] Executing ca-certificates-20240226-r0.trigger [2024-04-19T13:18:07.715Z] OK: 266 MiB in 52 packages [2024-04-19T13:18:07.983Z] Connecting to raw.githubusercontent.com (185.199.110.133:443) [2024-04-19T13:18:08.249Z] writing to stdout [2024-04-19T13:18:08.249Z] - 100% |********************************| 11019 0:00:00 ETA [2024-04-19T13:18:08.249Z] written to stdout [2024-04-19T13:18:08.249Z] golangci/golangci-lint info checking GitHub for tag 'v1.54.2' [2024-04-19T13:18:08.831Z] golangci/golangci-lint info found version: 1.54.2 for v1.54.2/linux/arm64 [2024-04-19T13:18:11.420Z] golangci/golangci-lint info installed ./bin/golangci-lint [2024-04-19T13:18:23.758Z] Removing intermediate container 9f1d19d78cf5 [2024-04-19T13:18:23.758Z] ---> 0933bde677e3 [2024-04-19T13:18:23.758Z] Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2024-04-19T13:18:23.758Z] ---> Running in ae18408483a6 [2024-04-19T13:18:23.758Z] go: downloading github.com/gotesttools/gotestfmt v1.1.0 [2024-04-19T13:18:23.758Z] go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 [2024-04-19T13:19:10.676Z] Removing intermediate container ae18408483a6 [2024-04-19T13:19:10.676Z] ---> cfc85bf47259 [2024-04-19T13:19:10.676Z] Step 8/9 : LABEL arch=arm64 [2024-04-19T13:19:10.676Z] ---> Running in 90018c3791d4 [2024-04-19T13:19:10.676Z] Removing intermediate container 90018c3791d4 [2024-04-19T13:19:10.676Z] ---> 4a61510f90dc [2024-04-19T13:19:10.676Z] Step 9/9 : LABEL git_sha=14e67f2d03c31e2ca8c79ca480db7b0e9f38c97b [2024-04-19T13:19:10.676Z] ---> Running in 57844e2478f7 [2024-04-19T13:19:10.676Z] Removing intermediate container 57844e2478f7 [2024-04-19T13:19:10.676Z] ---> f6dd54fa0f92 [2024-04-19T13:19:10.676Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-19T13:19:10.676Z] Successfully built f6dd54fa0f92 [2024-04-19T13:19:10.676Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:19:11.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:19:11.647Z] [2024-04-19T13:19:11.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:19:12.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:19:12.355Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-19T13:19:12.355Z] 8998bd30e6a1: Pulling fs layer [2024-04-19T13:19:12.355Z] 04944245beec: Pulling fs layer [2024-04-19T13:19:12.355Z] 699f458cf7ca: Pulling fs layer [2024-04-19T13:19:12.355Z] 765212b225bb: Pulling fs layer [2024-04-19T13:19:12.355Z] f23df028b6ca: Pulling fs layer [2024-04-19T13:19:12.355Z] d65c8cfc05b1: Pulling fs layer [2024-04-19T13:19:12.355Z] 2437ff75d9bd: Pulling fs layer [2024-04-19T13:19:12.355Z] 765212b225bb: Waiting [2024-04-19T13:19:12.355Z] f23df028b6ca: Waiting [2024-04-19T13:19:12.355Z] d65c8cfc05b1: Waiting [2024-04-19T13:19:12.355Z] 2437ff75d9bd: Waiting [2024-04-19T13:19:12.355Z] 04944245beec: Verifying Checksum [2024-04-19T13:19:12.355Z] 04944245beec: Download complete [2024-04-19T13:19:12.355Z] 765212b225bb: Verifying Checksum [2024-04-19T13:19:12.355Z] 765212b225bb: Download complete [2024-04-19T13:19:12.355Z] f23df028b6ca: Verifying Checksum [2024-04-19T13:19:12.355Z] f23df028b6ca: Download complete [2024-04-19T13:19:12.638Z] d65c8cfc05b1: Verifying Checksum [2024-04-19T13:19:12.638Z] d65c8cfc05b1: Download complete [2024-04-19T13:19:12.638Z] 699f458cf7ca: Verifying Checksum [2024-04-19T13:19:12.638Z] 699f458cf7ca: Download complete [2024-04-19T13:19:13.240Z] 8998bd30e6a1: Verifying Checksum [2024-04-19T13:19:13.240Z] 8998bd30e6a1: Download complete [2024-04-19T13:19:15.848Z] 2437ff75d9bd: Verifying Checksum [2024-04-19T13:19:15.848Z] 2437ff75d9bd: Download complete [2024-04-19T13:19:17.811Z] 8998bd30e6a1: Pull complete [2024-04-19T13:19:18.399Z] 04944245beec: Pull complete [2024-04-19T13:19:20.350Z] 699f458cf7ca: Pull complete [2024-04-19T13:19:20.619Z] 765212b225bb: Pull complete [2024-04-19T13:19:21.272Z] f23df028b6ca: Pull complete [2024-04-19T13:19:21.545Z] d65c8cfc05b1: Pull complete [2024-04-19T13:19:39.793Z] 2437ff75d9bd: Pull complete [2024-04-19T13:19:39.793Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-19T13:19:39.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:19:39.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:19:40.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-2836 does not seem to be running inside a container [2024-04-19T13:19:40.319Z] $ 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-216 -v /w/workspace/exfoundry_ci-build-images_PR-216:/w/workspace/exfoundry_ci-build-images_PR-216:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-216@tmp:/w/workspace/exfoundry_ci-build-images_PR-216@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-04-19T13:19:43.209Z] $ docker top 82d1992ee7cca2b1577fc88fa8aef29e7f92c9ae3cd5566c917c12ca4bff1ff6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:44.155Z] ---> job-cost.sh [2024-04-19T13:19:44.155Z] lf-activate-venv: SKIPPING [2024-04-19T13:19:44.155Z] INFO: No Stack... [2024-04-19T13:19:44.426Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-19T13:19:45.395Z] INFO: Archiving Costs [Pipeline] sh [2024-04-19T13:19:46.075Z] + cat /w/workspace/exfoundry_ci-build-images_PR-216/archives/cost.csv [2024-04-19T13:19:46.075Z] + cut -d, -f6 [Pipeline] lock [2024-04-19T13:19:46.170Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-216-1-stack-cost] [2024-04-19T13:19:46.175Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-216-1-stack-cost] did not exist. Created. [2024-04-19T13:19:46.179Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-19T13:19:47.119Z] /w/workspace/exfoundry_ci-build-images_PR-216@tmp/durable-d6635de5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-19T13:19:47.805Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-19T13:19:47.852Z] Warning: overwriting stash ‘stack-cost’ [2024-04-19T13:19:48.500Z] Stashed 1 file(s) [Pipeline] } [2024-04-19T13:19:48.515Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-19T13:19:48.609Z] $ docker stop --time=1 82d1992ee7cca2b1577fc88fa8aef29e7f92c9ae3cd5566c917c12ca4bff1ff6 [2024-04-19T13:19:50.224Z] $ docker rm -f --volumes 82d1992ee7cca2b1577fc88fa8aef29e7f92c9ae3cd5566c917c12ca4bff1ff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-19T13:19:51.852Z] + [ -d /w/workspace/exfoundry_ci-build-images_PR-216/archives ] [2024-04-19T13:19:51.852Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-216/archives [2024-04-19T13:19:51.852Z] total 16 [2024-04-19T13:19:51.852Z] drwxr-xr-x 3 root root 4096 Apr 19 13:15 . [2024-04-19T13:19:51.852Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 13:15 .. [2024-04-19T13:19:51.852Z] drwxr-xr-x 2 root root 4096 Apr 19 13:15 cost [2024-04-19T13:19:51.852Z] -rw-r--r-- 1 root root 87 Apr 19 13:15 cost.csv [2024-04-19T13:19:51.852Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-216/archives [2024-04-19T13:19:51.852Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-216/archives [2024-04-19T13:19:51.852Z] total 16 [2024-04-19T13:19:51.852Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:15 . [2024-04-19T13:19:51.852Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 13:15 .. [2024-04-19T13:19:51.852Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 13:15 cost [2024-04-19T13:19:51.852Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 19 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:52.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:53.073Z] ---> package-listing.sh [2024-04-19T13:19:53.073Z] ++ facter osfamily [2024-04-19T13:19:53.073Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-19T13:19:53.333Z] + OS_FAMILY=debian [2024-04-19T13:19:53.333Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-216 [2024-04-19T13:19:53.333Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-19T13:19:53.333Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-19T13:19:53.333Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-19T13:19:53.333Z] + PACKAGES=/tmp/packages_start.txt [2024-04-19T13:19:53.333Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-216 ']' [2024-04-19T13:19:53.333Z] + PACKAGES=/tmp/packages_end.txt [2024-04-19T13:19:53.333Z] + case "${OS_FAMILY}" in [2024-04-19T13:19:53.333Z] + dpkg -l [2024-04-19T13:19:53.333Z] + grep '^ii' [2024-04-19T13:19:53.333Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-19T13:19:53.333Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-19T13:19:53.333Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-19T13:19:53.333Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-216 ']' [2024-04-19T13:19:53.333Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-216/archives/ [2024-04-19T13:19:53.333Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-216/archives/ [Pipeline] echo [2024-04-19T13:19:53.366Z] 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-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-19T13:19:53.659Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:19:54.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:19:54.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:19:54.444Z] prd-ubuntu20.04-docker-8c-8g-2829 does not seem to be running inside a container [2024-04-19T13:19:54.490Z] $ 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-216/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-216 -v /w/workspace/exfoundry_ci-build-images_PR-216:/w/workspace/exfoundry_ci-build-images_PR-216:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-216@tmp:/w/workspace/exfoundry_ci-build-images_PR-216@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-04-19T13:19:54.688Z] $ docker top 5650db8cb21eaf8bd25dc3bac703c64b8fd93fd0550e3b64939d7071d251abe6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:19:55.080Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-19T13:19:55.392Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-19T13:19:55.709Z] + ls /var/log/sa-host [2024-04-19T13:19:55.709Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:19:55.858Z] provisioning config files... [2024-04-19T13:19:55.865Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-216@tmp/config4001573004945554342tmp [Pipeline] { [Pipeline] echo [2024-04-19T13:19:55.926Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:56.242Z] ---> create-netrc.sh [Pipeline] } [2024-04-19T13:19:56.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:56.653Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-19T13:19:56.684Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:57.006Z] ---> sudo-logs.sh [2024-04-19T13:19:57.006Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-19T13:19:57.097Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:57.405Z] ---> job-cost.sh [2024-04-19T13:19:57.405Z] lf-activate-venv: SKIPPING [2024-04-19T13:19:57.405Z] DEBUG: total: 0.2199999988079071 [2024-04-19T13:19:57.405Z] INFO: Retrieving Stack Cost... [2024-04-19T13:19:57.665Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-19T13:19:57.926Z] INFO: Archiving Costs [Pipeline] echo [2024-04-19T13:19:57.957Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:58.267Z] ---> logs-deploy.sh [2024-04-19T13:19:58.267Z] lf-activate-venv: SKIPPING [2024-04-19T13:19:58.267Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-216/1 [2024-04-19T13:19:58.267Z] INFO: archiving workspace using pattern(s): [2024-04-19T13:19:59.207Z] Archives upload complete. [2024-04-19T13:19:59.207Z] INFO: archiving logs to Nexus