Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57819d1de132e5dcf0fc65ae8abee5d2ec99f973+dc12914614d6a112f0a92a24f3d596335fb0de34 (7ec2f7f2261b5d70932e794a8c86657096a2d1eb) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3152457477184762858.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16667822668019044051.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-103/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 with 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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17568102939658739020.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh2793692780428008861.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb 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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4578744660833411244.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > 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 Running on prd-ubuntu20.04-docker-8c-8g-21845 in /w/workspace/y_app-rfid-llrp-inventory_PR-103 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/y_app-rfid-llrp-inventory_PR-103 # 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 dc12914614d6a112f0a92a24f3d596335fb0de34 into PR head commit 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 Merge succeeded, producing 432102183456a29e95cec892a51636b66a509bb9 Checking out Revision 432102183456a29e95cec892a51636b66a509bb9 (PR-103) > 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/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 # 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 dc12914614d6a112f0a92a24f3d596335fb0de34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 432102183456a29e95cec892a51636b66a509bb9 # timeout=10 Commit message: "Merge commit 'dc12914614d6a112f0a92a24f3d596335fb0de34' into HEAD" > git rev-list --no-walk 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:58:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:58:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:58:40 ========================================================= 23:58:40 EdgeX Global Pipelines Version Info 23:58:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:58:41 ------------------- 23:58:41 stable info: 23:58:41 ------------------- 23:58:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:41 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:58:41 Message: update stable to v1.0.238 23:58:41 ------------------- 23:58:41 experimental info: 23:58:41 ------------------- 23:58:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:41 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:58:41 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 432102183456a29e95cec892a51636b66a509bb9 [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4321021 [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:58:42 provisioning config files... 23:58:42 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/config5909293132710772703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:42 ---> docker-login.sh 23:58:42 nexus3.edgexfoundry.org:10001 23:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:43 Configure a credential helper to remove this warning. See 23:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:43 23:58:43 Login Succeeded 23:58:43 nexus3.edgexfoundry.org:10002 23:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:43 Configure a credential helper to remove this warning. See 23:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:43 23:58:43 Login Succeeded 23:58:43 nexus3.edgexfoundry.org:10003 23:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:43 Configure a credential helper to remove this warning. See 23:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:43 23:58:43 Login Succeeded 23:58:43 nexus3.edgexfoundry.org:10004 23:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:43 Configure a credential helper to remove this warning. See 23:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:43 23:58:43 Login Succeeded 23:58:43 docker.io 23:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:44 Configure a credential helper to remove this warning. See 23:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:44 23:58:44 Login Succeeded 23:58:44 ---> docker-login.sh ends [Pipeline] } 23:58:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:58:44 + git rev-list -1 --merges 432102183456a29e95cec892a51636b66a509bb9~1..432102183456a29e95cec892a51636b66a509bb9 [Pipeline] echo 23:58:44 -----------> git rev-list -1 --merges 432102183456a29e95cec892a51636b66a509bb9~1..432102183456a29e95cec892a51636b66a509bb9 432102183456a29e95cec892a51636b66a509bb9 23:58:44 432102183456a29e95cec892a51636b66a509bb9 [false] [Pipeline] sh 23:58:45 + git log --format=format:%s -1 432102183456a29e95cec892a51636b66a509bb9 [Pipeline] echo 23:58:45 ========================================================= 23:58:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:58:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:45 + git log --format=format:%s -1 432102183456a29e95cec892a51636b66a509bb9 [Pipeline] echo 23:58:45 [semverPrep] GIT_COMMIT: 432102183456a29e95cec892a51636b66a509bb9, Commit Message: Merge commit 'dc12914614d6a112f0a92a24f3d596335fb0de34' into HEAD [Pipeline] echo 23:58:45 [semverPrep] This is not a build commit. [Pipeline] sh 23:58:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:58:45 + grep -v github /etc/ssh/ssh_known_hosts 23:58:45 + [ -e /tmp/ssh_known_hosts ] 23:58:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:58:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:58:45 + sudo tee -a /etc/ssh/ssh_known_hosts 23:58:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:58:46 23:58:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:58:46 0.1.4: Pulling from edgex-devops/py-git-semver 23:58:46 b85a868b505f: Pulling fs layer 23:58:46 e2be974225ed: Pulling fs layer 23:58:46 339a4e72a1f5: Pulling fs layer 23:58:46 988bab9f4d93: Pulling fs layer 23:58:46 1469e6f7b9e6: Pulling fs layer 23:58:46 eaf3925da568: Pulling fs layer 23:58:46 bab4dde63d76: Pulling fs layer 23:58:46 bde34c3a00c8: Pulling fs layer 23:58:46 b352a97aabf1: Pulling fs layer 23:58:46 4872d77fe225: Pulling fs layer 23:58:46 5851b861e8e6: Pulling fs layer 23:58:46 bde34c3a00c8: Waiting 23:58:46 b352a97aabf1: Waiting 23:58:46 1469e6f7b9e6: Waiting 23:58:46 eaf3925da568: Waiting 23:58:46 4872d77fe225: Waiting 23:58:46 bab4dde63d76: Waiting 23:58:46 5851b861e8e6: Waiting 23:58:46 988bab9f4d93: Waiting 23:58:46 e2be974225ed: Download complete 23:58:46 988bab9f4d93: Download complete 23:58:46 1469e6f7b9e6: Verifying Checksum 23:58:46 1469e6f7b9e6: Download complete 23:58:46 339a4e72a1f5: Verifying Checksum 23:58:46 339a4e72a1f5: Download complete 23:58:46 eaf3925da568: Download complete 23:58:46 bde34c3a00c8: Download complete 23:58:46 b352a97aabf1: Verifying Checksum 23:58:46 b352a97aabf1: Download complete 23:58:46 4872d77fe225: Download complete 23:58:46 5851b861e8e6: Download complete 23:58:46 b85a868b505f: Verifying Checksum 23:58:46 b85a868b505f: Download complete 23:58:47 bab4dde63d76: Verifying Checksum 23:58:47 bab4dde63d76: Download complete 23:58:48 b85a868b505f: Pull complete 23:58:48 e2be974225ed: Pull complete 23:58:48 339a4e72a1f5: Pull complete 23:58:48 988bab9f4d93: Pull complete 23:58:49 1469e6f7b9e6: Pull complete 23:58:49 eaf3925da568: Pull complete 23:58:51 bab4dde63d76: Pull complete 23:58:51 bde34c3a00c8: Pull complete 23:58:51 b352a97aabf1: Pull complete 23:58:51 4872d77fe225: Pull complete 23:58:51 5851b861e8e6: Pull complete 23:58:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:58:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:51 prd-ubuntu20.04-docker-8c-8g-21845 does not seem to be running inside a container 23:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:58:52 $ docker top ba77e326560b5305000481320a1d7241b67d0d7c6cbe6e97a5d3163f9764f2e5 -eo pid,comm 23:58:52 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). 23:58:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:58:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:52 [ssh-agent] Looking for ssh-agent implementation... 23:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:52 $ docker exec ba77e326560b5305000481320a1d7241b67d0d7c6cbe6e97a5d3163f9764f2e5 ssh-agent 23:58:52 SSH_AUTH_SOCK=/tmp/ssh-KvVLI44EDImS/agent.33 23:58:52 SSH_AGENT_PID=39 23:58:52 Running ssh-add (command line suppressed) 23:58:53 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/private_key_1450365948337199609.key (/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/private_key_1450365948337199609.key) 23:58:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:53 + git tag --points-at HEAD [Pipeline] } 23:58:53 $ docker exec --env ******** --env ******** ba77e326560b5305000481320a1d7241b67d0d7c6cbe6e97a5d3163f9764f2e5 ssh-agent -k 23:58:53 unset SSH_AUTH_SOCK; 23:58:53 unset SSH_AGENT_PID; 23:58:53 echo Agent pid 39 killed; 23:58:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:58:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:53 [ssh-agent] Looking for ssh-agent implementation... 23:58:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:53 $ docker exec ba77e326560b5305000481320a1d7241b67d0d7c6cbe6e97a5d3163f9764f2e5 ssh-agent 23:58:53 SSH_AUTH_SOCK=/tmp/ssh-Obqq7jPe8dzc/agent.71 23:58:53 SSH_AGENT_PID=77 23:58:53 Running ssh-add (command line suppressed) 23:58:53 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/private_key_471432869893237539.key (/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/private_key_471432869893237539.key) 23:58:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:54 + git semver init 23:58:54 2022-08-02 23:58:54,334 [run_init] DEBUG init version:0.0.0 force:False 23:58:54 2022-08-02 23:58:54,335 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver 23:58:54 2022-08-02 23:58:54,335 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver 23:58:54 2022-08-02 23:58:54,336 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-103, universal_newlines=False, shell=None, istream=None) 23:58:55 2022-08-02 23:58:55,302 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103/.git/info/exclude 23:58:55 2022-08-02 23:58:55,303 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver/PR-103 with force:False 23:58:55 2022-08-02 23:58:55,303 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver/PR-103 23:58:55 2022-08-02 23:58:55,307 [execute] INFO git cat-file --batch-check 23:58:55 2022-08-02 23:58:55,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver, universal_newlines=False, shell=None, istream=) 23:58:55 2022-08-02 23:58:55,312 [execute] INFO git cat-file --batch 23:58:55 2022-08-02 23:58:55,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver, universal_newlines=False, shell=None, istream=) 23:58:55 2022-08-02 23:58:55,317 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver/PR-103 23:58:55 0.0.0 [Pipeline] } 23:58:55 $ docker exec --env ******** --env ******** ba77e326560b5305000481320a1d7241b67d0d7c6cbe6e97a5d3163f9764f2e5 ssh-agent -k 23:58:55 unset SSH_AUTH_SOCK; 23:58:55 unset SSH_AGENT_PID; 23:58:55 echo Agent pid 77 killed; 23:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:58:55 + git semver [Pipeline] } 23:58:56 $ docker stop --time=1 ba77e326560b5305000481320a1d7241b67d0d7c6cbe6e97a5d3163f9764f2e5 23:58:57 $ docker rm -f ba77e326560b5305000481320a1d7241b67d0d7c6cbe6e97a5d3163f9764f2e5 [Pipeline] // withDockerContainer [Pipeline] sh 23:58:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:58:57 Stashed 1 file(s) [Pipeline] echo 23:58:57 [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 23:58:58 provisioning config files... 23:58:58 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/config1662110792632486812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:58 ---> docker-login.sh 23:58:58 nexus3.edgexfoundry.org:10001 23:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:58 Configure a credential helper to remove this warning. See 23:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:58 23:58:58 Login Succeeded 23:58:58 nexus3.edgexfoundry.org:10002 23:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:58 Configure a credential helper to remove this warning. See 23:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:58 23:58:58 Login Succeeded 23:58:58 nexus3.edgexfoundry.org:10003 23:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:58 Configure a credential helper to remove this warning. See 23:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:58 23:58:58 Login Succeeded 23:58:58 nexus3.edgexfoundry.org:10004 23:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:58 Configure a credential helper to remove this warning. See 23:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:58 23:58:58 Login Succeeded 23:58:58 docker.io 23:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:59 Configure a credential helper to remove this warning. See 23:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:59 23:58:59 Login Succeeded 23:58:59 ---> docker-login.sh ends [Pipeline] } 23:58:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:58:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:59 ========================================================= 23:58:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:58:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:59 + 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 . 23:58:59 Sending build context to Docker daemon 12.46MB 23:58:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:58:59 Step 2/13 : FROM ${BASE} AS builder 23:58:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:58:59 2408cc74d12b: Pulling fs layer 23:58:59 ea60b727a1ce: Pulling fs layer 23:58:59 30c4a7721957: Pulling fs layer 23:58:59 370296b7ddb6: Pulling fs layer 23:58:59 7c6cee850709: Pulling fs layer 23:58:59 39a5fcdaea64: Pulling fs layer 23:58:59 370296b7ddb6: Waiting 23:58:59 7c6cee850709: Waiting 23:58:59 d94ebbe4e438: Pulling fs layer 23:58:59 bcfd1f05c69d: Pulling fs layer 23:58:59 59ccb84bbe0f: Pulling fs layer 23:58:59 39a5fcdaea64: Waiting 23:58:59 bcfd1f05c69d: Waiting 23:58:59 d94ebbe4e438: Waiting 23:58:59 59ccb84bbe0f: Waiting 23:58:59 30c4a7721957: Verifying Checksum 23:58:59 30c4a7721957: Download complete 23:58:59 ea60b727a1ce: Download complete 23:58:59 7c6cee850709: Download complete 23:58:59 39a5fcdaea64: Verifying Checksum 23:58:59 39a5fcdaea64: Download complete 23:58:59 2408cc74d12b: Verifying Checksum 23:58:59 2408cc74d12b: Download complete 23:58:59 d94ebbe4e438: Verifying Checksum 23:58:59 d94ebbe4e438: Download complete 23:58:59 2408cc74d12b: Pull complete 23:58:59 ea60b727a1ce: Pull complete 23:59:00 30c4a7721957: Pull complete 23:59:00 59ccb84bbe0f: Verifying Checksum 23:59:00 59ccb84bbe0f: Download complete 23:59:00 bcfd1f05c69d: Verifying Checksum 23:59:00 bcfd1f05c69d: Download complete 23:59:00 370296b7ddb6: Verifying Checksum 23:59:00 370296b7ddb6: Download complete 23:59:04 370296b7ddb6: Pull complete 23:59:04 7c6cee850709: Pull complete 23:59:04 39a5fcdaea64: Pull complete 23:59:04 d94ebbe4e438: Pull complete 23:59:06 bcfd1f05c69d: Pull complete 23:59:07 59ccb84bbe0f: Pull complete 23:59:07 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:59:07 ---> a4fb48ad2a94 23:59:07 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:59:08 ---> Running in bfae29c1fc99 23:59:09 Removing intermediate container bfae29c1fc99 23:59:09 ---> bb2c0793d299 23:59:09 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 23:59:09 ---> Running in b49eea7b473f 23:59:09 Removing intermediate container b49eea7b473f 23:59:09 ---> ff24c4f4d301 23:59:09 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:59:09 ---> Running in e90c6fd80f89 23:59:09 Removing intermediate container e90c6fd80f89 23:59:09 ---> c5a94acd4637 23:59:09 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:59:09 ---> Running in c7644c53437b 23:59:09 Removing intermediate container c7644c53437b 23:59:09 ---> 8ecd8202014f 23:59:09 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:09 ---> Running in d6c6616cae55 23:59:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:59:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:59:11 OK: 211 MiB in 51 packages 23:59:11 Removing intermediate container d6c6616cae55 23:59:11 ---> b9fbca5353fe 23:59:11 Step 8/13 : WORKDIR /app 23:59:11 ---> Running in 6e2d26f69920 23:59:11 Removing intermediate container 6e2d26f69920 23:59:11 ---> ea728ba6121c 23:59:11 Step 9/13 : COPY go.mod vendor* ./ 23:59:11 ---> bd0e5fe46205 23:59:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:11 ---> Running in 8fba42d1fc9d 23:59:13 Still waiting to schedule task 23:59:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:59:29 Removing intermediate container 8fba42d1fc9d 23:59:29 ---> ba6e7a41805a 23:59:29 Step 11/13 : COPY . . 23:59:29 ---> 283dbc738721 23:59:29 Step 12/13 : ARG MAKE="make build" 23:59:29 ---> Running in 21303dc6b89b 23:59:29 Removing intermediate container 21303dc6b89b 23:59:29 ---> 4e1bc2def640 23:59:29 Step 13/13 : RUN $MAKE 23:59:29 ---> Running in 83cfc0422781 23:59:29 noop 23:59:29 Removing intermediate container 83cfc0422781 23:59:29 ---> 4ca59d29fdb7 23:59:29 Successfully built 4ca59d29fdb7 23:59:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:30 + docker inspect -f . ci-base-image-x86_64 23:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:30 prd-ubuntu20.04-docker-8c-8g-21845 does not seem to be running inside a container 23:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@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 ******** ci-base-image-x86_64 cat 23:59:30 $ docker top 68e1093c5b5f96b2e84eec91e220ceaae7a1ebb0f793335a0a8fdb277af71d04 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:30 + go version 23:59:30 go version go1.18.3 linux/amd64 [Pipeline] } 23:59:30 $ docker stop --time=1 68e1093c5b5f96b2e84eec91e220ceaae7a1ebb0f793335a0a8fdb277af71d04 23:59:32 $ docker rm -f 68e1093c5b5f96b2e84eec91e220ceaae7a1ebb0f793335a0a8fdb277af71d04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:32 + docker inspect -f . ci-base-image-x86_64 23:59:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:32 prd-ubuntu20.04-docker-8c-8g-21845 does not seem to be running inside a container 23:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/y_app-rfid-llrp-inventory_PR-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@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 ******** ci-base-image-x86_64 cat 23:59:32 $ docker top 9f351053f36d60c2224bac765764cd9bc38460bb13363526acddc93025e5ed17 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:33 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-103 [Pipeline] fileExists [Pipeline] sh 23:59:33 + make test 23:59:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:59:43 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 23:59:43 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.032s coverage: 86.2% of statements 23:59:43 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 23:59:44 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.547s coverage: 71.9% of statements 23:59:51 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." 23:59:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:59:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:59:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:59:54 ./bin/test-attribution.sh [Pipeline] echo 23:59:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:59:54 $ docker stop --time=1 9f351053f36d60c2224bac765764cd9bc38460bb13363526acddc93025e5ed17 23:59:56 $ docker rm -f 9f351053f36d60c2224bac765764cd9bc38460bb13363526acddc93025e5ed17 [Pipeline] // withDockerContainer [Pipeline] sh 23:59:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:59:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:59:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:59:57 + ls -al . 23:59:57 total 228 23:59:57 drwxrwxr-x 11 jenkins jenkins 4096 Aug 2 23:59 . 23:59:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 23:58 .. 23:59:57 -rw-rw-r-- 1 jenkins jenkins 262 Aug 2 23:58 .dockerignore 23:59:57 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 23:59 .git 23:59:57 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 23:58 .github 23:59:57 -rw-rw-r-- 1 jenkins jenkins 788 Aug 2 23:58 .gitignore 23:59:57 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 23:58 .golangci.yml 23:59:57 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 23:58 .semver 23:59:57 -rw-rw-r-- 1 jenkins jenkins 9546 Aug 2 23:58 Attribution.txt 23:59:57 -rw-rw-r-- 1 jenkins jenkins 2487 Aug 2 23:58 CHANGELOG.md 23:59:57 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 2 23:58 Dockerfile 23:59:57 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 23:58 GOVERNANCE.md 23:59:57 -rw-rw-r-- 1 jenkins jenkins 687 Aug 2 23:58 Jenkinsfile 23:59:57 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 2 23:58 LICENSE 23:59:57 -rw-rw-r-- 1 jenkins jenkins 2949 Aug 2 23:58 Makefile 23:59:57 -rw-rw-r-- 1 jenkins jenkins 617 Aug 2 23:58 OWNERS.md 23:59:57 -rw-rw-r-- 1 jenkins jenkins 30359 Aug 2 23:58 README.md 23:59:57 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 23:58 VERSION 23:59:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 23:58 bin 23:59:57 -rw-r--r-- 1 jenkins jenkins 41008 Aug 2 23:59 coverage.out 23:59:57 -rw-rw-r-- 1 jenkins jenkins 3540 Aug 2 23:58 go.mod 23:59:57 -rw-rw-r-- 1 jenkins jenkins 36292 Aug 2 23:58 go.sum 23:59:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 23:58 images 23:59:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 23:58 internal 23:59:57 -rw-rw-r-- 1 jenkins jenkins 531 Aug 2 23:58 main.go 23:59:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 23:58 res 23:59:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 23:58 snap 23:59:57 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 23:58 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:58 + 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=432102183456a29e95cec892a51636b66a509bb9 --label arch=amd64 --label version=0.0.0 . 23:59:58 Sending build context to Docker daemon 12.46MB 23:59:58 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 23:59:58 Step 2/31 : FROM ${BASE} AS builder 23:59:58 ---> 4ca59d29fdb7 23:59:58 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:59:58 ---> Running in cf657ee48b4d 23:59:58 Removing intermediate container cf657ee48b4d 23:59:58 ---> b2352fac5c6d 23:59:58 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 23:59:58 ---> Running in 87864d864f02 23:59:58 Removing intermediate container 87864d864f02 23:59:58 ---> 6d753076fd76 23:59:58 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:59:58 ---> Running in 2a7d0b5e1565 23:59:58 Removing intermediate container 2a7d0b5e1565 23:59:58 ---> 148c6be6a8b9 23:59:58 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:59:58 ---> Running in 2f7d6ec83bcf 23:59:58 Removing intermediate container 2f7d6ec83bcf 23:59:58 ---> 1e789149c332 23:59:58 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:58 ---> Running in 2c2852a07ca2 23:59:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:00:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:00:00 OK: 211 MiB in 51 packages 00:00:00 Removing intermediate container 2c2852a07ca2 00:00:00 ---> 65d3e0222d34 00:00:00 Step 8/31 : WORKDIR /app 00:00:00 ---> Running in 24f9a1406b2f 00:00:00 Removing intermediate container 24f9a1406b2f 00:00:00 ---> 329c0443d07e 00:00:00 Step 9/31 : COPY go.mod vendor* ./ 00:00:00 ---> 42f5d0b9006b 00:00:00 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:00 ---> Running in b553a35ab56d 00:00:01 Removing intermediate container b553a35ab56d 00:00:01 ---> 23f9eedacbca 00:00:01 Step 11/31 : COPY . . 00:00:02 ---> 9bc0e773e511 00:00:02 Step 12/31 : ARG MAKE="make build" 00:00:02 ---> Running in 04d499edd50f 00:00:02 Removing intermediate container 04d499edd50f 00:00:02 ---> 4b44dfa50b0c 00:00:02 Step 13/31 : RUN $MAKE 00:00:02 ---> Running in dc9298b94ee7 00:00:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.27 -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 00:00:24 Removing intermediate container dc9298b94ee7 00:00:24 ---> 394535e40c92 00:00:24 Step 14/31 : FROM alpine:3.14 00:00:24 3.14: Pulling from library/alpine 00:00:24 decfdc335d9b: Pulling fs layer 00:00:24 decfdc335d9b: Verifying Checksum 00:00:24 decfdc335d9b: Download complete 00:00:24 decfdc335d9b: Pull complete 00:00:24 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 00:00:24 Status: Downloaded newer image for alpine:3.14 00:00:24 ---> 5977be310a9d 00:00:24 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:00:24 ---> Running in 78ae81a92218 00:00:24 Removing intermediate container 78ae81a92218 00:00:24 ---> ae93f702d408 00:00:24 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 00:00:24 ---> Running in 8045d67210f1 00:00:24 Removing intermediate container 8045d67210f1 00:00:24 ---> 21f42abe0812 00:00:24 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:00:24 ---> Running in 8aa69d20c6df 00:00:24 Removing intermediate container 8aa69d20c6df 00:00:24 ---> cc2d259a1d04 00:00:24 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 00:00:24 ---> Running in 2b969574144f 00:00:24 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:00:24 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:00:24 (1/7) Installing ca-certificates (20220614-r0) 00:00:24 (2/7) Installing dumb-init (1.2.5-r1) 00:00:24 (3/7) Installing libgcc (10.3.1_git20210424-r2) 00:00:24 (4/7) Installing libsodium (1.0.18-r0) 00:00:24 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 00:00:24 (6/7) Installing libzmq (4.3.4-r0) 00:00:24 (7/7) Installing zeromq (4.3.4-r0) 00:00:24 Executing busybox-1.33.1-r8.trigger 00:00:24 Executing ca-certificates-20220614-r0.trigger 00:00:25 OK: 9 MiB in 21 packages 00:00:25 Removing intermediate container 2b969574144f 00:00:25 ---> 61a478c2d0f1 00:00:25 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:00:25 ---> faf1a3c25361 00:00:25 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 00:00:25 ---> 06a5e7ea6c62 00:00:25 Step 21/31 : COPY --from=builder /app/res/ /res/ 00:00:25 ---> 1954da233b62 00:00:25 Step 22/31 : COPY --from=builder /app/static/ /static/ 00:00:25 ---> df70b6af5ec7 00:00:25 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 00:00:26 ---> f406285d0c46 00:00:26 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 00:00:26 ---> Running in 14287dc7365c 00:00:26 Removing intermediate container 14287dc7365c 00:00:26 ---> a0ccb633f0ee 00:00:26 Step 25/31 : VOLUME /cache 00:00:26 ---> Running in 03f37e6f1adc 00:00:26 Removing intermediate container 03f37e6f1adc 00:00:26 ---> 46140a347b53 00:00:26 Step 26/31 : EXPOSE 59711 00:00:26 ---> Running in fb6b1ba682e6 00:00:26 Removing intermediate container fb6b1ba682e6 00:00:26 ---> c09179cbc2f2 00:00:26 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 00:00:26 ---> Running in 48bb79359718 00:00:27 Removing intermediate container 48bb79359718 00:00:27 ---> e725e49557c8 00:00:27 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 00:00:27 ---> Running in 4b30440a706e 00:00:27 Removing intermediate container 4b30440a706e 00:00:27 ---> 74b35f622d7f 00:00:27 Step 29/31 : LABEL arch=amd64 00:00:27 ---> Running in a9854ad58814 00:00:27 Removing intermediate container a9854ad58814 00:00:27 ---> dc397c9385ea 00:00:27 Step 30/31 : LABEL git_sha=432102183456a29e95cec892a51636b66a509bb9 00:00:27 ---> Running in b3b7d5174b6b 00:00:27 Removing intermediate container b3b7d5174b6b 00:00:27 ---> d86bc633fd37 00:00:27 Step 31/31 : LABEL version=0.0.0 00:00:27 ---> Running in 7e0b11630115 00:00:27 Removing intermediate container 7e0b11630115 00:00:27 ---> 6c1638c7a1d5 00:00:27 [Warning] One or more build-args [ARCH] were not consumed 00:00:27 Successfully built 6c1638c7a1d5 00:00:27 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 00:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:27 00:00:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:28 latest: Pulling from edgex-lftools-log-publisher 00:00:28 5eb5b503b376: Pulling fs layer 00:00:28 5c69ac0246d0: Pulling fs layer 00:00:28 ec43610c2a17: Pulling fs layer 00:00:28 3a2ae6a8a46f: Pulling fs layer 00:00:28 33b1e0a273af: Pulling fs layer 00:00:28 5d3b04190fa2: Pulling fs layer 00:00:28 2f39f015ded8: Pulling fs layer 00:00:28 3a2ae6a8a46f: Waiting 00:00:28 33b1e0a273af: Waiting 00:00:28 2f39f015ded8: Waiting 00:00:28 5d3b04190fa2: Waiting 00:00:28 5c69ac0246d0: Download complete 00:00:28 3a2ae6a8a46f: Verifying Checksum 00:00:28 3a2ae6a8a46f: Download complete 00:00:28 33b1e0a273af: Verifying Checksum 00:00:28 33b1e0a273af: Download complete 00:00:28 5d3b04190fa2: Verifying Checksum 00:00:28 5d3b04190fa2: Download complete 00:00:28 ec43610c2a17: Verifying Checksum 00:00:28 ec43610c2a17: Download complete 00:00:28 5eb5b503b376: Verifying Checksum 00:00:28 5eb5b503b376: Download complete 00:00:29 2f39f015ded8: Download complete 00:00:29 5eb5b503b376: Pull complete 00:00:29 5c69ac0246d0: Pull complete 00:00:30 ec43610c2a17: Pull complete 00:00:30 3a2ae6a8a46f: Pull complete 00:00:30 33b1e0a273af: Pull complete 00:00:30 5d3b04190fa2: Pull complete 00:00:34 2f39f015ded8: Pull complete 00:00:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:00:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:34 prd-ubuntu20.04-docker-8c-8g-21845 does not seem to be running inside a container 00:00:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:00:36 $ docker top 811c84619ba8cedd6b18dd89781916f63814e4369eb1bbec92a1775942fe1fb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:36 ---> job-cost.sh 00:00:36 lf-activate-venv: SKIPPING 00:00:36 INFO: No Stack... 00:00:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:00:37 INFO: Archiving Costs [Pipeline] sh 00:00:37 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives/cost.csv 00:00:37 + cut -d, -f6 [Pipeline] lock 00:00:37 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-2-stack-cost] 00:00:37 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-2-stack-cost] did not exist. Created. 00:00:37 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:00:37 + echo total: 0.2199999988079071 [Pipeline] stash 00:00:37 Stashed 1 file(s) [Pipeline] } 00:00:37 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:00:37 $ docker stop --time=1 811c84619ba8cedd6b18dd89781916f63814e4369eb1bbec92a1775942fe1fb8 00:00:39 $ docker rm -f 811c84619ba8cedd6b18dd89781916f63814e4369eb1bbec92a1775942fe1fb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:00:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21846 in /w/workspace/y_app-rfid-llrp-inventory_PR-103 [Pipeline] { [Pipeline] ws 00:00:48 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 00:00:48 The recommended git tool is: git 00:00:54 using credential edgex-jenkins-ssh 00:00:54 Cloning the remote Git repository 00:00:54 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 00:00:54 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 00:00:55 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 00:00:55 > git --version # timeout=10 00:00:55 > git --version # 'git version 2.25.1' 00:00:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:57 Merging remotes/origin/main commit dc12914614d6a112f0a92a24f3d596335fb0de34 into PR head commit 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 00:00:57 Merge succeeded, producing e1db43f5d8c5f33bf7066b0db10a7b657e2cd580 00:00:57 Checking out Revision e1db43f5d8c5f33bf7066b0db10a7b657e2cd580 (PR-103) 00:00:57 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 00:00:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:57 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 00:00:57 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 00:00:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:00:57 > git config core.sparsecheckout # timeout=10 00:00:57 > git checkout -f 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 # timeout=10 00:00:57 > git remote # timeout=10 00:00:57 > git config --get remote.origin.url # timeout=10 00:00:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:57 > git merge dc12914614d6a112f0a92a24f3d596335fb0de34 # timeout=10 00:00:57 > git rev-parse HEAD^{commit} # timeout=10 00:00:57 > git config core.sparsecheckout # timeout=10 00:00:57 > git checkout -f e1db43f5d8c5f33bf7066b0db10a7b657e2cd580 # timeout=10 00:01:02 Commit message: "Merge commit 'dc12914614d6a112f0a92a24f3d596335fb0de34' into HEAD" 00:01:02 > git rev-list --no-walk 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:01:03 % Total % Received % Xferd Average Speed Time Time Time Current 00:01:03 Dload Upload Total Spent Left Speed 00:01:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 93424 0 --:--:-- --:--:-- --:--:-- 92721 100 12332 100 12332 0 0 92029 0 --:--:-- --:--:-- --:--:-- 92029 [Pipeline] sh 00:01:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:01:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:01:04 + sudo tee /etc/docker/daemon.new 00:01:04 { 00:01:04 "registry-mirrors": [ 00:01:04 "https://nexus3.edgexfoundry.org:10001" 00:01:04 ], 00:01:04 "bip": "10.250.0.254/24", 00:01:04 "hosts": [ 00:01:04 "tcp://0.0.0.0:5555", 00:01:04 "unix:///var/run/docker.sock" 00:01:04 ], 00:01:04 "mtu": 1458, 00:01:04 "selinux-enabled": true, 00:01:04 "seccomp-profile": "/etc/docker/seccomp.json" 00:01:04 } [Pipeline] sh 00:01:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:01:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:01:23 provisioning config files... 00:01:23 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config6360225941441970492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:23 ---> docker-login.sh 00:01:23 nexus3.edgexfoundry.org:10001 00:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:24 Configure a credential helper to remove this warning. See 00:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:24 00:01:24 Login Succeeded 00:01:24 nexus3.edgexfoundry.org:10002 00:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:24 Configure a credential helper to remove this warning. See 00:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:24 00:01:24 Login Succeeded 00:01:25 nexus3.edgexfoundry.org:10003 00:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:25 Configure a credential helper to remove this warning. See 00:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:25 00:01:25 Login Succeeded 00:01:25 nexus3.edgexfoundry.org:10004 00:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:26 Configure a credential helper to remove this warning. See 00:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:26 00:01:26 Login Succeeded 00:01:26 docker.io 00:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:26 Configure a credential helper to remove this warning. See 00:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:26 00:01:26 Login Succeeded 00:01:26 ---> docker-login.sh ends [Pipeline] } 00:01:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:01:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:01:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:01:27 ========================================================= 00:01:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:01:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:27 + 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 . 00:01:27 Sending build context to Docker daemon 682kB 00:01:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:01:27 Step 2/13 : FROM ${BASE} AS builder 00:01:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:01:28 b3c136eddcbf: Pulling fs layer 00:01:28 c0a3192eca97: Pulling fs layer 00:01:28 a050256f5b6f: Pulling fs layer 00:01:28 656be50a0ddc: Pulling fs layer 00:01:28 2bbca73fdf42: Pulling fs layer 00:01:28 46d945488cbd: Pulling fs layer 00:01:28 8a5474983e97: Pulling fs layer 00:01:28 329c88fbcd65: Pulling fs layer 00:01:28 656be50a0ddc: Waiting 00:01:28 2bbca73fdf42: Waiting 00:01:28 46d945488cbd: Waiting 00:01:28 8a5474983e97: Waiting 00:01:28 329c88fbcd65: Waiting 00:01:28 a050256f5b6f: Verifying Checksum 00:01:28 a050256f5b6f: Download complete 00:01:28 c0a3192eca97: Verifying Checksum 00:01:28 c0a3192eca97: Download complete 00:01:28 2bbca73fdf42: Verifying Checksum 00:01:28 2bbca73fdf42: Download complete 00:01:28 b3c136eddcbf: Verifying Checksum 00:01:28 b3c136eddcbf: Download complete 00:01:28 46d945488cbd: Verifying Checksum 00:01:28 46d945488cbd: Download complete 00:01:29 b3c136eddcbf: Pull complete 00:01:29 329c88fbcd65: Verifying Checksum 00:01:29 329c88fbcd65: Download complete 00:01:29 c0a3192eca97: Pull complete 00:01:30 a050256f5b6f: Pull complete 00:01:30 8a5474983e97: Verifying Checksum 00:01:30 8a5474983e97: Download complete 00:01:31 656be50a0ddc: Verifying Checksum 00:01:31 656be50a0ddc: Download complete 00:01:43 656be50a0ddc: Pull complete 00:01:43 2bbca73fdf42: Pull complete 00:01:44 46d945488cbd: Pull complete 00:01:50 8a5474983e97: Pull complete 00:01:52 329c88fbcd65: Pull complete 00:01:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:01:52 ---> ff4287adb874 00:01:52 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:01:54 ---> Running in ca970d81ece0 00:01:54 Removing intermediate container ca970d81ece0 00:01:54 ---> 0a263d145ef4 00:01:54 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:01:54 ---> Running in 24b3375f7d3f 00:01:54 Removing intermediate container 24b3375f7d3f 00:01:54 ---> 034d406c5333 00:01:54 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:01:54 ---> Running in 492d332da4f0 00:01:56 Removing intermediate container 492d332da4f0 00:01:56 ---> ed1f0d62575e 00:01:56 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:01:56 ---> Running in 61c3c1d2f342 00:01:57 Removing intermediate container 61c3c1d2f342 00:01:57 ---> a693b530ef8b 00:01:57 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:01:57 ---> Running in c8ad0c6119fe 00:01:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:01:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:02:00 OK: 221 MiB in 51 packages 00:02:01 Removing intermediate container c8ad0c6119fe 00:02:01 ---> 65539254950c 00:02:01 Step 8/13 : WORKDIR /app 00:02:01 ---> Running in 2b6278a0a745 00:02:01 Removing intermediate container 2b6278a0a745 00:02:01 ---> d6a8b9cc03fe 00:02:01 Step 9/13 : COPY go.mod vendor* ./ 00:02:02 ---> bc0d8c66b24d 00:02:02 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:02 ---> Running in ebf15634695c 00:02:49 Removing intermediate container ebf15634695c 00:02:49 ---> 3199672d452e 00:02:49 Step 11/13 : COPY . . 00:02:49 ---> 2778aa4ac0fd 00:02:49 Step 12/13 : ARG MAKE="make build" 00:02:49 ---> Running in 03f89b8abca1 00:02:49 Removing intermediate container 03f89b8abca1 00:02:49 ---> a8eba87fb570 00:02:49 Step 13/13 : RUN $MAKE 00:02:49 ---> Running in 84539f230b20 00:02:49 noop 00:02:49 Removing intermediate container 84539f230b20 00:02:49 ---> 262368a4546f 00:02:49 Successfully built 262368a4546f 00:02:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:49 + docker inspect -f . ci-base-image-arm64 00:02:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:50 prd-ubuntu20.04-docker-arm64-4c-16g-21846 does not seem to be running inside a container 00:02:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** ci-base-image-arm64 cat 00:02:51 $ docker top b07a53ce236d4a168bff74a7f5d9b2e604b0ad94d502b85f31f0e5e26cb33ed5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:52 + go version 00:02:52 go version go1.18.3 linux/arm64 [Pipeline] } 00:02:52 $ docker stop --time=1 b07a53ce236d4a168bff74a7f5d9b2e604b0ad94d502b85f31f0e5e26cb33ed5 00:02:53 $ docker rm -f b07a53ce236d4a168bff74a7f5d9b2e604b0ad94d502b85f31f0e5e26cb33ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:54 + docker inspect -f . ci-base-image-arm64 00:02:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:54 prd-ubuntu20.04-docker-arm64-4c-16g-21846 does not seem to be running inside a container 00:02:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** ci-base-image-arm64 cat 00:02:56 $ docker top 8ea1250ac1732356be9f8f81166ab048b47dbb7498dd8aa465ff6395a16bc9ed -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:56 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] fileExists [Pipeline] sh 00:02:57 + make test 00:02:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:04:19 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 00:04:19 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.135s coverage: 86.2% of statements 00:04:19 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 00:04:24 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.704s coverage: 71.9% of statements 00:04:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:04:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:04:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:04:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:04:47 ./bin/test-attribution.sh [Pipeline] echo 00:04:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:04:47 $ docker stop --time=1 8ea1250ac1732356be9f8f81166ab048b47dbb7498dd8aa465ff6395a16bc9ed 00:04:48 $ docker rm -f 8ea1250ac1732356be9f8f81166ab048b47dbb7498dd8aa465ff6395a16bc9ed [Pipeline] // withDockerContainer [Pipeline] sh 00:04:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:49 Warning: overwriting stash ‘coverage-report’ 00:04:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:04:51 + ls -al . 00:04:51 total 224 00:04:51 drwxrwxr-x 10 jenkins jenkins 4096 Aug 3 00:02 . 00:04:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 00:00 .. 00:04:51 -rw-rw-r-- 1 jenkins jenkins 262 Aug 3 00:00 .dockerignore 00:04:51 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 00:01 .git 00:04:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 00:00 .github 00:04:51 -rw-rw-r-- 1 jenkins jenkins 788 Aug 3 00:00 .gitignore 00:04:51 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 00:00 .golangci.yml 00:04:51 -rw-rw-r-- 1 jenkins jenkins 9546 Aug 3 00:00 Attribution.txt 00:04:51 -rw-rw-r-- 1 jenkins jenkins 2487 Aug 3 00:00 CHANGELOG.md 00:04:51 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 3 00:00 Dockerfile 00:04:51 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 00:00 GOVERNANCE.md 00:04:51 -rw-rw-r-- 1 jenkins jenkins 687 Aug 3 00:00 Jenkinsfile 00:04:51 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 3 00:00 LICENSE 00:04:51 -rw-rw-r-- 1 jenkins jenkins 2949 Aug 3 00:00 Makefile 00:04:51 -rw-rw-r-- 1 jenkins jenkins 617 Aug 3 00:00 OWNERS.md 00:04:51 -rw-rw-r-- 1 jenkins jenkins 30359 Aug 3 00:00 README.md 00:04:51 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 23:58 VERSION 00:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 00:00 bin 00:04:51 -rw-r--r-- 1 jenkins jenkins 41008 Aug 3 00:04 coverage.out 00:04:51 -rw-rw-r-- 1 jenkins jenkins 3540 Aug 3 00:00 go.mod 00:04:51 -rw-rw-r-- 1 jenkins jenkins 36292 Aug 3 00:00 go.sum 00:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 00:00 images 00:04:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 00:00 internal 00:04:51 -rw-rw-r-- 1 jenkins jenkins 531 Aug 3 00:00 main.go 00:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 00:00 res 00:04:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 00:00 snap 00:04:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 00:00 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:51 + 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=e1db43f5d8c5f33bf7066b0db10a7b657e2cd580 --label arch=arm64 --label version=0.0.0 . 00:04:51 Sending build context to Docker daemon 682kB 00:04:51 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 00:04:51 Step 2/31 : FROM ${BASE} AS builder 00:04:51 ---> 262368a4546f 00:04:51 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:04:51 ---> Running in 1373894d0f57 00:04:52 Removing intermediate container 1373894d0f57 00:04:52 ---> c6e0feb4132d 00:04:52 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 00:04:52 ---> Running in 770e97bf6215 00:04:52 Removing intermediate container 770e97bf6215 00:04:52 ---> a3f91b106747 00:04:52 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:04:52 ---> Running in e108d9ef4b88 00:04:52 Removing intermediate container e108d9ef4b88 00:04:52 ---> 346e9adc0411 00:04:52 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:04:52 ---> Running in 52457fb75c12 00:04:54 Removing intermediate container 52457fb75c12 00:04:54 ---> c2b5dbcdbdde 00:04:54 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:04:54 ---> Running in f8eea1a073a1 00:04:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:04:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:04:57 OK: 221 MiB in 51 packages 00:04:57 Removing intermediate container f8eea1a073a1 00:04:57 ---> ce3adb1ecb5f 00:04:57 Step 8/31 : WORKDIR /app 00:04:57 ---> Running in ee6c876b2fa7 00:04:58 Removing intermediate container ee6c876b2fa7 00:04:58 ---> f17f3f8f9ddf 00:04:58 Step 9/31 : COPY go.mod vendor* ./ 00:04:58 ---> e59df6afe262 00:04:59 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:59 ---> Running in 3f3ad67839c7 00:05:01 Removing intermediate container 3f3ad67839c7 00:05:01 ---> 2b9aa197e17a 00:05:01 Step 11/31 : COPY . . 00:05:01 ---> 645e2f800241 00:05:01 Step 12/31 : ARG MAKE="make build" 00:05:01 ---> Running in 34a0be1afc54 00:05:01 Removing intermediate container 34a0be1afc54 00:05:01 ---> c8d6b86f8693 00:05:01 Step 13/31 : RUN $MAKE 00:05:01 ---> Running in fb88f5a8ec02 00:05:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.27 -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 00:07:09 Removing intermediate container fb88f5a8ec02 00:07:09 ---> 17a61e50df29 00:07:09 Step 14/31 : FROM alpine:3.14 00:07:09 3.14: Pulling from library/alpine 00:07:09 f4bf3852c6cc: Pulling fs layer 00:07:09 f4bf3852c6cc: Verifying Checksum 00:07:09 f4bf3852c6cc: Download complete 00:07:09 f4bf3852c6cc: Pull complete 00:07:09 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 00:07:09 Status: Downloaded newer image for alpine:3.14 00:07:09 ---> f19c924ebacc 00:07:09 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:07:09 ---> Running in e7924d04f9ec 00:07:09 Removing intermediate container e7924d04f9ec 00:07:09 ---> 0b8a02b0434e 00:07:09 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 00:07:09 ---> Running in 22d581fd9a49 00:07:09 Removing intermediate container 22d581fd9a49 00:07:09 ---> b168d1a53745 00:07:09 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:09 ---> Running in ef295ba42da0 00:07:09 Removing intermediate container ef295ba42da0 00:07:09 ---> 57cde0a16544 00:07:09 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 00:07:09 ---> Running in 028240d30cd6 00:07:09 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:07:10 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:07:11 (1/7) Installing ca-certificates (20220614-r0) 00:07:11 (2/7) Installing dumb-init (1.2.5-r1) 00:07:11 (3/7) Installing libgcc (10.3.1_git20210424-r2) 00:07:11 (4/7) Installing libsodium (1.0.18-r0) 00:07:11 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 00:07:11 (6/7) Installing libzmq (4.3.4-r0) 00:07:11 (7/7) Installing zeromq (4.3.4-r0) 00:07:11 Executing busybox-1.33.1-r8.trigger 00:07:11 Executing ca-certificates-20220614-r0.trigger 00:07:12 OK: 9 MiB in 21 packages 00:07:13 Removing intermediate container 028240d30cd6 00:07:13 ---> 61c2893dbbb3 00:07:13 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:07:13 ---> 8bc50648f16f 00:07:13 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 00:07:14 ---> 2b87aa4ba8fd 00:07:14 Step 21/31 : COPY --from=builder /app/res/ /res/ 00:07:14 ---> e5951a120e16 00:07:14 Step 22/31 : COPY --from=builder /app/static/ /static/ 00:07:15 ---> dcd3590b1786 00:07:15 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 00:07:16 ---> 788436080bb8 00:07:16 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 00:07:16 ---> Running in 24d4792bd75a 00:07:18 Removing intermediate container 24d4792bd75a 00:07:18 ---> e2bdbc224b3e 00:07:18 Step 25/31 : VOLUME /cache 00:07:18 ---> Running in d39069526f18 00:07:18 Removing intermediate container d39069526f18 00:07:18 ---> 6927a8923e26 00:07:18 Step 26/31 : EXPOSE 59711 00:07:18 ---> Running in e68820cd0895 00:07:19 Removing intermediate container e68820cd0895 00:07:19 ---> 4debdf79be9b 00:07:19 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 00:07:19 ---> Running in f230c6b6bb05 00:07:19 Removing intermediate container f230c6b6bb05 00:07:19 ---> 8fd5d6bf4e0b 00:07:19 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 00:07:19 ---> Running in 6dd75ca215b1 00:07:20 Removing intermediate container 6dd75ca215b1 00:07:20 ---> d544fc0e99be 00:07:20 Step 29/31 : LABEL arch=arm64 00:07:20 ---> Running in 99f0dba7763d 00:07:20 Removing intermediate container 99f0dba7763d 00:07:20 ---> 34f5bf3bd8c1 00:07:20 Step 30/31 : LABEL git_sha=e1db43f5d8c5f33bf7066b0db10a7b657e2cd580 00:07:20 ---> Running in 2a1ac1cb7ac0 00:07:20 Removing intermediate container 2a1ac1cb7ac0 00:07:20 ---> b1d75c75a024 00:07:20 Step 31/31 : LABEL version=0.0.0 00:07:20 ---> Running in a7269de65bde 00:07:21 Removing intermediate container a7269de65bde 00:07:21 ---> 0e2d30fc1a7f 00:07:21 [Warning] One or more build-args [ARCH] were not consumed 00:07:21 Successfully built 0e2d30fc1a7f 00:07:21 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 00:07:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:21 00:07:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:22 arm64: Pulling from edgex-lftools-log-publisher 00:07:22 8998bd30e6a1: Pulling fs layer 00:07:22 04944245beec: Pulling fs layer 00:07:22 699f458cf7ca: Pulling fs layer 00:07:22 765212b225bb: Pulling fs layer 00:07:22 f23df028b6ca: Pulling fs layer 00:07:22 d65c8cfc05b1: Pulling fs layer 00:07:22 2437ff75d9bd: Pulling fs layer 00:07:22 765212b225bb: Waiting 00:07:22 f23df028b6ca: Waiting 00:07:22 d65c8cfc05b1: Waiting 00:07:22 2437ff75d9bd: Waiting 00:07:22 04944245beec: Verifying Checksum 00:07:22 04944245beec: Download complete 00:07:22 765212b225bb: Verifying Checksum 00:07:22 765212b225bb: Download complete 00:07:22 f23df028b6ca: Download complete 00:07:22 d65c8cfc05b1: Verifying Checksum 00:07:22 d65c8cfc05b1: Download complete 00:07:22 699f458cf7ca: Verifying Checksum 00:07:22 699f458cf7ca: Download complete 00:07:22 8998bd30e6a1: Verifying Checksum 00:07:22 8998bd30e6a1: Download complete 00:07:25 2437ff75d9bd: Verifying Checksum 00:07:25 2437ff75d9bd: Download complete 00:07:26 8998bd30e6a1: Pull complete 00:07:27 04944245beec: Pull complete 00:07:28 699f458cf7ca: Pull complete 00:07:29 765212b225bb: Pull complete 00:07:30 f23df028b6ca: Pull complete 00:07:30 d65c8cfc05b1: Pull complete 00:07:45 2437ff75d9bd: Pull complete 00:07:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:07:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:45 prd-ubuntu20.04-docker-arm64-4c-16g-21846 does not seem to be running inside a container 00:07:45 $ 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/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:07:48 $ docker top 451ee4c30e570af29dc152b5d586d2d18d29bb915297b2a2cd19b8370442f6af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:49 ---> job-cost.sh 00:07:49 lf-activate-venv: SKIPPING 00:07:49 INFO: No Stack... 00:07:49 INFO: Retrieving Pricing Info for: v3-standard-4 00:07:50 INFO: Archiving Costs [Pipeline] sh 00:07:51 + cat+ /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 00:07:51 cut -d, -f6 [Pipeline] lock 00:07:51 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-2-stack-cost] 00:07:51 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-2-stack-cost] did not exist. Created. 00:07:51 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:07:51 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-a5de84c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:07:52 + echo total: 0.10999999940395355 [Pipeline] stash 00:07:52 Warning: overwriting stash ‘stack-cost’ 00:07:52 Stashed 1 file(s) [Pipeline] } 00:07:52 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:07:52 $ docker stop --time=1 451ee4c30e570af29dc152b5d586d2d18d29bb915297b2a2cd19b8370442f6af 00:07:54 $ docker rm -f 451ee4c30e570af29dc152b5d586d2d18d29bb915297b2a2cd19b8370442f6af [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 00:07:54 provisioning config files... 00:07:54 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/config6523371069755175760tmp [Pipeline] { [Pipeline] sh 00:07:54 + set +x 00:07:54 + curl -s https://codecov.io/bash 00:07:54 + bash -s -- 00:07:54 00:07:54 _____ _ 00:07:54 / ____| | | 00:07:54 | | ___ __| | ___ ___ _____ __ 00:07:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:07:54 | |___| (_) | (_| | __/ (_| (_) \ V / 00:07:54 \_____\___/ \__,_|\___|\___\___/ \_/ 00:07:54 Bash-1.0.6 00:07:54 00:07:54 00:07:54 ==> git version 2.25.1 found 00:07:54 ==> 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 00:07:54 Release-Date: 2020-01-08 00:07:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:07:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:07:54 ==> Jenkins CI detected. 00:07:54 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-103 00:07:54 project root: . 00:07:54 --> token set from env 00:07:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:07:54 ==> Running gcov in . (disable via -X gcov) 00:07:54 ==> Python coveragepy not found 00:07:54 ==> Searching for coverage reports in: 00:07:54 + . 00:07:55 -> Found 1 reports 00:07:55 ==> Detecting git/mercurial file structure 00:07:55 ==> Reading reports 00:07:55 + ./coverage.out bytes=41008 00:07:55 ==> Appending adjustments 00:07:55 https://docs.codecov.io/docs/fixing-reports 00:07:55 + Found adjustments 00:07:55 ==> Gzipping contents 00:07:55 12K /tmp/codecov.CwMaGd.gz 00:07:55 ==> Uploading reports 00:07:55 url: https://codecov.io 00:07:55 query: branch=PR-103&commit=432102183456a29e95cec892a51636b66a509bb9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-103%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=103&job=&cmd_args= 00:07:55 -> Pinging Codecov 00:07:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-103&commit=432102183456a29e95cec892a51636b66a509bb9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-103%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=103&job=&cmd_args= 00:07:55 -> Uploading to 00:07:55 https://storage.googleapis.com/codecov/v4/raw/2022-08-03/581DD39554BDF9B6E22D074273EAD858/432102183456a29e95cec892a51636b66a509bb9/45e73fe9-fdd2-46ff-849a-88ee6eea75c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220803%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220803T000755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81ef476c1547dc3e223ecf26b011b5f3066a07dd52c92524a809be427b22beec 00:07:55 % Total % Received % Xferd Average Speed Time Time Time Current 00:07:55 Dload Upload Total Spent Left Speed 00:07:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11404 0 0 100 11404 0 51601 --:--:-- --:--:-- --:--:-- 51369 100 11404 0 0 100 11404 0 46930 --:--:-- --:--:-- --:--:-- 46737 00:07:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/432102183456a29e95cec892a51636b66a509bb9 [Pipeline] } 00:07:55 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 00:07:56 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives ] 00:07:56 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives 00:07:56 total 16 00:07:56 drwxr-xr-x 3 root root 4096 Aug 3 00:00 . 00:07:56 drwxrwxr-x 12 jenkins jenkins 4096 Aug 3 00:00 .. 00:07:56 drwxr-xr-x 2 root root 4096 Aug 3 00:00 cost 00:07:56 -rw-r--r-- 1 root root 95 Aug 3 00:00 cost.csv 00:07:56 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives 00:07:56 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives 00:07:56 total 16 00:07:56 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 00:00 . 00:07:56 drwxrwxr-x 12 jenkins jenkins 4096 Aug 3 00:00 .. 00:07:56 drwxr-xr-x 2 jenkins jenkins 4096 Aug 3 00:00 cost 00:07:56 -rw-r--r-- 1 jenkins jenkins 95 Aug 3 00:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:07:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:07:57 ---> package-listing.sh 00:07:57 ++ tr '[:upper:]' '[:lower:]' 00:07:57 ++ facter osfamily 00:07:57 + OS_FAMILY=debian 00:07:57 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-103 00:07:57 + START_PACKAGES=/tmp/packages_start.txt 00:07:57 + END_PACKAGES=/tmp/packages_end.txt 00:07:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:07:57 + PACKAGES=/tmp/packages_start.txt 00:07:57 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-103 ']' 00:07:57 + PACKAGES=/tmp/packages_end.txt 00:07:57 + case "${OS_FAMILY}" in 00:07:57 + dpkg -l 00:07:57 + grep '^ii' 00:07:57 + '[' -f /tmp/packages_start.txt ']' 00:07:57 + '[' -f /tmp/packages_end.txt ']' 00:07:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:07:57 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-103 ']' 00:07:57 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives/ 00:07:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives/ [Pipeline] echo 00:07:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:07:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:07:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:58 prd-ubuntu20.04-docker-8c-8g-21845 does not seem to be running inside a container 00:07:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@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-lftools-log-publisher:latest cat 00:07:58 $ docker top 7af87024033e84df67341d75a8e3ab697de35ce569e345cd0e1ffd832440a678 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:59 + touch /tmp/pre-build-complete [Pipeline] sh 00:07:59 + mkdir -p /var/log/sysstat [Pipeline] sh 00:07:59 + ls /var/log/sa-host 00:07:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:00 provisioning config files... 00:08:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/config5857944649122936325tmp [Pipeline] { [Pipeline] echo 00:08:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:08:00 ---> create-netrc.sh [Pipeline] } 00:08:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:08:00 ---> python-tools-install.sh [Pipeline] echo 00:08:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:08:00 ---> sudo-logs.sh 00:08:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:08:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:08:01 ---> job-cost.sh 00:08:01 lf-activate-venv: SKIPPING 00:08:01 DEBUG: total: 0.2199999988079071 00:08:01 INFO: Retrieving Stack Cost... 00:08:01 INFO: Retrieving Pricing Info for: v3-standard-8 00:08:02 INFO: Archiving Costs [Pipeline] echo 00:08:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:08:02 ---> logs-deploy.sh 00:08:02 lf-activate-venv: SKIPPING 00:08:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-103/2 00:08:02 INFO: archiving workspace using pattern(s): 00:08:03 Archives upload complete. 00:08:03 INFO: archiving logs to Nexus