Pull request #215 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 at 4e22dc29a21667778cd5c7a520f4adf7578d3547 rather than b6d4c52c85863efc9c881f896df6a953ebdd596e Obtained Jenkinsfile from 4e22dc29a21667778cd5c7a520f4adf7578d3547 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-ssh1976585247429915980.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-ssh6301754774869506691.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-215/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-215/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13398221011947034604.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-215/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11526832731023885624.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-ssh12749391466465908587.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-215/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-215/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4292950497182123604.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:snapshots, dockerTags:[1.21-alpine, 1.21-alpine3.17], releaseBranchOverride:golang-1.21] ========================================================= [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.21 DOCKER_CUSTOM_TAGS: 1.21-alpine 1.21-alpine3.17 [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2400’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-2820’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-2828’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-2824’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2828 in /w/workspace/exfoundry_ci-build-images_PR-215 [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-215 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 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/215/head:refs/remotes/origin/PR-215 +refs/heads/golang-1.21:refs/remotes/origin/golang-1.21 # timeout=10 Merging remotes/origin/golang-1.21 commit 4e22dc29a21667778cd5c7a520f4adf7578d3547 into PR head commit b6d4c52c85863efc9c881f896df6a953ebdd596e Merge succeeded, producing b6d4c52c85863efc9c881f896df6a953ebdd596e Checking out Revision b6d4c52c85863efc9c881f896df6a953ebdd596e (PR-215) > git config core.sparsecheckout # timeout=10 > git checkout -f b6d4c52c85863efc9c881f896df6a953ebdd596e # 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 4e22dc29a21667778cd5c7a520f4adf7578d3547 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6d4c52c85863efc9c881f896df6a953ebdd596e # 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:12:54.625Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-19T13:12:54.835Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-19T13:12:54.944Z] ========================================================= [2024-04-19T13:12:54.944Z] EdgeX Global Pipelines Version Info [2024-04-19T13:12:54.944Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:12:55.740Z] ------------------- [2024-04-19T13:12:55.740Z] stable info: [2024-04-19T13:12:55.740Z] ------------------- [2024-04-19T13:12:55.740Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-19T13:12:55.740Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:12:55.740Z] Message: update stable to v1.0.258 [2024-04-19T13:12:56.312Z] ------------------- [2024-04-19T13:12:56.312Z] experimental info: [2024-04-19T13:12:56.312Z] ------------------- [2024-04-19T13:12:56.312Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-19T13:12:56.312Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:12:56.312Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2024-04-19T13:12:56.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2024-04-19T13:12:56.647Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2024-04-19T13:12:56.698Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2024-04-19T13:12:56.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-19T13:12:56.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-19T13:12:56.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2024-04-19T13:12:56.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2024-04-19T13:12:56.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2024-04-19T13:12:57.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2024-04-19T13:12:57.085Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-19T13:12:57.141Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2024-04-19T13:12:57.208Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2024-04-19T13:12:57.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-19T13:12:57.308Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-19T13:12:57.356Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.21 [Pipeline] echo [2024-04-19T13:12:57.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.21-alpine 1.21-alpine3.17 [Pipeline] echo [2024-04-19T13:12:57.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-215 [Pipeline] echo [2024-04-19T13:12:57.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-215 [Pipeline] echo [2024-04-19T13:12:57.598Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-215 [Pipeline] echo [2024-04-19T13:12:57.653Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6d4c52c85863efc9c881f896df6a953ebdd596e [Pipeline] echo [2024-04-19T13:12:57.711Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6d4c52 [Pipeline] echo [2024-04-19T13:12:57.776Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:12:57.922Z] provisioning config files... [2024-04-19T13:12:57.938Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-215@tmp/config2375805456322734909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:12:58.345Z] ---> ****-login.sh [2024-04-19T13:12:58.345Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:12:58.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:58.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:58.619Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:58.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:58.619Z] [2024-04-19T13:12:58.619Z] Login Succeeded [2024-04-19T13:12:58.619Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:12:58.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:58.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:58.620Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:58.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:58.620Z] [2024-04-19T13:12:58.620Z] Login Succeeded [2024-04-19T13:12:58.620Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:12:58.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:58.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:58.881Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:58.881Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:58.881Z] [2024-04-19T13:12:58.881Z] Login Succeeded [2024-04-19T13:12:58.881Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:12:58.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:58.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:58.881Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:58.881Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:58.881Z] [2024-04-19T13:12:58.881Z] Login Succeeded [2024-04-19T13:12:58.881Z] ****.io [2024-04-19T13:12:59.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:59.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:59.403Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:59.403Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:59.403Z] [2024-04-19T13:12:59.403Z] Login Succeeded [2024-04-19T13:12:59.403Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:12:59.431Z] 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:13:00.363Z] provisioning config files... [2024-04-19T13:13:00.375Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-215@tmp/config2809336935768794227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:13:00.747Z] ---> ****-login.sh [2024-04-19T13:13:00.747Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:13:00.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:13:00.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:13:00.747Z] Configure a credential helper to remove this warning. See [2024-04-19T13:13:00.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:13:00.747Z] [2024-04-19T13:13:00.747Z] Login Succeeded [2024-04-19T13:13:00.747Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:13:00.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:13:00.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:13:00.747Z] Configure a credential helper to remove this warning. See [2024-04-19T13:13:00.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:13:00.747Z] [2024-04-19T13:13:00.747Z] Login Succeeded [2024-04-19T13:13:00.747Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:13:01.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:13:01.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:13:01.009Z] Configure a credential helper to remove this warning. See [2024-04-19T13:13:01.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:13:01.009Z] [2024-04-19T13:13:01.009Z] Login Succeeded [2024-04-19T13:13:01.009Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:13:01.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:13:01.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:13:01.009Z] Configure a credential helper to remove this warning. See [2024-04-19T13:13:01.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:13:01.010Z] [2024-04-19T13:13:01.010Z] Login Succeeded [2024-04-19T13:13:01.010Z] ****.io [2024-04-19T13:13:01.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:13:01.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:13:01.272Z] Configure a credential helper to remove this warning. See [2024-04-19T13:13:01.272Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:13:01.272Z] [2024-04-19T13:13:01.272Z] Login Succeeded [2024-04-19T13:13:01.272Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:13:01.307Z] 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:13:02.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-19T13:13:02.718Z] + ls -al . [2024-04-19T13:13:02.718Z] total 28 [2024-04-19T13:13:02.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:12 . [2024-04-19T13:13:02.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:12 .. [2024-04-19T13:13:02.718Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:12 .git [2024-04-19T13:13:02.718Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:12 .github [2024-04-19T13:13:02.718Z] -rw-rw-r-- 1 jenkins jenkins 585 Apr 19 13:12 .golangci.yml [2024-04-19T13:13:02.718Z] -rw-rw-r-- 1 jenkins jenkins 1153 Apr 19 13:12 Dockerfile [2024-04-19T13:13:02.718Z] -rw-rw-r-- 1 jenkins jenkins 918 Apr 19 13:12 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:13:03.234Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=b6d4c52c85863efc9c881f896df6a953ebdd596e --label arch=amd64 . [2024-04-19T13:13:03.234Z] Sending build context to Docker daemon 476.2kB [2024-04-19T13:13:03.234Z] Step 1/9 : FROM golang:1.21-alpine3.18 [2024-04-19T13:13:03.493Z] 1.21-alpine3.18: Pulling from library/golang [2024-04-19T13:13:03.756Z] 619be1103602: Pulling fs layer [2024-04-19T13:13:03.756Z] 7862e08f4a3e: Pulling fs layer [2024-04-19T13:13:03.756Z] 5df492c9dc93: Pulling fs layer [2024-04-19T13:13:03.756Z] 7629e6793208: Pulling fs layer [2024-04-19T13:13:03.756Z] 4f4fb700ef54: Pulling fs layer [2024-04-19T13:13:03.756Z] 7629e6793208: Waiting [2024-04-19T13:13:03.756Z] 4f4fb700ef54: Waiting [2024-04-19T13:13:04.018Z] 7862e08f4a3e: Verifying Checksum [2024-04-19T13:13:04.018Z] 7862e08f4a3e: Download complete [2024-04-19T13:13:04.018Z] 619be1103602: Verifying Checksum [2024-04-19T13:13:04.018Z] 619be1103602: Download complete [2024-04-19T13:13:04.018Z] 7629e6793208: Download complete [2024-04-19T13:13:04.018Z] 4f4fb700ef54: Verifying Checksum [2024-04-19T13:13:04.018Z] 4f4fb700ef54: Download complete [2024-04-19T13:13:04.279Z] 619be1103602: Pull complete [2024-04-19T13:13:04.279Z] 7862e08f4a3e: Pull complete [2024-04-19T13:13:05.234Z] 5df492c9dc93: Verifying Checksum [2024-04-19T13:13:05.234Z] 5df492c9dc93: Download complete [2024-04-19T13:13:08.542Z] 5df492c9dc93: Pull complete [2024-04-19T13:13:08.542Z] 7629e6793208: Pull complete [2024-04-19T13:13:08.542Z] 4f4fb700ef54: Pull complete [2024-04-19T13:13:08.542Z] Digest: sha256:b09322e4dc407962c34a2a40b1bda49cb9b0bebafd87411c32ac093a3fbc0d75 [2024-04-19T13:13:08.542Z] Status: Downloaded newer image for golang:1.21-alpine3.18 [2024-04-19T13:13:08.542Z] ---> a87ab66af294 [2024-04-19T13:13:08.542Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' [2024-04-19T13:13:09.483Z] ---> Running in aa3287e69e4c [2024-04-19T13:13:09.483Z] Removing intermediate container aa3287e69e4c [2024-04-19T13:13:09.483Z] ---> 7858932bf9d9 [2024-04-19T13:13:09.483Z] Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.54.2 [2024-04-19T13:13:09.483Z] ---> Running in a834fe73c884 [2024-04-19T13:13:09.483Z] Removing intermediate container a834fe73c884 [2024-04-19T13:13:09.483Z] ---> 166dbb78b4a3 [2024-04-19T13:13:09.483Z] Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml [2024-04-19T13:13:09.746Z] ---> 6c9a042b9666 [2024-04-19T13:13:09.746Z] 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:13:09.746Z] ---> Running in 428d4bac530c [2024-04-19T13:13:10.008Z] Connecting to github.com (140.82.113.4:443) [2024-04-19T13:13:10.269Z] Connecting to objects.githubusercontent.com (185.199.111.133:443) [2024-04-19T13:13:10.269Z] saving to '/usr/local/bin/hadolint' [2024-04-19T13:13:10.529Z] hadolint 100% |********************************| 2369k 0:00:00 ETA [2024-04-19T13:13:10.529Z] '/usr/local/bin/hadolint' saved [2024-04-19T13:13:10.791Z] Removing intermediate container 428d4bac530c [2024-04-19T13:13:10.791Z] ---> 737aab3be625 [2024-04-19T13:13:10.791Z] 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:13:10.791Z] ---> Running in a010fe93aafd [2024-04-19T13:13:11.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:11.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:11.310Z] (1/36) Installing ncurses-terminfo-base (6.4_p20230506-r0) [2024-04-19T13:13:11.311Z] (2/36) Installing libncursesw (6.4_p20230506-r0) [2024-04-19T13:13:11.311Z] (3/36) Installing readline (8.2.1-r1) [2024-04-19T13:13:11.311Z] (4/36) Installing bash (5.2.15-r5) [2024-04-19T13:13:11.311Z] Executing bash-5.2.15-r5.post-install [2024-04-19T13:13:11.311Z] (5/36) Installing libgcc (12.2.1_git20220924-r10) [2024-04-19T13:13:11.311Z] (6/36) Installing libstdc++ (12.2.1_git20220924-r10) [2024-04-19T13:13:11.311Z] (7/36) Installing zstd-libs (1.5.5-r4) [2024-04-19T13:13:11.311Z] (8/36) Installing binutils (2.40-r7) [2024-04-19T13:13:11.571Z] (9/36) Installing libmagic (5.45-r0) [2024-04-19T13:13:11.571Z] (10/36) Installing file (5.45-r0) [2024-04-19T13:13:11.571Z] (11/36) Installing libgomp (12.2.1_git20220924-r10) [2024-04-19T13:13:11.571Z] (12/36) Installing libatomic (12.2.1_git20220924-r10) [2024-04-19T13:13:11.571Z] (13/36) Installing gmp (6.2.1-r3) [2024-04-19T13:13:11.571Z] (14/36) Installing isl26 (0.26-r1) [2024-04-19T13:13:11.571Z] (15/36) Installing mpfr4 (4.2.0_p12-r0) [2024-04-19T13:13:11.571Z] (16/36) Installing mpc1 (1.3.1-r1) [2024-04-19T13:13:11.571Z] (17/36) Installing gcc (12.2.1_git20220924-r10) [2024-04-19T13:13:12.140Z] (18/36) Installing libstdc++-dev (12.2.1_git20220924-r10) [2024-04-19T13:13:12.398Z] (19/36) Installing musl-dev (1.2.4-r2) [2024-04-19T13:13:12.398Z] (20/36) Installing libc-dev (0.7.2-r5) [2024-04-19T13:13:12.398Z] (21/36) Installing g++ (12.2.1_git20220924-r10) [2024-04-19T13:13:12.658Z] (22/36) Installing make (4.4.1-r1) [2024-04-19T13:13:12.658Z] (23/36) Installing fortify-headers (1.1-r3) [2024-04-19T13:13:12.658Z] (24/36) Installing patch (2.7.6-r10) [2024-04-19T13:13:12.658Z] (25/36) Installing build-base (0.5-r3) [2024-04-19T13:13:12.658Z] (26/36) Installing brotli-libs (1.0.9-r14) [2024-04-19T13:13:12.658Z] (27/36) Installing libunistring (1.1-r1) [2024-04-19T13:13:12.658Z] (28/36) Installing libidn2 (2.3.4-r1) [2024-04-19T13:13:12.658Z] (29/36) Installing nghttp2-libs (1.57.0-r0) [2024-04-19T13:13:12.658Z] (30/36) Installing libcurl (8.5.0-r0) [2024-04-19T13:13:12.658Z] (31/36) Installing curl (8.5.0-r0) [2024-04-19T13:13:12.658Z] (32/36) Installing libexpat (2.6.2-r0) [2024-04-19T13:13:12.658Z] (33/36) Installing pcre2 (10.42-r1) [2024-04-19T13:13:12.658Z] (34/36) Installing git (2.40.1-r0) [2024-04-19T13:13:12.919Z] (35/36) Installing linux-headers (6.3-r0) [2024-04-19T13:13:12.919Z] (36/36) Installing pkgconf (1.9.5-r0) [2024-04-19T13:13:12.919Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:13:12.919Z] OK: 264 MiB in 52 packages [2024-04-19T13:13:12.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:13.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:13.440Z] Upgrading critical system libraries and apk-tools: [2024-04-19T13:13:13.440Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-19T13:13:13.440Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:13:13.440Z] Continuing the upgrade transaction with new apk-tools: [2024-04-19T13:13:13.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:13.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:13.699Z] (1/4) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-19T13:13:13.699Z] (2/4) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:13:13.699Z] (3/4) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:13:13.699Z] (4/4) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-04-19T13:13:13.699Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:13:13.700Z] Executing ca-certificates-20240226-r0.trigger [2024-04-19T13:13:13.961Z] OK: 264 MiB in 52 packages [2024-04-19T13:13:13.961Z] Connecting to raw.githubusercontent.com (185.199.108.133:443) [2024-04-19T13:13:13.961Z] writing to stdout [2024-04-19T13:13:13.961Z] - 100% |********************************| 11019 0:00:00 ETA [2024-04-19T13:13:13.961Z] written to stdout [2024-04-19T13:13:13.961Z] golangci/golangci-lint info checking GitHub for tag 'v1.54.2' [2024-04-19T13:13:14.220Z] golangci/golangci-lint info found version: 1.54.2 for v1.54.2/linux/amd64 [2024-04-19T13:13:15.075Z] Still waiting to schedule task [2024-04-19T13:13:15.075Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2824’ [2024-04-19T13:13:15.162Z] golangci/golangci-lint info installed ./bin/golangci-lint [2024-04-19T13:13:19.387Z] Removing intermediate container a010fe93aafd [2024-04-19T13:13:19.387Z] ---> 887b356e856c [2024-04-19T13:13:19.387Z] Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2024-04-19T13:13:19.387Z] ---> Running in f83670e85c0d [2024-04-19T13:13:19.958Z] go: downloading github.com/gotesttools/gotestfmt v1.1.0 [2024-04-19T13:13:19.958Z] go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 [2024-04-19T13:13:26.531Z] Removing intermediate container f83670e85c0d [2024-04-19T13:13:26.531Z] ---> 4953def27a0f [2024-04-19T13:13:26.531Z] Step 8/9 : LABEL arch=amd64 [2024-04-19T13:13:26.531Z] ---> Running in f3f161804a4e [2024-04-19T13:13:26.531Z] Removing intermediate container f3f161804a4e [2024-04-19T13:13:26.531Z] ---> a100168183ab [2024-04-19T13:13:26.531Z] Step 9/9 : LABEL git_sha=b6d4c52c85863efc9c881f896df6a953ebdd596e [2024-04-19T13:13:26.531Z] ---> Running in 548c2fdfeb21 [2024-04-19T13:13:26.531Z] Removing intermediate container 548c2fdfeb21 [2024-04-19T13:13:26.531Z] ---> 91793bf39cce [2024-04-19T13:13:26.531Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-19T13:13:26.531Z] Successfully built 91793bf39cce [2024-04-19T13:13:26.531Z] 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:13:27.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:13:27.525Z] [2024-04-19T13:13:27.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:13:27.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:13:27.906Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-19T13:13:27.906Z] 5eb5b503b376: Pulling fs layer [2024-04-19T13:13:27.906Z] 5c69ac0246d0: Pulling fs layer [2024-04-19T13:13:27.906Z] ec43610c2a17: Pulling fs layer [2024-04-19T13:13:27.906Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-19T13:13:27.906Z] 33b1e0a273af: Pulling fs layer [2024-04-19T13:13:27.906Z] 5d3b04190fa2: Pulling fs layer [2024-04-19T13:13:27.906Z] 2f39f015ded8: Pulling fs layer [2024-04-19T13:13:27.906Z] 33b1e0a273af: Waiting [2024-04-19T13:13:27.906Z] 5d3b04190fa2: Waiting [2024-04-19T13:13:27.906Z] 2f39f015ded8: Waiting [2024-04-19T13:13:27.906Z] 3a2ae6a8a46f: Waiting [2024-04-19T13:13:27.906Z] 5c69ac0246d0: Download complete [2024-04-19T13:13:27.906Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-19T13:13:27.906Z] 3a2ae6a8a46f: Download complete [2024-04-19T13:13:27.906Z] 33b1e0a273af: Verifying Checksum [2024-04-19T13:13:27.906Z] 33b1e0a273af: Download complete [2024-04-19T13:13:27.906Z] 5d3b04190fa2: Verifying Checksum [2024-04-19T13:13:27.906Z] 5d3b04190fa2: Download complete [2024-04-19T13:13:27.906Z] ec43610c2a17: Verifying Checksum [2024-04-19T13:13:27.906Z] ec43610c2a17: Download complete [2024-04-19T13:13:28.165Z] 5eb5b503b376: Download complete [2024-04-19T13:13:28.730Z] 2f39f015ded8: Download complete [2024-04-19T13:13:29.296Z] 5eb5b503b376: Pull complete [2024-04-19T13:13:29.555Z] 5c69ac0246d0: Pull complete [2024-04-19T13:13:29.815Z] ec43610c2a17: Pull complete [2024-04-19T13:13:30.074Z] 3a2ae6a8a46f: Pull complete [2024-04-19T13:13:30.333Z] 33b1e0a273af: Pull complete [2024-04-19T13:13:30.333Z] 5d3b04190fa2: Pull complete [2024-04-19T13:13:34.524Z] 2f39f015ded8: Pull complete [2024-04-19T13:13:34.524Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-19T13:13:34.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:13:34.524Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:13:34.793Z] prd-ubuntu20.04-docker-8c-8g-2828 does not seem to be running inside a container [2024-04-19T13:13:34.831Z] $ 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-215 -v /w/workspace/exfoundry_ci-build-images_PR-215:/w/workspace/exfoundry_ci-build-images_PR-215:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-215@tmp:/w/workspace/exfoundry_ci-build-images_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-19T13:13:36.316Z] $ docker top 662dfa2cf4e89fbf471081a458980f13c3b209972e701f59be5c4d34455199b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:13:36.755Z] ---> job-cost.sh [2024-04-19T13:13:36.755Z] lf-activate-venv: SKIPPING [2024-04-19T13:13:36.755Z] INFO: No Stack... [2024-04-19T13:13:37.016Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-19T13:13:37.276Z] INFO: Archiving Costs [Pipeline] sh [2024-04-19T13:13:37.595Z] + cat /w/workspace/exfoundry_ci-build-images_PR-215/archives/cost.csv [2024-04-19T13:13:37.595Z] + cut -d, -f6 [Pipeline] lock [2024-04-19T13:13:37.648Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-215-1-stack-cost] [2024-04-19T13:13:37.652Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-215-1-stack-cost] did not exist. Created. [2024-04-19T13:13:37.657Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-215-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-19T13:13:38.046Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-19T13:13:38.288Z] Stashed 1 file(s) [Pipeline] } [2024-04-19T13:13:38.314Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-215-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-19T13:13:38.399Z] $ docker stop --time=1 662dfa2cf4e89fbf471081a458980f13c3b209972e701f59be5c4d34455199b5 [2024-04-19T13:13:39.563Z] $ docker rm -f --volumes 662dfa2cf4e89fbf471081a458980f13c3b209972e701f59be5c4d34455199b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-19T13:16:45.913Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2835 in /w/workspace/exfoundry_ci-build-images_PR-215 [Pipeline] { [Pipeline] checkout [2024-04-19T13:16:49.007Z] Selected Git installation does not exist. Using Default [2024-04-19T13:16:49.007Z] The recommended git tool is: NONE [2024-04-19T13:16:55.311Z] using credential edgex-jenkins-ssh [2024-04-19T13:16:55.333Z] Cloning the remote Git repository [2024-04-19T13:16:55.389Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2024-04-19T13:16:55.512Z] > git init /w/workspace/exfoundry_ci-build-images_PR-215 # timeout=10 [2024-04-19T13:16:55.673Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2024-04-19T13:16:55.674Z] > git --version # timeout=10 [2024-04-19T13:16:55.697Z] > git --version # 'git version 2.25.1' [2024-04-19T13:16:55.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:55.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-19T13:16:56.620Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2024-04-19T13:16:56.643Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-19T13:16:57.699Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2024-04-19T13:16:57.748Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2024-04-19T13:16:57.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:57.775Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/215/head:refs/remotes/origin/PR-215 +refs/heads/golang-1.21:refs/remotes/origin/golang-1.21 # timeout=10 [2024-04-19T13:16:58.368Z] Merging remotes/origin/golang-1.21 commit 4e22dc29a21667778cd5c7a520f4adf7578d3547 into PR head commit b6d4c52c85863efc9c881f896df6a953ebdd596e [2024-04-19T13:16:58.656Z] Merge succeeded, producing b6d4c52c85863efc9c881f896df6a953ebdd596e [2024-04-19T13:16:58.657Z] Checking out Revision b6d4c52c85863efc9c881f896df6a953ebdd596e (PR-215) [2024-04-19T13:16:58.390Z] > git config core.sparsecheckout # timeout=10 [2024-04-19T13:16:58.469Z] > git checkout -f b6d4c52c85863efc9c881f896df6a953ebdd596e # timeout=10 [2024-04-19T13:16:58.548Z] > git remote # timeout=10 [2024-04-19T13:16:58.567Z] > git config --get remote.origin.url # timeout=10 [2024-04-19T13:16:58.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:58.611Z] > git merge 4e22dc29a21667778cd5c7a520f4adf7578d3547 # timeout=10 [2024-04-19T13:16:58.640Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-19T13:16:58.666Z] > git config core.sparsecheckout # timeout=10 [2024-04-19T13:16:58.679Z] > git checkout -f b6d4c52c85863efc9c881f896df6a953ebdd596e # timeout=10 [2024-04-19T13:17:02.268Z] Commit message: "fix: Use the latest patch version of golang 1.21" [2024-04-19T13:17:02.328Z] > git --version # timeout=10 [2024-04-19T13:17:02.338Z] > git --version # 'git version 2.25.1' [2024-04-19T13:17:02.362Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-19T13:17:04.395Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-19T13:17:09.761Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-19T13:17:09.761Z] Dload Upload Total Spent Left Speed [2024-04-19T13:17:09.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2024-04-19T13:17:10.118Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-19T13:17:10.465Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-19T13:17:10.465Z] + sudo tee /etc/docker/daemon.new [2024-04-19T13:17:10.465Z] { [2024-04-19T13:17:10.465Z] "registry-mirrors": [ [2024-04-19T13:17:10.465Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-19T13:17:10.465Z] ], [2024-04-19T13:17:10.465Z] "bip": "10.250.0.254/24", [2024-04-19T13:17:10.465Z] "hosts": [ [2024-04-19T13:17:10.465Z] "tcp://0.0.0.0:5555", [2024-04-19T13:17:10.465Z] "unix:///var/run/docker.sock" [2024-04-19T13:17:10.465Z] ], [2024-04-19T13:17:10.465Z] "mtu": 1458, [2024-04-19T13:17:10.465Z] "selinux-enabled": true, [2024-04-19T13:17:10.465Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-19T13:17:10.465Z] } [Pipeline] sh [2024-04-19T13:17:10.814Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-19T13:17:11.159Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:17:29.925Z] provisioning config files... [2024-04-19T13:17:29.968Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-215@tmp/config1723944431600783740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:17:30.775Z] ---> ****-login.sh [2024-04-19T13:17:30.775Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:17:31.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:31.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:31.370Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:31.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:31.370Z] [2024-04-19T13:17:31.370Z] Login Succeeded [2024-04-19T13:17:31.370Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:17:31.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:31.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:31.926Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:31.926Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:31.926Z] [2024-04-19T13:17:31.926Z] Login Succeeded [2024-04-19T13:17:31.926Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:17:32.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:32.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:32.216Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:32.216Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:32.216Z] [2024-04-19T13:17:32.216Z] Login Succeeded [2024-04-19T13:17:32.216Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:17:32.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:32.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:32.780Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:32.780Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:32.780Z] [2024-04-19T13:17:32.780Z] Login Succeeded [2024-04-19T13:17:32.780Z] ****.io [2024-04-19T13:17:33.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:33.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:33.328Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:33.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:33.328Z] [2024-04-19T13:17:33.328Z] Login Succeeded [2024-04-19T13:17:33.328Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:17:33.356Z] 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:34.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-19T13:17:34.475Z] + ls -al . [2024-04-19T13:17:34.475Z] total 28 [2024-04-19T13:17:34.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:16 . [2024-04-19T13:17:34.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:16 .. [2024-04-19T13:17:34.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:16 .git [2024-04-19T13:17:34.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:16 .github [2024-04-19T13:17:34.475Z] -rw-rw-r-- 1 jenkins jenkins 585 Apr 19 13:16 .golangci.yml [2024-04-19T13:17:34.475Z] -rw-rw-r-- 1 jenkins jenkins 1153 Apr 19 13:16 Dockerfile [2024-04-19T13:17:34.475Z] -rw-rw-r-- 1 jenkins jenkins 918 Apr 19 13:16 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:17:34.953Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=b6d4c52c85863efc9c881f896df6a953ebdd596e --label arch=arm64 . [2024-04-19T13:17:35.230Z] Sending build context to Docker daemon 476.2kB [2024-04-19T13:17:35.230Z] Step 1/9 : FROM golang:1.21-alpine3.18 [2024-04-19T13:17:36.213Z] 1.21-alpine3.18: Pulling from library/golang [2024-04-19T13:17:36.493Z] c6b39de5b339: Pulling fs layer [2024-04-19T13:17:36.493Z] a69c41024577: Pulling fs layer [2024-04-19T13:17:36.493Z] d6de4b400683: Pulling fs layer [2024-04-19T13:17:36.493Z] 35cb2a7552d0: Pulling fs layer [2024-04-19T13:17:36.493Z] 4f4fb700ef54: Pulling fs layer [2024-04-19T13:17:36.493Z] 35cb2a7552d0: Waiting [2024-04-19T13:17:36.493Z] 4f4fb700ef54: Waiting [2024-04-19T13:17:36.769Z] a69c41024577: Verifying Checksum [2024-04-19T13:17:36.769Z] a69c41024577: Download complete [2024-04-19T13:17:36.769Z] c6b39de5b339: Verifying Checksum [2024-04-19T13:17:36.769Z] c6b39de5b339: Download complete [2024-04-19T13:17:37.041Z] 35cb2a7552d0: Verifying Checksum [2024-04-19T13:17:37.041Z] 35cb2a7552d0: Download complete [2024-04-19T13:17:37.041Z] 4f4fb700ef54: Verifying Checksum [2024-04-19T13:17:37.041Z] 4f4fb700ef54: Download complete [2024-04-19T13:17:37.638Z] c6b39de5b339: Pull complete [2024-04-19T13:17:38.235Z] a69c41024577: Pull complete [2024-04-19T13:17:38.508Z] d6de4b400683: Verifying Checksum [2024-04-19T13:17:38.508Z] d6de4b400683: Download complete [2024-04-19T13:17:53.567Z] d6de4b400683: Pull complete [2024-04-19T13:17:53.567Z] 35cb2a7552d0: Pull complete [2024-04-19T13:17:53.567Z] 4f4fb700ef54: Pull complete [2024-04-19T13:17:53.567Z] Digest: sha256:b09322e4dc407962c34a2a40b1bda49cb9b0bebafd87411c32ac093a3fbc0d75 [2024-04-19T13:17:53.567Z] Status: Downloaded newer image for golang:1.21-alpine3.18 [2024-04-19T13:17:53.567Z] ---> 9095431a6bb1 [2024-04-19T13:17:53.567Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' [2024-04-19T13:17:54.525Z] ---> Running in daf73feda335 [2024-04-19T13:17:54.792Z] Removing intermediate container daf73feda335 [2024-04-19T13:17:54.792Z] ---> 0e7c26b7296a [2024-04-19T13:17:54.792Z] Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.54.2 [2024-04-19T13:17:55.059Z] ---> Running in 54557cb9fbc3 [2024-04-19T13:17:55.327Z] Removing intermediate container 54557cb9fbc3 [2024-04-19T13:17:55.327Z] ---> 8371e4c00579 [2024-04-19T13:17:55.327Z] Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml [2024-04-19T13:17:55.916Z] ---> 3581f160ae69 [2024-04-19T13:17:55.916Z] 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:55.916Z] ---> Running in f9a6cbbc31cd [2024-04-19T13:17:57.874Z] Removing intermediate container f9a6cbbc31cd [2024-04-19T13:17:57.874Z] ---> 6692a024b8af [2024-04-19T13:17:57.874Z] 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:57.874Z] ---> Running in 436161ccc2ce [2024-04-19T13:17:58.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:17:59.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:00.546Z] (1/36) Installing ncurses-terminfo-base (6.4_p20230506-r0) [2024-04-19T13:18:00.546Z] (2/36) Installing libncursesw (6.4_p20230506-r0) [2024-04-19T13:18:00.546Z] (3/36) Installing readline (8.2.1-r1) [2024-04-19T13:18:00.546Z] (4/36) Installing bash (5.2.15-r5) [2024-04-19T13:18:00.546Z] Executing bash-5.2.15-r5.post-install [2024-04-19T13:18:00.546Z] (5/36) Installing libgcc (12.2.1_git20220924-r10) [2024-04-19T13:18:00.546Z] (6/36) Installing libstdc++ (12.2.1_git20220924-r10) [2024-04-19T13:18:00.546Z] (7/36) Installing zstd-libs (1.5.5-r4) [2024-04-19T13:18:00.546Z] (8/36) Installing binutils (2.40-r7) [2024-04-19T13:18:01.133Z] (9/36) Installing libmagic (5.45-r0) [2024-04-19T13:18:01.133Z] (10/36) Installing file (5.45-r0) [2024-04-19T13:18:01.133Z] (11/36) Installing libgomp (12.2.1_git20220924-r10) [2024-04-19T13:18:01.133Z] (12/36) Installing libatomic (12.2.1_git20220924-r10) [2024-04-19T13:18:01.133Z] (13/36) Installing gmp (6.2.1-r3) [2024-04-19T13:18:01.133Z] (14/36) Installing isl26 (0.26-r1) [2024-04-19T13:18:01.133Z] (15/36) Installing mpfr4 (4.2.0_p12-r0) [2024-04-19T13:18:01.133Z] (16/36) Installing mpc1 (1.3.1-r1) [2024-04-19T13:18:01.133Z] (17/36) Installing gcc (12.2.1_git20220924-r10) [2024-04-19T13:18:03.739Z] (18/36) Installing libstdc++-dev (12.2.1_git20220924-r10) [2024-04-19T13:18:05.172Z] (19/36) Installing musl-dev (1.2.4-r2) [2024-04-19T13:18:05.766Z] (20/36) Installing libc-dev (0.7.2-r5) [2024-04-19T13:18:05.766Z] (21/36) Installing g++ (12.2.1_git20220924-r10) [2024-04-19T13:18:06.357Z] (22/36) Installing make (4.4.1-r1) [2024-04-19T13:18:06.357Z] (23/36) Installing fortify-headers (1.1-r3) [2024-04-19T13:18:06.357Z] (24/36) Installing patch (2.7.6-r10) [2024-04-19T13:18:06.357Z] (25/36) Installing build-base (0.5-r3) [2024-04-19T13:18:06.357Z] (26/36) Installing brotli-libs (1.0.9-r14) [2024-04-19T13:18:06.357Z] (27/36) Installing libunistring (1.1-r1) [2024-04-19T13:18:06.357Z] (28/36) Installing libidn2 (2.3.4-r1) [2024-04-19T13:18:06.357Z] (29/36) Installing nghttp2-libs (1.57.0-r0) [2024-04-19T13:18:06.357Z] (30/36) Installing libcurl (8.5.0-r0) [2024-04-19T13:18:06.357Z] (31/36) Installing curl (8.5.0-r0) [2024-04-19T13:18:06.357Z] (32/36) Installing libexpat (2.6.2-r0) [2024-04-19T13:18:06.357Z] (33/36) Installing pcre2 (10.42-r1) [2024-04-19T13:18:06.357Z] (34/36) Installing git (2.40.1-r0) [2024-04-19T13:18:06.635Z] (35/36) Installing linux-headers (6.3-r0) [2024-04-19T13:18:07.226Z] (36/36) Installing pkgconf (1.9.5-r0) [2024-04-19T13:18:07.226Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:18:07.226Z] OK: 266 MiB in 52 packages [2024-04-19T13:18:07.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:08.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:09.041Z] Upgrading critical system libraries and apk-tools: [2024-04-19T13:18:09.041Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-19T13:18:09.041Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:18:09.310Z] Continuing the upgrade transaction with new apk-tools: [2024-04-19T13:18:09.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:09.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:18:10.996Z] (1/4) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-19T13:18:10.996Z] (2/4) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:18:10.996Z] (3/4) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:18:10.996Z] (4/4) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-04-19T13:18:10.996Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:18:10.996Z] Executing ca-certificates-20240226-r0.trigger [2024-04-19T13:18:11.271Z] OK: 266 MiB in 52 packages [2024-04-19T13:18:11.543Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2024-04-19T13:18:11.818Z] writing to stdout [2024-04-19T13:18:11.818Z] - 100% |********************************| 11019 0:00:00 ETA [2024-04-19T13:18:11.818Z] written to stdout [2024-04-19T13:18:11.818Z] golangci/golangci-lint info checking GitHub for tag 'v1.54.2' [2024-04-19T13:18:12.090Z] golangci/golangci-lint info found version: 1.54.2 for v1.54.2/linux/arm64 [2024-04-19T13:18:14.713Z] golangci/golangci-lint info installed ./bin/golangci-lint [2024-04-19T13:18:27.081Z] Removing intermediate container 436161ccc2ce [2024-04-19T13:18:27.081Z] ---> a776230b5a21 [2024-04-19T13:18:27.081Z] Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2024-04-19T13:18:27.081Z] ---> Running in c7cad6d115c8 [2024-04-19T13:18:27.353Z] go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 [2024-04-19T13:18:27.353Z] go: downloading github.com/gotesttools/gotestfmt v1.1.0 [2024-04-19T13:19:14.275Z] Removing intermediate container c7cad6d115c8 [2024-04-19T13:19:14.275Z] ---> ce4254d9b0b6 [2024-04-19T13:19:14.275Z] Step 8/9 : LABEL arch=arm64 [2024-04-19T13:19:14.275Z] ---> Running in 2e26f7aea584 [2024-04-19T13:19:14.275Z] Removing intermediate container 2e26f7aea584 [2024-04-19T13:19:14.275Z] ---> a6a56a632af0 [2024-04-19T13:19:14.275Z] Step 9/9 : LABEL git_sha=b6d4c52c85863efc9c881f896df6a953ebdd596e [2024-04-19T13:19:14.275Z] ---> Running in c179c92bbe54 [2024-04-19T13:19:14.275Z] Removing intermediate container c179c92bbe54 [2024-04-19T13:19:14.275Z] ---> 6b10ee93cc8d [2024-04-19T13:19:14.275Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-19T13:19:14.275Z] Successfully built 6b10ee93cc8d [2024-04-19T13:19:14.275Z] 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:15.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:19:15.290Z] [2024-04-19T13:19:15.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:19:15.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:19:15.996Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-19T13:19:15.996Z] 8998bd30e6a1: Pulling fs layer [2024-04-19T13:19:15.996Z] 04944245beec: Pulling fs layer [2024-04-19T13:19:15.996Z] 699f458cf7ca: Pulling fs layer [2024-04-19T13:19:15.996Z] 765212b225bb: Pulling fs layer [2024-04-19T13:19:15.996Z] f23df028b6ca: Pulling fs layer [2024-04-19T13:19:15.996Z] d65c8cfc05b1: Pulling fs layer [2024-04-19T13:19:15.996Z] 2437ff75d9bd: Pulling fs layer [2024-04-19T13:19:15.996Z] f23df028b6ca: Waiting [2024-04-19T13:19:15.996Z] d65c8cfc05b1: Waiting [2024-04-19T13:19:15.996Z] 2437ff75d9bd: Waiting [2024-04-19T13:19:15.996Z] 765212b225bb: Waiting [2024-04-19T13:19:15.996Z] 04944245beec: Download complete [2024-04-19T13:19:15.996Z] 765212b225bb: Verifying Checksum [2024-04-19T13:19:15.996Z] 765212b225bb: Download complete [2024-04-19T13:19:16.268Z] f23df028b6ca: Download complete [2024-04-19T13:19:16.268Z] d65c8cfc05b1: Verifying Checksum [2024-04-19T13:19:16.268Z] d65c8cfc05b1: Download complete [2024-04-19T13:19:16.540Z] 699f458cf7ca: Verifying Checksum [2024-04-19T13:19:16.540Z] 699f458cf7ca: Download complete [2024-04-19T13:19:16.811Z] 8998bd30e6a1: Verifying Checksum [2024-04-19T13:19:16.811Z] 8998bd30e6a1: Download complete [2024-04-19T13:19:19.414Z] 2437ff75d9bd: Verifying Checksum [2024-04-19T13:19:19.414Z] 2437ff75d9bd: Download complete [2024-04-19T13:19:22.016Z] 8998bd30e6a1: Pull complete [2024-04-19T13:19:22.607Z] 04944245beec: Pull complete [2024-04-19T13:19:24.032Z] 699f458cf7ca: Pull complete [2024-04-19T13:19:24.311Z] 765212b225bb: Pull complete [2024-04-19T13:19:25.286Z] f23df028b6ca: Pull complete [2024-04-19T13:19:25.557Z] d65c8cfc05b1: Pull complete [2024-04-19T13:19:43.843Z] 2437ff75d9bd: Pull complete [2024-04-19T13:19:43.843Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-19T13:19:43.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:19:43.843Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:19:44.320Z] prd-ubuntu20.04-docker-arm64-4c-16g-2835 does not seem to be running inside a container [2024-04-19T13:19:44.416Z] $ 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-215 -v /w/workspace/exfoundry_ci-build-images_PR-215:/w/workspace/exfoundry_ci-build-images_PR-215:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-215@tmp:/w/workspace/exfoundry_ci-build-images_PR-215@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:46.611Z] $ docker top 8d3f0beb22710679af8a5398f5ded10ca3799bd038d0f18a522037dd63076a6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:47.547Z] ---> job-cost.sh [2024-04-19T13:19:47.547Z] lf-activate-venv: SKIPPING [2024-04-19T13:19:47.547Z] INFO: No Stack... [2024-04-19T13:19:47.817Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-19T13:19:48.776Z] INFO: Archiving Costs [Pipeline] sh [2024-04-19T13:19:49.439Z] + cat /w/workspace/exfoundry_ci-build-images_PR-215/archives/cost.csv [2024-04-19T13:19:49.439Z] + cut -d, -f6 [Pipeline] lock [2024-04-19T13:19:49.530Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-215-1-stack-cost] [2024-04-19T13:19:49.536Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-215-1-stack-cost] did not exist. Created. [2024-04-19T13:19:49.541Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-215-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-19T13:19:50.507Z] /w/workspace/exfoundry_ci-build-images_PR-215@tmp/durable-e6ba4e7e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-19T13:19:51.290Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-19T13:19:51.325Z] Warning: overwriting stash ‘stack-cost’ [2024-04-19T13:19:51.907Z] Stashed 1 file(s) [Pipeline] } [2024-04-19T13:19:51.922Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-215-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-19T13:19:52.013Z] $ docker stop --time=1 8d3f0beb22710679af8a5398f5ded10ca3799bd038d0f18a522037dd63076a6a [2024-04-19T13:19:53.648Z] $ docker rm -f --volumes 8d3f0beb22710679af8a5398f5ded10ca3799bd038d0f18a522037dd63076a6a [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:55.313Z] + [ -d /w/workspace/exfoundry_ci-build-images_PR-215/archives ] [2024-04-19T13:19:55.313Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-215/archives [2024-04-19T13:19:55.313Z] total 16 [2024-04-19T13:19:55.313Z] drwxr-xr-x 3 root root 4096 Apr 19 13:13 . [2024-04-19T13:19:55.313Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 13:13 .. [2024-04-19T13:19:55.313Z] drwxr-xr-x 2 root root 4096 Apr 19 13:13 cost [2024-04-19T13:19:55.313Z] -rw-r--r-- 1 root root 86 Apr 19 13:13 cost.csv [2024-04-19T13:19:55.313Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-215/archives [2024-04-19T13:19:55.313Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-215/archives [2024-04-19T13:19:55.313Z] total 16 [2024-04-19T13:19:55.313Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:13 . [2024-04-19T13:19:55.313Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 13:13 .. [2024-04-19T13:19:55.313Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 13:13 cost [2024-04-19T13:19:55.313Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 19 13:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:55.647Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:56.528Z] ---> package-listing.sh [2024-04-19T13:19:56.528Z] ++ facter osfamily [2024-04-19T13:19:56.528Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-19T13:19:56.788Z] + OS_FAMILY=debian [2024-04-19T13:19:56.788Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-215 [2024-04-19T13:19:56.788Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-19T13:19:56.788Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-19T13:19:56.788Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-19T13:19:56.788Z] + PACKAGES=/tmp/packages_start.txt [2024-04-19T13:19:56.788Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-215 ']' [2024-04-19T13:19:56.788Z] + PACKAGES=/tmp/packages_end.txt [2024-04-19T13:19:56.788Z] + case "${OS_FAMILY}" in [2024-04-19T13:19:56.788Z] + dpkg -l [2024-04-19T13:19:56.788Z] + grep '^ii' [2024-04-19T13:19:56.788Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-19T13:19:56.788Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-19T13:19:56.788Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-19T13:19:56.788Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-215 ']' [2024-04-19T13:19:56.788Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-215/archives/ [2024-04-19T13:19:56.788Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-215/archives/ [Pipeline] echo [2024-04-19T13:19:56.820Z] 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-215/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:57.120Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:19:57.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:19:57.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:19:57.899Z] prd-ubuntu20.04-docker-8c-8g-2828 does not seem to be running inside a container [2024-04-19T13:19:57.932Z] $ 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-215/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-215 -v /w/workspace/exfoundry_ci-build-images_PR-215:/w/workspace/exfoundry_ci-build-images_PR-215:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-215@tmp:/w/workspace/exfoundry_ci-build-images_PR-215@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:19:58.139Z] $ docker top eb19f0b7bc4c7c07f18d36f6e57fda17f9101f8bf80f834dac30368c9fd751d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:19:58.533Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-19T13:19:58.844Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-19T13:19:59.153Z] + ls /var/log/sa-host [2024-04-19T13:19:59.153Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:19:59.286Z] provisioning config files... [2024-04-19T13:19:59.297Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-215@tmp/config4376882781487842740tmp [Pipeline] { [Pipeline] echo [2024-04-19T13:19:59.345Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:19:59.655Z] ---> create-netrc.sh [Pipeline] } [2024-04-19T13:19:59.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:20:00.086Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-19T13:20:00.119Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:20:00.429Z] ---> sudo-logs.sh [2024-04-19T13:20:00.429Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-19T13:20:00.527Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:20:00.849Z] ---> job-cost.sh [2024-04-19T13:20:00.849Z] lf-activate-venv: SKIPPING [2024-04-19T13:20:00.849Z] DEBUG: total: 0.2199999988079071 [2024-04-19T13:20:00.849Z] INFO: Retrieving Stack Cost... [2024-04-19T13:20:01.109Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-19T13:20:01.677Z] INFO: Archiving Costs [Pipeline] echo [2024-04-19T13:20:01.712Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:20:02.023Z] ---> logs-deploy.sh [2024-04-19T13:20:02.023Z] lf-activate-venv: SKIPPING [2024-04-19T13:20:02.023Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-215/1 [2024-04-19T13:20:02.023Z] INFO: archiving workspace using pattern(s): [2024-04-19T13:20:02.960Z] Archives upload complete. [2024-04-19T13:20:03.220Z] INFO: archiving logs to Nexus