Pull request #297 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c7e611b92e4bfb613cb872a0184d4328db4e7b85+e87408ba0baad64d24b50da923549d1991b86a3e (054ddd7b53f5da5cde1726a2c86461e0b2631862) 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-ssh6004172658219588103.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-ssh1512645263660836571.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-297/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-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17972249382449149273.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-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3872528055019040520.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-ssh13868959474841518874.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-297/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-297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9690216101228341955.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-6456 in /w/workspace/y_app-rfid-llrp-inventory_PR-297 [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-297 # 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 c7e611b92e4bfb613cb872a0184d4328db4e7b85 Merge succeeded, producing c7e611b92e4bfb613cb872a0184d4328db4e7b85 Checking out Revision c7e611b92e4bfb613cb872a0184d4328db4e7b85 (PR-297) 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 > 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/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7e611b92e4bfb613cb872a0184d4328db4e7b85 # 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 c7e611b92e4bfb613cb872a0184d4328db4e7b85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:20:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:20:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:20:28 ========================================================= 13:20:28 EdgeX Global Pipelines Version Info 13:20:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:20:28 ------------------- 13:20:28 stable info: 13:20:28 ------------------- 13:20:28 Commited By: Ginny Guan ginny@iotechsys.com 13:20:28 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 13:20:28 Message: update stable to v1.0.260 13:20:29 ------------------- 13:20:29 experimental info: 13:20:29 ------------------- 13:20:29 Commited By: Ginny Guan ginny@iotechsys.com 13:20:29 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 13:20:29 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:20:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:20:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:20:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:20:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:20:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:20:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-297 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-297 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-297 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7e611b92e4bfb613cb872a0184d4328db4e7b85 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7e611b [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:20:31 provisioning config files... 13:20:31 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp/config12781990700953459172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:32 ---> ****-login.sh 13:20:32 nexus3.edgexfoundry.org:10001 13:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:32 Configure a credential helper to remove this warning. See 13:20:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:32 13:20:32 Login Succeeded 13:20:32 nexus3.edgexfoundry.org:10002 13:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:32 Configure a credential helper to remove this warning. See 13:20:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:32 13:20:32 Login Succeeded 13:20:32 nexus3.edgexfoundry.org:10003 13:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 nexus3.edgexfoundry.org:10004 13:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 ****.io 13:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 ---> ****-login.sh ends [Pipeline] } 13:20:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:20:34 + git rev-list -1 --merges c7e611b92e4bfb613cb872a0184d4328db4e7b85~1..c7e611b92e4bfb613cb872a0184d4328db4e7b85 [Pipeline] echo 13:20:34 -----------> git rev-list -1 --merges c7e611b92e4bfb613cb872a0184d4328db4e7b85~1..c7e611b92e4bfb613cb872a0184d4328db4e7b85 c7e611b92e4bfb613cb872a0184d4328db4e7b85 [false] [Pipeline] sh 13:20:34 + git log --format=format:%s -1 c7e611b92e4bfb613cb872a0184d4328db4e7b85 [Pipeline] echo 13:20:34 ========================================================= 13:20:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:20:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:20:34 + git log --format=format:%s -1 c7e611b92e4bfb613cb872a0184d4328db4e7b85 [Pipeline] echo 13:20:34 [semverPrep] GIT_COMMIT: c7e611b92e4bfb613cb872a0184d4328db4e7b85, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:20:35 [semverPrep] This is not a build commit. [Pipeline] sh 13:20:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:20:35 + grep -v github /etc/ssh/ssh_known_hosts 13:20:35 + [ -e /tmp/ssh_known_hosts ] 13:20:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:20:35 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:20:35 sudo tee -a /etc/ssh/ssh_known_hosts 13:20:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:20:36 13:20:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:20:36 0.1.4: Pulling from edgex-devops/py-git-semver 13:20:36 b85a868b505f: Pulling fs layer 13:20:36 e2be974225ed: Pulling fs layer 13:20:36 339a4e72a1f5: Pulling fs layer 13:20:36 988bab9f4d93: Pulling fs layer 13:20:36 1469e6f7b9e6: Pulling fs layer 13:20:36 eaf3925da568: Pulling fs layer 13:20:36 988bab9f4d93: Waiting 13:20:36 1469e6f7b9e6: Waiting 13:20:36 bab4dde63d76: Pulling fs layer 13:20:36 bde34c3a00c8: Pulling fs layer 13:20:36 b352a97aabf1: Pulling fs layer 13:20:36 4872d77fe225: Pulling fs layer 13:20:36 5851b861e8e6: Pulling fs layer 13:20:36 eaf3925da568: Waiting 13:20:36 bde34c3a00c8: Waiting 13:20:36 bab4dde63d76: Waiting 13:20:36 b352a97aabf1: Waiting 13:20:36 4872d77fe225: Waiting 13:20:36 e2be974225ed: Verifying Checksum 13:20:36 e2be974225ed: Download complete 13:20:36 988bab9f4d93: Verifying Checksum 13:20:36 988bab9f4d93: Download complete 13:20:36 1469e6f7b9e6: Verifying Checksum 13:20:36 1469e6f7b9e6: Download complete 13:20:36 eaf3925da568: Download complete 13:20:36 339a4e72a1f5: Verifying Checksum 13:20:36 339a4e72a1f5: Download complete 13:20:36 bde34c3a00c8: Verifying Checksum 13:20:36 bde34c3a00c8: Download complete 13:20:36 b352a97aabf1: Download complete 13:20:36 4872d77fe225: Verifying Checksum 13:20:36 4872d77fe225: Download complete 13:20:36 5851b861e8e6: Verifying Checksum 13:20:36 5851b861e8e6: Download complete 13:20:36 b85a868b505f: Verifying Checksum 13:20:36 b85a868b505f: Download complete 13:20:36 bab4dde63d76: Verifying Checksum 13:20:36 bab4dde63d76: Download complete 13:20:37 b85a868b505f: Pull complete 13:20:38 e2be974225ed: Pull complete 13:20:38 339a4e72a1f5: Pull complete 13:20:38 988bab9f4d93: Pull complete 13:20:38 1469e6f7b9e6: Pull complete 13:20:38 eaf3925da568: Pull complete 13:20:40 bab4dde63d76: Pull complete 13:20:40 bde34c3a00c8: Pull complete 13:20:41 b352a97aabf1: Pull complete 13:20:41 4872d77fe225: Pull complete 13:20:41 5851b861e8e6: Pull complete 13:20:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:20:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:20:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:20:41 prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container 13:20:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-297 -v /w/workspace/y_app-rfid-llrp-inventory_PR-297:/w/workspace/y_app-rfid-llrp-inventory_PR-297:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:20:43 $ docker top 5c8b25d878459c14841747059facc237f0d8227463710b9f258148dd172c0fd5 -eo pid,comm 13:20:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:20:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:20:43 [ssh-agent] Looking for ssh-agent implementation... 13:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:20:43 $ docker exec 5c8b25d878459c14841747059facc237f0d8227463710b9f258148dd172c0fd5 ssh-agent 13:20:43 SSH_AUTH_SOCK=/tmp/ssh-Mc4VtaostWVA/agent.32 13:20:43 SSH_AGENT_PID=38 13:20:43 Running ssh-add (command line suppressed) 13:20:43 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp/private_key_5287533393372405348.key (/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp/private_key_5287533393372405348.key) 13:20:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:20:44 + git tag --points-at HEAD [Pipeline] } 13:20:44 $ docker exec --env ******** --env ******** 5c8b25d878459c14841747059facc237f0d8227463710b9f258148dd172c0fd5 ssh-agent -k 13:20:44 unset SSH_AUTH_SOCK; 13:20:44 unset SSH_AGENT_PID; 13:20:44 echo Agent pid 38 killed; 13:20:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:20:44 [ssh-agent] Looking for ssh-agent implementation... 13:20:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:20:44 $ docker exec 5c8b25d878459c14841747059facc237f0d8227463710b9f258148dd172c0fd5 ssh-agent 13:20:44 SSH_AUTH_SOCK=/tmp/ssh-Nx0dmQPOL1V5/agent.71 13:20:44 SSH_AGENT_PID=77 13:20:44 Running ssh-add (command line suppressed) 13:20:44 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp/private_key_9114144132331665899.key (/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp/private_key_9114144132331665899.key) 13:20:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:20:45 + git semver init 13:20:45 2024-07-25 13:20:45,456 [run_init] DEBUG init version:0.0.0 force:False 13:20:45 2024-07-25 13:20:45,457 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-297/.semver 13:20:45 2024-07-25 13:20:45,457 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-297/.semver 13:20:45 2024-07-25 13:20:45,457 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-297/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-297, universal_newlines=False, shell=None, istream=None) 13:20:46 2024-07-25 13:20:46,947 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-297/.git/info/exclude 13:20:46 2024-07-25 13:20:46,947 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-297/.semver/PR-297 with force:False 13:20:46 2024-07-25 13:20:46,947 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-297/.semver/PR-297 13:20:46 2024-07-25 13:20:46,951 [execute] INFO git cat-file --batch-check 13:20:46 2024-07-25 13:20:46,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-297/.semver, universal_newlines=False, shell=None, istream=) 13:20:46 2024-07-25 13:20:46,959 [execute] INFO git cat-file --batch 13:20:47 2024-07-25 13:20:46,959 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-297/.semver, universal_newlines=False, shell=None, istream=) 13:20:47 2024-07-25 13:20:46,965 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-297/.semver/PR-297 13:20:47 0.0.0 [Pipeline] } 13:20:47 $ docker exec --env ******** --env ******** 5c8b25d878459c14841747059facc237f0d8227463710b9f258148dd172c0fd5 ssh-agent -k 13:20:47 unset SSH_AUTH_SOCK; 13:20:47 unset SSH_AGENT_PID; 13:20:47 echo Agent pid 77 killed; 13:20:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:20:47 + git semver [Pipeline] } 13:20:48 $ docker stop --time=1 5c8b25d878459c14841747059facc237f0d8227463710b9f258148dd172c0fd5 13:20:49 $ docker rm -f --volumes 5c8b25d878459c14841747059facc237f0d8227463710b9f258148dd172c0fd5 [Pipeline] // withDockerContainer [Pipeline] sh 13:20:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:20:50 Stashed 1 file(s) [Pipeline] echo 13:20:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:20:51 provisioning config files... 13:20:51 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp/config7399888353864474293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:51 ---> ****-login.sh 13:20:51 nexus3.edgexfoundry.org:10001 13:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:51 Configure a credential helper to remove this warning. See 13:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:51 13:20:51 Login Succeeded 13:20:51 nexus3.edgexfoundry.org:10002 13:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:51 Configure a credential helper to remove this warning. See 13:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:51 13:20:51 Login Succeeded 13:20:51 nexus3.edgexfoundry.org:10003 13:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:51 Configure a credential helper to remove this warning. See 13:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:51 13:20:51 Login Succeeded 13:20:51 nexus3.edgexfoundry.org:10004 13:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:51 Configure a credential helper to remove this warning. See 13:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:51 13:20:51 Login Succeeded 13:20:51 ****.io 13:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:52 Configure a credential helper to remove this warning. See 13:20:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:52 13:20:52 Login Succeeded 13:20:52 ---> ****-login.sh ends [Pipeline] } 13:20:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:20:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:20:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:20:52 ========================================================= 13:20:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:20:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:52 + 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:20:52 Sending build context to Docker daemon 20.04MB 13:20:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:20:52 Step 2/12 : FROM ${BASE} AS builder 13:20:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:20:52 619be1103602: Pulling fs layer 13:20:52 7862e08f4a3e: Pulling fs layer 13:20:52 5df492c9dc93: Pulling fs layer 13:20:52 7629e6793208: Pulling fs layer 13:20:52 4f4fb700ef54: Pulling fs layer 13:20:52 fb5054dd5b73: Pulling fs layer 13:20:52 eeca6798cff9: Pulling fs layer 13:20:52 aa269ceb94a6: Pulling fs layer 13:20:52 ada007ff1a6a: Pulling fs layer 13:20:52 7629e6793208: Waiting 13:20:52 aa269ceb94a6: Waiting 13:20:52 fb5054dd5b73: Waiting 13:20:52 4f4fb700ef54: Waiting 13:20:52 ada007ff1a6a: Waiting 13:20:52 eeca6798cff9: Waiting 13:20:53 7862e08f4a3e: Download complete 13:20:53 7629e6793208: Verifying Checksum 13:20:53 7629e6793208: Download complete 13:20:53 4f4fb700ef54: Verifying Checksum 13:20:53 4f4fb700ef54: Download complete 13:20:53 fb5054dd5b73: Verifying Checksum 13:20:53 fb5054dd5b73: Download complete 13:20:53 619be1103602: Verifying Checksum 13:20:53 619be1103602: Download complete 13:20:53 eeca6798cff9: Verifying Checksum 13:20:53 eeca6798cff9: Download complete 13:20:53 619be1103602: Pull complete 13:20:53 ada007ff1a6a: Verifying Checksum 13:20:53 ada007ff1a6a: Download complete 13:20:53 7862e08f4a3e: Pull complete 13:20:53 5df492c9dc93: Verifying Checksum 13:20:53 5df492c9dc93: Download complete 13:20:54 aa269ceb94a6: Verifying Checksum 13:20:54 aa269ceb94a6: Download complete 13:20:57 5df492c9dc93: Pull complete 13:20:57 7629e6793208: Pull complete 13:20:57 4f4fb700ef54: Pull complete 13:20:57 fb5054dd5b73: Pull complete 13:20:57 eeca6798cff9: Pull complete 13:20:59 aa269ceb94a6: Pull complete 13:21:00 ada007ff1a6a: Pull complete 13:21:00 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 13:21:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:21:00 ---> f489d0715acc 13:21:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:21:02 ---> Running in b6f5007649a1 13:21:02 Removing intermediate container b6f5007649a1 13:21:02 ---> ee2a7fd96ff9 13:21:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:21:02 ---> Running in 2a4251f51201 13:21:02 Removing intermediate container 2a4251f51201 13:21:02 ---> 9e65e482199a 13:21:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:21:02 ---> Running in 0a69e45fc37a 13:21:02 Removing intermediate container 0a69e45fc37a 13:21:02 ---> d2132a37ee18 13:21:02 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:21:02 ---> Running in af151ff0eeb8 13:21:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:21:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:21:03 OK: 264 MiB in 52 packages 13:21:03 Removing intermediate container af151ff0eeb8 13:21:03 ---> 0ea1dc0dd55d 13:21:03 Step 7/12 : WORKDIR /app 13:21:03 ---> Running in 73abe982968b 13:21:03 Removing intermediate container 73abe982968b 13:21:03 ---> 91a9a802b3fd 13:21:03 Step 8/12 : COPY go.mod vendor* ./ 13:21:03 ---> 51fbaa17c0d7 13:21:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:21:03 ---> Running in 6cd0e5de3b3f 13:21:05 Still waiting to schedule task 13:21:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:21:50 Removing intermediate container 6cd0e5de3b3f 13:21:50 ---> 7289aa8104be 13:21:50 Step 10/12 : COPY . . 13:21:50 ---> a04b131e5969 13:21:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:21:50 ---> Running in 1b1d5361c748 13:21:50 Removing intermediate container 1b1d5361c748 13:21:50 ---> 0bccc97fa8bb 13:21:50 Step 12/12 : RUN $MAKE 13:21:50 ---> Running in 9cda04b52726 13:21:50 noop 13:21:50 Removing intermediate container 9cda04b52726 13:21:50 ---> 09cef07ed31c 13:21:50 Successfully built 09cef07ed31c 13:21:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:51 + docker inspect -f . ci-base-image-x86_64 13:21:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:51 prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container 13:21:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-297 -v /w/workspace/y_app-rfid-llrp-inventory_PR-297:/w/workspace/y_app-rfid-llrp-inventory_PR-297:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:21:51 $ docker top 41873d044cbd80d46e0b3823a73095ed851f42cc24352abc5cd536593cbb3fd5 -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:52 + go version 13:21:52 go version go1.21.9 linux/amd64 [Pipeline] } 13:21:52 $ docker stop --time=1 41873d044cbd80d46e0b3823a73095ed851f42cc24352abc5cd536593cbb3fd5 13:21:53 $ docker rm -f --volumes 41873d044cbd80d46e0b3823a73095ed851f42cc24352abc5cd536593cbb3fd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:54 + docker inspect -f . ci-base-image-x86_64 13:21:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:54 prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container 13:21:54 $ 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-297 -v /w/workspace/y_app-rfid-llrp-inventory_PR-297:/w/workspace/y_app-rfid-llrp-inventory_PR-297:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:21:54 $ docker top 7216363a6fcbd3e872c6a3608bccece2e17d9345cc0f5fd85f1d3d9305d5faaf -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:55 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-297 [Pipeline] fileExists [Pipeline] sh 13:21:55 + make test 13:21:55 go test -race ./... -coverprofile=coverage.out ./... 13:22:27 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:22:27 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:22:27 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.123s coverage: 86.2% of statements 13:22:30 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.672s coverage: 71.9% of statements 13:22:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6457 in /w/workspace/y_app-rfid-llrp-inventory_PR-297 [Pipeline] { [Pipeline] ws 13:22:43 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:22:46 The recommended git tool is: git 13:22:53 using credential edgex-jenkins-ssh 13:22:53 Cloning the remote Git repository 13:22:53 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:22:53 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:22:53 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:22:53 > git --version # timeout=10 13:22:53 > git --version # 'git version 2.25.1' 13:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:22:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:22:57 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:22:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:22:57 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:22:57 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:22:57 using GIT_SSH to set credentials SSH Credentials for GitHub 13:22:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:22:58 Merging remotes/origin/main commit e87408ba0baad64d24b50da923549d1991b86a3e into PR head commit c7e611b92e4bfb613cb872a0184d4328db4e7b85 13:22:58 Merge succeeded, producing c7e611b92e4bfb613cb872a0184d4328db4e7b85 13:22:58 Checking out Revision c7e611b92e4bfb613cb872a0184d4328db4e7b85 (PR-297) 13:22:59 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:22:59 > git --version # timeout=10 13:22:59 > git --version # 'git version 2.25.1' 13:22:59 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 13:22:58 > git config core.sparsecheckout # timeout=10 13:22:58 > git checkout -f c7e611b92e4bfb613cb872a0184d4328db4e7b85 # timeout=10 13:22:58 > git remote # timeout=10 13:22:58 > git config --get remote.origin.url # timeout=10 13:22:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:22:58 > git merge e87408ba0baad64d24b50da923549d1991b86a3e # timeout=10 13:22:58 > git rev-parse HEAD^{commit} # timeout=10 13:22:58 > git config core.sparsecheckout # timeout=10 13:22:58 > git checkout -f c7e611b92e4bfb613cb872a0184d4328db4e7b85 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:23:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:23:04 % Total % Received % Xferd Average Speed Time Time Time Current 13:23:04 Dload Upload Total Spent Left Speed 13:23:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 13:23:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:23:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:23:05 + sudo tee /etc/docker/daemon.new 13:23:05 { 13:23:05 "registry-mirrors": [ 13:23:05 "https://nexus3.edgexfoundry.org:10001" 13:23:05 ], 13:23:05 "bip": "10.250.0.254/24", 13:23:05 "hosts": [ 13:23:05 "tcp://0.0.0.0:5555", 13:23:05 "unix:///var/run/docker.sock" 13:23:05 ], 13:23:05 "mtu": 1458, 13:23:05 "selinux-enabled": true, 13:23:05 "seccomp-profile": "/etc/docker/seccomp.json" 13:23:05 } [Pipeline] sh 13:23:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:23:05 + sudo service docker restart 13:23:09 go vet ./... 13:23:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:23:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:23:09 ./bin/test-attribution.sh 13:23:09 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:23:09 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:23:09 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:23:09 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:23:09 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:23:09 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:23:09 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:23:09 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:23:09 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:23:09 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:23:09 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:23:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:23:09 $ docker stop --time=1 7216363a6fcbd3e872c6a3608bccece2e17d9345cc0f5fd85f1d3d9305d5faaf 13:23:12 $ docker rm -f --volumes 7216363a6fcbd3e872c6a3608bccece2e17d9345cc0f5fd85f1d3d9305d5faaf [Pipeline] // withDockerContainer [Pipeline] sh 13:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:23:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:23:14 + ls -al . 13:23:14 total 276 13:23:14 drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 13:21 . 13:23:14 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 13:20 .. 13:23:14 -rw-rw-r-- 1 jenkins jenkins 262 Jul 25 13:20 .dockerignore 13:23:14 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 13:22 .git 13:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 13:20 .github 13:23:14 -rw-rw-r-- 1 jenkins jenkins 773 Jul 25 13:20 .gitignore 13:23:14 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 13:20 .golangci.yml 13:23:14 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 13:20 .semver 13:23:14 -rw-rw-r-- 1 jenkins jenkins 10232 Jul 25 13:20 Attribution.txt 13:23:14 -rw-rw-r-- 1 jenkins jenkins 11245 Jul 25 13:20 CHANGELOG.md 13:23:14 -rw-rw-r-- 1 jenkins jenkins 1768 Jul 25 13:20 Dockerfile 13:23:14 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 13:20 GOVERNANCE.md 13:23:14 -rw-rw-r-- 1 jenkins jenkins 665 Jul 25 13:20 Jenkinsfile 13:23:14 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 25 13:20 LICENSE 13:23:14 -rw-rw-r-- 1 jenkins jenkins 2503 Jul 25 13:20 Makefile 13:23:14 -rw-rw-r-- 1 jenkins jenkins 617 Jul 25 13:20 OWNERS.md 13:23:14 -rw-rw-r-- 1 jenkins jenkins 3851 Jul 25 13:20 README.md 13:23:14 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 13:20 VERSION 13:23:14 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 13:20 bin 13:23:14 -rw-r--r-- 1 jenkins jenkins 41317 Jul 25 13:22 coverage.out 13:23:14 -rw-rw-r-- 1 jenkins jenkins 7243 Jul 25 13:20 go.mod 13:23:14 -rw-rw-r-- 1 jenkins jenkins 101448 Jul 25 13:20 go.sum 13:23:14 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 13:20 images 13:23:14 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 13:20 internal 13:23:14 -rw-rw-r-- 1 jenkins jenkins 531 Jul 25 13:20 main.go 13:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 13:20 openapi 13:23:14 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 13:20 res 13:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 13:20 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:14 + 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=c7e611b92e4bfb613cb872a0184d4328db4e7b85 --label arch=amd64 --label version=0.0.0 . 13:23:14 Sending build context to Docker daemon 20.04MB 13:23:14 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:23:14 Step 2/30 : FROM ${BASE} AS builder 13:23:14 ---> 09cef07ed31c 13:23:14 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:23:14 ---> Running in 155b1e4231f0 13:23:14 Removing intermediate container 155b1e4231f0 13:23:14 ---> c77a9a8d5431 13:23:14 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:23:14 ---> Running in 14f5725fd2b3 13:23:15 Removing intermediate container 14f5725fd2b3 13:23:15 ---> 8ce55f558327 13:23:15 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:23:15 ---> Running in 3421a513bc78 13:23:15 Removing intermediate container 3421a513bc78 13:23:15 ---> 646658f8caf6 13:23:15 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:23:15 ---> Running in a9a1464e6da4 13:23:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:23:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:23:16 OK: 264 MiB in 52 packages 13:23:16 Removing intermediate container a9a1464e6da4 13:23:16 ---> 66acc66478df 13:23:16 Step 7/30 : WORKDIR /app 13:23:16 ---> Running in b476e13b749d 13:23:16 Removing intermediate container b476e13b749d 13:23:16 ---> bbbd39d75453 13:23:16 Step 8/30 : COPY go.mod vendor* ./ 13:23:16 ---> 7d43249a8c3e 13:23:16 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:23:16 ---> Running in f375454d445e 13:23:17 Removing intermediate container f375454d445e 13:23:17 ---> 09c82c19290a 13:23:17 Step 10/30 : COPY . . 13:23:17 ---> e618c076e569 13:23:17 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:23:17 ---> Running in 593df3f70805 13:23:17 Removing intermediate container 593df3f70805 13:23:17 ---> dffedd40a4cd 13:23:17 Step 12/30 : RUN $MAKE 13:23:17 ---> Running in 73db956d8fea 13:23:17 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.44 -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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:23:24 provisioning config files... 13:23:24 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config16995876027606050107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:24 ---> ****-login.sh 13:23:24 nexus3.edgexfoundry.org:10001 13:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:23:25 Configure a credential helper to remove this warning. See 13:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:23:25 13:23:25 Login Succeeded 13:23:25 nexus3.edgexfoundry.org:10002 13:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:23:25 Configure a credential helper to remove this warning. See 13:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:23:25 13:23:25 Login Succeeded 13:23:25 nexus3.edgexfoundry.org:10003 13:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:23:26 Configure a credential helper to remove this warning. See 13:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:23:26 13:23:26 Login Succeeded 13:23:26 nexus3.edgexfoundry.org:10004 13:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:23:26 Configure a credential helper to remove this warning. See 13:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:23:26 13:23:26 Login Succeeded 13:23:26 ****.io 13:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:23:26 Configure a credential helper to remove this warning. See 13:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:23:26 13:23:26 Login Succeeded 13:23:26 ---> ****-login.sh ends [Pipeline] } 13:23:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:23:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:23:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:23:27 ========================================================= 13:23:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:23:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:28 + 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:23:28 Sending build context to Docker daemon 673.8kB 13:23:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:23:28 Step 2/12 : FROM ${BASE} AS builder 13:23:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:23:28 c6b39de5b339: Pulling fs layer 13:23:28 a69c41024577: Pulling fs layer 13:23:28 d6de4b400683: Pulling fs layer 13:23:28 35cb2a7552d0: Pulling fs layer 13:23:28 4f4fb700ef54: Pulling fs layer 13:23:28 464afbd9ba4c: Pulling fs layer 13:23:28 00f215d4a9da: Pulling fs layer 13:23:28 d496ad576159: Pulling fs layer 13:23:28 35cb2a7552d0: Waiting 13:23:28 4f4fb700ef54: Waiting 13:23:28 464afbd9ba4c: Waiting 13:23:28 00f215d4a9da: Waiting 13:23:28 d496ad576159: Waiting 13:23:28 a69c41024577: Verifying Checksum 13:23:28 a69c41024577: Download complete 13:23:28 35cb2a7552d0: Verifying Checksum 13:23:28 35cb2a7552d0: Download complete 13:23:28 4f4fb700ef54: Verifying Checksum 13:23:28 4f4fb700ef54: Download complete 13:23:28 464afbd9ba4c: Download complete 13:23:28 c6b39de5b339: Download complete 13:23:28 d496ad576159: Verifying Checksum 13:23:28 d496ad576159: Download complete 13:23:29 c6b39de5b339: Pull complete 13:23:30 a69c41024577: Pull complete 13:23:30 d6de4b400683: Verifying Checksum 13:23:30 d6de4b400683: Download complete 13:23:31 00f215d4a9da: Verifying Checksum 13:23:31 00f215d4a9da: Download complete 13:23:43 d6de4b400683: Pull complete 13:23:43 35cb2a7552d0: Pull complete 13:23:43 4f4fb700ef54: Pull complete 13:23:43 464afbd9ba4c: Pull complete 13:23:50 Removing intermediate container 73db956d8fea 13:23:50 ---> 9e5c8cbb5183 13:23:50 Step 13/30 : FROM alpine:3.18 13:23:50 3.18: Pulling from library/alpine 13:23:50 930bdd4d222e: Pulling fs layer 13:23:50 930bdd4d222e: Verifying Checksum 13:23:50 930bdd4d222e: Download complete 13:23:50 930bdd4d222e: Pull complete 13:23:50 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 13:23:50 Status: Downloaded newer image for alpine:3.18 13:23:50 ---> 18f865063206 13:23:50 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:23:50 ---> Running in 8eae7697cc6e 13:23:50 Removing intermediate container 8eae7697cc6e 13:23:50 ---> 47eb207c6f27 13:23:50 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:23:50 ---> Running in cc873a74a24d 13:23:50 Removing intermediate container cc873a74a24d 13:23:50 ---> cbfb3d44accd 13:23:50 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:23:50 ---> Running in b58da71b0f42 13:23:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:23:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:23:50 (1/2) Installing ca-certificates (20240226-r0) 13:23:50 (2/2) Installing dumb-init (1.2.5-r2) 13:23:50 Executing busybox-1.36.1-r7.trigger 13:23:50 Executing ca-certificates-20240226-r0.trigger 13:23:50 OK: 8 MiB in 17 packages 13:23:50 Removing intermediate container b58da71b0f42 13:23:50 ---> 9c129771d0ed 13:23:50 Step 17/30 : RUN apk --no-cache upgrade 13:23:50 ---> Running in a432ba5d47ad 13:23:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:23:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:23:50 OK: 8 MiB in 17 packages 13:23:50 Removing intermediate container a432ba5d47ad 13:23:50 ---> 3dee92cf7733 13:23:50 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:23:50 ---> 7ea23b080719 13:23:50 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:23:50 ---> 971305fae6b4 13:23:50 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:23:50 ---> 418ab2e8fa57 13:23:50 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:23:50 ---> 8f62c22b9843 13:23:50 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:23:51 ---> ec14aee22087 13:23:51 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:23:51 ---> Running in bfab9d9e785f 13:23:51 00f215d4a9da: Pull complete 13:23:52 Removing intermediate container bfab9d9e785f 13:23:52 ---> 4ea36690206e 13:23:52 Step 24/30 : VOLUME /cache 13:23:52 ---> Running in 6443742fd372 13:23:52 Removing intermediate container 6443742fd372 13:23:52 ---> be3a2dc8a81f 13:23:52 Step 25/30 : EXPOSE 59711 13:23:52 ---> Running in eeb0e72a2944 13:23:52 Removing intermediate container eeb0e72a2944 13:23:52 ---> cc9da0d52cf3 13:23:52 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:23:52 ---> Running in 418576d0d219 13:23:52 Removing intermediate container 418576d0d219 13:23:52 ---> f0f9ad2820ec 13:23:52 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:23:52 ---> Running in 64f4013a8375 13:23:52 Removing intermediate container 64f4013a8375 13:23:52 ---> 637a07806594 13:23:52 Step 28/30 : LABEL arch=amd64 13:23:52 ---> Running in 5559c1867692 13:23:52 Removing intermediate container 5559c1867692 13:23:52 ---> 788b093f5526 13:23:52 Step 29/30 : LABEL git_sha=c7e611b92e4bfb613cb872a0184d4328db4e7b85 13:23:52 ---> Running in 21c71aec5114 13:23:52 Removing intermediate container 21c71aec5114 13:23:52 ---> 8d5451d1ef7e 13:23:52 Step 30/30 : LABEL version=0.0.0 13:23:53 ---> Running in 98ddc093b850 13:23:53 Removing intermediate container 98ddc093b850 13:23:53 ---> 75f0c724f6d9 13:23:53 [Warning] One or more build-args [ARCH] were not consumed 13:23:53 Successfully built 75f0c724f6d9 13:23:53 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] { 13:23:53 d496ad576159: Pull complete 13:23:53 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 13:23:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:23:53 ---> f246e2811388 13:23:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git" [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:54 13:23:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:54 latest: Pulling from edgex-lftools-log-publisher 13:23:54 5eb5b503b376: Pulling fs layer 13:23:54 5c69ac0246d0: Pulling fs layer 13:23:54 ec43610c2a17: Pulling fs layer 13:23:54 3a2ae6a8a46f: Pulling fs layer 13:23:54 33b1e0a273af: Pulling fs layer 13:23:54 5d3b04190fa2: Pulling fs layer 13:23:54 2f39f015ded8: Pulling fs layer 13:23:54 3a2ae6a8a46f: Waiting 13:23:54 33b1e0a273af: Waiting 13:23:54 5d3b04190fa2: Waiting 13:23:54 2f39f015ded8: Waiting 13:23:54 5c69ac0246d0: Download complete 13:23:54 3a2ae6a8a46f: Verifying Checksum 13:23:54 3a2ae6a8a46f: Download complete 13:23:54 33b1e0a273af: Verifying Checksum 13:23:54 33b1e0a273af: Download complete 13:23:54 ec43610c2a17: Verifying Checksum 13:23:54 ec43610c2a17: Download complete 13:23:54 5d3b04190fa2: Verifying Checksum 13:23:54 5d3b04190fa2: Download complete 13:23:54 5eb5b503b376: Verifying Checksum 13:23:54 5eb5b503b376: Download complete 13:23:55 ---> Running in a9754ca309ec 13:23:55 2f39f015ded8: Download complete 13:23:55 Removing intermediate container a9754ca309ec 13:23:55 ---> 57e3c560d0dd 13:23:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:23:55 ---> Running in 326a4bed3f57 13:23:55 5eb5b503b376: Pull complete 13:23:56 Removing intermediate container 326a4bed3f57 13:23:56 ---> 27ef007dfcd4 13:23:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:23:56 ---> Running in a12e64dd0fd1 13:23:56 5c69ac0246d0: Pull complete 13:23:56 ec43610c2a17: Pull complete 13:23:56 Removing intermediate container a12e64dd0fd1 13:23:56 ---> 70cf4e92092b 13:23:56 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:23:56 ---> Running in cbd053aad23f 13:23:56 3a2ae6a8a46f: Pull complete 13:23:57 33b1e0a273af: Pull complete 13:23:57 5d3b04190fa2: Pull complete 13:23:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:23:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:23:59 OK: 266 MiB in 52 packages 13:24:00 Removing intermediate container cbd053aad23f 13:24:00 ---> 312f35593724 13:24:00 Step 7/12 : WORKDIR /app 13:24:00 ---> Running in 233b1b9571d3 13:24:00 Removing intermediate container 233b1b9571d3 13:24:00 ---> 545b24ae03d0 13:24:00 Step 8/12 : COPY go.mod vendor* ./ 13:24:01 ---> 9468f210bf35 13:24:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:24:01 ---> Running in 4f357bea572e 13:24:02 2f39f015ded8: Pull complete 13:24:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:24:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:02 prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container 13:24:02 $ 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-297 -v /w/workspace/y_app-rfid-llrp-inventory_PR-297:/w/workspace/y_app-rfid-llrp-inventory_PR-297:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:24:05 $ docker top 9ee882281e76c610f4c9076832641091c2a649187d268a863f3bda8faeb03c7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:05 ---> job-cost.sh 13:24:05 lf-activate-venv: SKIPPING 13:24:05 INFO: No Stack... 13:24:05 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:06 INFO: Archiving Costs [Pipeline] sh 13:24:06 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-297/archives/cost.csv 13:24:06 + cut -d, -f6 [Pipeline] lock 13:24:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-297-1-stack-cost] 13:24:06 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-297-1-stack-cost] did not exist. Created. 13:24:06 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-297-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:24:06 + echo total: 0.2199999988079071 [Pipeline] stash 13:24:07 Stashed 1 file(s) [Pipeline] } 13:24:07 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-297-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:07 $ docker stop --time=1 9ee882281e76c610f4c9076832641091c2a649187d268a863f3bda8faeb03c7a 13:24:08 $ docker rm -f --volumes 9ee882281e76c610f4c9076832641091c2a649187d268a863f3bda8faeb03c7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:25:52 Removing intermediate container 4f357bea572e 13:25:52 ---> facae7cb5701 13:25:52 Step 10/12 : COPY . . 13:25:52 ---> c8b27b2f3cf3 13:25:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:25:52 ---> Running in 1dee5f886400 13:25:52 Removing intermediate container 1dee5f886400 13:25:52 ---> eb32be64e3d5 13:25:52 Step 12/12 : RUN $MAKE 13:25:52 ---> Running in b9ba52a8a59e 13:25:52 noop 13:25:52 Removing intermediate container b9ba52a8a59e 13:25:52 ---> 7feae18bdc7c 13:25:52 Successfully built 7feae18bdc7c 13:25:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:53 + docker inspect -f . ci-base-image-arm64 13:25:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:53 prd-ubuntu20.04-docker-arm64-4c-16g-6457 does not seem to be running inside a container 13:25:53 $ 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:25:55 $ docker top 2282e21987c169c99dce6161bd33f16c06549b47f8145d39e72000c2c25b4f8f -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:55 + go version 13:25:55 go version go1.21.9 linux/arm64 [Pipeline] } 13:25:55 $ docker stop --time=1 2282e21987c169c99dce6161bd33f16c06549b47f8145d39e72000c2c25b4f8f 13:25:57 $ docker rm -f --volumes 2282e21987c169c99dce6161bd33f16c06549b47f8145d39e72000c2c25b4f8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:58 + docker inspect -f . ci-base-image-arm64 13:25:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:58 prd-ubuntu20.04-docker-arm64-4c-16g-6457 does not seem to be running inside a container 13:25:58 $ 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:26:00 $ docker top fbf1584b939f19cfbaa24019d49e4419ef2a27280592181dcedbdc0a14d0a69b -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:00 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:26:01 + make test 13:26:01 go test -race ./... -coverprofile=coverage.out ./... 13:29:53 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:29:57 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:29:59 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.990s coverage: 86.2% of statements 13:30:12 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.293s coverage: 71.9% of statements 13:30:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:30:12 go vet ./... 13:33:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:33:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:33:48 ./bin/test-attribution.sh 13:33:48 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:33:48 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:33:48 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:33:48 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:33:48 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:33:48 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:33:48 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:33:48 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:33:48 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:33:48 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:33:48 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:33:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:33:49 $ docker stop --time=1 fbf1584b939f19cfbaa24019d49e4419ef2a27280592181dcedbdc0a14d0a69b 13:33:50 $ docker rm -f --volumes fbf1584b939f19cfbaa24019d49e4419ef2a27280592181dcedbdc0a14d0a69b [Pipeline] // withDockerContainer [Pipeline] sh 13:33:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:33:53 Warning: overwriting stash ‘coverage-report’ 13:33:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:33:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:33:54 + ls -al . 13:33:54 total 272 13:33:54 drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 13:26 . 13:33:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 13:22 .. 13:33:54 -rw-rw-r-- 1 jenkins jenkins 262 Jul 25 13:22 .dockerignore 13:33:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 13:23 .git 13:33:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 13:22 .github 13:33:54 -rw-rw-r-- 1 jenkins jenkins 773 Jul 25 13:22 .gitignore 13:33:54 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 13:22 .golangci.yml 13:33:54 -rw-rw-r-- 1 jenkins jenkins 10232 Jul 25 13:22 Attribution.txt 13:33:54 -rw-rw-r-- 1 jenkins jenkins 11245 Jul 25 13:22 CHANGELOG.md 13:33:54 -rw-rw-r-- 1 jenkins jenkins 1768 Jul 25 13:22 Dockerfile 13:33:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 13:22 GOVERNANCE.md 13:33:54 -rw-rw-r-- 1 jenkins jenkins 665 Jul 25 13:22 Jenkinsfile 13:33:54 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 25 13:22 LICENSE 13:33:54 -rw-rw-r-- 1 jenkins jenkins 2503 Jul 25 13:22 Makefile 13:33:54 -rw-rw-r-- 1 jenkins jenkins 617 Jul 25 13:22 OWNERS.md 13:33:54 -rw-rw-r-- 1 jenkins jenkins 3851 Jul 25 13:22 README.md 13:33:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 13:20 VERSION 13:33:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 13:22 bin 13:33:54 -rw-r--r-- 1 jenkins jenkins 41317 Jul 25 13:30 coverage.out 13:33:54 -rw-rw-r-- 1 jenkins jenkins 7243 Jul 25 13:22 go.mod 13:33:54 -rw-rw-r-- 1 jenkins jenkins 101448 Jul 25 13:22 go.sum 13:33:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 13:22 images 13:33:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 13:22 internal 13:33:54 -rw-rw-r-- 1 jenkins jenkins 531 Jul 25 13:22 main.go 13:33:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 13:22 openapi 13:33:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 13:22 res 13:33:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 13:22 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:55 + 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=c7e611b92e4bfb613cb872a0184d4328db4e7b85 --label arch=arm64 --label version=0.0.0 . 13:33:55 Sending build context to Docker daemon 673.8kB 13:33:55 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:33:55 Step 2/30 : FROM ${BASE} AS builder 13:33:55 ---> 7feae18bdc7c 13:33:55 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:33:55 ---> Running in dbd1c7783e03 13:33:56 Removing intermediate container dbd1c7783e03 13:33:56 ---> 25b5be4b3165 13:33:56 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:33:56 ---> Running in e213932d2d8e 13:33:56 Removing intermediate container e213932d2d8e 13:33:56 ---> 0708a7fc827e 13:33:56 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:33:56 ---> Running in cbaac11f2db9 13:33:56 Removing intermediate container cbaac11f2db9 13:33:56 ---> d28a5266e793 13:33:56 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:33:56 ---> Running in 556754b06128 13:33:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:33:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:33:59 OK: 266 MiB in 52 packages 13:34:00 Removing intermediate container 556754b06128 13:34:00 ---> 5471a726c4ee 13:34:00 Step 7/30 : WORKDIR /app 13:34:00 ---> Running in 5d93a23342f4 13:34:00 Removing intermediate container 5d93a23342f4 13:34:00 ---> 1eb80c5c4d21 13:34:00 Step 8/30 : COPY go.mod vendor* ./ 13:34:00 ---> a10bf552fd8d 13:34:00 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:34:00 ---> Running in ca02038cec67 13:34:03 Removing intermediate container ca02038cec67 13:34:03 ---> 2824f6b82d99 13:34:03 Step 10/30 : COPY . . 13:34:03 ---> ad75076688e3 13:34:03 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:34:03 ---> Running in 50ca502ef2f7 13:34:04 Removing intermediate container 50ca502ef2f7 13:34:04 ---> 7472c35ff195 13:34:04 Step 12/30 : RUN $MAKE 13:34:04 ---> Running in dafd70f64197 13:34:05 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.44 -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:37:26 Removing intermediate container dafd70f64197 13:37:26 ---> a11421c422dd 13:37:26 Step 13/30 : FROM alpine:3.18 13:37:26 3.18: Pulling from library/alpine 13:37:26 4983c3fe2029: Pulling fs layer 13:37:26 4983c3fe2029: Pull complete 13:37:26 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 13:37:26 Status: Downloaded newer image for alpine:3.18 13:37:26 ---> a0237000ae83 13:37:26 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:37:26 ---> Running in 9526403aab39 13:37:26 Removing intermediate container 9526403aab39 13:37:26 ---> 2e9f1689061b 13:37:26 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:37:26 ---> Running in c5d53259cf98 13:37:26 Removing intermediate container c5d53259cf98 13:37:26 ---> a011a0ff03f6 13:37:26 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:37:26 ---> Running in 61d3912340d8 13:37:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:37:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:37:26 (1/2) Installing ca-certificates (20240226-r0) 13:37:26 (2/2) Installing dumb-init (1.2.5-r2) 13:37:26 Executing busybox-1.36.1-r7.trigger 13:37:26 Executing ca-certificates-20240226-r0.trigger 13:37:26 OK: 9 MiB in 17 packages 13:37:26 Removing intermediate container 61d3912340d8 13:37:26 ---> b04f61da130c 13:37:26 Step 17/30 : RUN apk --no-cache upgrade 13:37:26 ---> Running in c3ec402234d6 13:37:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:37:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:37:27 OK: 9 MiB in 17 packages 13:37:28 Removing intermediate container c3ec402234d6 13:37:28 ---> 058c62c37b17 13:37:28 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:37:29 ---> badde4db5838 13:37:29 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:37:29 ---> 8a6c6eab8438 13:37:29 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:37:30 ---> 551987d13cb5 13:37:30 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:37:30 ---> 2d5d09ee11d1 13:37:30 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:37:32 ---> 78427a2a39a7 13:37:32 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:37:32 ---> Running in 58695c2acf35 13:37:34 Removing intermediate container 58695c2acf35 13:37:34 ---> cfb226a7f710 13:37:34 Step 24/30 : VOLUME /cache 13:37:34 ---> Running in 107b2fe260d8 13:37:34 Removing intermediate container 107b2fe260d8 13:37:34 ---> 9f6a25ce94c7 13:37:34 Step 25/30 : EXPOSE 59711 13:37:34 ---> Running in 5d81fa1d519b 13:37:34 Removing intermediate container 5d81fa1d519b 13:37:34 ---> f0ef4600ad4d 13:37:34 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:37:35 ---> Running in e9fb7050c3f7 13:37:35 Removing intermediate container e9fb7050c3f7 13:37:35 ---> e21f570a44f5 13:37:35 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:37:35 ---> Running in 718451c4b8a1 13:37:35 Removing intermediate container 718451c4b8a1 13:37:35 ---> 487054ca91b7 13:37:35 Step 28/30 : LABEL arch=arm64 13:37:35 ---> Running in b9b83870af68 13:37:35 Removing intermediate container b9b83870af68 13:37:35 ---> c3046769d8d1 13:37:35 Step 29/30 : LABEL git_sha=c7e611b92e4bfb613cb872a0184d4328db4e7b85 13:37:36 ---> Running in 18cdcfa7085d 13:37:36 Removing intermediate container 18cdcfa7085d 13:37:36 ---> ff75d6dff719 13:37:36 Step 30/30 : LABEL version=0.0.0 13:37:36 ---> Running in 73b0c0d357ec 13:37:36 Removing intermediate container 73b0c0d357ec 13:37:36 ---> c1e11abc713f 13:37:36 [Warning] One or more build-args [ARCH] were not consumed 13:37:36 Successfully built c1e11abc713f 13:37:36 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:37:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:37:37 13:37:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:37:37 arm64: Pulling from edgex-lftools-log-publisher 13:37:37 8998bd30e6a1: Pulling fs layer 13:37:37 04944245beec: Pulling fs layer 13:37:37 699f458cf7ca: Pulling fs layer 13:37:37 765212b225bb: Pulling fs layer 13:37:37 f23df028b6ca: Pulling fs layer 13:37:37 d65c8cfc05b1: Pulling fs layer 13:37:37 2437ff75d9bd: Pulling fs layer 13:37:37 f23df028b6ca: Waiting 13:37:37 d65c8cfc05b1: Waiting 13:37:37 765212b225bb: Waiting 13:37:38 04944245beec: Verifying Checksum 13:37:38 04944245beec: Download complete 13:37:38 765212b225bb: Download complete 13:37:38 f23df028b6ca: Verifying Checksum 13:37:38 f23df028b6ca: Download complete 13:37:38 d65c8cfc05b1: Verifying Checksum 13:37:38 d65c8cfc05b1: Download complete 13:37:38 699f458cf7ca: Verifying Checksum 13:37:38 699f458cf7ca: Download complete 13:37:38 8998bd30e6a1: Verifying Checksum 13:37:38 8998bd30e6a1: Download complete 13:37:41 2437ff75d9bd: Verifying Checksum 13:37:41 2437ff75d9bd: Download complete 13:37:43 8998bd30e6a1: Pull complete 13:37:43 04944245beec: Pull complete 13:37:45 699f458cf7ca: Pull complete 13:37:45 765212b225bb: Pull complete 13:37:46 f23df028b6ca: Pull complete 13:37:46 d65c8cfc05b1: Pull complete 13:38:04 2437ff75d9bd: Pull complete 13:38:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:38:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:05 prd-ubuntu20.04-docker-arm64-4c-16g-6457 does not seem to be running inside a container 13:38:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:38:07 $ docker top fab6b49fc2ce560674c280d40d55183508549b580956969168e4c57ee7931af5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:38:08 ---> job-cost.sh 13:38:08 lf-activate-venv: SKIPPING 13:38:08 INFO: No Stack... 13:38:09 INFO: Retrieving Pricing Info for: v3-standard-4 13:38:10 INFO: Archiving Costs [Pipeline] sh 13:38:10 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:38:10 + cut -d, -f6 [Pipeline] lock 13:38:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-297-1-stack-cost] 13:38:10 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-297-1-stack-cost] did not exist. Created. 13:38:10 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-297-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:38:11 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-19e24b7a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:38:12 + echo total: 0.10999999940395355 [Pipeline] stash 13:38:12 Warning: overwriting stash ‘stack-cost’ 13:38:12 Stashed 1 file(s) [Pipeline] } 13:38:12 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-297-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:38:12 $ docker stop --time=1 fab6b49fc2ce560674c280d40d55183508549b580956969168e4c57ee7931af5 13:38:13 $ docker rm -f --volumes fab6b49fc2ce560674c280d40d55183508549b580956969168e4c57ee7931af5 [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:38:15 provisioning config files... 13:38:15 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp/config12744530217258800624tmp [Pipeline] { [Pipeline] sh 13:38:15 + set +x 13:38:15 + curl -s https://codecov.io/bash 13:38:15 + bash -s -- 13:38:15 13:38:15 _____ _ 13:38:15 / ____| | | 13:38:15 | | ___ __| | ___ ___ _____ __ 13:38:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:38:15 | |___| (_) | (_| | __/ (_| (_) \ V / 13:38:15 \_____\___/ \__,_|\___|\___\___/ \_/ 13:38:15 Bash-1.0.6 13:38:15 13:38:15 13:38:15 ==> git version 2.25.1 found 13:38:15 ==> 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:38:15 Release-Date: 2020-01-08 13:38:15 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:38:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:38:15 ==> Jenkins CI detected. 13:38:15 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-297 13:38:15 project root: . 13:38:15 --> token set from env 13:38:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:38:15 ==> Running gcov in . (disable via -X gcov) 13:38:15 ==> Python coveragepy not found 13:38:15 ==> Searching for coverage reports in: 13:38:15 + . 13:38:15 -> Found 1 reports 13:38:15 ==> Detecting git/mercurial file structure 13:38:15 ==> Reading reports 13:38:15 + ./coverage.out bytes=41317 13:38:15 ==> Appending adjustments 13:38:15 https://docs.codecov.io/docs/fixing-reports 13:38:15 + Found adjustments 13:38:16 ==> Gzipping contents 13:38:16 12K /tmp/codecov.B1IITs.gz 13:38:16 ==> Uploading reports 13:38:16 url: https://codecov.io 13:38:16 query: branch=PR-297&commit=c7e611b92e4bfb613cb872a0184d4328db4e7b85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-297%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=297&job=&cmd_args= 13:38:16 -> Pinging Codecov 13:38:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-297&commit=c7e611b92e4bfb613cb872a0184d4328db4e7b85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-297%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=297&job=&cmd_args= 13:38:16 -> Uploading to 13:38:16 https://storage.googleapis.com/codecov/v4/raw/2024-07-25/581DD39554BDF9B6E22D074273EAD858/c7e611b92e4bfb613cb872a0184d4328db4e7b85/dc652c42-0b1d-4bce-bcef-b488d5ebe366.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T133815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8096b3332c10c14ae7eb20a1ba992dccc6ab048093f3c3853951fa120ff15992 13:38:16 % Total % Received % Xferd Average Speed Time Time Time Current 13:38:16 Dload Upload Total Spent Left Speed 13:38:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11610 0 0 100 11610 0 48174 --:--:-- --:--:-- --:--:-- 48174 13:38:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/c7e611b92e4bfb613cb872a0184d4328db4e7b85 [Pipeline] } 13:38:16 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:38:18 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-297/archives ] 13:38:18 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-297/archives 13:38:18 total 16 13:38:18 drwxr-xr-x 3 root root 4096 Jul 25 13:24 . 13:38:18 drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 13:24 .. 13:38:18 drwxr-xr-x 2 root root 4096 Jul 25 13:24 cost 13:38:18 -rw-r--r-- 1 root root 95 Jul 25 13:24 cost.csv 13:38:18 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-297/archives 13:38:18 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-297/archives 13:38:18 total 16 13:38:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 13:24 . 13:38:18 drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 13:24 .. 13:38:18 drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 13:24 cost 13:38:18 -rw-r--r-- 1 jenkins jenkins 95 Jul 25 13:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:38:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:38:19 ---> package-listing.sh 13:38:19 ++ facter osfamily 13:38:19 ++ tr '[:upper:]' '[:lower:]' 13:38:20 + OS_FAMILY=debian 13:38:20 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-297 13:38:20 + START_PACKAGES=/tmp/packages_start.txt 13:38:20 + END_PACKAGES=/tmp/packages_end.txt 13:38:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:38:20 + PACKAGES=/tmp/packages_start.txt 13:38:20 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-297 ']' 13:38:20 + PACKAGES=/tmp/packages_end.txt 13:38:20 + case "${OS_FAMILY}" in 13:38:20 + dpkg -l 13:38:20 + grep '^ii' 13:38:20 + '[' -f /tmp/packages_start.txt ']' 13:38:20 + '[' -f /tmp/packages_end.txt ']' 13:38:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:38:20 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-297 ']' 13:38:20 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-297/archives/ 13:38:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-297/archives/ [Pipeline] echo 13:38:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:38:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:38:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:21 prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container 13:38:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-297/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-297 -v /w/workspace/y_app-rfid-llrp-inventory_PR-297:/w/workspace/y_app-rfid-llrp-inventory_PR-297:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-297@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:38:21 $ docker top 11ac463e7b56bfab33e480329e84b8d0c060ddaf4b194f28b0192746a1950ca4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:21 + touch /tmp/pre-build-complete [Pipeline] sh 13:38:22 + mkdir -p /var/log/sysstat [Pipeline] sh 13:38:22 + ls /var/log/sa-host 13:38:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:38:22 provisioning config files... 13:38:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-297@tmp/config2588363219062644780tmp [Pipeline] { [Pipeline] echo 13:38:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:38:23 ---> create-netrc.sh [Pipeline] } 13:38:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:38:23 ---> python-tools-install.sh [Pipeline] echo 13:38:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:38:24 ---> sudo-logs.sh 13:38:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:38:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:38:24 ---> job-cost.sh 13:38:24 lf-activate-venv: SKIPPING 13:38:24 DEBUG: total: 0.2199999988079071 13:38:24 INFO: Retrieving Stack Cost... 13:38:25 INFO: Retrieving Pricing Info for: v3-standard-8 13:38:25 INFO: Archiving Costs [Pipeline] echo 13:38:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:38:25 ---> logs-deploy.sh 13:38:25 lf-activate-venv: SKIPPING 13:38:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-297/1 13:38:25 INFO: archiving workspace using pattern(s): 13:38:26 Archives upload complete. 13:38:26 INFO: archiving logs to Nexus 13:38:27 ---> uname -a: 13:38:27 Linux prd-ubuntu20-04-docker-8c-8g-6456 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 13:38:27 13:38:27 13:38:27 ---> lscpu: 13:38:27 Architecture: x86_64 13:38:27 CPU op-mode(s): 32-bit, 64-bit 13:38:27 Byte Order: Little Endian 13:38:27 Address sizes: 40 bits physical, 48 bits virtual 13:38:27 CPU(s): 8 13:38:27 On-line CPU(s) list: 0-7 13:38:27 Thread(s) per core: 1 13:38:27 Core(s) per socket: 1 13:38:27 Socket(s): 8 13:38:27 NUMA node(s): 1 13:38:27 Vendor ID: AuthenticAMD 13:38:27 CPU family: 23 13:38:27 Model: 49 13:38:27 Model name: AMD EPYC-Rome Processor 13:38:27 Stepping: 0 13:38:27 CPU MHz: 2799.998 13:38:27 BogoMIPS: 5599.99 13:38:27 Virtualization: AMD-V 13:38:27 Hypervisor vendor: KVM 13:38:27 Virtualization type: full 13:38:27 L1d cache: 256 KiB 13:38:27 L1i cache: 256 KiB 13:38:27 L2 cache: 4 MiB 13:38:27 L3 cache: 128 MiB 13:38:27 NUMA node0 CPU(s): 0-7 13:38:27 Vulnerability Itlb multihit: Not affected 13:38:27 Vulnerability L1tf: Not affected 13:38:27 Vulnerability Mds: Not affected 13:38:27 Vulnerability Meltdown: Not affected 13:38:27 Vulnerability Mmio stale data: Not affected 13:38:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:38:27 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:38:27 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:38:27 Vulnerability Srbds: Not affected 13:38:27 Vulnerability Tsx async abort: Not affected 13:38:27 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 13:38:27 13:38:27 13:38:27 ---> nproc: 13:38:27 8 13:38:27 13:38:27 13:38:27 ---> df -h: 13:38:27 Filesystem Size Used Avail Use% Mounted on 13:38:27 overlay 155G 12G 143G 8% / 13:38:27 tmpfs 64M 0 64M 0% /dev 13:38:27 tmpfs 16G 0 16G 0% /sys/fs/cgroup 13:38:27 shm 64M 0 64M 0% /dev/shm 13:38:27 /dev/vda1 155G 12G 143G 8% /facter-os 13:38:27 13:38:27