Pull request #413 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 03d48d99ee3cb45f5402866c5c33b3983d25ae6c+735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (1a0820ecb196d29f7d6b20c62709f73ada3e3284) 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-ssh14580931752069408235.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh9498466370588706840.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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/device-rest-go/branches/PR-413/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/device-rest-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5958039935648640530.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/device-rest-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12467797320338791031.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh18272950340940002292.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/device-rest-go/branches/PR-413/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/device-rest-go/branches/PR-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15461005886839347537.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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:device-rest-go] ========================================================= [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: device-rest-go-settings PROJECT: device-rest-go 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: device-rest 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15473 in /w/workspace/gexfoundry_device-rest-go_PR-413 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-413 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit 03d48d99ee3cb45f5402866c5c33b3983d25ae6c Merge succeeded, producing 03d48d99ee3cb45f5402866c5c33b3983d25ae6c Checking out Revision 03d48d99ee3cb45f5402866c5c33b3983d25ae6c (PR-413) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 03d48d99ee3cb45f5402866c5c33b3983d25ae6c # 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 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03d48d99ee3cb45f5402866c5c33b3983d25ae6c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:40:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:40:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:40:41 ========================================================= 20:40:41 EdgeX Global Pipelines Version Info 20:40:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:40:42 ------------------- 20:40:42 stable info: 20:40:42 ------------------- 20:40:42 Commited By: Ginny Guan ginny@iotechsys.com 20:40:42 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 20:40:42 Message: update stable to v1.0.265 20:40:42 ------------------- 20:40:42 experimental info: 20:40:42 ------------------- 20:40:42 Commited By: Cherry Wang cherry@iotechsys.com 20:40:42 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:40:42 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:40:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03d48d9 [Pipeline] echo 20:40:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:40:45 provisioning config files... 20:40:45 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/config4592923214191410088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:45 ---> ****-login.sh 20:40:45 nexus3.edgexfoundry.org:10001 20:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:46 Configure a credential helper to remove this warning. See 20:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:46 20:40:46 Login Succeeded 20:40:46 nexus3.edgexfoundry.org:10002 20:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:46 Configure a credential helper to remove this warning. See 20:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:46 20:40:46 Login Succeeded 20:40:46 nexus3.edgexfoundry.org:10003 20:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:46 Configure a credential helper to remove this warning. See 20:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:46 20:40:46 Login Succeeded 20:40:46 nexus3.edgexfoundry.org:10004 20:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:46 Configure a credential helper to remove this warning. See 20:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:46 20:40:46 Login Succeeded 20:40:46 ****.io 20:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:46 Configure a credential helper to remove this warning. See 20:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:46 20:40:46 Login Succeeded 20:40:46 ---> ****-login.sh ends [Pipeline] } 20:40:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:40:47 + git rev-list -1 --merges 03d48d99ee3cb45f5402866c5c33b3983d25ae6c~1..03d48d99ee3cb45f5402866c5c33b3983d25ae6c [Pipeline] echo 20:40:47 -----------> git rev-list -1 --merges 03d48d99ee3cb45f5402866c5c33b3983d25ae6c~1..03d48d99ee3cb45f5402866c5c33b3983d25ae6c 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [false] [Pipeline] sh 20:40:47 + git log --format=format:%s -1 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [Pipeline] echo 20:40:47 ========================================================= 20:40:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:40:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:48 + git log --format=format:%s -1 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [Pipeline] echo 20:40:48 [semverPrep] GIT_COMMIT: 03d48d99ee3cb45f5402866c5c33b3983d25ae6c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:40:48 [semverPrep] This is not a build commit. [Pipeline] sh 20:40:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:40:48 + grep -v github /etc/ssh/ssh_known_hosts 20:40:48 + [ -e /tmp/ssh_known_hosts ] 20:40:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:40:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:40:48 + sudo tee -a /etc/ssh/ssh_known_hosts 20:40:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:49 20:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:49 0.1.4: Pulling from edgex-devops/py-git-semver 20:40:49 b85a868b505f: Pulling fs layer 20:40:49 e2be974225ed: Pulling fs layer 20:40:49 339a4e72a1f5: Pulling fs layer 20:40:49 988bab9f4d93: Pulling fs layer 20:40:49 1469e6f7b9e6: Pulling fs layer 20:40:49 eaf3925da568: Pulling fs layer 20:40:49 bab4dde63d76: Pulling fs layer 20:40:49 bde34c3a00c8: Pulling fs layer 20:40:49 b352a97aabf1: Pulling fs layer 20:40:49 4872d77fe225: Pulling fs layer 20:40:49 5851b861e8e6: Pulling fs layer 20:40:49 bab4dde63d76: Waiting 20:40:49 bde34c3a00c8: Waiting 20:40:49 5851b861e8e6: Waiting 20:40:49 b352a97aabf1: Waiting 20:40:49 eaf3925da568: Waiting 20:40:49 4872d77fe225: Waiting 20:40:49 988bab9f4d93: Waiting 20:40:49 1469e6f7b9e6: Waiting 20:40:49 e2be974225ed: Verifying Checksum 20:40:49 e2be974225ed: Download complete 20:40:49 988bab9f4d93: Verifying Checksum 20:40:49 988bab9f4d93: Download complete 20:40:49 1469e6f7b9e6: Verifying Checksum 20:40:49 1469e6f7b9e6: Download complete 20:40:49 eaf3925da568: Verifying Checksum 20:40:49 eaf3925da568: Download complete 20:40:49 339a4e72a1f5: Verifying Checksum 20:40:49 339a4e72a1f5: Download complete 20:40:49 bde34c3a00c8: Download complete 20:40:49 b352a97aabf1: Verifying Checksum 20:40:49 b352a97aabf1: Download complete 20:40:49 4872d77fe225: Verifying Checksum 20:40:49 4872d77fe225: Download complete 20:40:49 5851b861e8e6: Verifying Checksum 20:40:49 5851b861e8e6: Download complete 20:40:49 b85a868b505f: Verifying Checksum 20:40:49 b85a868b505f: Download complete 20:40:50 bab4dde63d76: Verifying Checksum 20:40:50 bab4dde63d76: Download complete 20:40:51 b85a868b505f: Pull complete 20:40:51 e2be974225ed: Pull complete 20:40:51 339a4e72a1f5: Pull complete 20:40:51 988bab9f4d93: Pull complete 20:40:52 1469e6f7b9e6: Pull complete 20:40:52 eaf3925da568: Pull complete 20:40:53 bab4dde63d76: Pull complete 20:40:53 bde34c3a00c8: Pull complete 20:40:53 b352a97aabf1: Pull complete 20:40:53 4872d77fe225: Pull complete 20:40:53 5851b861e8e6: Pull complete 20:40:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:54 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 20:40:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:40:57 $ docker top b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec -eo pid,comm 20:40:57 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). 20:40:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:40:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:57 [ssh-agent] Looking for ssh-agent implementation... 20:40:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:57 $ docker exec b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec ssh-agent 20:40:58 SSH_AUTH_SOCK=/tmp/ssh-8jPbHu3BRp4e/agent.31 20:40:58 SSH_AGENT_PID=37 20:40:58 Running ssh-add (command line suppressed) 20:40:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-413@tmp/private_key_13353394413106342158.key (/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/private_key_13353394413106342158.key) 20:40:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:58 + git tag --points-at HEAD [Pipeline] } 20:40:58 $ docker exec --env ******** --env ******** b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec ssh-agent -k 20:40:58 unset SSH_AUTH_SOCK; 20:40:58 unset SSH_AGENT_PID; 20:40:58 echo Agent pid 37 killed; 20:40:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:40:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:58 [ssh-agent] Looking for ssh-agent implementation... 20:40:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:58 $ docker exec b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec ssh-agent 20:40:58 SSH_AUTH_SOCK=/tmp/ssh-zCOvZ8tR6Oa7/agent.70 20:40:58 SSH_AGENT_PID=76 20:40:58 Running ssh-add (command line suppressed) 20:40:59 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-413@tmp/private_key_1926944135848750888.key (/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/private_key_1926944135848750888.key) 20:40:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:59 + git semver init 20:40:59 2024-10-03 20:40:59,559 [run_init] DEBUG init version:0.0.0 force:False 20:40:59 2024-10-03 20:40:59,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-413/.semver 20:40:59 2024-10-03 20:40:59,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-413/.semver 20:40:59 2024-10-03 20:40:59,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-413/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-413, universal_newlines=False, shell=None, istream=None) 20:41:01 2024-10-03 20:41:00,776 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-413/.git/info/exclude 20:41:01 2024-10-03 20:41:00,776 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-413/.semver/PR-413 with force:False 20:41:01 2024-10-03 20:41:00,776 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-413/.semver/PR-413 20:41:01 2024-10-03 20:41:00,781 [execute] INFO git cat-file --batch-check 20:41:01 2024-10-03 20:41:00,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 20:41:01 2024-10-03 20:41:00,788 [execute] INFO git cat-file --batch 20:41:01 2024-10-03 20:41:00,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 20:41:01 2024-10-03 20:41:00,793 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-413/.semver/PR-413 20:41:01 0.0.0 [Pipeline] } 20:41:01 $ docker exec --env ******** --env ******** b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec ssh-agent -k 20:41:01 unset SSH_AUTH_SOCK; 20:41:01 unset SSH_AGENT_PID; 20:41:01 echo Agent pid 76 killed; 20:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:01 + git semver [Pipeline] } 20:41:01 $ docker stop --time=1 b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec 20:41:03 $ docker rm -f --volumes b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec [Pipeline] // withDockerContainer [Pipeline] sh 20:41:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:41:04 Stashed 1 file(s) [Pipeline] echo 20:41:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:04 provisioning config files... 20:41:04 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/config11593780438372663608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:05 ---> ****-login.sh 20:41:05 nexus3.edgexfoundry.org:10001 20:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:05 Configure a credential helper to remove this warning. See 20:41:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:05 20:41:05 Login Succeeded 20:41:05 nexus3.edgexfoundry.org:10002 20:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:05 Configure a credential helper to remove this warning. See 20:41:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:05 20:41:05 Login Succeeded 20:41:05 nexus3.edgexfoundry.org:10003 20:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:05 Configure a credential helper to remove this warning. See 20:41:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:05 20:41:05 Login Succeeded 20:41:05 nexus3.edgexfoundry.org:10004 20:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:05 Configure a credential helper to remove this warning. See 20:41:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:05 20:41:05 Login Succeeded 20:41:05 ****.io 20:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:05 Configure a credential helper to remove this warning. See 20:41:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:05 20:41:05 Login Succeeded 20:41:05 ---> ****-login.sh ends [Pipeline] } 20:41:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:41:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:41:06 ========================================================= 20:41:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:41:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:41:06 Sending build context to Docker daemon 16.6MB 20:41:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:41:06 Step 2/12 : FROM ${BASE} AS builder 20:41:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:41:06 43c4264eed91: Pulling fs layer 20:41:06 4cc291be95ef: Pulling fs layer 20:41:06 2ac1f1163629: Pulling fs layer 20:41:06 5c3c966382ef: Pulling fs layer 20:41:06 4f4fb700ef54: Pulling fs layer 20:41:06 5d5c8e513c77: Pulling fs layer 20:41:06 9f66e0745190: Pulling fs layer 20:41:06 f49a43e4bbc0: Pulling fs layer 20:41:06 561ebcabdf7f: Pulling fs layer 20:41:06 4f4fb700ef54: Waiting 20:41:06 5d5c8e513c77: Waiting 20:41:06 9f66e0745190: Waiting 20:41:06 f49a43e4bbc0: Waiting 20:41:06 561ebcabdf7f: Waiting 20:41:06 5c3c966382ef: Waiting 20:41:06 4cc291be95ef: Verifying Checksum 20:41:06 4cc291be95ef: Download complete 20:41:06 5c3c966382ef: Verifying Checksum 20:41:06 5c3c966382ef: Download complete 20:41:06 4f4fb700ef54: Verifying Checksum 20:41:06 4f4fb700ef54: Download complete 20:41:06 5d5c8e513c77: Verifying Checksum 20:41:06 5d5c8e513c77: Download complete 20:41:06 43c4264eed91: Download complete 20:41:06 9f66e0745190: Verifying Checksum 20:41:06 9f66e0745190: Download complete 20:41:06 561ebcabdf7f: Download complete 20:41:07 43c4264eed91: Pull complete 20:41:07 4cc291be95ef: Pull complete 20:41:07 2ac1f1163629: Download complete 20:41:07 f49a43e4bbc0: Verifying Checksum 20:41:07 f49a43e4bbc0: Download complete 20:41:10 2ac1f1163629: Pull complete 20:41:10 5c3c966382ef: Pull complete 20:41:10 4f4fb700ef54: Pull complete 20:41:10 5d5c8e513c77: Pull complete 20:41:10 9f66e0745190: Pull complete 20:41:12 f49a43e4bbc0: Pull complete 20:41:13 561ebcabdf7f: Pull complete 20:41:13 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 20:41:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:41:13 ---> 3a752c3f9dda 20:41:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:41:19 Still waiting to schedule task 20:41:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:41:20 ---> Running in 990fe8ef98f8 20:41:20 Removing intermediate container 990fe8ef98f8 20:41:20 ---> faaa89d41e35 20:41:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:20 ---> Running in f2ef79009875 20:41:20 Removing intermediate container f2ef79009875 20:41:20 ---> efc77dae09a2 20:41:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:41:20 ---> Running in 87bca0443749 20:41:20 Removing intermediate container 87bca0443749 20:41:20 ---> a7f4e1c80d8c 20:41:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:41:20 ---> Running in 7de5640063fd 20:41:20 Removing intermediate container 7de5640063fd 20:41:20 ---> 7a5c312ec639 20:41:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:20 ---> Running in 5f2584b3921e 20:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:41:20 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:41:20 (2/4) Installing libedit (20240517.3.1-r0) 20:41:20 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:41:20 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:41:20 Executing busybox-1.36.1-r29.trigger 20:41:20 OK: 250 MiB in 58 packages 20:41:21 Removing intermediate container 5f2584b3921e 20:41:21 ---> 26d4bbf63b3e 20:41:21 Step 8/12 : WORKDIR /device-rest-go 20:41:21 ---> Running in f959ee044720 20:41:21 Removing intermediate container f959ee044720 20:41:21 ---> 55509ae1f2d1 20:41:21 Step 9/12 : COPY go.mod vendor* ./ 20:41:21 ---> 9b6adb97884f 20:41:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:21 ---> Running in 11451cd11839 20:42:17 Removing intermediate container 11451cd11839 20:42:17 ---> 62d7d2f89b85 20:42:17 Step 11/12 : COPY . . 20:42:17 ---> b2a51908ca48 20:42:17 Step 12/12 : RUN $MAKE 20:42:17 ---> Running in 9da227e741c6 20:42:17 noop 20:42:17 Removing intermediate container 9da227e741c6 20:42:17 ---> 7e37442c1f6e 20:42:17 Successfully built 7e37442c1f6e 20:42:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:17 + docker inspect -f . ci-base-image-x86_64 20:42:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:17 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 20:42:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@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 ******** ci-base-image-x86_64 cat 20:42:18 $ docker top b86c60b841a8e968017ba7d9578e7be150bbb39abc0114cbacdafc25ab1fb9b0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:18 + go version 20:42:18 go version go1.23.2 linux/amd64 [Pipeline] } 20:42:18 $ docker stop --time=1 b86c60b841a8e968017ba7d9578e7be150bbb39abc0114cbacdafc25ab1fb9b0 20:42:20 $ docker rm -f --volumes b86c60b841a8e968017ba7d9578e7be150bbb39abc0114cbacdafc25ab1fb9b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:20 + docker inspect -f . ci-base-image-x86_64 20:42:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:21 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 20:42:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@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 ******** ci-base-image-x86_64 cat 20:42:21 $ docker top f59a611a62352bfb63ab99e1bc36959a46adb6530737cfdb4b460c24483dc36a -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:21 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-413 [Pipeline] fileExists [Pipeline] sh 20:42:22 + make test 20:42:22 go test ./... -coverprofile=coverage.out ./... 20:42:22 go: updates to go.mod needed; to update it: 20:42:22 go mod tidy 20:42:22 make: *** [Makefile:32: unittest] Error 1 [Pipeline] } 20:42:22 $ docker stop --time=1 f59a611a62352bfb63ab99e1bc36959a46adb6530737cfdb4b460c24483dc36a 20:42:24 $ docker rm -f --volumes f59a611a62352bfb63ab99e1bc36959a46adb6530737cfdb4b460c24483dc36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:25 20:42:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:25 latest: Pulling from edgex-lftools-log-publisher 20:42:25 5eb5b503b376: Pulling fs layer 20:42:25 5c69ac0246d0: Pulling fs layer 20:42:25 ec43610c2a17: Pulling fs layer 20:42:25 3a2ae6a8a46f: Pulling fs layer 20:42:25 33b1e0a273af: Pulling fs layer 20:42:25 5d3b04190fa2: Pulling fs layer 20:42:25 2f39f015ded8: Pulling fs layer 20:42:25 5d3b04190fa2: Waiting 20:42:25 3a2ae6a8a46f: Waiting 20:42:25 33b1e0a273af: Waiting 20:42:25 5c69ac0246d0: Verifying Checksum 20:42:25 5c69ac0246d0: Download complete 20:42:25 3a2ae6a8a46f: Verifying Checksum 20:42:25 3a2ae6a8a46f: Download complete 20:42:25 33b1e0a273af: Verifying Checksum 20:42:25 33b1e0a273af: Download complete 20:42:25 5d3b04190fa2: Verifying Checksum 20:42:25 5d3b04190fa2: Download complete 20:42:25 ec43610c2a17: Verifying Checksum 20:42:25 ec43610c2a17: Download complete 20:42:26 5eb5b503b376: Verifying Checksum 20:42:26 5eb5b503b376: Download complete 20:42:26 2f39f015ded8: Verifying Checksum 20:42:26 2f39f015ded8: Download complete 20:42:27 5eb5b503b376: Pull complete 20:42:27 5c69ac0246d0: Pull complete 20:42:27 ec43610c2a17: Pull complete 20:42:27 3a2ae6a8a46f: Pull complete 20:42:28 33b1e0a273af: Pull complete 20:42:28 5d3b04190fa2: Pull complete 20:42:32 2f39f015ded8: Pull complete 20:42:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:42:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:32 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 20:42:32 $ 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/gexfoundry_device-rest-go_PR-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:42:38 $ docker top 1f0e00f74fac6dbdecf5d30d50910ff5377a04a27ce9feb8c2c84a66508dfbb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:48 ---> job-cost.sh 20:42:48 lf-activate-venv: SKIPPING 20:42:48 INFO: No Stack... 20:42:48 INFO: Retrieving Pricing Info for: v3-standard-8 20:42:48 INFO: Archiving Costs [Pipeline] sh 20:42:48 + cat /w/workspace/gexfoundry_device-rest-go_PR-413/archives/cost.csv 20:42:48 + cut -d, -f6 [Pipeline] lock 20:42:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] 20:42:49 Resource [jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] did not exist. Created. 20:42:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:49 + echo total: 0.2199999988079071 [Pipeline] stash 20:42:49 Stashed 1 file(s) [Pipeline] } 20:42:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:49 $ docker stop --time=1 1f0e00f74fac6dbdecf5d30d50910ff5377a04a27ce9feb8c2c84a66508dfbb4 20:42:50 $ docker rm -f --volumes 1f0e00f74fac6dbdecf5d30d50910ff5377a04a27ce9feb8c2c84a66508dfbb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:42:51 Failed in branch amd64 20:43:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15474 in /w/workspace/gexfoundry_device-rest-go_PR-413 [Pipeline] { [Pipeline] ws 20:43:20 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:43:21 The recommended git tool is: git 20:43:25 using credential edgex-jenkins-ssh 20:43:25 Cloning the remote Git repository 20:43:25 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:43:25 > git init /w/workspace/device-rest-go/1 # timeout=10 20:43:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:43:26 > git --version # timeout=10 20:43:26 > git --version # 'git version 2.25.1' 20:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:43:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:30 Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit 03d48d99ee3cb45f5402866c5c33b3983d25ae6c 20:43:30 Merge succeeded, producing 03d48d99ee3cb45f5402866c5c33b3983d25ae6c 20:43:30 Checking out Revision 03d48d99ee3cb45f5402866c5c33b3983d25ae6c (PR-413) 20:43:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:43:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:43:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:43:30 > git config core.sparsecheckout # timeout=10 20:43:30 > git checkout -f 03d48d99ee3cb45f5402866c5c33b3983d25ae6c # timeout=10 20:43:30 > git remote # timeout=10 20:43:30 > git config --get remote.origin.url # timeout=10 20:43:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:30 > git merge 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 20:43:30 > git rev-parse HEAD^{commit} # timeout=10 20:43:30 > git config core.sparsecheckout # timeout=10 20:43:30 > git checkout -f 03d48d99ee3cb45f5402866c5c33b3983d25ae6c # timeout=10 20:43:31 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:43:31 > git --version # timeout=10 20:43:31 > git --version # 'git version 2.25.1' 20:43:31 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:43:36 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:36 Dload Upload Total Spent Left Speed 20:43:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97181 0 --:--:-- --:--:-- --:--:-- 97181 [Pipeline] sh 20:43:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:43:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:43:37 + sudo tee /etc/docker/daemon.new 20:43:37 { 20:43:37 "registry-mirrors": [ 20:43:37 "https://nexus3.edgexfoundry.org:10001" 20:43:37 ], 20:43:37 "bip": "10.250.0.254/24", 20:43:37 "hosts": [ 20:43:37 "tcp://0.0.0.0:5555", 20:43:37 "unix:///var/run/docker.sock" 20:43:37 ], 20:43:37 "mtu": 1458, 20:43:37 "selinux-enabled": true, 20:43:37 "seccomp-profile": "/etc/docker/seccomp.json" 20:43:37 } [Pipeline] sh 20:43:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:43:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:56 provisioning config files... 20:43:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8579973022927905985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:56 ---> ****-login.sh 20:43:56 nexus3.edgexfoundry.org:10001 20:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:57 Configure a credential helper to remove this warning. See 20:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:57 20:43:57 Login Succeeded 20:43:57 nexus3.edgexfoundry.org:10002 20:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:57 Configure a credential helper to remove this warning. See 20:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:57 20:43:57 Login Succeeded 20:43:57 nexus3.edgexfoundry.org:10003 20:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:58 Configure a credential helper to remove this warning. See 20:43:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:58 20:43:58 Login Succeeded 20:43:58 nexus3.edgexfoundry.org:10004 20:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:58 Configure a credential helper to remove this warning. See 20:43:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:58 20:43:58 Login Succeeded 20:43:58 ****.io 20:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:58 Configure a credential helper to remove this warning. See 20:43:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:58 20:43:58 Login Succeeded 20:43:58 ---> ****-login.sh ends [Pipeline] } 20:43:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:59 ========================================================= 20:43:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 20:43:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:44:00 Sending build context to Docker daemon 130.6kB 20:44:00 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:44:00 Step 2/12 : FROM ${BASE} AS builder 20:44:00 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:44:00 cf04c63912e1: Pulling fs layer 20:44:00 55b35a11ae5e: Pulling fs layer 20:44:00 a37a00ec5f00: Pulling fs layer 20:44:00 50b3750afda1: Pulling fs layer 20:44:00 4f4fb700ef54: Pulling fs layer 20:44:00 80978eb59214: Pulling fs layer 20:44:00 c9f46d7d2bd2: Pulling fs layer 20:44:00 c5a475d317c9: Pulling fs layer 20:44:00 50b3750afda1: Waiting 20:44:00 4f4fb700ef54: Waiting 20:44:00 80978eb59214: Waiting 20:44:00 c9f46d7d2bd2: Waiting 20:44:00 c5a475d317c9: Waiting 20:44:00 55b35a11ae5e: Verifying Checksum 20:44:00 55b35a11ae5e: Download complete 20:44:00 50b3750afda1: Verifying Checksum 20:44:00 50b3750afda1: Download complete 20:44:00 4f4fb700ef54: Verifying Checksum 20:44:00 4f4fb700ef54: Download complete 20:44:00 80978eb59214: Verifying Checksum 20:44:00 80978eb59214: Download complete 20:44:00 cf04c63912e1: Verifying Checksum 20:44:00 cf04c63912e1: Download complete 20:44:01 c5a475d317c9: Verifying Checksum 20:44:01 c5a475d317c9: Download complete 20:44:01 cf04c63912e1: Pull complete 20:44:02 55b35a11ae5e: Pull complete 20:44:02 a37a00ec5f00: Verifying Checksum 20:44:02 a37a00ec5f00: Download complete 20:44:03 c9f46d7d2bd2: Download complete 20:44:18 a37a00ec5f00: Pull complete 20:44:18 50b3750afda1: Pull complete 20:44:18 4f4fb700ef54: Pull complete 20:44:18 80978eb59214: Pull complete 20:44:25 c9f46d7d2bd2: Pull complete 20:44:26 c5a475d317c9: Pull complete 20:44:27 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 20:44:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 20:44:27 ---> be29e6b0f0d4 20:44:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:44:29 ---> Running in 5425852d66d0 20:44:29 Removing intermediate container 5425852d66d0 20:44:29 ---> b75681cf41df 20:44:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:29 ---> Running in 1fa8f19a15a6 20:44:29 Removing intermediate container 1fa8f19a15a6 20:44:29 ---> 1e275ee14e2a 20:44:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:44:29 ---> Running in 257cbcbda008 20:44:29 Removing intermediate container 257cbcbda008 20:44:29 ---> 34086f0d74c8 20:44:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:44:29 ---> Running in 168cdb583a23 20:44:30 Removing intermediate container 168cdb583a23 20:44:30 ---> cb89301fefd3 20:44:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:30 ---> Running in afa5be229473 20:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:44:33 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:44:33 (2/4) Installing libedit (20240517.3.1-r0) 20:44:33 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:44:33 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:44:33 Executing busybox-1.36.1-r29.trigger 20:44:33 OK: 242 MiB in 58 packages 20:44:34 Removing intermediate container afa5be229473 20:44:34 ---> a93bba042426 20:44:34 Step 8/12 : WORKDIR /device-rest-go 20:44:34 ---> Running in 4a51dc4cfca7 20:44:34 Removing intermediate container 4a51dc4cfca7 20:44:34 ---> 9837337dcc62 20:44:34 Step 9/12 : COPY go.mod vendor* ./ 20:44:35 ---> 23e13898dd0d 20:44:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:35 ---> Running in fbb19028ed1e 20:46:27 Removing intermediate container fbb19028ed1e 20:46:27 ---> e39b891f5de6 20:46:27 Step 11/12 : COPY . . 20:46:27 ---> a06ac172ccbb 20:46:27 Step 12/12 : RUN $MAKE 20:46:27 ---> Running in 150246ddc8e8 20:46:27 noop 20:46:27 Removing intermediate container 150246ddc8e8 20:46:27 ---> ba4a5385d27f 20:46:27 Successfully built ba4a5385d27f 20:46:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:27 + docker inspect -f . ci-base-image-arm64 20:46:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:28 prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container 20:46:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:46:29 $ docker top 946d2bb50dbb19978602c3a5898d3cfbbfa3aab942076ddba4daabcbf829d70d -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:30 + go version 20:46:30 go version go1.23.2 linux/arm64 [Pipeline] } 20:46:30 $ docker stop --time=1 946d2bb50dbb19978602c3a5898d3cfbbfa3aab942076ddba4daabcbf829d70d 20:46:31 $ docker rm -f --volumes 946d2bb50dbb19978602c3a5898d3cfbbfa3aab942076ddba4daabcbf829d70d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:32 + docker inspect -f . ci-base-image-arm64 20:46:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:32 prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container 20:46:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:46:34 $ docker top aab8eeec78ffd1b06e3765a2e1f00accc37703c44eff7e76a513d6224025cc02 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:34 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:46:35 + make test 20:46:35 go test ./... -coverprofile=coverage.out ./... 20:46:40 go: updates to go.mod needed; to update it: 20:46:40 go mod tidy 20:46:40 make: *** [Makefile:32: unittest] Error 1 [Pipeline] } 20:46:40 $ docker stop --time=1 aab8eeec78ffd1b06e3765a2e1f00accc37703c44eff7e76a513d6224025cc02 20:46:41 $ docker rm -f --volumes aab8eeec78ffd1b06e3765a2e1f00accc37703c44eff7e76a513d6224025cc02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:43 20:46:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:44 arm64: Pulling from edgex-lftools-log-publisher 20:46:44 8998bd30e6a1: Pulling fs layer 20:46:44 04944245beec: Pulling fs layer 20:46:44 699f458cf7ca: Pulling fs layer 20:46:44 765212b225bb: Pulling fs layer 20:46:44 f23df028b6ca: Pulling fs layer 20:46:44 d65c8cfc05b1: Pulling fs layer 20:46:44 2437ff75d9bd: Pulling fs layer 20:46:44 f23df028b6ca: Waiting 20:46:44 d65c8cfc05b1: Waiting 20:46:44 765212b225bb: Waiting 20:46:44 2437ff75d9bd: Waiting 20:46:44 04944245beec: Verifying Checksum 20:46:44 04944245beec: Download complete 20:46:44 765212b225bb: Verifying Checksum 20:46:44 765212b225bb: Download complete 20:46:44 f23df028b6ca: Verifying Checksum 20:46:44 f23df028b6ca: Download complete 20:46:44 d65c8cfc05b1: Download complete 20:46:44 699f458cf7ca: Verifying Checksum 20:46:44 699f458cf7ca: Download complete 20:46:44 8998bd30e6a1: Download complete 20:46:47 2437ff75d9bd: Verifying Checksum 20:46:47 2437ff75d9bd: Download complete 20:46:49 8998bd30e6a1: Pull complete 20:46:49 04944245beec: Pull complete 20:46:51 699f458cf7ca: Pull complete 20:46:51 765212b225bb: Pull complete 20:46:52 f23df028b6ca: Pull complete 20:46:52 d65c8cfc05b1: Pull complete 20:47:10 2437ff75d9bd: Pull complete 20:47:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:47:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:11 prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container 20:47:11 $ 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/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:47:13 $ docker top 51631d58ae650bf2b8441d043a53bae3c0b406833897b6579e917a438ffac14e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:14 ---> job-cost.sh 20:47:14 lf-activate-venv: SKIPPING 20:47:14 INFO: No Stack... 20:47:14 INFO: Retrieving Pricing Info for: v3-standard-4 20:47:15 INFO: Archiving Costs [Pipeline] sh 20:47:16 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:47:16 + cut -d, -f6 [Pipeline] lock 20:47:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] 20:47:16 Resource [jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] did not exist. Created. 20:47:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:16 /w/workspace/device-rest-go/1@tmp/durable-abb5b0b1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:47:17 + echo total: 0.10999999940395355 [Pipeline] stash 20:47:17 Warning: overwriting stash ‘stack-cost’ 20:47:17 Stashed 1 file(s) [Pipeline] } 20:47:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:47:17 $ docker stop --time=1 51631d58ae650bf2b8441d043a53bae3c0b406833897b6579e917a438ffac14e 20:47:19 $ docker rm -f --volumes 51631d58ae650bf2b8441d043a53bae3c0b406833897b6579e917a438ffac14e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:47:20 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [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 20:47:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-413/archives ] 20:47:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-413/archives 20:47:22 total 16 20:47:22 drwxr-xr-x 3 root root 4096 Oct 3 20:42 . 20:47:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:42 .. 20:47:22 drwxr-xr-x 2 root root 4096 Oct 3 20:42 cost 20:47:22 -rw-r--r-- 1 root root 86 Oct 3 20:42 cost.csv 20:47:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-413/archives 20:47:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-413/archives 20:47:22 total 16 20:47:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:42 . 20:47:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:42 .. 20:47:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 20:42 cost 20:47:22 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:47:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:47:24 ---> package-listing.sh 20:47:24 ++ facter osfamily 20:47:24 ++ tr '[:upper:]' '[:lower:]' 20:47:24 + OS_FAMILY=debian 20:47:24 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-413 20:47:24 + START_PACKAGES=/tmp/packages_start.txt 20:47:24 + END_PACKAGES=/tmp/packages_end.txt 20:47:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:47:24 + PACKAGES=/tmp/packages_start.txt 20:47:24 + '[' /w/workspace/gexfoundry_device-rest-go_PR-413 ']' 20:47:24 + PACKAGES=/tmp/packages_end.txt 20:47:24 + case "${OS_FAMILY}" in 20:47:24 + dpkg -l 20:47:24 + grep '^ii' 20:47:24 + '[' -f /tmp/packages_start.txt ']' 20:47:24 + '[' -f /tmp/packages_end.txt ']' 20:47:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:47:24 + '[' /w/workspace/gexfoundry_device-rest-go_PR-413 ']' 20:47:24 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-413/archives/ 20:47:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-413/archives/ [Pipeline] echo 20:47:24 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_device-rest-go_PR-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:47:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:25 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 20:47:25 $ 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_device-rest-go_PR-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:47:25 $ docker top e0b0705cd8523fa440994d741040a94919ef21416eeac6baff777c050a4e28e1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:26 + touch /tmp/pre-build-complete [Pipeline] sh 20:47:26 + mkdir -p /var/log/sysstat [Pipeline] sh 20:47:26 + ls /var/log/sa-host 20:47:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:27 provisioning config files... 20:47:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/config10098859050682587301tmp [Pipeline] { [Pipeline] echo 20:47:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:47:27 ---> create-netrc.sh [Pipeline] } 20:47:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:47:27 ---> python-tools-install.sh [Pipeline] echo 20:47:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:47:28 ---> sudo-logs.sh 20:47:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:47:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:47:28 ---> job-cost.sh 20:47:28 lf-activate-venv: SKIPPING 20:47:28 DEBUG: total: 0.2199999988079071 20:47:28 INFO: Retrieving Stack Cost... 20:47:29 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:29 INFO: Archiving Costs [Pipeline] echo 20:47:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:47:29 ---> logs-deploy.sh 20:47:29 lf-activate-venv: SKIPPING 20:47:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-413/1 20:47:29 INFO: archiving workspace using pattern(s): 20:47:30 Archives upload complete. 20:47:30 INFO: archiving logs to Nexus