Pull request #283 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eaa80e934f0638de53fba49a12c396a7e95fbdcd+c1e1c5d59ac2c278b428453a1c5ca0315b3b2a8c (6c23219256e76765c55739decf60c0365d2e4461) 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-ssh16191451228955627150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5364760814195188547.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-283/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/app-rfid-llrp-inventory/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14849729563993809770.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/app-rfid-llrp-inventory/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh814086868390080279.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12861835131372542353.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/app-rfid-llrp-inventory/branches/PR-283/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/app-rfid-llrp-inventory/branches/PR-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6391206849231237061.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory] ========================================================= [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: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory 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-1131 in /w/workspace/y_app-rfid-llrp-inventory_PR-283 [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/app-rfid-llrp-inventory.git > git init /w/workspace/y_app-rfid-llrp-inventory_PR-283 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.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/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c1e1c5d59ac2c278b428453a1c5ca0315b3b2a8c into PR head commit eaa80e934f0638de53fba49a12c396a7e95fbdcd Merge succeeded, producing eaa80e934f0638de53fba49a12c396a7e95fbdcd Checking out Revision eaa80e934f0638de53fba49a12c396a7e95fbdcd (PR-283) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eaa80e934f0638de53fba49a12c396a7e95fbdcd # 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 c1e1c5d59ac2c278b428453a1c5ca0315b3b2a8c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eaa80e934f0638de53fba49a12c396a7e95fbdcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:12:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:12:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:12:09 ========================================================= 13:12:09 EdgeX Global Pipelines Version Info 13:12:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:12:10 ------------------- 13:12:10 stable info: 13:12:10 ------------------- 13:12:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:12:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:12:10 Message: update stable to v1.0.258 13:12:10 ------------------- 13:12:10 experimental info: 13:12:10 ------------------- 13:12:10 Commited By: **** collab-it+edgex@linuxfoundation.org 13:12:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:12:10 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:12:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:12:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eaa80e934f0638de53fba49a12c396a7e95fbdcd [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eaa80e9 [Pipeline] echo 13:12:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:12 provisioning config files... 13:12:12 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp/config167623151985008848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:13 ---> ****-login.sh 13:12:13 nexus3.edgexfoundry.org:10001 13:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:13 Configure a credential helper to remove this warning. See 13:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:13 13:12:13 Login Succeeded 13:12:13 nexus3.edgexfoundry.org:10002 13:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:13 Configure a credential helper to remove this warning. See 13:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:13 13:12:13 Login Succeeded 13:12:13 nexus3.edgexfoundry.org:10003 13:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:13 Configure a credential helper to remove this warning. See 13:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:13 13:12:13 Login Succeeded 13:12:13 nexus3.edgexfoundry.org:10004 13:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:13 Configure a credential helper to remove this warning. See 13:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:13 13:12:13 Login Succeeded 13:12:13 ****.io 13:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:14 Configure a credential helper to remove this warning. See 13:12:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:14 13:12:14 Login Succeeded 13:12:14 ---> ****-login.sh ends [Pipeline] } 13:12:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:12:14 + git rev-list -1 --merges eaa80e934f0638de53fba49a12c396a7e95fbdcd~1..eaa80e934f0638de53fba49a12c396a7e95fbdcd [Pipeline] echo 13:12:14 -----------> git rev-list -1 --merges eaa80e934f0638de53fba49a12c396a7e95fbdcd~1..eaa80e934f0638de53fba49a12c396a7e95fbdcd eaa80e934f0638de53fba49a12c396a7e95fbdcd [false] [Pipeline] sh 13:12:15 + git log --format=format:%s -1 eaa80e934f0638de53fba49a12c396a7e95fbdcd [Pipeline] echo 13:12:15 ========================================================= 13:12:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:12:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:12:15 + git log --format=format:%s -1 eaa80e934f0638de53fba49a12c396a7e95fbdcd [Pipeline] echo 13:12:15 [semverPrep] GIT_COMMIT: eaa80e934f0638de53fba49a12c396a7e95fbdcd, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:12:15 [semverPrep] This is not a build commit. [Pipeline] sh 13:12:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:12:16 + grep -v github /etc/ssh/ssh_known_hosts 13:12:16 + [ -e /tmp/ssh_known_hosts ] 13:12:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:12:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:12:16 + sudo tee -a /etc/ssh/ssh_known_hosts 13:12:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:12:16 13:12:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:12:17 0.1.4: Pulling from edgex-devops/py-git-semver 13:12:17 b85a868b505f: Pulling fs layer 13:12:17 e2be974225ed: Pulling fs layer 13:12:17 339a4e72a1f5: Pulling fs layer 13:12:17 988bab9f4d93: Pulling fs layer 13:12:17 1469e6f7b9e6: Pulling fs layer 13:12:17 eaf3925da568: Pulling fs layer 13:12:17 bab4dde63d76: Pulling fs layer 13:12:17 bde34c3a00c8: Pulling fs layer 13:12:17 b352a97aabf1: Pulling fs layer 13:12:17 4872d77fe225: Pulling fs layer 13:12:17 5851b861e8e6: Pulling fs layer 13:12:17 b352a97aabf1: Waiting 13:12:17 4872d77fe225: Waiting 13:12:17 5851b861e8e6: Waiting 13:12:17 eaf3925da568: Waiting 13:12:17 bde34c3a00c8: Waiting 13:12:17 988bab9f4d93: Waiting 13:12:17 1469e6f7b9e6: Waiting 13:12:17 bab4dde63d76: Waiting 13:12:17 e2be974225ed: Download complete 13:12:17 988bab9f4d93: Download complete 13:12:17 1469e6f7b9e6: Verifying Checksum 13:12:17 1469e6f7b9e6: Download complete 13:12:17 eaf3925da568: Verifying Checksum 13:12:17 eaf3925da568: Download complete 13:12:17 339a4e72a1f5: Download complete 13:12:17 bde34c3a00c8: Download complete 13:12:17 b352a97aabf1: Verifying Checksum 13:12:17 b352a97aabf1: Download complete 13:12:17 4872d77fe225: Verifying Checksum 13:12:17 4872d77fe225: Download complete 13:12:17 5851b861e8e6: Verifying Checksum 13:12:17 5851b861e8e6: Download complete 13:12:17 b85a868b505f: Verifying Checksum 13:12:17 b85a868b505f: Download complete 13:12:17 bab4dde63d76: Verifying Checksum 13:12:17 bab4dde63d76: Download complete 13:12:18 b85a868b505f: Pull complete 13:12:18 e2be974225ed: Pull complete 13:12:19 339a4e72a1f5: Pull complete 13:12:19 988bab9f4d93: Pull complete 13:12:19 1469e6f7b9e6: Pull complete 13:12:19 eaf3925da568: Pull complete 13:12:22 bab4dde63d76: Pull complete 13:12:22 bde34c3a00c8: Pull complete 13:12:22 b352a97aabf1: Pull complete 13:12:22 4872d77fe225: Pull complete 13:12:22 5851b861e8e6: Pull complete 13:12:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:12:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:22 prd-ubuntu20.04-docker-8c-8g-1131 does not seem to be running inside a container 13:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-283 -v /w/workspace/y_app-rfid-llrp-inventory_PR-283:/w/workspace/y_app-rfid-llrp-inventory_PR-283:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-283@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:12:26 $ docker top 1d3e25988c7827dd8fb8a5409348e01638b8d560487d20cf253393a9b082ed31 -eo pid,comm 13:12:26 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). 13:12:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:12:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:26 [ssh-agent] Looking for ssh-agent implementation... 13:12:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:26 $ docker exec 1d3e25988c7827dd8fb8a5409348e01638b8d560487d20cf253393a9b082ed31 ssh-agent 13:12:27 SSH_AUTH_SOCK=/tmp/ssh-fbdyteMWoFg2/agent.33 13:12:27 SSH_AGENT_PID=39 13:12:27 Running ssh-add (command line suppressed) 13:12:27 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp/private_key_9140599222287683452.key (/w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp/private_key_9140599222287683452.key) 13:12:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:27 + git tag --points-at HEAD [Pipeline] } 13:12:27 $ docker exec --env ******** --env ******** 1d3e25988c7827dd8fb8a5409348e01638b8d560487d20cf253393a9b082ed31 ssh-agent -k 13:12:27 unset SSH_AUTH_SOCK; 13:12:27 unset SSH_AGENT_PID; 13:12:27 echo Agent pid 39 killed; 13:12:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:12:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:27 [ssh-agent] Looking for ssh-agent implementation... 13:12:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:27 $ docker exec 1d3e25988c7827dd8fb8a5409348e01638b8d560487d20cf253393a9b082ed31 ssh-agent 13:12:27 SSH_AUTH_SOCK=/tmp/ssh-oKObg57s1JhL/agent.72 13:12:27 SSH_AGENT_PID=79 13:12:27 Running ssh-add (command line suppressed) 13:12:28 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp/private_key_16602568806161169433.key (/w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp/private_key_16602568806161169433.key) 13:12:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:28 + git semver init 13:12:28 2024-03-25 13:12:28,676 [run_init] DEBUG init version:0.0.0 force:False 13:12:28 2024-03-25 13:12:28,677 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-283/.semver 13:12:28 2024-03-25 13:12:28,678 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-283/.semver 13:12:28 2024-03-25 13:12:28,678 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-283/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-283, universal_newlines=False, shell=None, istream=None) 13:12:30 2024-03-25 13:12:30,373 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-283/.git/info/exclude 13:12:30 2024-03-25 13:12:30,374 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-283/.semver/PR-283 with force:False 13:12:30 2024-03-25 13:12:30,374 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-283/.semver/PR-283 13:12:30 2024-03-25 13:12:30,378 [execute] INFO git cat-file --batch-check 13:12:30 2024-03-25 13:12:30,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-283/.semver, universal_newlines=False, shell=None, istream=) 13:12:30 2024-03-25 13:12:30,385 [execute] INFO git cat-file --batch 13:12:30 2024-03-25 13:12:30,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-283/.semver, universal_newlines=False, shell=None, istream=) 13:12:30 2024-03-25 13:12:30,390 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-283/.semver/PR-283 13:12:30 0.0.0 [Pipeline] } 13:12:30 $ docker exec --env ******** --env ******** 1d3e25988c7827dd8fb8a5409348e01638b8d560487d20cf253393a9b082ed31 ssh-agent -k 13:12:30 unset SSH_AUTH_SOCK; 13:12:30 unset SSH_AGENT_PID; 13:12:30 echo Agent pid 79 killed; 13:12:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:12:31 + git semver [Pipeline] } 13:12:31 $ docker stop --time=1 1d3e25988c7827dd8fb8a5409348e01638b8d560487d20cf253393a9b082ed31 13:12:33 $ docker rm -f --volumes 1d3e25988c7827dd8fb8a5409348e01638b8d560487d20cf253393a9b082ed31 [Pipeline] // withDockerContainer [Pipeline] sh 13:12:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:12:34 Stashed 1 file(s) [Pipeline] echo 13:12:34 [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 13:12:35 provisioning config files... 13:12:35 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp/config12323482131449833986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:35 ---> ****-login.sh 13:12:35 nexus3.edgexfoundry.org:10001 13:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:35 Configure a credential helper to remove this warning. See 13:12:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:35 13:12:35 Login Succeeded 13:12:35 nexus3.edgexfoundry.org:10002 13:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:35 Configure a credential helper to remove this warning. See 13:12:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:35 13:12:35 Login Succeeded 13:12:35 nexus3.edgexfoundry.org:10003 13:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:36 Configure a credential helper to remove this warning. See 13:12:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:36 13:12:36 Login Succeeded 13:12:36 nexus3.edgexfoundry.org:10004 13:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:36 Configure a credential helper to remove this warning. See 13:12:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:36 13:12:36 Login Succeeded 13:12:36 ****.io 13:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:12:36 Configure a credential helper to remove this warning. See 13:12:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:12:36 13:12:36 Login Succeeded 13:12:36 ---> ****-login.sh ends [Pipeline] } 13:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:12:36 ========================================================= 13:12:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:12:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:12:37 Sending build context to Docker daemon 16.97MB 13:12:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:12:37 Step 2/12 : FROM ${BASE} AS builder 13:12:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:12:37 7264a8db6415: Pulling fs layer 13:12:37 c4d48a809fc2: Pulling fs layer 13:12:37 4f1c88b9dad5: Pulling fs layer 13:12:37 ad3a456e5733: Pulling fs layer 13:12:37 69c7f0334f64: Pulling fs layer 13:12:37 1f1c1a5573a3: Pulling fs layer 13:12:37 ce7588e14bc9: Pulling fs layer 13:12:37 b5e4710f87ac: Pulling fs layer 13:12:37 ad3a456e5733: Waiting 13:12:37 69c7f0334f64: Waiting 13:12:37 1f1c1a5573a3: Waiting 13:12:37 ce7588e14bc9: Waiting 13:12:37 c4d48a809fc2: Verifying Checksum 13:12:37 c4d48a809fc2: Download complete 13:12:37 ad3a456e5733: Verifying Checksum 13:12:37 ad3a456e5733: Download complete 13:12:37 69c7f0334f64: Verifying Checksum 13:12:37 69c7f0334f64: Download complete 13:12:37 7264a8db6415: Verifying Checksum 13:12:37 7264a8db6415: Download complete 13:12:37 1f1c1a5573a3: Verifying Checksum 13:12:37 1f1c1a5573a3: Download complete 13:12:37 7264a8db6415: Pull complete 13:12:37 b5e4710f87ac: Verifying Checksum 13:12:37 b5e4710f87ac: Download complete 13:12:37 c4d48a809fc2: Pull complete 13:12:37 4f1c88b9dad5: Verifying Checksum 13:12:37 4f1c88b9dad5: Download complete 13:12:38 ce7588e14bc9: Verifying Checksum 13:12:38 ce7588e14bc9: Download complete 13:12:41 4f1c88b9dad5: Pull complete 13:12:41 ad3a456e5733: Pull complete 13:12:41 69c7f0334f64: Pull complete 13:12:41 1f1c1a5573a3: Pull complete 13:12:44 ce7588e14bc9: Pull complete 13:12:44 b5e4710f87ac: Pull complete 13:12:44 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 13:12:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:12:44 ---> 88b5674ff536 13:12:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:12:48 ---> Running in bf8d8ee86c8d 13:12:48 Removing intermediate container bf8d8ee86c8d 13:12:48 ---> 401c0a421b0e 13:12:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:12:48 ---> Running in dd16166e703c 13:12:48 Removing intermediate container dd16166e703c 13:12:48 ---> 55ddd4e29133 13:12:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:12:48 ---> Running in d9bdd7906e34 13:12:48 Removing intermediate container d9bdd7906e34 13:12:48 ---> d96bd41917a4 13:12:48 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:12:48 ---> Running in 471c7f4a1a9c 13:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:12:49 OK: 264 MiB in 52 packages 13:12:50 Still waiting to schedule task 13:12:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:12:50 Removing intermediate container 471c7f4a1a9c 13:12:50 ---> 69104009e021 13:12:50 Step 7/12 : WORKDIR /app 13:12:50 ---> Running in b64353cf177f 13:12:50 Removing intermediate container b64353cf177f 13:12:50 ---> 7ed5a52525ed 13:12:50 Step 8/12 : COPY go.mod vendor* ./ 13:12:50 ---> e05a8ecbb89b 13:12:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:50 ---> Running in d5806ad55b7f 13:13:46 Removing intermediate container d5806ad55b7f 13:13:46 ---> ba38a2639808 13:13:46 Step 10/12 : COPY . . 13:13:46 ---> 575bc47c6b89 13:13:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:13:46 ---> Running in 4f7465b2bce4 13:13:46 Removing intermediate container 4f7465b2bce4 13:13:46 ---> b257e931d09f 13:13:46 Step 12/12 : RUN $MAKE 13:13:46 ---> Running in f626fe046604 13:13:46 noop 13:13:46 Removing intermediate container f626fe046604 13:13:46 ---> e14a79064e6b 13:13:46 Successfully built e14a79064e6b 13:13:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:46 + docker inspect -f . ci-base-image-x86_64 13:13:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:47 prd-ubuntu20.04-docker-8c-8g-1131 does not seem to be running inside a container 13:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-283 -v /w/workspace/y_app-rfid-llrp-inventory_PR-283:/w/workspace/y_app-rfid-llrp-inventory_PR-283:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-283@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 ******** ci-base-image-x86_64 cat 13:13:47 $ docker top 17372c15f95537c9cff705897762235ce043d4d5d2cc825fba2119d6fc508ceb -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:47 + go version 13:13:47 go version go1.21.0 linux/amd64 [Pipeline] } 13:13:47 $ docker stop --time=1 17372c15f95537c9cff705897762235ce043d4d5d2cc825fba2119d6fc508ceb 13:13:49 $ docker rm -f --volumes 17372c15f95537c9cff705897762235ce043d4d5d2cc825fba2119d6fc508ceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:49 + docker inspect -f . ci-base-image-x86_64 13:13:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:50 prd-ubuntu20.04-docker-8c-8g-1131 does not seem to be running inside a container 13:13:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-283 -v /w/workspace/y_app-rfid-llrp-inventory_PR-283:/w/workspace/y_app-rfid-llrp-inventory_PR-283:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-283@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 ******** ci-base-image-x86_64 cat 13:13:50 $ docker top 546f281299c12f3dfcce790ab233c68501521178cd5db8a45a128c0c0a86f83d -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:50 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-283 [Pipeline] fileExists [Pipeline] sh 13:13:51 + make test 13:13:51 go test -race ./... -coverprofile=coverage.out ./... 13:14:17 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:14:17 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:14:18 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.145s coverage: 86.2% of statements 13:14:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.686s coverage: 71.9% of statements 13:14:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1132 in /w/workspace/y_app-rfid-llrp-inventory_PR-283 [Pipeline] { [Pipeline] ws 13:14:26 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:14:26 The recommended git tool is: git 13:14:30 using credential edgex-jenkins-ssh 13:14:30 Cloning the remote Git repository 13:14:30 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:14:31 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:14:31 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:14:31 > git --version # timeout=10 13:14:31 > git --version # 'git version 2.25.1' 13:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 13:14:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:14:33 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:14:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:14:34 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:14:34 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:14:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:14:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:14:35 Merging remotes/origin/main commit c1e1c5d59ac2c278b428453a1c5ca0315b3b2a8c into PR head commit eaa80e934f0638de53fba49a12c396a7e95fbdcd 13:14:35 Merge succeeded, producing eaa80e934f0638de53fba49a12c396a7e95fbdcd 13:14:35 Checking out Revision eaa80e934f0638de53fba49a12c396a7e95fbdcd (PR-283) 13:14:36 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:14:36 > git --version # timeout=10 13:14:36 > git --version # 'git version 2.25.1' 13:14:36 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:14:35 > git config core.sparsecheckout # timeout=10 13:14:35 > git checkout -f eaa80e934f0638de53fba49a12c396a7e95fbdcd # timeout=10 13:14:35 > git remote # timeout=10 13:14:35 > git config --get remote.origin.url # timeout=10 13:14:35 using GIT_SSH to set credentials SSH Credentials for GitHub 13:14:35 > git merge c1e1c5d59ac2c278b428453a1c5ca0315b3b2a8c # timeout=10 13:14:35 > git rev-parse HEAD^{commit} # timeout=10 13:14:35 > git config core.sparsecheckout # timeout=10 13:14:35 > git checkout -f eaa80e934f0638de53fba49a12c396a7e95fbdcd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:14:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:14:41 % Total % Received % Xferd Average Speed Time Time Time Current 13:14:41 Dload Upload Total Spent Left Speed 13:14:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 13:14:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:14:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:14:41 + sudo tee /etc/docker/daemon.new 13:14:41 { 13:14:41 "registry-mirrors": [ 13:14:41 "https://nexus3.edgexfoundry.org:10001" 13:14:41 ], 13:14:41 "bip": "10.250.0.254/24", 13:14:41 "hosts": [ 13:14:41 "tcp://0.0.0.0:5555", 13:14:41 "unix:///var/run/docker.sock" 13:14:41 ], 13:14:41 "mtu": 1458, 13:14:41 "selinux-enabled": true, 13:14:41 "seccomp-profile": "/etc/docker/seccomp.json" 13:14:41 } [Pipeline] sh 13:14:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:14:42 + sudo service docker restart 13:14:53 go vet ./... 13:14:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:14:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:14:55 ./bin/test-attribution.sh 13:14:55 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:14:55 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:14:56 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:14:56 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:14:56 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:14:56 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:14:56 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:14:56 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:14:56 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:14:56 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:14:56 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:14:56 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:14:56 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:14:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:14:56 $ docker stop --time=1 546f281299c12f3dfcce790ab233c68501521178cd5db8a45a128c0c0a86f83d 13:15:01 $ docker rm -f --volumes 546f281299c12f3dfcce790ab233c68501521178cd5db8a45a128c0c0a86f83d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:15:02 provisioning config files... 13:15:02 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config6854655739869715549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:15:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 13:15:02 ---> ****-login.sh 13:15:02 nexus3.edgexfoundry.org:10001 [Pipeline] stage [Pipeline] { (Build) 13:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 13:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:03 Configure a credential helper to remove this warning. See 13:15:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:03 13:15:03 Login Succeeded 13:15:03 nexus3.edgexfoundry.org:10002 13:15:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:03 + ls -al . 13:15:03 total 276 13:15:03 drwxrwxr-x 11 jenkins jenkins 4096 Mar 25 13:13 . 13:15:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 13:12 .. 13:15:03 -rw-rw-r-- 1 jenkins jenkins 262 Mar 25 13:12 .dockerignore 13:15:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 13:14 .git 13:15:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 13:12 .github 13:15:03 -rw-rw-r-- 1 jenkins jenkins 773 Mar 25 13:12 .gitignore 13:15:03 -rw-rw-r-- 1 jenkins jenkins 41 Mar 25 13:12 .golangci.yml 13:15:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 25 13:12 .semver 13:15:03 -rw-rw-r-- 1 jenkins jenkins 10232 Mar 25 13:12 Attribution.txt 13:15:03 -rw-rw-r-- 1 jenkins jenkins 11245 Mar 25 13:12 CHANGELOG.md 13:15:03 -rw-rw-r-- 1 jenkins jenkins 1768 Mar 25 13:12 Dockerfile 13:15:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 25 13:12 GOVERNANCE.md 13:15:03 -rw-rw-r-- 1 jenkins jenkins 665 Mar 25 13:12 Jenkinsfile 13:15:03 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 25 13:12 LICENSE 13:15:03 -rw-rw-r-- 1 jenkins jenkins 2503 Mar 25 13:12 Makefile 13:15:03 -rw-rw-r-- 1 jenkins jenkins 617 Mar 25 13:12 OWNERS.md 13:15:03 -rw-rw-r-- 1 jenkins jenkins 3851 Mar 25 13:12 README.md 13:15:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 13:12 VERSION 13:15:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 13:12 bin 13:15:03 -rw-r--r-- 1 jenkins jenkins 41317 Mar 25 13:14 coverage.out 13:15:03 -rw-rw-r-- 1 jenkins jenkins 7273 Mar 25 13:12 go.mod 13:15:03 -rw-rw-r-- 1 jenkins jenkins 101604 Mar 25 13:12 go.sum 13:15:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 13:12 images 13:15:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 13:12 internal 13:15:03 -rw-rw-r-- 1 jenkins jenkins 531 Mar 25 13:12 main.go 13:15:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 13:12 openapi 13:15:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 13:12 res 13:15:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 13:12 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 13:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:03 Configure a credential helper to remove this warning. See 13:15:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:03 13:15:03 Login Succeeded 13:15:03 nexus3.edgexfoundry.org:10003 13:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 13:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:04 Configure a credential helper to remove this warning. See 13:15:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:04 13:15:04 Login Succeeded 13:15:04 nexus3.edgexfoundry.org:10004 13:15:04 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=eaa80e934f0638de53fba49a12c396a7e95fbdcd --label arch=amd64 --label version=0.0.0 . 13:15:04 Sending build context to Docker daemon 16.97MB 13:15:04 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:15:04 Step 2/30 : FROM ${BASE} AS builder 13:15:04 ---> e14a79064e6b 13:15:04 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:04 Configure a credential helper to remove this warning. See 13:15:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:04 13:15:04 Login Succeeded 13:15:04 ****.io 13:15:04 ---> Running in 8aedbf865869 13:15:04 Removing intermediate container 8aedbf865869 13:15:04 ---> 8f47ec225047 13:15:04 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:15:04 ---> Running in 1fe5f2eacedf 13:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:04 Removing intermediate container 1fe5f2eacedf 13:15:04 ---> 795f0b109786 13:15:04 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:15:04 ---> Running in 17de093c8321 13:15:04 Removing intermediate container 17de093c8321 13:15:04 ---> aed4660f8d4b 13:15:04 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:04 ---> Running in e5b77ce02ae2 13:15:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:15:05 OK: 264 MiB in 52 packages 13:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:05 Configure a credential helper to remove this warning. See 13:15:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:05 13:15:05 Login Succeeded 13:15:05 ---> ****-login.sh ends [Pipeline] } 13:15:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:15:05 Removing intermediate container e5b77ce02ae2 13:15:05 ---> 2a7319b1c248 13:15:05 Step 7/30 : WORKDIR /app 13:15:05 ---> Running in e088162b50e2 [Pipeline] // withEnv [Pipeline] unstash 13:15:05 Removing intermediate container e088162b50e2 13:15:05 ---> 694913684004 13:15:05 Step 8/30 : COPY go.mod vendor* ./ 13:15:05 ---> 10db99f19eef 13:15:05 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:05 ---> Running in e36abd2fc0f4 [Pipeline] echo 13:15:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:15:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:15:06 ========================================================= 13:15:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:15:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:06 Removing intermediate container e36abd2fc0f4 13:15:06 ---> 5b3411b5718c 13:15:06 Step 10/30 : COPY . . 13:15:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:15:06 Sending build context to Docker daemon 673.8kB 13:15:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:15:06 Step 2/12 : FROM ${BASE} AS builder 13:15:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:15:06 9fda8d8052c6: Pulling fs layer 13:15:06 5d54e960e981: Pulling fs layer 13:15:06 c4a7e357bf2a: Pulling fs layer 13:15:06 f0e02332f6b5: Pulling fs layer 13:15:06 872ee5b61b7b: Pulling fs layer 13:15:06 0c6a40ed1a82: Pulling fs layer 13:15:06 94ae7d8d031c: Pulling fs layer 13:15:07 94ae7d8d031c: Waiting 13:15:07 872ee5b61b7b: Waiting 13:15:07 f0e02332f6b5: Waiting 13:15:07 0c6a40ed1a82: Waiting 13:15:07 5d54e960e981: Verifying Checksum 13:15:07 5d54e960e981: Download complete 13:15:07 f0e02332f6b5: Verifying Checksum 13:15:07 f0e02332f6b5: Download complete 13:15:07 872ee5b61b7b: Download complete 13:15:07 9fda8d8052c6: Download complete 13:15:07 ---> 9ca931bf1e65 13:15:07 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:15:07 ---> Running in 4ef6363cec02 13:15:07 Removing intermediate container 4ef6363cec02 13:15:07 ---> b7c8384fbf3b 13:15:07 Step 12/30 : RUN $MAKE 13:15:07 ---> Running in 0e1acf81f6dc 13:15:07 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory 13:15:07 94ae7d8d031c: Verifying Checksum 13:15:07 94ae7d8d031c: Download complete 13:15:08 9fda8d8052c6: Pull complete 13:15:08 5d54e960e981: Pull complete 13:15:08 c4a7e357bf2a: Verifying Checksum 13:15:08 c4a7e357bf2a: Download complete 13:15:09 0c6a40ed1a82: Verifying Checksum 13:15:09 0c6a40ed1a82: Download complete 13:15:22 c4a7e357bf2a: Pull complete 13:15:22 f0e02332f6b5: Pull complete 13:15:22 872ee5b61b7b: Pull complete 13:15:30 0c6a40ed1a82: Pull complete 13:15:31 94ae7d8d031c: Pull complete 13:15:31 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 13:15:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:15:31 ---> 86de565de09d 13:15:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:15:32 ---> Running in deff7ef7ea29 13:15:33 Removing intermediate container deff7ef7ea29 13:15:33 ---> f9f5dcf71a55 13:15:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:15:33 ---> Running in f2af32a46d02 13:15:33 Removing intermediate container f2af32a46d02 13:15:33 ---> d5c3b0ad1239 13:15:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:15:33 ---> Running in 1d632c8f5af3 13:15:33 Removing intermediate container 1d632c8f5af3 13:15:33 ---> 3af324103174 13:15:33 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:33 ---> Running in 056fd8e58905 13:15:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:15:36 OK: 266 MiB in 52 packages 13:15:37 Removing intermediate container 056fd8e58905 13:15:37 ---> 54642c49c29e 13:15:37 Step 7/12 : WORKDIR /app 13:15:37 ---> Running in 311c4ff437d4 13:15:37 Removing intermediate container 311c4ff437d4 13:15:37 ---> e4246409b99b 13:15:37 Step 8/12 : COPY go.mod vendor* ./ 13:15:38 ---> 92d20805da39 13:15:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:38 ---> Running in 3944543ec040 13:15:46 Removing intermediate container 0e1acf81f6dc 13:15:46 ---> 81a19bff9ef2 13:15:46 Step 13/30 : FROM alpine:3.18 13:15:46 3.18: Pulling from library/alpine 13:15:46 619be1103602: Pulling fs layer 13:15:46 619be1103602: Verifying Checksum 13:15:46 619be1103602: Download complete 13:15:46 619be1103602: Pull complete 13:15:46 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:15:46 Status: Downloaded newer image for alpine:3.18 13:15:46 ---> d3782b16ccc9 13:15:46 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:15:46 ---> Running in 9d069c3cf3c9 13:15:46 Removing intermediate container 9d069c3cf3c9 13:15:46 ---> 8d3bde36b21c 13:15:46 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:15:46 ---> Running in 5ce0a6e909fb 13:15:46 Removing intermediate container 5ce0a6e909fb 13:15:46 ---> 6a01dcf28f17 13:15:46 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:15:46 ---> Running in 968a0c60bf0a 13:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:15:46 (1/2) Installing ca-certificates (20240226-r0) 13:15:46 (2/2) Installing dumb-init (1.2.5-r2) 13:15:46 Executing busybox-1.36.1-r5.trigger 13:15:46 Executing ca-certificates-20240226-r0.trigger 13:15:46 OK: 8 MiB in 17 packages 13:15:46 Removing intermediate container 968a0c60bf0a 13:15:46 ---> ff30399196e7 13:15:46 Step 17/30 : RUN apk --no-cache upgrade 13:15:46 ---> Running in 75708b3f06cd 13:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:15:46 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:15:46 Executing ca-certificates-20240226-r0.trigger 13:15:46 OK: 8 MiB in 17 packages 13:15:47 Removing intermediate container 75708b3f06cd 13:15:47 ---> 8c78d5e18a18 13:15:47 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:15:47 ---> 9ed67dbdd9c2 13:15:47 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:15:47 ---> 929067bc52ba 13:15:47 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:15:47 ---> a10117089b64 13:15:47 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:15:47 ---> 787a754e3149 13:15:47 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:15:48 ---> 907bd50904e9 13:15:48 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:15:48 ---> Running in bde50b886d8d 13:15:48 Removing intermediate container bde50b886d8d 13:15:48 ---> 40da20eda3ab 13:15:48 Step 24/30 : VOLUME /cache 13:15:48 ---> Running in a85cfe121ae5 13:15:48 Removing intermediate container a85cfe121ae5 13:15:48 ---> 045a764ff0bb 13:15:48 Step 25/30 : EXPOSE 59711 13:15:48 ---> Running in 63c08bfef2c9 13:15:49 Removing intermediate container 63c08bfef2c9 13:15:49 ---> b2973eaf0b20 13:15:49 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:15:49 ---> Running in 5a3395f59ff2 13:15:49 Removing intermediate container 5a3395f59ff2 13:15:49 ---> a46c0ae37a93 13:15:49 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:15:49 ---> Running in 1e95a538c2a0 13:15:49 Removing intermediate container 1e95a538c2a0 13:15:49 ---> c5e6ab79fa4c 13:15:49 Step 28/30 : LABEL arch=amd64 13:15:49 ---> Running in fc037d1cd978 13:15:49 Removing intermediate container fc037d1cd978 13:15:49 ---> 1056b16f3597 13:15:49 Step 29/30 : LABEL git_sha=eaa80e934f0638de53fba49a12c396a7e95fbdcd 13:15:49 ---> Running in cf5023d64e1a 13:15:49 Removing intermediate container cf5023d64e1a 13:15:49 ---> 34ad962c5f94 13:15:49 Step 30/30 : LABEL version=0.0.0 13:15:49 ---> Running in d86a5f80fb3b 13:15:49 Removing intermediate container d86a5f80fb3b 13:15:49 ---> 11ca8a499fa8 13:15:49 [Warning] One or more build-args [ARCH] were not consumed 13:15:49 Successfully built 11ca8a499fa8 13:15:49 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:50 13:15:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:50 latest: Pulling from edgex-lftools-log-publisher 13:15:50 5eb5b503b376: Pulling fs layer 13:15:50 5c69ac0246d0: Pulling fs layer 13:15:50 ec43610c2a17: Pulling fs layer 13:15:50 3a2ae6a8a46f: Pulling fs layer 13:15:50 33b1e0a273af: Pulling fs layer 13:15:50 5d3b04190fa2: Pulling fs layer 13:15:50 2f39f015ded8: Pulling fs layer 13:15:50 5d3b04190fa2: Waiting 13:15:50 2f39f015ded8: Waiting 13:15:50 3a2ae6a8a46f: Waiting 13:15:50 33b1e0a273af: Waiting 13:15:50 5c69ac0246d0: Verifying Checksum 13:15:50 5c69ac0246d0: Download complete 13:15:50 3a2ae6a8a46f: Verifying Checksum 13:15:50 3a2ae6a8a46f: Download complete 13:15:50 33b1e0a273af: Verifying Checksum 13:15:50 33b1e0a273af: Download complete 13:15:50 5d3b04190fa2: Verifying Checksum 13:15:50 5d3b04190fa2: Download complete 13:15:50 ec43610c2a17: Verifying Checksum 13:15:50 ec43610c2a17: Download complete 13:15:51 5eb5b503b376: Verifying Checksum 13:15:51 5eb5b503b376: Download complete 13:15:51 2f39f015ded8: Download complete 13:15:52 5eb5b503b376: Pull complete 13:15:52 5c69ac0246d0: Pull complete 13:15:52 ec43610c2a17: Pull complete 13:15:53 3a2ae6a8a46f: Pull complete 13:15:53 33b1e0a273af: Pull complete 13:15:53 5d3b04190fa2: Pull complete 13:15:57 2f39f015ded8: Pull complete 13:15:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:57 prd-ubuntu20.04-docker-8c-8g-1131 does not seem to be running inside a container 13:15:57 $ 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/y_app-rfid-llrp-inventory_PR-283 -v /w/workspace/y_app-rfid-llrp-inventory_PR-283:/w/workspace/y_app-rfid-llrp-inventory_PR-283:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-283@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 13:16:03 $ docker top 8f77bca989ad3577987e15b1aabde47247b1ffab7af39c4f67319d194aa1b06a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:04 ---> job-cost.sh 13:16:04 lf-activate-venv: SKIPPING 13:16:04 INFO: No Stack... 13:16:04 INFO: Retrieving Pricing Info for: v3-standard-8 13:16:04 INFO: Archiving Costs [Pipeline] sh 13:16:04 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-283/archives/cost.csv 13:16:04 + cut -d, -f6 [Pipeline] lock 13:16:04 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-283-1-stack-cost] 13:16:04 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-283-1-stack-cost] did not exist. Created. 13:16:04 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:16:05 + echo total: 0.2199999988079071 [Pipeline] stash 13:16:05 Stashed 1 file(s) [Pipeline] } 13:16:05 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-283-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:16:05 $ docker stop --time=1 8f77bca989ad3577987e15b1aabde47247b1ffab7af39c4f67319d194aa1b06a 13:16:06 $ docker rm -f --volumes 8f77bca989ad3577987e15b1aabde47247b1ffab7af39c4f67319d194aa1b06a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:17:44 Removing intermediate container 3944543ec040 13:17:44 ---> 75404b0c07b3 13:17:44 Step 10/12 : COPY . . 13:17:44 ---> afa95eb25d5d 13:17:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:17:44 ---> Running in 5fd8f22c406b 13:17:44 Removing intermediate container 5fd8f22c406b 13:17:44 ---> e41380f0a542 13:17:44 Step 12/12 : RUN $MAKE 13:17:44 ---> Running in 0be131eaba12 13:17:44 noop 13:17:44 Removing intermediate container 0be131eaba12 13:17:44 ---> 29b1a1fb6ddf 13:17:44 Successfully built 29b1a1fb6ddf 13:17:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:45 + docker inspect -f . ci-base-image-arm64 13:17:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:45 prd-ubuntu20.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container 13:17:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/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 13:17:47 $ docker top 3c5fe5d9516c79c8c3b6ce28c4a8ca3fdb380a9e5a499420c14340a550f00e9f -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:47 + go version 13:17:47 go version go1.21.0 linux/arm64 [Pipeline] } 13:17:47 $ docker stop --time=1 3c5fe5d9516c79c8c3b6ce28c4a8ca3fdb380a9e5a499420c14340a550f00e9f 13:17:49 $ docker rm -f --volumes 3c5fe5d9516c79c8c3b6ce28c4a8ca3fdb380a9e5a499420c14340a550f00e9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:50 + docker inspect -f . ci-base-image-arm64 13:17:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:50 prd-ubuntu20.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container 13:17:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/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 13:17:52 $ docker top b16fab21460a481ff154bbe3f9b6185066cacedb3fe8f63f0f9a3f0cd3488d06 -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:52 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:17:53 + make test 13:17:53 go test -race ./... -coverprofile=coverage.out ./... 13:21:00 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:21:00 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:21:00 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.999s coverage: 86.2% of statements 13:21:02 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.307s coverage: 71.9% of statements 13:21:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:21:03 go vet ./... 13:23:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:23:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:23:55 ./bin/test-attribution.sh 13:23:55 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:23:55 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:23:55 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:23:55 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:23:55 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:23:55 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:23:55 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:23:55 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:23:55 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:23:55 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:23:55 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:23:55 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:23:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:23:55 $ docker stop --time=1 b16fab21460a481ff154bbe3f9b6185066cacedb3fe8f63f0f9a3f0cd3488d06 13:23:57 $ docker rm -f --volumes b16fab21460a481ff154bbe3f9b6185066cacedb3fe8f63f0f9a3f0cd3488d06 [Pipeline] // withDockerContainer [Pipeline] sh 13:23:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:23:59 Warning: overwriting stash ‘coverage-report’ 13:24:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:24:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:24:01 + ls -al . 13:24:01 total 272 13:24:01 drwxrwxr-x 10 jenkins jenkins 4096 Mar 25 13:17 . 13:24:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 13:14 .. 13:24:01 -rw-rw-r-- 1 jenkins jenkins 262 Mar 25 13:14 .dockerignore 13:24:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 13:14 .git 13:24:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 13:14 .github 13:24:01 -rw-rw-r-- 1 jenkins jenkins 773 Mar 25 13:14 .gitignore 13:24:01 -rw-rw-r-- 1 jenkins jenkins 41 Mar 25 13:14 .golangci.yml 13:24:01 -rw-rw-r-- 1 jenkins jenkins 10232 Mar 25 13:14 Attribution.txt 13:24:01 -rw-rw-r-- 1 jenkins jenkins 11245 Mar 25 13:14 CHANGELOG.md 13:24:01 -rw-rw-r-- 1 jenkins jenkins 1768 Mar 25 13:14 Dockerfile 13:24:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 25 13:14 GOVERNANCE.md 13:24:01 -rw-rw-r-- 1 jenkins jenkins 665 Mar 25 13:14 Jenkinsfile 13:24:01 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 25 13:14 LICENSE 13:24:01 -rw-rw-r-- 1 jenkins jenkins 2503 Mar 25 13:14 Makefile 13:24:01 -rw-rw-r-- 1 jenkins jenkins 617 Mar 25 13:14 OWNERS.md 13:24:01 -rw-rw-r-- 1 jenkins jenkins 3851 Mar 25 13:14 README.md 13:24:01 -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 13:12 VERSION 13:24:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 13:14 bin 13:24:01 -rw-r--r-- 1 jenkins jenkins 41317 Mar 25 13:21 coverage.out 13:24:01 -rw-rw-r-- 1 jenkins jenkins 7273 Mar 25 13:14 go.mod 13:24:01 -rw-rw-r-- 1 jenkins jenkins 101604 Mar 25 13:14 go.sum 13:24:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 13:14 images 13:24:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 13:14 internal 13:24:01 -rw-rw-r-- 1 jenkins jenkins 531 Mar 25 13:14 main.go 13:24:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 13:14 openapi 13:24:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 13:14 res 13:24:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 13:14 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:01 + docker build -t app-rfid-llrp-inventory-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=eaa80e934f0638de53fba49a12c396a7e95fbdcd --label arch=arm64 --label version=0.0.0 . 13:24:01 Sending build context to Docker daemon 673.8kB 13:24:01 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:24:01 Step 2/30 : FROM ${BASE} AS builder 13:24:01 ---> 29b1a1fb6ddf 13:24:01 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:24:02 ---> Running in 9004f1aa8141 13:24:02 Removing intermediate container 9004f1aa8141 13:24:02 ---> 556490709a06 13:24:02 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:24:02 ---> Running in be4cbc8f0888 13:24:02 Removing intermediate container be4cbc8f0888 13:24:02 ---> 4598d0466569 13:24:02 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:24:02 ---> Running in 09a4597b7f07 13:24:02 Removing intermediate container 09a4597b7f07 13:24:02 ---> a323f9e9aa88 13:24:02 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:24:03 ---> Running in f02ad4611393 13:24:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:24:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:24:05 OK: 266 MiB in 52 packages 13:24:06 Removing intermediate container f02ad4611393 13:24:06 ---> ea8968b88004 13:24:06 Step 7/30 : WORKDIR /app 13:24:06 ---> Running in ceb890e6b3a0 13:24:06 Removing intermediate container ceb890e6b3a0 13:24:06 ---> 16d473236b79 13:24:06 Step 8/30 : COPY go.mod vendor* ./ 13:24:07 ---> 00f8b68bc445 13:24:07 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:24:07 ---> Running in ee9a7473a32b 13:24:09 Removing intermediate container ee9a7473a32b 13:24:09 ---> fff3615fac3d 13:24:09 Step 10/30 : COPY . . 13:24:10 ---> fdf2057bc3f7 13:24:10 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:24:10 ---> Running in 98b0fa971bc4 13:24:10 Removing intermediate container 98b0fa971bc4 13:24:10 ---> 8dee8d5d3c39 13:24:10 Step 12/30 : RUN $MAKE 13:24:10 ---> Running in 002ed373f0f7 13:24:11 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory 13:26:48 Removing intermediate container 002ed373f0f7 13:26:48 ---> 63290cb70875 13:26:48 Step 13/30 : FROM alpine:3.18 13:26:48 3.18: Pulling from library/alpine 13:26:48 c6b39de5b339: Pulling fs layer 13:26:48 c6b39de5b339: Download complete 13:26:48 c6b39de5b339: Pull complete 13:26:48 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:26:48 Status: Downloaded newer image for alpine:3.18 13:26:48 ---> 33abbf032149 13:26:48 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:26:48 ---> Running in 0175e42141ec 13:26:48 Removing intermediate container 0175e42141ec 13:26:48 ---> 5821c8eda21f 13:26:48 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:26:48 ---> Running in 582efaafe03e 13:26:48 Removing intermediate container 582efaafe03e 13:26:48 ---> c7ef128c6355 13:26:48 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:26:48 ---> Running in 44d2666f1175 13:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:26:48 (1/2) Installing ca-certificates (20240226-r0) 13:26:48 (2/2) Installing dumb-init (1.2.5-r2) 13:26:48 Executing busybox-1.36.1-r5.trigger 13:26:48 Executing ca-certificates-20240226-r0.trigger 13:26:48 OK: 9 MiB in 17 packages 13:26:48 Removing intermediate container 44d2666f1175 13:26:48 ---> 54840d05e857 13:26:48 Step 17/30 : RUN apk --no-cache upgrade 13:26:48 ---> Running in cdc4f37c3b52 13:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:26:48 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:26:48 Executing ca-certificates-20240226-r0.trigger 13:26:48 OK: 9 MiB in 17 packages 13:26:48 Removing intermediate container cdc4f37c3b52 13:26:48 ---> 7db293629cf8 13:26:48 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:26:48 ---> 0a01a23f53e4 13:26:48 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:26:48 ---> 25a28221f07c 13:26:48 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:26:48 ---> 9c1bb961dc83 13:26:48 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:26:49 ---> d748d913be15 13:26:49 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:26:50 ---> 1a917e037747 13:26:50 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:26:50 ---> Running in 532671c1a8ce 13:26:52 Removing intermediate container 532671c1a8ce 13:26:52 ---> 87b75aadf368 13:26:52 Step 24/30 : VOLUME /cache 13:26:52 ---> Running in f24452920c60 13:26:52 Removing intermediate container f24452920c60 13:26:52 ---> 28afaef5f83a 13:26:52 Step 25/30 : EXPOSE 59711 13:26:52 ---> Running in 0a1366cfcfaf 13:26:53 Removing intermediate container 0a1366cfcfaf 13:26:53 ---> 0578dacbc14a 13:26:53 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:26:53 ---> Running in 71a2215c0685 13:26:53 Removing intermediate container 71a2215c0685 13:26:53 ---> 1435b8cd2313 13:26:53 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:26:53 ---> Running in 94e682ea155e 13:26:53 Removing intermediate container 94e682ea155e 13:26:53 ---> 63429b442c36 13:26:53 Step 28/30 : LABEL arch=arm64 13:26:53 ---> Running in 4d660782a14a 13:26:53 Removing intermediate container 4d660782a14a 13:26:53 ---> 3b48228ba16c 13:26:53 Step 29/30 : LABEL git_sha=eaa80e934f0638de53fba49a12c396a7e95fbdcd 13:26:54 ---> Running in 114a7a85816b 13:26:54 Removing intermediate container 114a7a85816b 13:26:54 ---> 60ef99c97cb4 13:26:54 Step 30/30 : LABEL version=0.0.0 13:26:54 ---> Running in b0285ea304e0 13:26:54 Removing intermediate container b0285ea304e0 13:26:54 ---> 728cc91c0de0 13:26:54 [Warning] One or more build-args [ARCH] were not consumed 13:26:54 Successfully built 728cc91c0de0 13:26:54 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:26:55 13:26:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:26:55 arm64: Pulling from edgex-lftools-log-publisher 13:26:55 8998bd30e6a1: Pulling fs layer 13:26:55 04944245beec: Pulling fs layer 13:26:55 699f458cf7ca: Pulling fs layer 13:26:55 765212b225bb: Pulling fs layer 13:26:55 f23df028b6ca: Pulling fs layer 13:26:55 d65c8cfc05b1: Pulling fs layer 13:26:55 2437ff75d9bd: Pulling fs layer 13:26:55 f23df028b6ca: Waiting 13:26:55 d65c8cfc05b1: Waiting 13:26:55 2437ff75d9bd: Waiting 13:26:55 765212b225bb: Waiting 13:26:56 04944245beec: Verifying Checksum 13:26:56 04944245beec: Download complete 13:26:56 765212b225bb: Verifying Checksum 13:26:56 765212b225bb: Download complete 13:26:56 f23df028b6ca: Download complete 13:26:56 d65c8cfc05b1: Verifying Checksum 13:26:56 d65c8cfc05b1: Download complete 13:26:56 699f458cf7ca: Verifying Checksum 13:26:56 699f458cf7ca: Download complete 13:26:56 8998bd30e6a1: Verifying Checksum 13:26:56 8998bd30e6a1: Download complete 13:26:59 2437ff75d9bd: Download complete 13:27:01 8998bd30e6a1: Pull complete 13:27:01 04944245beec: Pull complete 13:27:03 699f458cf7ca: Pull complete 13:27:03 765212b225bb: Pull complete 13:27:04 f23df028b6ca: Pull complete 13:27:04 d65c8cfc05b1: Pull complete 13:27:22 2437ff75d9bd: Pull complete 13:27:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:27:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:27:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:23 prd-ubuntu20.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container 13:27:23 $ 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/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/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 13:27:25 $ docker top 43f2a686dd14ec0c5b295508c1eba12b738479d009ab838784acae4d629a79d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:27:26 ---> job-cost.sh 13:27:26 lf-activate-venv: SKIPPING 13:27:26 INFO: No Stack... 13:27:27 INFO: Retrieving Pricing Info for: v3-standard-4 13:27:27 INFO: Archiving Costs [Pipeline] sh 13:27:28 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:27:28 + cut -d, -f6 [Pipeline] lock 13:27:28 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-283-1-stack-cost] 13:27:28 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-283-1-stack-cost] did not exist. Created. 13:27:28 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:27:29 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-310951f4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:27:30 + echo total: 0.10999999940395355 [Pipeline] stash 13:27:30 Warning: overwriting stash ‘stack-cost’ 13:27:30 Stashed 1 file(s) [Pipeline] } 13:27:30 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-283-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:27:30 $ docker stop --time=1 43f2a686dd14ec0c5b295508c1eba12b738479d009ab838784acae4d629a79d1 13:27:31 $ docker rm -f --volumes 43f2a686dd14ec0c5b295508c1eba12b738479d009ab838784acae4d629a79d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:27:33 provisioning config files... 13:27:33 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp/config13296074782416752828tmp [Pipeline] { [Pipeline] sh 13:27:33 + set +x 13:27:33 + + curl -s https://codecov.io/bash 13:27:33 bash -s -- 13:27:33 13:27:33 _____ _ 13:27:33 / ____| | | 13:27:33 | | ___ __| | ___ ___ _____ __ 13:27:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:27:33 | |___| (_) | (_| | __/ (_| (_) \ V / 13:27:33 \_____\___/ \__,_|\___|\___\___/ \_/ 13:27:33 Bash-1.0.6 13:27:33 13:27:33 13:27:33 ==> git version 2.25.1 found 13:27:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:27:33 Release-Date: 2020-01-08 13:27:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:27:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:27:33 ==> Jenkins CI detected. 13:27:33 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-283 13:27:33 project root: . 13:27:33 --> token set from env 13:27:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:27:33 ==> Running gcov in . (disable via -X gcov) 13:27:33 ==> Python coveragepy not found 13:27:33 ==> Searching for coverage reports in: 13:27:33 + . 13:27:33 -> Found 1 reports 13:27:33 ==> Detecting git/mercurial file structure 13:27:33 ==> Reading reports 13:27:33 + ./coverage.out bytes=41317 13:27:33 ==> Appending adjustments 13:27:33 https://docs.codecov.io/docs/fixing-reports 13:27:33 + Found adjustments 13:27:33 ==> Gzipping contents 13:27:33 12K /tmp/codecov.ArD23z.gz 13:27:33 ==> Uploading reports 13:27:33 url: https://codecov.io 13:27:33 query: branch=PR-283&commit=eaa80e934f0638de53fba49a12c396a7e95fbdcd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=283&job=&cmd_args= 13:27:33 -> Pinging Codecov 13:27:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-283&commit=eaa80e934f0638de53fba49a12c396a7e95fbdcd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=283&job=&cmd_args= 13:27:33 -> Uploading to 13:27:33 https://storage.googleapis.com/codecov/v4/raw/2024-03-25/581DD39554BDF9B6E22D074273EAD858/eaa80e934f0638de53fba49a12c396a7e95fbdcd/5cb9110a-9669-4da5-8385-9ff90528eb01.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240325%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240325T132733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f9c01963fa96a0774ced1587e1f63633da0571630cd15070bf0af0f454302c4 13:27:33 % Total % Received % Xferd Average Speed Time Time Time Current 13:27:33 Dload Upload Total Spent Left Speed 13:27:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11611 0 0 100 11611 0 134k --:--:-- --:--:-- --:--:-- 133k 100 11611 0 0 100 11611 0 40597 --:--:-- --:--:-- --:--:-- 40456 13:27:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/eaa80e934f0638de53fba49a12c396a7e95fbdcd [Pipeline] } 13:27:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:27:36 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-283/archives ] 13:27:36 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-283/archives 13:27:36 total 16 13:27:36 drwxr-xr-x 3 root root 4096 Mar 25 13:16 . 13:27:36 drwxrwxr-x 12 jenkins jenkins 4096 Mar 25 13:16 .. 13:27:36 drwxr-xr-x 2 root root 4096 Mar 25 13:16 cost 13:27:36 -rw-r--r-- 1 root root 95 Mar 25 13:16 cost.csv 13:27:36 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-283/archives 13:27:36 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-283/archives 13:27:36 total 16 13:27:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 25 13:16 . 13:27:36 drwxrwxr-x 12 jenkins jenkins 4096 Mar 25 13:16 .. 13:27:36 drwxr-xr-x 2 jenkins jenkins 4096 Mar 25 13:16 cost 13:27:36 -rw-r--r-- 1 jenkins jenkins 95 Mar 25 13:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:27:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:27:37 ---> package-listing.sh 13:27:37 ++ facter osfamily 13:27:37 ++ tr '[:upper:]' '[:lower:]' 13:27:37 + OS_FAMILY=debian 13:27:37 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-283 13:27:37 + START_PACKAGES=/tmp/packages_start.txt 13:27:37 + END_PACKAGES=/tmp/packages_end.txt 13:27:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:27:37 + PACKAGES=/tmp/packages_start.txt 13:27:37 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-283 ']' 13:27:37 + PACKAGES=/tmp/packages_end.txt 13:27:37 + case "${OS_FAMILY}" in 13:27:37 + dpkg -l 13:27:37 + grep '^ii' 13:27:37 + '[' -f /tmp/packages_start.txt ']' 13:27:37 + '[' -f /tmp/packages_end.txt ']' 13:27:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:27:37 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-283 ']' 13:27:37 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-283/archives/ 13:27:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-283/archives/ [Pipeline] echo 13:27:37 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/y_app-rfid-llrp-inventory_PR-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:27:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:27:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:38 prd-ubuntu20.04-docker-8c-8g-1131 does not seem to be running inside a container 13:27:38 $ 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/y_app-rfid-llrp-inventory_PR-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-283 -v /w/workspace/y_app-rfid-llrp-inventory_PR-283:/w/workspace/y_app-rfid-llrp-inventory_PR-283:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-283@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:27:39 $ docker top a49d742c71ac5e016b18d1824111083bc2849201dcdf49b658120add239ee52b -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:39 + touch /tmp/pre-build-complete [Pipeline] sh 13:27:39 + mkdir -p /var/log/sysstat [Pipeline] sh 13:27:40 + ls /var/log/sa-host 13:27:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:27:40 provisioning config files... 13:27:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-283@tmp/config15512662095368237568tmp [Pipeline] { [Pipeline] echo 13:27:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:27:40 ---> create-netrc.sh [Pipeline] } 13:27:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:27:41 ---> python-tools-install.sh [Pipeline] echo 13:27:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:27:41 ---> sudo-logs.sh 13:27:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:27:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:27:41 ---> job-cost.sh 13:27:41 lf-activate-venv: SKIPPING 13:27:41 DEBUG: total: 0.2199999988079071 13:27:41 INFO: Retrieving Stack Cost... 13:27:42 INFO: Retrieving Pricing Info for: v3-standard-8 13:27:42 INFO: Archiving Costs [Pipeline] echo 13:27:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:27:43 ---> logs-deploy.sh 13:27:43 lf-activate-venv: SKIPPING 13:27:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-283/1 13:27:43 INFO: archiving workspace using pattern(s): 13:27:44 Archives upload complete. 13:27:44 INFO: archiving logs to Nexus