Push event to branch golang-1.23 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 70e702b69c45f69ff489b262dad35652638be375 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-ssh372959864944809358.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4051355917728997566.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/golang-1-23.e8a0rn/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/golang-1-23.e8a0rn/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh734710810692750856.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/golang-1-23.e8a0rn/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1406112578072029184.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13729095191224711058.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/golang-1-23.e8a0rn/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/golang-1-23.e8a0rn/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7161006542432846341.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13153 in /w/workspace/ndry_ci-build-images_golang-1.23 [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/ndry_ci-build-images_golang-1.23 # 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 Avoid second fetch Checking out Revision 70e702b69c45f69ff489b262dad35652638be375 (golang-1.23) Commit message: "Merge pull request #215 from cloudxxx8/issue-213" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 > 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 core.sparsecheckout # timeout=10 > git checkout -f 70e702b69c45f69ff489b262dad35652638be375 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T03:04:00.093Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T03:04:00.300Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T03:04:00.428Z] ========================================================= [2024-10-03T03:04:00.428Z] EdgeX Global Pipelines Version Info [2024-10-03T03:04:00.428Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:04:01.260Z] ------------------- [2024-10-03T03:04:01.260Z] stable info: [2024-10-03T03:04:01.260Z] ------------------- [2024-10-03T03:04:01.260Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T03:04:01.260Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T03:04:01.260Z] Message: update stable to v1.0.264 [2024-10-03T03:04:01.836Z] ------------------- [2024-10-03T03:04:01.836Z] experimental info: [2024-10-03T03:04:01.836Z] ------------------- [2024-10-03T03:04:01.836Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T03:04:01.836Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T03:04:01.836Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2024-10-03T03:04:02.126Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2024-10-03T03:04:02.182Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2024-10-03T03:04:02.236Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2024-10-03T03:04:02.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-03T03:04:02.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T03:04:02.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2024-10-03T03:04:02.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2024-10-03T03:04:02.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2024-10-03T03:04:02.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2024-10-03T03:04:02.614Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T03:04:02.672Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2024-10-03T03:04:02.727Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2024-10-03T03:04:02.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T03:04:02.834Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T03:04:02.889Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.21 [Pipeline] echo [2024-10-03T03:04:02.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.21-alpine 1.21-alpine3.17 [Pipeline] echo [2024-10-03T03:04:03.004Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = golang-1.23 [Pipeline] echo [2024-10-03T03:04:03.069Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = golang-1.23 [Pipeline] echo [2024-10-03T03:04:03.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = golang-1.23 [Pipeline] echo [2024-10-03T03:04:03.190Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70e702b69c45f69ff489b262dad35652638be375 [Pipeline] echo [2024-10-03T03:04:03.252Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70e702b [Pipeline] echo [2024-10-03T03:04:03.310Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:04:03.603Z] provisioning config files... [2024-10-03T03:04:03.616Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ndry_ci-build-images_golang-1.23@tmp/config10232171980302792310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:04:04.029Z] ---> ****-login.sh [2024-10-03T03:04:04.029Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:04:04.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:04.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:04.554Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:04.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:04.554Z] [2024-10-03T03:04:04.554Z] Login Succeeded [2024-10-03T03:04:04.554Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:04:04.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:04.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:04.554Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:04.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:04.554Z] [2024-10-03T03:04:04.554Z] Login Succeeded [2024-10-03T03:04:04.554Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:04:04.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:04.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:04.815Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:04.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:04.815Z] [2024-10-03T03:04:04.815Z] Login Succeeded [2024-10-03T03:04:04.815Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:04:04.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:04.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:04.815Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:04.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:04.815Z] [2024-10-03T03:04:04.815Z] Login Succeeded [2024-10-03T03:04:04.815Z] ****.io [2024-10-03T03:04:05.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:05.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:05.075Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:05.075Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:05.075Z] [2024-10-03T03:04:05.075Z] Login Succeeded [2024-10-03T03:04:05.075Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:04:05.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:04:06.136Z] provisioning config files... [2024-10-03T03:04:06.147Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ndry_ci-build-images_golang-1.23@tmp/config15292960027822281552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:04:06.520Z] ---> ****-login.sh [2024-10-03T03:04:06.520Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:04:06.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:06.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:06.520Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:06.520Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:06.520Z] [2024-10-03T03:04:06.520Z] Login Succeeded [2024-10-03T03:04:06.520Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:04:06.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:06.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:06.521Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:06.521Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:06.521Z] [2024-10-03T03:04:06.521Z] Login Succeeded [2024-10-03T03:04:06.521Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:04:06.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:06.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:06.782Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:06.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:06.782Z] [2024-10-03T03:04:06.782Z] Login Succeeded [2024-10-03T03:04:06.782Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:04:06.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:06.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:06.782Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:06.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:06.782Z] [2024-10-03T03:04:06.782Z] Login Succeeded [2024-10-03T03:04:06.782Z] ****.io [2024-10-03T03:04:06.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:04:07.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:04:07.045Z] Configure a credential helper to remove this warning. See [2024-10-03T03:04:07.045Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:04:07.045Z] [2024-10-03T03:04:07.045Z] Login Succeeded [2024-10-03T03:04:07.045Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:04:07.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T03:04:08.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T03:04:08.483Z] + ls -al . [2024-10-03T03:04:08.483Z] total 28 [2024-10-03T03:04:08.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:03 . [2024-10-03T03:04:08.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:03 .. [2024-10-03T03:04:08.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:03 .git [2024-10-03T03:04:08.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:03 .github [2024-10-03T03:04:08.483Z] -rw-rw-r-- 1 jenkins jenkins 585 Oct 3 03:03 .golangci.yml [2024-10-03T03:04:08.483Z] -rw-rw-r-- 1 jenkins jenkins 1153 Oct 3 03:03 Dockerfile [2024-10-03T03:04:08.483Z] -rw-rw-r-- 1 jenkins jenkins 918 Oct 3 03:03 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:04:09.040Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=70e702b69c45f69ff489b262dad35652638be375 --label arch=amd64 . [2024-10-03T03:04:09.040Z] Sending build context to Docker daemon 477.7kB [2024-10-03T03:04:09.040Z] Step 1/9 : FROM golang:1.21-alpine3.18 [2024-10-03T03:04:09.301Z] 1.21-alpine3.18: Pulling from library/golang [2024-10-03T03:04:09.561Z] 619be1103602: Pulling fs layer [2024-10-03T03:04:09.561Z] f8ea3408117e: Pulling fs layer [2024-10-03T03:04:09.561Z] 91320369b822: Pulling fs layer [2024-10-03T03:04:09.561Z] 0406650e8295: Pulling fs layer [2024-10-03T03:04:09.561Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T03:04:09.561Z] 0406650e8295: Waiting [2024-10-03T03:04:09.561Z] 4f4fb700ef54: Waiting [2024-10-03T03:04:09.561Z] f8ea3408117e: Download complete [2024-10-03T03:04:09.561Z] 619be1103602: Verifying Checksum [2024-10-03T03:04:09.561Z] 619be1103602: Download complete [2024-10-03T03:04:09.821Z] 0406650e8295: Download complete [2024-10-03T03:04:09.821Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T03:04:09.821Z] 4f4fb700ef54: Download complete [2024-10-03T03:04:09.821Z] 619be1103602: Pull complete [2024-10-03T03:04:09.821Z] f8ea3408117e: Pull complete [2024-10-03T03:04:10.081Z] 91320369b822: Verifying Checksum [2024-10-03T03:04:10.081Z] 91320369b822: Download complete [2024-10-03T03:04:14.287Z] 91320369b822: Pull complete [2024-10-03T03:04:14.287Z] 0406650e8295: Pull complete [2024-10-03T03:04:14.287Z] 4f4fb700ef54: Pull complete [2024-10-03T03:04:14.287Z] Digest: sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d [2024-10-03T03:04:14.287Z] Status: Downloaded newer image for golang:1.21-alpine3.18 [2024-10-03T03:04:14.287Z] ---> a3bbef70a967 [2024-10-03T03:04:14.287Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' [2024-10-03T03:04:17.589Z] ---> Running in 68e89aedd520 [2024-10-03T03:04:17.589Z] Removing intermediate container 68e89aedd520 [2024-10-03T03:04:17.589Z] ---> 189ff591b5e1 [2024-10-03T03:04:17.589Z] Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.54.2 [2024-10-03T03:04:17.589Z] ---> Running in fa38adf589ab [2024-10-03T03:04:17.589Z] Removing intermediate container fa38adf589ab [2024-10-03T03:04:17.589Z] ---> 1208cd75f1d4 [2024-10-03T03:04:17.589Z] Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml [2024-10-03T03:04:17.589Z] ---> d4ae82aa39cf [2024-10-03T03:04:17.589Z] Step 5/9 : RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi [2024-10-03T03:04:17.589Z] ---> Running in afb0f0373005 [2024-10-03T03:04:18.160Z] Connecting to github.com (140.82.112.3:443) [2024-10-03T03:04:18.160Z] Connecting to objects.githubusercontent.com (185.199.110.133:443) [2024-10-03T03:04:18.422Z] saving to '/usr/local/bin/hadolint' [2024-10-03T03:04:18.422Z] hadolint 100% |********************************| 2369k 0:00:00 ETA [2024-10-03T03:04:18.422Z] '/usr/local/bin/hadolint' saved [2024-10-03T03:04:18.991Z] Removing intermediate container afb0f0373005 [2024-10-03T03:04:18.991Z] ---> af290d764dc8 [2024-10-03T03:04:18.991Z] Step 6/9 : RUN apk add --update --no-cache make git curl bash pkgconfig build-base linux-headers musl-dev && apk upgrade && ln -s /bin/touch /usr/bin/touch && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} [2024-10-03T03:04:18.991Z] ---> Running in 5e8415bc515e [2024-10-03T03:04:19.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-03T03:04:19.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-03T03:04:19.819Z] (1/36) Installing ncurses-terminfo-base (6.4_p20230506-r0) [2024-10-03T03:04:19.819Z] (2/36) Installing libncursesw (6.4_p20230506-r0) [2024-10-03T03:04:19.819Z] (3/36) Installing readline (8.2.1-r1) [2024-10-03T03:04:19.819Z] (4/36) Installing bash (5.2.15-r5) [2024-10-03T03:04:19.819Z] Executing bash-5.2.15-r5.post-install [2024-10-03T03:04:19.819Z] (5/36) Installing libgcc (12.2.1_git20220924-r10) [2024-10-03T03:04:19.819Z] (6/36) Installing libstdc++ (12.2.1_git20220924-r10) [2024-10-03T03:04:19.819Z] (7/36) Installing zstd-libs (1.5.5-r4) [2024-10-03T03:04:19.819Z] (8/36) Installing binutils (2.40-r7) [2024-10-03T03:04:19.819Z] (9/36) Installing libmagic (5.45-r0) [2024-10-03T03:04:19.819Z] (10/36) Installing file (5.45-r0) [2024-10-03T03:04:19.819Z] (11/36) Installing libgomp (12.2.1_git20220924-r10) [2024-10-03T03:04:19.819Z] (12/36) Installing libatomic (12.2.1_git20220924-r10) [2024-10-03T03:04:19.819Z] (13/36) Installing gmp (6.2.1-r3) [2024-10-03T03:04:19.819Z] (14/36) Installing isl26 (0.26-r1) [2024-10-03T03:04:19.819Z] (15/36) Installing mpfr4 (4.2.0_p12-r0) [2024-10-03T03:04:19.819Z] (16/36) Installing mpc1 (1.3.1-r1) [2024-10-03T03:04:19.819Z] (17/36) Installing gcc (12.2.1_git20220924-r10) [2024-10-03T03:04:20.387Z] (18/36) Installing libstdc++-dev (12.2.1_git20220924-r10) [2024-10-03T03:04:20.647Z] (19/36) Installing musl-dev (1.2.4-r2) [2024-10-03T03:04:20.647Z] (20/36) Installing libc-dev (0.7.2-r5) [2024-10-03T03:04:20.647Z] (21/36) Installing g++ (12.2.1_git20220924-r10) [2024-10-03T03:04:20.841Z] Still waiting to schedule task [2024-10-03T03:04:20.842Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-03T03:04:20.906Z] (22/36) Installing make (4.4.1-r1) [2024-10-03T03:04:20.907Z] (23/36) Installing fortify-headers (1.1-r3) [2024-10-03T03:04:20.907Z] (24/36) Installing patch (2.7.6-r10) [2024-10-03T03:04:20.907Z] (25/36) Installing build-base (0.5-r3) [2024-10-03T03:04:20.907Z] (26/36) Installing brotli-libs (1.0.9-r14) [2024-10-03T03:04:20.907Z] (27/36) Installing libunistring (1.1-r1) [2024-10-03T03:04:20.907Z] (28/36) Installing libidn2 (2.3.4-r1) [2024-10-03T03:04:20.907Z] (29/36) Installing nghttp2-libs (1.57.0-r0) [2024-10-03T03:04:20.907Z] (30/36) Installing libcurl (8.9.1-r0) [2024-10-03T03:04:20.907Z] (31/36) Installing curl (8.9.1-r0) [2024-10-03T03:04:20.907Z] (32/36) Installing libexpat (2.6.3-r0) [2024-10-03T03:04:20.907Z] (33/36) Installing pcre2 (10.42-r1) [2024-10-03T03:04:20.907Z] (34/36) Installing git (2.40.3-r0) [2024-10-03T03:04:21.167Z] (35/36) Installing linux-headers (6.3-r0) [2024-10-03T03:04:21.167Z] (36/36) Installing pkgconf (1.9.5-r0) [2024-10-03T03:04:21.167Z] Executing busybox-1.36.1-r5.trigger [2024-10-03T03:04:21.167Z] OK: 264 MiB in 52 packages [2024-10-03T03:04:21.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-03T03:04:21.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-03T03:04:21.427Z] Upgrading critical system libraries and apk-tools: [2024-10-03T03:04:21.427Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-03T03:04:21.427Z] Executing busybox-1.36.1-r5.trigger [2024-10-03T03:04:21.687Z] Continuing the upgrade transaction with new apk-tools: [2024-10-03T03:04:21.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-03T03:04:21.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-03T03:04:21.946Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r7) [2024-10-03T03:04:21.946Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-03T03:04:21.946Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r7) [2024-10-03T03:04:21.946Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-03T03:04:21.946Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.7-r0) [2024-10-03T03:04:21.946Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.7-r0) [2024-10-03T03:04:21.946Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r7) [2024-10-03T03:04:21.946Z] Executing busybox-1.36.1-r7.trigger [2024-10-03T03:04:21.946Z] Executing ca-certificates-20240226-r0.trigger [2024-10-03T03:04:21.946Z] OK: 264 MiB in 52 packages [2024-10-03T03:04:21.946Z] Connecting to raw.githubusercontent.com (185.199.109.133:443) [2024-10-03T03:04:22.206Z] writing to stdout [2024-10-03T03:04:22.206Z] - 100% |********************************| 11591 0:00:00 ETA [2024-10-03T03:04:22.206Z] written to stdout [2024-10-03T03:04:22.206Z] golangci/golangci-lint info checking GitHub for tag 'v1.54.2' [2024-10-03T03:04:22.206Z] golangci/golangci-lint info found version: 1.54.2 for v1.54.2/linux/amd64 [2024-10-03T03:04:23.142Z] golangci/golangci-lint info installed ./bin/golangci-lint [2024-10-03T03:04:33.159Z] Removing intermediate container 5e8415bc515e [2024-10-03T03:04:33.159Z] ---> b623ee5d67de [2024-10-03T03:04:33.159Z] Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2024-10-03T03:04:33.159Z] ---> Running in fc137bce0b66 [2024-10-03T03:04:33.159Z] go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 [2024-10-03T03:04:33.159Z] go: downloading github.com/gotesttools/gotestfmt v1.1.0 [2024-10-03T03:04:41.284Z] Removing intermediate container fc137bce0b66 [2024-10-03T03:04:41.284Z] ---> af9ef223c151 [2024-10-03T03:04:41.284Z] Step 8/9 : LABEL arch=amd64 [2024-10-03T03:04:41.544Z] ---> Running in 980d0b88d2da [2024-10-03T03:04:42.113Z] Removing intermediate container 980d0b88d2da [2024-10-03T03:04:42.113Z] ---> 70a97eaee37d [2024-10-03T03:04:42.113Z] Step 9/9 : LABEL git_sha=70e702b69c45f69ff489b262dad35652638be375 [2024-10-03T03:04:42.683Z] ---> Running in 75d83f0759d6 [2024-10-03T03:04:43.254Z] Removing intermediate container 75d83f0759d6 [2024-10-03T03:04:43.254Z] ---> db417956865f [2024-10-03T03:04:43.254Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T03:04:43.254Z] Successfully built db417956865f [2024-10-03T03:04:43.254Z] Successfully tagged edgex-devops/edgex-golang-base:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:04:44.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:04:44.404Z] [2024-10-03T03:04:44.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:04:44.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:04:44.807Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T03:04:44.807Z] 5eb5b503b376: Pulling fs layer [2024-10-03T03:04:44.807Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T03:04:44.807Z] ec43610c2a17: Pulling fs layer [2024-10-03T03:04:44.807Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T03:04:44.807Z] 33b1e0a273af: Pulling fs layer [2024-10-03T03:04:44.807Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T03:04:44.807Z] 2f39f015ded8: Pulling fs layer [2024-10-03T03:04:44.807Z] 3a2ae6a8a46f: Waiting [2024-10-03T03:04:44.807Z] 33b1e0a273af: Waiting [2024-10-03T03:04:44.807Z] 5d3b04190fa2: Waiting [2024-10-03T03:04:44.807Z] 2f39f015ded8: Waiting [2024-10-03T03:04:44.807Z] 5c69ac0246d0: Download complete [2024-10-03T03:04:44.807Z] 3a2ae6a8a46f: Download complete [2024-10-03T03:04:44.807Z] 33b1e0a273af: Verifying Checksum [2024-10-03T03:04:44.807Z] 33b1e0a273af: Download complete [2024-10-03T03:04:44.807Z] 5d3b04190fa2: Verifying Checksum [2024-10-03T03:04:44.807Z] 5d3b04190fa2: Download complete [2024-10-03T03:04:44.807Z] ec43610c2a17: Verifying Checksum [2024-10-03T03:04:44.807Z] ec43610c2a17: Download complete [2024-10-03T03:04:45.067Z] 5eb5b503b376: Verifying Checksum [2024-10-03T03:04:45.067Z] 5eb5b503b376: Download complete [2024-10-03T03:04:45.634Z] 2f39f015ded8: Download complete [2024-10-03T03:04:46.203Z] 5eb5b503b376: Pull complete [2024-10-03T03:04:46.463Z] 5c69ac0246d0: Pull complete [2024-10-03T03:04:46.725Z] ec43610c2a17: Pull complete [2024-10-03T03:04:46.985Z] 3a2ae6a8a46f: Pull complete [2024-10-03T03:04:47.243Z] 33b1e0a273af: Pull complete [2024-10-03T03:04:47.243Z] 5d3b04190fa2: Pull complete [2024-10-03T03:04:51.455Z] 2f39f015ded8: Pull complete [2024-10-03T03:04:51.455Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T03:04:51.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:04:51.455Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:04:51.867Z] prd-ubuntu20.04-docker-8c-8g-13153 does not seem to be running inside a container [2024-10-03T03:04:51.905Z] $ 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/ndry_ci-build-images_golang-1.23 -v /w/workspace/ndry_ci-build-images_golang-1.23:/w/workspace/ndry_ci-build-images_golang-1.23:rw,z -v /w/workspace/ndry_ci-build-images_golang-1.23@tmp:/w/workspace/ndry_ci-build-images_golang-1.23@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T03:05:00.294Z] $ docker top d517fddb19fffa1e8b33b6a8eb463c8f66279dd3c402246c6a56fa812276b56b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:05:00.798Z] ---> job-cost.sh [2024-10-03T03:05:00.798Z] lf-activate-venv: SKIPPING [2024-10-03T03:05:00.798Z] INFO: No Stack... [2024-10-03T03:05:01.057Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T03:05:01.626Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T03:05:01.979Z] + cat /w/workspace/ndry_ci-build-images_golang-1.23/archives/cost.csv [2024-10-03T03:05:01.979Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T03:05:02.041Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-golang-1.23-1-stack-cost] [2024-10-03T03:05:02.050Z] Resource [jenkins-edgexfoundry-ci-build-images-golang-1.23-1-stack-cost] did not exist. Created. [2024-10-03T03:05:02.057Z] Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-golang-1.23-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T03:05:02.479Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T03:05:02.745Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T03:05:02.770Z] Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-golang-1.23-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T03:05:02.864Z] $ docker stop --time=1 d517fddb19fffa1e8b33b6a8eb463c8f66279dd3c402246c6a56fa812276b56b [2024-10-03T03:05:04.030Z] $ docker rm -f --volumes d517fddb19fffa1e8b33b6a8eb463c8f66279dd3c402246c6a56fa812276b56b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T03:06:09.973Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13155 in /w/workspace/ndry_ci-build-images_golang-1.23 [Pipeline] { [Pipeline] checkout [2024-10-03T03:06:10.082Z] Selected Git installation does not exist. Using Default [2024-10-03T03:06:10.082Z] The recommended git tool is: NONE [2024-10-03T03:06:19.590Z] using credential edgex-jenkins-ssh [2024-10-03T03:06:19.613Z] Cloning the remote Git repository [2024-10-03T03:06:19.692Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2024-10-03T03:06:19.791Z] > git init /w/workspace/ndry_ci-build-images_golang-1.23 # timeout=10 [2024-10-03T03:06:20.006Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2024-10-03T03:06:20.007Z] > git --version # timeout=10 [2024-10-03T03:06:20.039Z] > git --version # 'git version 2.25.1' [2024-10-03T03:06:20.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T03:06:20.313Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T03:06:22.234Z] Avoid second fetch [2024-10-03T03:06:22.235Z] Checking out Revision 70e702b69c45f69ff489b262dad35652638be375 (golang-1.23) [2024-10-03T03:06:21.043Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2024-10-03T03:06:21.089Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T03:06:22.253Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T03:06:22.328Z] > git checkout -f 70e702b69c45f69ff489b262dad35652638be375 # timeout=10 [2024-10-03T03:06:23.326Z] Commit message: "Merge pull request #215 from cloudxxx8/issue-213" [2024-10-03T03:06:23.400Z] > git --version # timeout=10 [2024-10-03T03:06:23.421Z] > git --version # 'git version 2.25.1' [2024-10-03T03:06:23.454Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T03:06:28.842Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-03T03:06:28.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T03:06:28.842Z] Dload Upload Total Spent Left Speed [2024-10-03T03:06:28.842Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 88468 0 --:--:-- --:--:-- --:--:-- 89083 [Pipeline] sh [2024-10-03T03:06:29.226Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-03T03:06:29.608Z] + sudo tee /etc/docker/daemon.new [2024-10-03T03:06:29.608Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-03T03:06:29.608Z] { [2024-10-03T03:06:29.608Z] "registry-mirrors": [ [2024-10-03T03:06:29.608Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-03T03:06:29.608Z] ], [2024-10-03T03:06:29.608Z] "bip": "10.250.0.254/24", [2024-10-03T03:06:29.608Z] "hosts": [ [2024-10-03T03:06:29.608Z] "tcp://0.0.0.0:5555", [2024-10-03T03:06:29.608Z] "unix:///var/run/docker.sock" [2024-10-03T03:06:29.608Z] ], [2024-10-03T03:06:29.608Z] "mtu": 1458, [2024-10-03T03:06:29.608Z] "selinux-enabled": true, [2024-10-03T03:06:29.608Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-03T03:06:29.608Z] } [Pipeline] sh [2024-10-03T03:06:29.959Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-03T03:06:30.318Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:06:48.676Z] provisioning config files... [2024-10-03T03:06:48.703Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ndry_ci-build-images_golang-1.23@tmp/config17627806201938631125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:06:49.199Z] ---> ****-login.sh [2024-10-03T03:06:49.199Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:06:49.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:06:50.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:06:50.070Z] Configure a credential helper to remove this warning. See [2024-10-03T03:06:50.070Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:06:50.070Z] [2024-10-03T03:06:50.070Z] Login Succeeded [2024-10-03T03:06:50.070Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:06:50.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:06:50.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:06:50.342Z] Configure a credential helper to remove this warning. See [2024-10-03T03:06:50.342Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:06:50.342Z] [2024-10-03T03:06:50.342Z] Login Succeeded [2024-10-03T03:06:50.342Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:06:50.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:06:50.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:06:50.614Z] Configure a credential helper to remove this warning. See [2024-10-03T03:06:50.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:06:50.614Z] [2024-10-03T03:06:50.614Z] Login Succeeded [2024-10-03T03:06:50.614Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:06:50.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:06:50.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:06:50.883Z] Configure a credential helper to remove this warning. See [2024-10-03T03:06:50.884Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:06:50.884Z] [2024-10-03T03:06:50.884Z] Login Succeeded [2024-10-03T03:06:50.884Z] ****.io [2024-10-03T03:06:51.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:06:51.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:06:51.422Z] Configure a credential helper to remove this warning. See [2024-10-03T03:06:51.422Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:06:51.422Z] [2024-10-03T03:06:51.422Z] Login Succeeded [2024-10-03T03:06:51.422Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:06:51.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T03:06:52.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T03:06:52.580Z] + ls -al . [2024-10-03T03:06:52.580Z] total 28 [2024-10-03T03:06:52.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:06 . [2024-10-03T03:06:52.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:06 .. [2024-10-03T03:06:52.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:06 .git [2024-10-03T03:06:52.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:06 .github [2024-10-03T03:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 585 Oct 3 03:06 .golangci.yml [2024-10-03T03:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 1153 Oct 3 03:06 Dockerfile [2024-10-03T03:06:52.580Z] -rw-rw-r-- 1 jenkins jenkins 918 Oct 3 03:06 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:06:53.036Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=70e702b69c45f69ff489b262dad35652638be375 --label arch=arm64 . [2024-10-03T03:06:53.304Z] Sending build context to Docker daemon 477.7kB [2024-10-03T03:06:53.304Z] Step 1/9 : FROM golang:1.21-alpine3.18 [2024-10-03T03:06:53.896Z] 1.21-alpine3.18: Pulling from library/golang [2024-10-03T03:06:53.896Z] c6b39de5b339: Pulling fs layer [2024-10-03T03:06:53.896Z] 84613e011ca8: Pulling fs layer [2024-10-03T03:06:53.896Z] 0c9a7eb7dd16: Pulling fs layer [2024-10-03T03:06:53.896Z] 788e89ea89d4: Pulling fs layer [2024-10-03T03:06:53.896Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T03:06:53.896Z] 788e89ea89d4: Waiting [2024-10-03T03:06:53.896Z] 4f4fb700ef54: Waiting [2024-10-03T03:06:54.168Z] 84613e011ca8: Verifying Checksum [2024-10-03T03:06:54.168Z] 84613e011ca8: Download complete [2024-10-03T03:06:54.168Z] c6b39de5b339: Verifying Checksum [2024-10-03T03:06:54.168Z] c6b39de5b339: Download complete [2024-10-03T03:06:54.168Z] 788e89ea89d4: Verifying Checksum [2024-10-03T03:06:54.168Z] 788e89ea89d4: Download complete [2024-10-03T03:06:54.168Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T03:06:54.168Z] 4f4fb700ef54: Download complete [2024-10-03T03:06:54.757Z] c6b39de5b339: Pull complete [2024-10-03T03:06:55.347Z] 84613e011ca8: Pull complete [2024-10-03T03:06:55.934Z] 0c9a7eb7dd16: Verifying Checksum [2024-10-03T03:06:55.934Z] 0c9a7eb7dd16: Download complete [2024-10-03T03:07:08.276Z] 0c9a7eb7dd16: Pull complete [2024-10-03T03:07:08.276Z] 788e89ea89d4: Pull complete [2024-10-03T03:07:08.546Z] 4f4fb700ef54: Pull complete [2024-10-03T03:07:08.546Z] Digest: sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d [2024-10-03T03:07:08.546Z] Status: Downloaded newer image for golang:1.21-alpine3.18 [2024-10-03T03:07:08.546Z] ---> 5db8c000866e [2024-10-03T03:07:08.546Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2023: Intel Corporation' [2024-10-03T03:07:09.964Z] ---> Running in 6ec2454c61cc [2024-10-03T03:07:09.964Z] Removing intermediate container 6ec2454c61cc [2024-10-03T03:07:09.964Z] ---> e1d3e7c027e1 [2024-10-03T03:07:09.964Z] Step 3/9 : ENV HADOLINT_VERSION=2.12.0 GOLANGCI_VERSION=1.54.2 [2024-10-03T03:07:09.964Z] ---> Running in 89159776795b [2024-10-03T03:07:10.243Z] Removing intermediate container 89159776795b [2024-10-03T03:07:10.243Z] ---> a2f06b338b4d [2024-10-03T03:07:10.243Z] Step 4/9 : COPY ./.golangci.yml /etc/.golangci.yml [2024-10-03T03:07:11.214Z] ---> 25988f66df3f [2024-10-03T03:07:11.214Z] Step 5/9 : RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi [2024-10-03T03:07:11.214Z] ---> Running in 20cf22450e6d [2024-10-03T03:07:13.202Z] Removing intermediate container 20cf22450e6d [2024-10-03T03:07:13.202Z] ---> e987a1b54a7b [2024-10-03T03:07:13.202Z] Step 6/9 : RUN apk add --update --no-cache make git curl bash pkgconfig build-base linux-headers musl-dev && apk upgrade && ln -s /bin/touch /usr/bin/touch && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} [2024-10-03T03:07:13.202Z] ---> Running in 81e62d6ba69b [2024-10-03T03:07:14.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-03T03:07:14.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-03T03:07:15.437Z] (1/36) Installing ncurses-terminfo-base (6.4_p20230506-r0) [2024-10-03T03:07:15.437Z] (2/36) Installing libncursesw (6.4_p20230506-r0) [2024-10-03T03:07:15.437Z] (3/36) Installing readline (8.2.1-r1) [2024-10-03T03:07:15.437Z] (4/36) Installing bash (5.2.15-r5) [2024-10-03T03:07:15.437Z] Executing bash-5.2.15-r5.post-install [2024-10-03T03:07:15.437Z] (5/36) Installing libgcc (12.2.1_git20220924-r10) [2024-10-03T03:07:15.437Z] (6/36) Installing libstdc++ (12.2.1_git20220924-r10) [2024-10-03T03:07:15.437Z] (7/36) Installing zstd-libs (1.5.5-r4) [2024-10-03T03:07:15.437Z] (8/36) Installing binutils (2.40-r7) [2024-10-03T03:07:16.018Z] (9/36) Installing libmagic (5.45-r0) [2024-10-03T03:07:16.018Z] (10/36) Installing file (5.45-r0) [2024-10-03T03:07:16.018Z] (11/36) Installing libgomp (12.2.1_git20220924-r10) [2024-10-03T03:07:16.018Z] (12/36) Installing libatomic (12.2.1_git20220924-r10) [2024-10-03T03:07:16.018Z] (13/36) Installing gmp (6.2.1-r3) [2024-10-03T03:07:16.603Z] (14/36) Installing isl26 (0.26-r1) [2024-10-03T03:07:16.603Z] (15/36) Installing mpfr4 (4.2.0_p12-r0) [2024-10-03T03:07:16.603Z] (16/36) Installing mpc1 (1.3.1-r1) [2024-10-03T03:07:16.603Z] (17/36) Installing gcc (12.2.1_git20220924-r10) [2024-10-03T03:07:19.186Z] (18/36) Installing libstdc++-dev (12.2.1_git20220924-r10) [2024-10-03T03:07:20.596Z] (19/36) Installing musl-dev (1.2.4-r2) [2024-10-03T03:07:20.865Z] (20/36) Installing libc-dev (0.7.2-r5) [2024-10-03T03:07:20.865Z] (21/36) Installing g++ (12.2.1_git20220924-r10) [2024-10-03T03:07:21.820Z] (22/36) Installing make (4.4.1-r1) [2024-10-03T03:07:21.820Z] (23/36) Installing fortify-headers (1.1-r3) [2024-10-03T03:07:21.820Z] (24/36) Installing patch (2.7.6-r10) [2024-10-03T03:07:21.820Z] (25/36) Installing build-base (0.5-r3) [2024-10-03T03:07:21.820Z] (26/36) Installing brotli-libs (1.0.9-r14) [2024-10-03T03:07:21.820Z] (27/36) Installing libunistring (1.1-r1) [2024-10-03T03:07:21.820Z] (28/36) Installing libidn2 (2.3.4-r1) [2024-10-03T03:07:21.820Z] (29/36) Installing nghttp2-libs (1.57.0-r0) [2024-10-03T03:07:21.820Z] (30/36) Installing libcurl (8.9.1-r0) [2024-10-03T03:07:21.820Z] (31/36) Installing curl (8.9.1-r0) [2024-10-03T03:07:22.087Z] (32/36) Installing libexpat (2.6.3-r0) [2024-10-03T03:07:22.087Z] (33/36) Installing pcre2 (10.42-r1) [2024-10-03T03:07:22.087Z] (34/36) Installing git (2.40.3-r0) [2024-10-03T03:07:22.352Z] (35/36) Installing linux-headers (6.3-r0) [2024-10-03T03:07:22.933Z] (36/36) Installing pkgconf (1.9.5-r0) [2024-10-03T03:07:22.934Z] Executing busybox-1.36.1-r5.trigger [2024-10-03T03:07:22.934Z] OK: 266 MiB in 52 packages [2024-10-03T03:07:23.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-03T03:07:23.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-03T03:07:24.870Z] Upgrading critical system libraries and apk-tools: [2024-10-03T03:07:24.870Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-03T03:07:24.870Z] Executing busybox-1.36.1-r5.trigger [2024-10-03T03:07:24.870Z] Continuing the upgrade transaction with new apk-tools: [2024-10-03T03:07:24.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-03T03:07:25.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-03T03:07:26.420Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r7) [2024-10-03T03:07:26.686Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-03T03:07:26.686Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r7) [2024-10-03T03:07:26.686Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-03T03:07:26.686Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.7-r0) [2024-10-03T03:07:26.955Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.7-r0) [2024-10-03T03:07:26.955Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r7) [2024-10-03T03:07:26.955Z] Executing busybox-1.36.1-r7.trigger [2024-10-03T03:07:26.955Z] Executing ca-certificates-20240226-r0.trigger [2024-10-03T03:07:27.224Z] OK: 266 MiB in 52 packages [2024-10-03T03:07:27.492Z] Connecting to raw.githubusercontent.com (185.199.108.133:443) [2024-10-03T03:07:27.492Z] writing to stdout [2024-10-03T03:07:27.492Z] - 100% |********************************| 11591 0:00:00 ETA [2024-10-03T03:07:27.492Z] written to stdout [2024-10-03T03:07:27.492Z] golangci/golangci-lint info checking GitHub for tag 'v1.54.2' [2024-10-03T03:07:28.072Z] golangci/golangci-lint info found version: 1.54.2 for v1.54.2/linux/arm64 [2024-10-03T03:07:30.008Z] golangci/golangci-lint info installed ./bin/golangci-lint [2024-10-03T03:07:40.070Z] Removing intermediate container 81e62d6ba69b [2024-10-03T03:07:40.070Z] ---> b0bb0d9010f2 [2024-10-03T03:07:40.070Z] Step 7/9 : RUN go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2024-10-03T03:07:40.070Z] ---> Running in 996f17d3cccb [2024-10-03T03:07:41.032Z] go: downloading github.com/gotesttools/gotestfmt/v2 v2.5.0 [2024-10-03T03:07:41.303Z] go: downloading github.com/gotesttools/gotestfmt v1.1.0 [2024-10-03T03:08:13.612Z] Removing intermediate container 996f17d3cccb [2024-10-03T03:08:13.612Z] ---> 9944de5cf54b [2024-10-03T03:08:13.612Z] Step 8/9 : LABEL arch=arm64 [2024-10-03T03:08:13.612Z] ---> Running in b00fa667c1ce [2024-10-03T03:08:13.612Z] Removing intermediate container b00fa667c1ce [2024-10-03T03:08:13.612Z] ---> 9d83e8d50c81 [2024-10-03T03:08:13.612Z] Step 9/9 : LABEL git_sha=70e702b69c45f69ff489b262dad35652638be375 [2024-10-03T03:08:13.612Z] ---> Running in c9a8e2e81d43 [2024-10-03T03:08:13.612Z] Removing intermediate container c9a8e2e81d43 [2024-10-03T03:08:13.612Z] ---> bde969a14f2a [2024-10-03T03:08:13.612Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T03:08:13.612Z] Successfully built bde969a14f2a [2024-10-03T03:08:13.612Z] Successfully tagged edgex-devops/edgex-golang-base-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:08:15.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T03:08:15.121Z] [2024-10-03T03:08:15.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:08:15.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T03:08:15.633Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-03T03:08:15.633Z] 8998bd30e6a1: Pulling fs layer [2024-10-03T03:08:15.633Z] 04944245beec: Pulling fs layer [2024-10-03T03:08:15.633Z] 699f458cf7ca: Pulling fs layer [2024-10-03T03:08:15.633Z] 765212b225bb: Pulling fs layer [2024-10-03T03:08:15.633Z] f23df028b6ca: Pulling fs layer [2024-10-03T03:08:15.633Z] d65c8cfc05b1: Pulling fs layer [2024-10-03T03:08:15.633Z] 2437ff75d9bd: Pulling fs layer [2024-10-03T03:08:15.633Z] 765212b225bb: Waiting [2024-10-03T03:08:15.633Z] f23df028b6ca: Waiting [2024-10-03T03:08:15.633Z] d65c8cfc05b1: Waiting [2024-10-03T03:08:15.633Z] 2437ff75d9bd: Waiting [2024-10-03T03:08:15.901Z] 04944245beec: Verifying Checksum [2024-10-03T03:08:15.901Z] 04944245beec: Download complete [2024-10-03T03:08:15.901Z] 765212b225bb: Verifying Checksum [2024-10-03T03:08:15.901Z] 765212b225bb: Download complete [2024-10-03T03:08:15.901Z] f23df028b6ca: Verifying Checksum [2024-10-03T03:08:15.901Z] f23df028b6ca: Download complete [2024-10-03T03:08:15.901Z] d65c8cfc05b1: Verifying Checksum [2024-10-03T03:08:15.901Z] d65c8cfc05b1: Download complete [2024-10-03T03:08:15.901Z] 699f458cf7ca: Download complete [2024-10-03T03:08:16.491Z] 8998bd30e6a1: Verifying Checksum [2024-10-03T03:08:16.491Z] 8998bd30e6a1: Download complete [2024-10-03T03:08:19.078Z] 2437ff75d9bd: Verifying Checksum [2024-10-03T03:08:19.078Z] 2437ff75d9bd: Download complete [2024-10-03T03:08:21.036Z] 8998bd30e6a1: Pull complete [2024-10-03T03:08:21.305Z] 04944245beec: Pull complete [2024-10-03T03:08:23.255Z] 699f458cf7ca: Pull complete [2024-10-03T03:08:23.255Z] 765212b225bb: Pull complete [2024-10-03T03:08:23.840Z] f23df028b6ca: Pull complete [2024-10-03T03:08:24.108Z] d65c8cfc05b1: Pull complete [2024-10-03T03:08:42.314Z] 2437ff75d9bd: Pull complete [2024-10-03T03:08:42.314Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-03T03:08:42.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T03:08:42.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:08:42.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-13155 does not seem to be running inside a container [2024-10-03T03:08:42.958Z] $ 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/ndry_ci-build-images_golang-1.23 -v /w/workspace/ndry_ci-build-images_golang-1.23:/w/workspace/ndry_ci-build-images_golang-1.23:rw,z -v /w/workspace/ndry_ci-build-images_golang-1.23@tmp:/w/workspace/ndry_ci-build-images_golang-1.23@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-03T03:08:45.450Z] $ docker top ed56e411ae50752426bfe2bc8d33f92e0e8080c6ddbeeaff016fd7f54c61e45e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:08:46.473Z] ---> job-cost.sh [2024-10-03T03:08:46.473Z] lf-activate-venv: SKIPPING [2024-10-03T03:08:46.473Z] INFO: No Stack... [2024-10-03T03:08:46.751Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-03T03:08:47.726Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T03:08:48.596Z] + cat /w/workspace/ndry_ci-build-images_golang-1.23/archives/cost.csv [2024-10-03T03:08:48.597Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T03:08:48.696Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-golang-1.23-1-stack-cost] [2024-10-03T03:08:48.703Z] Resource [jenkins-edgexfoundry-ci-build-images-golang-1.23-1-stack-cost] did not exist. Created. [2024-10-03T03:08:48.711Z] Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-golang-1.23-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T03:08:49.677Z] /w/workspace/ndry_ci-build-images_golang-1.23@tmp/durable-92ff514a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-03T03:08:50.389Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-03T03:08:50.457Z] Warning: overwriting stash ‘stack-cost’ [2024-10-03T03:08:50.892Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T03:08:50.934Z] Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-golang-1.23-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T03:08:51.038Z] $ docker stop --time=1 ed56e411ae50752426bfe2bc8d33f92e0e8080c6ddbeeaff016fd7f54c61e45e [2024-10-03T03:08:52.560Z] $ docker rm -f --volumes ed56e411ae50752426bfe2bc8d33f92e0e8080c6ddbeeaff016fd7f54c61e45e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-03T03:08:54.580Z] + [ -d /w/workspace/ndry_ci-build-images_golang-1.23/archives ] [2024-10-03T03:08:54.580Z] + ls -al /w/workspace/ndry_ci-build-images_golang-1.23/archives [2024-10-03T03:08:54.580Z] total 16 [2024-10-03T03:08:54.580Z] drwxr-xr-x 3 root root 4096 Oct 3 03:05 . [2024-10-03T03:08:54.580Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 03:05 .. [2024-10-03T03:08:54.580Z] drwxr-xr-x 2 root root 4096 Oct 3 03:05 cost [2024-10-03T03:08:54.580Z] -rw-r--r-- 1 root root 92 Oct 3 03:05 cost.csv [2024-10-03T03:08:54.580Z] + sudo chown -R jenkins:jenkins /w/workspace/ndry_ci-build-images_golang-1.23/archives [2024-10-03T03:08:54.580Z] + ls -al /w/workspace/ndry_ci-build-images_golang-1.23/archives [2024-10-03T03:08:54.580Z] total 16 [2024-10-03T03:08:54.580Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:05 . [2024-10-03T03:08:54.580Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 03:05 .. [2024-10-03T03:08:54.580Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:05 cost [2024-10-03T03:08:54.580Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 3 03:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:08:54.930Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:08:55.848Z] ---> package-listing.sh [2024-10-03T03:08:55.848Z] ++ facter osfamily [2024-10-03T03:08:55.848Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T03:08:55.848Z] + OS_FAMILY=debian [2024-10-03T03:08:55.848Z] + workspace=/w/workspace/ndry_ci-build-images_golang-1.23 [2024-10-03T03:08:55.848Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T03:08:55.848Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T03:08:55.848Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T03:08:55.848Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T03:08:55.848Z] + '[' /w/workspace/ndry_ci-build-images_golang-1.23 ']' [2024-10-03T03:08:55.848Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T03:08:55.848Z] + case "${OS_FAMILY}" in [2024-10-03T03:08:55.848Z] + dpkg -l [2024-10-03T03:08:55.848Z] + grep '^ii' [2024-10-03T03:08:56.108Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T03:08:56.108Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T03:08:56.108Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T03:08:56.108Z] + '[' /w/workspace/ndry_ci-build-images_golang-1.23 ']' [2024-10-03T03:08:56.108Z] + mkdir -p /w/workspace/ndry_ci-build-images_golang-1.23/archives/ [2024-10-03T03:08:56.108Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_ci-build-images_golang-1.23/archives/ [Pipeline] echo [2024-10-03T03:08:56.149Z] 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/ndry_ci-build-images_golang-1.23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-03T03:08:56.454Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:08:57.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:08:57.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:08:57.273Z] prd-ubuntu20.04-docker-8c-8g-13153 does not seem to be running inside a container [2024-10-03T03:08:57.308Z] $ 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/ndry_ci-build-images_golang-1.23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_ci-build-images_golang-1.23 -v /w/workspace/ndry_ci-build-images_golang-1.23:/w/workspace/ndry_ci-build-images_golang-1.23:rw,z -v /w/workspace/ndry_ci-build-images_golang-1.23@tmp:/w/workspace/ndry_ci-build-images_golang-1.23@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T03:08:57.554Z] $ docker top 636f6c01ab7d393462742c233ff21df50577ce7d65ad65b57d4ade1d2b483d90 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T03:08:57.992Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T03:08:58.309Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T03:08:58.624Z] + ls /var/log/sa-host [2024-10-03T03:08:58.624Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:08:58.905Z] provisioning config files... [2024-10-03T03:08:58.916Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_ci-build-images_golang-1.23@tmp/config17254536994403541688tmp [Pipeline] { [Pipeline] echo [2024-10-03T03:08:58.994Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:08:59.313Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T03:08:59.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:08:59.890Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T03:08:59.929Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:09:00.259Z] ---> sudo-logs.sh [2024-10-03T03:09:00.259Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T03:09:00.366Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:09:00.727Z] ---> job-cost.sh [2024-10-03T03:09:00.727Z] lf-activate-venv: SKIPPING [2024-10-03T03:09:00.727Z] DEBUG: total: 0.2199999988079071 [2024-10-03T03:09:00.727Z] INFO: Retrieving Stack Cost... [2024-10-03T03:09:00.987Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T03:09:01.567Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T03:09:01.613Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:09:01.949Z] ---> logs-deploy.sh [2024-10-03T03:09:01.949Z] lf-activate-venv: SKIPPING [2024-10-03T03:09:01.949Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/golang-1.23/1 [2024-10-03T03:09:01.949Z] INFO: archiving workspace using pattern(s): [2024-10-03T03:09:02.888Z] Archives upload complete. [2024-10-03T03:09:02.888Z] INFO: archiving logs to Nexus