Started by user Jin Lin Guan Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/sample-service Obtained Jenkinsfile from eb869c661586b1b6b4d3a43b635254038c5246fa+84423b89ce30e37f30f8c64be74fe5fa8ac28ccc (58c3fa9b8099333c00e2f274e26e6a9ca74396cc) Loading library edgex-global-pipelines@experimental Attempting to resolve experimental 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-ssh1368643110649231766.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision dcef9c4e8f235ec932d60b058fe8b246b0e2a5ee 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-ssh14666002318289901583.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/experimental^{commit} # timeout=10 Resolved tag experimental revision dcef9c4e8f235ec932d60b058fe8b246b0e2a5ee The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/sample-service/branches/PR-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/sample-service/branches/PR-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2038474783472564495.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dcef9c4e8f235ec932d60b058fe8b246b0e2a5ee (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f dcef9c4e8f235ec932d60b058fe8b246b0e2a5ee # timeout=10 Commit message: "test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3176392314846498225.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/sample-service/branches/PR-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/sample-service/branches/PR-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5361023246976397753.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:sample-service] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: sample-service-settings PROJECT: sample-service USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: sample-service DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-44740 in /w/workspace/gexfoundry_sample-service_PR-165 [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/sample-service.git > git init /w/workspace/gexfoundry_sample-service_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.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/sample-service.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.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/sample-service.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit eb869c661586b1b6b4d3a43b635254038c5246fa Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) > git config core.sparsecheckout # timeout=10 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # 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 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 Commit message: "ci: test multi-arch pipeline" > git rev-list --no-walk eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:53:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:53:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:53:53 ========================================================= 01:53:53 EdgeX Global Pipelines Version Info 01:53:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:53:54 ------------------- 01:53:54 stable info: 01:53:54 ------------------- 01:53:54 Commited By: Ginny Guan ginny@iotechsys.com 01:53:54 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:53:54 Message: update stable to v1.0.274 01:53:54 ------------------- 01:53:54 experimental info: 01:53:54 ------------------- 01:53:54 Commited By: Ginny Guan ginny@iotechsys.com 01:53:54 Commit SHA: dcef9c4e8f235ec932d60b058fe8b246b0e2a5ee 01:53:54 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:53:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 01:53:54 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 01:53:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:53:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:53:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo 01:53:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:55 provisioning config files... 01:53:55 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config12558793326764453304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:56 ---> ****-login.sh 01:53:56 nexus3.edgexfoundry.org:10001 01:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:56 Configure a credential helper to remove this warning. See 01:53:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:56 01:53:56 Login Succeeded 01:53:56 nexus3.edgexfoundry.org:10002 01:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:56 Configure a credential helper to remove this warning. See 01:53:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:56 01:53:56 Login Succeeded 01:53:56 nexus3.edgexfoundry.org:10003 01:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:56 Configure a credential helper to remove this warning. See 01:53:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:56 01:53:56 Login Succeeded 01:53:56 nexus3.edgexfoundry.org:10004 01:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:56 Configure a credential helper to remove this warning. See 01:53:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:56 01:53:56 Login Succeeded 01:53:56 ****.io 01:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:56 Configure a credential helper to remove this warning. See 01:53:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:56 01:53:56 Login Succeeded 01:53:56 ---> ****-login.sh ends [Pipeline] } 01:53:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:53:57 + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 01:53:57 -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh 01:53:57 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 01:53:57 ========================================================= 01:53:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:53:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:53:58 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 01:53:58 [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 01:53:58 [semverPrep] This is not a build commit. [Pipeline] sh 01:53:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:53:58 + grep -v github /etc/ssh/ssh_known_hosts 01:53:58 + [ -e /tmp/ssh_known_hosts ] 01:53:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:53:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:53:58 + sudo tee -a /etc/ssh/ssh_known_hosts 01:53:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:53:59 01:53:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:53:59 0.1.4: Pulling from edgex-devops/py-git-semver 01:53:59 b85a868b505f: Pulling fs layer 01:53:59 e2be974225ed: Pulling fs layer 01:53:59 339a4e72a1f5: Pulling fs layer 01:53:59 988bab9f4d93: Pulling fs layer 01:53:59 1469e6f7b9e6: Pulling fs layer 01:53:59 eaf3925da568: Pulling fs layer 01:53:59 bab4dde63d76: Pulling fs layer 01:53:59 bde34c3a00c8: Pulling fs layer 01:53:59 b352a97aabf1: Pulling fs layer 01:53:59 4872d77fe225: Pulling fs layer 01:53:59 5851b861e8e6: Pulling fs layer 01:53:59 5851b861e8e6: Waiting 01:53:59 eaf3925da568: Waiting 01:53:59 bab4dde63d76: Waiting 01:53:59 4872d77fe225: Waiting 01:53:59 b352a97aabf1: Waiting 01:53:59 bde34c3a00c8: Waiting 01:53:59 988bab9f4d93: Waiting 01:53:59 1469e6f7b9e6: Waiting 01:53:59 e2be974225ed: Verifying Checksum 01:53:59 e2be974225ed: Download complete 01:53:59 988bab9f4d93: Verifying Checksum 01:53:59 988bab9f4d93: Download complete 01:53:59 1469e6f7b9e6: Verifying Checksum 01:53:59 1469e6f7b9e6: Download complete 01:53:59 339a4e72a1f5: Verifying Checksum 01:53:59 339a4e72a1f5: Download complete 01:53:59 eaf3925da568: Verifying Checksum 01:53:59 eaf3925da568: Download complete 01:53:59 bde34c3a00c8: Verifying Checksum 01:53:59 bde34c3a00c8: Download complete 01:53:59 b352a97aabf1: Verifying Checksum 01:53:59 b352a97aabf1: Download complete 01:53:59 4872d77fe225: Download complete 01:53:59 5851b861e8e6: Verifying Checksum 01:53:59 5851b861e8e6: Download complete 01:53:59 b85a868b505f: Verifying Checksum 01:53:59 b85a868b505f: Download complete 01:54:00 bab4dde63d76: Verifying Checksum 01:54:00 bab4dde63d76: Download complete 01:54:00 b85a868b505f: Pull complete 01:54:00 e2be974225ed: Pull complete 01:54:01 339a4e72a1f5: Pull complete 01:54:01 988bab9f4d93: Pull complete 01:54:01 1469e6f7b9e6: Pull complete 01:54:01 eaf3925da568: Pull complete 01:54:03 bab4dde63d76: Pull complete 01:54:03 bde34c3a00c8: Pull complete 01:54:03 b352a97aabf1: Pull complete 01:54:03 4872d77fe225: Pull complete 01:54:03 5851b861e8e6: Pull complete 01:54:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:54:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:03 prd-ubuntu20.04-docker-8c-8g-44740 does not seem to be running inside a container 01:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:54:05 $ docker top 86665b6723d7d7e5eca84aa0500b05f63381b3e51fba6fae8f13d72b96d49d0b -eo pid,comm 01:54:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:54:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:54:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:06 [ssh-agent] Looking for ssh-agent implementation... 01:54:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:06 $ docker exec 86665b6723d7d7e5eca84aa0500b05f63381b3e51fba6fae8f13d72b96d49d0b ssh-agent 01:54:06 SSH_AUTH_SOCK=/tmp/ssh-wi7rfDLKshg7/agent.32 01:54:06 SSH_AGENT_PID=38 01:54:06 Running ssh-add (command line suppressed) 01:54:06 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_17517526694944379419.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_17517526694944379419.key) 01:54:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:06 + git tag --points-at HEAD [Pipeline] } 01:54:06 $ docker exec --env ******** --env ******** 86665b6723d7d7e5eca84aa0500b05f63381b3e51fba6fae8f13d72b96d49d0b ssh-agent -k 01:54:06 unset SSH_AUTH_SOCK; 01:54:06 unset SSH_AGENT_PID; 01:54:06 echo Agent pid 38 killed; 01:54:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:54:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:06 [ssh-agent] Looking for ssh-agent implementation... 01:54:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:07 $ docker exec 86665b6723d7d7e5eca84aa0500b05f63381b3e51fba6fae8f13d72b96d49d0b ssh-agent 01:54:07 SSH_AUTH_SOCK=/tmp/ssh-5z28h4Asv7Cz/agent.71 01:54:07 SSH_AGENT_PID=77 01:54:07 Running ssh-add (command line suppressed) 01:54:07 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_8611861989461801740.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_8611861989461801740.key) 01:54:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:07 + git semver init 01:54:07 2025-04-11 01:54:07,777 [run_init] DEBUG init version:0.0.0 force:False 01:54:07 2025-04-11 01:54:07,778 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 01:54:07 2025-04-11 01:54:07,778 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 01:54:07 2025-04-11 01:54:07,778 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/sample-service.git', '/w/workspace/gexfoundry_sample-service_PR-165/.semver'], cwd=/w/workspace/gexfoundry_sample-service_PR-165, universal_newlines=False, shell=None, istream=None) 01:54:08 2025-04-11 01:54:08,400 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 01:54:08 2025-04-11 01:54:08,401 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 01:54:08 2025-04-11 01:54:08,401 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 01:54:08 2025-04-11 01:54:08,406 [execute] INFO git cat-file --batch-check 01:54:08 2025-04-11 01:54:08,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 01:54:08 2025-04-11 01:54:08,414 [execute] INFO git cat-file --batch 01:54:08 2025-04-11 01:54:08,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 01:54:08 2025-04-11 01:54:08,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 01:54:08 0.0.0 [Pipeline] } 01:54:08 $ docker exec --env ******** --env ******** 86665b6723d7d7e5eca84aa0500b05f63381b3e51fba6fae8f13d72b96d49d0b ssh-agent -k 01:54:08 unset SSH_AUTH_SOCK; 01:54:08 unset SSH_AGENT_PID; 01:54:08 echo Agent pid 77 killed; 01:54:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:54:08 + git semver [Pipeline] } 01:54:09 $ docker stop --time=1 86665b6723d7d7e5eca84aa0500b05f63381b3e51fba6fae8f13d72b96d49d0b 01:54:10 $ docker rm -f --volumes 86665b6723d7d7e5eca84aa0500b05f63381b3e51fba6fae8f13d72b96d49d0b [Pipeline] // withDockerContainer [Pipeline] sh 01:54:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:54:11 Stashed 1 file(s) [Pipeline] echo 01:54:11 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] node 01:54:26 Still waiting to schedule task 01:54:26 All nodes of label ‘centos7-docker-4c-2g’ are offline 01:55:21 Running on prd-centos7-docker-4c-2g-44741 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] ws 01:55:21 Running in /w/workspace/sample-service/35 [Pipeline] { [Pipeline] checkout 01:55:24 Selected Git installation does not exist. Using Default 01:55:24 The recommended git tool is: NONE 01:55:27 using credential edgex-jenkins-ssh 01:55:27 Cloning the remote Git repository 01:55:27 Cloning repository git@github.com:edgexfoundry/sample-service.git 01:55:27 > git init /w/workspace/sample-service/35 # timeout=10 01:55:27 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git 01:55:27 > git --version # timeout=10 01:55:27 > git --version # 'git version 2.36.1' 01:55:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:55:27 [INFO] Currently running in a labeled security context 01:55:27 [INFO] Currently SELinux is 'enforcing' on the host 01:55:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/sample-service/35@tmp/jenkins-gitclient-ssh2869354872070971613.key 01:55:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:55:28 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 01:55:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:55:29 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit eb869c661586b1b6b4d3a43b635254038c5246fa 01:55:29 Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa 01:55:29 Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) 01:55:28 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 01:55:28 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git 01:55:28 using GIT_SSH to set credentials SSH Credentials for GitHub 01:55:28 [INFO] Currently running in a labeled security context 01:55:28 [INFO] Currently SELinux is 'enforcing' on the host 01:55:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/sample-service/35@tmp/jenkins-gitclient-ssh14374468893448601659.key 01:55:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:55:29 > git config core.sparsecheckout # timeout=10 01:55:29 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 01:55:29 > git remote # timeout=10 01:55:29 > git config --get remote.origin.url # timeout=10 01:55:29 using GIT_SSH to set credentials SSH Credentials for GitHub 01:55:29 [INFO] Currently running in a labeled security context 01:55:29 [INFO] Currently SELinux is 'enforcing' on the host 01:55:29 > /usr/bin/chcon --type=ssh_home_t /w/workspace/sample-service/35@tmp/jenkins-gitclient-ssh9717528889779241210.key 01:55:29 > git merge 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc # timeout=10 01:55:29 > git rev-parse HEAD^{commit} # timeout=10 01:55:29 > git config core.sparsecheckout # timeout=10 01:55:29 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 01:55:32 Commit message: "ci: test multi-arch pipeline" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:33 provisioning config files... 01:55:33 copy managed file [sample-service-settings] to file:/w/workspace/sample-service/35@tmp/config4925327682358946449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:34 ---> ****-login.sh 01:55:34 nexus3.edgexfoundry.org:10001 01:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:55:34 Configure a credential helper to remove this warning. See 01:55:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:55:34 01:55:34 Login Succeeded 01:55:34 nexus3.edgexfoundry.org:10002 01:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:55:34 Configure a credential helper to remove this warning. See 01:55:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:55:34 01:55:34 Login Succeeded 01:55:34 nexus3.edgexfoundry.org:10003 01:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:55:34 Configure a credential helper to remove this warning. See 01:55:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:55:34 01:55:34 Login Succeeded 01:55:34 nexus3.edgexfoundry.org:10004 01:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:55:34 Configure a credential helper to remove this warning. See 01:55:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:55:34 01:55:34 Login Succeeded 01:55:34 ****.io 01:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:55:34 Configure a credential helper to remove this warning. See 01:55:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:55:34 01:55:34 Login Succeeded 01:55:34 ---> ****-login.sh ends [Pipeline] } 01:55:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 01:55:35 + docker buildx ls 01:55:35 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:55:35 default * docker 01:55:35 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:55:36 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:55:36 edgex-builder [Pipeline] sh 01:55:36 + docker buildx inspect --bootstrap 01:55:36 #1 [internal] booting buildkit 01:55:36 #1 pulling image moby/buildkit:buildx-stable-1 01:55:39 #1 pulling image moby/buildkit:buildx-stable-1 3.0s done 01:55:39 #1 creating container buildx_buildkit_edgex-builder0 01:55:42 #1 creating container buildx_buildkit_edgex-builder0 2.6s done 01:55:42 #1 DONE 5.6s 01:55:42 Name: edgex-builder 01:55:42 Driver: docker-container 01:55:42 01:55:42 Nodes: 01:55:42 Name: edgex-builder0 01:55:42 Endpoint: unix:///var/run/docker.sock 01:55:42 Status: running 01:55:42 Buildkit: v0.20.2 01:55:42 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 01:55:42 + docker buildx ls 01:55:42 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:55:42 edgex-builder * docker-container 01:55:42 edgex-builder0 unix:///var/run/docker.sock running v0.20.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:55:42 default docker 01:55:42 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:55:42 + DOCKER_BUILDKIT=1 01:55:42 + docker buildx build --platform linux/amd64,linux/arm64 -f Dockerfile --build-arg 'MAKE=make build' -t nexus3.edgexfoundry.org:10004/sample-service:latest --push . 01:55:43 #1 [internal] load build definition from Dockerfile 01:55:43 #1 transferring dockerfile: 1.53kB done 01:55:43 #1 DONE 0.0s 01:55:43 01:55:43 #2 [auth] library/golang:pull token for registry-1.docker.io 01:55:43 #2 DONE 0.0s 01:55:43 01:55:43 #3 [auth] library/alpine:pull token for registry-1.docker.io 01:55:43 #3 DONE 0.0s 01:55:43 01:55:43 #4 [linux/amd64 internal] load metadata for docker.io/library/golang:1.21-alpine3.18 01:55:43 #4 DONE 0.6s 01:55:43 01:55:43 #5 [linux/arm64 internal] load metadata for docker.io/library/alpine:3.18 01:55:43 #5 DONE 0.6s 01:55:43 01:55:43 #6 [linux/arm64 internal] load metadata for docker.io/library/golang:1.21-alpine3.18 01:55:43 #6 DONE 0.6s 01:55:43 01:55:43 #7 [linux/amd64 internal] load metadata for docker.io/library/alpine:3.18 01:55:43 #7 DONE 0.6s 01:55:43 01:55:43 #8 [internal] load .dockerignore 01:55:43 #8 transferring context: 2B done 01:55:43 #8 DONE 0.0s 01:55:43 01:55:43 #9 [internal] load build context 01:55:43 #9 DONE 0.0s 01:55:43 01:55:43 #10 [linux/arm64 stage-1 1/4] FROM docker.io/library/alpine:3.18@sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 01:55:43 #10 resolve docker.io/library/alpine:3.18@sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 0.0s done 01:55:43 #10 DONE 0.0s 01:55:43 01:55:43 #11 [linux/amd64 stage-1 1/4] FROM docker.io/library/alpine:3.18@sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 01:55:43 #11 resolve docker.io/library/alpine:3.18@sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 0.0s done 01:55:44 #11 ... 01:55:44 01:55:44 #9 [internal] load build context 01:55:44 #9 transferring context: 1.35MB 0.1s done 01:55:44 #9 DONE 0.1s 01:55:44 01:55:44 #11 [linux/amd64 stage-1 1/4] FROM docker.io/library/alpine:3.18@sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 01:55:44 #11 sha256:44cf07d57ee4424189f012074a59110ee2065adfdde9c7d9826bebdffce0a885 3.42MB / 3.42MB 0.2s 01:55:44 #11 sha256:44cf07d57ee4424189f012074a59110ee2065adfdde9c7d9826bebdffce0a885 3.42MB / 3.42MB 0.2s done 01:55:44 #11 extracting sha256:44cf07d57ee4424189f012074a59110ee2065adfdde9c7d9826bebdffce0a885 01:55:44 #11 extracting sha256:44cf07d57ee4424189f012074a59110ee2065adfdde9c7d9826bebdffce0a885 0.2s done 01:55:44 #11 DONE 0.5s 01:55:44 01:55:44 #12 [linux/arm64 builder 1/7] FROM docker.io/library/golang:1.21-alpine3.18@sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d 01:55:44 #12 resolve docker.io/library/golang:1.21-alpine3.18@sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d 0.0s done 01:55:44 #12 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 01:55:44 #12 sha256:788e89ea89d463b8bcafc4d5b552bddaa08b72930505c3e5b6917da512bca47c 127B / 127B 0.0s done 01:55:44 #12 sha256:84613e011ca8867fd82ad1a4602a9c5ca1629a8c52b91548ba0a8ce39bc63bd6 295.84kB / 295.84kB 0.1s done 01:55:44 #12 sha256:c6b39de5b33961661dc939b997cc1d30cda01e38005a6c6625fd9c7e748bab44 3.33MB / 3.33MB 0.1s done 01:55:44 #12 sha256:0c9a7eb7dd16a3cb705d643f2c1b3ccb0cce9120eef39b1b1844864195af6c32 13.63MB / 64.11MB 0.2s 01:55:44 #12 ... 01:55:44 01:55:44 #10 [linux/arm64 stage-1 1/4] FROM docker.io/library/alpine:3.18@sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 01:55:44 #10 sha256:95459497489f07b9d71d294c852a09f9bbf1af51bb35db752a31f6f48935e293 3.34MB / 3.34MB 0.3s done 01:55:44 #10 extracting sha256:95459497489f07b9d71d294c852a09f9bbf1af51bb35db752a31f6f48935e293 0.2s done 01:55:44 #10 DONE 0.6s 01:55:44 01:55:44 #12 [linux/arm64 builder 1/7] FROM docker.io/library/golang:1.21-alpine3.18@sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d 01:55:44 #12 sha256:0c9a7eb7dd16a3cb705d643f2c1b3ccb0cce9120eef39b1b1844864195af6c32 35.65MB / 64.11MB 0.3s 01:55:44 #12 extracting sha256:c6b39de5b33961661dc939b997cc1d30cda01e38005a6c6625fd9c7e748bab44 01:55:44 #12 sha256:0c9a7eb7dd16a3cb705d643f2c1b3ccb0cce9120eef39b1b1844864195af6c32 59.77MB / 64.11MB 0.5s 01:55:44 #12 sha256:0c9a7eb7dd16a3cb705d643f2c1b3ccb0cce9120eef39b1b1844864195af6c32 64.11MB / 64.11MB 0.6s 01:55:45 #12 extracting sha256:c6b39de5b33961661dc939b997cc1d30cda01e38005a6c6625fd9c7e748bab44 0.9s done 01:55:45 #12 extracting sha256:84613e011ca8867fd82ad1a4602a9c5ca1629a8c52b91548ba0a8ce39bc63bd6 01:55:45 #12 sha256:0c9a7eb7dd16a3cb705d643f2c1b3ccb0cce9120eef39b1b1844864195af6c32 64.11MB / 64.11MB 1.2s done 01:55:45 #12 extracting sha256:84613e011ca8867fd82ad1a4602a9c5ca1629a8c52b91548ba0a8ce39bc63bd6 0.1s done 01:55:45 #12 extracting sha256:0c9a7eb7dd16a3cb705d643f2c1b3ccb0cce9120eef39b1b1844864195af6c32 01:55:48 #12 extracting sha256:0c9a7eb7dd16a3cb705d643f2c1b3ccb0cce9120eef39b1b1844864195af6c32 2.9s done 01:55:48 #12 extracting sha256:788e89ea89d463b8bcafc4d5b552bddaa08b72930505c3e5b6917da512bca47c 0.0s done 01:55:48 #12 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0.1s done 01:55:48 #12 DONE 4.6s 01:55:48 01:55:48 #13 [linux/amd64 builder 1/7] FROM docker.io/library/golang:1.21-alpine3.18@sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d 01:55:48 #13 resolve docker.io/library/golang:1.21-alpine3.18@sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d 0.0s done 01:55:48 #13 sha256:0406650e82959e8bef670a6825ebc6caab141ed9ad0670923af9d5998de85b1b 126B / 126B 0.1s done 01:55:48 #13 sha256:91320369b822ebdafa53385de29218150ed2e0c9432c803ae9ab0917b1c13e05 67.01MB / 67.01MB 2.1s done 01:55:48 #13 sha256:619be1103602d98e1963557998c954c892b3872986c27365e9f651f5bc27cab8 3.40MB / 3.40MB 0.2s done 01:55:48 #13 sha256:f8ea3408117e6ad5da2610d98c7aaaa6ab17d9280a7f00e54b78f4a8af1a13e6 293.39kB / 293.39kB 0.2s done 01:55:48 #13 extracting sha256:619be1103602d98e1963557998c954c892b3872986c27365e9f651f5bc27cab8 0.9s done 01:55:48 #13 extracting sha256:f8ea3408117e6ad5da2610d98c7aaaa6ab17d9280a7f00e54b78f4a8af1a13e6 0.1s done 01:55:48 #13 extracting sha256:91320369b822ebdafa53385de29218150ed2e0c9432c803ae9ab0917b1c13e05 01:55:51 #13 extracting sha256:91320369b822ebdafa53385de29218150ed2e0c9432c803ae9ab0917b1c13e05 5.0s done 01:55:51 #13 extracting sha256:0406650e82959e8bef670a6825ebc6caab141ed9ad0670923af9d5998de85b1b 01:55:52 #13 extracting sha256:0406650e82959e8bef670a6825ebc6caab141ed9ad0670923af9d5998de85b1b 1.3s done 01:55:52 #13 DONE 8.8s 01:55:52 01:55:52 #14 [linux/arm64 builder 2/7] RUN apk add --no-cache build-base git openssh-client 01:55:53 #14 ... 01:55:53 01:55:53 #13 [linux/amd64 builder 1/7] FROM docker.io/library/golang:1.21-alpine3.18@sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d 01:55:53 #13 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0.6s done 01:55:53 #13 DONE 9.4s 01:55:53 01:55:53 #15 [linux/amd64 builder 2/7] RUN apk add --no-cache build-base git openssh-client 01:55:55 #15 1.822 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:55:55 #15 CANCELED 01:55:55 01:55:55 #14 [linux/arm64 builder 2/7] RUN apk add --no-cache build-base git openssh-client 01:55:55 #14 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}" did not complete successfully: failed to copy xattrs: failed to set xattr "security.selinux" on /tmp/buildkit-qemu-emulator4217536147/dev/.buildkit_qemu_emulator: operation not supported 01:55:55 ------ 01:55:55 > [linux/arm64 builder 2/7] RUN apk add --no-cache build-base git openssh-client : 01:55:55 ------ 01:55:55 Dockerfile:26 01:55:55 -------------------- 01:55:55 24 | copyright='Copyright (c) 2023: Intel' 01:55:55 25 | 01:55:55 26 | >>> RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:55:55 27 | 01:55:55 28 | WORKDIR /sample-service 01:55:55 -------------------- 01:55:55 ERROR: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}" did not complete successfully: failed to copy xattrs: failed to set xattr "security.selinux" on /tmp/buildkit-qemu-emulator4217536147/dev/.buildkit_qemu_emulator: operation not supported [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] cleanWs 01:55:55 [WS-CLEANUP] Deleting project workspace... 01:55:55 [WS-CLEANUP] Deferred wipeout is used... 01:55:55 [WS-CLEANUP] done [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:55:55 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:55:56 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [Pipeline] libraryResource [Pipeline] sh 01:55:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:55:57 ---> package-listing.sh 01:55:57 ++ facter osfamily 01:55:57 ++ tr '[:upper:]' '[:lower:]' 01:55:57 + OS_FAMILY=debian 01:55:57 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 01:55:57 + START_PACKAGES=/tmp/packages_start.txt 01:55:57 + END_PACKAGES=/tmp/packages_end.txt 01:55:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:55:57 + PACKAGES=/tmp/packages_start.txt 01:55:57 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 01:55:57 + PACKAGES=/tmp/packages_end.txt 01:55:57 + case "${OS_FAMILY}" in 01:55:57 + dpkg -l 01:55:57 + grep '^ii' 01:55:57 + '[' -f /tmp/packages_start.txt ']' 01:55:57 + '[' -f /tmp/packages_end.txt ']' 01:55:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:55:57 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 01:55:57 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 01:55:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 01:55:57 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/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:55:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:55:58 01:55:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:55:59 latest: Pulling from edgex-lftools-log-publisher 01:55:59 5eb5b503b376: Pulling fs layer 01:55:59 5c69ac0246d0: Pulling fs layer 01:55:59 ec43610c2a17: Pulling fs layer 01:55:59 3a2ae6a8a46f: Pulling fs layer 01:55:59 33b1e0a273af: Pulling fs layer 01:55:59 5d3b04190fa2: Pulling fs layer 01:55:59 2f39f015ded8: Pulling fs layer 01:55:59 3a2ae6a8a46f: Waiting 01:55:59 33b1e0a273af: Waiting 01:55:59 5d3b04190fa2: Waiting 01:55:59 2f39f015ded8: Waiting 01:55:59 5c69ac0246d0: Verifying Checksum 01:55:59 5c69ac0246d0: Download complete 01:55:59 3a2ae6a8a46f: Verifying Checksum 01:55:59 3a2ae6a8a46f: Download complete 01:55:59 33b1e0a273af: Verifying Checksum 01:55:59 33b1e0a273af: Download complete 01:55:59 5d3b04190fa2: Verifying Checksum 01:55:59 5d3b04190fa2: Download complete 01:55:59 ec43610c2a17: Verifying Checksum 01:55:59 ec43610c2a17: Download complete 01:55:59 5eb5b503b376: Verifying Checksum 01:55:59 5eb5b503b376: Download complete 01:55:59 2f39f015ded8: Download complete 01:56:00 5eb5b503b376: Pull complete 01:56:00 5c69ac0246d0: Pull complete 01:56:01 ec43610c2a17: Pull complete 01:56:01 3a2ae6a8a46f: Pull complete 01:56:01 33b1e0a273af: Pull complete 01:56:01 5d3b04190fa2: Pull complete 01:56:05 2f39f015ded8: Pull complete 01:56:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:56:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:05 prd-ubuntu20.04-docker-8c-8g-44740 does not seem to be running inside a container 01:56:05 $ 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/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:56:07 $ docker top 56e359a586035b1d65b4fb3e6021f87cfbc507ccae6c835b59832e87cce9beaf -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:08 + touch /tmp/pre-build-complete [Pipeline] sh 01:56:08 + mkdir -p /var/log/sysstat [Pipeline] sh 01:56:08 + ls /var/log/sa-host 01:56:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:09 provisioning config files... 01:56:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config674310790940109678tmp [Pipeline] { [Pipeline] echo 01:56:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:56:09 ---> create-netrc.sh [Pipeline] } 01:56:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:56:09 ---> python-tools-install.sh [Pipeline] echo 01:56:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:56:10 ---> sudo-logs.sh 01:56:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:56:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:56:10 ---> job-cost.sh 01:56:10 lf-activate-venv: SKIPPING 01:56:10 INFO: No Stack... 01:56:10 INFO: Retrieving Pricing Info for: v3-standard-8 01:56:11 INFO: Archiving Costs [Pipeline] echo 01:56:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:56:11 ---> logs-deploy.sh 01:56:11 lf-activate-venv: SKIPPING 01:56:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/35 01:56:11 INFO: archiving workspace using pattern(s): 01:56:12 Archives upload complete. 01:56:12 INFO: archiving logs to Nexus