Pull request #98 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from fc81389db2b18c23a770aa80de1d99eb94944553+ccdb054e5d16bd529c2fd15a52524dce2c381cd1 (a55bbfab3cdabb7d269f346c911b4c1928414449) Loading library edgex-global-pipelines@c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 Attempting to resolve c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 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-ssh12212146165984322787.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Could not find c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 in remote references. Pulling heads to local for deep search... > 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-ssh8955697977245522773.key > git fetch --tags --progress -- origin +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 # timeout=10 Selected match: pr/405/merge revision c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-98/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching without tags 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-98/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10209371523834131598.key > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 (pr/405/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 # timeout=10 Commit message: "ci: add privileged to fix issues with Go 1.18 and AppArmor" > 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 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-ssh15799688749858638004.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-98/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-98/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13259114781973406562.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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, buildSnap:false] ========================================================= [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.18 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-19354’ Running on prd-ubuntu20.04-docker-8c-8g-19357 in /w/workspace/ry_app-rfid-llrp-inventory_PR-98 [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/ry_app-rfid-llrp-inventory_PR-98 # 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 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 into PR head commit fc81389db2b18c23a770aa80de1d99eb94944553 Merge succeeded, producing fc81389db2b18c23a770aa80de1d99eb94944553 Checking out Revision fc81389db2b18c23a770aa80de1d99eb94944553 (PR-98) > 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/98/head:refs/remotes/origin/PR-98 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc81389db2b18c23a770aa80de1d99eb94944553 # 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 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc81389db2b18c23a770aa80de1d99eb94944553 # timeout=10 Commit message: "pin to epg AppArmor fix" First time build. Skipping changelog. > git rev-list --no-walk 0173ae16e4355669cdd758204846f096f9228d18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:57:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:57:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:57:58 ========================================================= 20:57:58 EdgeX Global Pipelines Version Info 20:57:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:57:58 ------------------- 20:57:58 stable info: 20:57:58 ------------------- 20:57:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:57:58 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 20:57:58 Message: update stable to v1.0.236 20:57:59 ------------------- 20:57:59 experimental info: 20:57:59 ------------------- 20:57:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:57:59 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 20:57:59 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-98 [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-98 [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-98 [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] echo 20:57:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc81389 [Pipeline] echo 20:58:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:00 provisioning config files... 20:58:00 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/config2981131193391875436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:00 ---> docker-login.sh 20:58:00 nexus3.edgexfoundry.org:10001 20:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:00 Configure a credential helper to remove this warning. See 20:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:00 20:58:00 Login Succeeded 20:58:00 nexus3.edgexfoundry.org:10002 20:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:00 Configure a credential helper to remove this warning. See 20:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:00 20:58:00 Login Succeeded 20:58:00 nexus3.edgexfoundry.org:10003 20:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:00 Configure a credential helper to remove this warning. See 20:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:00 20:58:00 Login Succeeded 20:58:00 nexus3.edgexfoundry.org:10004 20:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:01 Configure a credential helper to remove this warning. See 20:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:01 20:58:01 Login Succeeded 20:58:01 docker.io 20:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:01 Configure a credential helper to remove this warning. See 20:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:01 20:58:01 Login Succeeded 20:58:01 ---> docker-login.sh ends [Pipeline] } 20:58:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:01 + git rev-list -1 --merges fc81389db2b18c23a770aa80de1d99eb94944553~1..fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] echo 20:58:01 -----------> git rev-list -1 --merges fc81389db2b18c23a770aa80de1d99eb94944553~1..fc81389db2b18c23a770aa80de1d99eb94944553 fc81389db2b18c23a770aa80de1d99eb94944553 [false] [Pipeline] sh 20:58:02 + git log --format=format:%s -1 fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] echo 20:58:02 ========================================================= 20:58:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:02 + git log --format=format:%s -1 fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] echo 20:58:02 [semverPrep] GIT_COMMIT: fc81389db2b18c23a770aa80de1d99eb94944553, Commit Message: pin to epg AppArmor fix [Pipeline] echo 20:58:02 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:02 + grep -v github /etc/ssh/ssh_known_hosts 20:58:02 + [ -e /tmp/ssh_known_hosts ] 20:58:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:02 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:03 20:58:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:03 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:03 b85a868b505f: Pulling fs layer 20:58:03 e2be974225ed: Pulling fs layer 20:58:03 339a4e72a1f5: Pulling fs layer 20:58:03 988bab9f4d93: Pulling fs layer 20:58:03 1469e6f7b9e6: Pulling fs layer 20:58:03 eaf3925da568: Pulling fs layer 20:58:03 bab4dde63d76: Pulling fs layer 20:58:03 bde34c3a00c8: Pulling fs layer 20:58:03 b352a97aabf1: Pulling fs layer 20:58:03 4872d77fe225: Pulling fs layer 20:58:03 5851b861e8e6: Pulling fs layer 20:58:03 988bab9f4d93: Waiting 20:58:03 bab4dde63d76: Waiting 20:58:03 bde34c3a00c8: Waiting 20:58:03 1469e6f7b9e6: Waiting 20:58:03 eaf3925da568: Waiting 20:58:03 b352a97aabf1: Waiting 20:58:03 4872d77fe225: Waiting 20:58:03 5851b861e8e6: Waiting 20:58:03 e2be974225ed: Download complete 20:58:03 1469e6f7b9e6: Verifying Checksum 20:58:03 1469e6f7b9e6: Download complete 20:58:03 eaf3925da568: Verifying Checksum 20:58:03 eaf3925da568: Download complete 20:58:03 339a4e72a1f5: Verifying Checksum 20:58:03 339a4e72a1f5: Download complete 20:58:03 bde34c3a00c8: Verifying Checksum 20:58:03 bde34c3a00c8: Download complete 20:58:03 b352a97aabf1: Download complete 20:58:03 4872d77fe225: Verifying Checksum 20:58:03 4872d77fe225: Download complete 20:58:03 5851b861e8e6: Verifying Checksum 20:58:03 b85a868b505f: Verifying Checksum 20:58:03 b85a868b505f: Download complete 20:58:04 bab4dde63d76: Verifying Checksum 20:58:04 bab4dde63d76: Download complete 20:58:05 b85a868b505f: Pull complete 20:58:05 e2be974225ed: Pull complete 20:58:05 339a4e72a1f5: Pull complete 20:58:05 988bab9f4d93: Pull complete 20:58:06 1469e6f7b9e6: Pull complete 20:58:06 eaf3925da568: Pull complete 20:58:08 bab4dde63d76: Pull complete 20:58:08 bde34c3a00c8: Pull complete 20:58:08 b352a97aabf1: Pull complete 20:58:08 4872d77fe225: Pull complete 20:58:08 5851b861e8e6: Pull complete 20:58:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:58:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:08 prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container 20:58:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:58:09 $ docker top fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 -eo pid,comm 20:58:09 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). 20:58:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:09 [ssh-agent] Looking for ssh-agent implementation... 20:58:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:10 $ docker exec fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 ssh-agent 20:58:10 SSH_AUTH_SOCK=/tmp/ssh-6gFwh27m5pEx/agent.32 20:58:10 SSH_AGENT_PID=39 20:58:10 Running ssh-add (command line suppressed) 20:58:10 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/private_key_3308641380133058351.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/private_key_3308641380133058351.key) 20:58:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:10 + git tag --points-at HEAD [Pipeline] } 20:58:10 $ docker exec --env ******** --env ******** fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 ssh-agent -k 20:58:10 unset SSH_AUTH_SOCK; 20:58:10 unset SSH_AGENT_PID; 20:58:10 echo Agent pid 39 killed; 20:58:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:58:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:10 [ssh-agent] Looking for ssh-agent implementation... 20:58:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:10 $ docker exec fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 ssh-agent 20:58:11 SSH_AUTH_SOCK=/tmp/ssh-Q9rsIEA85y3j/agent.73 20:58:11 SSH_AGENT_PID=79 20:58:11 Running ssh-add (command line suppressed) 20:58:11 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/private_key_1788621610735294393.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/private_key_1788621610735294393.key) 20:58:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:11 + git semver init 20:58:11 2022-07-11 20:58:11,693 [run_init] DEBUG init version:0.0.0 force:False 20:58:11 2022-07-11 20:58:11,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver 20:58:11 2022-07-11 20:58:11,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver 20:58:11 2022-07-11 20:58:11,694 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-98, universal_newlines=False, shell=None, istream=None) 20:58:12 2022-07-11 20:58:12,658 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.git/info/exclude 20:58:12 2022-07-11 20:58:12,659 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver/PR-98 with force:False 20:58:12 2022-07-11 20:58:12,659 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver/PR-98 20:58:12 2022-07-11 20:58:12,663 [execute] INFO git cat-file --batch-check 20:58:12 2022-07-11 20:58:12,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver, universal_newlines=False, shell=None, istream=) 20:58:12 2022-07-11 20:58:12,669 [execute] INFO git cat-file --batch 20:58:12 2022-07-11 20:58:12,669 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver, universal_newlines=False, shell=None, istream=) 20:58:12 2022-07-11 20:58:12,674 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver/PR-98 20:58:12 0.0.0 [Pipeline] } 20:58:12 $ docker exec --env ******** --env ******** fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 ssh-agent -k 20:58:12 unset SSH_AUTH_SOCK; 20:58:12 unset SSH_AGENT_PID; 20:58:12 echo Agent pid 79 killed; 20:58:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:13 + git semver [Pipeline] } 20:58:13 $ docker stop --time=1 fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 20:58:14 $ docker rm -f fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:58:15 Stashed 1 file(s) [Pipeline] echo 20:58:15 [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 20:58:15 provisioning config files... 20:58:15 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/config1454847990422236774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:15 ---> docker-login.sh 20:58:15 nexus3.edgexfoundry.org:10001 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:15 Configure a credential helper to remove this warning. See 20:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:15 20:58:15 Login Succeeded 20:58:15 nexus3.edgexfoundry.org:10002 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:16 Configure a credential helper to remove this warning. See 20:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:16 20:58:16 Login Succeeded 20:58:16 nexus3.edgexfoundry.org:10003 20:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:16 Configure a credential helper to remove this warning. See 20:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:16 20:58:16 Login Succeeded 20:58:16 nexus3.edgexfoundry.org:10004 20:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:16 Configure a credential helper to remove this warning. See 20:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:16 20:58:16 Login Succeeded 20:58:16 docker.io 20:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:16 Configure a credential helper to remove this warning. See 20:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:16 20:58:16 Login Succeeded 20:58:16 ---> docker-login.sh ends [Pipeline] } 20:58:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:16 ========================================================= 20:58:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:58:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:58:16 Sending build context to Docker daemon 12.45MB 20:58:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:58:16 Step 2/13 : FROM ${BASE} AS builder 20:58:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:58:16 2408cc74d12b: Pulling fs layer 20:58:16 ea60b727a1ce: Pulling fs layer 20:58:16 30c4a7721957: Pulling fs layer 20:58:16 370296b7ddb6: Pulling fs layer 20:58:16 7c6cee850709: Pulling fs layer 20:58:16 39a5fcdaea64: Pulling fs layer 20:58:16 d94ebbe4e438: Pulling fs layer 20:58:16 370296b7ddb6: Waiting 20:58:16 7c6cee850709: Waiting 20:58:16 bcfd1f05c69d: Pulling fs layer 20:58:16 39a5fcdaea64: Waiting 20:58:16 59ccb84bbe0f: Pulling fs layer 20:58:16 d94ebbe4e438: Waiting 20:58:16 bcfd1f05c69d: Waiting 20:58:16 59ccb84bbe0f: Waiting 20:58:16 30c4a7721957: Verifying Checksum 20:58:16 30c4a7721957: Download complete 20:58:17 ea60b727a1ce: Download complete 20:58:17 7c6cee850709: Verifying Checksum 20:58:17 7c6cee850709: Download complete 20:58:17 39a5fcdaea64: Download complete 20:58:17 2408cc74d12b: Download complete 20:58:17 d94ebbe4e438: Download complete 20:58:17 2408cc74d12b: Pull complete 20:58:17 ea60b727a1ce: Pull complete 20:58:17 30c4a7721957: Pull complete 20:58:17 370296b7ddb6: Verifying Checksum 20:58:17 370296b7ddb6: Download complete 20:58:18 59ccb84bbe0f: Verifying Checksum 20:58:18 59ccb84bbe0f: Download complete 20:58:18 bcfd1f05c69d: Verifying Checksum 20:58:18 bcfd1f05c69d: Download complete 20:58:22 370296b7ddb6: Pull complete 20:58:22 7c6cee850709: Pull complete 20:58:22 39a5fcdaea64: Pull complete 20:58:22 d94ebbe4e438: Pull complete 20:58:24 bcfd1f05c69d: Pull complete 20:58:24 59ccb84bbe0f: Pull complete 20:58:24 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:58:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:58:24 ---> a4fb48ad2a94 20:58:24 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:58:26 ---> Running in 8efb8e8eff94 20:58:26 Removing intermediate container 8efb8e8eff94 20:58:26 ---> d163ce5660d9 20:58:26 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 20:58:26 ---> Running in 34c62f259c04 20:58:26 Removing intermediate container 34c62f259c04 20:58:26 ---> ba846bb8e16a 20:58:26 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:58:26 ---> Running in 6709b11f00a5 20:58:26 Removing intermediate container 6709b11f00a5 20:58:26 ---> d06154eb11eb 20:58:26 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:58:26 ---> Running in 8d0a8b8c0e33 20:58:27 Removing intermediate container 8d0a8b8c0e33 20:58:27 ---> c5e3b09aa0b0 20:58:27 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:27 ---> Running in c30a4579e292 20:58:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:58:30 Still waiting to schedule task 20:58:30 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19355’ 20:58:32 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: temporary error (try again later) 20:58:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:58:38 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: temporary error (try again later) 20:58:38 OK: 211 MiB in 51 packages 20:58:38 Removing intermediate container c30a4579e292 20:58:38 ---> d3878f031387 20:58:38 Step 8/13 : WORKDIR /app 20:58:38 ---> Running in f2374445e3d0 20:58:38 Removing intermediate container f2374445e3d0 20:58:38 ---> 1eadd744cf69 20:58:38 Step 9/13 : COPY go.mod vendor* ./ 20:58:38 ---> dcc9a29d04ad 20:58:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:38 ---> Running in 229c3ce71e0c 20:58:52 Removing intermediate container 229c3ce71e0c 20:58:52 ---> d31ea0a3d3aa 20:58:52 Step 11/13 : COPY . . 20:58:52 ---> 918661257b3f 20:58:52 Step 12/13 : ARG MAKE="make build" 20:58:52 ---> Running in 930c45fcd278 20:58:52 Removing intermediate container 930c45fcd278 20:58:52 ---> ce2e98f5cd49 20:58:52 Step 13/13 : RUN $MAKE 20:58:52 ---> Running in 1963811ff8d3 20:58:52 noop 20:58:53 Removing intermediate container 1963811ff8d3 20:58:53 ---> 3003d62f0a0c 20:58:53 Successfully built 3003d62f0a0c 20:58:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:53 + docker inspect -f . ci-base-image-x86_64 20:58:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:53 prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container 20:58:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:54 $ docker top 9440c2bf3504e6c1554c42d4d0590fcb78a6a4edbb7c8712a7aeeb7cd4a2ec4b -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:54 + go version 20:58:54 go version go1.18.3 linux/amd64 [Pipeline] } 20:58:54 $ docker stop --time=1 9440c2bf3504e6c1554c42d4d0590fcb78a6a4edbb7c8712a7aeeb7cd4a2ec4b 20:58:55 $ docker rm -f 9440c2bf3504e6c1554c42d4d0590fcb78a6a4edbb7c8712a7aeeb7cd4a2ec4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:56 + docker inspect -f . ci-base-image-x86_64 20:58:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:56 prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container 20:58:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:56 $ docker top fc630148ae3b854b493eda9f7b2b8e390dd8697f165764aa194b20f355e37373 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:57 + git config --global --add safe.directory /w/workspace/ry_app-rfid-llrp-inventory_PR-98 [Pipeline] fileExists [Pipeline] sh 20:58:57 + make test 20:58:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:59:07 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 20:59:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.046s coverage: 86.2% of statements 20:59:07 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 20:59:08 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.550s coverage: 71.9% of statements 20:59:09 level=info msg="[config_reader] Used config file .golangci.yml" 20:59:09 level=info msg="[lintersdb] Active 11 linters: [deadcode errcheck gosec gosimple govet ineffassign staticcheck structcheck typecheck unused varcheck]" 20:59:10 level=info msg="[loader] Go packages loading at mode 575 (imports|compiled_files|deps|exports_file|files|name|types_sizes) took 810.133404ms" 20:59:10 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 10.55087ms" 20:59:15 level=info msg="[linters context/goanalysis] analyzers took 19.773735478s with top 10 stages: buildir: 14.920633285s, inspect: 839.88089ms, nilness: 636.795462ms, fact_deprecated: 579.045674ms, printf: 403.821013ms, ctrlflow: 378.912169ms, fact_purity: 376.932769ms, typedness: 208.305332ms, SA5012: 184.670328ms, S1038: 96.099196ms" 20:59:15 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:59:15 level=info msg="[runner] processing took 5.501µs with stages: max_same_issues: 1.111µs, skip_dirs: 620ns, skip_files: 550ns, nolint: 460ns, max_from_linter: 390ns, cgo: 270ns, autogenerated_exclude: 250ns, exclude: 240ns, filename_unadjuster: 240ns, path_prettifier: 240ns, sort_results: 120ns, source_code: 120ns, path_shortener: 120ns, uniq_by_line: 110ns, identifier_marker: 110ns, path_prefixer: 110ns, severity-rules: 110ns, exclude-rules: 110ns, diff: 110ns, max_per_file_from_linter: 110ns" 20:59:15 level=info msg="[runner] linters took 4.945971089s with stages: goanalysis_metalinter: 4.945859902s, structcheck: 20.271µs" 20:59:15 level=info msg="File cache stats: 0 entries of total size 0B" 20:59:15 level=info msg="Memory: 59 samples, avg is 320.7MB, max is 462.4MB" 20:59:15 level=info msg="Execution took 5.775969614s" 20:59:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:59:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:18 ./bin/test-attribution.sh [Pipeline] echo 20:59:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:18 $ docker stop --time=1 fc630148ae3b854b493eda9f7b2b8e390dd8697f165764aa194b20f355e37373 20:59:20 $ docker rm -f fc630148ae3b854b493eda9f7b2b8e390dd8697f165764aa194b20f355e37373 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:59:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:21 + ls -al . 20:59:21 total 232 20:59:21 drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 20:58 . 20:59:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 20:57 .. 20:59:21 -rw-rw-r-- 1 jenkins jenkins 262 Jul 11 20:57 .dockerignore 20:59:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 20:59 .git 20:59:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 20:57 .github 20:59:21 -rw-rw-r-- 1 jenkins jenkins 788 Jul 11 20:57 .gitignore 20:59:21 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 20:57 .golangci.yml 20:59:21 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 20:58 .semver 20:59:21 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 11 20:57 Attribution.txt 20:59:21 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 11 20:57 CHANGELOG.md 20:59:21 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 11 20:57 Dockerfile 20:59:21 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 20:57 GOVERNANCE.md 20:59:21 -rw-rw-r-- 1 jenkins jenkins 766 Jul 11 20:57 Jenkinsfile 20:59:21 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 11 20:57 LICENSE 20:59:21 -rw-rw-r-- 1 jenkins jenkins 2959 Jul 11 20:57 Makefile 20:59:21 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 20:57 OWNERS.md 20:59:21 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 11 20:57 README.md 20:59:21 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 20:58 VERSION 20:59:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 20:57 bin 20:59:21 -rw-r--r-- 1 jenkins jenkins 41008 Jul 11 20:59 coverage.out 20:59:21 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 11 20:57 go.mod 20:59:21 -rw-rw-r-- 1 jenkins jenkins 36956 Jul 11 20:57 go.sum 20:59:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 20:57 images 20:59:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 20:57 internal 20:59:21 -rw-rw-r-- 1 jenkins jenkins 531 Jul 11 20:57 main.go 20:59:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 20:57 res 20:59:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 20:57 snap 20:59:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 20:57 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:22 + 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=fc81389db2b18c23a770aa80de1d99eb94944553 --label arch=amd64 --label version=0.0.0 . 20:59:22 Sending build context to Docker daemon 12.45MB 20:59:22 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 20:59:22 Step 2/31 : FROM ${BASE} AS builder 20:59:22 ---> 3003d62f0a0c 20:59:22 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:59:22 ---> Running in fb2b47915f6d 20:59:22 Removing intermediate container fb2b47915f6d 20:59:22 ---> 3a0d7f3882c0 20:59:22 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 20:59:22 ---> Running in 7c8e32fc5df9 20:59:22 Removing intermediate container 7c8e32fc5df9 20:59:22 ---> 5ab42595ffbc 20:59:22 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:22 ---> Running in a93ccf62ab37 20:59:22 Removing intermediate container a93ccf62ab37 20:59:22 ---> fbf1fb97e678 20:59:22 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:22 ---> Running in ae64101ba4c4 20:59:23 Removing intermediate container ae64101ba4c4 20:59:23 ---> fe615df20992 20:59:23 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:23 ---> Running in 80462c361689 20:59:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:59:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:59:24 OK: 211 MiB in 51 packages 20:59:24 Removing intermediate container 80462c361689 20:59:24 ---> 158522bfd20e 20:59:24 Step 8/31 : WORKDIR /app 20:59:24 ---> Running in a496f877d071 20:59:25 Removing intermediate container a496f877d071 20:59:25 ---> c00bc2fa89d4 20:59:25 Step 9/31 : COPY go.mod vendor* ./ 20:59:25 ---> 2e80cafd15ca 20:59:25 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:25 ---> Running in 09bf90a012ff 20:59:25 Removing intermediate container 09bf90a012ff 20:59:25 ---> 2d7fb0e6292a 20:59:25 Step 11/31 : COPY . . 20:59:26 ---> 7e56952e2089 20:59:26 Step 12/31 : ARG MAKE="make build" 20:59:26 ---> Running in 30d8109b0c5d 20:59:26 Removing intermediate container 30d8109b0c5d 20:59:26 ---> d1c8519fed41 20:59:26 Step 13/31 : RUN $MAKE 20:59:26 ---> Running in f49e8b681da4 20:59:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 20:59:48 Removing intermediate container f49e8b681da4 20:59:48 ---> 82cd1eb7b8ac 20:59:48 Step 14/31 : FROM alpine:3.14 20:59:48 3.14: Pulling from library/alpine 20:59:48 8663204ce13b: Pulling fs layer 20:59:48 8663204ce13b: Download complete 20:59:48 8663204ce13b: Pull complete 20:59:48 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:59:48 Status: Downloaded newer image for alpine:3.14 20:59:48 ---> e04c818066af 20:59:48 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:48 ---> Running in 6f595b766c24 20:59:48 Removing intermediate container 6f595b766c24 20:59:48 ---> 82c491f1bc0d 20:59:48 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 20:59:48 ---> Running in 2df77ddff335 20:59:48 Removing intermediate container 2df77ddff335 20:59:48 ---> 2556f9b3c58a 20:59:48 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:48 ---> Running in 40f562c7516a 20:59:48 Removing intermediate container 40f562c7516a 20:59:48 ---> e8afbf4fcccc 20:59:48 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 20:59:48 ---> Running in a5f3c44704ec 20:59:48 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:59:48 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:59:48 (1/7) Installing ca-certificates (20211220-r0) 20:59:48 (2/7) Installing dumb-init (1.2.5-r1) 20:59:49 (3/7) Installing libgcc (10.3.1_git20210424-r2) 20:59:49 (4/7) Installing libsodium (1.0.18-r0) 20:59:49 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 20:59:49 (6/7) Installing libzmq (4.3.4-r0) 20:59:49 (7/7) Installing zeromq (4.3.4-r0) 20:59:49 Executing busybox-1.33.1-r7.trigger 20:59:49 Executing ca-certificates-20211220-r0.trigger 20:59:49 OK: 9 MiB in 21 packages 20:59:49 Removing intermediate container a5f3c44704ec 20:59:49 ---> 151c698f6356 20:59:49 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:59:50 ---> c288ad2bea84 20:59:50 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 20:59:50 ---> 5600fcc810f0 20:59:50 Step 21/31 : COPY --from=builder /app/res/ /res/ 20:59:50 ---> 8f865a4b483d 20:59:50 Step 22/31 : COPY --from=builder /app/static/ /static/ 20:59:50 ---> 3b5d91bbc597 20:59:50 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 20:59:51 ---> 187fa6a5af94 20:59:51 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 20:59:51 ---> Running in 5eac605294c2 20:59:51 Removing intermediate container 5eac605294c2 20:59:51 ---> fb9b31ab2e77 20:59:51 Step 25/31 : VOLUME /cache 20:59:51 ---> Running in 9c629ce7f6bd 20:59:51 Removing intermediate container 9c629ce7f6bd 20:59:51 ---> b18586e5445c 20:59:51 Step 26/31 : EXPOSE 59711 20:59:51 ---> Running in 911dfaa1520a 20:59:51 Removing intermediate container 911dfaa1520a 20:59:51 ---> 5a3728fb87a0 20:59:51 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 20:59:51 ---> Running in 814e018238ba 20:59:51 Removing intermediate container 814e018238ba 20:59:51 ---> 73767de6f139 20:59:51 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 20:59:51 ---> Running in e9e1ef5594dd 20:59:52 Removing intermediate container e9e1ef5594dd 20:59:52 ---> 656b3013cf0b 20:59:52 Step 29/31 : LABEL arch=amd64 20:59:52 ---> Running in 5dfa271fb08b 20:59:52 Removing intermediate container 5dfa271fb08b 20:59:52 ---> c84dc858bce4 20:59:52 Step 30/31 : LABEL git_sha=fc81389db2b18c23a770aa80de1d99eb94944553 20:59:52 ---> Running in 3ea496f916c5 20:59:52 Removing intermediate container 3ea496f916c5 20:59:52 ---> df32e047c398 20:59:52 Step 31/31 : LABEL version=0.0.0 20:59:52 ---> Running in e64f6ea40883 20:59:52 Removing intermediate container e64f6ea40883 20:59:52 ---> df999c08df97 20:59:52 [Warning] One or more build-args [ARCH] were not consumed 20:59:52 Successfully built df999c08df97 20:59:52 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:52 20:59:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:53 latest: Pulling from edgex-lftools-log-publisher 20:59:53 5eb5b503b376: Pulling fs layer 20:59:53 5c69ac0246d0: Pulling fs layer 20:59:53 ec43610c2a17: Pulling fs layer 20:59:53 3a2ae6a8a46f: Pulling fs layer 20:59:53 33b1e0a273af: Pulling fs layer 20:59:53 5d3b04190fa2: Pulling fs layer 20:59:53 2f39f015ded8: Pulling fs layer 20:59:53 33b1e0a273af: Waiting 20:59:53 5d3b04190fa2: Waiting 20:59:53 2f39f015ded8: Waiting 20:59:53 5c69ac0246d0: Download complete 20:59:53 3a2ae6a8a46f: Verifying Checksum 20:59:53 3a2ae6a8a46f: Download complete 20:59:53 33b1e0a273af: Verifying Checksum 20:59:53 33b1e0a273af: Download complete 20:59:53 ec43610c2a17: Verifying Checksum 20:59:53 ec43610c2a17: Download complete 20:59:53 5d3b04190fa2: Verifying Checksum 20:59:53 5d3b04190fa2: Download complete 20:59:53 5eb5b503b376: Verifying Checksum 20:59:53 5eb5b503b376: Download complete 20:59:54 2f39f015ded8: Verifying Checksum 20:59:54 2f39f015ded8: Download complete 20:59:54 5eb5b503b376: Pull complete 20:59:54 5c69ac0246d0: Pull complete 20:59:56 ec43610c2a17: Pull complete 20:59:56 3a2ae6a8a46f: Pull complete 20:59:56 33b1e0a273af: Pull complete 20:59:56 5d3b04190fa2: Pull complete 20:59:59 2f39f015ded8: Pull complete 20:59:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:59:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:59 prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container 20:59:59 $ 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/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:01 $ docker top 7e4b24f2d516a0d7b27f5d78da21b0e3413bbf247ebe28cb350b88b8aa4092ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:02 ---> job-cost.sh 21:00:02 lf-activate-venv: SKIPPING 21:00:02 INFO: No Stack... 21:00:02 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:03 INFO: Archiving Costs [Pipeline] sh 21:00:03 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives/cost.csv 21:00:03 + cut -d, -f6 [Pipeline] lock 21:00:03 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] 21:00:03 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] did not exist. Created. 21:00:03 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:03 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:03 Stashed 1 file(s) [Pipeline] } 21:00:03 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:03 $ docker stop --time=1 7e4b24f2d516a0d7b27f5d78da21b0e3413bbf247ebe28cb350b88b8aa4092ee 21:00:05 $ docker rm -f 7e4b24f2d516a0d7b27f5d78da21b0e3413bbf247ebe28cb350b88b8aa4092ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:01:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19359 in /w/workspace/ry_app-rfid-llrp-inventory_PR-98 [Pipeline] { [Pipeline] ws 21:01:52 Running in /w/workspace/app-rfid-llrp-inventory/5 [Pipeline] { [Pipeline] checkout 21:01:52 The recommended git tool is: git 21:01:57 using credential edgex-jenkins-ssh 21:01:57 Cloning the remote Git repository 21:01:57 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:01:57 > git init /w/workspace/app-rfid-llrp-inventory/5 # timeout=10 21:01:57 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:01:57 > git --version # timeout=10 21:01:57 > git --version # 'git version 2.25.1' 21:01:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:00 Merging remotes/origin/main commit ccdb054e5d16bd529c2fd15a52524dce2c381cd1 into PR head commit fc81389db2b18c23a770aa80de1d99eb94944553 21:02:00 Merge succeeded, producing fc81389db2b18c23a770aa80de1d99eb94944553 21:02:00 Checking out Revision fc81389db2b18c23a770aa80de1d99eb94944553 (PR-98) 21:02:00 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:02:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:00 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:02:00 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:02:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:02:00 > git config core.sparsecheckout # timeout=10 21:02:00 > git checkout -f fc81389db2b18c23a770aa80de1d99eb94944553 # timeout=10 21:02:00 > git remote # timeout=10 21:02:00 > git config --get remote.origin.url # timeout=10 21:02:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:00 > git merge ccdb054e5d16bd529c2fd15a52524dce2c381cd1 # timeout=10 21:02:00 > git rev-parse HEAD^{commit} # timeout=10 21:02:00 > git config core.sparsecheckout # timeout=10 21:02:00 > git checkout -f fc81389db2b18c23a770aa80de1d99eb94944553 # timeout=10 21:02:05 Commit message: "pin to epg AppArmor fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:02:06 % Total % Received % Xferd Average Speed Time Time Time Current 21:02:06 Dload Upload Total Spent Left Speed 21:02:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 206k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh 21:02:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:02:07 + sudo tee /etc/docker/daemon.new 21:02:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:02:07 { 21:02:07 "registry-mirrors": [ 21:02:07 "https://nexus3.edgexfoundry.org:10001" 21:02:07 ], 21:02:07 "bip": "10.250.0.254/24", 21:02:07 "hosts": [ 21:02:07 "tcp://0.0.0.0:5555", 21:02:07 "unix:///var/run/docker.sock" 21:02:07 ], 21:02:07 "mtu": 1458, 21:02:07 "selinux-enabled": true, 21:02:07 "seccomp-profile": "/etc/docker/seccomp.json" 21:02:07 } [Pipeline] sh 21:02:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:02:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:26 provisioning config files... 21:02:26 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/5@tmp/config8736883057279501593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:26 ---> docker-login.sh 21:02:26 nexus3.edgexfoundry.org:10001 21:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:27 Configure a credential helper to remove this warning. See 21:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:27 21:02:27 Login Succeeded 21:02:27 nexus3.edgexfoundry.org:10002 21:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:28 Configure a credential helper to remove this warning. See 21:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:28 21:02:28 Login Succeeded 21:02:28 nexus3.edgexfoundry.org:10003 21:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:28 Configure a credential helper to remove this warning. See 21:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:28 21:02:28 Login Succeeded 21:02:28 nexus3.edgexfoundry.org:10004 21:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:28 Configure a credential helper to remove this warning. See 21:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:28 21:02:28 Login Succeeded 21:02:28 docker.io 21:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:29 Configure a credential helper to remove this warning. See 21:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:29 21:02:29 Login Succeeded 21:02:29 ---> docker-login.sh ends [Pipeline] } 21:02:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:02:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:30 ========================================================= 21:02:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:02:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:02:31 Sending build context to Docker daemon 687.1kB 21:02:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:02:31 Step 2/13 : FROM ${BASE} AS builder 21:02:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:02:31 b3c136eddcbf: Pulling fs layer 21:02:31 c0a3192eca97: Pulling fs layer 21:02:31 a050256f5b6f: Pulling fs layer 21:02:31 656be50a0ddc: Pulling fs layer 21:02:31 2bbca73fdf42: Pulling fs layer 21:02:31 46d945488cbd: Pulling fs layer 21:02:31 8a5474983e97: Pulling fs layer 21:02:31 329c88fbcd65: Pulling fs layer 21:02:31 46d945488cbd: Waiting 21:02:31 8a5474983e97: Waiting 21:02:31 329c88fbcd65: Waiting 21:02:31 656be50a0ddc: Waiting 21:02:31 2bbca73fdf42: Waiting 21:02:31 a050256f5b6f: Download complete 21:02:31 c0a3192eca97: Verifying Checksum 21:02:31 c0a3192eca97: Download complete 21:02:31 2bbca73fdf42: Verifying Checksum 21:02:31 2bbca73fdf42: Download complete 21:02:31 46d945488cbd: Verifying Checksum 21:02:31 46d945488cbd: Download complete 21:02:31 b3c136eddcbf: Verifying Checksum 21:02:32 b3c136eddcbf: Pull complete 21:02:32 329c88fbcd65: Verifying Checksum 21:02:32 329c88fbcd65: Download complete 21:02:32 c0a3192eca97: Pull complete 21:02:33 a050256f5b6f: Pull complete 21:02:33 8a5474983e97: Verifying Checksum 21:02:33 8a5474983e97: Download complete 21:02:34 656be50a0ddc: Verifying Checksum 21:02:34 656be50a0ddc: Download complete 21:02:46 656be50a0ddc: Pull complete 21:02:46 2bbca73fdf42: Pull complete 21:02:46 46d945488cbd: Pull complete 21:02:53 8a5474983e97: Pull complete 21:02:55 329c88fbcd65: Pull complete 21:02:55 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:02:55 ---> ff4287adb874 21:02:55 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:02:56 ---> Running in c86d5c2c2301 21:02:56 Removing intermediate container c86d5c2c2301 21:02:56 ---> 615a96cfcf11 21:02:56 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:02:56 ---> Running in cc74d2d6b6ed 21:02:56 Removing intermediate container cc74d2d6b6ed 21:02:56 ---> e52c1a8bfdd1 21:02:56 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:02:56 ---> Running in 238a6945b931 21:02:56 Removing intermediate container 238a6945b931 21:02:56 ---> daa08f7ebafb 21:02:56 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:02:57 ---> Running in c5896b6c8325 21:02:59 Removing intermediate container c5896b6c8325 21:02:59 ---> 1948c1982c02 21:02:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:59 ---> Running in 61e59f731236 21:03:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:03:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:03:01 OK: 221 MiB in 51 packages 21:03:02 Removing intermediate container 61e59f731236 21:03:02 ---> 09727af9bf37 21:03:02 Step 8/13 : WORKDIR /app 21:03:02 ---> Running in 6195fcb74318 21:03:03 Removing intermediate container 6195fcb74318 21:03:03 ---> dc5f717b582a 21:03:03 Step 9/13 : COPY go.mod vendor* ./ 21:03:03 ---> 7648ef39f6fd 21:03:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:03 ---> Running in fa1a52701e5c 21:03:50 Removing intermediate container fa1a52701e5c 21:03:50 ---> a4b947b955c8 21:03:50 Step 11/13 : COPY . . 21:03:50 ---> 1cbfd470bd5a 21:03:50 Step 12/13 : ARG MAKE="make build" 21:03:50 ---> Running in 5cd4367bc79d 21:03:50 Removing intermediate container 5cd4367bc79d 21:03:50 ---> b845dc9c7b64 21:03:50 Step 13/13 : RUN $MAKE 21:03:50 ---> Running in 1a4bf5d9646b 21:03:50 noop 21:03:51 Removing intermediate container 1a4bf5d9646b 21:03:51 ---> b388501a86e4 21:03:51 Successfully built b388501a86e4 21:03:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:51 + docker inspect -f . ci-base-image-arm64 21:03:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:51 prd-ubuntu20.04-docker-arm64-4c-16g-19359 does not seem to be running inside a container 21:03:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:53 $ docker top 6cff3dd3b63aee18af1f92b6bcf6aeb632dbef7104e56d1a3b231b9a28f53e7b -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:53 + go version 21:03:53 go version go1.18.3 linux/arm64 [Pipeline] } 21:03:53 $ docker stop --time=1 6cff3dd3b63aee18af1f92b6bcf6aeb632dbef7104e56d1a3b231b9a28f53e7b 21:03:55 $ docker rm -f 6cff3dd3b63aee18af1f92b6bcf6aeb632dbef7104e56d1a3b231b9a28f53e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:56 + docker inspect -f . ci-base-image-arm64 21:03:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:56 prd-ubuntu20.04-docker-arm64-4c-16g-19359 does not seem to be running inside a container 21:03:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:57 $ docker top 2fcbaccc02b6603e703e17bff532e6cf9160a4eaccbd43458d730bce89891604 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:58 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/5 [Pipeline] fileExists [Pipeline] sh 21:03:59 + make test 21:03:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:05:36 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:05:36 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.167s coverage: 86.2% of statements 21:05:36 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:05:36 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.715s coverage: 71.9% of statements 21:05:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:05:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:06:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:03 ./bin/test-attribution.sh [Pipeline] echo 21:06:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:03 $ docker stop --time=1 2fcbaccc02b6603e703e17bff532e6cf9160a4eaccbd43458d730bce89891604 21:06:05 $ docker rm -f 2fcbaccc02b6603e703e17bff532e6cf9160a4eaccbd43458d730bce89891604 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:06 Warning: overwriting stash ‘coverage-report’ 21:06:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:08 + ls -al . 21:06:08 total 228 21:06:08 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 21:04 . 21:06:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:01 .. 21:06:08 -rw-rw-r-- 1 jenkins jenkins 262 Jul 11 21:02 .dockerignore 21:06:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 21:02 .git 21:06:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:02 .github 21:06:08 -rw-rw-r-- 1 jenkins jenkins 788 Jul 11 21:02 .gitignore 21:06:08 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 21:02 .golangci.yml 21:06:08 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 11 21:02 Attribution.txt 21:06:08 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 11 21:02 CHANGELOG.md 21:06:08 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 11 21:02 Dockerfile 21:06:08 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 21:02 GOVERNANCE.md 21:06:08 -rw-rw-r-- 1 jenkins jenkins 766 Jul 11 21:02 Jenkinsfile 21:06:08 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 11 21:02 LICENSE 21:06:08 -rw-rw-r-- 1 jenkins jenkins 2959 Jul 11 21:02 Makefile 21:06:08 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 21:02 OWNERS.md 21:06:08 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 11 21:02 README.md 21:06:08 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 20:58 VERSION 21:06:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:02 bin 21:06:08 -rw-r--r-- 1 jenkins jenkins 41008 Jul 11 21:05 coverage.out 21:06:08 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 11 21:02 go.mod 21:06:08 -rw-rw-r-- 1 jenkins jenkins 36956 Jul 11 21:02 go.sum 21:06:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:02 images 21:06:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:02 internal 21:06:08 -rw-rw-r-- 1 jenkins jenkins 531 Jul 11 21:02 main.go 21:06:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:02 res 21:06:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:02 snap 21:06:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:02 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06: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=fc81389db2b18c23a770aa80de1d99eb94944553 --label arch=arm64 --label version=0.0.0 . 21:06:08 Sending build context to Docker daemon 687.1kB 21:06:08 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 21:06:08 Step 2/31 : FROM ${BASE} AS builder 21:06:08 ---> b388501a86e4 21:06:08 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:06:09 ---> Running in ddbd6853e76b 21:06:09 Removing intermediate container ddbd6853e76b 21:06:09 ---> 5808a60795e4 21:06:09 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 21:06:09 ---> Running in 0360a8ec70a5 21:06:10 Removing intermediate container 0360a8ec70a5 21:06:10 ---> 0b285ea8dcba 21:06:10 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:06:10 ---> Running in 46d2c819f923 21:06:10 Removing intermediate container 46d2c819f923 21:06:10 ---> 1a43dc0dc6e3 21:06:10 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:06:10 ---> Running in 42c51f5ae410 21:06:12 Removing intermediate container 42c51f5ae410 21:06:12 ---> 7d4926b86098 21:06:12 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:12 ---> Running in 465484837c4b 21:06:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:06:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:06:15 OK: 221 MiB in 51 packages 21:06:16 Removing intermediate container 465484837c4b 21:06:16 ---> d3a90e86440d 21:06:16 Step 8/31 : WORKDIR /app 21:06:16 ---> Running in 1440ddc989de 21:06:16 Removing intermediate container 1440ddc989de 21:06:16 ---> 9cc97e6c31ad 21:06:16 Step 9/31 : COPY go.mod vendor* ./ 21:06:17 ---> a0666a67528c 21:06:17 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:17 ---> Running in 939bf2514d09 21:06:19 Removing intermediate container 939bf2514d09 21:06:19 ---> 0075da1afe46 21:06:19 Step 11/31 : COPY . . 21:06:19 ---> d968814b9664 21:06:19 Step 12/31 : ARG MAKE="make build" 21:06:19 ---> Running in b52ee6256c14 21:06:20 Removing intermediate container b52ee6256c14 21:06:20 ---> 6366c01c80b5 21:06:20 Step 13/31 : RUN $MAKE 21:06:20 ---> Running in 9a5fc4593d06 21:06:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 21:08:43 Removing intermediate container 9a5fc4593d06 21:08:43 ---> d502829acca3 21:08:43 Step 14/31 : FROM alpine:3.14 21:08:43 3.14: Pulling from library/alpine 21:08:43 455c02918c45: Pulling fs layer 21:08:43 455c02918c45: Verifying Checksum 21:08:43 455c02918c45: Download complete 21:08:43 455c02918c45: Pull complete 21:08:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:08:43 Status: Downloaded newer image for alpine:3.14 21:08:43 ---> ac73e934f311 21:08:43 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:08:43 ---> Running in 40b07ca5e7c9 21:08:43 Removing intermediate container 40b07ca5e7c9 21:08:43 ---> bc01a85d7ef7 21:08:43 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:08:43 ---> Running in e86741432e48 21:08:43 Removing intermediate container e86741432e48 21:08:43 ---> 4454d34eadcb 21:08:43 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:08:43 ---> Running in b7be57d0c0f8 21:08:43 Removing intermediate container b7be57d0c0f8 21:08:43 ---> 1abde41a1d8f 21:08:43 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 21:08:43 ---> Running in 8112be6cd9be 21:08:43 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:08:43 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:08:44 (1/7) Installing ca-certificates (20211220-r0) 21:08:44 (2/7) Installing dumb-init (1.2.5-r1) 21:08:44 (3/7) Installing libgcc (10.3.1_git20210424-r2) 21:08:44 (4/7) Installing libsodium (1.0.18-r0) 21:08:44 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 21:08:44 (6/7) Installing libzmq (4.3.4-r0) 21:08:44 (7/7) Installing zeromq (4.3.4-r0) 21:08:44 Executing busybox-1.33.1-r7.trigger 21:08:44 Executing ca-certificates-20211220-r0.trigger 21:08:45 OK: 9 MiB in 21 packages 21:08:46 Removing intermediate container 8112be6cd9be 21:08:46 ---> 58dfea0b0971 21:08:46 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:08:46 ---> 738cecaf2e01 21:08:46 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 21:08:47 ---> f0c455887393 21:08:47 Step 21/31 : COPY --from=builder /app/res/ /res/ 21:08:47 ---> 3a92c16493ac 21:08:47 Step 22/31 : COPY --from=builder /app/static/ /static/ 21:08:48 ---> 32d70458f7f2 21:08:48 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:08:49 ---> 8110fb4196ba 21:08:49 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:08:49 ---> Running in c0cfeb4a0370 21:08:51 Removing intermediate container c0cfeb4a0370 21:08:51 ---> 2e5e2865f616 21:08:51 Step 25/31 : VOLUME /cache 21:08:51 ---> Running in bbd62fa68e04 21:08:51 Removing intermediate container bbd62fa68e04 21:08:51 ---> a2001761f20b 21:08:51 Step 26/31 : EXPOSE 59711 21:08:52 ---> Running in 2a78715d48d0 21:08:52 Removing intermediate container 2a78715d48d0 21:08:52 ---> aa179e0c7ce2 21:08:52 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:08:52 ---> Running in 4439abbc39c6 21:08:52 Removing intermediate container 4439abbc39c6 21:08:52 ---> 0ac30b92e279 21:08:52 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 21:08:53 ---> Running in 3e5791c17833 21:08:53 Removing intermediate container 3e5791c17833 21:08:53 ---> 3e839545789c 21:08:53 Step 29/31 : LABEL arch=arm64 21:08:53 ---> Running in 2598a04ce8a7 21:08:53 Removing intermediate container 2598a04ce8a7 21:08:53 ---> e81b87a35031 21:08:53 Step 30/31 : LABEL git_sha=fc81389db2b18c23a770aa80de1d99eb94944553 21:08:53 ---> Running in 8a9756fbd4ab 21:08:54 Removing intermediate container 8a9756fbd4ab 21:08:54 ---> e25042fe75a0 21:08:54 Step 31/31 : LABEL version=0.0.0 21:08:54 ---> Running in a44345beb0e1 21:08:54 Removing intermediate container a44345beb0e1 21:08:54 ---> 1eeab6ac5519 21:08:54 [Warning] One or more build-args [ARCH] were not consumed 21:08:54 Successfully built 1eeab6ac5519 21:08:54 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:54 21:08:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:55 arm64: Pulling from edgex-lftools-log-publisher 21:08:55 8998bd30e6a1: Pulling fs layer 21:08:55 04944245beec: Pulling fs layer 21:08:55 699f458cf7ca: Pulling fs layer 21:08:55 765212b225bb: Pulling fs layer 21:08:55 f23df028b6ca: Pulling fs layer 21:08:55 d65c8cfc05b1: Pulling fs layer 21:08:55 2437ff75d9bd: Pulling fs layer 21:08:55 765212b225bb: Waiting 21:08:55 f23df028b6ca: Waiting 21:08:55 d65c8cfc05b1: Waiting 21:08:55 2437ff75d9bd: Waiting 21:08:55 04944245beec: Verifying Checksum 21:08:55 04944245beec: Download complete 21:08:55 765212b225bb: Verifying Checksum 21:08:55 765212b225bb: Download complete 21:08:55 f23df028b6ca: Download complete 21:08:55 d65c8cfc05b1: Verifying Checksum 21:08:55 d65c8cfc05b1: Download complete 21:08:55 699f458cf7ca: Verifying Checksum 21:08:55 699f458cf7ca: Download complete 21:08:56 8998bd30e6a1: Verifying Checksum 21:08:56 8998bd30e6a1: Download complete 21:08:58 2437ff75d9bd: Verifying Checksum 21:08:58 2437ff75d9bd: Download complete 21:09:00 8998bd30e6a1: Pull complete 21:09:01 04944245beec: Pull complete 21:09:02 699f458cf7ca: Pull complete 21:09:03 765212b225bb: Pull complete 21:09:03 f23df028b6ca: Pull complete 21:09:04 d65c8cfc05b1: Pull complete 21:09:19 2437ff75d9bd: Pull complete 21:09:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:19 prd-ubuntu20.04-docker-arm64-4c-16g-19359 does not seem to be running inside a container 21:09:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:09:22 $ docker top c057a0fc88053c82befede3de759c3b693340e54591d422aa17a71c269dd6e85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:23 ---> job-cost.sh 21:09:23 lf-activate-venv: SKIPPING 21:09:23 INFO: No Stack... 21:09:24 INFO: Retrieving Pricing Info for: v3-standard-4 21:09:25 INFO: Archiving Costs [Pipeline] sh 21:09:25 + cut -d, -f6 21:09:25 + cat /w/workspace/app-rfid-llrp-inventory/5/archives/cost.csv [Pipeline] lock 21:09:25 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] 21:09:25 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] did not exist. Created. 21:09:25 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:26 /w/workspace/app-rfid-llrp-inventory/5@tmp/durable-287601dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:09:27 + echo total: 0.10999999940395355 [Pipeline] stash 21:09:27 Warning: overwriting stash ‘stack-cost’ 21:09:27 Stashed 1 file(s) [Pipeline] } 21:09:27 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:27 $ docker stop --time=1 c057a0fc88053c82befede3de759c3b693340e54591d422aa17a71c269dd6e85 21:09:29 $ docker rm -f c057a0fc88053c82befede3de759c3b693340e54591d422aa17a71c269dd6e85 [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 21:09:29 provisioning config files... 21:09:29 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/config5063925455680411053tmp [Pipeline] { [Pipeline] sh 21:09:29 + set +x 21:09:29 + curl -s https://codecov.io/bash 21:09:29 + bash -s -- 21:09:29 21:09:29 _____ _ 21:09:29 / ____| | | 21:09:29 | | ___ __| | ___ ___ _____ __ 21:09:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:29 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:29 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:29 Bash-1.0.6 21:09:29 21:09:29 21:09:29 ==> git version 2.25.1 found 21:09:29 ==> 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 21:09:29 Release-Date: 2020-01-08 21:09:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:09:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:09:29 ==> Jenkins CI detected. 21:09:29 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-98 21:09:29 project root: . 21:09:29 --> token set from env 21:09:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:29 ==> Running gcov in . (disable via -X gcov) 21:09:29 ==> Python coveragepy not found 21:09:29 ==> Searching for coverage reports in: 21:09:29 + . 21:09:29 -> Found 1 reports 21:09:29 ==> Detecting git/mercurial file structure 21:09:29 ==> Reading reports 21:09:29 + ./coverage.out bytes=41008 21:09:29 ==> Appending adjustments 21:09:29 https://docs.codecov.io/docs/fixing-reports 21:09:30 + Found adjustments 21:09:30 ==> Gzipping contents 21:09:30 12K /tmp/codecov.I21hI4.gz 21:09:30 ==> Uploading reports 21:09:30 url: https://codecov.io 21:09:30 query: branch=PR-98&commit=fc81389db2b18c23a770aa80de1d99eb94944553&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-98%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=98&job=&cmd_args= 21:09:30 -> Pinging Codecov 21:09:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-98&commit=fc81389db2b18c23a770aa80de1d99eb94944553&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-98%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=98&job=&cmd_args= 21:09:30 -> Uploading to 21:09:30 https://storage.googleapis.com/codecov/v4/raw/2022-07-11/581DD39554BDF9B6E22D074273EAD858/fc81389db2b18c23a770aa80de1d99eb94944553/fdbc9bcc-f950-485b-93c1-b015db1e8309.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T210930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bc1d85182e66dde76c4d40d25ec90c7258c6d6cbfa9525ff59990bd34debdac 21:09:30 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:30 Dload Upload Total Spent Left Speed 21:09:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11491 0 0 100 11491 0 56328 --:--:-- --:--:-- --:--:-- 56053 100 11491 0 0 100 11491 0 36363 --:--:-- --:--:-- --:--:-- 36363 21:09:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] } 21:09:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:09:31 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives ] 21:09:31 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives 21:09:31 total 16 21:09:31 drwxr-xr-x 3 root root 4096 Jul 11 21:00 . 21:09:31 drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 21:00 .. 21:09:31 drwxr-xr-x 2 root root 4096 Jul 11 21:00 cost 21:09:31 -rw-r--r-- 1 root root 93 Jul 11 21:00 cost.csv 21:09:31 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives 21:09:31 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives 21:09:31 total 16 21:09:31 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 21:00 . 21:09:31 drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 21:00 .. 21:09:31 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 21:00 cost 21:09:31 -rw-r--r-- 1 jenkins jenkins 93 Jul 11 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:32 ---> package-listing.sh 21:09:32 ++ facter osfamily 21:09:32 ++ tr '[:upper:]' '[:lower:]' 21:09:32 + OS_FAMILY=debian 21:09:32 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-98 21:09:32 + START_PACKAGES=/tmp/packages_start.txt 21:09:32 + END_PACKAGES=/tmp/packages_end.txt 21:09:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:32 + PACKAGES=/tmp/packages_start.txt 21:09:32 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-98 ']' 21:09:32 + PACKAGES=/tmp/packages_end.txt 21:09:32 + case "${OS_FAMILY}" in 21:09:32 + dpkg -l 21:09:32 + grep '^ii' 21:09:32 + '[' -f /tmp/packages_start.txt ']' 21:09:32 + '[' -f /tmp/packages_end.txt ']' 21:09:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:32 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-98 ']' 21:09:32 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives/ 21:09:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives/ [Pipeline] echo 21:09:32 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/ry_app-rfid-llrp-inventory_PR-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:33 prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container 21:09:33 $ 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/ry_app-rfid-llrp-inventory_PR-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:33 $ docker top 8a095eb9a200c1800e1f3d79e4ac6373534221306c775a815a3c7cdcf8c8cfc7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:34 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:34 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:34 + ls /var/log/sa-host 21:09:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:34 provisioning config files... 21:09:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/config7074301086518132539tmp [Pipeline] { [Pipeline] echo 21:09:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:35 ---> create-netrc.sh [Pipeline] } 21:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:35 ---> python-tools-install.sh [Pipeline] echo 21:09:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:35 ---> sudo-logs.sh 21:09:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:36 ---> job-cost.sh 21:09:36 lf-activate-venv: SKIPPING 21:09:36 DEBUG: total: 0.2199999988079071 21:09:36 INFO: Retrieving Stack Cost... 21:09:36 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:37 INFO: Archiving Costs [Pipeline] echo 21:09:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:37 ---> logs-deploy.sh 21:09:37 lf-activate-venv: SKIPPING 21:09:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-98/5 21:09:37 INFO: archiving workspace using pattern(s): 21:09:38 Archives upload complete. 21:09:38 INFO: archiving logs to Nexus