Pull request #315 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61bcaab2ca011ed6614e328024da820fd8a2ea5a+15e688f125cb27749cddf3e3269a9133ab9603fe (27689e6d7a2783d65208b907a6f842c5b6b0eb71) 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-ssh14885452408920869233.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-ssh9774313661184525266.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-rfid-llrp-go/branches/PR-315/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-rfid-llrp-go/branches/PR-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2314461826230825284.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-rfid-llrp-go/branches/PR-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1320218662837967264.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-ssh10603012355036933412.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-rfid-llrp-go/branches/PR-315/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-rfid-llrp-go/branches/PR-315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1961795863242004492.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-rfid-llrp-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-rfid-llrp-go-settings PROJECT: device-rfid-llrp-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-rfid-llrp 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-14583 in /w/workspace/undry_device-rfid-llrp-go_PR-315 [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-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-315 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-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-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 15e688f125cb27749cddf3e3269a9133ab9603fe into PR head commit 61bcaab2ca011ed6614e328024da820fd8a2ea5a Merge succeeded, producing 61bcaab2ca011ed6614e328024da820fd8a2ea5a Checking out Revision 61bcaab2ca011ed6614e328024da820fd8a2ea5a (PR-315) > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-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-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61bcaab2ca011ed6614e328024da820fd8a2ea5a # 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 15e688f125cb27749cddf3e3269a9133ab9603fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61bcaab2ca011ed6614e328024da820fd8a2ea5a # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:26:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:26:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:26:26 ========================================================= 10:26:26 EdgeX Global Pipelines Version Info 10:26:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:26:27 ------------------- 10:26:27 stable info: 10:26:27 ------------------- 10:26:27 Commited By: Ginny Guan ginny@iotechsys.com 10:26:27 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 10:26:27 Message: update stable to v1.0.265 10:26:27 ------------------- 10:26:27 experimental info: 10:26:27 ------------------- 10:26:27 Commited By: Cherry Wang cherry@iotechsys.com 10:26:27 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 10:26:27 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 10:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:26:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-315 [Pipeline] echo 10:26:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-315 [Pipeline] echo 10:26:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-315 [Pipeline] echo 10:26:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61bcaab2ca011ed6614e328024da820fd8a2ea5a [Pipeline] echo 10:26:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61bcaab [Pipeline] echo 10:26:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:30 provisioning config files... 10:26:30 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-315@tmp/config4572282975002549765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:30 ---> ****-login.sh 10:26:30 nexus3.edgexfoundry.org:10001 10:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:31 Configure a credential helper to remove this warning. See 10:26:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:31 10:26:31 Login Succeeded 10:26:31 nexus3.edgexfoundry.org:10002 10:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:31 Configure a credential helper to remove this warning. See 10:26:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:31 10:26:31 Login Succeeded 10:26:31 nexus3.edgexfoundry.org:10003 10:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:31 Configure a credential helper to remove this warning. See 10:26:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:31 10:26:31 Login Succeeded 10:26:31 nexus3.edgexfoundry.org:10004 10:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:31 Configure a credential helper to remove this warning. See 10:26:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:31 10:26:31 Login Succeeded 10:26:31 ****.io 10:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:31 Configure a credential helper to remove this warning. See 10:26:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:31 10:26:31 Login Succeeded 10:26:31 ---> ****-login.sh ends [Pipeline] } 10:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:26:32 + git rev-list -1 --merges 61bcaab2ca011ed6614e328024da820fd8a2ea5a~1..61bcaab2ca011ed6614e328024da820fd8a2ea5a [Pipeline] echo 10:26:32 -----------> git rev-list -1 --merges 61bcaab2ca011ed6614e328024da820fd8a2ea5a~1..61bcaab2ca011ed6614e328024da820fd8a2ea5a 61bcaab2ca011ed6614e328024da820fd8a2ea5a [false] [Pipeline] sh 10:26:33 + git log --format=format:%s -1 61bcaab2ca011ed6614e328024da820fd8a2ea5a [Pipeline] echo 10:26:33 ========================================================= 10:26:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:26:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:26:33 + git log --format=format:%s -1 61bcaab2ca011ed6614e328024da820fd8a2ea5a [Pipeline] echo 10:26:33 [semverPrep] GIT_COMMIT: 61bcaab2ca011ed6614e328024da820fd8a2ea5a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 10:26:33 [semverPrep] This is not a build commit. [Pipeline] sh 10:26:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:26:34 + grep -v github /etc/ssh/ssh_known_hosts 10:26:34 + [ -e /tmp/ssh_known_hosts ] 10:26:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:26:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:26:34 + sudo tee -a /etc/ssh/ssh_known_hosts 10:26:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:34 10:26:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:35 0.1.4: Pulling from edgex-devops/py-git-semver 10:26:35 b85a868b505f: Pulling fs layer 10:26:35 e2be974225ed: Pulling fs layer 10:26:35 339a4e72a1f5: Pulling fs layer 10:26:35 988bab9f4d93: Pulling fs layer 10:26:35 1469e6f7b9e6: Pulling fs layer 10:26:35 eaf3925da568: Pulling fs layer 10:26:35 bab4dde63d76: Pulling fs layer 10:26:35 bde34c3a00c8: Pulling fs layer 10:26:35 b352a97aabf1: Pulling fs layer 10:26:35 4872d77fe225: Pulling fs layer 10:26:35 5851b861e8e6: Pulling fs layer 10:26:35 1469e6f7b9e6: Waiting 10:26:35 bde34c3a00c8: Waiting 10:26:35 b352a97aabf1: Waiting 10:26:35 988bab9f4d93: Waiting 10:26:35 4872d77fe225: Waiting 10:26:35 eaf3925da568: Waiting 10:26:35 bab4dde63d76: Waiting 10:26:35 5851b861e8e6: Waiting 10:26:35 e2be974225ed: Verifying Checksum 10:26:35 e2be974225ed: Download complete 10:26:35 988bab9f4d93: Verifying Checksum 10:26:35 988bab9f4d93: Download complete 10:26:35 1469e6f7b9e6: Verifying Checksum 10:26:35 1469e6f7b9e6: Download complete 10:26:35 339a4e72a1f5: Verifying Checksum 10:26:35 339a4e72a1f5: Download complete 10:26:35 eaf3925da568: Download complete 10:26:35 bde34c3a00c8: Download complete 10:26:35 b352a97aabf1: Download complete 10:26:35 4872d77fe225: Verifying Checksum 10:26:35 4872d77fe225: Download complete 10:26:35 5851b861e8e6: Verifying Checksum 10:26:35 5851b861e8e6: Download complete 10:26:35 b85a868b505f: Verifying Checksum 10:26:35 b85a868b505f: Download complete 10:26:35 bab4dde63d76: Verifying Checksum 10:26:35 bab4dde63d76: Download complete 10:26:36 b85a868b505f: Pull complete 10:26:36 e2be974225ed: Pull complete 10:26:37 339a4e72a1f5: Pull complete 10:26:37 988bab9f4d93: Pull complete 10:26:37 1469e6f7b9e6: Pull complete 10:26:37 eaf3925da568: Pull complete 10:26:39 bab4dde63d76: Pull complete 10:26:39 bde34c3a00c8: Pull complete 10:26:39 b352a97aabf1: Pull complete 10:26:39 4872d77fe225: Pull complete 10:26:40 5851b861e8e6: Pull complete 10:26:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:26:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:40 prd-ubuntu20.04-docker-8c-8g-14583 does not seem to be running inside a container 10:26:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-315 -v /w/workspace/undry_device-rfid-llrp-go_PR-315:/w/workspace/undry_device-rfid-llrp-go_PR-315:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-315@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-315@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 10:26:43 $ docker top ce64fd10b4be726c23ba28dc94390c095a3657a1c7a19614946f6cd72487f29a -eo pid,comm 10:26:43 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). 10:26:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:26:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:43 [ssh-agent] Looking for ssh-agent implementation... 10:26:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:43 $ docker exec ce64fd10b4be726c23ba28dc94390c095a3657a1c7a19614946f6cd72487f29a ssh-agent 10:26:43 SSH_AUTH_SOCK=/tmp/ssh-Iuaz4B3IKq8a/agent.32 10:26:43 SSH_AGENT_PID=38 10:26:43 Running ssh-add (command line suppressed) 10:26:43 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-315@tmp/private_key_10983052275438326315.key (/w/workspace/undry_device-rfid-llrp-go_PR-315@tmp/private_key_10983052275438326315.key) 10:26:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:44 + git tag --points-at HEAD [Pipeline] } 10:26:44 $ docker exec --env ******** --env ******** ce64fd10b4be726c23ba28dc94390c095a3657a1c7a19614946f6cd72487f29a ssh-agent -k 10:26:44 unset SSH_AUTH_SOCK; 10:26:44 unset SSH_AGENT_PID; 10:26:44 echo Agent pid 38 killed; 10:26:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:26:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:44 [ssh-agent] Looking for ssh-agent implementation... 10:26:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:44 $ docker exec ce64fd10b4be726c23ba28dc94390c095a3657a1c7a19614946f6cd72487f29a ssh-agent 10:26:44 SSH_AUTH_SOCK=/tmp/ssh-MefjPRdb20SA/agent.71 10:26:44 SSH_AGENT_PID=77 10:26:44 Running ssh-add (command line suppressed) 10:26:44 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-315@tmp/private_key_14204973691681321484.key (/w/workspace/undry_device-rfid-llrp-go_PR-315@tmp/private_key_14204973691681321484.key) 10:26:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:45 + git semver init 10:26:45 2024-10-03 10:26:45,387 [run_init] DEBUG init version:0.0.0 force:False 10:26:45 2024-10-03 10:26:45,388 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-315/.semver 10:26:45 2024-10-03 10:26:45,388 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-315/.semver 10:26:45 2024-10-03 10:26:45,389 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-315/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-315, universal_newlines=False, shell=None, istream=None) 10:26:47 2024-10-03 10:26:47,093 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-315/.git/info/exclude 10:26:47 2024-10-03 10:26:47,094 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-315/.semver/PR-315 with force:False 10:26:47 2024-10-03 10:26:47,094 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-315/.semver/PR-315 10:26:47 2024-10-03 10:26:47,098 [execute] INFO git cat-file --batch-check 10:26:47 2024-10-03 10:26:47,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) 10:26:47 2024-10-03 10:26:47,105 [execute] INFO git cat-file --batch 10:26:47 2024-10-03 10:26:47,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) 10:26:47 2024-10-03 10:26:47,110 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-315/.semver/PR-315 10:26:47 0.0.0 [Pipeline] } 10:26:47 $ docker exec --env ******** --env ******** ce64fd10b4be726c23ba28dc94390c095a3657a1c7a19614946f6cd72487f29a ssh-agent -k 10:26:47 unset SSH_AUTH_SOCK; 10:26:47 unset SSH_AGENT_PID; 10:26:47 echo Agent pid 77 killed; 10:26:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:26:48 + git semver [Pipeline] } 10:26:48 $ docker stop --time=1 ce64fd10b4be726c23ba28dc94390c095a3657a1c7a19614946f6cd72487f29a 10:26:49 $ docker rm -f --volumes ce64fd10b4be726c23ba28dc94390c095a3657a1c7a19614946f6cd72487f29a [Pipeline] // withDockerContainer [Pipeline] sh 10:26:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:26:50 Stashed 1 file(s) [Pipeline] echo 10:26:50 [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 10:26:51 provisioning config files... 10:26:51 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-315@tmp/config8173989373668199951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:51 ---> ****-login.sh 10:26:51 nexus3.edgexfoundry.org:10001 10:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:51 Configure a credential helper to remove this warning. See 10:26:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:51 10:26:51 Login Succeeded 10:26:51 nexus3.edgexfoundry.org:10002 10:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:51 Configure a credential helper to remove this warning. See 10:26:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:51 10:26:51 Login Succeeded 10:26:51 nexus3.edgexfoundry.org:10003 10:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:51 Configure a credential helper to remove this warning. See 10:26:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:51 10:26:51 Login Succeeded 10:26:51 nexus3.edgexfoundry.org:10004 10:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:51 Configure a credential helper to remove this warning. See 10:26:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:51 10:26:51 Login Succeeded 10:26:51 ****.io 10:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:52 Configure a credential helper to remove this warning. See 10:26:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:52 10:26:52 Login Succeeded 10:26:52 ---> ****-login.sh ends [Pipeline] } 10:26:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:26:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:26:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:26:52 ========================================================= 10:26:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:26:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:53 + 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 . 10:26:53 Sending build context to Docker daemon 11.43MB 10:26:53 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 10:26:53 Step 2/12 : FROM ${BASE} AS builder 10:26:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:26:53 43c4264eed91: Pulling fs layer 10:26:53 4cc291be95ef: Pulling fs layer 10:26:53 2ac1f1163629: Pulling fs layer 10:26:53 5c3c966382ef: Pulling fs layer 10:26:53 4f4fb700ef54: Pulling fs layer 10:26:53 5d5c8e513c77: Pulling fs layer 10:26:53 9f66e0745190: Pulling fs layer 10:26:53 f49a43e4bbc0: Pulling fs layer 10:26:53 561ebcabdf7f: Pulling fs layer 10:26:53 f49a43e4bbc0: Waiting 10:26:53 561ebcabdf7f: Waiting 10:26:53 9f66e0745190: Waiting 10:26:53 5c3c966382ef: Waiting 10:26:53 4f4fb700ef54: Waiting 10:26:53 5d5c8e513c77: Waiting 10:26:53 4cc291be95ef: Verifying Checksum 10:26:53 4cc291be95ef: Download complete 10:26:53 5c3c966382ef: Verifying Checksum 10:26:53 5c3c966382ef: Download complete 10:26:53 4f4fb700ef54: Download complete 10:26:53 5d5c8e513c77: Download complete 10:26:53 43c4264eed91: Download complete 10:26:53 9f66e0745190: Verifying Checksum 10:26:53 9f66e0745190: Download complete 10:26:53 43c4264eed91: Pull complete 10:26:53 561ebcabdf7f: Verifying Checksum 10:26:53 561ebcabdf7f: Download complete 10:26:53 4cc291be95ef: Pull complete 10:26:53 2ac1f1163629: Verifying Checksum 10:26:53 2ac1f1163629: Download complete 10:26:54 f49a43e4bbc0: Verifying Checksum 10:26:54 f49a43e4bbc0: Download complete 10:26:57 2ac1f1163629: Pull complete 10:26:57 5c3c966382ef: Pull complete 10:26:57 4f4fb700ef54: Pull complete 10:26:57 5d5c8e513c77: Pull complete 10:26:57 9f66e0745190: Pull complete 10:26:59 f49a43e4bbc0: Pull complete 10:26:59 561ebcabdf7f: Pull complete 10:26:59 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 10:26:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:26:59 ---> 3a752c3f9dda 10:26:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:27:05 ---> Running in 87e1171177d0 10:27:05 Removing intermediate container 87e1171177d0 10:27:05 ---> cca5bbfd4566 10:27:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:27:05 ---> Running in aeb7d9d3ecaa 10:27:05 Removing intermediate container aeb7d9d3ecaa 10:27:05 ---> c1ea4f65222a 10:27:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 10:27:05 ---> Running in 472b18922004 10:27:05 Removing intermediate container 472b18922004 10:27:05 ---> fa381638fb30 10:27:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:27:05 ---> Running in f44576f58354 10:27:05 Removing intermediate container f44576f58354 10:27:05 ---> 1bdb659499c7 10:27:05 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:05 ---> Running in 382b27b2f350 10:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:27:06 Still waiting to schedule task 10:27:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:27:06 OK: 246 MiB in 54 packages 10:27:06 Removing intermediate container 382b27b2f350 10:27:06 ---> 974f44e0d4e9 10:27:06 Step 8/12 : WORKDIR /app 10:27:06 ---> Running in 33032e870553 10:27:06 Removing intermediate container 33032e870553 10:27:06 ---> e8a441d56cb1 10:27:06 Step 9/12 : COPY go.mod vendor* ./ 10:27:06 ---> ce271196f99a 10:27:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:06 ---> Running in 39cbec53a905 10:28:03 Removing intermediate container 39cbec53a905 10:28:03 ---> 54a8385f0ed6 10:28:03 Step 11/12 : COPY . . 10:28:03 ---> 1b3e43c1cc30 10:28:03 Step 12/12 : RUN $MAKE 10:28:03 ---> Running in a4afea351837 10:28:03 noop 10:28:03 Removing intermediate container a4afea351837 10:28:03 ---> 94b0c6f618e0 10:28:03 Successfully built 94b0c6f618e0 10:28:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:03 + docker inspect -f . ci-base-image-x86_64 10:28:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:04 prd-ubuntu20.04-docker-8c-8g-14583 does not seem to be running inside a container 10:28:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-315 -v /w/workspace/undry_device-rfid-llrp-go_PR-315:/w/workspace/undry_device-rfid-llrp-go_PR-315:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-315@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-315@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 10:28:04 $ docker top 0c2ae23524757ab13af1ca8bb94949af50d83a3ffd7230421c26abe01bd5f0e6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:04 + go version 10:28:04 go version go1.23.2 linux/amd64 [Pipeline] } 10:28:04 $ docker stop --time=1 0c2ae23524757ab13af1ca8bb94949af50d83a3ffd7230421c26abe01bd5f0e6 10:28:06 $ docker rm -f --volumes 0c2ae23524757ab13af1ca8bb94949af50d83a3ffd7230421c26abe01bd5f0e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:06 + docker inspect -f . ci-base-image-x86_64 10:28:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:07 prd-ubuntu20.04-docker-8c-8g-14583 does not seem to be running inside a container 10:28:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-315 -v /w/workspace/undry_device-rfid-llrp-go_PR-315:/w/workspace/undry_device-rfid-llrp-go_PR-315:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-315@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-315@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 10:28:07 $ docker top 13e22409cf2f604a66c4c1663524560b32159a857bc33bd0fc6798c70fad6597 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:07 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-315 [Pipeline] fileExists [Pipeline] sh 10:28:08 + make test 10:28:08 go test ./... -coverprofile=coverage.out ./... 10:28:08 go: updates to go.mod needed; to update it: 10:28:08 go mod tidy 10:28:08 make: *** [Makefile:33: unittest] Error 1 [Pipeline] } 10:28:08 $ docker stop --time=1 13e22409cf2f604a66c4c1663524560b32159a857bc33bd0fc6798c70fad6597 10:28:10 $ docker rm -f --volumes 13e22409cf2f604a66c4c1663524560b32159a857bc33bd0fc6798c70fad6597 [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 10:28:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:11 10:28:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:12 latest: Pulling from edgex-lftools-log-publisher 10:28:12 5eb5b503b376: Pulling fs layer 10:28:12 5c69ac0246d0: Pulling fs layer 10:28:12 ec43610c2a17: Pulling fs layer 10:28:12 3a2ae6a8a46f: Pulling fs layer 10:28:12 33b1e0a273af: Pulling fs layer 10:28:12 5d3b04190fa2: Pulling fs layer 10:28:12 2f39f015ded8: Pulling fs layer 10:28:12 3a2ae6a8a46f: Waiting 10:28:12 2f39f015ded8: Waiting 10:28:12 5d3b04190fa2: Waiting 10:28:12 5c69ac0246d0: Verifying Checksum 10:28:12 5c69ac0246d0: Download complete 10:28:12 3a2ae6a8a46f: Verifying Checksum 10:28:12 3a2ae6a8a46f: Download complete 10:28:12 33b1e0a273af: Verifying Checksum 10:28:12 33b1e0a273af: Download complete 10:28:12 5d3b04190fa2: Verifying Checksum 10:28:12 5d3b04190fa2: Download complete 10:28:12 ec43610c2a17: Verifying Checksum 10:28:12 ec43610c2a17: Download complete 10:28:12 5eb5b503b376: Download complete 10:28:13 2f39f015ded8: Download complete 10:28:13 5eb5b503b376: Pull complete 10:28:13 5c69ac0246d0: Pull complete 10:28:14 ec43610c2a17: Pull complete 10:28:14 3a2ae6a8a46f: Pull complete 10:28:14 33b1e0a273af: Pull complete 10:28:14 5d3b04190fa2: Pull complete 10:28:18 2f39f015ded8: Pull complete 10:28:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:28:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:18 prd-ubuntu20.04-docker-8c-8g-14583 does not seem to be running inside a container 10:28:19 $ 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/undry_device-rfid-llrp-go_PR-315 -v /w/workspace/undry_device-rfid-llrp-go_PR-315:/w/workspace/undry_device-rfid-llrp-go_PR-315:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-315@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-315@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 10:28:22 $ docker top c8dc267400d53945381f4c0b2c31741168f0c027bf3c018867be049a06751322 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:23 ---> job-cost.sh 10:28:23 lf-activate-venv: SKIPPING 10:28:23 INFO: No Stack... 10:28:23 INFO: Retrieving Pricing Info for: v3-standard-8 10:28:24 INFO: Archiving Costs [Pipeline] sh 10:28:24 + cat /w/workspace/undry_device-rfid-llrp-go_PR-315/archives/cost.csv 10:28:24 + cut -d, -f6 [Pipeline] lock 10:28:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rfid-llrp-go-PR-315-1-stack-cost] 10:28:24 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-315-1-stack-cost] did not exist. Created. 10:28:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-rfid-llrp-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:28:24 + echo total: 0.2199999988079071 [Pipeline] stash 10:28:24 Stashed 1 file(s) [Pipeline] } 10:28:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-rfid-llrp-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:28:25 $ docker stop --time=1 c8dc267400d53945381f4c0b2c31741168f0c027bf3c018867be049a06751322 10:28:26 $ docker rm -f --volumes c8dc267400d53945381f4c0b2c31741168f0c027bf3c018867be049a06751322 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:28:26 Failed in branch amd64 11:23:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14789 in /w/workspace/undry_device-rfid-llrp-go_PR-315 [Pipeline] { [Pipeline] ws 11:23:57 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 11:23:57 The recommended git tool is: git 11:24:06 using credential edgex-jenkins-ssh 11:24:06 Cloning the remote Git repository 11:24:06 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 11:24:06 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 11:24:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 11:24:06 > git --version # timeout=10 11:24:06 > git --version # 'git version 2.25.1' 11:24:06 using GIT_SSH to set credentials SSH Credentials for GitHub 11:24:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:24:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 11:24:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:24:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 11:24:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 11:24:11 using GIT_SSH to set credentials SSH Credentials for GitHub 11:24:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:24:11 Merging remotes/origin/main commit 15e688f125cb27749cddf3e3269a9133ab9603fe into PR head commit 61bcaab2ca011ed6614e328024da820fd8a2ea5a 11:24:12 Merge succeeded, producing 61bcaab2ca011ed6614e328024da820fd8a2ea5a 11:24:12 Checking out Revision 61bcaab2ca011ed6614e328024da820fd8a2ea5a (PR-315) 11:24:12 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 11:24:12 > git --version # timeout=10 11:24:12 > git --version # 'git version 2.25.1' 11:24:12 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 11:24:11 > git config core.sparsecheckout # timeout=10 11:24:11 > git checkout -f 61bcaab2ca011ed6614e328024da820fd8a2ea5a # timeout=10 11:24:11 > git remote # timeout=10 11:24:11 > git config --get remote.origin.url # timeout=10 11:24:12 using GIT_SSH to set credentials SSH Credentials for GitHub 11:24:12 > git merge 15e688f125cb27749cddf3e3269a9133ab9603fe # timeout=10 11:24:12 > git rev-parse HEAD^{commit} # timeout=10 11:24:12 > git config core.sparsecheckout # timeout=10 11:24:12 > git checkout -f 61bcaab2ca011ed6614e328024da820fd8a2ea5a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:24:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:24:17 % Total % Received % Xferd Average Speed Time Time Time Current 11:24:17 Dload Upload Total Spent Left Speed 11:24:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 11:24:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:24:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:24:18 + sudo tee /etc/docker/daemon.new 11:24:18 { 11:24:18 "registry-mirrors": [ 11:24:18 "https://nexus3.edgexfoundry.org:10001" 11:24:18 ], 11:24:18 "bip": "10.250.0.254/24", 11:24:18 "hosts": [ 11:24:18 "tcp://0.0.0.0:5555", 11:24:18 "unix:///var/run/docker.sock" 11:24:18 ], 11:24:18 "mtu": 1458, 11:24:18 "selinux-enabled": true, 11:24:18 "seccomp-profile": "/etc/docker/seccomp.json" 11:24:18 } [Pipeline] sh 11:24:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:24:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:24:37 provisioning config files... 11:24:37 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config11078810564599931465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:24:37 ---> ****-login.sh 11:24:37 nexus3.edgexfoundry.org:10001 11:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:24:38 Configure a credential helper to remove this warning. See 11:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:24:38 11:24:38 Login Succeeded 11:24:38 nexus3.edgexfoundry.org:10002 11:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:24:38 Configure a credential helper to remove this warning. See 11:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:24:38 11:24:38 Login Succeeded 11:24:38 nexus3.edgexfoundry.org:10003 11:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:24:39 Configure a credential helper to remove this warning. See 11:24:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:24:39 11:24:39 Login Succeeded 11:24:39 nexus3.edgexfoundry.org:10004 11:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:24:39 Configure a credential helper to remove this warning. See 11:24:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:24:39 11:24:39 Login Succeeded 11:24:39 ****.io 11:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:24:40 Configure a credential helper to remove this warning. See 11:24:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:24:40 11:24:40 Login Succeeded 11:24:40 ---> ****-login.sh ends [Pipeline] } 11:24:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:24:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:24:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:24:40 ========================================================= 11:24:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 11:24:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:24:41 + 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 . 11:24:41 Sending build context to Docker daemon 1.201MB 11:24:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:24:41 Step 2/12 : FROM ${BASE} AS builder 11:24:41 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:24:41 cf04c63912e1: Pulling fs layer 11:24:41 55b35a11ae5e: Pulling fs layer 11:24:41 a37a00ec5f00: Pulling fs layer 11:24:41 50b3750afda1: Pulling fs layer 11:24:41 4f4fb700ef54: Pulling fs layer 11:24:41 80978eb59214: Pulling fs layer 11:24:41 c9f46d7d2bd2: Pulling fs layer 11:24:41 c5a475d317c9: Pulling fs layer 11:24:41 4f4fb700ef54: Waiting 11:24:41 80978eb59214: Waiting 11:24:41 c5a475d317c9: Waiting 11:24:41 50b3750afda1: Waiting 11:24:41 c9f46d7d2bd2: Waiting 11:24:41 55b35a11ae5e: Verifying Checksum 11:24:41 55b35a11ae5e: Download complete 11:24:41 50b3750afda1: Verifying Checksum 11:24:41 50b3750afda1: Download complete 11:24:41 4f4fb700ef54: Verifying Checksum 11:24:41 4f4fb700ef54: Download complete 11:24:41 80978eb59214: Verifying Checksum 11:24:41 80978eb59214: Download complete 11:24:41 cf04c63912e1: Verifying Checksum 11:24:41 cf04c63912e1: Download complete 11:24:42 c5a475d317c9: Verifying Checksum 11:24:42 c5a475d317c9: Download complete 11:24:42 cf04c63912e1: Pull complete 11:24:43 55b35a11ae5e: Pull complete 11:24:43 a37a00ec5f00: Verifying Checksum 11:24:43 a37a00ec5f00: Download complete 11:24:44 c9f46d7d2bd2: Verifying Checksum 11:24:44 c9f46d7d2bd2: Download complete 11:24:59 a37a00ec5f00: Pull complete 11:24:59 50b3750afda1: Pull complete 11:24:59 4f4fb700ef54: Pull complete 11:24:59 80978eb59214: Pull complete 11:25:04 c9f46d7d2bd2: Pull complete 11:25:06 c5a475d317c9: Pull complete 11:25:06 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 11:25:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 11:25:06 ---> be29e6b0f0d4 11:25:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:25:08 ---> Running in 582455b764bf 11:25:08 Removing intermediate container 582455b764bf 11:25:08 ---> 5a1b9f6be707 11:25:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:25:08 ---> Running in 51821539a9ab 11:25:08 Removing intermediate container 51821539a9ab 11:25:08 ---> 9b5e472a09bb 11:25:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 11:25:09 ---> Running in 5bd8eb0509e9 11:25:09 Removing intermediate container 5bd8eb0509e9 11:25:09 ---> 968661b1b98e 11:25:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:25:09 ---> Running in 13439dc38787 11:25:09 Removing intermediate container 13439dc38787 11:25:09 ---> e2c3b7fbaecf 11:25:09 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:25:09 ---> Running in 4f91eb508c4e 11:25:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:25:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:25:12 OK: 238 MiB in 54 packages 11:25:13 Removing intermediate container 4f91eb508c4e 11:25:13 ---> bc5619366b85 11:25:13 Step 8/12 : WORKDIR /app 11:25:13 ---> Running in 934806e89687 11:25:14 Removing intermediate container 934806e89687 11:25:14 ---> 6a43c32ed009 11:25:14 Step 9/12 : COPY go.mod vendor* ./ 11:25:14 ---> c472290b2eb7 11:25:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:25:14 ---> Running in 4cceb4ce24b4 11:27:21 Removing intermediate container 4cceb4ce24b4 11:27:21 ---> 7f6034f10690 11:27:21 Step 11/12 : COPY . . 11:27:21 ---> 329187a39d01 11:27:21 Step 12/12 : RUN $MAKE 11:27:21 ---> Running in d9cdbfff9a9e 11:27:21 noop 11:27:21 Removing intermediate container d9cdbfff9a9e 11:27:21 ---> 992c02bc4fcb 11:27:21 Successfully built 992c02bc4fcb 11:27:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:21 + docker inspect -f . ci-base-image-arm64 11:27:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:27:22 prd-ubuntu20.04-docker-arm64-4c-16g-14789 does not seem to be running inside a container 11:27:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-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 11:27:23 $ docker top f77a38e96057171db7141c8832db36e3920c8ba9ce639a43850c38c7757428fc -eo pid,comm [Pipeline] { [Pipeline] sh 11:27:24 + go version 11:27:24 go version go1.23.2 linux/arm64 [Pipeline] } 11:27:24 $ docker stop --time=1 f77a38e96057171db7141c8832db36e3920c8ba9ce639a43850c38c7757428fc 11:27:26 $ docker rm -f --volumes f77a38e96057171db7141c8832db36e3920c8ba9ce639a43850c38c7757428fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:27 + docker inspect -f . ci-base-image-arm64 11:27:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:27:27 prd-ubuntu20.04-docker-arm64-4c-16g-14789 does not seem to be running inside a container 11:27:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-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 11:27:28 $ docker top b2638e41bd1f2d6562a3a7c7fd5b10cc99426b86c56baf197390746b090b0610 -eo pid,comm [Pipeline] { [Pipeline] sh 11:27:29 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh 11:27:29 + make test 11:27:29 go test ./... -coverprofile=coverage.out ./... 11:27:33 go: updates to go.mod needed; to update it: 11:27:33 go mod tidy 11:27:33 make: *** [Makefile:33: unittest] Error 1 [Pipeline] } 11:27:33 $ docker stop --time=1 b2638e41bd1f2d6562a3a7c7fd5b10cc99426b86c56baf197390746b090b0610 11:27:35 $ docker rm -f --volumes b2638e41bd1f2d6562a3a7c7fd5b10cc99426b86c56baf197390746b090b0610 [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 11:27:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:37 11:27:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:38 arm64: Pulling from edgex-lftools-log-publisher 11:27:38 8998bd30e6a1: Pulling fs layer 11:27:38 04944245beec: Pulling fs layer 11:27:38 699f458cf7ca: Pulling fs layer 11:27:38 765212b225bb: Pulling fs layer 11:27:38 f23df028b6ca: Pulling fs layer 11:27:38 d65c8cfc05b1: Pulling fs layer 11:27:38 2437ff75d9bd: Pulling fs layer 11:27:38 765212b225bb: Waiting 11:27:38 f23df028b6ca: Waiting 11:27:38 2437ff75d9bd: Waiting 11:27:38 d65c8cfc05b1: Waiting 11:27:38 04944245beec: Verifying Checksum 11:27:38 04944245beec: Download complete 11:27:38 765212b225bb: Verifying Checksum 11:27:38 765212b225bb: Download complete 11:27:38 f23df028b6ca: Verifying Checksum 11:27:38 f23df028b6ca: Download complete 11:27:38 d65c8cfc05b1: Verifying Checksum 11:27:38 d65c8cfc05b1: Download complete 11:27:38 699f458cf7ca: Verifying Checksum 11:27:38 699f458cf7ca: Download complete 11:27:38 8998bd30e6a1: Verifying Checksum 11:27:38 8998bd30e6a1: Download complete 11:27:41 2437ff75d9bd: Verifying Checksum 11:27:41 2437ff75d9bd: Download complete 11:27:44 8998bd30e6a1: Pull complete 11:27:44 04944245beec: Pull complete 11:27:46 699f458cf7ca: Pull complete 11:27:46 765212b225bb: Pull complete 11:27:47 f23df028b6ca: Pull complete 11:27:47 d65c8cfc05b1: Pull complete 11:28:05 2437ff75d9bd: Pull complete 11:28:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:05 prd-ubuntu20.04-docker-arm64-4c-16g-14789 does not seem to be running inside a container 11:28:05 $ 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-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-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 11:28:08 $ docker top 86fae37bb1f2b5ea68decd4f337152ee67e9ab8f7e1747560455efe3db1635a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:28:09 ---> job-cost.sh 11:28:09 lf-activate-venv: SKIPPING 11:28:09 INFO: No Stack... 11:28:09 INFO: Retrieving Pricing Info for: v3-standard-4 11:28:10 INFO: Archiving Costs [Pipeline] sh 11:28:11 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 11:28:11 + cut -d, -f6 [Pipeline] lock 11:28:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rfid-llrp-go-PR-315-1-stack-cost] 11:28:11 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-315-1-stack-cost] did not exist. Created. 11:28:11 Lock acquired on [Resource: jenkins-edgexfoundry-device-rfid-llrp-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:28:11 /w/workspace/device-rfid-llrp-go/1@tmp/durable-522cbad1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:28:12 + echo total: 0.10999999940395355 [Pipeline] stash 11:28:12 Warning: overwriting stash ‘stack-cost’ 11:28:13 Stashed 1 file(s) [Pipeline] } 11:28:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-rfid-llrp-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:28:13 $ docker stop --time=1 86fae37bb1f2b5ea68decd4f337152ee67e9ab8f7e1747560455efe3db1635a1 11:28:14 $ docker rm -f --volumes 86fae37bb1f2b5ea68decd4f337152ee67e9ab8f7e1747560455efe3db1635a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:28:15 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 11:28:18 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-315/archives ] 11:28:18 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-315/archives 11:28:18 total 16 11:28:18 drwxr-xr-x 3 root root 4096 Oct 3 10:28 . 11:28:18 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 10:28 .. 11:28:18 drwxr-xr-x 2 root root 4096 Oct 3 10:28 cost 11:28:18 -rw-r--r-- 1 root root 91 Oct 3 10:28 cost.csv 11:28:18 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-315/archives 11:28:18 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-315/archives 11:28:18 total 16 11:28:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 10:28 . 11:28:18 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 10:28 .. 11:28:18 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 10:28 cost 11:28:18 -rw-r--r-- 1 jenkins jenkins 91 Oct 3 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:28:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:28:19 ---> package-listing.sh 11:28:19 ++ facter osfamily 11:28:19 ++ tr '[:upper:]' '[:lower:]' 11:28:19 + OS_FAMILY=debian 11:28:19 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-315 11:28:19 + START_PACKAGES=/tmp/packages_start.txt 11:28:19 + END_PACKAGES=/tmp/packages_end.txt 11:28:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:28:19 + PACKAGES=/tmp/packages_start.txt 11:28:19 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-315 ']' 11:28:19 + PACKAGES=/tmp/packages_end.txt 11:28:19 + case "${OS_FAMILY}" in 11:28:19 + dpkg -l 11:28:19 + grep '^ii' 11:28:20 + '[' -f /tmp/packages_start.txt ']' 11:28:20 + '[' -f /tmp/packages_end.txt ']' 11:28:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:28:20 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-315 ']' 11:28:20 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-315/archives/ 11:28:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-315/archives/ [Pipeline] echo 11:28:20 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/undry_device-rfid-llrp-go_PR-315/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:28:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:28:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:21 prd-ubuntu20.04-docker-8c-8g-14583 does not seem to be running inside a container 11:28:21 $ 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/undry_device-rfid-llrp-go_PR-315/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-315 -v /w/workspace/undry_device-rfid-llrp-go_PR-315:/w/workspace/undry_device-rfid-llrp-go_PR-315:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-315@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-315@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 11:28:21 $ docker top 56d006e8517e56e2e657bf6d675da1966a270889ba289628bc41a0a77a29f5db -eo pid,comm [Pipeline] { [Pipeline] sh 11:28:22 + touch /tmp/pre-build-complete [Pipeline] sh 11:28:22 + mkdir -p /var/log/sysstat [Pipeline] sh 11:28:22 + ls /var/log/sa-host 11:28:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:28:23 provisioning config files... 11:28:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-315@tmp/config8828079837293828020tmp [Pipeline] { [Pipeline] echo 11:28:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:28:23 ---> create-netrc.sh [Pipeline] } 11:28:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:28:23 ---> python-tools-install.sh [Pipeline] echo 11:28:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:28:24 ---> sudo-logs.sh 11:28:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:28:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:28:24 ---> job-cost.sh 11:28:24 lf-activate-venv: SKIPPING 11:28:24 DEBUG: total: 0.2199999988079071 11:28:24 INFO: Retrieving Stack Cost... 11:28:25 INFO: Retrieving Pricing Info for: v3-standard-8 11:28:25 INFO: Archiving Costs [Pipeline] echo 11:28:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:28:25 ---> logs-deploy.sh 11:28:25 lf-activate-venv: SKIPPING 11:28:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-315/1 11:28:25 INFO: archiving workspace using pattern(s): 11:28:26 Archives upload complete. 11:28:26 INFO: archiving logs to Nexus