Pull request #290 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b+5b4415030ab3c0da7e927d10f7674bfb96f8b020 (01d7a7b921ed4458a8c48ca32a3eabe2d2257f8a) 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-ssh13891650604532772498.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh1341092585124181105.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-290/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-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10952240690646121198.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-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7845379877678000686.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh8427312158823745429.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-290/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-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14701434566950423589.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-858’ Running on prd-ubuntu20.04-docker-8c-8g-861 in /w/workspace/y_app-rfid-llrp-inventory_PR-290 [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-290 # 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 5b4415030ab3c0da7e927d10f7674bfb96f8b020 into PR head commit 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b Merge succeeded, producing 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b Checking out Revision 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b (PR-290) 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 f5e0e1f8358a839901f1a476b3a28a62f8570917 > 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/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b # 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 5b4415030ab3c0da7e927d10f7674bfb96f8b020 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:06:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:06:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:06:39 ========================================================= 13:06:39 EdgeX Global Pipelines Version Info 13:06:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:06:39 ------------------- 13:06:39 stable info: 13:06:39 ------------------- 13:06:39 Commited By: Ginny Guan ginny@iotechsys.com 13:06:39 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 13:06:39 Message: update stable to v1.0.259 13:06:40 ------------------- 13:06:40 experimental info: 13:06:40 ------------------- 13:06:40 Commited By: Ginny Guan ginny@iotechsys.com 13:06:40 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 13:06:40 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:06:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:06:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:06:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:06:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:06:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:06:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:06:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c33cb7 [Pipeline] echo 13:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:06:42 provisioning config files... 13:06:42 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp/config18142828656857206063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:06:43 ---> ****-login.sh 13:06:43 nexus3.edgexfoundry.org:10001 13:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:43 Configure a credential helper to remove this warning. See 13:06:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:43 13:06:43 Login Succeeded 13:06:43 nexus3.edgexfoundry.org:10002 13:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:43 Configure a credential helper to remove this warning. See 13:06:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:43 13:06:43 Login Succeeded 13:06:43 nexus3.edgexfoundry.org:10003 13:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:43 Configure a credential helper to remove this warning. See 13:06:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:43 13:06:43 Login Succeeded 13:06:43 nexus3.edgexfoundry.org:10004 13:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:44 Configure a credential helper to remove this warning. See 13:06:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:44 13:06:44 Login Succeeded 13:06:44 ****.io 13:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:06:44 Configure a credential helper to remove this warning. See 13:06:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:06:44 13:06:44 Login Succeeded 13:06:44 ---> ****-login.sh ends [Pipeline] } 13:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:06:45 + git rev-list -1 --merges 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b~1..1c33cb7ecbd52e54b44a0276a9bd431dc301a38b [Pipeline] echo 13:06:45 -----------> git rev-list -1 --merges 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b~1..1c33cb7ecbd52e54b44a0276a9bd431dc301a38b 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b [false] [Pipeline] sh 13:06:45 + git log --format=format:%s -1 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b [Pipeline] echo 13:06:45 ========================================================= 13:06:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:06:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:06:46 + git log --format=format:%s -1 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b [Pipeline] echo 13:06:46 [semverPrep] GIT_COMMIT: 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:06:46 [semverPrep] This is not a build commit. [Pipeline] sh 13:06:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:06:46 + grep -v github /etc/ssh/ssh_known_hosts 13:06:46 + [ -e /tmp/ssh_known_hosts ] 13:06:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:06:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:06:46 + sudo tee -a /etc/ssh/ssh_known_hosts 13:06:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:06:47 13:06:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:06:47 0.1.4: Pulling from edgex-devops/py-git-semver 13:06:47 b85a868b505f: Pulling fs layer 13:06:47 e2be974225ed: Pulling fs layer 13:06:47 339a4e72a1f5: Pulling fs layer 13:06:47 988bab9f4d93: Pulling fs layer 13:06:47 1469e6f7b9e6: Pulling fs layer 13:06:47 eaf3925da568: Pulling fs layer 13:06:47 bab4dde63d76: Pulling fs layer 13:06:47 bde34c3a00c8: Pulling fs layer 13:06:47 b352a97aabf1: Pulling fs layer 13:06:47 4872d77fe225: Pulling fs layer 13:06:47 5851b861e8e6: Pulling fs layer 13:06:47 bab4dde63d76: Waiting 13:06:47 bde34c3a00c8: Waiting 13:06:47 b352a97aabf1: Waiting 13:06:47 4872d77fe225: Waiting 13:06:47 5851b861e8e6: Waiting 13:06:47 1469e6f7b9e6: Waiting 13:06:47 eaf3925da568: Waiting 13:06:47 988bab9f4d93: Waiting 13:06:47 e2be974225ed: Download complete 13:06:47 988bab9f4d93: Verifying Checksum 13:06:47 988bab9f4d93: Download complete 13:06:47 1469e6f7b9e6: Verifying Checksum 13:06:47 1469e6f7b9e6: Download complete 13:06:47 eaf3925da568: Verifying Checksum 13:06:47 eaf3925da568: Download complete 13:06:47 339a4e72a1f5: Verifying Checksum 13:06:47 339a4e72a1f5: Download complete 13:06:47 bde34c3a00c8: Download complete 13:06:47 b352a97aabf1: Verifying Checksum 13:06:47 b352a97aabf1: Download complete 13:06:47 4872d77fe225: Verifying Checksum 13:06:47 4872d77fe225: Download complete 13:06:47 5851b861e8e6: Download complete 13:06:47 b85a868b505f: Verifying Checksum 13:06:47 b85a868b505f: Download complete 13:06:48 bab4dde63d76: Verifying Checksum 13:06:48 bab4dde63d76: Download complete 13:06:49 b85a868b505f: Pull complete 13:06:49 e2be974225ed: Pull complete 13:06:49 339a4e72a1f5: Pull complete 13:06:49 988bab9f4d93: Pull complete 13:06:50 1469e6f7b9e6: Pull complete 13:06:50 eaf3925da568: Pull complete 13:06:52 bab4dde63d76: Pull complete 13:06:52 bde34c3a00c8: Pull complete 13:06:52 b352a97aabf1: Pull complete 13:06:52 4872d77fe225: Pull complete 13:06:52 5851b861e8e6: Pull complete 13:06:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:06:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:06:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:52 prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container 13:06:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-290 -v /w/workspace/y_app-rfid-llrp-inventory_PR-290:/w/workspace/y_app-rfid-llrp-inventory_PR-290:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-290@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:06:55 $ docker top d1f835d3be72fe455bca8e383a4ea965d864575b5a0455ab587cf90e776b97f1 -eo pid,comm 13:06:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:06:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:06:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:06:55 [ssh-agent] Looking for ssh-agent implementation... 13:06:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:06:55 $ docker exec d1f835d3be72fe455bca8e383a4ea965d864575b5a0455ab587cf90e776b97f1 ssh-agent 13:06:56 SSH_AUTH_SOCK=/tmp/ssh-dAY0TsgGOkRN/agent.33 13:06:56 SSH_AGENT_PID=39 13:06:56 Running ssh-add (command line suppressed) 13:06:56 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp/private_key_7399739430291580643.key (/w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp/private_key_7399739430291580643.key) 13:06:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:06:56 + git tag --points-at HEAD [Pipeline] } 13:06:56 $ docker exec --env ******** --env ******** d1f835d3be72fe455bca8e383a4ea965d864575b5a0455ab587cf90e776b97f1 ssh-agent -k 13:06:56 unset SSH_AUTH_SOCK; 13:06:56 unset SSH_AGENT_PID; 13:06:56 echo Agent pid 39 killed; 13:06:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:06:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:06:56 [ssh-agent] Looking for ssh-agent implementation... 13:06:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:06:56 $ docker exec d1f835d3be72fe455bca8e383a4ea965d864575b5a0455ab587cf90e776b97f1 ssh-agent 13:06:57 SSH_AUTH_SOCK=/tmp/ssh-0eGY3wfrm4rI/agent.72 13:06:57 SSH_AGENT_PID=78 13:06:57 Running ssh-add (command line suppressed) 13:06:57 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp/private_key_12220093448991275381.key (/w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp/private_key_12220093448991275381.key) 13:06:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:06:57 + git semver init 13:06:57 2024-05-27 13:06:57,677 [run_init] DEBUG init version:0.0.0 force:False 13:06:57 2024-05-27 13:06:57,678 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-290/.semver 13:06:57 2024-05-27 13:06:57,679 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-290/.semver 13:06:57 2024-05-27 13:06:57,679 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-290/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-290, universal_newlines=False, shell=None, istream=None) 13:06:59 2024-05-27 13:06:59,273 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-290/.git/info/exclude 13:06:59 2024-05-27 13:06:59,273 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-290/.semver/PR-290 with force:False 13:06:59 2024-05-27 13:06:59,273 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-290/.semver/PR-290 13:06:59 2024-05-27 13:06:59,277 [execute] INFO git cat-file --batch-check 13:06:59 2024-05-27 13:06:59,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-290/.semver, universal_newlines=False, shell=None, istream=) 13:06:59 2024-05-27 13:06:59,283 [execute] INFO git cat-file --batch 13:06:59 2024-05-27 13:06:59,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-290/.semver, universal_newlines=False, shell=None, istream=) 13:06:59 2024-05-27 13:06:59,288 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-290/.semver/PR-290 13:06:59 0.0.0 [Pipeline] } 13:06:59 $ docker exec --env ******** --env ******** d1f835d3be72fe455bca8e383a4ea965d864575b5a0455ab587cf90e776b97f1 ssh-agent -k 13:06:59 unset SSH_AUTH_SOCK; 13:06:59 unset SSH_AGENT_PID; 13:06:59 echo Agent pid 78 killed; 13:06:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:07:00 + git semver [Pipeline] } 13:07:00 $ docker stop --time=1 d1f835d3be72fe455bca8e383a4ea965d864575b5a0455ab587cf90e776b97f1 13:07:01 $ docker rm -f --volumes d1f835d3be72fe455bca8e383a4ea965d864575b5a0455ab587cf90e776b97f1 [Pipeline] // withDockerContainer [Pipeline] sh 13:07:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:07:02 Stashed 1 file(s) [Pipeline] echo 13:07:02 [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:07:03 provisioning config files... 13:07:03 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp/config7448995661500830056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:07:03 ---> ****-login.sh 13:07:03 nexus3.edgexfoundry.org:10001 13:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:03 Configure a credential helper to remove this warning. See 13:07:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:03 13:07:03 Login Succeeded 13:07:03 nexus3.edgexfoundry.org:10002 13:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:03 Configure a credential helper to remove this warning. See 13:07:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:03 13:07:03 Login Succeeded 13:07:03 nexus3.edgexfoundry.org:10003 13:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:04 Configure a credential helper to remove this warning. See 13:07:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:04 13:07:04 Login Succeeded 13:07:04 nexus3.edgexfoundry.org:10004 13:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:04 Configure a credential helper to remove this warning. See 13:07:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:04 13:07:04 Login Succeeded 13:07:04 ****.io 13:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:04 Configure a credential helper to remove this warning. See 13:07:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:04 13:07:04 Login Succeeded 13:07:04 ---> ****-login.sh ends [Pipeline] } 13:07:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:07:04 ========================================================= 13:07:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:07:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:05 + 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:07:05 Sending build context to Docker daemon 20.02MB 13:07:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:07:05 Step 2/12 : FROM ${BASE} AS builder 13:07:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:07:05 619be1103602: Pulling fs layer 13:07:05 7862e08f4a3e: Pulling fs layer 13:07:05 5df492c9dc93: Pulling fs layer 13:07:05 7629e6793208: Pulling fs layer 13:07:05 4f4fb700ef54: Pulling fs layer 13:07:05 fb5054dd5b73: Pulling fs layer 13:07:05 eeca6798cff9: Pulling fs layer 13:07:05 aa269ceb94a6: Pulling fs layer 13:07:05 ada007ff1a6a: Pulling fs layer 13:07:05 7629e6793208: Waiting 13:07:05 eeca6798cff9: Waiting 13:07:05 4f4fb700ef54: Waiting 13:07:05 fb5054dd5b73: Waiting 13:07:05 aa269ceb94a6: Waiting 13:07:05 ada007ff1a6a: Waiting 13:07:05 7862e08f4a3e: Verifying Checksum 13:07:05 7862e08f4a3e: Download complete 13:07:05 7629e6793208: Verifying Checksum 13:07:05 7629e6793208: Download complete 13:07:05 4f4fb700ef54: Verifying Checksum 13:07:05 4f4fb700ef54: Download complete 13:07:05 fb5054dd5b73: Verifying Checksum 13:07:05 fb5054dd5b73: Download complete 13:07:05 619be1103602: Verifying Checksum 13:07:05 619be1103602: Download complete 13:07:05 eeca6798cff9: Verifying Checksum 13:07:05 eeca6798cff9: Download complete 13:07:05 619be1103602: Pull complete 13:07:05 ada007ff1a6a: Verifying Checksum 13:07:05 ada007ff1a6a: Download complete 13:07:05 7862e08f4a3e: Pull complete 13:07:05 5df492c9dc93: Verifying Checksum 13:07:05 5df492c9dc93: Download complete 13:07:06 aa269ceb94a6: Verifying Checksum 13:07:06 aa269ceb94a6: Download complete 13:07:08 5df492c9dc93: Pull complete 13:07:08 7629e6793208: Pull complete 13:07:08 4f4fb700ef54: Pull complete 13:07:08 fb5054dd5b73: Pull complete 13:07:08 eeca6798cff9: Pull complete 13:07:11 aa269ceb94a6: Pull complete 13:07:11 ada007ff1a6a: Pull complete 13:07:11 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 13:07:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:07:11 ---> f489d0715acc 13:07:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:07:16 ---> Running in b893a1a42104 13:07:16 Removing intermediate container b893a1a42104 13:07:16 ---> b1665bbca46d 13:07:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:07:16 ---> Running in de16661803ac 13:07:16 Removing intermediate container de16661803ac 13:07:16 ---> a34016b244f4 13:07:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:07:16 ---> Running in cc124e66118c 13:07:16 Removing intermediate container cc124e66118c 13:07:16 ---> f69c90a458db 13:07:16 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:07:16 ---> Running in 9d1f006f0e98 13:07:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:07:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:07:17 OK: 264 MiB in 52 packages 13:07:17 Removing intermediate container 9d1f006f0e98 13:07:17 ---> 4ea0b0ede372 13:07:17 Step 7/12 : WORKDIR /app 13:07:17 ---> Running in dfd597eb5313 13:07:17 Removing intermediate container dfd597eb5313 13:07:17 ---> 5f506d136eb9 13:07:17 Step 8/12 : COPY go.mod vendor* ./ 13:07:17 ---> 230157b7f5c3 13:07:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:17 ---> Running in 25f6f0a20f4f 13:07:18 Still waiting to schedule task 13:07:18 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-859’ 13:08:04 Removing intermediate container 25f6f0a20f4f 13:08:04 ---> c4650cae59b0 13:08:04 Step 10/12 : COPY . . 13:08:04 ---> 7f04f7827802 13:08:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:08:04 ---> Running in ff91b0407a76 13:08:04 Removing intermediate container ff91b0407a76 13:08:04 ---> 6666f2b582d2 13:08:04 Step 12/12 : RUN $MAKE 13:08:04 ---> Running in bee341592512 13:08:04 noop 13:08:04 Removing intermediate container bee341592512 13:08:04 ---> ef63244d892f 13:08:04 Successfully built ef63244d892f 13:08:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:05 + docker inspect -f . ci-base-image-x86_64 13:08:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:08:05 prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container 13:08:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-290 -v /w/workspace/y_app-rfid-llrp-inventory_PR-290:/w/workspace/y_app-rfid-llrp-inventory_PR-290:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-290@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:08:05 $ docker top df3622a1883b90b50507cf0737681e72ce5a1bc6b8e6e00c0b0a8ccd47e32a86 -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:06 + go version 13:08:06 go version go1.21.9 linux/amd64 [Pipeline] } 13:08:06 $ docker stop --time=1 df3622a1883b90b50507cf0737681e72ce5a1bc6b8e6e00c0b0a8ccd47e32a86 13:08:07 $ docker rm -f --volumes df3622a1883b90b50507cf0737681e72ce5a1bc6b8e6e00c0b0a8ccd47e32a86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:08 + docker inspect -f . ci-base-image-x86_64 13:08:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:08:08 prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container 13:08:08 $ 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-290 -v /w/workspace/y_app-rfid-llrp-inventory_PR-290:/w/workspace/y_app-rfid-llrp-inventory_PR-290:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-290@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:08:08 $ docker top 8572895313cb9ca694dcfec0f8472b8c95321e9359e553702182af34a2bd72b3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:09 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-290 [Pipeline] fileExists [Pipeline] sh 13:08:09 + make test 13:08:09 go test -race ./... -coverprofile=coverage.out ./... 13:08:41 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:08:41 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:08:41 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.149s coverage: 86.2% of statements 13:08:41 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.691s coverage: 71.9% of statements 13:09:13 go vet ./... 13:09:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:09:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:09:18 ./bin/test-attribution.sh 13:09:18 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:09:18 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:09:18 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:09:18 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:09:18 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:09:18 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:09:18 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:09:18 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:09:18 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:09:18 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:09:18 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:09:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:09:18 $ docker stop --time=1 8572895313cb9ca694dcfec0f8472b8c95321e9359e553702182af34a2bd72b3 13:09:23 $ docker rm -f --volumes 8572895313cb9ca694dcfec0f8472b8c95321e9359e553702182af34a2bd72b3 [Pipeline] // withDockerContainer [Pipeline] sh 13:09:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:09:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:09:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:09:25 + ls -al . 13:09:25 total 276 13:09:25 drwxrwxr-x 11 jenkins jenkins 4096 May 27 13:08 . 13:09:25 drwxrwxr-x 4 jenkins jenkins 4096 May 27 13:06 .. 13:09:25 -rw-rw-r-- 1 jenkins jenkins 262 May 27 13:06 .dockerignore 13:09:25 drwxrwxr-x 8 jenkins jenkins 4096 May 27 13:08 .git 13:09:25 drwxrwxr-x 3 jenkins jenkins 4096 May 27 13:06 .github 13:09:25 -rw-rw-r-- 1 jenkins jenkins 773 May 27 13:06 .gitignore 13:09:25 -rw-rw-r-- 1 jenkins jenkins 41 May 27 13:06 .golangci.yml 13:09:25 drwxr-xr-x 3 jenkins jenkins 4096 May 27 13:06 .semver 13:09:25 -rw-rw-r-- 1 jenkins jenkins 10232 May 27 13:06 Attribution.txt 13:09:25 -rw-rw-r-- 1 jenkins jenkins 11245 May 27 13:06 CHANGELOG.md 13:09:25 -rw-rw-r-- 1 jenkins jenkins 1768 May 27 13:06 Dockerfile 13:09:25 -rw-rw-r-- 1 jenkins jenkins 677 May 27 13:06 GOVERNANCE.md 13:09:25 -rw-rw-r-- 1 jenkins jenkins 665 May 27 13:06 Jenkinsfile 13:09:25 -rw-rw-r-- 1 jenkins jenkins 11347 May 27 13:06 LICENSE 13:09:25 -rw-rw-r-- 1 jenkins jenkins 2503 May 27 13:06 Makefile 13:09:25 -rw-rw-r-- 1 jenkins jenkins 617 May 27 13:06 OWNERS.md 13:09:25 -rw-rw-r-- 1 jenkins jenkins 3851 May 27 13:06 README.md 13:09:25 -rw-rw-r-- 1 jenkins jenkins 5 May 27 13:07 VERSION 13:09:25 drwxrwxr-x 2 jenkins jenkins 4096 May 27 13:06 bin 13:09:25 -rw-r--r-- 1 jenkins jenkins 41317 May 27 13:08 coverage.out 13:09:25 -rw-rw-r-- 1 jenkins jenkins 7349 May 27 13:06 go.mod 13:09:25 -rw-rw-r-- 1 jenkins jenkins 102020 May 27 13:06 go.sum 13:09:25 drwxrwxr-x 2 jenkins jenkins 4096 May 27 13:06 images 13:09:25 drwxrwxr-x 4 jenkins jenkins 4096 May 27 13:06 internal 13:09:25 -rw-rw-r-- 1 jenkins jenkins 531 May 27 13:06 main.go 13:09:25 drwxrwxr-x 3 jenkins jenkins 4096 May 27 13:06 openapi 13:09:25 drwxrwxr-x 2 jenkins jenkins 4096 May 27 13:06 res 13:09:25 drwxrwxr-x 3 jenkins jenkins 4096 May 27 13:06 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:25 + 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=1c33cb7ecbd52e54b44a0276a9bd431dc301a38b --label arch=amd64 --label version=0.0.0 . 13:09:25 Sending build context to Docker daemon 20.02MB 13:09:25 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:09:25 Step 2/30 : FROM ${BASE} AS builder 13:09:25 ---> ef63244d892f 13:09:25 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:09:26 ---> Running in 38ed91c051fd 13:09:26 Removing intermediate container 38ed91c051fd 13:09:26 ---> f600c0f6cd16 13:09:26 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:09:26 ---> Running in a6b41ef722cb 13:09:26 Removing intermediate container a6b41ef722cb 13:09:26 ---> 3d70e9c25175 13:09:26 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:09:26 ---> Running in ebc3e2bbd5ff 13:09:26 Removing intermediate container ebc3e2bbd5ff 13:09:26 ---> 364e0ecd0842 13:09:26 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:09:26 ---> Running in 99a724d6f252 13:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:09:26 OK: 264 MiB in 52 packages 13:09:27 Removing intermediate container 99a724d6f252 13:09:27 ---> 3140b9430d98 13:09:27 Step 7/30 : WORKDIR /app 13:09:27 ---> Running in 66632cb24887 13:09:27 Removing intermediate container 66632cb24887 13:09:27 ---> 126db767075c 13:09:27 Step 8/30 : COPY go.mod vendor* ./ 13:09:27 ---> 96507e61f974 13:09:27 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:09:27 ---> Running in cce18ff0b85e 13:09:27 Removing intermediate container cce18ff0b85e 13:09:27 ---> 46a559e75f1e 13:09:27 Step 10/30 : COPY . . 13:09:28 ---> 15bfa3c6fac0 13:09:28 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:09:28 ---> Running in 8bf303e3e08a 13:09:28 Removing intermediate container 8bf303e3e08a 13:09:28 ---> b2d31e87d451 13:09:28 Step 12/30 : RUN $MAKE 13:09:28 ---> Running in 33b3c0f69f8b 13:09:29 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.36 -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:10:01 Removing intermediate container 33b3c0f69f8b 13:10:01 ---> 7fe7da712e9c 13:10:01 Step 13/30 : FROM alpine:3.18 13:10:01 3.18: Pulling from library/alpine 13:10:01 619be1103602: Already exists 13:10:01 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:10:01 Status: Downloaded newer image for alpine:3.18 13:10:01 ---> d3782b16ccc9 13:10:01 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:10:01 ---> Running in 82ecb82ede80 13:10:01 Removing intermediate container 82ecb82ede80 13:10:01 ---> 4f15e54f25ae 13:10:01 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:10:01 ---> Running in f97e1b1c7b03 13:10:01 Removing intermediate container f97e1b1c7b03 13:10:01 ---> 261ab7449490 13:10:01 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:10:01 ---> Running in 08aec7017355 13:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:10:01 (1/2) Installing ca-certificates (20240226-r0) 13:10:01 (2/2) Installing dumb-init (1.2.5-r2) 13:10:01 Executing busybox-1.36.1-r5.trigger 13:10:01 Executing ca-certificates-20240226-r0.trigger 13:10:01 OK: 8 MiB in 17 packages 13:10:02 Removing intermediate container 08aec7017355 13:10:02 ---> fc2ede4b445f 13:10:02 Step 17/30 : RUN apk --no-cache upgrade 13:10:02 ---> Running in 12bc46fc6851 13:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:10:02 Upgrading critical system libraries and apk-tools: 13:10:02 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:10:02 Executing busybox-1.36.1-r5.trigger 13:10:02 Continuing the upgrade transaction with new apk-tools: 13:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:10:02 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 13:10:02 Executing busybox-1.36.1-r6.post-upgrade 13:10:02 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 13:10:02 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:10:02 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 13:10:02 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 13:10:03 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 13:10:03 Executing busybox-1.36.1-r6.trigger 13:10:03 Executing ca-certificates-20240226-r0.trigger 13:10:03 OK: 8 MiB in 17 packages 13:10:03 Removing intermediate container 12bc46fc6851 13:10:03 ---> 2ea1e3e9678e 13:10:03 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:03 ---> 2255ec8986a4 13:10:03 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:10:03 ---> d17cacc80f1e 13:10:03 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:10:03 ---> 1af4b17917b3 13:10:03 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:10:03 ---> 544a573a2f98 13:10:03 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:10:04 ---> 6c98d2144556 13:10:04 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:10:04 ---> Running in 6ea076d15b77 13:10:05 Removing intermediate container 6ea076d15b77 13:10:05 ---> ea8ddbb48772 13:10:05 Step 24/30 : VOLUME /cache 13:10:05 ---> Running in 6f2bf86b504c 13:10:05 Removing intermediate container 6f2bf86b504c 13:10:05 ---> ae0d3d5ef900 13:10:05 Step 25/30 : EXPOSE 59711 13:10:05 ---> Running in 907840fb113a 13:10:05 Removing intermediate container 907840fb113a 13:10:05 ---> 799e7726877e 13:10:05 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:10:05 ---> Running in a2bfb2582e12 13:10:06 Removing intermediate container a2bfb2582e12 13:10:06 ---> d223285b1889 13:10:06 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:10:06 ---> Running in 69d8a4a1b822 13:10:06 Removing intermediate container 69d8a4a1b822 13:10:06 ---> 0186a0358669 13:10:06 Step 28/30 : LABEL arch=amd64 13:10:06 ---> Running in a16c2fce826d 13:10:06 Removing intermediate container a16c2fce826d 13:10:06 ---> 47904e44ef4e 13:10:06 Step 29/30 : LABEL git_sha=1c33cb7ecbd52e54b44a0276a9bd431dc301a38b 13:10:06 ---> Running in 10d9027cca76 13:10:06 Removing intermediate container 10d9027cca76 13:10:06 ---> 4f662600881f 13:10:06 Step 30/30 : LABEL version=0.0.0 13:10:06 ---> Running in 92055d33cb36 13:10:06 Removing intermediate container 92055d33cb36 13:10:06 ---> 2d4d72728691 13:10:06 [Warning] One or more build-args [ARCH] were not consumed 13:10:06 Successfully built 2d4d72728691 13:10:06 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:07 13:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:07 latest: Pulling from edgex-lftools-log-publisher 13:10:07 5eb5b503b376: Pulling fs layer 13:10:07 5c69ac0246d0: Pulling fs layer 13:10:07 ec43610c2a17: Pulling fs layer 13:10:07 3a2ae6a8a46f: Pulling fs layer 13:10:07 33b1e0a273af: Pulling fs layer 13:10:07 5d3b04190fa2: Pulling fs layer 13:10:07 2f39f015ded8: Pulling fs layer 13:10:07 3a2ae6a8a46f: Waiting 13:10:07 33b1e0a273af: Waiting 13:10:07 2f39f015ded8: Waiting 13:10:07 5d3b04190fa2: Waiting 13:10:07 5c69ac0246d0: Verifying Checksum 13:10:07 5c69ac0246d0: Download complete 13:10:07 3a2ae6a8a46f: Verifying Checksum 13:10:07 3a2ae6a8a46f: Download complete 13:10:07 33b1e0a273af: Verifying Checksum 13:10:07 33b1e0a273af: Download complete 13:10:07 ec43610c2a17: Verifying Checksum 13:10:07 ec43610c2a17: Download complete 13:10:07 5d3b04190fa2: Verifying Checksum 13:10:07 5d3b04190fa2: Download complete 13:10:08 5eb5b503b376: Verifying Checksum 13:10:08 5eb5b503b376: Download complete 13:10:08 2f39f015ded8: Download complete 13:10:09 5eb5b503b376: Pull complete 13:10:09 5c69ac0246d0: Pull complete 13:10:09 ec43610c2a17: Pull complete 13:10:09 3a2ae6a8a46f: Pull complete 13:10:10 33b1e0a273af: Pull complete 13:10:10 5d3b04190fa2: Pull complete 13:10:14 2f39f015ded8: Pull complete 13:10:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:10:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:14 prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container 13:10:14 $ 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-290 -v /w/workspace/y_app-rfid-llrp-inventory_PR-290:/w/workspace/y_app-rfid-llrp-inventory_PR-290:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-290@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:10:19 $ docker top 3e956dcc1b7f71309c8aa5684a0df4fca06063aff19919a4b3051ef703f57860 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:20 ---> job-cost.sh 13:10:20 lf-activate-venv: SKIPPING 13:10:20 INFO: No Stack... 13:10:20 INFO: Retrieving Pricing Info for: v3-standard-8 13:10:20 INFO: Archiving Costs [Pipeline] sh 13:10:20 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-290/archives/cost.csv 13:10:20 + cut -d, -f6 [Pipeline] lock 13:10:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-290-1-stack-cost] 13:10:21 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-290-1-stack-cost] did not exist. Created. 13:10:21 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-290-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:10:21 + echo total: 0.2199999988079071 [Pipeline] stash 13:10:21 Stashed 1 file(s) [Pipeline] } 13:10:21 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-290-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:10:21 $ docker stop --time=1 3e956dcc1b7f71309c8aa5684a0df4fca06063aff19919a4b3051ef703f57860 13:10:22 $ docker rm -f --volumes 3e956dcc1b7f71309c8aa5684a0df4fca06063aff19919a4b3051ef703f57860 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:10:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-862 in /w/workspace/y_app-rfid-llrp-inventory_PR-290 [Pipeline] { [Pipeline] ws 13:10:57 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:10:57 The recommended git tool is: git 13:11:02 using credential edgex-jenkins-ssh 13:11:02 Cloning the remote Git repository 13:11:02 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:11:02 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:11:02 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:11:02 > git --version # timeout=10 13:11:02 > git --version # 'git version 2.25.1' 13:11:02 using GIT_SSH to set credentials SSH Credentials for GitHub 13:11:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:11:06 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:11:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:11:07 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:11:07 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:11:07 using GIT_SSH to set credentials SSH Credentials for GitHub 13:11:07 Merging remotes/origin/main commit 5b4415030ab3c0da7e927d10f7674bfb96f8b020 into PR head commit 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b 13:11:08 Merge succeeded, producing 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b 13:11:08 Checking out Revision 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b (PR-290) 13:11:08 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:11:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:11:08 > git config core.sparsecheckout # timeout=10 13:11:08 > git checkout -f 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b # timeout=10 13:11:08 > git remote # timeout=10 13:11:08 > git config --get remote.origin.url # timeout=10 13:11:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:11:08 > git merge 5b4415030ab3c0da7e927d10f7674bfb96f8b020 # timeout=10 13:11:08 > git rev-parse HEAD^{commit} # timeout=10 13:11:08 > git config core.sparsecheckout # timeout=10 13:11:08 > git checkout -f 1c33cb7ecbd52e54b44a0276a9bd431dc301a38b # timeout=10 13:11:08 > git --version # timeout=10 13:11:08 > git --version # 'git version 2.25.1' 13:11:09 fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:11:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:11:13 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:13 Dload Upload Total Spent Left Speed 13:11:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 13:11:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:11:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:11:14 + sudo tee /etc/docker/daemon.new 13:11:14 { 13:11:14 "registry-mirrors": [ 13:11:14 "https://nexus3.edgexfoundry.org:10001" 13:11:14 ], 13:11:14 "bip": "10.250.0.254/24", 13:11:14 "hosts": [ 13:11:14 "tcp://0.0.0.0:5555", 13:11:14 "unix:///var/run/docker.sock" 13:11:14 ], 13:11:14 "mtu": 1458, 13:11:14 "selinux-enabled": true, 13:11:14 "seccomp-profile": "/etc/docker/seccomp.json" 13:11:14 } [Pipeline] sh 13:11:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:11:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:33 provisioning config files... 13:11:33 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config15231500775589688350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:34 ---> ****-login.sh 13:11:34 nexus3.edgexfoundry.org:10001 13:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:11:34 Configure a credential helper to remove this warning. See 13:11:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:11:34 13:11:34 Login Succeeded 13:11:34 nexus3.edgexfoundry.org:10002 13:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:11:35 Configure a credential helper to remove this warning. See 13:11:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:11:35 13:11:35 Login Succeeded 13:11:35 nexus3.edgexfoundry.org:10003 13:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:11:35 Configure a credential helper to remove this warning. See 13:11:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:11:35 13:11:35 Login Succeeded 13:11:35 nexus3.edgexfoundry.org:10004 13:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:11:35 Configure a credential helper to remove this warning. See 13:11:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:11:35 13:11:35 Login Succeeded 13:11:35 ****.io 13:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:11:36 Configure a credential helper to remove this warning. See 13:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:11:36 13:11:36 Login Succeeded 13:11:36 ---> ****-login.sh ends [Pipeline] } 13:11:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:11:37 ========================================================= 13:11:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:11:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:38 + 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:11:38 Sending build context to Docker daemon 673.8kB 13:11:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:11:38 Step 2/12 : FROM ${BASE} AS builder 13:11:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:11:38 c6b39de5b339: Pulling fs layer 13:11:38 a69c41024577: Pulling fs layer 13:11:38 d6de4b400683: Pulling fs layer 13:11:38 35cb2a7552d0: Pulling fs layer 13:11:38 4f4fb700ef54: Pulling fs layer 13:11:38 464afbd9ba4c: Pulling fs layer 13:11:38 00f215d4a9da: Pulling fs layer 13:11:38 d496ad576159: Pulling fs layer 13:11:38 35cb2a7552d0: Waiting 13:11:38 4f4fb700ef54: Waiting 13:11:38 464afbd9ba4c: Waiting 13:11:38 00f215d4a9da: Waiting 13:11:38 d496ad576159: Waiting 13:11:38 a69c41024577: Verifying Checksum 13:11:38 a69c41024577: Download complete 13:11:38 35cb2a7552d0: Verifying Checksum 13:11:38 35cb2a7552d0: Download complete 13:11:38 4f4fb700ef54: Verifying Checksum 13:11:38 4f4fb700ef54: Download complete 13:11:38 464afbd9ba4c: Verifying Checksum 13:11:38 464afbd9ba4c: Download complete 13:11:38 c6b39de5b339: Verifying Checksum 13:11:38 c6b39de5b339: Download complete 13:11:38 d496ad576159: Verifying Checksum 13:11:38 d496ad576159: Download complete 13:11:39 c6b39de5b339: Pull complete 13:11:40 a69c41024577: Pull complete 13:11:40 d6de4b400683: Download complete 13:11:41 00f215d4a9da: Verifying Checksum 13:11:41 00f215d4a9da: Download complete 13:11:53 d6de4b400683: Pull complete 13:11:53 35cb2a7552d0: Pull complete 13:11:53 4f4fb700ef54: Pull complete 13:11:53 464afbd9ba4c: Pull complete 13:12:01 00f215d4a9da: Pull complete 13:12:03 d496ad576159: Pull complete 13:12:03 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 13:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:12:03 ---> f246e2811388 13:12:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:12:05 ---> Running in 2bc8a70eee2e 13:12:05 Removing intermediate container 2bc8a70eee2e 13:12:05 ---> f8593735bbb4 13:12:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:12:05 ---> Running in 606a368873d5 13:12:05 Removing intermediate container 606a368873d5 13:12:05 ---> a1166afd011d 13:12:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:12:05 ---> Running in 74345dc6d741 13:12:05 Removing intermediate container 74345dc6d741 13:12:05 ---> 9d36d40e4f74 13:12:05 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:12:05 ---> Running in 3a17ac8fc59d 13:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:12:08 OK: 266 MiB in 52 packages 13:12:09 Removing intermediate container 3a17ac8fc59d 13:12:09 ---> 3c477e82856d 13:12:09 Step 7/12 : WORKDIR /app 13:12:09 ---> Running in 4b75af5c889b 13:12:09 Removing intermediate container 4b75af5c889b 13:12:09 ---> 0c47957345e2 13:12:09 Step 8/12 : COPY go.mod vendor* ./ 13:12:09 ---> 11bdebb7f5a6 13:12:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:10 ---> Running in a17f983d7c16 13:14:01 Removing intermediate container a17f983d7c16 13:14:01 ---> ebad64da5de2 13:14:01 Step 10/12 : COPY . . 13:14:01 ---> 2e783447b4a8 13:14:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:14:01 ---> Running in b903b9638e9f 13:14:01 Removing intermediate container b903b9638e9f 13:14:01 ---> 359cb540854e 13:14:01 Step 12/12 : RUN $MAKE 13:14:01 ---> Running in 8e8c9c6c8f0f 13:14:01 noop 13:14:01 Removing intermediate container 8e8c9c6c8f0f 13:14:01 ---> 5c2eb8ee8998 13:14:01 Successfully built 5c2eb8ee8998 13:14:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:02 + docker inspect -f . ci-base-image-arm64 13:14:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:02 prd-ubuntu20.04-docker-arm64-4c-16g-862 does not seem to be running inside a container 13:14:02 $ 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 ******** ci-base-image-arm64 cat 13:14:04 $ docker top c9094c0c026abc669f625ce8f79cd22e6ce3f7ebbf4694dbc73014adca728701 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:04 + go version 13:14:04 go version go1.21.9 linux/arm64 [Pipeline] } 13:14:04 $ docker stop --time=1 c9094c0c026abc669f625ce8f79cd22e6ce3f7ebbf4694dbc73014adca728701 13:14:06 $ docker rm -f --volumes c9094c0c026abc669f625ce8f79cd22e6ce3f7ebbf4694dbc73014adca728701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:07 + docker inspect -f . ci-base-image-arm64 13:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:07 prd-ubuntu20.04-docker-arm64-4c-16g-862 does not seem to be running inside a container 13:14:07 $ 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 ******** ci-base-image-arm64 cat 13:14:09 $ docker top 7f038b9f0391875fccf38e51daba514d4ff794c57cd14be92ed2fd5baf2a0743 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:09 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:14:10 + make test 13:14:10 go test -race ./... -coverprofile=coverage.out ./... 13:18:17 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:18:17 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:18:17 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.042s coverage: 86.2% of statements 13:18:24 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.426s coverage: 71.9% of statements 13:18:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:18:25 go vet ./... 13:22:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:22:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:22:01 ./bin/test-attribution.sh 13:22:01 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:22:01 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:22:02 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:22:02 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:22:02 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:22:02 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:22:02 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:22:02 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:22:02 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:22:02 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:22:02 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:22:02 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:22:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:22:02 $ docker stop --time=1 7f038b9f0391875fccf38e51daba514d4ff794c57cd14be92ed2fd5baf2a0743 13:22:04 $ docker rm -f --volumes 7f038b9f0391875fccf38e51daba514d4ff794c57cd14be92ed2fd5baf2a0743 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:22:06 Warning: overwriting stash ‘coverage-report’ 13:22:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:22:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:22:08 + ls -al . 13:22:08 total 272 13:22:08 drwxrwxr-x 10 jenkins jenkins 4096 May 27 13:14 . 13:22:08 drwxrwxr-x 4 jenkins jenkins 4096 May 27 13:11 .. 13:22:08 -rw-rw-r-- 1 jenkins jenkins 262 May 27 13:11 .dockerignore 13:22:08 drwxrwxr-x 8 jenkins jenkins 4096 May 27 13:11 .git 13:22:08 drwxrwxr-x 3 jenkins jenkins 4096 May 27 13:11 .github 13:22:08 -rw-rw-r-- 1 jenkins jenkins 773 May 27 13:11 .gitignore 13:22:08 -rw-rw-r-- 1 jenkins jenkins 41 May 27 13:11 .golangci.yml 13:22:08 -rw-rw-r-- 1 jenkins jenkins 10232 May 27 13:11 Attribution.txt 13:22:08 -rw-rw-r-- 1 jenkins jenkins 11245 May 27 13:11 CHANGELOG.md 13:22:08 -rw-rw-r-- 1 jenkins jenkins 1768 May 27 13:11 Dockerfile 13:22:08 -rw-rw-r-- 1 jenkins jenkins 677 May 27 13:11 GOVERNANCE.md 13:22:08 -rw-rw-r-- 1 jenkins jenkins 665 May 27 13:11 Jenkinsfile 13:22:08 -rw-rw-r-- 1 jenkins jenkins 11347 May 27 13:11 LICENSE 13:22:08 -rw-rw-r-- 1 jenkins jenkins 2503 May 27 13:11 Makefile 13:22:08 -rw-rw-r-- 1 jenkins jenkins 617 May 27 13:11 OWNERS.md 13:22:08 -rw-rw-r-- 1 jenkins jenkins 3851 May 27 13:11 README.md 13:22:08 -rw-rw-r-- 1 jenkins jenkins 5 May 27 13:07 VERSION 13:22:08 drwxrwxr-x 2 jenkins jenkins 4096 May 27 13:11 bin 13:22:08 -rw-r--r-- 1 jenkins jenkins 41317 May 27 13:18 coverage.out 13:22:08 -rw-rw-r-- 1 jenkins jenkins 7349 May 27 13:11 go.mod 13:22:08 -rw-rw-r-- 1 jenkins jenkins 102020 May 27 13:11 go.sum 13:22:08 drwxrwxr-x 2 jenkins jenkins 4096 May 27 13:11 images 13:22:08 drwxrwxr-x 4 jenkins jenkins 4096 May 27 13:11 internal 13:22:08 -rw-rw-r-- 1 jenkins jenkins 531 May 27 13:11 main.go 13:22:08 drwxrwxr-x 3 jenkins jenkins 4096 May 27 13:11 openapi 13:22:08 drwxrwxr-x 2 jenkins jenkins 4096 May 27 13:11 res 13:22:08 drwxrwxr-x 3 jenkins jenkins 4096 May 27 13:11 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:08 + 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=1c33cb7ecbd52e54b44a0276a9bd431dc301a38b --label arch=arm64 --label version=0.0.0 . 13:22:09 Sending build context to Docker daemon 673.8kB 13:22:09 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:22:09 Step 2/30 : FROM ${BASE} AS builder 13:22:09 ---> 5c2eb8ee8998 13:22:09 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:22:09 ---> Running in 5161bf4026d7 13:22:09 Removing intermediate container 5161bf4026d7 13:22:09 ---> 4a60fdca122d 13:22:09 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:22:09 ---> Running in b88d93d16c89 13:22:09 Removing intermediate container b88d93d16c89 13:22:09 ---> 4b1b9d95a46c 13:22:09 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:22:09 ---> Running in 01f45fbc9df6 13:22:10 Removing intermediate container 01f45fbc9df6 13:22:10 ---> 1f20e185740d 13:22:10 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:22:10 ---> Running in cd64d29a093f 13:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:22:12 OK: 266 MiB in 52 packages 13:22:13 Removing intermediate container cd64d29a093f 13:22:13 ---> 92277b721bb4 13:22:13 Step 7/30 : WORKDIR /app 13:22:13 ---> Running in 0d25060f127c 13:22:13 Removing intermediate container 0d25060f127c 13:22:13 ---> 1416e38a3c2e 13:22:13 Step 8/30 : COPY go.mod vendor* ./ 13:22:14 ---> 23e54f4c54d7 13:22:14 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:14 ---> Running in fc3dbdd75cad 13:22:16 Removing intermediate container fc3dbdd75cad 13:22:16 ---> fb0a93aa85c2 13:22:16 Step 10/30 : COPY . . 13:22:17 ---> 9d9339fe1d7f 13:22:17 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:17 ---> Running in 2393cac73de3 13:22:17 Removing intermediate container 2393cac73de3 13:22:17 ---> aba3c538c3b6 13:22:17 Step 12/30 : RUN $MAKE 13:22:17 ---> Running in 45748b6a5ff3 13:22:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.36 -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:25:40 Removing intermediate container 45748b6a5ff3 13:25:40 ---> 0e94e2e0bfe3 13:25:40 Step 13/30 : FROM alpine:3.18 13:25:40 3.18: Pulling from library/alpine 13:25:40 c6b39de5b339: Already exists 13:25:40 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:25:40 Status: Downloaded newer image for alpine:3.18 13:25:40 ---> 33abbf032149 13:25:40 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:25:40 ---> Running in bfa7d780a3b0 13:25:40 Removing intermediate container bfa7d780a3b0 13:25:40 ---> c0cd6bf32a26 13:25:40 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:25:40 ---> Running in fb5e4e005144 13:25:40 Removing intermediate container fb5e4e005144 13:25:40 ---> 1fd988e2e6a5 13:25:40 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:25:40 ---> Running in 60d219ffef15 13:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:25:40 (1/2) Installing ca-certificates (20240226-r0) 13:25:40 (2/2) Installing dumb-init (1.2.5-r2) 13:25:40 Executing busybox-1.36.1-r5.trigger 13:25:40 Executing ca-certificates-20240226-r0.trigger 13:25:40 OK: 9 MiB in 17 packages 13:25:41 Removing intermediate container 60d219ffef15 13:25:41 ---> 8d675bb080e8 13:25:41 Step 17/30 : RUN apk --no-cache upgrade 13:25:41 ---> Running in 3176d988a2f3 13:25:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:25:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:25:43 Upgrading critical system libraries and apk-tools: 13:25:43 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:25:43 Executing busybox-1.36.1-r5.trigger 13:25:43 Continuing the upgrade transaction with new apk-tools: 13:25:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:25:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:25:45 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 13:25:45 Executing busybox-1.36.1-r6.post-upgrade 13:25:45 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 13:25:45 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:25:45 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 13:25:45 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 13:25:45 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 13:25:45 Executing busybox-1.36.1-r6.trigger 13:25:45 Executing ca-certificates-20240226-r0.trigger 13:25:45 OK: 9 MiB in 17 packages 13:25:46 Removing intermediate container 3176d988a2f3 13:25:46 ---> 389e6fdc6dca 13:25:46 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:25:47 ---> ae1b54753567 13:25:47 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:25:47 ---> cc62993f2753 13:25:47 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:25:48 ---> 5e3e0e3c27f3 13:25:48 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:25:48 ---> b54d86684933 13:25:48 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:25:50 ---> 580723ba2688 13:25:50 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:25:50 ---> Running in d12cf1aa5dc9 13:25:52 Removing intermediate container d12cf1aa5dc9 13:25:52 ---> 193b05286f2b 13:25:52 Step 24/30 : VOLUME /cache 13:25:52 ---> Running in 67579292d514 13:25:52 Removing intermediate container 67579292d514 13:25:52 ---> 89dc0f8e07a2 13:25:52 Step 25/30 : EXPOSE 59711 13:25:52 ---> Running in ef48470d5fe2 13:25:52 Removing intermediate container ef48470d5fe2 13:25:52 ---> 7d362c48e6d3 13:25:52 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:25:52 ---> Running in 5184bc7ac2e6 13:25:53 Removing intermediate container 5184bc7ac2e6 13:25:53 ---> 80a5a2c2c049 13:25:53 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:25:53 ---> Running in 3f0864a81f4f 13:25:53 Removing intermediate container 3f0864a81f4f 13:25:53 ---> b42db6a1feb4 13:25:53 Step 28/30 : LABEL arch=arm64 13:25:53 ---> Running in b16335f68f3c 13:25:53 Removing intermediate container b16335f68f3c 13:25:53 ---> 39cebabb8398 13:25:53 Step 29/30 : LABEL git_sha=1c33cb7ecbd52e54b44a0276a9bd431dc301a38b 13:25:53 ---> Running in 95de7f4bf705 13:25:54 Removing intermediate container 95de7f4bf705 13:25:54 ---> 1f5408343656 13:25:54 Step 30/30 : LABEL version=0.0.0 13:25:54 ---> Running in e9cfcfcce8c6 13:25:54 Removing intermediate container e9cfcfcce8c6 13:25:54 ---> dda48ebb7030 13:25:54 [Warning] One or more build-args [ARCH] were not consumed 13:25:54 Successfully built dda48ebb7030 13:25:54 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:25:55 13:25:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:25:56 arm64: Pulling from edgex-lftools-log-publisher 13:25:56 8998bd30e6a1: Pulling fs layer 13:25:56 04944245beec: Pulling fs layer 13:25:56 699f458cf7ca: Pulling fs layer 13:25:56 765212b225bb: Pulling fs layer 13:25:56 f23df028b6ca: Pulling fs layer 13:25:56 d65c8cfc05b1: Pulling fs layer 13:25:56 2437ff75d9bd: Pulling fs layer 13:25:56 f23df028b6ca: Waiting 13:25:56 d65c8cfc05b1: Waiting 13:25:56 765212b225bb: Waiting 13:25:56 2437ff75d9bd: Waiting 13:25:56 04944245beec: Verifying Checksum 13:25:56 04944245beec: Download complete 13:25:56 765212b225bb: Verifying Checksum 13:25:56 765212b225bb: Download complete 13:25:56 f23df028b6ca: Verifying Checksum 13:25:56 f23df028b6ca: Download complete 13:25:56 d65c8cfc05b1: Verifying Checksum 13:25:56 d65c8cfc05b1: Download complete 13:25:56 699f458cf7ca: Verifying Checksum 13:25:56 699f458cf7ca: Download complete 13:25:57 8998bd30e6a1: Verifying Checksum 13:25:57 8998bd30e6a1: Download complete 13:25:59 2437ff75d9bd: Verifying Checksum 13:25:59 2437ff75d9bd: Download complete 13:26:01 8998bd30e6a1: Pull complete 13:26:02 04944245beec: Pull complete 13:26:03 699f458cf7ca: Pull complete 13:26:03 765212b225bb: Pull complete 13:26:04 f23df028b6ca: Pull complete 13:26:05 d65c8cfc05b1: Pull complete 13:26:23 2437ff75d9bd: Pull complete 13:26:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:26:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:23 prd-ubuntu20.04-docker-arm64-4c-16g-862 does not seem to be running inside a container 13:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:26:26 $ docker top f478734d0f16515ed9be7c4e3de25373971f29dfea444bdb07c1e6dbcf77653a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:27 ---> job-cost.sh 13:26:27 lf-activate-venv: SKIPPING 13:26:27 INFO: No Stack... 13:26:27 INFO: Retrieving Pricing Info for: v3-standard-4 13:26:28 INFO: Archiving Costs [Pipeline] sh 13:26:29 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:26:29 + cut -d, -f6 [Pipeline] lock 13:26:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-290-1-stack-cost] 13:26:29 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-290-1-stack-cost] did not exist. Created. 13:26:29 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-290-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:26:29 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-f53c5b93/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:26:30 + echo total: 0.10999999940395355 [Pipeline] stash 13:26:30 Warning: overwriting stash ‘stack-cost’ 13:26:30 Stashed 1 file(s) [Pipeline] } 13:26:30 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-290-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:26:30 $ docker stop --time=1 f478734d0f16515ed9be7c4e3de25373971f29dfea444bdb07c1e6dbcf77653a 13:26:32 $ docker rm -f --volumes f478734d0f16515ed9be7c4e3de25373971f29dfea444bdb07c1e6dbcf77653a [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:26:33 provisioning config files... 13:26:33 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp/config8360121790002699261tmp [Pipeline] { [Pipeline] sh 13:26:33 + set +x 13:26:33 + bash -s -- 13:26:33 + curl -s https://codecov.io/bash 13:26:33 13:26:33 _____ _ 13:26:33 / ____| | | 13:26:33 | | ___ __| | ___ ___ _____ __ 13:26:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:26:33 | |___| (_) | (_| | __/ (_| (_) \ V / 13:26:33 \_____\___/ \__,_|\___|\___\___/ \_/ 13:26:33 Bash-1.0.6 13:26:33 13:26:33 13:26:33 ==> git version 2.25.1 found 13:26:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:26:33 Release-Date: 2020-01-08 13:26:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:26:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:26:33 ==> Jenkins CI detected. 13:26:33 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-290 13:26:33 project root: . 13:26:33 --> token set from env 13:26:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:26:33 ==> Running gcov in . (disable via -X gcov) 13:26:33 ==> Python coveragepy not found 13:26:33 ==> Searching for coverage reports in: 13:26:33 + . 13:26:33 -> Found 1 reports 13:26:33 ==> Detecting git/mercurial file structure 13:26:33 ==> Reading reports 13:26:33 + ./coverage.out bytes=41317 13:26:33 ==> Appending adjustments 13:26:33 https://docs.codecov.io/docs/fixing-reports 13:26:34 + Found adjustments 13:26:34 ==> Gzipping contents 13:26:34 12K /tmp/codecov.SVDlzn.gz 13:26:34 ==> Uploading reports 13:26:34 url: https://codecov.io 13:26:34 query: branch=PR-290&commit=1c33cb7ecbd52e54b44a0276a9bd431dc301a38b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-290%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=290&job=&cmd_args= 13:26:34 -> Pinging Codecov 13:26:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-290&commit=1c33cb7ecbd52e54b44a0276a9bd431dc301a38b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-290%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=290&job=&cmd_args= 13:26:34 -> Uploading to 13:26:34 https://storage.googleapis.com/codecov/v4/raw/2024-05-27/581DD39554BDF9B6E22D074273EAD858/1c33cb7ecbd52e54b44a0276a9bd431dc301a38b/e688ae4f-9ea5-4949-9a8b-7dd9f251bbed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T132634Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12c28d763ff670ba71f51433db2270fbe277c2a64bcec9e347925881b8e21354 13:26:34 % Total % Received % Xferd Average Speed Time Time Time Current 13:26:34 Dload Upload Total Spent Left Speed 13:26:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11610 0 0 100 11610 0 47777 --:--:-- --:--:-- --:--:-- 47777 13:26:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/1c33cb7ecbd52e54b44a0276a9bd431dc301a38b [Pipeline] } 13:26:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] 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:26:36 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-290/archives ] 13:26:36 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-290/archives 13:26:36 total 16 13:26:36 drwxr-xr-x 3 root root 4096 May 27 13:10 . 13:26:36 drwxrwxr-x 12 jenkins jenkins 4096 May 27 13:10 .. 13:26:36 drwxr-xr-x 2 root root 4096 May 27 13:10 cost 13:26:36 -rw-r--r-- 1 root root 95 May 27 13:10 cost.csv 13:26:36 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-290/archives 13:26:36 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-290/archives 13:26:36 total 16 13:26:36 drwxr-xr-x 3 jenkins jenkins 4096 May 27 13:10 . 13:26:36 drwxrwxr-x 12 jenkins jenkins 4096 May 27 13:10 .. 13:26:36 drwxr-xr-x 2 jenkins jenkins 4096 May 27 13:10 cost 13:26:36 -rw-r--r-- 1 jenkins jenkins 95 May 27 13:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:26:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:26:38 ---> package-listing.sh 13:26:38 ++ facter osfamily 13:26:38 ++ tr '[:upper:]' '[:lower:]' 13:26:38 + OS_FAMILY=debian 13:26:38 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-290 13:26:38 + START_PACKAGES=/tmp/packages_start.txt 13:26:38 + END_PACKAGES=/tmp/packages_end.txt 13:26:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:26:38 + PACKAGES=/tmp/packages_start.txt 13:26:38 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-290 ']' 13:26:38 + PACKAGES=/tmp/packages_end.txt 13:26:38 + case "${OS_FAMILY}" in 13:26:38 + dpkg -l 13:26:38 + grep '^ii' 13:26:38 + '[' -f /tmp/packages_start.txt ']' 13:26:38 + '[' -f /tmp/packages_end.txt ']' 13:26:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:26:38 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-290 ']' 13:26:38 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-290/archives/ 13:26:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-290/archives/ [Pipeline] echo 13:26:38 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-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:26:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:26:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:39 prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container 13:26:39 $ 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-290/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-290 -v /w/workspace/y_app-rfid-llrp-inventory_PR-290:/w/workspace/y_app-rfid-llrp-inventory_PR-290:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-290@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:26:40 $ docker top 4aa8bbbfa03be3f70ea6cd69e49172f26040be7093e93920eabc040b02c65ffd -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:40 + touch /tmp/pre-build-complete [Pipeline] sh 13:26:40 + mkdir -p /var/log/sysstat [Pipeline] sh 13:26:41 + ls /var/log/sa-host 13:26:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:26:41 provisioning config files... 13:26:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-290@tmp/config11112371493095183622tmp [Pipeline] { [Pipeline] echo 13:26:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:26:41 ---> create-netrc.sh [Pipeline] } 13:26:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:26:42 ---> python-tools-install.sh [Pipeline] echo 13:26:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:26:42 ---> sudo-logs.sh 13:26:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:26:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:26:43 ---> job-cost.sh 13:26:43 lf-activate-venv: SKIPPING 13:26:43 DEBUG: total: 0.2199999988079071 13:26:43 INFO: Retrieving Stack Cost... 13:26:43 INFO: Retrieving Pricing Info for: v3-standard-8 13:26:43 INFO: Archiving Costs [Pipeline] echo 13:26:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:26:44 ---> logs-deploy.sh 13:26:44 lf-activate-venv: SKIPPING 13:26:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-290/1 13:26:44 INFO: archiving workspace using pattern(s): 13:26:45 Archives upload complete. 13:26:45 INFO: archiving logs to Nexus