Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6408c1206f8df0a4ca80b1fbb7b63ad39a3af28f+03dfe80146e416d2b04b2eaefcdaa11753ed70f8 (36cae977e82c45532f99da507b4506d23fc37cea) 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-ssh12908298628575751493.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh13938116478234091513.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-247/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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10502793264951599239.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh1033655198110099369.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-247/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-247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3253357633454115507.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16760 in /w/workspace/y_app-rfid-llrp-inventory_PR-247 [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-247 # 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 > 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/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 03dfe80146e416d2b04b2eaefcdaa11753ed70f8 into PR head commit 6408c1206f8df0a4ca80b1fbb7b63ad39a3af28f Merge succeeded, producing 9b2dd51a139de57b7046a1739041c89f576b76c8 Checking out Revision 9b2dd51a139de57b7046a1739041c89f576b76c8 (PR-247) > git config core.sparsecheckout # timeout=10 > git checkout -f 6408c1206f8df0a4ca80b1fbb7b63ad39a3af28f # 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 03dfe80146e416d2b04b2eaefcdaa11753ed70f8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b2dd51a139de57b7046a1739041c89f576b76c8 # timeout=10 Commit message: "Merge commit '03dfe80146e416d2b04b2eaefcdaa11753ed70f8' into HEAD" > git rev-list --no-walk 6408c1206f8df0a4ca80b1fbb7b63ad39a3af28f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-06T23:59:12.038Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-06T23:59:12.097Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-06T23:59:12.110Z] ========================================================= [2023-11-06T23:59:12.111Z] EdgeX Global Pipelines Version Info [2023-11-06T23:59:12.111Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:59:12.821Z] ------------------- [2023-11-06T23:59:12.821Z] stable info: [2023-11-06T23:59:12.821Z] ------------------- [2023-11-06T23:59:12.821Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-06T23:59:12.821Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-06T23:59:12.821Z] Message: update stable to v1.0.257 [2023-11-06T23:59:13.390Z] ------------------- [2023-11-06T23:59:13.390Z] experimental info: [2023-11-06T23:59:13.390Z] ------------------- [2023-11-06T23:59:13.390Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-06T23:59:13.390Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-06T23:59:13.390Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-06T23:59:13.551Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-11-06T23:59:13.563Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-11-06T23:59:13.575Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-06T23:59:13.587Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-06T23:59:13.599Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-06T23:59:13.609Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-06T23:59:13.624Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-06T23:59:13.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-06T23:59:13.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-06T23:59:13.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-06T23:59:13.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-06T23:59:13.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-11-06T23:59:13.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-06T23:59:13.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-06T23:59:13.750Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-06T23:59:13.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-06T23:59:13.783Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T23:59:13.794Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T23:59:13.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-06T23:59:13.832Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-06T23:59:13.851Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-06T23:59:13.870Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-06T23:59:13.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-06T23:59:13.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-06T23:59:13.899Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-06T23:59:13.908Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-06T23:59:13.916Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-06T23:59:13.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-247 [Pipeline] echo [2023-11-06T23:59:13.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-247 [Pipeline] echo [2023-11-06T23:59:13.949Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-247 [Pipeline] echo [2023-11-06T23:59:13.960Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b2dd51a139de57b7046a1739041c89f576b76c8 [Pipeline] echo [2023-11-06T23:59:13.972Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b2dd51 [Pipeline] echo [2023-11-06T23:59:13.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:59:14.028Z] provisioning config files... [2023-11-06T23:59:14.047Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp/config14135276789165704928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:59:14.351Z] ---> docker-login.sh [2023-11-06T23:59:14.351Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:59:14.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:14.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:14.613Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:14.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:14.613Z] [2023-11-06T23:59:14.613Z] Login Succeeded [2023-11-06T23:59:14.613Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:59:14.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:14.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:14.613Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:14.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:14.613Z] [2023-11-06T23:59:14.613Z] Login Succeeded [2023-11-06T23:59:14.613Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:59:14.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:14.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:14.874Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:14.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:14.874Z] [2023-11-06T23:59:14.874Z] Login Succeeded [2023-11-06T23:59:14.874Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:59:14.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:14.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:14.874Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:14.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:14.874Z] [2023-11-06T23:59:14.874Z] Login Succeeded [2023-11-06T23:59:14.874Z] docker.io [2023-11-06T23:59:15.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:15.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:15.398Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:15.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:15.398Z] [2023-11-06T23:59:15.398Z] Login Succeeded [2023-11-06T23:59:15.398Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:59:15.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-06T23:59:15.788Z] + git rev-list -1 --merges 9b2dd51a139de57b7046a1739041c89f576b76c8~1..9b2dd51a139de57b7046a1739041c89f576b76c8 [Pipeline] echo [2023-11-06T23:59:15.832Z] -----------> git rev-list -1 --merges 9b2dd51a139de57b7046a1739041c89f576b76c8~1..9b2dd51a139de57b7046a1739041c89f576b76c8 9b2dd51a139de57b7046a1739041c89f576b76c8 [2023-11-06T23:59:15.832Z] 9b2dd51a139de57b7046a1739041c89f576b76c8 [false] [Pipeline] sh [2023-11-06T23:59:16.122Z] + git log --format=format:%s -1 9b2dd51a139de57b7046a1739041c89f576b76c8 [Pipeline] echo [2023-11-06T23:59:16.134Z] ========================================================= [2023-11-06T23:59:16.134Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-06T23:59:16.134Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-06T23:59:16.465Z] + git log --format=format:%s -1 9b2dd51a139de57b7046a1739041c89f576b76c8 [Pipeline] echo [2023-11-06T23:59:16.475Z] [semverPrep] GIT_COMMIT: 9b2dd51a139de57b7046a1739041c89f576b76c8, Commit Message: Merge commit '03dfe80146e416d2b04b2eaefcdaa11753ed70f8' into HEAD [Pipeline] echo [2023-11-06T23:59:16.486Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-06T23:59:16.844Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-06T23:59:16.844Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-06T23:59:16.845Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-06T23:59:16.845Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-06T23:59:16.845Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-06T23:59:16.845Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-06T23:59:16.845Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:59:17.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:59:17.202Z] [2023-11-06T23:59:17.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:59:17.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:59:17.564Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-06T23:59:17.564Z] b85a868b505f: Pulling fs layer [2023-11-06T23:59:17.564Z] e2be974225ed: Pulling fs layer [2023-11-06T23:59:17.564Z] 339a4e72a1f5: Pulling fs layer [2023-11-06T23:59:17.564Z] 988bab9f4d93: Pulling fs layer [2023-11-06T23:59:17.564Z] 1469e6f7b9e6: Pulling fs layer [2023-11-06T23:59:17.564Z] eaf3925da568: Pulling fs layer [2023-11-06T23:59:17.564Z] bab4dde63d76: Pulling fs layer [2023-11-06T23:59:17.564Z] bde34c3a00c8: Pulling fs layer [2023-11-06T23:59:17.564Z] b352a97aabf1: Pulling fs layer [2023-11-06T23:59:17.564Z] 4872d77fe225: Pulling fs layer [2023-11-06T23:59:17.564Z] 5851b861e8e6: Pulling fs layer [2023-11-06T23:59:17.564Z] 988bab9f4d93: Waiting [2023-11-06T23:59:17.564Z] 1469e6f7b9e6: Waiting [2023-11-06T23:59:17.564Z] eaf3925da568: Waiting [2023-11-06T23:59:17.564Z] 4872d77fe225: Waiting [2023-11-06T23:59:17.564Z] bab4dde63d76: Waiting [2023-11-06T23:59:17.564Z] bde34c3a00c8: Waiting [2023-11-06T23:59:17.564Z] b352a97aabf1: Waiting [2023-11-06T23:59:17.564Z] 5851b861e8e6: Waiting [2023-11-06T23:59:17.564Z] e2be974225ed: Download complete [2023-11-06T23:59:17.564Z] 988bab9f4d93: Verifying Checksum [2023-11-06T23:59:17.564Z] 988bab9f4d93: Download complete [2023-11-06T23:59:17.564Z] 1469e6f7b9e6: Verifying Checksum [2023-11-06T23:59:17.564Z] 1469e6f7b9e6: Download complete [2023-11-06T23:59:17.564Z] eaf3925da568: Verifying Checksum [2023-11-06T23:59:17.564Z] eaf3925da568: Download complete [2023-11-06T23:59:17.564Z] 339a4e72a1f5: Verifying Checksum [2023-11-06T23:59:17.564Z] 339a4e72a1f5: Download complete [2023-11-06T23:59:17.564Z] bde34c3a00c8: Verifying Checksum [2023-11-06T23:59:17.564Z] bde34c3a00c8: Download complete [2023-11-06T23:59:17.827Z] b352a97aabf1: Verifying Checksum [2023-11-06T23:59:17.827Z] b352a97aabf1: Download complete [2023-11-06T23:59:17.827Z] 4872d77fe225: Verifying Checksum [2023-11-06T23:59:17.827Z] 4872d77fe225: Download complete [2023-11-06T23:59:17.827Z] 5851b861e8e6: Verifying Checksum [2023-11-06T23:59:17.827Z] 5851b861e8e6: Download complete [2023-11-06T23:59:17.827Z] b85a868b505f: Verifying Checksum [2023-11-06T23:59:17.827Z] b85a868b505f: Download complete [2023-11-06T23:59:18.086Z] bab4dde63d76: Verifying Checksum [2023-11-06T23:59:18.086Z] bab4dde63d76: Download complete [2023-11-06T23:59:19.022Z] b85a868b505f: Pull complete [2023-11-06T23:59:19.022Z] e2be974225ed: Pull complete [2023-11-06T23:59:19.590Z] 339a4e72a1f5: Pull complete [2023-11-06T23:59:19.590Z] 988bab9f4d93: Pull complete [2023-11-06T23:59:19.849Z] 1469e6f7b9e6: Pull complete [2023-11-06T23:59:20.108Z] eaf3925da568: Pull complete [2023-11-06T23:59:21.481Z] bab4dde63d76: Pull complete [2023-11-06T23:59:21.481Z] bde34c3a00c8: Pull complete [2023-11-06T23:59:21.739Z] b352a97aabf1: Pull complete [2023-11-06T23:59:21.739Z] 4872d77fe225: Pull complete [2023-11-06T23:59:21.999Z] 5851b861e8e6: Pull complete [2023-11-06T23:59:21.999Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-06T23:59:21.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:59:21.999Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:59:22.083Z] prd-ubuntu20.04-docker-8c-8g-16760 does not seem to be running inside a container [2023-11-06T23:59:22.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-247 -v /w/workspace/y_app-rfid-llrp-inventory_PR-247:/w/workspace/y_app-rfid-llrp-inventory_PR-247:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-247@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 [2023-11-06T23:59:24.540Z] $ docker top ae93972cf870f9b874fc786fa138c4a665c335b429b6c1ab83b17cb70fa21947 -eo pid,comm [2023-11-06T23:59:24.594Z] 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). [2023-11-06T23:59:24.594Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-06T23:59:24.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:59:24.633Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:59:24.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:59:24.737Z] $ docker exec ae93972cf870f9b874fc786fa138c4a665c335b429b6c1ab83b17cb70fa21947 ssh-agent [2023-11-06T23:59:24.841Z] SSH_AUTH_SOCK=/tmp/ssh-LDPiGgICyq6d/agent.33 [2023-11-06T23:59:24.841Z] SSH_AGENT_PID=39 [2023-11-06T23:59:24.847Z] Running ssh-add (command line suppressed) [2023-11-06T23:59:24.942Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp/private_key_6647385088468142341.key (/w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp/private_key_6647385088468142341.key) [2023-11-06T23:59:24.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:59:25.242Z] + git tag --points-at HEAD [Pipeline] } [2023-11-06T23:59:25.260Z] $ docker exec --env ******** --env ******** ae93972cf870f9b874fc786fa138c4a665c335b429b6c1ab83b17cb70fa21947 ssh-agent -k [2023-11-06T23:59:25.350Z] unset SSH_AUTH_SOCK; [2023-11-06T23:59:25.350Z] unset SSH_AGENT_PID; [2023-11-06T23:59:25.350Z] echo Agent pid 39 killed; [2023-11-06T23:59:25.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-06T23:59:25.395Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:59:25.395Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:59:25.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:59:25.504Z] $ docker exec ae93972cf870f9b874fc786fa138c4a665c335b429b6c1ab83b17cb70fa21947 ssh-agent [2023-11-06T23:59:25.599Z] SSH_AUTH_SOCK=/tmp/ssh-XWFvbqQHupzw/agent.71 [2023-11-06T23:59:25.599Z] SSH_AGENT_PID=77 [2023-11-06T23:59:25.603Z] Running ssh-add (command line suppressed) [2023-11-06T23:59:25.700Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp/private_key_12442291777053714587.key (/w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp/private_key_12442291777053714587.key) [2023-11-06T23:59:25.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:59:26.001Z] + git semver init [2023-11-06T23:59:26.260Z] 2023-11-06 23:59:26,167 [run_init] DEBUG init version:0.0.0 force:False [2023-11-06T23:59:26.260Z] 2023-11-06 23:59:26,168 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-247/.semver [2023-11-06T23:59:26.260Z] 2023-11-06 23:59:26,168 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-247/.semver [2023-11-06T23:59:26.260Z] 2023-11-06 23:59:26,169 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-247/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-247, universal_newlines=False, shell=None, istream=None) [2023-11-06T23:59:28.128Z] 2023-11-06 23:59:27,606 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-247/.git/info/exclude [2023-11-06T23:59:28.128Z] 2023-11-06 23:59:27,606 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-247/.semver/PR-247 with force:False [2023-11-06T23:59:28.128Z] 2023-11-06 23:59:27,606 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-247/.semver/PR-247 [2023-11-06T23:59:28.128Z] 2023-11-06 23:59:27,611 [execute] INFO git cat-file --batch-check [2023-11-06T23:59:28.128Z] 2023-11-06 23:59:27,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-11-06T23:59:28.128Z] 2023-11-06 23:59:27,617 [execute] INFO git cat-file --batch [2023-11-06T23:59:28.128Z] 2023-11-06 23:59:27,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-11-06T23:59:28.128Z] 2023-11-06 23:59:27,622 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-247/.semver/PR-247 [2023-11-06T23:59:28.128Z] 0.0.0 [Pipeline] } [2023-11-06T23:59:28.138Z] $ docker exec --env ******** --env ******** ae93972cf870f9b874fc786fa138c4a665c335b429b6c1ab83b17cb70fa21947 ssh-agent -k [2023-11-06T23:59:28.231Z] unset SSH_AUTH_SOCK; [2023-11-06T23:59:28.232Z] unset SSH_AGENT_PID; [2023-11-06T23:59:28.232Z] echo Agent pid 77 killed; [2023-11-06T23:59:28.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-06T23:59:28.541Z] + git semver [Pipeline] } [2023-11-06T23:59:28.813Z] $ docker stop --time=1 ae93972cf870f9b874fc786fa138c4a665c335b429b6c1ab83b17cb70fa21947 [2023-11-06T23:59:30.071Z] $ docker rm -f --volumes ae93972cf870f9b874fc786fa138c4a665c335b429b6c1ab83b17cb70fa21947 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T23:59:30.400Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-06T23:59:30.599Z] Stashed 1 file(s) [Pipeline] echo [2023-11-06T23:59:30.602Z] [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 [2023-11-06T23:59:30.722Z] provisioning config files... [2023-11-06T23:59:30.731Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp/config10383236908289045686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:59:31.025Z] ---> docker-login.sh [2023-11-06T23:59:31.025Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:59:31.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:31.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:31.025Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:31.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:31.025Z] [2023-11-06T23:59:31.025Z] Login Succeeded [2023-11-06T23:59:31.025Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:59:31.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:31.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:31.025Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:31.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:31.025Z] [2023-11-06T23:59:31.025Z] Login Succeeded [2023-11-06T23:59:31.025Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:59:31.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:31.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:31.284Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:31.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:31.284Z] [2023-11-06T23:59:31.284Z] Login Succeeded [2023-11-06T23:59:31.284Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:59:31.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:31.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:31.284Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:31.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:31.284Z] [2023-11-06T23:59:31.284Z] Login Succeeded [2023-11-06T23:59:31.284Z] docker.io [2023-11-06T23:59:31.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:59:31.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:59:31.543Z] Configure a credential helper to remove this warning. See [2023-11-06T23:59:31.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:59:31.543Z] [2023-11-06T23:59:31.543Z] Login Succeeded [2023-11-06T23:59:31.543Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:59:31.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-06T23:59:31.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:59:31.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:59:31.647Z] ========================================================= [2023-11-06T23:59:31.647Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-06T23:59:31.647Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:59:31.952Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-06T23:59:31.952Z] Sending build context to Docker daemon 12.75MB [2023-11-06T23:59:31.952Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T23:59:31.952Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-06T23:59:31.952Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-06T23:59:31.952Z] 7264a8db6415: Pulling fs layer [2023-11-06T23:59:31.952Z] c4d48a809fc2: Pulling fs layer [2023-11-06T23:59:31.952Z] 4f1c88b9dad5: Pulling fs layer [2023-11-06T23:59:31.952Z] ad3a456e5733: Pulling fs layer [2023-11-06T23:59:31.952Z] 33e27b845d1e: Pulling fs layer [2023-11-06T23:59:31.952Z] c68163c4e522: Pulling fs layer [2023-11-06T23:59:31.952Z] 50da416c3ac9: Pulling fs layer [2023-11-06T23:59:31.952Z] 23d2d4c4bb30: Pulling fs layer [2023-11-06T23:59:31.952Z] 33e27b845d1e: Waiting [2023-11-06T23:59:31.952Z] ad3a456e5733: Waiting [2023-11-06T23:59:31.952Z] c68163c4e522: Waiting [2023-11-06T23:59:31.952Z] 50da416c3ac9: Waiting [2023-11-06T23:59:31.952Z] c4d48a809fc2: Verifying Checksum [2023-11-06T23:59:31.952Z] c4d48a809fc2: Download complete [2023-11-06T23:59:31.952Z] ad3a456e5733: Download complete [2023-11-06T23:59:31.952Z] 33e27b845d1e: Verifying Checksum [2023-11-06T23:59:31.952Z] 33e27b845d1e: Download complete [2023-11-06T23:59:32.213Z] 7264a8db6415: Verifying Checksum [2023-11-06T23:59:32.213Z] 7264a8db6415: Download complete [2023-11-06T23:59:32.213Z] c68163c4e522: Verifying Checksum [2023-11-06T23:59:32.213Z] c68163c4e522: Download complete [2023-11-06T23:59:32.213Z] 7264a8db6415: Pull complete [2023-11-06T23:59:32.472Z] c4d48a809fc2: Pull complete [2023-11-06T23:59:32.472Z] 23d2d4c4bb30: Verifying Checksum [2023-11-06T23:59:32.472Z] 23d2d4c4bb30: Download complete [2023-11-06T23:59:32.472Z] 4f1c88b9dad5: Verifying Checksum [2023-11-06T23:59:32.472Z] 4f1c88b9dad5: Download complete [2023-11-06T23:59:33.039Z] 50da416c3ac9: Verifying Checksum [2023-11-06T23:59:33.039Z] 50da416c3ac9: Download complete [2023-11-06T23:59:36.323Z] 4f1c88b9dad5: Pull complete [2023-11-06T23:59:36.323Z] ad3a456e5733: Pull complete [2023-11-06T23:59:36.323Z] 33e27b845d1e: Pull complete [2023-11-06T23:59:36.323Z] c68163c4e522: Pull complete [2023-11-06T23:59:38.864Z] 50da416c3ac9: Pull complete [2023-11-06T23:59:39.123Z] 23d2d4c4bb30: Pull complete [2023-11-06T23:59:39.123Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-06T23:59:39.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-06T23:59:39.123Z] ---> 0786185ac409 [2023-11-06T23:59:39.123Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-11-06T23:59:44.393Z] ---> Running in 3b0704f25bac [2023-11-06T23:59:44.393Z] Removing intermediate container 3b0704f25bac [2023-11-06T23:59:44.393Z] ---> 5831ace5675d [2023-11-06T23:59:44.393Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-06T23:59:44.393Z] ---> Running in ed929114e720 [2023-11-06T23:59:44.393Z] Removing intermediate container ed929114e720 [2023-11-06T23:59:44.393Z] ---> e23d90e01162 [2023-11-06T23:59:44.393Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-06T23:59:44.393Z] ---> Running in ad353928bb7d [2023-11-06T23:59:44.393Z] Removing intermediate container ad353928bb7d [2023-11-06T23:59:44.393Z] ---> 6203eafd20b3 [2023-11-06T23:59:44.393Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-06T23:59:44.393Z] ---> Running in d1b2cf65cb5c [2023-11-06T23:59:44.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-06T23:59:44.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-06T23:59:45.172Z] OK: 264 MiB in 52 packages [2023-11-06T23:59:45.432Z] Removing intermediate container d1b2cf65cb5c [2023-11-06T23:59:45.432Z] ---> 0ceffc33b790 [2023-11-06T23:59:45.432Z] Step 7/12 : WORKDIR /app [2023-11-06T23:59:45.432Z] ---> Running in af0ef7eeb553 [2023-11-06T23:59:45.432Z] Removing intermediate container af0ef7eeb553 [2023-11-06T23:59:45.432Z] ---> 81afbc36532a [2023-11-06T23:59:45.432Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-06T23:59:45.432Z] ---> 1c5009d76631 [2023-11-06T23:59:45.432Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T23:59:45.686Z] Still waiting to schedule task [2023-11-06T23:59:45.686Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-06T23:59:45.691Z] ---> Running in 999976c4e661 [2023-11-07T00:00:42.127Z] Removing intermediate container 999976c4e661 [2023-11-07T00:00:42.127Z] ---> e59413bc1696 [2023-11-07T00:00:42.127Z] Step 10/12 : COPY . . [2023-11-07T00:00:42.127Z] ---> cd1e906bb68b [2023-11-07T00:00:42.127Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T00:00:42.127Z] ---> Running in ae753afc4231 [2023-11-07T00:00:42.127Z] Removing intermediate container ae753afc4231 [2023-11-07T00:00:42.127Z] ---> 49fe9cfebb7a [2023-11-07T00:00:42.127Z] Step 12/12 : RUN $MAKE [2023-11-07T00:00:42.127Z] ---> Running in 38820c1c1709 [2023-11-07T00:00:42.127Z] noop [2023-11-07T00:00:42.127Z] Removing intermediate container 38820c1c1709 [2023-11-07T00:00:42.127Z] ---> dc6090e41c05 [2023-11-07T00:00:42.127Z] Successfully built dc6090e41c05 [2023-11-07T00:00:42.127Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:42.442Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T00:00:42.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:00:42.518Z] prd-ubuntu20.04-docker-8c-8g-16760 does not seem to be running inside a container [2023-11-07T00:00:42.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-247 -v /w/workspace/y_app-rfid-llrp-inventory_PR-247:/w/workspace/y_app-rfid-llrp-inventory_PR-247:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-247@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 [2023-11-07T00:00:42.882Z] $ docker top 516ade070263e13aaee9ee6f61a62e14bd3360044f8ab7cbbfb89cf54124269f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:00:43.226Z] + go version [2023-11-07T00:00:43.226Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-07T00:00:43.237Z] $ docker stop --time=1 516ade070263e13aaee9ee6f61a62e14bd3360044f8ab7cbbfb89cf54124269f [2023-11-07T00:00:44.495Z] $ docker rm -f --volumes 516ade070263e13aaee9ee6f61a62e14bd3360044f8ab7cbbfb89cf54124269f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:44.884Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T00:00:44.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:00:44.952Z] prd-ubuntu20.04-docker-8c-8g-16760 does not seem to be running inside a container [2023-11-07T00:00:44.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-247 -v /w/workspace/y_app-rfid-llrp-inventory_PR-247:/w/workspace/y_app-rfid-llrp-inventory_PR-247:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-247@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 [2023-11-07T00:00:45.303Z] $ docker top f94a3e614acd4fb4a4165d479111ae9c657b28f2ba94a11402920fbc7de28078 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:00:47.558Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-247 [Pipeline] fileExists [Pipeline] sh [2023-11-07T00:00:48.856Z] + make test [2023-11-07T00:00:48.856Z] go test -race ./... -coverprofile=coverage.out ./... [2023-11-07T00:01:05.498Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-11-07T00:01:05.498Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-11-07T00:01:06.433Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.131s coverage: 86.2% of statements [2023-11-07T00:01:09.034Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.691s coverage: 71.9% of statements [2023-11-07T00:01:30.942Z] go vet ./... [2023-11-07T00:01:30.942Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T00:01:30.942Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T00:01:30.942Z] ./bin/test-attribution.sh [2023-11-07T00:01:30.942Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-11-07T00:01:30.942Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-11-07T00:01:30.942Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-11-07T00:01:30.942Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-11-07T00:01:30.942Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-11-07T00:01:30.942Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-11-07T00:01:30.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T00:01:30.974Z] $ docker stop --time=1 f94a3e614acd4fb4a4165d479111ae9c657b28f2ba94a11402920fbc7de28078 [2023-11-07T00:01:34.612Z] $ docker rm -f --volumes f94a3e614acd4fb4a4165d479111ae9c657b28f2ba94a11402920fbc7de28078 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:01:35.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T00:01:35.165Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-07T00:01:35.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T00:01:35.906Z] + ls -al . [2023-11-07T00:01:35.906Z] total 208 [2023-11-07T00:01:35.906Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 00:00 . [2023-11-07T00:01:35.906Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 23:59 .. [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 262 Nov 6 23:59 .dockerignore [2023-11-07T00:01:35.906Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:01 .git [2023-11-07T00:01:35.906Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:59 .github [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 773 Nov 6 23:59 .gitignore [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 6 23:59 .golangci.yml [2023-11-07T00:01:35.906Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 6 23:59 .semver [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 10232 Nov 6 23:59 Attribution.txt [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 9317 Nov 6 23:59 CHANGELOG.md [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 1659 Nov 6 23:59 Dockerfile [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 6 23:59 GOVERNANCE.md [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 665 Nov 6 23:59 Jenkinsfile [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 11347 Nov 6 23:59 LICENSE [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 2497 Nov 6 23:59 Makefile [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 6 23:59 OWNERS.md [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 3851 Nov 6 23:59 README.md [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 6 23:59 VERSION [2023-11-07T00:01:35.906Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:59 bin [2023-11-07T00:01:35.906Z] -rw-r--r-- 1 jenkins jenkins 41317 Nov 7 00:01 coverage.out [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 3969 Nov 6 23:59 go.mod [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 35080 Nov 6 23:59 go.sum [2023-11-07T00:01:35.906Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:59 images [2023-11-07T00:01:35.906Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 23:59 internal [2023-11-07T00:01:35.906Z] -rw-rw-r-- 1 jenkins jenkins 531 Nov 6 23:59 main.go [2023-11-07T00:01:35.906Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:59 openapi [2023-11-07T00:01:35.906Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:59 res [2023-11-07T00:01:35.906Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:59 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:01:36.282Z] + 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=9b2dd51a139de57b7046a1739041c89f576b76c8 --label arch=amd64 --label version=0.0.0 . [2023-11-07T00:01:36.282Z] Sending build context to Docker daemon 12.75MB [2023-11-07T00:01:36.282Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:01:36.282Z] Step 2/29 : FROM ${BASE} AS builder [2023-11-07T00:01:36.282Z] ---> dc6090e41c05 [2023-11-07T00:01:36.282Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-11-07T00:01:36.540Z] ---> Running in 71084bfa29df [2023-11-07T00:01:36.540Z] Removing intermediate container 71084bfa29df [2023-11-07T00:01:36.540Z] ---> 8051916f48a9 [2023-11-07T00:01:36.540Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T00:01:36.540Z] ---> Running in 6b09f75cc5a4 [2023-11-07T00:01:36.540Z] Removing intermediate container 6b09f75cc5a4 [2023-11-07T00:01:36.540Z] ---> 2bbccccf863b [2023-11-07T00:01:36.540Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-11-07T00:01:36.540Z] ---> Running in 728367a87d54 [2023-11-07T00:01:36.798Z] Removing intermediate container 728367a87d54 [2023-11-07T00:01:36.799Z] ---> ac048e5d1e4c [2023-11-07T00:01:36.799Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T00:01:36.799Z] ---> Running in 822068fbc4d8 [2023-11-07T00:01:37.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:01:37.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:01:37.314Z] OK: 264 MiB in 52 packages [2023-11-07T00:01:37.880Z] Removing intermediate container 822068fbc4d8 [2023-11-07T00:01:37.880Z] ---> 2da1ead46e75 [2023-11-07T00:01:37.880Z] Step 7/29 : WORKDIR /app [2023-11-07T00:01:37.880Z] ---> Running in 9f007882155a [2023-11-07T00:01:37.880Z] Removing intermediate container 9f007882155a [2023-11-07T00:01:37.880Z] ---> fcacf9008f8d [2023-11-07T00:01:37.880Z] Step 8/29 : COPY go.mod vendor* ./ [2023-11-07T00:01:38.137Z] ---> 0b37ade389b9 [2023-11-07T00:01:38.137Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:01:38.137Z] ---> Running in 9da4d437bf6b [2023-11-07T00:01:38.703Z] Removing intermediate container 9da4d437bf6b [2023-11-07T00:01:38.703Z] ---> 3571271cbada [2023-11-07T00:01:38.703Z] Step 10/29 : COPY . . [2023-11-07T00:01:39.268Z] ---> 82825c063c59 [2023-11-07T00:01:39.268Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T00:01:39.268Z] ---> Running in 27c1a7afa7b8 [2023-11-07T00:01:39.268Z] Removing intermediate container 27c1a7afa7b8 [2023-11-07T00:01:39.268Z] ---> 908708c9f18c [2023-11-07T00:01:39.268Z] Step 12/29 : RUN $MAKE [2023-11-07T00:01:39.268Z] ---> Running in a83e1962fb2e [2023-11-07T00:01:39.526Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory [2023-11-07T00:02:01.446Z] Removing intermediate container a83e1962fb2e [2023-11-07T00:02:01.446Z] ---> 656535ad1430 [2023-11-07T00:02:01.446Z] Step 13/29 : FROM alpine:3.18 [2023-11-07T00:02:01.446Z] 3.18: Pulling from library/alpine [2023-11-07T00:02:01.446Z] 96526aa774ef: Pulling fs layer [2023-11-07T00:02:01.446Z] 96526aa774ef: Download complete [2023-11-07T00:02:01.446Z] 96526aa774ef: Pull complete [2023-11-07T00:02:01.446Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T00:02:01.446Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T00:02:01.446Z] ---> 8ca4688f4f35 [2023-11-07T00:02:01.446Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:02:01.446Z] ---> Running in f53484d6b238 [2023-11-07T00:02:01.446Z] Removing intermediate container f53484d6b238 [2023-11-07T00:02:01.446Z] ---> 5fdb00fe557f [2023-11-07T00:02:01.446Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-11-07T00:02:01.446Z] ---> Running in 8f2377ae8665 [2023-11-07T00:02:01.446Z] Removing intermediate container 8f2377ae8665 [2023-11-07T00:02:01.446Z] ---> cc2ef9ef9002 [2023-11-07T00:02:01.446Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-11-07T00:02:01.446Z] ---> Running in 746d89c51759 [2023-11-07T00:02:01.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:02:01.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:02:01.446Z] (1/2) Installing ca-certificates (20230506-r0) [2023-11-07T00:02:01.446Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-11-07T00:02:01.446Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T00:02:01.446Z] Executing ca-certificates-20230506-r0.trigger [2023-11-07T00:02:01.446Z] OK: 8 MiB in 17 packages [2023-11-07T00:02:01.446Z] Removing intermediate container 746d89c51759 [2023-11-07T00:02:01.446Z] ---> b3081e693cec [2023-11-07T00:02:01.446Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-11-07T00:02:01.446Z] ---> f387c93a8a1e [2023-11-07T00:02:01.446Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-11-07T00:02:01.446Z] ---> 955fa7ac019a [2023-11-07T00:02:01.446Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-11-07T00:02:01.446Z] ---> 79e82666cf2a [2023-11-07T00:02:01.446Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-11-07T00:02:01.446Z] ---> a250e101fed0 [2023-11-07T00:02:01.446Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-11-07T00:02:02.440Z] ---> f88a4565644d [2023-11-07T00:02:02.440Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-11-07T00:02:02.440Z] ---> Running in abe2df8b785f [2023-11-07T00:02:03.007Z] Removing intermediate container abe2df8b785f [2023-11-07T00:02:03.007Z] ---> 30e636e3f6fb [2023-11-07T00:02:03.007Z] Step 23/29 : VOLUME /cache [2023-11-07T00:02:03.007Z] ---> Running in 38cb70f0570d [2023-11-07T00:02:03.007Z] Removing intermediate container 38cb70f0570d [2023-11-07T00:02:03.007Z] ---> 50d538eb6f16 [2023-11-07T00:02:03.007Z] Step 24/29 : EXPOSE 59711 [2023-11-07T00:02:03.265Z] ---> Running in fc9232006b4b [2023-11-07T00:02:03.265Z] Removing intermediate container fc9232006b4b [2023-11-07T00:02:03.265Z] ---> 46ca54006d4b [2023-11-07T00:02:03.265Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-11-07T00:02:03.265Z] ---> Running in 96583fed531a [2023-11-07T00:02:03.265Z] Removing intermediate container 96583fed531a [2023-11-07T00:02:03.265Z] ---> ab8dd2774cbd [2023-11-07T00:02:03.265Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-11-07T00:02:03.265Z] ---> Running in 6b319ff4b900 [2023-11-07T00:02:03.265Z] Removing intermediate container 6b319ff4b900 [2023-11-07T00:02:03.265Z] ---> 5e0af0853901 [2023-11-07T00:02:03.265Z] Step 27/29 : LABEL arch=amd64 [2023-11-07T00:02:03.524Z] ---> Running in 8b7ba9f4829d [2023-11-07T00:02:03.524Z] Removing intermediate container 8b7ba9f4829d [2023-11-07T00:02:03.524Z] ---> 636cf2297393 [2023-11-07T00:02:03.524Z] Step 28/29 : LABEL git_sha=9b2dd51a139de57b7046a1739041c89f576b76c8 [2023-11-07T00:02:03.524Z] ---> Running in 5e3a22ebecff [2023-11-07T00:02:03.524Z] Removing intermediate container 5e3a22ebecff [2023-11-07T00:02:03.524Z] ---> 02c26efa9cd4 [2023-11-07T00:02:03.524Z] Step 29/29 : LABEL version=0.0.0 [2023-11-07T00:02:03.524Z] ---> Running in ca120c941309 [2023-11-07T00:02:03.524Z] Removing intermediate container ca120c941309 [2023-11-07T00:02:03.524Z] ---> 20f76879fa68 [2023-11-07T00:02:03.524Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T00:02:03.783Z] Successfully built 20f76879fa68 [2023-11-07T00:02:03.783Z] 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 [2023-11-07T00:02:04.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:02:04.203Z] [2023-11-07T00:02:04.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:02:04.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:02:04.503Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-07T00:02:04.503Z] 5eb5b503b376: Pulling fs layer [2023-11-07T00:02:04.503Z] 5c69ac0246d0: Pulling fs layer [2023-11-07T00:02:04.503Z] ec43610c2a17: Pulling fs layer [2023-11-07T00:02:04.503Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-07T00:02:04.503Z] 33b1e0a273af: Pulling fs layer [2023-11-07T00:02:04.503Z] 5d3b04190fa2: Pulling fs layer [2023-11-07T00:02:04.503Z] 2f39f015ded8: Pulling fs layer [2023-11-07T00:02:04.503Z] 3a2ae6a8a46f: Waiting [2023-11-07T00:02:04.503Z] 2f39f015ded8: Waiting [2023-11-07T00:02:04.503Z] 33b1e0a273af: Waiting [2023-11-07T00:02:04.503Z] 5c69ac0246d0: Download complete [2023-11-07T00:02:04.503Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-07T00:02:04.503Z] 3a2ae6a8a46f: Download complete [2023-11-07T00:02:04.761Z] 33b1e0a273af: Verifying Checksum [2023-11-07T00:02:04.761Z] 33b1e0a273af: Download complete [2023-11-07T00:02:04.761Z] ec43610c2a17: Verifying Checksum [2023-11-07T00:02:04.761Z] ec43610c2a17: Download complete [2023-11-07T00:02:04.761Z] 5d3b04190fa2: Verifying Checksum [2023-11-07T00:02:04.761Z] 5d3b04190fa2: Download complete [2023-11-07T00:02:04.761Z] 5eb5b503b376: Verifying Checksum [2023-11-07T00:02:04.761Z] 5eb5b503b376: Download complete [2023-11-07T00:02:05.693Z] 2f39f015ded8: Verifying Checksum [2023-11-07T00:02:05.693Z] 2f39f015ded8: Download complete [2023-11-07T00:02:05.950Z] 5eb5b503b376: Pull complete [2023-11-07T00:02:06.208Z] 5c69ac0246d0: Pull complete [2023-11-07T00:02:06.772Z] ec43610c2a17: Pull complete [2023-11-07T00:02:07.395Z] 3a2ae6a8a46f: Pull complete [2023-11-07T00:02:07.964Z] 33b1e0a273af: Pull complete [2023-11-07T00:02:08.223Z] 5d3b04190fa2: Pull complete [2023-11-07T00:02:12.402Z] 2f39f015ded8: Pull complete [2023-11-07T00:02:12.659Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-07T00:02:12.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:02:12.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:02:12.734Z] prd-ubuntu20.04-docker-8c-8g-16760 does not seem to be running inside a container [2023-11-07T00:02:12.763Z] $ 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-247 -v /w/workspace/y_app-rfid-llrp-inventory_PR-247:/w/workspace/y_app-rfid-llrp-inventory_PR-247:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-247@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 [2023-11-07T00:02:22.106Z] $ docker top 99143efe2aec3b3ebc460da0b90e562e878f2aaef377b58cdac8e212ec5e79bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:02:22.477Z] ---> job-cost.sh [2023-11-07T00:02:22.477Z] lf-activate-venv: SKIPPING [2023-11-07T00:02:22.477Z] INFO: No Stack... [2023-11-07T00:02:22.735Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T00:02:23.310Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T00:02:23.596Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-247/archives/cost.csv [2023-11-07T00:02:23.596Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T00:02:23.606Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-247-2-stack-cost] [2023-11-07T00:02:23.611Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-247-2-stack-cost] did not exist. Created. [2023-11-07T00:02:23.611Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-247-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:02:23.907Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-07T00:02:23.939Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T00:02:23.946Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-247-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T00:02:23.965Z] $ docker stop --time=1 99143efe2aec3b3ebc460da0b90e562e878f2aaef377b58cdac8e212ec5e79bd [2023-11-07T00:02:25.266Z] $ docker rm -f --volumes 99143efe2aec3b3ebc460da0b90e562e878f2aaef377b58cdac8e212ec5e79bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-07T00:03:04.882Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16762 in /w/workspace/y_app-rfid-llrp-inventory_PR-247 [Pipeline] { [Pipeline] ws [2023-11-07T00:03:04.895Z] Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout [2023-11-07T00:03:04.927Z] The recommended git tool is: git [2023-11-07T00:03:10.592Z] using credential edgex-jenkins-ssh [2023-11-07T00:03:10.616Z] Cloning the remote Git repository [2023-11-07T00:03:10.671Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-11-07T00:03:10.788Z] > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 [2023-11-07T00:03:10.964Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-11-07T00:03:10.966Z] > git --version # timeout=10 [2023-11-07T00:03:10.992Z] > git --version # 'git version 2.25.1' [2023-11-07T00:03:10.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T00:03:11.199Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T00:03:13.438Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-11-07T00:03:13.467Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T00:03:15.119Z] Merging remotes/origin/main commit 03dfe80146e416d2b04b2eaefcdaa11753ed70f8 into PR head commit 6408c1206f8df0a4ca80b1fbb7b63ad39a3af28f [2023-11-07T00:03:14.491Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-11-07T00:03:14.542Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-11-07T00:03:14.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T00:03:14.562Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-07T00:03:15.142Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T00:03:15.529Z] Merge succeeded, producing 0186a38b1c15ab1b304d3c8acbd98f499ec2daca [2023-11-07T00:03:15.530Z] Checking out Revision 0186a38b1c15ab1b304d3c8acbd98f499ec2daca (PR-247) [2023-11-07T00:03:15.238Z] > git checkout -f 6408c1206f8df0a4ca80b1fbb7b63ad39a3af28f # timeout=10 [2023-11-07T00:03:15.347Z] > git remote # timeout=10 [2023-11-07T00:03:15.368Z] > git config --get remote.origin.url # timeout=10 [2023-11-07T00:03:15.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T00:03:15.411Z] > git merge 03dfe80146e416d2b04b2eaefcdaa11753ed70f8 # timeout=10 [2023-11-07T00:03:15.504Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-07T00:03:15.539Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T00:03:15.558Z] > git checkout -f 0186a38b1c15ab1b304d3c8acbd98f499ec2daca # timeout=10 [2023-11-07T00:03:19.127Z] Commit message: "Merge commit '03dfe80146e416d2b04b2eaefcdaa11753ed70f8' into HEAD" [2023-11-07T00:03:19.138Z] > git rev-list --no-walk 6408c1206f8df0a4ca80b1fbb7b63ad39a3af28f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:03:20.095Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-07T00:03:20.095Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:03:20.095Z] Dload Upload Total Spent Left Speed [2023-11-07T00:03:20.095Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99858 [Pipeline] sh [2023-11-07T00:03:20.859Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-07T00:03:21.195Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-07T00:03:21.195Z] + sudo tee /etc/docker/daemon.new [2023-11-07T00:03:21.195Z] { [2023-11-07T00:03:21.195Z] "registry-mirrors": [ [2023-11-07T00:03:21.195Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-07T00:03:21.195Z] ], [2023-11-07T00:03:21.195Z] "bip": "10.250.0.254/24", [2023-11-07T00:03:21.195Z] "hosts": [ [2023-11-07T00:03:21.195Z] "tcp://0.0.0.0:5555", [2023-11-07T00:03:21.195Z] "unix:///var/run/docker.sock" [2023-11-07T00:03:21.195Z] ], [2023-11-07T00:03:21.195Z] "mtu": 1458, [2023-11-07T00:03:21.195Z] "selinux-enabled": true, [2023-11-07T00:03:21.195Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-07T00:03:21.195Z] } [Pipeline] sh [2023-11-07T00:03:21.533Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-07T00:03:21.878Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:03:40.167Z] provisioning config files... [2023-11-07T00:03:40.193Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config14216736129912774742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:03:40.557Z] ---> docker-login.sh [2023-11-07T00:03:40.557Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:03:41.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:03:41.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:03:41.145Z] Configure a credential helper to remove this warning. See [2023-11-07T00:03:41.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:03:41.145Z] [2023-11-07T00:03:41.145Z] Login Succeeded [2023-11-07T00:03:41.145Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:03:41.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:03:41.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:03:41.691Z] Configure a credential helper to remove this warning. See [2023-11-07T00:03:41.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:03:41.691Z] [2023-11-07T00:03:41.691Z] Login Succeeded [2023-11-07T00:03:41.691Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:03:41.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:03:41.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:03:41.960Z] Configure a credential helper to remove this warning. See [2023-11-07T00:03:41.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:03:41.960Z] [2023-11-07T00:03:41.960Z] Login Succeeded [2023-11-07T00:03:41.960Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:03:42.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:03:42.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:03:42.229Z] Configure a credential helper to remove this warning. See [2023-11-07T00:03:42.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:03:42.229Z] [2023-11-07T00:03:42.229Z] Login Succeeded [2023-11-07T00:03:42.229Z] docker.io [2023-11-07T00:03:42.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:03:43.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:03:43.086Z] Configure a credential helper to remove this warning. See [2023-11-07T00:03:43.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:03:43.086Z] [2023-11-07T00:03:43.086Z] Login Succeeded [2023-11-07T00:03:43.086Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:03:43.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T00:03:43.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:03:43.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:03:43.412Z] ========================================================= [2023-11-07T00:03:43.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-07T00:03:43.412Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:03:43.768Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-07T00:03:44.037Z] Sending build context to Docker daemon 669.2kB [2023-11-07T00:03:44.037Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:03:44.037Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-07T00:03:44.306Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-07T00:03:44.306Z] 9fda8d8052c6: Pulling fs layer [2023-11-07T00:03:44.306Z] 5d54e960e981: Pulling fs layer [2023-11-07T00:03:44.306Z] c4a7e357bf2a: Pulling fs layer [2023-11-07T00:03:44.306Z] f0e02332f6b5: Pulling fs layer [2023-11-07T00:03:44.306Z] cefa15bbcfad: Pulling fs layer [2023-11-07T00:03:44.306Z] 17808c966233: Pulling fs layer [2023-11-07T00:03:44.306Z] f4c1fc716caa: Pulling fs layer [2023-11-07T00:03:44.306Z] cefa15bbcfad: Waiting [2023-11-07T00:03:44.306Z] 17808c966233: Waiting [2023-11-07T00:03:44.306Z] f4c1fc716caa: Waiting [2023-11-07T00:03:44.306Z] f0e02332f6b5: Waiting [2023-11-07T00:03:44.306Z] 5d54e960e981: Verifying Checksum [2023-11-07T00:03:44.306Z] 5d54e960e981: Download complete [2023-11-07T00:03:44.306Z] f0e02332f6b5: Verifying Checksum [2023-11-07T00:03:44.306Z] f0e02332f6b5: Download complete [2023-11-07T00:03:44.306Z] cefa15bbcfad: Download complete [2023-11-07T00:03:44.306Z] 9fda8d8052c6: Verifying Checksum [2023-11-07T00:03:44.306Z] 9fda8d8052c6: Download complete [2023-11-07T00:03:44.912Z] f4c1fc716caa: Verifying Checksum [2023-11-07T00:03:44.912Z] f4c1fc716caa: Download complete [2023-11-07T00:03:45.189Z] 9fda8d8052c6: Pull complete [2023-11-07T00:03:45.780Z] 5d54e960e981: Pull complete [2023-11-07T00:03:46.376Z] c4a7e357bf2a: Download complete [2023-11-07T00:03:46.965Z] 17808c966233: Download complete [2023-11-07T00:03:59.282Z] c4a7e357bf2a: Pull complete [2023-11-07T00:03:59.282Z] f0e02332f6b5: Pull complete [2023-11-07T00:03:59.282Z] cefa15bbcfad: Pull complete [2023-11-07T00:04:07.498Z] 17808c966233: Pull complete [2023-11-07T00:04:07.770Z] f4c1fc716caa: Pull complete [2023-11-07T00:04:07.770Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-07T00:04:07.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-07T00:04:07.770Z] ---> ea914061e18c [2023-11-07T00:04:07.770Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-11-07T00:04:09.713Z] ---> Running in 8becd63b07f8 [2023-11-07T00:04:09.982Z] Removing intermediate container 8becd63b07f8 [2023-11-07T00:04:09.982Z] ---> 373919e939f8 [2023-11-07T00:04:09.982Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T00:04:09.982Z] ---> Running in aec663cc86ce [2023-11-07T00:04:10.250Z] Removing intermediate container aec663cc86ce [2023-11-07T00:04:10.250Z] ---> 225037f646dd [2023-11-07T00:04:10.250Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-07T00:04:10.521Z] ---> Running in 3fa9056277e5 [2023-11-07T00:04:10.796Z] Removing intermediate container 3fa9056277e5 [2023-11-07T00:04:10.796Z] ---> 9442153a605d [2023-11-07T00:04:10.796Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T00:04:10.796Z] ---> Running in e4d1058604b0 [2023-11-07T00:04:12.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:04:12.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:04:13.436Z] OK: 266 MiB in 52 packages [2023-11-07T00:04:14.394Z] Removing intermediate container e4d1058604b0 [2023-11-07T00:04:14.394Z] ---> d83774689bb9 [2023-11-07T00:04:14.394Z] Step 7/12 : WORKDIR /app [2023-11-07T00:04:14.394Z] ---> Running in 35a7d846b5b2 [2023-11-07T00:04:14.982Z] Removing intermediate container 35a7d846b5b2 [2023-11-07T00:04:14.982Z] ---> a8390b9c0497 [2023-11-07T00:04:14.982Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-07T00:04:15.257Z] ---> ff35dd62d03d [2023-11-07T00:04:15.257Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:04:15.527Z] ---> Running in 894ebce0f509 [2023-11-07T00:05:37.179Z] Removing intermediate container 894ebce0f509 [2023-11-07T00:05:37.179Z] ---> be4c6d53ad57 [2023-11-07T00:05:37.179Z] Step 10/12 : COPY . . [2023-11-07T00:05:37.179Z] ---> 00372ae7289e [2023-11-07T00:05:37.179Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T00:05:37.179Z] ---> Running in addec0a5e01b [2023-11-07T00:05:37.179Z] Removing intermediate container addec0a5e01b [2023-11-07T00:05:37.179Z] ---> 402709aeea93 [2023-11-07T00:05:37.179Z] Step 12/12 : RUN $MAKE [2023-11-07T00:05:37.179Z] ---> Running in 5b2d022ce17c [2023-11-07T00:05:37.179Z] noop [2023-11-07T00:05:37.179Z] Removing intermediate container 5b2d022ce17c [2023-11-07T00:05:37.179Z] ---> 7faf5dcbe9af [2023-11-07T00:05:37.179Z] Successfully built 7faf5dcbe9af [2023-11-07T00:05:37.179Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:05:37.543Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T00:05:37.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:05:37.773Z] prd-ubuntu20.04-docker-arm64-4c-16g-16762 does not seem to be running inside a container [2023-11-07T00:05:37.848Z] $ 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 [2023-11-07T00:05:39.138Z] $ docker top 6d9ae05bc83b737d9fc902cb0437a2387d8f1956b827a0b3702ec467cf24cc14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:05:39.974Z] + go version [2023-11-07T00:05:39.974Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-07T00:05:40.001Z] $ docker stop --time=1 6d9ae05bc83b737d9fc902cb0437a2387d8f1956b827a0b3702ec467cf24cc14 [2023-11-07T00:05:41.656Z] $ docker rm -f --volumes 6d9ae05bc83b737d9fc902cb0437a2387d8f1956b827a0b3702ec467cf24cc14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:05:42.180Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T00:05:42.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:05:42.368Z] prd-ubuntu20.04-docker-arm64-4c-16g-16762 does not seem to be running inside a container [2023-11-07T00:05:42.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/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 [2023-11-07T00:05:43.598Z] $ docker top ad9bfa0057b358c1a870979234ab9bb981bc9a2ee30fc6dc8853a4b519f29727 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:05:44.419Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] fileExists [Pipeline] sh [2023-11-07T00:05:44.754Z] + make test [2023-11-07T00:05:45.023Z] go test -race ./... -coverprofile=coverage.out ./... [2023-11-07T00:08:36.754Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-11-07T00:08:36.754Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-11-07T00:08:36.754Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.492s coverage: 86.2% of statements [2023-11-07T00:08:41.008Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.417s coverage: 71.9% of statements [2023-11-07T00:08:41.595Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-07T00:08:41.595Z] go vet ./... [2023-11-07T00:10:48.274Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T00:10:48.274Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T00:10:48.274Z] ./bin/test-attribution.sh [2023-11-07T00:10:48.274Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-11-07T00:10:48.274Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-11-07T00:10:48.274Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-11-07T00:10:48.274Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-11-07T00:10:48.274Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-11-07T00:10:48.274Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-11-07T00:10:48.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T00:10:48.309Z] $ docker stop --time=1 ad9bfa0057b358c1a870979234ab9bb981bc9a2ee30fc6dc8853a4b519f29727 [2023-11-07T00:10:52.397Z] $ docker rm -f --volumes ad9bfa0057b358c1a870979234ab9bb981bc9a2ee30fc6dc8853a4b519f29727 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:10:54.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T00:10:54.025Z] Warning: overwriting stash ‘coverage-report’ [2023-11-07T00:10:54.581Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:10:54.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T00:10:55.303Z] + ls -al . [2023-11-07T00:10:55.303Z] total 204 [2023-11-07T00:10:55.303Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:05 . [2023-11-07T00:10:55.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:03 .. [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 262 Nov 7 00:03 .dockerignore [2023-11-07T00:10:55.303Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:03 .git [2023-11-07T00:10:55.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:03 .github [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 773 Nov 7 00:03 .gitignore [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 00:03 .golangci.yml [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 10232 Nov 7 00:03 Attribution.txt [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 9317 Nov 7 00:03 CHANGELOG.md [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 1659 Nov 7 00:03 Dockerfile [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:03 GOVERNANCE.md [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 665 Nov 7 00:03 Jenkinsfile [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 11347 Nov 7 00:03 LICENSE [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 2497 Nov 7 00:03 Makefile [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 00:03 OWNERS.md [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 3851 Nov 7 00:03 README.md [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 6 23:59 VERSION [2023-11-07T00:10:55.303Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:03 bin [2023-11-07T00:10:55.303Z] -rw-r--r-- 1 jenkins jenkins 41317 Nov 7 00:08 coverage.out [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 3969 Nov 7 00:03 go.mod [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 35080 Nov 7 00:03 go.sum [2023-11-07T00:10:55.303Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:03 images [2023-11-07T00:10:55.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:03 internal [2023-11-07T00:10:55.303Z] -rw-rw-r-- 1 jenkins jenkins 531 Nov 7 00:03 main.go [2023-11-07T00:10:55.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:03 openapi [2023-11-07T00:10:55.303Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:03 res [2023-11-07T00:10:55.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:03 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:55.649Z] + 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=0186a38b1c15ab1b304d3c8acbd98f499ec2daca --label arch=arm64 --label version=0.0.0 . [2023-11-07T00:10:55.918Z] Sending build context to Docker daemon 669.2kB [2023-11-07T00:10:55.918Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:10:55.918Z] Step 2/29 : FROM ${BASE} AS builder [2023-11-07T00:10:55.918Z] ---> 7faf5dcbe9af [2023-11-07T00:10:55.918Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-11-07T00:10:55.918Z] ---> Running in 09269d5dadcd [2023-11-07T00:10:56.510Z] Removing intermediate container 09269d5dadcd [2023-11-07T00:10:56.510Z] ---> 65bb4cd9d19e [2023-11-07T00:10:56.510Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T00:10:56.510Z] ---> Running in c6fc163a41db [2023-11-07T00:10:56.789Z] Removing intermediate container c6fc163a41db [2023-11-07T00:10:56.789Z] ---> 7436dab8dcb3 [2023-11-07T00:10:56.789Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-11-07T00:10:56.789Z] ---> Running in e8432341b61e [2023-11-07T00:10:57.054Z] Removing intermediate container e8432341b61e [2023-11-07T00:10:57.054Z] ---> 9a2a2023f7cc [2023-11-07T00:10:57.054Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T00:10:57.321Z] ---> Running in a39897efef90 [2023-11-07T00:10:58.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:10:58.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:10:59.952Z] OK: 266 MiB in 52 packages [2023-11-07T00:11:00.534Z] Removing intermediate container a39897efef90 [2023-11-07T00:11:00.534Z] ---> fc6e327895a6 [2023-11-07T00:11:00.534Z] Step 7/29 : WORKDIR /app [2023-11-07T00:11:00.534Z] ---> Running in e3eb60faaf64 [2023-11-07T00:11:00.800Z] Removing intermediate container e3eb60faaf64 [2023-11-07T00:11:00.800Z] ---> 1601aae04819 [2023-11-07T00:11:00.800Z] Step 8/29 : COPY go.mod vendor* ./ [2023-11-07T00:11:01.387Z] ---> 77455fb6b86e [2023-11-07T00:11:01.387Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:11:01.387Z] ---> Running in 0866f9496a95 [2023-11-07T00:11:05.646Z] Removing intermediate container 0866f9496a95 [2023-11-07T00:11:05.646Z] ---> cee4dbccf0f7 [2023-11-07T00:11:05.646Z] Step 10/29 : COPY . . [2023-11-07T00:11:05.646Z] ---> db0fcde9493a [2023-11-07T00:11:05.646Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T00:11:05.915Z] ---> Running in ae15e064311c [2023-11-07T00:11:06.182Z] Removing intermediate container ae15e064311c [2023-11-07T00:11:06.182Z] ---> a1c71b9618d2 [2023-11-07T00:11:06.182Z] Step 12/29 : RUN $MAKE [2023-11-07T00:11:06.182Z] ---> Running in 3679037d7065 [2023-11-07T00:11:07.142Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory [2023-11-07T00:13:13.815Z] Removing intermediate container 3679037d7065 [2023-11-07T00:13:13.815Z] ---> 0d1448c2d09e [2023-11-07T00:13:13.815Z] Step 13/29 : FROM alpine:3.18 [2023-11-07T00:13:13.815Z] 3.18: Pulling from library/alpine [2023-11-07T00:13:13.815Z] 579b34f0a95b: Pulling fs layer [2023-11-07T00:13:14.082Z] 579b34f0a95b: Verifying Checksum [2023-11-07T00:13:14.082Z] 579b34f0a95b: Download complete [2023-11-07T00:13:14.681Z] 579b34f0a95b: Pull complete [2023-11-07T00:13:14.681Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T00:13:14.681Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T00:13:14.681Z] ---> 3cc203321400 [2023-11-07T00:13:14.681Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:13:14.953Z] ---> Running in b29aa782c65f [2023-11-07T00:13:15.222Z] Removing intermediate container b29aa782c65f [2023-11-07T00:13:15.222Z] ---> 2ea31b201ddb [2023-11-07T00:13:15.222Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-11-07T00:13:15.222Z] ---> Running in 28d18d02f8a0 [2023-11-07T00:13:15.491Z] Removing intermediate container 28d18d02f8a0 [2023-11-07T00:13:15.491Z] ---> cb91dd221a40 [2023-11-07T00:13:15.491Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-11-07T00:13:15.760Z] ---> Running in eae418df6add [2023-11-07T00:13:16.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:13:16.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:13:18.395Z] (1/2) Installing ca-certificates (20230506-r0) [2023-11-07T00:13:18.395Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-11-07T00:13:18.395Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T00:13:18.395Z] Executing ca-certificates-20230506-r0.trigger [2023-11-07T00:13:18.395Z] OK: 9 MiB in 17 packages [2023-11-07T00:13:19.804Z] Removing intermediate container eae418df6add [2023-11-07T00:13:19.804Z] ---> e90783ce9340 [2023-11-07T00:13:19.804Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-11-07T00:13:20.386Z] ---> c273cc8299c6 [2023-11-07T00:13:20.387Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-11-07T00:13:20.973Z] ---> 82ae0db88db4 [2023-11-07T00:13:20.973Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-11-07T00:13:21.561Z] ---> e39bda8a0656 [2023-11-07T00:13:21.561Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-11-07T00:13:21.827Z] ---> e7b4a5aaacb2 [2023-11-07T00:13:21.827Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-11-07T00:13:23.769Z] ---> 8a28e838f71a [2023-11-07T00:13:23.769Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-11-07T00:13:23.769Z] ---> Running in 266c0d70114d [2023-11-07T00:13:25.716Z] Removing intermediate container 266c0d70114d [2023-11-07T00:13:25.716Z] ---> 407b9fd020d7 [2023-11-07T00:13:25.716Z] Step 23/29 : VOLUME /cache [2023-11-07T00:13:25.716Z] ---> Running in b1b6719d490c [2023-11-07T00:13:25.716Z] Removing intermediate container b1b6719d490c [2023-11-07T00:13:25.716Z] ---> c6a0257a928d [2023-11-07T00:13:25.716Z] Step 24/29 : EXPOSE 59711 [2023-11-07T00:13:25.987Z] ---> Running in 7f13746e0574 [2023-11-07T00:13:26.254Z] Removing intermediate container 7f13746e0574 [2023-11-07T00:13:26.254Z] ---> 08dc05fe5a23 [2023-11-07T00:13:26.254Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-11-07T00:13:26.522Z] ---> Running in 89e4a457be86 [2023-11-07T00:13:26.791Z] Removing intermediate container 89e4a457be86 [2023-11-07T00:13:26.791Z] ---> 80dde110ee83 [2023-11-07T00:13:26.791Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-11-07T00:13:26.791Z] ---> Running in 9e100b9ce290 [2023-11-07T00:13:27.381Z] Removing intermediate container 9e100b9ce290 [2023-11-07T00:13:27.381Z] ---> 2482749b84f4 [2023-11-07T00:13:27.381Z] Step 27/29 : LABEL arch=arm64 [2023-11-07T00:13:27.381Z] ---> Running in b779c91dfbca [2023-11-07T00:13:27.653Z] Removing intermediate container b779c91dfbca [2023-11-07T00:13:27.653Z] ---> ab3c0af97e6b [2023-11-07T00:13:27.653Z] Step 28/29 : LABEL git_sha=0186a38b1c15ab1b304d3c8acbd98f499ec2daca [2023-11-07T00:13:27.921Z] ---> Running in b9c4bb7a80e7 [2023-11-07T00:13:28.190Z] Removing intermediate container b9c4bb7a80e7 [2023-11-07T00:13:28.190Z] ---> 920aafe996d1 [2023-11-07T00:13:28.190Z] Step 29/29 : LABEL version=0.0.0 [2023-11-07T00:13:28.190Z] ---> Running in 146af2d37e7d [2023-11-07T00:13:28.776Z] Removing intermediate container 146af2d37e7d [2023-11-07T00:13:28.776Z] ---> 084852fbc050 [2023-11-07T00:13:28.776Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T00:13:28.776Z] Successfully built 084852fbc050 [2023-11-07T00:13:28.776Z] 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 [2023-11-07T00:13:29.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:13:29.197Z] [2023-11-07T00:13:29.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:13:29.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:13:29.826Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-07T00:13:29.826Z] 8998bd30e6a1: Pulling fs layer [2023-11-07T00:13:29.826Z] 04944245beec: Pulling fs layer [2023-11-07T00:13:29.826Z] 699f458cf7ca: Pulling fs layer [2023-11-07T00:13:29.826Z] 765212b225bb: Pulling fs layer [2023-11-07T00:13:29.826Z] f23df028b6ca: Pulling fs layer [2023-11-07T00:13:29.826Z] d65c8cfc05b1: Pulling fs layer [2023-11-07T00:13:29.826Z] 2437ff75d9bd: Pulling fs layer [2023-11-07T00:13:29.826Z] f23df028b6ca: Waiting [2023-11-07T00:13:29.826Z] d65c8cfc05b1: Waiting [2023-11-07T00:13:29.826Z] 2437ff75d9bd: Waiting [2023-11-07T00:13:29.826Z] 765212b225bb: Waiting [2023-11-07T00:13:29.826Z] 04944245beec: Verifying Checksum [2023-11-07T00:13:29.826Z] 04944245beec: Download complete [2023-11-07T00:13:29.826Z] 765212b225bb: Verifying Checksum [2023-11-07T00:13:29.826Z] 765212b225bb: Download complete [2023-11-07T00:13:30.099Z] f23df028b6ca: Verifying Checksum [2023-11-07T00:13:30.099Z] f23df028b6ca: Download complete [2023-11-07T00:13:30.099Z] d65c8cfc05b1: Verifying Checksum [2023-11-07T00:13:30.099Z] d65c8cfc05b1: Download complete [2023-11-07T00:13:30.099Z] 699f458cf7ca: Verifying Checksum [2023-11-07T00:13:30.099Z] 699f458cf7ca: Download complete [2023-11-07T00:13:30.692Z] 8998bd30e6a1: Verifying Checksum [2023-11-07T00:13:30.692Z] 8998bd30e6a1: Download complete [2023-11-07T00:13:34.038Z] 2437ff75d9bd: Verifying Checksum [2023-11-07T00:13:34.038Z] 2437ff75d9bd: Download complete [2023-11-07T00:13:35.447Z] 8998bd30e6a1: Pull complete [2023-11-07T00:13:36.033Z] 04944245beec: Pull complete [2023-11-07T00:13:37.989Z] 699f458cf7ca: Pull complete [2023-11-07T00:13:37.989Z] 765212b225bb: Pull complete [2023-11-07T00:13:39.399Z] f23df028b6ca: Pull complete [2023-11-07T00:13:39.399Z] d65c8cfc05b1: Pull complete [2023-11-07T00:13:57.607Z] 2437ff75d9bd: Pull complete [2023-11-07T00:13:57.607Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-07T00:13:57.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:13:57.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:13:57.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-16762 does not seem to be running inside a container [2023-11-07T00:13:57.898Z] $ 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 [2023-11-07T00:14:01.125Z] $ docker top 2d422bbd3e3ec2d421319407d86427e800ec904b6f6932fa9c4c80983bc4fd25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:01.994Z] ---> job-cost.sh [2023-11-07T00:14:01.995Z] lf-activate-venv: SKIPPING [2023-11-07T00:14:01.995Z] INFO: No Stack... [2023-11-07T00:14:02.576Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-07T00:14:03.162Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T00:14:03.801Z] + + cutcat -d, /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv -f6 [2023-11-07T00:14:03.801Z] [Pipeline] lock [2023-11-07T00:14:03.866Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-247-2-stack-cost] [2023-11-07T00:14:03.874Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-247-2-stack-cost] did not exist. Created. [2023-11-07T00:14:03.874Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-247-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:14:04.542Z] /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-26f8f4f2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-07T00:14:05.190Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-07T00:14:05.212Z] Warning: overwriting stash ‘stack-cost’ [2023-11-07T00:14:05.285Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T00:14:05.291Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-247-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T00:14:05.313Z] $ docker stop --time=1 2d422bbd3e3ec2d421319407d86427e800ec904b6f6932fa9c4c80983bc4fd25 [2023-11-07T00:14:06.851Z] $ docker rm -f --volumes 2d422bbd3e3ec2d421319407d86427e800ec904b6f6932fa9c4c80983bc4fd25 [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 [2023-11-07T00:14:07.310Z] provisioning config files... [2023-11-07T00:14:07.318Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp/config9421184712937053336tmp [Pipeline] { [Pipeline] sh [2023-11-07T00:14:07.611Z] + set +x [2023-11-07T00:14:07.611Z] + curl -s https://codecov.io/bash [2023-11-07T00:14:07.611Z] + bash -s -- [2023-11-07T00:14:07.611Z] [2023-11-07T00:14:07.611Z] _____ _ [2023-11-07T00:14:07.611Z] / ____| | | [2023-11-07T00:14:07.611Z] | | ___ __| | ___ ___ _____ __ [2023-11-07T00:14:07.611Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-07T00:14:07.611Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-07T00:14:07.611Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-07T00:14:07.611Z] Bash-1.0.6 [2023-11-07T00:14:07.611Z] [2023-11-07T00:14:07.611Z] [2023-11-07T00:14:07.611Z] ==> git version 2.25.1 found [2023-11-07T00:14:07.611Z] ==> 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 [2023-11-07T00:14:07.611Z] Release-Date: 2020-01-08 [2023-11-07T00:14:07.611Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-07T00:14:07.611Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-07T00:14:07.611Z] ==> Jenkins CI detected. [2023-11-07T00:14:07.611Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-247 [2023-11-07T00:14:07.611Z] project root: . [2023-11-07T00:14:07.611Z] --> token set from env [2023-11-07T00:14:07.611Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-07T00:14:07.611Z] ==> Running gcov in . (disable via -X gcov) [2023-11-07T00:14:07.611Z] ==> Python coveragepy not found [2023-11-07T00:14:07.611Z] ==> Searching for coverage reports in: [2023-11-07T00:14:07.611Z] + . [2023-11-07T00:14:07.611Z] -> Found 1 reports [2023-11-07T00:14:07.611Z] ==> Detecting git/mercurial file structure [2023-11-07T00:14:07.611Z] ==> Reading reports [2023-11-07T00:14:07.611Z] + ./coverage.out bytes=41317 [2023-11-07T00:14:07.611Z] ==> Appending adjustments [2023-11-07T00:14:07.611Z] https://docs.codecov.io/docs/fixing-reports [2023-11-07T00:14:07.871Z] + Found adjustments [2023-11-07T00:14:07.871Z] ==> Gzipping contents [2023-11-07T00:14:07.871Z] 12K /tmp/codecov.R3EQoI.gz [2023-11-07T00:14:07.871Z] ==> Uploading reports [2023-11-07T00:14:07.871Z] url: https://codecov.io [2023-11-07T00:14:07.871Z] query: branch=PR-247&commit=9b2dd51a139de57b7046a1739041c89f576b76c8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-247%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=247&job=&cmd_args= [2023-11-07T00:14:07.871Z] -> Pinging Codecov [2023-11-07T00:14:07.871Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-247&commit=9b2dd51a139de57b7046a1739041c89f576b76c8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-247%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=247&job=&cmd_args= [2023-11-07T00:14:08.131Z] -> Uploading to [2023-11-07T00:14:08.131Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-07/581DD39554BDF9B6E22D074273EAD858/9b2dd51a139de57b7046a1739041c89f576b76c8/537a1ce0-7903-4747-bf62-ef6749c2c2c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T001407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b37af14a6b93849e18fedf9ac7d8ee037f7b7dd64ac951514590e527bd560ed [2023-11-07T00:14:08.131Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:14:08.131Z] Dload Upload Total Spent Left Speed [2023-11-07T00:14:08.390Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11602 0 0 100 11602 0 50008 --:--:-- --:--:-- --:--:-- 50008 [2023-11-07T00:14:08.390Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/9b2dd51a139de57b7046a1739041c89f576b76c8 [Pipeline] } [2023-11-07T00:14:08.398Z] 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 [2023-11-07T00:14:09.108Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-247/archives ] [2023-11-07T00:14:09.109Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-247/archives [2023-11-07T00:14:09.109Z] total 16 [2023-11-07T00:14:09.109Z] drwxr-xr-x 3 root root 4096 Nov 7 00:02 . [2023-11-07T00:14:09.109Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:02 .. [2023-11-07T00:14:09.109Z] drwxr-xr-x 2 root root 4096 Nov 7 00:02 cost [2023-11-07T00:14:09.109Z] -rw-r--r-- 1 root root 95 Nov 7 00:02 cost.csv [2023-11-07T00:14:09.109Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-247/archives [2023-11-07T00:14:09.109Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-247/archives [2023-11-07T00:14:09.109Z] total 16 [2023-11-07T00:14:09.109Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:02 . [2023-11-07T00:14:09.109Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:02 .. [2023-11-07T00:14:09.109Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 00:02 cost [2023-11-07T00:14:09.109Z] -rw-r--r-- 1 jenkins jenkins 95 Nov 7 00:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:09.401Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:10.259Z] ---> package-listing.sh [2023-11-07T00:14:10.259Z] ++ facter osfamily [2023-11-07T00:14:10.259Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-07T00:14:10.518Z] + OS_FAMILY=debian [2023-11-07T00:14:10.518Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-247 [2023-11-07T00:14:10.519Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-07T00:14:10.519Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-07T00:14:10.519Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-07T00:14:10.519Z] + PACKAGES=/tmp/packages_start.txt [2023-11-07T00:14:10.519Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-247 ']' [2023-11-07T00:14:10.519Z] + PACKAGES=/tmp/packages_end.txt [2023-11-07T00:14:10.519Z] + case "${OS_FAMILY}" in [2023-11-07T00:14:10.519Z] + grep '^ii' [2023-11-07T00:14:10.519Z] + dpkg -l [2023-11-07T00:14:10.519Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-07T00:14:10.519Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-07T00:14:10.519Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-07T00:14:10.519Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-247 ']' [2023-11-07T00:14:10.519Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-247/archives/ [2023-11-07T00:14:10.519Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-247/archives/ [Pipeline] echo [2023-11-07T00:14:10.528Z] 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-247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-07T00:14:10.815Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:14:11.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:14:11.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:14:11.442Z] prd-ubuntu20.04-docker-8c-8g-16760 does not seem to be running inside a container [2023-11-07T00:14:11.477Z] $ 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-247/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-247 -v /w/workspace/y_app-rfid-llrp-inventory_PR-247:/w/workspace/y_app-rfid-llrp-inventory_PR-247:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-247@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 [2023-11-07T00:14:11.930Z] $ docker top a61e58f1dd44487c1b848235e0abf76f54a17d6a34f778ed946db3485d7686b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:14:12.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-07T00:14:12.559Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-07T00:14:12.847Z] + ls /var/log/sa-host [2023-11-07T00:14:12.847Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:14:12.920Z] provisioning config files... [2023-11-07T00:14:12.927Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-247@tmp/config6742577766883075194tmp [Pipeline] { [Pipeline] echo [2023-11-07T00:14:12.939Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:13.223Z] ---> create-netrc.sh [Pipeline] } [2023-11-07T00:14:13.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:13.558Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-07T00:14:13.567Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:13.852Z] ---> sudo-logs.sh [2023-11-07T00:14:13.852Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-07T00:14:13.878Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:14.157Z] ---> job-cost.sh [2023-11-07T00:14:14.157Z] lf-activate-venv: SKIPPING [2023-11-07T00:14:14.157Z] DEBUG: total: 0.2199999988079071 [2023-11-07T00:14:14.157Z] INFO: Retrieving Stack Cost... [2023-11-07T00:14:14.726Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T00:14:14.984Z] INFO: Archiving Costs [Pipeline] echo [2023-11-07T00:14:14.995Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:15.280Z] ---> logs-deploy.sh [2023-11-07T00:14:15.280Z] lf-activate-venv: SKIPPING [2023-11-07T00:14:15.280Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-247/2 [2023-11-07T00:14:15.280Z] INFO: archiving workspace using pattern(s): [2023-11-07T00:14:16.214Z] Archives upload complete. [2023-11-07T00:14:16.214Z] INFO: archiving logs to Nexus