Pull request #298 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f35c7780d3ac46e04217778ce161dd9baf0c784c+e87408ba0baad64d24b50da923549d1991b86a3e (4329f84fe59d4c56e9e683a0c72530bb4a63e642) 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-ssh10124052949912667190.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh11211414360434781776.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 590556114a56c6d90cc8043840e039c2f74196dc 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-298/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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4496537054655597449.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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh933192463421424284.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh18305000205453732735.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-298/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-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4351113207022761714.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 590556114a56c6d90cc8043840e039c2f74196dc 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-6765 in /w/workspace/y_app-rfid-llrp-inventory_PR-298 [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-298 # 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 Merging remotes/origin/main commit e87408ba0baad64d24b50da923549d1991b86a3e into PR head commit f35c7780d3ac46e04217778ce161dd9baf0c784c Merge succeeded, producing f35c7780d3ac46e04217778ce161dd9baf0c784c Checking out Revision f35c7780d3ac46e04217778ce161dd9baf0c784c (PR-298) > 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 > 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/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f35c7780d3ac46e04217778ce161dd9baf0c784c # 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 e87408ba0baad64d24b50da923549d1991b86a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f35c7780d3ac46e04217778ce161dd9baf0c784c # timeout=10 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 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:06:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:06:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:06:27 ========================================================= 13:06:27 EdgeX Global Pipelines Version Info 13:06:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:06:29 ------------------- 13:06:29 stable info: 13:06:29 ------------------- 13:06:29 Commited By: Ginny Guan ginny@iotechsys.com 13:06:29 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 13:06:29 Message: update stable to v1.0.260 13:06:29 ------------------- 13:06:29 experimental info: 13:06:29 ------------------- 13:06:29 Commited By: Ginny Guan ginny@iotechsys.com 13:06:29 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 13:06:29 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:06:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:06:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:06:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:06:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:06:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:06:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:06:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:06:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f35c7780d3ac46e04217778ce161dd9baf0c784c [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f35c778 [Pipeline] echo 13:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:06:31 provisioning config files... 13:06:31 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp/config7764845151844351181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:06:32 ---> ****-login.sh 13:06:32 nexus3.edgexfoundry.org:10001 13:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:32 Configure a credential helper to remove this warning. See 13:06:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:32 13:06:32 Login Succeeded 13:06:32 nexus3.edgexfoundry.org:10002 13:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:32 Configure a credential helper to remove this warning. See 13:06:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:32 13:06:32 Login Succeeded 13:06:32 nexus3.edgexfoundry.org:10003 13:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:33 Configure a credential helper to remove this warning. See 13:06:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:33 13:06:33 Login Succeeded 13:06:33 nexus3.edgexfoundry.org:10004 13:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:33 Configure a credential helper to remove this warning. See 13:06:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:33 13:06:33 Login Succeeded 13:06:33 ****.io 13:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:35 Configure a credential helper to remove this warning. See 13:06:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:35 13:06:35 Login Succeeded 13:06:35 ---> ****-login.sh ends [Pipeline] } 13:06:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:06:36 + git rev-list -1 --merges f35c7780d3ac46e04217778ce161dd9baf0c784c~1..f35c7780d3ac46e04217778ce161dd9baf0c784c [Pipeline] echo 13:06:36 -----------> git rev-list -1 --merges f35c7780d3ac46e04217778ce161dd9baf0c784c~1..f35c7780d3ac46e04217778ce161dd9baf0c784c f35c7780d3ac46e04217778ce161dd9baf0c784c [false] [Pipeline] sh 13:06:36 + git log --format=format:%s -1 f35c7780d3ac46e04217778ce161dd9baf0c784c [Pipeline] echo 13:06:36 ========================================================= 13:06:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:06:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:06:37 + git log --format=format:%s -1 f35c7780d3ac46e04217778ce161dd9baf0c784c [Pipeline] echo 13:06:37 [semverPrep] GIT_COMMIT: f35c7780d3ac46e04217778ce161dd9baf0c784c, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:06:37 [semverPrep] This is not a build commit. [Pipeline] sh 13:06:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:06:37 + grep -v github /etc/ssh/ssh_known_hosts 13:06:37 + [ -e /tmp/ssh_known_hosts ] 13:06:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:06:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:06:37 + sudo tee -a /etc/ssh/ssh_known_hosts 13:06:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:06:38 13:06:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:06:38 0.1.4: Pulling from edgex-devops/py-git-semver 13:06:38 b85a868b505f: Pulling fs layer 13:06:38 e2be974225ed: Pulling fs layer 13:06:38 339a4e72a1f5: Pulling fs layer 13:06:38 988bab9f4d93: Pulling fs layer 13:06:38 1469e6f7b9e6: Pulling fs layer 13:06:38 eaf3925da568: Pulling fs layer 13:06:38 bab4dde63d76: Pulling fs layer 13:06:38 bde34c3a00c8: Pulling fs layer 13:06:38 b352a97aabf1: Pulling fs layer 13:06:38 4872d77fe225: Pulling fs layer 13:06:38 5851b861e8e6: Pulling fs layer 13:06:38 eaf3925da568: Waiting 13:06:38 bab4dde63d76: Waiting 13:06:38 bde34c3a00c8: Waiting 13:06:38 988bab9f4d93: Waiting 13:06:38 b352a97aabf1: Waiting 13:06:38 4872d77fe225: Waiting 13:06:38 5851b861e8e6: Waiting 13:06:38 e2be974225ed: Download complete 13:06:38 988bab9f4d93: Verifying Checksum 13:06:38 988bab9f4d93: Download complete 13:06:38 1469e6f7b9e6: Verifying Checksum 13:06:38 1469e6f7b9e6: Download complete 13:06:38 339a4e72a1f5: Verifying Checksum 13:06:38 339a4e72a1f5: Download complete 13:06:38 eaf3925da568: Download complete 13:06:38 bde34c3a00c8: Download complete 13:06:38 b352a97aabf1: Download complete 13:06:38 4872d77fe225: Verifying Checksum 13:06:38 4872d77fe225: Download complete 13:06:38 5851b861e8e6: Download complete 13:06:38 b85a868b505f: Verifying Checksum 13:06:38 b85a868b505f: Download complete 13:06:39 bab4dde63d76: Verifying Checksum 13:06:39 bab4dde63d76: Download complete 13:06:40 b85a868b505f: Pull complete 13:06:40 e2be974225ed: Pull complete 13:06:41 339a4e72a1f5: Pull complete 13:06:41 988bab9f4d93: Pull complete 13:06:41 1469e6f7b9e6: Pull complete 13:06:41 eaf3925da568: Pull complete 13:06:43 bab4dde63d76: Pull complete 13:06:43 bde34c3a00c8: Pull complete 13:06:43 b352a97aabf1: Pull complete 13:06:43 4872d77fe225: Pull complete 13:06:43 5851b861e8e6: Pull complete 13:06:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:06:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:44 prd-ubuntu20.04-docker-8c-8g-6765 does not seem to be running inside a container 13:06:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-298 -v /w/workspace/y_app-rfid-llrp-inventory_PR-298:/w/workspace/y_app-rfid-llrp-inventory_PR-298:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-298@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:06:49 $ docker top 98b4e175b722401cc9f4ebc8a2fba175c6bdf8f8fc8203af0914955a1f44cdd9 -eo pid,comm 13:06:48 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:06:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:06:48 [ssh-agent] Looking for ssh-agent implementation... 13:06:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:06:49 $ docker exec 98b4e175b722401cc9f4ebc8a2fba175c6bdf8f8fc8203af0914955a1f44cdd9 ssh-agent 13:06:49 SSH_AUTH_SOCK=/tmp/ssh-IHOhnd2gWPuO/agent.31 13:06:49 SSH_AGENT_PID=38 13:06:49 Running ssh-add (command line suppressed) 13:06:49 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp/private_key_13381129067836585368.key (/w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp/private_key_13381129067836585368.key) 13:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:06:49 + git tag --points-at HEAD [Pipeline] } 13:06:50 $ docker exec --env ******** --env ******** 98b4e175b722401cc9f4ebc8a2fba175c6bdf8f8fc8203af0914955a1f44cdd9 ssh-agent -k 13:06:50 unset SSH_AUTH_SOCK; 13:06:50 unset SSH_AGENT_PID; 13:06:50 echo Agent pid 38 killed; 13:06:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:06:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:06:49 [ssh-agent] Looking for ssh-agent implementation... 13:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:06:50 $ docker exec 98b4e175b722401cc9f4ebc8a2fba175c6bdf8f8fc8203af0914955a1f44cdd9 ssh-agent 13:06:50 SSH_AUTH_SOCK=/tmp/ssh-mikbKxUzKrFS/agent.72 13:06:50 SSH_AGENT_PID=78 13:06:50 Running ssh-add (command line suppressed) 13:06:50 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp/private_key_6877181493215269936.key (/w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp/private_key_6877181493215269936.key) 13:06:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:06:50 + git semver init 13:06:50 2024-07-30 13:06:51,255 [run_init] DEBUG init version:0.0.0 force:False 13:06:50 2024-07-30 13:06:51,256 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-298/.semver 13:06:50 2024-07-30 13:06:51,257 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-298/.semver 13:06:50 2024-07-30 13:06:51,257 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-298/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-298, universal_newlines=False, shell=None, istream=None) 13:06:52 2024-07-30 13:06:52,991 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-298/.git/info/exclude 13:06:52 2024-07-30 13:06:52,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-298/.semver/PR-298 with force:False 13:06:52 2024-07-30 13:06:52,993 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-298/.semver/PR-298 13:06:52 2024-07-30 13:06:52,998 [execute] INFO git cat-file --batch-check 13:06:52 2024-07-30 13:06:52,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-298/.semver, universal_newlines=False, shell=None, istream=) 13:06:52 2024-07-30 13:06:53,005 [execute] INFO git cat-file --batch 13:06:52 2024-07-30 13:06:53,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-298/.semver, universal_newlines=False, shell=None, istream=) 13:06:52 2024-07-30 13:06:53,011 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-298/.semver/PR-298 13:06:52 0.0.0 [Pipeline] } 13:06:53 $ docker exec --env ******** --env ******** 98b4e175b722401cc9f4ebc8a2fba175c6bdf8f8fc8203af0914955a1f44cdd9 ssh-agent -k 13:06:53 unset SSH_AUTH_SOCK; 13:06:53 unset SSH_AGENT_PID; 13:06:53 echo Agent pid 78 killed; 13:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:06:53 + git semver [Pipeline] } 13:06:54 $ docker stop --time=1 98b4e175b722401cc9f4ebc8a2fba175c6bdf8f8fc8203af0914955a1f44cdd9 13:06:55 $ docker rm -f --volumes 98b4e175b722401cc9f4ebc8a2fba175c6bdf8f8fc8203af0914955a1f44cdd9 [Pipeline] // withDockerContainer [Pipeline] sh 13:06:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:06:55 Stashed 1 file(s) [Pipeline] echo 13:06:55 [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:06:56 provisioning config files... 13:06:56 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp/config11392652177790723193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:06:56 ---> ****-login.sh 13:06:56 nexus3.edgexfoundry.org:10001 13:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:56 Configure a credential helper to remove this warning. See 13:06:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:56 13:06:56 Login Succeeded 13:06:56 nexus3.edgexfoundry.org:10002 13:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:56 Configure a credential helper to remove this warning. See 13:06:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:56 13:06:56 Login Succeeded 13:06:56 nexus3.edgexfoundry.org:10003 13:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:57 Configure a credential helper to remove this warning. See 13:06:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:57 13:06:57 Login Succeeded 13:06:57 nexus3.edgexfoundry.org:10004 13:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:57 Configure a credential helper to remove this warning. See 13:06:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:57 13:06:57 Login Succeeded 13:06:57 ****.io 13:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:57 Configure a credential helper to remove this warning. See 13:06:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:57 13:06:57 Login Succeeded 13:06:57 ---> ****-login.sh ends [Pipeline] } 13:06:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:06:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:06:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:06:57 ========================================================= 13:06:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:06:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:58 + 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:06:58 Sending build context to Docker daemon 20.04MB 13:06:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:06:58 Step 2/12 : FROM ${BASE} AS builder 13:06:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:06:58 619be1103602: Pulling fs layer 13:06:58 7862e08f4a3e: Pulling fs layer 13:06:58 5df492c9dc93: Pulling fs layer 13:06:58 7629e6793208: Pulling fs layer 13:06:58 4f4fb700ef54: Pulling fs layer 13:06:58 fb5054dd5b73: Pulling fs layer 13:06:58 eeca6798cff9: Pulling fs layer 13:06:58 aa269ceb94a6: Pulling fs layer 13:06:58 ada007ff1a6a: Pulling fs layer 13:06:58 4f4fb700ef54: Waiting 13:06:58 aa269ceb94a6: Waiting 13:06:58 fb5054dd5b73: Waiting 13:06:58 eeca6798cff9: Waiting 13:06:58 7629e6793208: Waiting 13:06:58 ada007ff1a6a: Waiting 13:06:58 7862e08f4a3e: Verifying Checksum 13:06:58 7862e08f4a3e: Download complete 13:06:58 7629e6793208: Download complete 13:06:58 4f4fb700ef54: Verifying Checksum 13:06:58 4f4fb700ef54: Download complete 13:06:58 619be1103602: Verifying Checksum 13:06:58 619be1103602: Download complete 13:06:58 fb5054dd5b73: Download complete 13:06:58 eeca6798cff9: Verifying Checksum 13:06:58 eeca6798cff9: Download complete 13:06:58 619be1103602: Pull complete 13:06:58 ada007ff1a6a: Verifying Checksum 13:06:58 ada007ff1a6a: Download complete 13:06:58 7862e08f4a3e: Pull complete 13:06:59 5df492c9dc93: Verifying Checksum 13:06:59 5df492c9dc93: Download complete 13:06:59 aa269ceb94a6: Verifying Checksum 13:06:59 aa269ceb94a6: Download complete 13:07:02 5df492c9dc93: Pull complete 13:07:02 7629e6793208: Pull complete 13:07:02 4f4fb700ef54: Pull complete 13:07:02 fb5054dd5b73: Pull complete 13:07:02 eeca6798cff9: Pull complete 13:07:05 aa269ceb94a6: Pull complete 13:07:05 ada007ff1a6a: Pull complete 13:07:05 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 13:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:07:06 ---> f489d0715acc 13:07:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:07:11 Still waiting to schedule task 13:07:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:07:11 ---> Running in 6c5b3711e246 13:07:11 Removing intermediate container 6c5b3711e246 13:07:11 ---> 3db32d492069 13:07:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:07:11 ---> Running in f8ad1631dc0b 13:07:11 Removing intermediate container f8ad1631dc0b 13:07:11 ---> 18fba5422d6b 13:07:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:07:11 ---> Running in a998d171d496 13:07:11 Removing intermediate container a998d171d496 13:07:11 ---> c894336deeb8 13:07:11 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:07:11 ---> Running in bc3889f2052c 13:07:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:07:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:07:12 OK: 264 MiB in 52 packages 13:07:12 Removing intermediate container bc3889f2052c 13:07:12 ---> 443ba30f3798 13:07:12 Step 7/12 : WORKDIR /app 13:07:12 ---> Running in a51316f2b4c9 13:07:12 Removing intermediate container a51316f2b4c9 13:07:12 ---> 92d3b78bb166 13:07:12 Step 8/12 : COPY go.mod vendor* ./ 13:07:12 ---> 2c1d91002f52 13:07:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:12 ---> Running in e1f2bed02b26 13:08:20 Removing intermediate container e1f2bed02b26 13:08:20 ---> 93295f12c6bf 13:08:20 Step 10/12 : COPY . . 13:08:20 ---> bb0397cda17c 13:08:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:08:20 ---> Running in 3ad07e76468c 13:08:20 Removing intermediate container 3ad07e76468c 13:08:20 ---> e9782739ce93 13:08:20 Step 12/12 : RUN $MAKE 13:08:20 ---> Running in 64145475cc59 13:08:20 noop 13:08:20 Removing intermediate container 64145475cc59 13:08:20 ---> 482ea663ed88 13:08:20 Successfully built 482ea663ed88 13:08:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:20 + docker inspect -f . ci-base-image-x86_64 13:08:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:08:21 prd-ubuntu20.04-docker-8c-8g-6765 does not seem to be running inside a container 13:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-298 -v /w/workspace/y_app-rfid-llrp-inventory_PR-298:/w/workspace/y_app-rfid-llrp-inventory_PR-298:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-298@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:08:21 $ docker top 7393bf6892bfcf6470e14a5779cdebc77ffc7cb591ce337504b552eaa8575f60 -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:21 + go version 13:08:21 go version go1.21.9 linux/amd64 [Pipeline] } 13:08:22 $ docker stop --time=1 7393bf6892bfcf6470e14a5779cdebc77ffc7cb591ce337504b552eaa8575f60 13:08:23 $ docker rm -f --volumes 7393bf6892bfcf6470e14a5779cdebc77ffc7cb591ce337504b552eaa8575f60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:24 + docker inspect -f . ci-base-image-x86_64 13:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:08:24 prd-ubuntu20.04-docker-8c-8g-6765 does not seem to be running inside a container 13:08:24 $ 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-298 -v /w/workspace/y_app-rfid-llrp-inventory_PR-298:/w/workspace/y_app-rfid-llrp-inventory_PR-298:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-298@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:08:24 $ docker top d7402a0d97d4ce3a88c093bbc881ddb57e0ef1c78487372782c9d4fd71eeea8f -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:25 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-298 [Pipeline] fileExists [Pipeline] sh 13:08:25 + make test 13:08:25 go test -race ./... -coverprofile=coverage.out ./... 13:08:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6766 in /w/workspace/y_app-rfid-llrp-inventory_PR-298 [Pipeline] { [Pipeline] ws 13:08:50 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:08:53 The recommended git tool is: git 13:08:57 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:08:57 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:08:58 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.131s coverage: 86.2% of statements 13:09:00 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.688s coverage: 71.9% of statements 13:09:01 using credential edgex-jenkins-ssh 13:09:01 Cloning the remote Git repository 13:09:01 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:09:02 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:09:02 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:09:02 > git --version # timeout=10 13:09:02 > git --version # 'git version 2.25.1' 13:09:02 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:09:06 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:09:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:09:08 Merging remotes/origin/main commit e87408ba0baad64d24b50da923549d1991b86a3e into PR head commit f35c7780d3ac46e04217778ce161dd9baf0c784c 13:09:08 Merge succeeded, producing f35c7780d3ac46e04217778ce161dd9baf0c784c 13:09:08 Checking out Revision f35c7780d3ac46e04217778ce161dd9baf0c784c (PR-298) 13:09:07 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:09:07 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:09:07 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:09:08 > git config core.sparsecheckout # timeout=10 13:09:08 > git checkout -f f35c7780d3ac46e04217778ce161dd9baf0c784c # timeout=10 13:09:08 > git remote # timeout=10 13:09:08 > git config --get remote.origin.url # timeout=10 13:09:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:08 > git merge e87408ba0baad64d24b50da923549d1991b86a3e # timeout=10 13:09:08 > git rev-parse HEAD^{commit} # timeout=10 13:09:08 > git config core.sparsecheckout # timeout=10 13:09:08 > git checkout -f f35c7780d3ac46e04217778ce161dd9baf0c784c # timeout=10 13:09:08 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:09:09 > git --version # timeout=10 13:09:09 > git --version # 'git version 2.25.1' 13:09:09 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:09:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:09:14 % Total % Received % Xferd Average Speed Time Time Time Current 13:09:14 Dload Upload Total Spent Left Speed 13:09:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95731 0 --:--:-- --:--:-- --:--:-- 95731 [Pipeline] sh 13:09:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:09:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:09:14 + sudo tee /etc/docker/daemon.new 13:09:14 { 13:09:14 "registry-mirrors": [ 13:09:14 "https://nexus3.edgexfoundry.org:10001" 13:09:14 ], 13:09:14 "bip": "10.250.0.254/24", 13:09:14 "hosts": [ 13:09:14 "tcp://0.0.0.0:5555", 13:09:14 "unix:///var/run/docker.sock" 13:09:14 ], 13:09:14 "mtu": 1458, 13:09:14 "selinux-enabled": true, 13:09:14 "seccomp-profile": "/etc/docker/seccomp.json" 13:09:14 } [Pipeline] sh 13:09:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:09:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:09:33 provisioning config files... 13:09:33 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config12472241784338642346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:34 ---> ****-login.sh 13:09:34 nexus3.edgexfoundry.org:10001 13:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:09:35 Configure a credential helper to remove this warning. See 13:09:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:09:35 13:09:35 Login Succeeded 13:09:35 nexus3.edgexfoundry.org:10002 13:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:09:35 Configure a credential helper to remove this warning. See 13:09:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:09:35 13:09:35 Login Succeeded 13:09:35 nexus3.edgexfoundry.org:10003 13:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:09:35 Configure a credential helper to remove this warning. See 13:09:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:09:35 13:09:35 Login Succeeded 13:09:35 nexus3.edgexfoundry.org:10004 13:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:09:36 Configure a credential helper to remove this warning. See 13:09:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:09:36 13:09:36 Login Succeeded 13:09:36 ****.io 13:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:09:36 Configure a credential helper to remove this warning. See 13:09:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:09:36 13:09:36 Login Succeeded 13:09:36 ---> ****-login.sh ends [Pipeline] } 13:09:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:09:37 ========================================================= 13:09:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:09:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:37 + 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:09:38 Sending build context to Docker daemon 673.8kB 13:09:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:09:38 Step 2/12 : FROM ${BASE} AS builder 13:09:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:09:38 c6b39de5b339: Pulling fs layer 13:09:38 a69c41024577: Pulling fs layer 13:09:38 d6de4b400683: Pulling fs layer 13:09:38 35cb2a7552d0: Pulling fs layer 13:09:38 4f4fb700ef54: Pulling fs layer 13:09:38 464afbd9ba4c: Pulling fs layer 13:09:38 00f215d4a9da: Pulling fs layer 13:09:38 d496ad576159: Pulling fs layer 13:09:38 35cb2a7552d0: Waiting 13:09:38 4f4fb700ef54: Waiting 13:09:38 464afbd9ba4c: Waiting 13:09:38 00f215d4a9da: Waiting 13:09:38 d496ad576159: Waiting 13:09:38 a69c41024577: Download complete 13:09:38 35cb2a7552d0: Verifying Checksum 13:09:38 35cb2a7552d0: Download complete 13:09:38 4f4fb700ef54: Verifying Checksum 13:09:38 4f4fb700ef54: Download complete 13:09:38 464afbd9ba4c: Verifying Checksum 13:09:38 464afbd9ba4c: Download complete 13:09:38 c6b39de5b339: Download complete 13:09:38 d496ad576159: Verifying Checksum 13:09:38 d496ad576159: Download complete 13:09:39 c6b39de5b339: Pull complete 13:09:39 go vet ./... 13:09:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:09:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:09:39 a69c41024577: Pull complete 13:09:40 ./bin/test-attribution.sh 13:09:40 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:09:40 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:09:40 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:09:40 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:09:40 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:09:40 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:09:40 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:09:40 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:09:40 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:09:40 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:09:40 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add 13:09:40 d6de4b400683: Download complete [Pipeline] echo 13:09:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:09:40 $ docker stop --time=1 d7402a0d97d4ce3a88c093bbc881ddb57e0ef1c78487372782c9d4fd71eeea8f 13:09:41 00f215d4a9da: Verifying Checksum 13:09:41 00f215d4a9da: Download complete 13:09:44 $ docker rm -f --volumes d7402a0d97d4ce3a88c093bbc881ddb57e0ef1c78487372782c9d4fd71eeea8f [Pipeline] // withDockerContainer [Pipeline] sh 13:09:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:09:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:09:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:09:46 + ls -al . 13:09:46 total 276 13:09:46 drwxrwxr-x 11 jenkins jenkins 4096 Jul 30 13:08 . 13:09:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 13:06 .. 13:09:46 -rw-rw-r-- 1 jenkins jenkins 262 Jul 30 13:06 .dockerignore 13:09:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 13:09 .git 13:09:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 13:06 .github 13:09:46 -rw-rw-r-- 1 jenkins jenkins 773 Jul 30 13:06 .gitignore 13:09:46 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 13:06 .golangci.yml 13:09:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 13:06 .semver 13:09:46 -rw-rw-r-- 1 jenkins jenkins 10232 Jul 30 13:06 Attribution.txt 13:09:46 -rw-rw-r-- 1 jenkins jenkins 11245 Jul 30 13:06 CHANGELOG.md 13:09:46 -rw-rw-r-- 1 jenkins jenkins 1768 Jul 30 13:06 Dockerfile 13:09:46 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 13:06 GOVERNANCE.md 13:09:46 -rw-rw-r-- 1 jenkins jenkins 665 Jul 30 13:06 Jenkinsfile 13:09:46 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 30 13:06 LICENSE 13:09:46 -rw-rw-r-- 1 jenkins jenkins 2503 Jul 30 13:06 Makefile 13:09:46 -rw-rw-r-- 1 jenkins jenkins 617 Jul 30 13:06 OWNERS.md 13:09:46 -rw-rw-r-- 1 jenkins jenkins 3851 Jul 30 13:06 README.md 13:09:46 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 13:06 VERSION 13:09:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 13:06 bin 13:09:46 -rw-r--r-- 1 jenkins jenkins 41317 Jul 30 13:09 coverage.out 13:09:46 -rw-rw-r-- 1 jenkins jenkins 7243 Jul 30 13:06 go.mod 13:09:46 -rw-rw-r-- 1 jenkins jenkins 101448 Jul 30 13:06 go.sum 13:09:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 13:06 images 13:09:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 13:06 internal 13:09:46 -rw-rw-r-- 1 jenkins jenkins 531 Jul 30 13:06 main.go 13:09:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 13:06 openapi 13:09:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 13:06 res 13:09:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 13:06 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:47 + 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=f35c7780d3ac46e04217778ce161dd9baf0c784c --label arch=amd64 --label version=0.0.0 . 13:09:47 Sending build context to Docker daemon 20.04MB 13:09:47 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:09:47 Step 2/30 : FROM ${BASE} AS builder 13:09:47 ---> 482ea663ed88 13:09:47 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:09:47 ---> Running in 595d37b0ee95 13:09:47 Removing intermediate container 595d37b0ee95 13:09:47 ---> 969145e5a95f 13:09:47 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:09:47 ---> Running in 191bb7a9330f 13:09:47 Removing intermediate container 191bb7a9330f 13:09:47 ---> de0d0a8ec704 13:09:47 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:09:47 ---> Running in d1febca4502f 13:09:47 Removing intermediate container d1febca4502f 13:09:47 ---> ed9d55e212a3 13:09:47 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:09:47 ---> Running in 3555599b53e0 13:09:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:09:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:09:48 OK: 264 MiB in 52 packages 13:09:48 Removing intermediate container 3555599b53e0 13:09:48 ---> 29923892f4ba 13:09:48 Step 7/30 : WORKDIR /app 13:09:48 ---> Running in 7ac53198fbe6 13:09:48 Removing intermediate container 7ac53198fbe6 13:09:48 ---> 194b8155b433 13:09:48 Step 8/30 : COPY go.mod vendor* ./ 13:09:48 ---> 0065f8a2e63e 13:09:48 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:09:48 ---> Running in 3e9c7da26e66 13:09:49 Removing intermediate container 3e9c7da26e66 13:09:49 ---> 19fb69c10a23 13:09:49 Step 10/30 : COPY . . 13:09:50 ---> 4afade851817 13:09:50 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:09:50 ---> Running in df61047a9eae 13:09:50 Removing intermediate container df61047a9eae 13:09:50 ---> b82a1d5ce605 13:09:50 Step 12/30 : RUN $MAKE 13:09:50 ---> Running in 11115f42d8ec 13:09:50 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.45 -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:09:53 d6de4b400683: Pull complete 13:09:53 35cb2a7552d0: Pull complete 13:09:53 4f4fb700ef54: Pull complete 13:09:53 464afbd9ba4c: Pull complete 13:10:02 00f215d4a9da: Pull complete 13:10:03 d496ad576159: Pull complete 13:10:03 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 13:10:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:10:03 ---> f246e2811388 13:10:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:10:04 ---> Running in 85360da90de0 13:10:04 Removing intermediate container 85360da90de0 13:10:04 ---> 45e99055ce4d 13:10:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:10:04 ---> Running in f250dbaf5487 13:10:05 Removing intermediate container f250dbaf5487 13:10:05 ---> 53e9cc99691f 13:10:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:10:05 ---> Running in 37d1dfd6be76 13:10:05 Removing intermediate container 37d1dfd6be76 13:10:05 ---> cd7b80d3c7b0 13:10:05 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:10:05 ---> Running in cb856d987fd8 13:10:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:10:08 OK: 266 MiB in 52 packages 13:10:09 Removing intermediate container cb856d987fd8 13:10:09 ---> c6da462e2149 13:10:09 Step 7/12 : WORKDIR /app 13:10:09 ---> Running in d4c05b9e7efe 13:10:09 Removing intermediate container d4c05b9e7efe 13:10:09 ---> 850af03124e1 13:10:09 Step 8/12 : COPY go.mod vendor* ./ 13:10:11 ---> bc6af832c2cc 13:10:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:10:11 ---> Running in 7ed301f3abfc 13:10:22 Removing intermediate container 11115f42d8ec 13:10:22 ---> 86674bc8a0d3 13:10:22 Step 13/30 : FROM alpine:3.18 13:10:22 3.18: Pulling from library/alpine 13:10:22 930bdd4d222e: Pulling fs layer 13:10:22 930bdd4d222e: Verifying Checksum 13:10:22 930bdd4d222e: Download complete 13:10:22 930bdd4d222e: Pull complete 13:10:22 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 13:10:22 Status: Downloaded newer image for alpine:3.18 13:10:22 ---> 18f865063206 13:10:22 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:10:22 ---> Running in c045a17db8bd 13:10:22 Removing intermediate container c045a17db8bd 13:10:22 ---> 72a699c90447 13:10:22 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:10:22 ---> Running in 672ab0dd4699 13:10:22 Removing intermediate container 672ab0dd4699 13:10:22 ---> 4464de2ed671 13:10:22 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:10:22 ---> Running in a1b8bb4d1769 13:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:10:22 (1/2) Installing ca-certificates (20240226-r0) 13:10:22 (2/2) Installing dumb-init (1.2.5-r2) 13:10:22 Executing busybox-1.36.1-r7.trigger 13:10:22 Executing ca-certificates-20240226-r0.trigger 13:10:22 OK: 8 MiB in 17 packages 13:10:22 Removing intermediate container a1b8bb4d1769 13:10:22 ---> 3da332ab6c19 13:10:22 Step 17/30 : RUN apk --no-cache upgrade 13:10:22 ---> Running in cf8926f137e0 13:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:10:23 OK: 8 MiB in 17 packages 13:10:23 Removing intermediate container cf8926f137e0 13:10:23 ---> ec9d5ae5a973 13:10:23 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:23 ---> a090cae2583e 13:10:23 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:10:23 ---> 8fe1420f8a10 13:10:23 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:10:24 ---> 1272b968ee61 13:10:24 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:10:24 ---> 9d96f73c5c89 13:10:24 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:10:25 ---> 85d38a0290a7 13:10:25 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:10:25 ---> Running in bffec40f57a6 13:10:25 Removing intermediate container bffec40f57a6 13:10:25 ---> 5bac301dbd62 13:10:25 Step 24/30 : VOLUME /cache 13:10:25 ---> Running in 54eac2bf7bde 13:10:25 Removing intermediate container 54eac2bf7bde 13:10:25 ---> 72a6fb580929 13:10:25 Step 25/30 : EXPOSE 59711 13:10:25 ---> Running in b8d229908606 13:10:25 Removing intermediate container b8d229908606 13:10:25 ---> 2e487f7d3151 13:10:25 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:10:26 ---> Running in 1c5ebbca886c 13:10:26 Removing intermediate container 1c5ebbca886c 13:10:26 ---> 22f1f37a0cdf 13:10:26 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:10:26 ---> Running in 22db7e622ab8 13:10:26 Removing intermediate container 22db7e622ab8 13:10:26 ---> d219874c138d 13:10:26 Step 28/30 : LABEL arch=amd64 13:10:26 ---> Running in b9fd1889c416 13:10:26 Removing intermediate container b9fd1889c416 13:10:26 ---> 3a012e1b467a 13:10:26 Step 29/30 : LABEL git_sha=f35c7780d3ac46e04217778ce161dd9baf0c784c 13:10:26 ---> Running in 6bc9cc960f70 13:10:26 Removing intermediate container 6bc9cc960f70 13:10:26 ---> 49db3ecf1814 13:10:26 Step 30/30 : LABEL version=0.0.0 13:10:26 ---> Running in 4c89682b1006 13:10:26 Removing intermediate container 4c89682b1006 13:10:26 ---> e13427c19ced 13:10:26 [Warning] One or more build-args [ARCH] were not consumed 13:10:26 Successfully built e13427c19ced 13:10:26 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:27 13:10:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:27 latest: Pulling from edgex-lftools-log-publisher 13:10:27 5eb5b503b376: Pulling fs layer 13:10:27 5c69ac0246d0: Pulling fs layer 13:10:27 ec43610c2a17: Pulling fs layer 13:10:27 3a2ae6a8a46f: Pulling fs layer 13:10:27 33b1e0a273af: Pulling fs layer 13:10:27 5d3b04190fa2: Pulling fs layer 13:10:27 2f39f015ded8: Pulling fs layer 13:10:27 2f39f015ded8: Waiting 13:10:27 3a2ae6a8a46f: Waiting 13:10:27 5d3b04190fa2: Waiting 13:10:27 5c69ac0246d0: Verifying Checksum 13:10:27 5c69ac0246d0: Download complete 13:10:27 3a2ae6a8a46f: Verifying Checksum 13:10:27 3a2ae6a8a46f: Download complete 13:10:27 33b1e0a273af: Verifying Checksum 13:10:27 33b1e0a273af: Download complete 13:10:28 5d3b04190fa2: Verifying Checksum 13:10:28 5d3b04190fa2: Download complete 13:10:28 ec43610c2a17: Verifying Checksum 13:10:28 ec43610c2a17: Download complete 13:10:28 5eb5b503b376: Verifying Checksum 13:10:28 5eb5b503b376: Download complete 13:10:29 5eb5b503b376: Pull complete 13:10:29 5c69ac0246d0: Pull complete 13:10:30 ec43610c2a17: Pull complete 13:10:30 3a2ae6a8a46f: Pull complete 13:10:30 33b1e0a273af: Pull complete 13:10:30 5d3b04190fa2: Pull complete 13:10:34 2f39f015ded8: Pull complete 13:10:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:34 prd-ubuntu20.04-docker-8c-8g-6765 does not seem to be running inside a container 13:10:34 $ 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-298 -v /w/workspace/y_app-rfid-llrp-inventory_PR-298:/w/workspace/y_app-rfid-llrp-inventory_PR-298:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-298@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:10:40 $ docker top 099b07b5ed91505c5dfe9c00a603a4da6f1b9bab21eca6553f718bba15d56b05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:40 ---> job-cost.sh 13:10:40 lf-activate-venv: SKIPPING 13:10:40 INFO: No Stack... 13:10:40 INFO: Retrieving Pricing Info for: v3-standard-8 13:10:41 INFO: Archiving Costs [Pipeline] sh 13:10:41 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-298/archives/cost.csv 13:10:41 + cut -d, -f6 [Pipeline] lock 13:10:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-298-1-stack-cost] 13:10:41 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-298-1-stack-cost] did not exist. Created. 13:10:41 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:10:42 + echo total: 0.2199999988079071 [Pipeline] stash 13:10:42 Stashed 1 file(s) [Pipeline] } 13:10:42 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:10:42 $ docker stop --time=1 099b07b5ed91505c5dfe9c00a603a4da6f1b9bab21eca6553f718bba15d56b05 13:10:43 $ docker rm -f --volumes 099b07b5ed91505c5dfe9c00a603a4da6f1b9bab21eca6553f718bba15d56b05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:12:02 Removing intermediate container 7ed301f3abfc 13:12:02 ---> 50a0345a4558 13:12:02 Step 10/12 : COPY . . 13:12:02 ---> 91ed477622f5 13:12:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:12:02 ---> Running in 10d765413bab 13:12:02 Removing intermediate container 10d765413bab 13:12:02 ---> 056e2af0b9aa 13:12:02 Step 12/12 : RUN $MAKE 13:12:02 ---> Running in fcb4ba49b45b 13:12:02 noop 13:12:02 Removing intermediate container fcb4ba49b45b 13:12:02 ---> ee6c2294db39 13:12:02 Successfully built ee6c2294db39 13:12:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:03 + docker inspect -f . ci-base-image-arm64 13:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:03 prd-ubuntu20.04-docker-arm64-4c-16g-6766 does not seem to be running inside a container 13:12:03 $ 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:12:05 $ docker top 3ca7acc861585f718eb49d5d2035be0f56da261404bfd78f100905040af7da80 -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:06 + go version 13:12:06 go version go1.21.9 linux/arm64 [Pipeline] } 13:12:06 $ docker stop --time=1 3ca7acc861585f718eb49d5d2035be0f56da261404bfd78f100905040af7da80 13:12:07 $ docker rm -f --volumes 3ca7acc861585f718eb49d5d2035be0f56da261404bfd78f100905040af7da80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:08 + docker inspect -f . ci-base-image-arm64 13:12:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:08 prd-ubuntu20.04-docker-arm64-4c-16g-6766 does not seem to be running inside a container 13:12:09 $ 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:12:10 $ docker top 51b8ef2d16f8987006acde37073588353e739b98885bf7af50631f4efebd8aa7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:11 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:12:11 + make test 13:12:11 go test -race ./... -coverprofile=coverage.out ./... 13:16:03 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:16:10 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:16:11 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.924s coverage: 86.2% of statements 13:16:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.306s coverage: 71.9% of statements 13:16:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:16:22 go vet ./... 13:19:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:19:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:19:59 ./bin/test-attribution.sh 13:19:59 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:19:59 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:19:59 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:19:59 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:19:59 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:19:59 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:19:59 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:19:59 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:19:59 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:19:59 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:19:59 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:19:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:19:59 $ docker stop --time=1 51b8ef2d16f8987006acde37073588353e739b98885bf7af50631f4efebd8aa7 13:20:01 $ docker rm -f --volumes 51b8ef2d16f8987006acde37073588353e739b98885bf7af50631f4efebd8aa7 [Pipeline] // withDockerContainer [Pipeline] sh 13:20:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:20:03 Warning: overwriting stash ‘coverage-report’ 13:20:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:20:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:20:05 + ls -al . 13:20:05 total 272 13:20:05 drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 13:12 . 13:20:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 13:09 .. 13:20:05 -rw-rw-r-- 1 jenkins jenkins 262 Jul 30 13:09 .dockerignore 13:20:05 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 13:09 .git 13:20:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 13:09 .github 13:20:05 -rw-rw-r-- 1 jenkins jenkins 773 Jul 30 13:09 .gitignore 13:20:05 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 13:09 .golangci.yml 13:20:05 -rw-rw-r-- 1 jenkins jenkins 10232 Jul 30 13:09 Attribution.txt 13:20:05 -rw-rw-r-- 1 jenkins jenkins 11245 Jul 30 13:09 CHANGELOG.md 13:20:05 -rw-rw-r-- 1 jenkins jenkins 1768 Jul 30 13:09 Dockerfile 13:20:05 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 13:09 GOVERNANCE.md 13:20:05 -rw-rw-r-- 1 jenkins jenkins 665 Jul 30 13:09 Jenkinsfile 13:20:05 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 30 13:09 LICENSE 13:20:05 -rw-rw-r-- 1 jenkins jenkins 2503 Jul 30 13:09 Makefile 13:20:05 -rw-rw-r-- 1 jenkins jenkins 617 Jul 30 13:09 OWNERS.md 13:20:05 -rw-rw-r-- 1 jenkins jenkins 3851 Jul 30 13:09 README.md 13:20:05 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 13:06 VERSION 13:20:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 13:09 bin 13:20:05 -rw-r--r-- 1 jenkins jenkins 41317 Jul 30 13:16 coverage.out 13:20:05 -rw-rw-r-- 1 jenkins jenkins 7243 Jul 30 13:09 go.mod 13:20:05 -rw-rw-r-- 1 jenkins jenkins 101448 Jul 30 13:09 go.sum 13:20:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 13:09 images 13:20:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 13:09 internal 13:20:05 -rw-rw-r-- 1 jenkins jenkins 531 Jul 30 13:09 main.go 13:20:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 13:09 openapi 13:20:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 13:09 res 13:20:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 13:09 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:05 + 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=f35c7780d3ac46e04217778ce161dd9baf0c784c --label arch=arm64 --label version=0.0.0 . 13:20:06 Sending build context to Docker daemon 673.8kB 13:20:06 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:20:06 Step 2/30 : FROM ${BASE} AS builder 13:20:06 ---> ee6c2294db39 13:20:06 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:20:06 ---> Running in b0febb628344 13:20:06 Removing intermediate container b0febb628344 13:20:06 ---> 2af02f6383a7 13:20:06 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:20:06 ---> Running in 2910f1ce7603 13:20:06 Removing intermediate container 2910f1ce7603 13:20:06 ---> 692e36ce0ebd 13:20:06 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:20:06 ---> Running in adafc64b9ca2 13:20:07 Removing intermediate container adafc64b9ca2 13:20:07 ---> 556cb2678b6b 13:20:07 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:20:07 ---> Running in d8244fbb8608 13:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:20:09 OK: 266 MiB in 52 packages 13:20:10 Removing intermediate container d8244fbb8608 13:20:10 ---> 7cfdd050dbe6 13:20:10 Step 7/30 : WORKDIR /app 13:20:10 ---> Running in 49a7591fdf8c 13:20:10 Removing intermediate container 49a7591fdf8c 13:20:10 ---> af2f6c14561d 13:20:10 Step 8/30 : COPY go.mod vendor* ./ 13:20:11 ---> 933846abb498 13:20:11 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:20:11 ---> Running in 5e8ec9a3cc6d 13:20:13 Removing intermediate container 5e8ec9a3cc6d 13:20:13 ---> 9cc3df7c8538 13:20:13 Step 10/30 : COPY . . 13:20:13 ---> e8ddad8515a1 13:20:13 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:20:14 ---> Running in 99732dae5d43 13:20:14 Removing intermediate container 99732dae5d43 13:20:14 ---> 2dfff4effff1 13:20:14 Step 12/30 : RUN $MAKE 13:20:14 ---> Running in eb83366d4edc 13:20:15 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.45 -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:23:37 Removing intermediate container eb83366d4edc 13:23:37 ---> e130c1b48a3b 13:23:37 Step 13/30 : FROM alpine:3.18 13:23:37 3.18: Pulling from library/alpine 13:23:37 4983c3fe2029: Pulling fs layer 13:23:37 4983c3fe2029: Verifying Checksum 13:23:37 4983c3fe2029: Download complete 13:23:37 4983c3fe2029: Pull complete 13:23:37 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 13:23:37 Status: Downloaded newer image for alpine:3.18 13:23:37 ---> a0237000ae83 13:23:37 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:23:37 ---> Running in e2c22e14ee57 13:23:37 Removing intermediate container e2c22e14ee57 13:23:37 ---> 95199a2561c1 13:23:37 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:23:37 ---> Running in 7493c7f5853e 13:23:37 Removing intermediate container 7493c7f5853e 13:23:37 ---> 44ca591ac512 13:23:37 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:23:37 ---> Running in 4633902a58b1 13:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:23:37 (1/2) Installing ca-certificates (20240226-r0) 13:23:37 (2/2) Installing dumb-init (1.2.5-r2) 13:23:37 Executing busybox-1.36.1-r7.trigger 13:23:37 Executing ca-certificates-20240226-r0.trigger 13:23:37 OK: 9 MiB in 17 packages 13:23:37 Removing intermediate container 4633902a58b1 13:23:37 ---> 3c616dc6b95f 13:23:37 Step 17/30 : RUN apk --no-cache upgrade 13:23:37 ---> Running in c0d046f95124 13:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:23:38 OK: 9 MiB in 17 packages 13:23:38 Removing intermediate container c0d046f95124 13:23:38 ---> 0a5b5aa885b6 13:23:38 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:23:39 ---> a1a50855ff50 13:23:39 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:23:39 ---> 210a28c1eb23 13:23:39 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:23:40 ---> 5b2d4b117b9d 13:23:40 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:23:40 ---> 6de14dfc9f95 13:23:40 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:23:42 ---> c9fcd7570bf1 13:23:42 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:23:42 ---> Running in 3d3d46c11f11 13:23:44 Removing intermediate container 3d3d46c11f11 13:23:44 ---> 754f36bbed41 13:23:44 Step 24/30 : VOLUME /cache 13:23:44 ---> Running in 303476b0da48 13:23:44 Removing intermediate container 303476b0da48 13:23:44 ---> 93a4e75a4f9b 13:23:44 Step 25/30 : EXPOSE 59711 13:23:44 ---> Running in 9c2394ed9300 13:23:44 Removing intermediate container 9c2394ed9300 13:23:44 ---> 7ce38266771f 13:23:44 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:23:45 ---> Running in 7f064c153127 13:23:45 Removing intermediate container 7f064c153127 13:23:45 ---> f13f4c0ce8b5 13:23:45 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:23:45 ---> Running in 9f2ea90027a4 13:23:45 Removing intermediate container 9f2ea90027a4 13:23:45 ---> d8193217ad31 13:23:45 Step 28/30 : LABEL arch=arm64 13:23:45 ---> Running in 66845eb8f5e9 13:23:45 Removing intermediate container 66845eb8f5e9 13:23:45 ---> 75688a990185 13:23:45 Step 29/30 : LABEL git_sha=f35c7780d3ac46e04217778ce161dd9baf0c784c 13:23:46 ---> Running in c28d541a3b13 13:23:46 Removing intermediate container c28d541a3b13 13:23:46 ---> 2954b89702f1 13:23:46 Step 30/30 : LABEL version=0.0.0 13:23:46 ---> Running in 4c2ab105f006 13:23:46 Removing intermediate container 4c2ab105f006 13:23:46 ---> 7d5219253ef8 13:23:46 [Warning] One or more build-args [ARCH] were not consumed 13:23:46 Successfully built 7d5219253ef8 13:23:46 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:47 13:23:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:48 arm64: Pulling from edgex-lftools-log-publisher 13:23:48 8998bd30e6a1: Pulling fs layer 13:23:48 04944245beec: Pulling fs layer 13:23:48 699f458cf7ca: Pulling fs layer 13:23:48 765212b225bb: Pulling fs layer 13:23:48 f23df028b6ca: Pulling fs layer 13:23:48 d65c8cfc05b1: Pulling fs layer 13:23:48 2437ff75d9bd: Pulling fs layer 13:23:48 765212b225bb: Waiting 13:23:48 f23df028b6ca: Waiting 13:23:48 d65c8cfc05b1: Waiting 13:23:48 2437ff75d9bd: Waiting 13:23:48 04944245beec: Verifying Checksum 13:23:48 04944245beec: Download complete 13:23:48 765212b225bb: Verifying Checksum 13:23:48 765212b225bb: Download complete 13:23:48 f23df028b6ca: Verifying Checksum 13:23:48 f23df028b6ca: Download complete 13:23:48 d65c8cfc05b1: Verifying Checksum 13:23:48 d65c8cfc05b1: Download complete 13:23:48 699f458cf7ca: Verifying Checksum 13:23:48 699f458cf7ca: Download complete 13:23:48 8998bd30e6a1: Verifying Checksum 13:23:48 8998bd30e6a1: Download complete 13:23:51 2437ff75d9bd: Verifying Checksum 13:23:51 2437ff75d9bd: Download complete 13:23:53 8998bd30e6a1: Pull complete 13:23:54 04944245beec: Pull complete 13:23:55 699f458cf7ca: Pull complete 13:23:55 765212b225bb: Pull complete 13:23:56 f23df028b6ca: Pull complete 13:23:56 d65c8cfc05b1: Pull complete 13:24:15 2437ff75d9bd: Pull complete 13:24:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:24:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:15 prd-ubuntu20.04-docker-arm64-4c-16g-6766 does not seem to be running inside a container 13:24:15 $ 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:24:17 $ docker top a6c7c68988e6ff45fefd54181562674904bcf03bc5c926fd8825ca21d4245e56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:18 ---> job-cost.sh 13:24:18 lf-activate-venv: SKIPPING 13:24:18 INFO: No Stack... 13:24:19 INFO: Retrieving Pricing Info for: v3-standard-4 13:24:20 INFO: Archiving Costs [Pipeline] sh 13:24:20 + cut -d, -f6 13:24:20 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock 13:24:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-298-1-stack-cost] 13:24:20 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-298-1-stack-cost] did not exist. Created. 13:24:20 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:24:21 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-3fe4aba1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:24:22 + echo total: 0.10999999940395355 [Pipeline] stash 13:24:22 Warning: overwriting stash ‘stack-cost’ 13:24:22 Stashed 1 file(s) [Pipeline] } 13:24:22 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:22 $ docker stop --time=1 a6c7c68988e6ff45fefd54181562674904bcf03bc5c926fd8825ca21d4245e56 13:24:24 $ docker rm -f --volumes a6c7c68988e6ff45fefd54181562674904bcf03bc5c926fd8825ca21d4245e56 [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:24:25 provisioning config files... 13:24:25 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp/config11104671139948208211tmp [Pipeline] { [Pipeline] sh 13:24:25 + set +x 13:24:25 + curl -s https://codecov.io/bash 13:24:25 + bash -s -- 13:24:25 13:24:25 _____ _ 13:24:25 / ____| | | 13:24:25 | | ___ __| | ___ ___ _____ __ 13:24:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:24:25 | |___| (_) | (_| | __/ (_| (_) \ V / 13:24:25 \_____\___/ \__,_|\___|\___\___/ \_/ 13:24:25 Bash-1.0.6 13:24:25 13:24:25 13:24:25 ==> git version 2.25.1 found 13:24:25 ==> 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:24:25 Release-Date: 2020-01-08 13:24:25 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:24:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:24:25 ==> Jenkins CI detected. 13:24:25 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-298 13:24:25 project root: . 13:24:25 --> token set from env 13:24:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:24:25 ==> Running gcov in . (disable via -X gcov) 13:24:25 ==> Python coveragepy not found 13:24:25 ==> Searching for coverage reports in: 13:24:25 + . 13:24:25 -> Found 1 reports 13:24:25 ==> Detecting git/mercurial file structure 13:24:26 ==> Reading reports 13:24:26 + ./coverage.out bytes=41317 13:24:26 ==> Appending adjustments 13:24:26 https://docs.codecov.io/docs/fixing-reports 13:24:26 + Found adjustments 13:24:26 ==> Gzipping contents 13:24:26 12K /tmp/codecov.eXNAP8.gz 13:24:26 ==> Uploading reports 13:24:26 url: https://codecov.io 13:24:26 query: branch=PR-298&commit=f35c7780d3ac46e04217778ce161dd9baf0c784c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=298&job=&cmd_args= 13:24:26 -> Pinging Codecov 13:24:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-298&commit=f35c7780d3ac46e04217778ce161dd9baf0c784c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=298&job=&cmd_args= 13:24:26 -> Uploading to 13:24:26 https://storage.googleapis.com/codecov/v4/raw/2024-07-30/581DD39554BDF9B6E22D074273EAD858/f35c7780d3ac46e04217778ce161dd9baf0c784c/d8243c8f-7bea-4ab1-b5df-37292756a161.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T132426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0f82bbf66b1b0d9c613bf7a47e342d066036434f78e42337fd628e88599a1fb 13:24:26 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:26 Dload Upload Total Spent Left Speed 13:24:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11611 0 0 100 11611 0 47586 --:--:-- --:--:-- --:--:-- 47586 13:24:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/f35c7780d3ac46e04217778ce161dd9baf0c784c [Pipeline] } 13:24:26 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:24:29 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-298/archives ] 13:24:29 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-298/archives 13:24:29 total 16 13:24:29 drwxr-xr-x 3 root root 4096 Jul 30 13:10 . 13:24:29 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 13:10 .. 13:24:29 drwxr-xr-x 2 root root 4096 Jul 30 13:10 cost 13:24:29 -rw-r--r-- 1 root root 95 Jul 30 13:10 cost.csv 13:24:29 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-298/archives 13:24:29 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-298/archives 13:24:29 total 16 13:24:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 13:10 . 13:24:29 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 13:10 .. 13:24:29 drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 13:10 cost 13:24:29 -rw-r--r-- 1 jenkins jenkins 95 Jul 30 13:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:24:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:24:30 ---> package-listing.sh 13:24:30 ++ facter osfamily 13:24:30 ++ tr '[:upper:]' '[:lower:]' 13:24:30 + OS_FAMILY=debian 13:24:30 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-298 13:24:30 + START_PACKAGES=/tmp/packages_start.txt 13:24:30 + END_PACKAGES=/tmp/packages_end.txt 13:24:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:24:30 + PACKAGES=/tmp/packages_start.txt 13:24:30 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-298 ']' 13:24:30 + PACKAGES=/tmp/packages_end.txt 13:24:30 + case "${OS_FAMILY}" in 13:24:30 + dpkg -l 13:24:30 + grep '^ii' 13:24:30 + '[' -f /tmp/packages_start.txt ']' 13:24:30 + '[' -f /tmp/packages_end.txt ']' 13:24:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:24:30 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-298 ']' 13:24:30 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-298/archives/ 13:24:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-298/archives/ [Pipeline] echo 13:24:30 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-298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:24:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:31 prd-ubuntu20.04-docker-8c-8g-6765 does not seem to be running inside a container 13:24:31 $ 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-298/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-298 -v /w/workspace/y_app-rfid-llrp-inventory_PR-298:/w/workspace/y_app-rfid-llrp-inventory_PR-298:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-298@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:24:32 $ docker top 3cbd8fe3fd404c135f6ae7126f365dc43f675517ae6db5835cdd7f627e332263 -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:32 + touch /tmp/pre-build-complete [Pipeline] sh 13:24:32 + mkdir -p /var/log/sysstat [Pipeline] sh 13:24:33 + ls /var/log/sa-host 13:24:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:33 provisioning config files... 13:24:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-298@tmp/config7763984930544262997tmp [Pipeline] { [Pipeline] echo 13:24:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:33 ---> create-netrc.sh [Pipeline] } 13:24:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:24:34 ---> python-tools-install.sh [Pipeline] echo 13:24:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:24:34 ---> sudo-logs.sh 13:24:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:24:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:24:35 ---> job-cost.sh 13:24:35 lf-activate-venv: SKIPPING 13:24:35 DEBUG: total: 0.2199999988079071 13:24:35 INFO: Retrieving Stack Cost... 13:24:35 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:35 INFO: Archiving Costs [Pipeline] echo 13:24:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:35 ---> logs-deploy.sh 13:24:35 lf-activate-venv: SKIPPING 13:24:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-298/1 13:24:35 INFO: archiving workspace using pattern(s): 13:24:36 Archives upload complete. 13:24:36 INFO: archiving logs to Nexus